Blockchain consensus mechanism and blockchain system based on same
A blockchain and consensus technology, applied in the field of blockchain, can solve the problems of limited application scenarios of blockchain
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 It is an execution flowchart of a blockchain consensus mechanism provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the clusters are not controlled by the background system and automatically cooperate to complete a certain task. Optionally, the service entity in the cluster may be any device with a communication function. Usually a single service entity is called a node, and multiple nodes are connected through a local area network or a public network, but there are other possible connection methods. The consensus mechanism can be executed by the nodes (that is, service entities) associated with the blockchain. see figure 1 , the blockchain consensus mechanism provided in this embodiment includes:
[0023] S110. Respond to the competition bookkeeping node event, and obtain the bidding amount of each node participating in the competition.
[0024] The competition bookkeeping node event can be triggered by...
Embodiment 2
[0069] figure 2 It is an execution flowchart of a blockchain consensus mechanism provided by Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see figure 2 , the blockchain consensus mechanism provided in this embodiment includes:
[0070] S210. Respond to the competition accounting node event, and obtain the bidding amount of each node participating in the competition.
[0071] S220. Determine the score of the node in combination with the number of votes obtained by the node and the bid amount obtained through statistics.
[0072] Typically, the score is determined according to the following formula,
[0073]
[0074] Among them, C i is the score of node i, α ij is the number of votes cast by other nodes for node i, R i is the bidding amount of the i-node, Indicates the sum of votes cast by other nodes for i-node, that is, the total number of votes received by i-node. Indicates th...
Embodiment 3
[0088] image 3 It is an execution flowchart of a blockchain consensus mechanism provided by Embodiment 3 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see image 3 , the blockchain consensus mechanism provided in this embodiment includes:
[0089] S310. Respond to the competition accounting node event, and obtain the bidding amount of each node participating in the competition.
[0090] S320. Determine whether the number of votes cast by each node exceeds the range of vote values.
[0091] Wherein, the voting value range can be set according to actual needs, and can also be determined by environmental parameters of the voted node and preference parameters of the voted node.
[0092] Typically, the vote value ranges from 0 to the maximum number of votes. The maximum number of votes can be determined according to the following formula:
[0093] gamma ij =τF(e ij )
[0094] gamma ij is the maximum nu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com