Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Raft-algorithm-based block chain consensus mechanism

A blockchain and consensus technology, applied in computing, transmission systems, instruments, etc., can solve the problems of insufficient supervision of consensus nodes, poor fault tolerance, and inability to dynamically join and exit consensus nodes, so as to improve the fault tolerance of the system and improve the efficiency of consensus. , the effect of shortening the transaction confirmation time

Active Publication Date: 2017-06-20
上海钜真金融信息服务有限公司
View PDF1 Cites 144 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] 1) The election consensus node does not refer to the block height of the node and cannot be effectively combined with the blockchain;
[0014] 2) Elect a consensus node and keep accounting by this node, which has poor fault tolerance;
[0015] 3) At present, many schemes have insufficient supervision of consensus nodes, and cannot realize the dynamic joining and exit of consensus nodes

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
  • Raft-algorithm-based block chain consensus mechanism
  • Raft-algorithm-based block chain consensus mechanism
  • Raft-algorithm-based block chain consensus mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0043] Definitions of terms used in this application: Block chain (Block chain): derived from the underlying technology of Bitcoin, is a chained data structure that combines data blocks in a sequential manner in chronological order. And it is not tamperable and unforgeable guaranteed by cryptography, realizing a decentralized distributed ledger. Public blockchain: a blockchain network open to any individual or organization. The entry and exit of consensus nodes are completely free. Consortium block chain: A blockchain network that is only open to specific individuals or organizations. The entry and exit of consensus nodes are strictly controlled. Smart contract: It is a piece of code (smart contract) running on the blockchain, which can maintain its own state, control its own assets and respond to received external information ...

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

The invention relates to a Raft-algorithm-based block chain consensus mechanism. The mechanism comprises: consensus node information of a block chain is stored into the block chain and an initial state of a consensus node is set to be a follower state; on the basis of a Raft algorithm, a consensus node of an initial leader state is selected by combining the height of the block, wherein the consensus node of the leader state is used for recording a transaction event and generating a new block; and at the end of the term of the consensus node of the leader state, a consensus node of a leader state is selected again. Because the height of the synchronous block is considered for reference during the consensus node selection process of the leader state, the consensus efficiency can be improved and the transaction confirmation time can be shortened; and because the consensus node is selected again at the end of the term, the system fault tolerance can be improved. Moreover, on the basis of uniqueness of the consensus node selection of the leader state, each block has final consistency, thereby avoiding block chain furcation. Meanwhile, dynamic entrance and exit of a consensus node can be realized based on a management mechanism of the consensus node by an intelligent contract.

Description

technical field [0001] The invention relates to the technical field of block chain consensus mechanism, in particular to a block chain consensus mechanism based on Raft algorithm. Background technique [0002] At present, the consensus mechanisms widely used in the industry are PoW algorithm (including its extended algorithm PoS and DPoS), PBFT algorithm, Paxos algorithm and Raft algorithm. [0003] PoW algorithm (Proof Of Work): proof of work, used to confirm that a certain node has done a certain amount of work. It is an economic countermeasure against denial of service attacks and other service abuses. It requires the initiator to perform a certain amount of calculation, which means that the computer needs to consume a certain amount of computing time. [0004] PBFT algorithm (Practical Byzantine Fault Tolerance): PBFT means a practical Byzantine fault tolerance algorithm, which solves the problem of low efficiency of the original Byzantine fault tolerance algorithm and...

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): H04L12/24H04L29/08G06Q40/00
CPCG06Q40/12H04L41/30H04L67/10
Inventor 李升林陈晋飞姜海涛寮岩
Owner 上海钜真金融信息服务有限公司
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
Eureka Blog
Learn More
PatSnap group products