A method and device for node management in a blockchain network

By adopting a one-to-many communication method for node management in the blockchain network, the problem of high node management communication complexity in the existing technology is solved, improving efficiency and saving system resources.

CN112671541BActive Publication Date: 2024-09-06WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011493220.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-17
Publication Date
2024-09-06
Estimated Expiration
2040-12-17

AI Technical Summary

Technical Problem

The node management method in the existing blockchain network has high communication complexity and poor performance. Especially when nodes join and exit, multiple rounds of many-to-many broadcast messages are required, resulting in high system overhead and low efficiency.

Method used

Use the new node to generate a public-private key pair after obtaining the access certificate, obtain the node status table through the status center, send a signature message to the active node, and perform signature and public key aggregation after receiving a preset number of response messages to achieve a pair Multiple communication methods reduce communication complexity and verification time.

Benefits of technology

Through one-to-many communication, the burden on the blockchain network is reduced, the efficiency of node management is improved, system resources are saved, and communication complexity is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112671541B
    Figure CN112671541B
Patent Text Reader

Abstract

The present invention discloses a method and device for node management in a blockchain network, the method comprising: after a new node obtains an access certificate, generating a public-private key pair of the new node, obtaining a state table of the node in the blockchain network from a state center, and sending a new node message with a signature to an active node in the state table, after receiving a response message to the new node message sent by a preset number of active nodes, aggregating the signature and public key of the active node in the response message, sending the aggregated signature and public key to the active node, and synchronizing consensus information after receiving a stable checkpoint sent by the active node. By aggregating the signature and public key of the active node in the received response message by the new node, one-to-many communication can be realized in the process of node joining, which can reduce the communication complexity, reduce the verification time, and save system resources compared with the many-to-many communication broadcast method in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of financial technology (Fintech), and in particular to a method and device for node management in a blockchain (Blockchain) network. Background Art

[0002] With the development of computer technology, more and more technologies are being applied in the financial field. Traditional finance is gradually transforming into financial technology. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on technology. In the blockchain technology in the financial field, the management of nodes in the blockchain is an important issue.

[0003] Currently, when adding and deleting nodes in a blockchain network, if there is a Byzantine consensus node, a new node needs to be accepted by the majority of nodes before it can join the network. Similarly, an old node needs to be accepted by the majority of nodes before it can exit the network. Each time a node changes, all nodes need to perform multiple rounds of "request-return" many-to-many broadcast messages, and the communication complexity is O(n^2). This shows that the existing node management method has high communication complexity and poor performance. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for node management in a blockchain network, so as to improve the detection efficiency of blockchain anti-fork, save system overhead, and reduce the burden of the blockchain network.

[0005] In a first aspect, an embodiment of the present invention provides a method for node management in a blockchain network, comprising:

[0006] After obtaining the admission certificate, the new node generates a public-private key pair of the new node;

[0007] The new node obtains the state table of nodes in the blockchain network from the state center, and sends a new node message with a signature to the active node in the state table, so that the active node that receives the new node message with a signature can review the new node;

[0008] After receiving response messages to new node messages sent by a preset number of active nodes, the new node aggregates signatures and public keys of the active nodes in the response messages;

[0009] The new node sends the aggregated signature and public key to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node;

[0010] The new node synchronizes consensus information after receiving the stable checkpoint sent by the active node.

[0011] In the above technical solution, by aggregating the signatures and public keys of the active nodes in the received response messages by the new node, one-to-many communication can be achieved during the node joining process. Compared with the many-to-many communication broadcast method in the prior art, it can reduce communication complexity, reduce verification time, and save system resources.

[0012] Optionally, after synchronizing the consensus information, the new node further includes:

[0013] The new node sends a node exit message with a signature to the active node, so that the active node feeds back a response message of the node exit message;

[0014] After receiving response messages to node exit messages sent by a preset number of active nodes, the new node aggregates signatures and public keys of the active nodes in the response messages;

[0015] The new node sends the aggregated signature and public key to the active node, so that the active node sends a node status exit message to the status center and all clients in the blockchain network after verification, and synchronizes the status table of the active node.

[0016] Optionally, the new node generates a public-private key pair of the new node, including:

[0017] The new node randomly selects a random number of preset digits as a private key according to the admission certificate;

[0018] The new node determines the public key according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.

[0019] Optionally, the signature is an elliptic curve cryptography algorithm signature.

[0020] Optionally, the new node determines the new node message with the signature according to the following steps:

[0021] The new node randomly selects a second point from any public point set of the elliptic curve selected by a preset elliptic curve cryptography algorithm;

[0022] The new node determines the first part of the signature according to the second point, the private key and the hash value of the new node message;

[0023] The new node determines a second part of the signature according to the first point and the second point;

[0024] The new node obtains the signature according to the first part and the second part of the signature.

[0025] In a second aspect, an embodiment of the present invention provides a device for managing nodes in a blockchain network, including:

[0026] A generating unit, configured to generate a public-private key pair of the new node after obtaining the admission certificate;

[0027] A sending unit, configured to obtain a state table of nodes in the blockchain network from a state center, and send a new node message with a signature to an active node in the state table, so that the active node receiving the new node message with a signature can review the new node;

[0028] a processing unit, configured to aggregate signatures and public keys of active nodes in response messages after receiving response messages to new node messages sent by a preset number of active nodes;

[0029] The sending unit is further used to send the aggregated signature and public key to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node;

[0030] The processing unit is further configured to synchronize consensus information after receiving the stable checkpoint sent by the active node.

[0031] Optionally, the processing unit is further used for:

[0032] After synchronizing the consensus information, controlling the sending unit to send a node exit message with a signature to the active node, so that the active node feeds back a response message of the node exit message;

[0033] After receiving response messages to node exit messages sent by a preset number of active nodes, aggregating signatures and public keys of the active nodes in the response messages;

[0034] Control the sending unit to send the aggregated signature and public key to the active node, so that the active node sends a node status exit message to the status center and all clients in the blockchain network after verification, and synchronizes the status table of the active node.

[0035] Optionally, the generating unit is specifically used for:

[0036] According to the access certificate, randomly select a random number of preset digits as a private key;

[0037] A public key is determined according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.

[0038] Optionally, the signature is an elliptic curve cryptography algorithm signature.

[0039] Optionally, the processing unit is specifically used for:

[0040] Determine the new node message with the signature according to the following steps:

[0041] Randomly select a second point from any public point set of the elliptic curve selected by a preset elliptic curve cryptography algorithm;

[0042] Determine the first part of the signature based on the second point, the private key and the hash value of the new node message;

[0043] Determine a second part of the signature based on the first point and the second point;

[0044] The signature is obtained according to the first part and the second part of the signature.

[0045] In a third aspect, an embodiment of the present invention further provides a computing device, including:

[0046] A memory for storing program instructions;

[0047] The processor is used to call the program instructions stored in the memory and execute the method for node management in the above-mentioned blockchain network according to the obtained program.

[0048] In a fourth aspect, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, comprising computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the method for node management in the above-mentioned blockchain network. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention;

[0051] Figure 2 A flowchart of a method for managing nodes in a blockchain network provided by an embodiment of the present invention;

[0052] Figure 3 A schematic diagram of a node joining provided by an embodiment of the present invention;

[0053] Figure 4 A schematic diagram of a node exit provided by an embodiment of the present invention;

[0054] Figure 5 A schematic diagram of the structure of a device for node management in a blockchain network provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Figure 1 A system architecture is provided for an embodiment of the present invention. Figure 1 As shown, the system architecture may include a blockchain layer and an application layer;

[0057] Among them, the blockchain layer is composed of multiple nodes and runs a consensus algorithm, which can be a consensus algorithm based on BFT (Byzantine Fault Tolerance).

[0058] The application layer includes clients and status nodes. The status nodes are used to monitor / read the status of each node in the blockchain layer, which may include online, offline, punished, and exited. The client is used to send transaction proposals to nodes in the blockchain layer and receive return information.

[0059] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.

[0060] Based on the above description, Figure 2 The process of a method for node management in a blockchain network provided by an embodiment of the present invention is shown in detail, and the process can be executed by a device for node management in a blockchain network.

[0061] like Figure 2 As shown in the figure, the process specifically includes:

[0062] Step 201: After obtaining the admission certificate, the new node generates a public-private key pair of the new node.

[0063] In an embodiment of the present invention, when a new node joins a blockchain network, it needs to obtain an access certificate from a certification center, and then generate a public-private key pair for the new node, as well as a certificate of joining the network.

[0064] When generating a key pair, a random number of preset digits can be randomly selected as a private key based on the access certificate, and the public key can be determined based on the private key and the first point on the elliptic curve selected by the preset elliptic curve cryptography algorithm. The preset digits can be preset in the access certificate or set based on experience.

[0065] For example, you can choose a 1024-bit random number x as the private key, and then calculate the public key y = g2^x.

