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

Active Publication Date: 2018-12-07
SIASUN CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a block chain consensus mechanism and a block chain system ba

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Blockchain consensus mechanism and blockchain system based on same
  • Blockchain consensus mechanism and blockchain system based on same
  • Blockchain consensus mechanism and blockchain system based on same

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention discloses a blockchain consensus mechanism and a blockchain system based on same, wherein the blockchain consensus mechanism and the blockchain system relate to the field of blockchain. The mechanism comprises the steps of in response to a competition accounting node event, acquiring the bidding sum of each node which participates competition; comparing the bidding sum, determining the accounting node according to a comparison result, generating an instruction by the accounting node and transmitting to other nodes for execution; and subtracting the asset of the sum which is bidden by the accounting node from the account of the accounting node. The embodiment of the invention provides the blockchain consensus mechanism and the blockchain system based on the same. The blockchain consensus mechanism and the blockchain system based on the same settle a problem of limited application scene of the blockchain.

Description

technical field [0001] The embodiment of the present invention relates to the field of block chains, in particular to a block chain consensus mechanism and a block chain system based on the consensus mechanism. Background technique [0002] Consensus mechanism refers to the algorithm for blockchain transactions to reach a distributed consensus. [0003] Blockchain is a decentralized distributed ledger system, which can be used to register and issue digital assets, property certificates, points, etc., and transfer, pay and trade in a peer-to-peer manner. Compared with the traditional centralized ledger system, the blockchain system has the advantages of being completely open, tamper-resistant, and preventing multiple payments, and does not rely on any trusted third party. [0004] The current mainstream consensus mechanism is mainly aimed at blockchain transactions such as transfer, payment and transaction, which makes the applicable scenarios of blockchain very limited. C...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06Q30/08
CPCG06Q30/08
Inventor 陈熙刘雪梅程小猛杨跞
Owner SIASUN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products