[go: up one dir, main page]

CN120151352B - Node proxy service system and construction method, device and medium for blockchain network - Google Patents

Node proxy service system and construction method, device and medium for blockchain network

Info

Publication number
CN120151352B
CN120151352B CN202510624710.XA CN202510624710A CN120151352B CN 120151352 B CN120151352 B CN 120151352B CN 202510624710 A CN202510624710 A CN 202510624710A CN 120151352 B CN120151352 B CN 120151352B
Authority
CN
China
Prior art keywords
proxy
node
configuration file
blockchain network
agent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510624710.XA
Other languages
Chinese (zh)
Other versions
CN120151352A (en
Inventor
孙爽
唐华云
王延昭
贾晨
陈式敏
陈浩
姜鑫民
尚亚欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Central Depository & Clearing Co ltd
China Bond Jinke Information Technology Co ltd
Original Assignee
China Central Depository & Clearing Co ltd
China Bond Jinke Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Central Depository & Clearing Co ltd, China Bond Jinke Information Technology Co ltd filed Critical China Central Depository & Clearing Co ltd
Priority to CN202510624710.XA priority Critical patent/CN120151352B/en
Publication of CN120151352A publication Critical patent/CN120151352A/en
Application granted granted Critical
Publication of CN120151352B publication Critical patent/CN120151352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of blockchain, and discloses a node proxy service system of a blockchain network, a construction method, a device and a medium, wherein the system comprises a node configuration module, a node processing module and a node processing module, wherein the node configuration module is used for responding to a request of joining a blockchain network by a member to generate node information so as to join the member node into the blockchain network; the system comprises a member for selecting a member type, a proxy configuration module for generating a corresponding proxy configuration file in response to the result of the member for selecting the proxy type, carrying out grammar check on the proxy configuration file, and storing the proxy configuration file in a database when the verification passes, and a proxy forwarding module for providing a proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through a proxy in the proxy cluster. New members can join the blockchain network only through simple configuration, so that the technical threshold and the maintenance difficulty of the blockchain network are reduced, and the communication efficiency among member nodes is improved.

Description

Node proxy service system of block chain network, construction method, device and medium
Technical Field
The application relates to the technical field of blockchain, in particular to a node proxy service system of a blockchain network, a construction method, a construction device and a construction medium.
Background
Under the background of the daily and monthly variation of information technology, blockchains are taken as key technical branches, and the operation modes of various industries are gradually influenced. The blockchain technology is widely applied to multiple fields such as finance, supply chain management, public service, copyright protection and the like by the characteristics of decentralization, traceability, non-falsification and the like, helps to optimize an industry operation mode, eliminates untrustiness and risks in traditional information transfer, improves transparency, safety and efficiency, and promotes trust and cooperation among multiple parties.
With the rapid development of blockchain technology, more and more institutions or individuals are beginning to participate in blockchain networks. In a conventional blockchain network, nodes often need to be independently built and maintained, which is not only technically difficult, but also causes inefficiency in communication between nodes. When new members are accessed to the blockchain network, the network configuration of all accessed nodes needs to be changed, and under the condition of more members, the coordination difficulty is high, the operation flow is complex and the error is easy to occur.
Therefore, it is desirable to provide a method that allows new blockchain nodes to join a blockchain network with a simple configuration without concern about the specific construction and maintenance of the nodes, and that enables fast communication between the nodes.
Disclosure of Invention
In order to solve the problems, the application provides a node proxy service system of a blockchain network, a construction method, a device and a medium thereof, when a new member is added to the blockchain, the new member can be added to the blockchain network only through simple configuration without paying attention to the specific construction and maintenance process of the node, thereby achieving the purposes of reducing the technical threshold and the maintenance difficulty of the blockchain network and improving the communication efficiency among member nodes.
The application adopts the following technical scheme:
in a first aspect, a node proxy service system of a blockchain network is provided, wherein the blockchain network comprises a central agency data center, a proxy cluster is built in the central agency data center, and each member node joins the blockchain network through a private line;
the system comprises a node configuration module, an agent configuration module and an agent forwarding module;
The node configuration module is used for responding to the request of joining the blockchain network by the member to generate node information so as to join the blockchain network by the member node;
The agent configuration module is used for responding to the result of the member on the agent type selection to generate a corresponding agent configuration file, carrying out grammar check on the agent configuration file, and storing the agent configuration file in a database when the verification is passed;
and the proxy forwarding module is used for providing a proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route the data from the first member node to the second member node of the blockchain network through the proxy in the proxy cluster.
Optionally, the node configuration module comprises a node configuration creation component, a node information generation component and a node information display component;
A node configuration creation component for providing a node configuration template to cause a member to add content of a member node joining the blockchain network;
The node information generating component is used for generating node information according to the content of the member node;
the node information display component is used for displaying the node information of all member nodes in the blockchain network;
the node information comprises a serial number, an organization name, a node name, an SNI name, a node address, creation time and update time.
Optionally, the proxy configuration module comprises a proxy type selection component, a proxy configuration file generation component, a proxy configuration file display component and a proxy configuration grammar verification component;
The proxy type selection component is used for selecting the member from the types of the proxy, wherein the types of the proxy comprise a blockchain network proxy, a 4-layer TCP service proxy and a 7-layer http service proxy;
The agent configuration file generation component is used for reading node information when the member selects the blockchain network agent and generating an agent configuration file according to the node information and the template structure;
The agent configuration file generation component is also used for providing an agent configuration content input component when the member selects a 4-layer TCP service agent or a 7-layer http service agent, receiving user-defined information input by the member based on the agent configuration content input component, and generating an agent configuration file according to the user-defined information and the template structure;
The proxy configuration file display component is used for displaying file information of proxy configuration files of all member nodes in the blockchain network;
The file information comprises a sequence number of the proxy configuration file, a file name of the proxy configuration file, a type of the proxy configuration file, a description of the proxy configuration file, a file Hash of the proxy configuration file, creation time of the proxy configuration file and update time of the proxy configuration file;
and the proxy configuration grammar checking component is used for carrying out grammar checking on the proxy configuration file.
Optionally, the node configuration module further comprises a node information editing component and a node information deleting component;
the node information editing component is used for modifying the node information of the member nodes which are added into the blockchain network;
the node information deleting component is used for deleting the node information of the member nodes added into the blockchain network;
The proxy configuration module also comprises a proxy configuration file editing component and a proxy configuration file deleting component;
The agent configuration file editing component is used for modifying the agent configuration file stored in the database;
And the proxy configuration file deleting component is used for deleting the proxy configuration file stored in the database.
Optionally, the proxy forwarding module provides proxy forwarding services based on the following method:
the first member node sends a data transmission request;
Sending the data transmission request to a front area of the first member node;
Sending the data transmission request to a front area of a data center of a central mechanism through a special line;
Performing a first security check on the data transmission request in a pre-zone of the central facility data center;
After the first security check is passed, sending the data transmission request to the agent cluster, and analyzing node information of the first member node according to the agent configuration file to match the corresponding agent for routing;
Sending the data transmission request to a front area of a data center of a central mechanism;
Performing a second security check on the data transmission request in a pre-zone of the central facility data center;
after the second security check is passed, the data transmission request is sent to a front area of a second member node through a special line;
performing a third security check on the data transmission request in the pre-zone of the second member node;
After the third security check passes, the second member node receives the data transmission request.
Optionally, the proxy forwarding module is further configured to acquire the latest node information and the latest proxy configuration file through timing polling, and reload the proxy forwarding service according to the latest node information and the latest proxy configuration file.
Optionally, the system further comprises a soft load management platform;
And the soft load management platform is used for issuing load rules and carrying out load balancing on the agent clusters based on the load rules.
In a second aspect, a method for constructing a node proxy service system of a blockchain network is provided, wherein the blockchain network comprises a central agency data center, a proxy cluster is constructed in the central agency data center, and each member node joins the blockchain network through a private line;
The method comprises the following steps:
The node configuration module is used for generating node information in response to a request of joining the member in the blockchain network so as to join the member node in the blockchain network;
The agent configuration module is used for responding to the result of the member selection of the agent type to generate a corresponding agent configuration file, carrying out grammar check on the agent configuration file, and storing the agent configuration file in a database when the verification is passed;
and constructing a proxy forwarding module, wherein the proxy forwarding module is used for providing proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through the proxy in the proxy cluster.
In a third aspect, a node proxy service device of a blockchain network is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method for constructing a node proxy service system of a blockchain network when executing the computer program.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program which, when instructed by a processor, implements the steps of a method for constructing a node proxy service system of a blockchain network as described above.
The at least one technical scheme adopted by the application can achieve the following beneficial effects:
The application provides a node proxy service system of a blockchain network, which comprises a central mechanism data center, wherein a proxy cluster is built in the central mechanism data center, each member node joins the blockchain network through a private line, the system comprises a node configuration module, a proxy configuration module and a proxy forwarding module, the node configuration module is used for generating node information in response to a request of joining the blockchain network by a member so that the member node joins the blockchain network, the proxy configuration module is used for generating a corresponding proxy configuration file in response to a result of selecting a proxy type by the member, grammar checking is carried out on the proxy configuration file, the proxy configuration file is stored in a database when the verification is passed, and the proxy forwarding module is used for providing proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through a proxy in the proxy cluster. According to the system provided by the application, when a new member joins the blockchain network, the new member can join the blockchain network only by simple configuration without paying attention to the specific construction and maintenance process of the node, so that the technical threshold and the maintenance difficulty of the blockchain network are reduced; the system provided by the application provides an efficient proxy forwarding function, helps member nodes to realize quick communication, and improves the operation efficiency of the blockchain network.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 illustrates an architectural design schematic of a blockchain network in accordance with an embodiment of the application;
FIG. 2 illustrates a schematic diagram of a node proxy service system of a blockchain network in accordance with an embodiment of the present application;
FIG. 3 illustrates a class diagram design schematic of a node configuration module according to one embodiment of the application;
FIG. 4 illustrates a class diagram design schematic of a proxy configuration module according to one embodiment of the application;
FIG. 5 illustrates a topology diagram of a proxy forwarding module providing proxy forwarding services according to one embodiment of the present application;
FIG. 6 illustrates a flow diagram of a method of constructing a node proxy service system of a blockchain network in accordance with an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a structure of a node proxy service apparatus of a blockchain network according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to make the technical solutions provided by the embodiments of the present application more clearly understood by those skilled in the art, the technical solution concept of the present application will be described first.
With the rapid development of blockchain technology, more and more institutions or individuals are beginning to participate in blockchain networks. However, in conventional blockchain networks, nodes often need to be built and maintained independently, which not only increases technical difficulty, but also results in inefficient communication between nodes. Meanwhile, when new members are accessed to the blockchain, the network configuration of all the accessed members needs to be changed, and under the condition of more members, the coordination difficulty is high, the operation flow is complex, and the error is easy to occur. How to make new members not need to care about the specific construction and maintenance process of the nodes, and can join the blockchain network through simple configuration, and can realize rapid communication between the nodes, which is a technical problem worthy of attention in the current field. And node management and proxy services become a new solution.
FIG. 1 is a schematic diagram of a block chain network architecture according to one embodiment of the present application. Referring to FIG. 1, the overall architecture of the blockchain network may include a central agency data center within which a proxy cluster is built, each member node joining the blockchain network through a dedicated line.
The blockchain network may be a federated chain network. Agent clusters can be built in the central structure data center, thereby helping interconnection and interworking among access member nodes. In the blockchain network, each intranet node can also join the blockchain network through the intranet.
Fig. 2 is a schematic structural diagram of a node proxy service system of a blockchain network according to an embodiment of the present application. Referring to fig. 2, the node proxy service system 200 of the blockchain network includes a node configuration module 210, a proxy configuration module 220, and a proxy forwarding module 230.
The node configuration module 210 is configured to generate node information in response to a request for joining a member to the blockchain network, so as to join the member node to the blockchain network.
And the proxy configuration module 220 is configured to generate a corresponding proxy configuration file in response to a member selection result, perform syntax verification on the proxy configuration file, and store the proxy configuration file in the database when verification is passed.
The proxy forwarding module 230 is configured to provide a proxy forwarding service according to the node information and the corresponding proxy configuration file, so as to route data from the first member node to the second member node of the blockchain network through the proxy in the proxy cluster.
For the node configuration module 210, members can perform node configuration through the module to manage node information to be added to the federation chain network. Based on the completion of the configuration by the node configuration module 210, the member nodes may automatically connect into the federated chain network.
For the agent configuration module 220, members can perform agent configuration through the module, and generate corresponding agent configuration files according to the types of agents. And carrying out grammar check on the proxy configuration file, and storing the grammar check to a database after the grammar check is passed.
For the proxy forwarding module 230, it provides a proxy forwarding service according to the node information and the corresponding proxy configuration file, i.e. determines from the proxy cluster that the actual proxy will route the request received from one member node to the corresponding other member node.
The application provides a node proxy service system of a blockchain network, which comprises a central mechanism data center, wherein a proxy cluster is built in the central mechanism data center, each member node joins the blockchain network through a private line, the system comprises a node configuration module 210, a proxy configuration module 220 and a proxy forwarding module 230, the node configuration module 210 is used for responding to a request of joining the blockchain network by a member to generate node information so that the member node joins the blockchain network, the proxy configuration module 220 is used for responding to a result of selecting the proxy type by the member to generate a corresponding proxy configuration file, grammar checking is carried out on the proxy configuration file, the proxy configuration file is stored in a database when the verification is passed, and the proxy forwarding module 230 is used for providing proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through a proxy in the proxy cluster. According to the system provided by the application, when a new member joins the blockchain network, the new member can join the blockchain network only by simple configuration without paying attention to the specific construction and maintenance process of the node, so that the technical threshold and the maintenance difficulty of the blockchain network are reduced; the system provided by the application provides an efficient proxy forwarding function, helps member nodes to realize quick communication, and improves the operation efficiency of the blockchain network.
In the present application, node information is also denoted as node configuration, and proxy configuration file is also denoted as proxy configuration.
In particular, detailed functions of a node proxy service system of a blockchain network are described.
In some optional embodiments, the node configuration module 210 in the system comprises a node configuration creation component, a node information generation component and a node information display component, wherein the node configuration creation component is used for providing a node configuration template to enable members to add the content of member nodes added into the blockchain network, the node information generation component is used for generating node information according to the content of the member nodes, the node information display component is used for displaying the node information of all the member nodes in the blockchain network, and the node information comprises a serial number, an organization name, a node name, an SNI name, a node address, creation time and update time.
The node configuration module 210 includes a node configuration creation component, a node information generation component, and a node information presentation component.
A node configuration creation component for providing a service function that adds content to a member node that is to join the federated chain network. The member adds the content of the member node to be added into the alliance chain network by using the node configuration template provided by the node configuration creation component, and can edit and delete the content of the member node in the adding process. The contents of the member nodes may include, but are not limited to, organization names, node names, SNI names, node addresses, etc.
And the node information generating component is used for generating node information based on the content of the member node after the member adds the content of the member node based on the node configuration creating component and instructs confirmation. The node information may include, but is not limited to, sequence number, organization name, node name, SNI name, node address, creation time, update time, etc.
The node information display component is used for displaying the node information of all member nodes in the alliance chain network. When the node information of all member nodes is displayed, the node information of all member nodes can be displayed in sequence based on the sequence numbers.
In some optional embodiments, in the above system, the proxy configuration module 220 includes a proxy type selection component, a proxy configuration file generation component, a proxy configuration file display component and a proxy configuration grammar checking component, wherein the proxy type selection component is used for selecting a member in a proxy type, the proxy type comprises a blockchain network proxy, a 4-layer TCP service proxy and a 7-layer http service proxy, the proxy configuration file generation component is used for reading node information when the member selects the blockchain network proxy and generating a proxy configuration file according to node information and a template structure, the proxy configuration file generation component is used for providing a proxy configuration content input component when the member selects a 4-layer TCP service proxy or a 7-layer http service proxy, receiving user-defined information input by the member based on the proxy configuration content input component and generating a proxy configuration file according to the user-defined information and a template structure, the proxy configuration file display component is used for displaying file information of proxy configuration files of all member nodes in a alliance chain network, and the file information comprises a serial number of the proxy configuration file, a file name of the proxy configuration file, a file type of the proxy configuration file, a description of the proxy configuration file, a Hash of the proxy configuration file, a configuration file updating time of the proxy configuration file, and a configuration file checking time of the proxy configuration file, and the proxy configuration grammar checking component.
The proxy configuration module 220 includes a proxy type selection component, a proxy configuration file generation component, a proxy configuration file presentation component, and a proxy configuration grammar checking component.
An agent type selection component for providing a service function of selecting a type of agent of the member node. The member selects the type of agent of the member node using an agent type selection component. The types of agents may include, but are not limited to, blockchain network agents, layer 4 TCP service agents, layer 7 http service agents, and the like.
And the agent configuration file generation component is used for acquiring agent configuration content from the corresponding channel according to the result of the member selection of the agent type and generating an agent configuration file according to the agent configuration content and the template structure. The template structure can be designed according to actual conditions so as to meet the proxy service requirements of different member nodes.
If the member selects the blockchain network agent, the node information is read, and an agent configuration file is directly generated according to the node information and the template structure.
If the member selects the 4-layer TCP service agent or the 7-layer http service agent, the member needs to receive the custom information provided by the member, and generates an agent configuration file according to the custom information and the template structure. In order to receive the custom information provided by the member, the member may be provided with a proxy configuration content input component from which the member enters the custom information, which is provided to the proxy configuration file generation component.
The proxy profile generated based on the node information or the custom information may include, but is not limited to, a file name of the proxy profile, a type of the proxy profile, a description of the proxy profile, a file Hash of the proxy profile, and the like.
And the proxy configuration file display component is used for displaying file information of proxy configuration files of all member nodes in the alliance chain network. The file information may include, but is not limited to, a sequence number of the agent profile, a file name of the agent profile, a type of the agent profile, a description of the agent profile, a file Hash of the agent profile, a creation time of the agent profile, an update time of the agent profile, and the like. When the proxy configuration files are displayed, file information of the proxy configuration files of all member nodes can be displayed sequentially based on the serial numbers.
And the proxy configuration grammar checking component is used for executing the checking command to check the proxy configuration file and checking whether the proxy configuration file has grammar errors.
In order to ensure the correctness and the integrity of the proxy configuration file, the generated proxy configuration file is subjected to grammar check, and grammar errors in the proxy configuration file are timely found and corrected, so that proxy forwarding service abnormality caused by configuration errors is avoided. The verified proxy configuration file is saved in a database for subsequent use. The agent forwarding service of the whole blockchain network is convenient to uniformly manage and supervise through the centralized management agent configuration file.
Specifically, the process of generating the proxy configuration file may be:
Clicking a button [ blockchain network agent ] and popping up a button [ agent configuration file is generated according to node information ];
Clicking a button (generating a proxy configuration file according to node information), reading the node information, generating a proxy configuration file by combining a template structure, and displaying the content of the proxy configuration file (which can comprise the file name of the proxy configuration file, the type of the proxy configuration file, the description of the proxy configuration file, the file Hash of the proxy configuration file and the like) in a content display frame of the proxy configuration file;
Clicking a [ check ] button to check grammar of the content in the content display frame;
after the verification is passed, clicking a [ submit ] button, and storing the agent configuration file into a database.
Specifically, the process of generating the proxy configuration file may further be:
Clicking a [ 4-layer TCP service agent ] button or a [ 7-layer http service agent ] button, and popping up an agent configuration content input component;
User-defined information is input into the proxy configuration content input component, so that a proxy configuration file is generated by combining a template structure, and the content of the proxy configuration file (which can comprise the file name of the proxy configuration file, the type of the proxy configuration file, the description of the proxy configuration file, the file Hash of the proxy configuration file and the like) is displayed in a content display frame of the proxy configuration file;
Clicking a [ check ] button to check grammar of the content in the content display frame;
after the verification is passed, clicking a [ submit ] button, and storing the agent configuration file into a database.
In some alternative embodiments, in the above system, the node configuration module 210 further includes a node information editing component and a node information deleting component, the node information editing component is configured to modify node information of the member nodes added to the blockchain network, the node information deleting component is configured to delete node information of the member nodes added to the blockchain network, the proxy configuration module 220 further includes a proxy configuration file editing component and a proxy configuration file deleting component, the proxy configuration file editing component is configured to modify the proxy configuration file stored in the database, and the proxy configuration file deleting component is configured to delete the proxy configuration file stored in the database.
For member nodes that have joined the federated chain network, the node configuration module 210 provides node information editing and node information deletion service functionality.
And the node information editing component is used for enabling the members to modify the node information of the member nodes which are added into the alliance chain network. Such as modifying the organization name, node name, SNI name, node address, etc.
And the node information deleting component is used for deleting the node information of the member nodes which are added into the alliance chain network by the members. The node information of the corresponding member node is deleted, for example, by clicking the "delete" button.
For proxy profiles that have been saved in a database, proxy configuration module 220 provides proxy profile editing and proxy profile deletion service functions.
And the proxy configuration file editing component is used for enabling the member to modify the proxy configuration file stored in the database. Such as modifying the contents of the file name of the proxy profile, the type of the proxy profile, the description of the proxy profile, the file Hash of the proxy profile, etc. For the modified proxy configuration file, the proxy configuration grammar check control is required to be utilized for grammar check.
And the proxy configuration file deleting component is used for enabling the member to delete the proxy configuration file stored in the database. The corresponding proxy profile is deleted, for example, by clicking the delete button.
The modification or deletion of node information and the modification or deletion of the proxy configuration file may be independent. Such as modifying only node information, deleting only node information, modifying only proxy profiles, deleting only proxy profiles. Modifications or deletions to node information, modifications or deletions to proxy profiles may also be associative. For example, the proxy configuration file may be modified simultaneously when the node information is modified, and the proxy configuration file may be deleted simultaneously when the node information is deleted.
In particular, it is directed to the case of blockchain network agents. If a member modifies the node information of the member node using the node information editing component, it may modify the proxy profile using the modified node information for the proxy profile editing component.
For the case of a layer 4 TCP service proxy or a layer 7 http service proxy. If a member modifies the node information of the member node with the node information editing component, it still requires the member to modify the custom information to modify the proxy profile for the proxy profile editing control.
For example, fig. 3 shows a class diagram design schematic of a node configuration module according to an embodiment of the present application. Referring to FIG. 3, after the front end page requests to the rest interface provided by NodeConfigInfoController, the business processing method of NodeConfigInfoServiceImpl is invoked, and then NodeConfigInfoMapper is invoked to complete the persisting of the data.
Wherein, in NodeConfigInfoController, the step of,
GetNodeConfigInfoPage () represents a page turn query node configuration;
getById () represents the acquisition node configuration by Id;
save () represents save node configuration;
updateById () represents modifying node configuration by Id;
removeById () represents delete node configuration by Id;
Wherein, in NodeConfigInfoServiceImpl, the step of,
SaveNodeConfigInfo () represents saving node configuration;
updateNodeConfigInfo () represents modifying node configuration;
removeById () represents delete node configuration by Id;
wherein, in NodeConfigInfoMapper, the step of,
Insert () means save node configuration;
updateById () represents modifying node configuration by Id;
deleteById () represents the delete node configuration by Id.
For example, fig. 4 shows a class diagram design schematic of a proxy configuration module according to an embodiment of the present application. Referring to FIG. 4, after the front end page requests to the rest interface provided by ProxyConfigInfoController, the business processing method of ProxyConfigInfoServiceImpl is invoked, and then ProxyConfigInfoMapper is invoked to complete the persisting of the data.
Wherein, in ProxyConfigInfoController, the step of,
GetProxyConfigInfoPage () represents the page turn query proxy configuration;
getById () represents the acquisition of proxy configuration by Id;
save () represents saving proxy configuration to a database;
updateById () represents modifying the proxy configuration by Id;
get () represents providing proxy configuration;
genConf () represents generating a proxy configuration;
removeById () represents delete proxy configuration by Id;
Wherein, in ProxyConfigInfoServiceImpl, the step of,
SaveProxyConfigInfo () represents saving proxy configuration;
updateProxyConfigInfo () represents modifying the proxy configuration;
genConfigInfo () represents generating a proxy configuration;
getConfig () represents the assembly proxy configuration list information;
testProxyConfigInfo () represents the check proxy configuration syntax;
removeById () represents delete proxy configuration by Id;
Wherein, in ProxyConfigInfoMapper, the step of,
Insert () represents save proxy configuration;
updateById () represents modifying the proxy configuration by Id;
deleteById () represents deleting proxy configuration by Id.
In some alternative embodiments, in the above system, the agent forwarding module 230 provides an agent forwarding service based on a method that a first member node sends a data transmission request, sends the data transmission request to a front-end of a first member node, sends the data transmission request to the front-end of a central agency data center via a dedicated line, performs a first security check on the data transmission request in the front-end of the central agency data center, sends the data transmission request to an agent cluster after the first security check is passed, parses node information of the first member node according to an agent configuration file to match a corresponding agent, routes the data transmission request to the front-end of the central agency data center, performs a second security check on the data transmission request in the front-end of the central agency data center, sends the data transmission request to the front-end of the second member node via a dedicated line after the second security check is passed, performs a third security check on the data transmission request in the front-end of the second member node, and receives the data transmission request after the third security check is passed.
The proxy forwarding module 230 may provide a proxy forwarding service to forward the data transmission request received from the first member node to the corresponding second member node.
Fig. 5 is a schematic topology diagram of a proxy forwarding module according to an embodiment of the present application for providing proxy forwarding services. Referring to fig. 5, the steps for providing the proxy forwarding service by the proxy forwarding module 230 include:
when the first member node needs to transmit data to the second member node, a data transmission request reaches a front area of the first member node;
through the special line, the data transmission request reaches the front area of the data center of the central mechanism;
after passing the first security check of the front area of the central mechanism data center, the data transmission request reaches the proxy cluster;
Resolving SNI through TLS handshake protocol, and matching the resolved SNI to an actual agent for routing;
the data transmission request reaches a front area of a data center of the central mechanism to carry out second security check;
the data transmission request passing through the second security check reaches the front area of the second member node through the special line;
after the third security check of the front area of the second member node, the data transmission request is received by the second member node, and the proxy forwarding is completed.
In some alternative embodiments, in the above system, the proxy forwarding module 230 is further configured to obtain the latest node information and the latest proxy configuration file through timing polling, and reload the proxy forwarding service according to the latest node information and the latest proxy configuration file.
Due to the constant updating of the node information and the proxy configuration file, the proxy forwarding module 230 may acquire the latest node information and the latest proxy configuration file through the timing polling, thereby automatically updating the local configuration and reloading the proxy forwarding service.
The proxy forwarding module 230 may automatically initiate an update request according to a preset time interval, and obtain the latest node information and the latest proxy configuration file. When the proxy forwarding module 230 receives the latest node information and the latest proxy configuration file, the local configuration is automatically updated, so that the proxy forwarding module 230 always runs the latest local configuration, thereby ensuring the stability and the high efficiency of the proxy forwarding service. After the local configuration update is completed, proxy forwarding module 230 reloads the proxy forwarding service to ensure that the latest local configuration is in effect.
During proxy forwarding service reloading, if any abnormal situation is encountered, proxy forwarding module 230 performs corresponding error handling and logging.
Specifically, the proxy forwarding module 230 may operate in the form of a container. There are two main processes in the container of the proxy forwarding module 230, the nmginx service and the Agent service. The Agent service is mainly used for periodically polling to acquire the latest node information and the latest Agent configuration file, further automatically updating the local configuration, and enabling the Nginx service in the container to reload with the latest local configuration. The main role of the Nginx service is to provide proxy forwarding services to enable a first member node of a federated chain network to transfer data to a second member node.
In some optional embodiments, the system further comprises a soft load management platform, wherein the soft load management platform is used for issuing load rules and carrying out load balancing on the agent clusters based on the load rules.
To improve the performance of the system, and to improve the usability and safety of the system, the system also includes a soft load management platform. The soft load management platform provides functional services such as load rule release of the proxy cluster, so that load balancing of the proxy cluster is realized based on the load rule, and further flow scheduling among member nodes is realized.
Nginx may be selected as a web server for handling HTTP requests and providing reverse proxy, load balancing, etc. services. In practical cases, other software with the same function can be selected as appropriate.
Fig. 6 is a flow chart illustrating a method for constructing a node proxy service system of a blockchain network according to an embodiment of the present application. The block chain network comprises a central mechanism data center, wherein an agent cluster is built in the central mechanism data center, and each member node is added into the block chain network through a special line. Referring to fig. 6, the method includes:
step S601, a node configuration module is constructed, and the node configuration module is used for generating node information in response to a request of joining a member into a blockchain network so as to join the member node into the blockchain network;
Step S602, constructing a proxy configuration module, wherein the proxy configuration module is used for responding to the result of member selection on the proxy type to generate a corresponding proxy configuration file, carrying out grammar check on the proxy configuration file, and storing the proxy configuration file in a database when the verification is passed;
In step S603, a proxy forwarding module is constructed, and the proxy forwarding module is configured to provide a proxy forwarding service according to the node information and the corresponding proxy configuration file, so as to route data from a first member node to a second member node of the blockchain network through a proxy in the proxy cluster.
In some alternative embodiments, the method includes a node configuration creation component configured to provide a node configuration template to enable members to add content of member nodes joining the blockchain network, a node information generation component configured to generate node information according to the content of the member nodes, a node information display component configured to display node information of all the member nodes in the blockchain network, and node information including sequence numbers, organization names, node names, SNI names, node addresses, creation time, and update time.
In some alternative embodiments, the method includes constructing an agent type selection component, wherein the agent type selection component is used for selecting a member from the types of agents, the types of agents comprise a blockchain network agent, a 4-layer TCP service agent and a 7-layer http service agent, the constructing agent configuration file generation component is used for reading node information when the member selects the blockchain network agent and generating an agent configuration file according to the node information and a template structure, the agent configuration file generation component is further used for providing an agent configuration content input component when the member selects the 4-layer TCP service agent or the 7-layer http service agent, receiving custom information input by the agent configuration content input component and generating an agent configuration file according to the custom information and the template structure, the constructing agent configuration file display component is used for displaying file information of agent configuration files of all member nodes in the blockchain network, and the file information comprises a sequence number of the agent configuration file, a file name of the agent configuration file, a type of the agent configuration file, description of the agent configuration file, file Hash of the agent configuration file, update time of the agent configuration file, and grammar checking of the agent configuration file, and the grammar checking component is used for checking the grammar of the agent configuration file.
In some alternative embodiments, in the above method, step S601 further comprises constructing a node information editing component for modifying node information of the member nodes that have joined the blockchain network, and constructing a node information deleting component for deleting node information of the member nodes that have joined the blockchain network.
In some alternative embodiments, in the above method, step S602 further includes constructing a proxy profile editing component for modifying proxy profiles already stored in the database, and constructing a proxy profile deletion component for deleting proxy profiles already stored in the database.
In some alternative embodiments, the proxy forwarding module constructed in step S603 provides a proxy forwarding service based on the method that the first member node sends the data transmission request, the data transmission request is sent to the front area of the first member node, the data transmission request is sent to the front area of the central agency data center through a dedicated line, the first security check is performed on the data transmission request in the front area of the central agency data center, the first security check is passed, the data transmission request is sent to the proxy cluster, the node information of the first member node is analyzed according to the proxy configuration file to match the corresponding proxy for routing, the data transmission request is sent to the front area of the central agency data center, the second security check is performed on the data transmission request in the front area of the central agency data center, the data transmission request is sent to the front area of the second member node through the dedicated line after the second security check is passed, the third security check is performed on the front area of the second member node, and the second member node receives the data transmission request after the third security check is passed.
In some optional embodiments, in the method described above, the proxy forwarding module constructed in step S603 is further configured to acquire the latest node information and the latest proxy configuration file through timing polling, and reload the proxy forwarding service according to the latest node information and the latest proxy configuration file.
In some optional embodiments, the method further comprises constructing a soft load management platform, wherein the soft load management platform is used for issuing load rules and carrying out load balancing on the agent cluster based on the load rules.
It should be noted that, the method for constructing the node proxy service system of the blockchain network corresponds to the node proxy service system of the blockchain network one by one, which is not described herein.
Fig. 7 is a schematic diagram of a block chain network node proxy service device according to one embodiment of the present application, where the device includes a processor, a memory, a network interface, and a database connected through a system bus according to fig. 7. Wherein the processor of the device is configured to provide computing and control capabilities. The memory of the device includes non-volatile and/or volatile storage media, internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the device is used for communicating with an external client through a network connection. The computer program, when executed by a processor, performs the functions or steps of a method of constructing a node proxy service system of a blockchain network.
In one embodiment, the node proxy service device of the blockchain network provided by the application comprises a memory and a processor, wherein the memory stores a database and a computer program which can be run on the processor, and the processor executes the computer program to realize the following steps:
The node configuration module is used for generating node information in response to a request of joining the member in the blockchain network so as to join the member node in the blockchain network;
The agent configuration module is used for responding to the result of the member selection of the agent type to generate a corresponding agent configuration file, carrying out grammar check on the agent configuration file, and storing the agent configuration file in a database when the verification is passed;
and constructing a proxy forwarding module, wherein the proxy forwarding module is used for providing proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through the proxy in the proxy cluster.
In one embodiment, there is also provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
The node configuration module is used for generating node information in response to a request of joining the member in the blockchain network so as to join the member node in the blockchain network;
The agent configuration module is used for responding to the result of the member selection of the agent type to generate a corresponding agent configuration file, carrying out grammar check on the agent configuration file, and storing the agent configuration file in a database when the verification is passed;
and constructing a proxy forwarding module, wherein the proxy forwarding module is used for providing proxy forwarding service according to the node information and the corresponding proxy configuration file so as to route data from a first member node to a second member node of the blockchain network through the proxy in the proxy cluster.
It should be noted that, the functions or steps that can be implemented by the node proxy service device or the computer readable storage medium of the blockchain network may correspond to the relevant descriptions in the foregoing method embodiments, and are not described herein one by one for avoiding repetition.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the system is divided into different functional units or modules to perform all or part of the above-described functions.
The foregoing embodiments are merely illustrative of the technical solutions of the present invention, and not restrictive, and although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that modifications may still be made to the technical solutions described in the foregoing embodiments or equivalent substitutions of some technical features thereof, and that such modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1.一种区块链网络的节点代理服务系统,其特征在于,所述区块链网络包括:中心机构数据中心,所述中心机构数据中心内构建代理集群,各成员节点通过专线加入所述区块链网络,各内网节点通过内网加入所述区块链网络;1. A node proxy service system for a blockchain network, characterized in that the blockchain network includes: a central institution data center, a proxy cluster is constructed in the central institution data center, each member node joins the blockchain network via a dedicated line, and each intranet node joins the blockchain network via an intranet; 所述系统包括:节点配置模块、代理配置模块和代理转发模块;The system includes: a node configuration module, an agent configuration module and an agent forwarding module; 所述节点配置模块,用于响应于成员加入所述区块链网络的请求生成节点信息,以使所述成员节点加入所述区块链网络;The node configuration module is configured to generate node information in response to a request from a member to join the blockchain network, so as to enable the member node to join the blockchain network; 所述代理配置模块,用于响应于成员对代理类型选择的结果生成对应的代理配置文件,对代理配置文件进行语法校验,当校验通过时将代理配置文件保存在数据库中;The proxy configuration module is configured to generate a corresponding proxy configuration file in response to the result of the member's selection of the proxy type, perform syntax verification on the proxy configuration file, and save the proxy configuration file in a database when the verification passes; 所述代理转发模块,用于根据节点信息和对应的代理配置文件提供代理转发服务,以通过所述代理集群中的代理将数据从所述区块链网络的第一成员节点路由至第二成员节点;The proxy forwarding module is configured to provide a proxy forwarding service based on the node information and the corresponding proxy configuration file, so as to route data from the first member node of the blockchain network to the second member node through the proxy in the proxy cluster; 所述代理配置模块,包括:代理类型选择组件、代理配置文件生成组件;The proxy configuration module includes: a proxy type selection component and a proxy configuration file generation component; 所述代理类型选择组件,用于供成员在代理的类型中进行选择;代理的类型包括:区块链网络代理、4层TCP服务代理和7层http服务代理;The proxy type selection component is used for members to select from the proxy types; the proxy types include: blockchain network proxy, 4-layer TCP service proxy and 7-layer HTTP service proxy; 所述代理配置文件生成组件,用于在成员选择区块链网络代理时读取节点信息,根据节点信息和模板结构生成代理配置文件;The proxy configuration file generation component is used to read node information when a member selects a blockchain network proxy, and generate a proxy configuration file based on the node information and template structure; 所述代理配置文件生成组件,还用于在成员选择4层TCP服务代理或7层http服务代理时提供代理配置内容输入组件,接收成员基于代理配置内容输入组件录入的自定义信息,根据自定义信息和模板结构生成代理配置文件;The proxy configuration file generation component is further used to provide a proxy configuration content input component when the member selects a layer 4 TCP service proxy or a layer 7 HTTP service proxy, receive the member's custom information entered based on the proxy configuration content input component, and generate a proxy configuration file based on the custom information and the template structure; 所述代理转发模块基于以下方法提供代理转发服务:The proxy forwarding module provides proxy forwarding services based on the following methods: 第一成员节点发送数据传输请求;The first member node sends a data transmission request; 将数据传输请求送达第一成员节点的前置区;Sending the data transmission request to the front area of the first member node; 将数据传输请求通过专线送达所述中心机构数据中心的前置区;Delivering the data transmission request to the front-end area of the central organization's data center via a dedicated line; 在所述中心机构数据中心的前置区对数据传输请求进行第一安全检查;Performing a first security check on the data transmission request in a front-end area of the central organization data center; 第一安全检查通过后,将数据传输请求送达所述代理集群,根据代理配置文件对第一成员节点的节点信息进行解析以匹配对应的代理进行路由;After the first security check passes, the data transmission request is sent to the proxy cluster, and the node information of the first member node is parsed according to the proxy configuration file to match the corresponding proxy for routing; 将数据传输请求送达所述中心机构数据中心的前置区;Delivering the data transmission request to the front-end area of the central agency data center; 在所述中心机构数据中心的前置区对数据传输请求进行第二安全检查;Performing a second security check on the data transmission request in a front-end area of the central organization's data center; 第二安全检查通过后,将数据传输请求通过专线送达第二成员节点的前置区;After the second security check passes, the data transmission request is sent to the front-end area of the second member node via a dedicated line; 在第二成员节点的前置区对数据传输请求进行第三安全检查;performing a third security check on the data transmission request in the preamble area of the second member node; 第三安全检查通过后,第二成员节点接收数据传输请求。After the third security check passes, the second member node receives the data transmission request. 2.根据权利要求1所述的区块链网络的节点代理服务系统,其特征在于,所述节点配置模块,包括:节点配置创建组件、节点信息生成组件和节点信息展示组件;2. The node agent service system of the blockchain network according to claim 1, characterized in that the node configuration module includes: a node configuration creation component, a node information generation component and a node information display component; 所述节点配置创建组件,用于提供节点配置模板,以使成员添加加入所述区块链网络的所述成员节点的内容;The node configuration creation component is used to provide a node configuration template so that members can add content of the member node to join the blockchain network; 所述节点信息生成组件,用于根据所述成员节点的内容生成节点信息;The node information generating component is used to generate node information according to the content of the member node; 所述节点信息展示组件,用于展示所述区块链网络中的所有所述成员节点的节点信息;The node information display component is used to display the node information of all the member nodes in the blockchain network; 节点信息,包括:序号、组织名称、节点名称、SNI名称、节点地址、创建时间、更新时间。Node information, including: serial number, organization name, node name, SNI name, node address, creation time, and update time. 3.根据权利要求1所述的区块链网络的节点代理服务系统,其特征在于,所述代理配置模块,包括:代理配置文件展示组件和代理配置语法校验组件;3. The node proxy service system of the blockchain network according to claim 1, characterized in that the proxy configuration module includes: a proxy configuration file display component and a proxy configuration syntax verification component; 所述代理配置文件展示组件,用于展示所述区块链网络中的所有所述成员节点的代理配置文件的文件信息;The proxy configuration file display component is used to display file information of the proxy configuration files of all the member nodes in the blockchain network; 文件信息,包括:代理配置文件的序号、代理配置文件的文件名、代理配置文件的类型、代理配置文件的描述、代理配置文件的文件Hash、代理配置文件的创建时间、代理配置文件的更新时间;File information, including: the serial number of the proxy configuration file, the file name of the proxy configuration file, the type of the proxy configuration file, the description of the proxy configuration file, the file hash of the proxy configuration file, the creation time of the proxy configuration file, and the update time of the proxy configuration file; 所述代理配置语法校验组件,用于对代理配置文件进行语法校验。The proxy configuration syntax check component is used to perform syntax check on the proxy configuration file. 4.根据权利要求1所述的区块链网络的节点代理服务系统,其特征在于,所述节点配置模块,还包括:节点信息编辑组件和节点信息删除组件;4. The node agent service system of the blockchain network according to claim 1, characterized in that the node configuration module further includes: a node information editing component and a node information deletion component; 所述节点信息编辑组件,用于对已加入所述区块链网络的所述成员节点的节点信息进行修改;The node information editing component is used to modify the node information of the member node that has joined the blockchain network; 所述节点信息删除组件,用于删除已加入所述区块链网络的所述成员节点的节点信息;The node information deletion component is used to delete the node information of the member node that has joined the blockchain network; 所述代理配置模块,还包括:代理配置文件编辑组件和代理配置文件删除组件;The proxy configuration module further includes: a proxy configuration file editing component and a proxy configuration file deleting component; 所述代理配置文件编辑组件,用于对已保存于数据库中的代理配置文件进行修改;The proxy configuration file editing component is used to modify the proxy configuration file stored in the database; 所述代理配置文件删除组件,用于删除已保存于数据库中的代理配置文件。The agent configuration file deletion component is used to delete the agent configuration file stored in the database. 5.根据权利要求1所述的区块链网络的节点代理服务系统,其特征在于,所述代理转发模块,还用于通过定时轮询获取最新的节点信息和最新的代理配置文件,根据最新的节点信息和最新的代理配置文件重载代理转发服务。5. The node proxy service system of the blockchain network according to claim 1 is characterized in that the proxy forwarding module is further used to obtain the latest node information and the latest proxy configuration file through periodic polling, and reload the proxy forwarding service according to the latest node information and the latest proxy configuration file. 6.根据权利要求1所述的区块链网络的节点代理服务系统,其特征在于,所述系统还包括:软负载管理平台;6. The node agent service system of the blockchain network according to claim 1, characterized in that the system further comprises: a soft load management platform; 所述软负载管理平台,用于发布负载规则并基于负载规则对所述代理集群进行负载均衡。The soft load management platform is used to publish load rules and perform load balancing on the proxy cluster based on the load rules. 7.一种区块链网络的节点代理服务系统的构建方法,其特征在于,所述区块链网络包括:中心机构数据中心,所述中心机构数据中心内构建代理集群,各成员节点通过专线加入所述区块链网络,各内网节点通过内网加入所述区块链网络;7. A method for constructing a node proxy service system for a blockchain network, characterized in that the blockchain network includes: a central institution data center, a proxy cluster is constructed in the central institution data center, each member node joins the blockchain network via a dedicated line, and each intranet node joins the blockchain network via an intranet; 所述方法包括:The method comprises: 构建节点配置模块,所述节点配置模块用于响应于成员加入所述区块链网络的请求生成节点信息,以使所述成员节点加入所述区块链网络;Constructing a node configuration module, the node configuration module is used to generate node information in response to a request from a member to join the blockchain network, so that the member node joins the blockchain network; 构建代理配置模块,所述代理配置模块用于响应于成员对代理类型选择的结果生成对应的代理配置文件,对代理配置文件进行语法校验,当校验通过时将代理配置文件保存在数据库中;Constructing an agent configuration module, the agent configuration module is used to generate a corresponding agent configuration file in response to the result of the member's selection of the agent type, perform syntax verification on the agent configuration file, and save the agent configuration file in a database when the verification passes; 构建代理转发模块,所述代理转发模块用于根据节点信息和对应的代理配置文件提供代理转发服务,以通过所述代理集群中的代理将数据从所述区块链网络的第一成员节点路由至第二成员节点;Constructing a proxy forwarding module, the proxy forwarding module being configured to provide a proxy forwarding service based on the node information and the corresponding proxy configuration file, so as to route data from a first member node of the blockchain network to a second member node through a proxy in the proxy cluster; 所述构建代理配置模块,包括:The build agent configuration module includes: 构建代理类型选择组件,所述代理类型选择组件,用于供成员在代理的类型中进行选择;代理的类型包括:区块链网络代理、4层TCP服务代理和7层http服务代理;Construct an agent type selection component, which is used for members to select from the agent types; the agent types include: blockchain network agent, 4-layer TCP service agent, and 7-layer HTTP service agent; 构建代理配置文件生成组件,所述代理配置文件生成组件,用于在成员选择区块链网络代理时读取节点信息,根据节点信息和模板结构生成代理配置文件;所述代理配置文件生成组件,还用于在成员选择4层TCP服务代理或7层http服务代理时提供代理配置内容输入组件,接收成员基于代理配置内容输入组件录入的自定义信息,根据自定义信息和模板结构生成代理配置文件;Constructing a proxy configuration file generation component, which is used to read node information when a member selects a blockchain network proxy and generate a proxy configuration file based on the node information and the template structure; the proxy configuration file generation component is also used to provide a proxy configuration content input component when a member selects a 4-layer TCP service proxy or a 7-layer HTTP service proxy, receive custom information entered by the member based on the proxy configuration content input component, and generate a proxy configuration file based on the custom information and the template structure; 构建的代理转发模块基于以下方法提供代理转发服务:第一成员节点发送数据传输请求;将数据传输请求送达第一成员节点的前置区;将数据传输请求通过专线送达中心机构数据中心的前置区;在中心机构数据中心的前置区对数据传输请求进行第一安全检查;第一安全检查通过后,将数据传输请求送达代理集群,根据代理配置文件对第一成员节点的节点信息进行解析以匹配对应的代理进行路由;将数据传输请求送达中心机构数据中心的前置区;在中心机构数据中心的前置区对数据传输请求进行第二安全检查;第二安全检查通过后,将数据传输请求通过专线送达第二成员节点的前置区;在第二成员节点的前置区对数据传输请求进行第三安全检查;第三安全检查通过后,第二成员节点接收数据传输请求。The constructed proxy forwarding module provides proxy forwarding service based on the following method: the first member node sends a data transmission request; the data transmission request is delivered to the front-end area of the first member node; the data transmission request is delivered to the front-end area of the central agency data center via a dedicated line; a first security check is performed on the data transmission request in the front-end area of the central agency data center; after the first security check is passed, the data transmission request is delivered to the proxy cluster, and the node information of the first member node is parsed according to the proxy configuration file to match the corresponding proxy for routing; the data transmission request is delivered to the front-end area of the central agency data center; a second security check is performed on the data transmission request in the front-end area of the central agency data center; after the second security check is passed, the data transmission request is delivered to the front-end area of the second member node via a dedicated line; a third security check is performed on the data transmission request in the front-end area of the second member node; after the third security check is passed, the second member node receives the data transmission request. 8.一种区块链网络的节点代理服务装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求7所述的区块链网络的节点代理服务系统的构建方法的步骤。8. A node agent service device for a blockchain network, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for constructing a node agent service system for a blockchain network as described in claim 7 are implemented. 9.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器指令时实现如权利要求7所述的区块链网络的节点代理服务系统的构建方法的步骤。9. A computer-readable storage medium storing a computer program, wherein the computer program, when instructed by a processor, implements the steps of the method for constructing a node agent service system for a blockchain network as described in claim 7.
CN202510624710.XA 2025-05-15 2025-05-15 Node proxy service system and construction method, device and medium for blockchain network Active CN120151352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510624710.XA CN120151352B (en) 2025-05-15 2025-05-15 Node proxy service system and construction method, device and medium for blockchain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510624710.XA CN120151352B (en) 2025-05-15 2025-05-15 Node proxy service system and construction method, device and medium for blockchain network

Publications (2)

Publication Number Publication Date
CN120151352A CN120151352A (en) 2025-06-13
CN120151352B true CN120151352B (en) 2025-08-08

Family

ID=95960987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510624710.XA Active CN120151352B (en) 2025-05-15 2025-05-15 Node proxy service system and construction method, device and medium for blockchain network

Country Status (1)

Country Link
CN (1) CN120151352B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329081A (en) * 2021-05-28 2021-08-31 深圳技术大学 Block chain service access method, device and computer readable storage medium
WO2024092925A1 (en) * 2022-10-31 2024-05-10 蚂蚁区块链科技(上海)有限公司 Method and apparatus for joining blockchain network, electronic device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8130747B2 (en) * 2007-08-06 2012-03-06 Blue Coat Systems, Inc. System and method of traffic inspection and stateful connection forwarding among geographically dispersed network appliances organized as clusters
CN115730934B (en) * 2021-08-30 2025-07-18 腾讯科技(深圳)有限公司 Block chain-based data processing method, device, equipment and storage medium
CN117527558A (en) * 2022-07-28 2024-02-06 华为云计算技术有限公司 Alliance chain management method and related system
CN116643873A (en) * 2022-12-26 2023-08-25 中移动信息技术有限公司 Method, device, system, equipment and storage medium for scheduling computing power resources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329081A (en) * 2021-05-28 2021-08-31 深圳技术大学 Block chain service access method, device and computer readable storage medium
WO2024092925A1 (en) * 2022-10-31 2024-05-10 蚂蚁区块链科技(上海)有限公司 Method and apparatus for joining blockchain network, electronic device and storage medium

Also Published As

Publication number Publication date
CN120151352A (en) 2025-06-13

Similar Documents

Publication Publication Date Title
JP6865851B2 (en) Blockchain World State Markle Patricia Tri Tree Subtree Construction
US10225330B2 (en) Auto-documentation for application program interfaces based on network requests and responses
US9348836B2 (en) Determining a preferred modified version from among multiple modified versions for synchronized files
US20190146783A1 (en) Collaborative software development with heterogeneous development tools
CN106209947B (en) A data processing method and system for a decentralized autonomous organization
CN103608810A (en) Enriching database query responses using data from external data sources
US20090077262A1 (en) System and method for synchronization between servers
CN110866273A (en) Inter-enterprise standard consensus method based on block chain and interplanetary file system
CN113128968A (en) Business approval method and system based on workflow engine
CN113010332B (en) Remote service calling method, device, equipment and storage medium
CN113360100A (en) Data printing method and printing management system
CN120151352B (en) Node proxy service system and construction method, device and medium for blockchain network
CN114266578B (en) Transaction reconciliation method and system based on Merker tree
CN114416682A (en) Method for editing and managing document in real time in cooperation with multiple terminals
CN116088913B (en) Integrated device, method and computer program product for vehicle upgrade software
CN112069182A (en) Batch case reporting method, device, equipment and storage medium
CN115242802B (en) Method, system and electronic equipment for constructing traceable link of block chain
CN114372025B (en) A method and device for verifying consistency of distributed edge cloud nodes
CN116094720B (en) Block chain multi-platform management method, device, server and storage medium
US20250193277A1 (en) Systems and methods for scheduling packages to synchronize content across computer systems
CN110363489B (en) Remote collaboration system and method for spacecraft final assembly data
US10721300B2 (en) System and method for optimizing transfer of data chunks using radio frequency (RF) handshaking
CN117763617A (en) Block chain-based data sharing method, system and deployment method
CN120029990A (en) Blockchain data migration method, device, computer equipment and storage medium
CN118132571A (en) Data synchronization system, method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant