+

CN112671541B - Method and device for managing nodes in block chain network - Google Patents

Method and device for managing nodes in block chain network Download PDF

Info

Publication number
CN112671541B
CN112671541B CN202011493220.4A CN202011493220A CN112671541B CN 112671541 B CN112671541 B CN 112671541B CN 202011493220 A CN202011493220 A CN 202011493220A CN 112671541 B CN112671541 B CN 112671541B
Authority
CN
China
Prior art keywords
node
new node
active
signature
message
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
CN202011493220.4A
Other languages
Chinese (zh)
Other versions
CN112671541A (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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202011493220.4A priority Critical patent/CN112671541B/en
Publication of CN112671541A publication Critical patent/CN112671541A/en
Application granted granted Critical
Publication of CN112671541B publication Critical patent/CN112671541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for managing nodes in a blockchain network, wherein the method comprises the steps that after a new node acquires an admission certificate, a public key pair of the new node is generated, a state table of the nodes in the blockchain network is acquired from a state center, a new node message with a signature is sent to active nodes in the state table, after a response message of the new node message sent by a preset number of active nodes is received, the signature and the public key of the active nodes in the response message are aggregated, the aggregated signature and public key are sent to the active nodes, and after a stable check point sent by the active nodes is received, the consensus information is synchronized. The signature and the public key of the active node in the received response message are aggregated by the new node, so that one-to-many communication can be realized in the node joining process, and compared with the many-to-many communication broadcasting mode in the prior art, the communication complexity can be reduced, the verification time is shortened, and the system resources are saved.

Description

Method and device for managing nodes in block chain network
Technical Field
The invention relates to the technical field of financial science and technology (Fintech), in particular to a method and a device for node management in a blockchain (Blockchain) network.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changed into financial technology, but due to the requirements of safety and instantaneity of the financial industry, the technology is also required to be higher. In blockchain technology in the financial field, managing nodes in a blockchain is an important issue.
When adding and deleting the nodes in the block chain network, if the situation of the Byzantine consensus nodes exists, the new nodes can be added into the network only by being accepted by most nodes when adding into the block chain network, and the old nodes can be accepted by most nodes when exiting from the network; every node change needs many-to-many broadcast messages of multiple rounds of 'request-return' by all nodes, and the communication complexity is O (n 2), which indicates that the existing node management method has high communication complexity and poor performance.
Disclosure of Invention
The embodiment of the invention provides a method and a device for managing nodes in a block chain network, which are used for improving the detection efficiency of block chain bifurcation resistance, saving the overhead of a system and reducing the burden of the block chain network.
In a first aspect, an embodiment of the present invention provides a method for node management in a blockchain network, including:
after obtaining an admission certificate, a new node generates a public-private key pair of the new node;
The new node acquires a state table of a node in a blockchain network from a state center, and sends a new node message with a signature to an active node in the state table so that the active node which receives the new node message with the signature can audit the new node;
After receiving response messages of new node messages sent by a preset number of active nodes, the new node aggregates the 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 into a state table of the active node after verification is passed, and the new node sends a stability check point of the current consensus view;
And the new node synchronizes consensus information after receiving the stable check point sent by the active node.
According to the technical scheme, the signature and the public key of the active node in the received response message are aggregated by the new node, so that one-to-many communication can be realized in the node joining process, and compared with the many-to-many communication broadcasting mode in the prior art, the communication complexity can be reduced, the verification time is shortened, and the system resources are saved.
Optionally, after synchronizing the consensus information, the new node further 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 of node exit messages sent by a preset number of active nodes, the new node aggregates the signatures and public keys of the active nodes in the response messages;
And the new node sends the aggregated signature and the public key to the active node so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and synchronizes the state table of the active node.
Optionally, the generating, by the new node, a public-private key pair of the new node includes:
the new node randomly selects a random number with a preset bit number as a private key according to the access certificate;
And the new node determines a public key according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.
Optionally, the signature is an elliptic curve cryptography algorithm signature.
Optionally, the new node determines the signed new node message according to the following steps:
The new node randomly selects a second point from any one of public points of an elliptic curve selected by a preset elliptic curve cryptography algorithm;
The new node determines a 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 determining a second portion of the signature from the first point and the second point;
The new node obtains the signature from the first and second portions of the signature.
In a second aspect, an embodiment of the present invention provides an apparatus for node management in a blockchain network, including:
The generation unit is used for generating a public and private key pair of the new node after the access certificate is acquired;
A sending unit, configured to obtain a state table of a node in a 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 the signature performs an audit on the new node;
The processing unit is used for aggregating the signature and the public key of the active nodes in the response message after receiving the response message of the new node message sent by the preset number of active nodes;
The sending unit is further configured to send the aggregated signature and public key to the active node, so that the active node adds the new node to a state table of the active node after verification is passed, and sends a stability check point of a 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.
Optionally, the processing unit is further configured to:
After synchronizing the consensus information, controlling the transmitting unit to transmit 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 of node exit messages sent by a preset number of active nodes, aggregating the signatures and public keys of the active nodes in the response messages;
And controlling the sending unit to send the aggregated signature and the public key to the active node so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and synchronizing the state table of the active node.
Optionally, the generating unit is specifically configured to:
according to the access certificate, randomly selecting a random number with a preset number of bits as a private key;
And determining the public key according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.
Optionally, the signature is an elliptic curve cryptography algorithm signature.
Optionally, the processing unit is specifically configured to:
determining the signed new node message according to the steps of:
randomly selecting a second point from any one of public point sets of an elliptic curve selected by a preset elliptic curve cryptography algorithm;
determining a first part of the signature according to the hash values of the second point, the private key and the new node message;
Determining a second portion of the signature from the first point and the second point;
the signature is derived from the first and second portions of the signature.
In a third aspect, embodiments of the present invention also provide a computing device, comprising:
a memory for storing program instructions;
And the processor is used for calling the program instructions stored in the memory and executing the method for managing the nodes in the block chain network according to the obtained program.
In a fourth aspect, embodiments of the present invention further provide a computer-readable non-volatile storage medium, including computer-readable instructions, which when read and executed by a computer, cause the computer to perform the method for node management in a blockchain network described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for node management in a blockchain network according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of node joining according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of node exit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for node management in a blockchain network according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a system architecture according to an embodiment of the present invention. As shown in fig. 1, the system architecture may include a blockchain layer and an application layer;
The blockchain layer is composed of a plurality of nodes, and a consensus algorithm is operated, wherein the consensus algorithm can be a BFT (Byzantine Fault Tolerance, bayesian fault tolerance) based consensus algorithm.
The application layer includes clients and state nodes for listening/reading the state of each node in the blockchain layer, which may include online, offline, penalized, and exited. The client is used for sending transaction proposals to nodes in the blockchain layer and receiving return information.
It should be noted that the structure shown in fig. 1 is merely an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of a method for managing nodes in a blockchain network according to an embodiment of the present invention, where the flow may be executed by a device for managing nodes in the blockchain network.
As shown in fig. 2, the process specifically includes:
step 201, after obtaining the admission certificate, the new node generates a public-private key pair of the new node.
In the embodiment of the invention, when a new node joins a blockchain network, an authentication center needs to acquire an access certificate, then a public and private key pair of the new node is generated, and a network certification is joined.
When the key pair is generated, a random number with a preset bit number can be randomly selected as a private key according to the access certificate, and the 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. The preset number of bits may be preset in the access certificate or may be empirically set.
For example, a 1024bit random number x may be selected as the private key. Then calculate the public key y=g2 ζ.
And encrypting and decrypting the signature by adopting a unified elliptic curve cryptography algorithm in the blockchain network, selecting an elliptic curve, wherein G1 and G2 are public point sets on the curve, and the points disclosed on the G1 and G2 curves are values in the G1 and G2 sets respectively, and the hash function H is a method for hash-calculating the message to the values on the curve.
The G2 (first point) is the point in the G2 set.
Step 202, the new node obtains a state table of nodes in the blockchain network from a state center and sends a new node message with a signature to active nodes in the state table.
The new node may obtain node information, i.e., a state table, in the current blockchain network from the state center. The state center may be a state node in the system architecture described above.
The new node sends a new node message to the active node whose state is active and attaches a signature.
Wherein the signature is an elliptic curve cryptography algorithm signature. In computing the signature, a first portion of the signature is determined based primarily on the second point, the private key and the hash value of the new node message, and then a second portion of the signature is determined based on the first point (g 2) and the second point. And finally, obtaining the signature according to the first part and the second part of the signature.
For example, at random at G1, point r (second point), the calculated value H (Newnode)/(r x) is taken as the first portion δ1 of the signature. The calculated value g2≡r is taken as the second part δ2 of the signature, so as to obtain the signature delta_j= (δ1, δ2) = (H (NewNode) ≡x) H (NewNode) ≡r, g2≡r).
The active node examines the new node after receiving the new node message with the signature, and sends a response message. The response message includes the public key and signature of the active node.
Step 203, after receiving a response message of a new node message sent by a preset number of active nodes, the new node aggregates the signature and public key of the active nodes in the response message.
The aggregation of signatures and public keys of active nodes can be a method for threshold aggregation of signatures, namely, a signature scene in the form of n-of-m is satisfied, when m signers are available in total, only n signers are needed to sign one message, the verification can be carried out, and the actual number of signatures can be verified.
Step 204, the new node sends the aggregated signature and public key to the active node.
After the new node aggregates the signature and the public key of the active node, the aggregated signature and the public key are sent to the active node to indicate that the new node has collected enough evidence that the active node is successfully verified and can join. After receiving the aggregated signature and public key, the active node can add the new node into the state table of the active node after passing verification, and send the stability check point of the current consensus view to the new node. The stable checkpoints of the current consensus view are the phases that the current consensus proceeds.
Step 205, the new node synchronizes consensus information after receiving the stable checkpoint sent by the active node.
After receiving the stable check point sent by the active node, the new node can synchronize the consensus information, namely, the view catch-up is performed according to the stable check point.
After the new node synchronizes the consensus information, the new node is indicated to join successfully, at this time, the new node may also perform an exit operation, and specifically, 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. And then after receiving response messages of node exit messages sent by the preset number of active nodes, aggregating the signatures and public keys of the active nodes in the response messages. And finally, the aggregated signature and the public key are sent to the active node, so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and the state tables of the active node are synchronized.
In order to better explain the embodiments of the present invention, the process of node management described above will be described below in a specific implementation scenario.
As shown in fig. 3, the process of node dynamic joining:
1) The new node j joins the access certificate acquired by the authentication center, generates a public and private key pair of the node and joins the network certificate. The method comprises the following steps:
a) Selecting 1024bit random number x as a private key;
b) Calculating a public key y=g2≡x;
c) The calculation proof proof=h (P, y), where P is the security whisper of the blockchain network, can be issued from an admission agency.
2) The new node j obtains node information in the current network from the state center.
3) Node j sends a new joining NewNode message to the node in the state table whose state is active, and attaches a signature:
a) Randomly taking a point r at G1;
b) The calculated value H (Newnode)/(r x) is taken as the first part delta 1 of the signature;
c) The calculated value g2≡r as the second part δ2 of the signature;
d) The signature delta_j= (δ1, δ2) = (H (NewNode) ≡x) H (NewNode) ≡r, g2≡r) is obtained.
4) After receiving NewNode message from new node j, other node i examines its identity and qualification, and if the examination passes, sends NewNode-Reply message to new node j to confirm new node identity, and attaches signature of node i:
a) Verifying e (δ1, g2) =e (H (NewNode), y_j×δ2);
b) Calculating the signature of the i node: delta_i= (H (NewNode-Reply)/(r x_i), g2≡r).
5) After node j receives legal NewNode-Reply messages greater than full network 2/3, collecting and packaging are carried out, and NewNode-collection messages are broadcasted to all active nodes, wherein aggregation of signatures of NewNode-Reply messages greater than full network 2/3 and aggregation of public keys of signers greater than full network 2/3 are included.
A) Computing an aggregate signature
B) Computing an aggregated public key
6) After receiving NewNode-Collect message, other node i writes new node j into local after verification is passed, and sends stable check point to new node.
7) At this time, the new node j pursues the consensus view according to the stable checkpoints.
As shown in fig. 4, the flow of node dynamic exit:
1) Node e is ready to Exit the current blockchain network, broadcast an Exit message to other nodes in the blockchain network, and attach the signature of node e:
a) The signature process is the same as the signature added by the new node.
2) And the other nodes i receive the Exit message of the node e, pass through the check of the message, send the Exit-Reply message to the Exit node e, and attach the signature of the Exit message of the node e.
3) After receiving the Exit-Reply messages of which the total network is more than 2/3, the node e confirms and packages the messages and broadcasts the Exit-collection messages to other nodes, wherein the messages comprise the aggregation of the signatures of the Exit-Reply messages of which the total network is more than 2/3 and the aggregation of the public keys of the signers of the corresponding total network is more than 2/3.
A) The process of aggregating signature and public key is the same as the process of joining new node.
4) And after receiving the Exit-collection message, the node i verifies and sends an NST-Exit message to the node state center and all clients to synchronize the node state tables of the node i.
5) So far, the node e exits the blockchain network, can not receive the blockchain network message any more, and ensures the backward safety.
The flow shown in fig. 3 and 4 can be regarded as the communication network structure is converged to a star-like structure, the communication model is one-to-many, and the communication complexity is O (n). Compared with the communication complexity O (n 2) in the prior art, the method has the advantage that the communication complexity is greatly reduced.
In the embodiment of the invention, after a new node acquires an admission certificate, a public-private key pair of the new node is generated, a state table of the node in a blockchain network is acquired from a state center, a new node message with a signature is sent to the active node in the state table, so that the new node is audited by the active node which receives the new node message with the signature, after a response message of the new node message sent by a preset number of active nodes is received, the signature and public key of the active node in the response message are aggregated, the aggregated signature and public key are sent to the active node, so that the active node adds the new node into the state table of the active node after verification is passed, a stable check point of a current consensus view is sent to the new node, and the consensus information is synchronized after the stable check point sent by the active node is received. The signature and the public key of the active node in the received response message are aggregated by the new node, so that one-to-many communication can be realized in the node joining process, and compared with the many-to-many communication broadcasting mode in the prior art, the communication complexity can be reduced, the verification time is shortened, and the system resources are saved.
Based on the same technical concept, fig. 5 illustrates an exemplary structure of an apparatus for managing nodes in a blockchain network, which may perform a flow of node management in the blockchain network according to an embodiment of the present invention.
As shown in fig. 5, the apparatus specifically includes:
A generating unit 501, configured to generate a public-private key pair of the new node after obtaining an admission certificate;
A sending unit 502, configured to obtain a state table of a node in a 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 the signature performs an audit on the new node;
a processing unit 503, configured to aggregate a signature and a public key of an active node in a response message after receiving the response message of a new node message sent by a preset number of active nodes;
The sending unit 502 is further configured 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 is passed, and sends a stability check point of the current consensus view to the new node;
The processing unit 503 is further configured to synchronize consensus information after receiving the stable checkpoint sent by the active node.
Optionally, the processing unit 503 is further configured to:
after synchronizing the consensus information, controlling the transmitting unit 502 to transmit 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 of node exit messages sent by a preset number of active nodes, aggregating the signatures and public keys of the active nodes in the response messages;
The sending unit 502 is controlled to send the aggregated signature and the public key to the active node, so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and synchronizes the state table of the active node.
Optionally, the generating unit 501 is specifically configured to:
according to the access certificate, randomly selecting a random number with a preset number of bits as a private key;
And determining the public key according to the private key and a first point on an elliptic curve selected by a preset elliptic curve cryptography algorithm.
Optionally, the signature is an elliptic curve cryptography algorithm signature.
Optionally, the processing unit 503 is specifically configured to:
determining the signed new node message according to the steps of:
randomly selecting a second point from any one of public point sets of an elliptic curve selected by a preset elliptic curve cryptography algorithm;
determining a first part of the signature according to the hash values of the second point, the private key and the new node message;
Determining a second portion of the signature from the first point and the second point;
the signature is derived from the first and second portions of the signature.
Based on the same technical concept, the embodiment of the invention further provides a computing device, which comprises:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for managing the nodes in the block chain network according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer readable nonvolatile storage medium, which comprises computer readable instructions, wherein when the computer reads and executes the computer readable instructions, the computer executes the method for managing the nodes in the blockchain network.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method of node management in a blockchain network, comprising:
after obtaining an admission certificate, a new node generates a public-private key pair of the new node;
The new node acquires a state table of a node in a blockchain network from a state center, and sends a new node message with a signature to an active node in the state table so that the active node which receives the new node message with the signature can audit the new node;
After receiving response messages of new node messages sent by a preset number of active nodes, the new node aggregates the 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 into a state table of the active node after verification is passed, and the new node sends a stability check point of the current consensus view;
And the new node synchronizes consensus information after receiving the stable check point sent by the active node.
2. The method of claim 1, wherein the new node, after synchronizing consensus information, further comprises:
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 of node exit messages sent by a preset number of active nodes, the new node aggregates the signatures and public keys of the active nodes in the response messages;
And the new node sends the aggregated signature and the public key to the active node so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and synchronizes the state table of the active node.
3. The method of claim 1, wherein the new node generates a public-private key pair for the new node, comprising:
the new node randomly selects a random number with a preset bit number as a private key according to the access certificate;
And the new node determines a 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 of claim 1, wherein the signature is an elliptic curve cryptography algorithm signature.
5. The method according to any of claims 1 to 4, wherein the new node determines the signed new node message according to the steps of:
The new node randomly selects a second point from any one of public points of an elliptic curve selected by a preset elliptic curve cryptography algorithm;
The new node determines a 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 determining a second part of the signature according to the first point and the second point;
The new node obtains the signature from the first and second portions of the signature.
6. An apparatus for node management in a blockchain network, for use with a new node, comprising:
The generation unit is used for generating a public and private key pair of the new node after the access certificate is acquired;
A sending unit, configured to obtain a state table of a node in a 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 the signature performs an audit on the new node;
The processing unit is used for aggregating the signature and the public key of the active nodes in the response message after receiving the response message of the new node message sent by the preset number of active nodes;
The sending unit is further configured to send the aggregated signature and public key to the active node, so that the active node adds the new node to a state table of the active node after verification is passed, and sends a stability check point of a 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 apparatus of claim 6, wherein the processing unit is further to:
After synchronizing the consensus information, controlling the transmitting unit to transmit 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 of node exit messages sent by a preset number of active nodes, aggregating the signatures and public keys of the active nodes in the response messages;
And controlling the sending unit to send the aggregated signature and the public key to the active node so that the active node sends a node state exit message to the state center and all clients in the blockchain network after verification is passed, and synchronizing the state table of the active node.
8. The apparatus of claim 6, wherein the generating unit is specifically configured to:
according to the access certificate, randomly selecting a random number with a preset number of bits as a private key;
And determining the public key 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, comprising:
a memory for storing program instructions;
A processor for invoking program instructions stored in said memory to perform the method of any of claims 1-5 in accordance with the obtained program.
10. A computer readable non-transitory storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any of claims 1 to 5.
CN202011493220.4A 2020-12-17 2020-12-17 Method and device for managing nodes in block chain network Active CN112671541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011493220.4A CN112671541B (en) 2020-12-17 2020-12-17 Method and device for managing nodes in block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011493220.4A CN112671541B (en) 2020-12-17 2020-12-17 Method and device for managing nodes in block chain network