[0066] In the blockchain network, a unified elliptic curve cryptography algorithm is used for encryption and decryption signatures, and an elliptic curve is selected. G1 and G2 are the public point sets on the curve. The public points on the g1 and g2 curves are the values ​​in the G1 and G2 sets respectively. The hash function H method is to calculate the message hash to the value on the curve.

[0067] This g2 (first point) is the point in the above-mentioned G2 set.

[0068] Step 202: The new node obtains the state table of nodes in the blockchain network from the state center, and sends a new node message with a signature to the active nodes in the state table.

[0069] The new node can obtain node information in the current blockchain network, i.e., the state table, from the state center. The state center can be the state node in the above system architecture.

[0070] The new node sends a new node message to the active node in the active state and attaches a signature.

[0071] The signature is an elliptic curve cryptography algorithm signature. When calculating the signature, the first part of the signature is determined mainly based on the second point, the private key and the hash value of the new node message, and then the second part of the signature is determined based on the first point (g2) and the second point. Finally, the signature is obtained based on the first and second parts of the signature.

[0072] For example, randomly select point r (the second point) in G1, calculate the value H(NewNode)^(r*x) as the first part of the signature δ1. Calculate the value g2^r as the second part of the signature δ2, that is, you can get the signature δ_j=(δ1,δ2)=(H(NewNode)^x*H(NewNode)^r,g2^r).

[0073] After receiving the new node message with the signature, the active node will review the new node and send a response message, which includes the public key and signature of the active node.

[0074] Step 203: After receiving response messages to new node messages sent by a preset number of active nodes, the new node aggregates signatures and public keys of the active nodes in the response messages.

[0075] The aggregation of signatures and public keys of active nodes can be a threshold aggregation signature method, that is, satisfying the signature scenario of the form of "n-of-m". When there are a total of m signers, only n signers are needed to sign a message to pass the verification, and the actual number of signatures can be verified.

[0076] Step 204: The new node sends the aggregated signature and public key to the active node.

[0077] After the new node aggregates the signature and public key of the active node, it sends the aggregated signature and public key to the active node to indicate that the new node has collected enough proofs of successful verification from active nodes and can join. After receiving the aggregated signature and public key, the active node can add the new node to the state table of the active node after verification and send the stable checkpoint of the current consensus view to the new node. The stable checkpoint of the current consensus view is the stage of the current consensus.

[0078] Step 205: The new node synchronizes consensus information after receiving the stable checkpoint sent by the active node.

[0079] After receiving the stable checkpoint sent by the active node, the new node can synchronize the consensus information, that is, catch up with the view based on the stable checkpoint.

[0080] After the new node synchronizes the consensus information, it indicates that the new node has joined successfully. At this time, the new node can also perform an exit operation. Specifically, the new node sends a node exit message with a signature to the active node, so that the active node can feedback the response message of the node exit message. Then, after receiving the response messages of the node exit messages sent by a preset number of active nodes, the signatures and public keys of the active nodes in the response messages are aggregated. Finally, the aggregated signatures and public keys are sent to the active nodes, so that the active nodes can send node status exit messages to the status center and all clients in the blockchain network after verification, and synchronize the status table of the active nodes.

[0081] In order to better explain the embodiment of the present invention, the above node management process will be described below in a specific implementation scenario.

[0082] like Figure 3 As shown in the figure, the process of dynamic node joining:

[0083] 1) When a new node j joins, it obtains an access certificate from the certification center, generates a public and private key pair for the node, and a certificate of joining the network. Specifically:

[0084] a) Select a 1024-bit random number x as the private key;

[0085] b) Calculate the public key y = g2^x;

[0086] c) Calculate proof proof = H (P, y), where P is the security secret of the blockchain network, which can be issued by the access authority.

[0087] 2) The new node j obtains the node information in the current network from the status center.

[0088] 3) Node j sends a NewNode message to the active nodes in the status table and attaches a signature:

[0089] a) Randomly select a point r in G1;

[0090] b) Calculate the value H(NewNode)^(r*x) as the first part of the signature δ1;

[0091] c) Calculate the value g2^r as the second part δ2 of the signature;

[0092] d) Obtain the signature δ_j = (δ1, δ2) = (H(NewNode)^x*H(NewNode)^r, g2^r).

[0093] 4) After receiving the NewNode message from the new node j, other node i examines its identity and qualifications. If the examination is passed, it sends a NewNode-Reply message to the new node j to confirm the identity of the new node and attaches the signature of node i:

