A blockchain sub-domain triggering method, blockchain node device and terminal
A node device and block chain technology, applied in the field of communication, can solve the problem of unreasonable block chain domain triggering method, and achieve the effect of reasonable domain trigger mechanism, taking into account scale and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] This embodiment provides a blockchain sub-domain triggering method, which is implemented by some functional modules in the blockchain, such as figure 1 As shown, the method includes:
[0060] Step S101: Calculate the first overall load value of the blockchain according to the current load information table.
[0061] In the present invention, each node maintains a load information table, and the load information table stores the corresponding relationship between the node identifier of each node in the blockchain and the node load value. The first overall load value refers to the ability to The parameter value that reflects the load situation in the current blockchain. The parameter value is calculated based on the load value of each node in the load information table. The calculation method can be set by those skilled in the art according to the actual situation, as long as it can reflect the current state of the blockchain. load condition.
[0062] Step S102, judging...
Embodiment 2
[0073] This embodiment is a supplement to the first embodiment on the basis of the first embodiment, such as figure 2 As shown, before step S101 of the first embodiment, it further includes:
[0074] Step S100: Calculate the current self-load value, and update the current self-load value to the load information table in the blockchain.
[0075] In this embodiment, before the node device calculates the first overall load value of the blockchain according to the current load information table, the node device first updates the self-load value, that is, calculates the current self-load value, and updates the current self-load value into the load information table in the blockchain, and immediately after the process ends, step S101 is executed to calculate the overall load value of the blockchain. In addition, after the node device completes the update of its own load value, it also updates the current self-load value to other nodes in the blockchain through broadcasting, so tha...
Embodiment 3
[0084] This embodiment also provides a blockchain sub-domain triggering method, such as image 3 As shown, the method includes:
[0085] Step S301: Receive a domain triggering message sent by a node device in the blockchain.
[0086] Step S302: Calculate the second overall load value of the blockchain according to the current load information table.
[0087] Step S303, judging whether the second overall load value is greater than the preset first threshold;
[0088] When it is determined that the second overall load value is greater than the preset first threshold, step S303 is executed.
[0089] Step S304: Feed back a confirmation message to the node device that sends the sub-domain trigger message, so that the node device can count the number of confirmation messages received within a preset time period and determine that the number of received confirmation messages is the same as that in the blockchain. When the ratio of the total number of node devices exceeds the prese...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