Publications (2)

Publication Number Publication Date
CN112671541A CN112671541A (en) 2021-04-16
CN112671541B true CN112671541B (en) 2024-09-06

Family

ID=75404480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011493220.4A Active CN112671541B (en) 2020-12-17 2020-12-17 Method and device for managing nodes in block chain network

Country Status (1)

Country Link
CN (1) CN112671541B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301117B (en) * 2021-04-21 2023-01-20 广东电网有限责任公司 Node joining consensus and quitting consensus method, device and computer equipment
CN113179169B (en) * 2021-04-29 2022-12-09 中国人民银行数字货币研究所 A digital certificate management method and device
CN113901138A (en) * 2021-09-27 2022-01-07 浪潮云信息技术股份公司 A method and system for multi-party endorsement of blockchain transactions based on MuSig2

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545261A (en) * 2019-08-12 2019-12-06 安徽云探索网络科技有限公司 Consensus algorithm applied to block chain network
CN112003820A (en) * 2020-07-13 2020-11-27 南京邮电大学 Block chain consensus optimization method based on ring signature and aggregated signature

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10887090B2 (en) * 2017-09-22 2021-01-05 Nec Corporation Scalable byzantine fault-tolerant protocol with partial tee support
EP3607483B1 (en) * 2019-03-15 2021-07-07 Advanced New Technologies Co., Ltd. Authentication based on a recoverd public key

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545261A (en) * 2019-08-12 2019-12-06 安徽云探索网络科技有限公司 Consensus algorithm applied to block chain network
CN112003820A (en) * 2020-07-13 2020-11-27 南京邮电大学 Block chain consensus optimization method based on ring signature and aggregated signature

