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

Blockchain consensus method and device based on raft algorithm

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

Active Publication Date: 2021-04-06
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 0 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
  • Blockchain consensus method and device based on raft algorithm
  • Blockchain consensus method and device based on raft algorithm
  • Blockchain consensus method and device based on 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 blockchain consensus method and device based on Raft algorithm, relates to the field of communication technology, and is used to solve the problem that abnormal nodes in the blockchain based on Raft algorithm in the prior art are easily elected as candidates and the node activity is relatively high. Low technical problems that lead to lower security of the blockchain system. The present invention can build consensus nodes in the blockchain and build a supervisor node for obtaining the node information of each consensus node, and obtain the node information of each consensus node including block height, online duration, and average number of votes through the supervisor node. , when the term of the consensus node in the leader state ends, the consensus node in the leader state receives the node information of each consensus node sent by the supervisor node, and determines and broadcasts to at least one recommended candidate consensus node according to the above node information. The state of the consensus node is converted to the candidate state, and the next term election process is entered. The present invention is used to improve the security of the blockchain 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
Patent Type & Authority Patents(China)
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