[0094] a) Verify that e(δ1,g2)=e(H(NewNode),y_j*δ2);

[0095] b) Calculate the signature of node i: δ_i = (H(NewNode-Reply)^(r*x_i),g2^r).

[0096] 5) When node j receives more than 2 / 3 of the legitimate NewNode-Reply messages in the entire network, it collects and packages them and broadcasts the NewNode-Collect message to all active nodes, which includes the aggregation of more than 2 / 3 of the NewNode-Reply message signatures in the entire network and the aggregation of more than 2 / 3 of the signer public keys in the entire network.

[0097] a) Calculate the aggregate signature

[0098] b) Calculate the aggregate public key

[0099] 6) After receiving the NewNode-Collect message, other nodes i will write the new node j to the local after verification and send the stable checkpoint to the new node.

[0100] 7) At this point, the new node j catches up with the consensus view based on the stable checkpoint.

[0101] like Figure 4 As shown in the figure, the process of node dynamic exit is:

[0102] 1) Node e is ready to exit the current blockchain network and broadcast an Exit message to other nodes in the blockchain network, with the signature of node e attached:

[0103] a) The signing process is the same as above for the signature of the new node.

[0104] 2) Other node i receives the Exit message from node e, checks the message and sends an Exit-Reply message to the exiting node e, attaching the signature of the exit message of node e.

[0105] 3) After node e receives more than 2 / 3 of the Exit-Reply messages in the entire network, it confirms and packages these messages and broadcasts the Exit-Collect message to other nodes. The message contains the aggregation of more than 2 / 3 of the Exit-Reply message signatures in the entire network and the corresponding aggregation of more than 2 / 3 of the signer public keys in the entire network.

[0106] a) The process of aggregate signature and aggregate public key is the same as the process of adding new nodes.

[0107] 4) After receiving the Exit-Collect message, node i verifies it and sends an NST-Exit message to the node status center and all clients to synchronize its own node status table.

[0108] 5) At this point, node e has exited the blockchain network and can no longer receive blockchain network messages, ensuring backward security.

[0109] pass Figure 3 and Figure 4 The process shown can be seen as the communication network structure converging to a star structure, the communication model is one-to-many, and the communication complexity is O(n), which is much lower than the communication complexity O(n^2) in the prior art.

[0110] In an embodiment of the present invention, after obtaining the admission certificate, the new node generates a public-private key pair of the new node, obtains the state table of the node in the blockchain network from the state center, and sends a new node message with a signature to the active node in the state table, so that the active node that receives the new node message with a signature can review the new node, and after receiving the response message of the new node message sent by a preset number of active nodes, the signature and public key of the active node in the response message are aggregated, and the aggregated signature and public key are sent to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node, and synchronizes the consensus information after receiving the stable checkpoint sent by the active node. By aggregating the signature and public key of the active node in the received response message by the new node, one-to-many communication can be realized in the node joining process, which can reduce the communication complexity, reduce the verification time, and save system resources compared with the many-to-many communication broadcast method in the prior art.

[0111] Based on the same technical concept, Figure 5 The structure of a device for node management in a blockchain network provided by an embodiment of the present invention is exemplarily shown, and the device can execute the process of node management in the blockchain network.

[0112] like Figure 5 As shown, the device specifically includes:

[0113] A generating unit 501, configured to generate a public-private key pair of the new node after obtaining the admission certificate;

[0114] A sending unit 502 is used to obtain a state table of nodes in the blockchain network from a state center, and send a new node message with a signature to an active node in the state table, so that the active node that receives the new node message with a signature can review the new node;

[0115] The processing unit 503 is configured to aggregate the signatures and public keys of the active nodes in the response messages after receiving the response messages of the new node messages sent by the preset number of active nodes;

[0116] The sending unit 502 is further used to send the aggregated signature and public key to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node;

[0117] The processing unit 503 is further configured to synchronize consensus information after receiving the stable checkpoint sent by the active node.

[0118] Optionally, the processing unit 503 is further configured to:

[0119] After synchronizing the consensus information, controlling the sending unit 502 to send a node exit message with a signature to the active node, so that the active node feeds back a response message to the node exit message;

[0120] After receiving response messages to node exit messages sent by a preset number of active nodes, aggregating signatures and public keys of the active nodes in the response messages;

[0121] Control the sending unit 502 to send the aggregated signature and public key to the active node, so that the active node sends a node status exit message to the status center and all clients in the blockchain network after verification, and synchronizes the status table of the active node.