Also Published As

Publication number Publication date
CN112671541A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN112671541B (en) Method and device for managing nodes in block chain network
US20230316273A1 (en) Data processing method and apparatus, computer device, and storage medium
US10862959B2 (en) Consensus system and method for adding data to a blockchain
US20200127825A1 (en) Revocation of cryptographic keys in the absence of a trusted central authority
US11190360B2 (en) Method, apparatus, node, signature device and system for generating block of blockchain
US6701434B1 (en) Efficient hybrid public key signature scheme
CN110545286B (en) Method, device, equipment and storage medium for joining and exiting alliance chain
CN111066285A (en) Method for recovering public key based on SM2 signature
US20130322621A1 (en) Private key generation apparatus and method, and storage media storing programs for executing the methods
CN110612700A (en) Authentication based on recovered public key
CN112219371A (en) Bidirectional block chain
US6826687B1 (en) Commitments in signatures
CN111786812A (en) Node management method, node management device, computer equipment and storage medium
US12003650B2 (en) Data communication between a group of users
CN104392185B (en) The method that data integrity validation is realized in cloud environment daily record evidence obtaining
CN106452790B (en) Multi-quantum digital signature method without trust center
CN111046411A (en) Method and system for safe storage of power grid data
CN116132118B (en) Encryption communication method and system based on block chain technology
CN110213048A (en) A kind of lightweight SM2 Proxy Signature generation method and system
CN115174570A (en) Cross-chain consensus method and system based on dynamic committee
Zhang et al. Multi-party electronic contract signing protocol based on blockchain
Luo et al. An efficient consensus algorithm for blockchain-based cross-domain authentication in bandwidth-constrained wide-area IoT networks
CN111131318B (en) Decentralized key management and distribution method, system and storage medium
CN112367168A (en) Method and device for generating key of block chain user
CN109698750B (en) Block generation method, device and equipment of block chain and readable 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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载