Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A block chain consensus method and device based on a Raft algorithm

A blockchain and consensus technology, applied in the field of communication, can solve the problems of low security of the blockchain system and low node activity, and achieve the effects of improving consensus efficiency, node activity, and security

Active Publication Date: 2019-05-03
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention discloses a block chain consensus method and device based on the Raft algorithm, which is used to solve the problem that abnormal nodes in the block chain based on the Raft algorithm in the prior art are easily elected as candidates and the activity of the nodes is low. Technical issues with low system security

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
  • A block chain consensus method and device based on a Raft algorithm
  • A block chain consensus method and device based on a Raft algorithm
  • A block chain consensus method and device based on a Raft algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. The use of the terms "first" and "second" etc. does not denote any order, and the above terms may be interpreted as names of the described objects. In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than ...

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 discloses a block chain consensus method and device based on a Raft algorithm, relates to the technical field of communication, and is used for solving the technical problems that in theprior art, abnormal nodes in a block chain based on a Raft algorithm are easily selected as candidates, and the node activity is relatively low, so that the security of a block chain system is relatively low. According to the invention, the consensus nodes and the supervisor nodes used for obtaining the node information of the consensus nodes can be constructed in the block chain; the height of each consensus node including the block height, Online duration, and node information of the average voting frequency are obtained through the supervisor node; when the consensus node of the leader state ends at any time, the consensus node of the leader state receives the node information of each consensus node sent by the supervisor node, determines and broadcasts the node information to at mostone recommended candidate consensus node according to the node information, converts the state of the recommended candidate consensus node into a candidate state, and enters a next election process. The invention is used for improving the security of the block chain system.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a block chain consensus method and device based on Raft algorithm. Background technique [0002] At present, the common consensus mechanisms of blockchain include POW mechanism, POS mechanism and DPOS mechanism. The above mechanisms have drawbacks in terms of resource consumption, security, and consensus time. For example, the resource consumption of the POW mechanism is relatively large. Each time a consensus is reached, the entire network needs to participate in the calculation, which takes a certain amount of computing time and has low performance efficiency; the POS mechanism and the DPOS mechanism are determined according to the system token or weight held by the user The probability of generating blocks, but it does not maintain the ecology and security of the blockchain system itself. Based on the above existing problems, the patent No. 201710062689.4 prop...

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): H04L29/08
Inventor 叶海纳程新洲宋春涛袁明强关键成晨葛瑾
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products