[0122] Optionally, the generating unit 501 is specifically used for:

[0123] According to the access certificate, randomly select a random number of preset digits as a private key;

[0124] A public key is determined according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.

[0125] Optionally, the signature is an elliptic curve cryptography algorithm signature.

[0126] Optionally, the processing unit 503 is specifically configured to:

[0127] Determine the new node message with the signature according to the following steps:

[0128] Randomly select a second point from any public point set of the elliptic curve selected by a preset elliptic curve cryptography algorithm;

[0129] Determine the first part of the signature based on the second point, the private key and the hash value of the new node message;

[0130] Determine a second part of the signature based on the first point and the second point;

[0131] The signature is obtained according to the first part and the second part of the signature.

[0132] Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:

[0133] A memory for storing program instructions;

[0134] The processor is used to call the program instructions stored in the memory and execute the method for node management in the above-mentioned blockchain network according to the obtained program.

[0135] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the method of node management in the above-mentioned blockchain network.

[0136] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0139] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0140] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for node management in a blockchain network. It is characterized in that include: After obtaining the admission certificate, the new node generates a public-private key pair of the new node; The new node obtains the state table of nodes in the blockchain network from the state center, and sends a new node message with a signature to the active node in the state table, so that the active node that receives the new node message with a signature can review the new node; After receiving response messages to new node messages sent by a preset number of active nodes, the new node aggregates signatures and public keys of the active nodes in the response messages; The new node sends the aggregated signature and public key to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node; The new node synchronizes consensus information after receiving the stable checkpoint sent by the active node.

2. The method according to claim 1, It is characterized in that After synchronizing the consensus information, the new node also includes: The new node sends a node exit message with a signature to the active node, so that the active node feeds back a response message of the node exit message; After receiving response messages to node exit messages sent by a preset number of active nodes, the new node aggregates signatures and public keys of the active nodes in the response messages; The new node sends the aggregated signature and public key to the active node, so that the active node sends a node status exit message to the status center and all clients in the blockchain network after verification, and synchronizes the status table of the active node.

3. The method according to claim 1, It is characterized in that The new node generates a public-private key pair of the new node, including: The new node randomly selects a random number of preset digits as a private key according to the admission certificate; The new node determines the public key according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.

4. The method according to claim 1, It is characterized in that The signature is an elliptic curve cryptography algorithm signature.

5. The method according to any one of claims 1 to 4, It is characterized in that The new node determines the new node message with the signature according to the following steps: The new node randomly selects a second point from any public point set of the elliptic curve selected by a preset elliptic curve cryptography algorithm; The new node determines the first part of the signature according to the second point, the private key and the hash value of the new node message; The new node determines a second part of the signature according to the first point and the second point; The new node obtains the signature according to the first part and the second part of the signature.

6. A device for node management in a blockchain network, It is characterized in that Applied to new nodes, including: A generating unit, configured to generate a public-private key pair of the new node after obtaining the admission certificate; A sending unit, configured to obtain a state table of nodes in the blockchain network from a state center, and send a new node message with a signature to an active node in the state table, so that the active node receiving the new node message with a signature can review the new node; a processing unit, configured to aggregate signatures and public keys of active nodes in response messages after receiving response messages to new node messages sent by a preset number of active nodes; The sending unit is further used to send the aggregated signature and public key to the active node, so that the active node adds the new node to the state table of the active node after verification, and sends the stable checkpoint of the current consensus view to the new node; The processing unit is further configured to synchronize consensus information after receiving the stable checkpoint sent by the active node.

7. The device according to claim 6, It is characterized in that The processing unit is also used for: After synchronizing the consensus information, controlling the sending unit to send a node exit message with a signature to the active node, so that the active node feeds back a response message of the node exit message; After receiving response messages to node exit messages sent by a preset number of active nodes, aggregating signatures and public keys of the active nodes in the response messages; Control the sending unit to send the aggregated signature and public key to the active node, so that the active node sends a node status exit message to the status center and all clients in the blockchain network after verification, and synchronizes the status table of the active node.

8. The device according to claim 6, It is characterized in that The generating unit is specifically used for: According to the access certificate, randomly select a random number of preset digits as a private key; A public key is determined according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.

9. A computing device, It is characterized in that include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program.

10. A computer-readable non-volatile storage medium, It is characterized in that The method comprises computer-readable instructions, and when a computer reads and executes the computer-readable instructions, the computer is caused to execute the method according to any one of claims 1 to 5.