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

Block chain consensus device and method and computer readable storage medium

A block chain and block technology, applied in the field of block chain, can solve the problems that the process cannot be completed correctly, the node block height is inconsistent, and the master node does not perform data synchronization, etc., to ensure credibility and data synchronization Effect

Inactive Publication Date: 2019-10-15
卓尔智联(武汉)研究院有限公司
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing PBFT algorithm has at least the following defects: the authenticity of the master node has not been judged, once the master node elected is a malicious node, the subsequent process cannot be completed correctly; and due to network delay and bandwidth problems, downtime may occur , reconnection and other failures often lead to inconsistent block heights of nodes, and the elected master node does not perform data synchronization, which cannot guarantee the data synchronization of each node in the system

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
  • Block chain consensus device and method and computer readable storage medium
  • Block chain consensus device and method and computer readable storage medium
  • Block chain consensus device and method and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] It is further to be noted that in this document, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements , but also includes other elements not expressly listed, or also includes elements inherent in such a process, met...

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 block chain consensus method comprises the steps of judging whether an undetermined master node exists in a system or not; if so, controlling each slave node to send a data synchronization requestto the undetermined master node; controlling each slave node to verify the received synchronous data block, and if the verification is passed, broadcasting a verification passing message; when the slave node receives more than a first preset number of verification passing messages and the abstract of the last block contained in each piece of verification passing information accords with consistency, switching the slave node from a search state to a slave state, storing the synchronization data block, and sending a synchronization completion message to the undetermined master node; and when the undetermined master node receives more than a first preset number of synchronization completion messages, switching the state to a leader state, and changing to a formal master node. The invention further provides a block chain consensus device and a computer readable storage medium. According to the invention, after the main node is selected, data synchronization and synchronous data verification can be carried out, so that each node keeps data synchronization.

Description

technical field [0001] The present invention relates to the technical field of block chain, in particular to a block chain consensus device, method and computer-readable storage medium based on PBFT algorithm. Background technique [0002] The PBFT (Practical Byzantine Fault Tolerance, Practical Byzantine Fault Tolerance System) algorithm is a classic algorithm for blockchain consensus, which can solve the problem that transactions can still be confirmed and accounted for when there are malicious nodes or faulty nodes in the system. However, the existing PBFT algorithm has at least the following defects: the authenticity of the master node has not been judged, once the master node elected is a malicious node, the subsequent process cannot be completed correctly; and due to network delay and bandwidth problems, downtime may occur , reconnection and other faults often lead to inconsistent block heights of nodes, and the elected master node does not perform data synchronization...

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 Applications(China)
IPC IPC(8): H04L12/24H04L29/08H04L9/32
CPCH04L41/30H04L67/1095H04L67/1051H04L9/3247H04L9/3236H04L9/50
Inventor 吴良顺张建行
Owner 卓尔智联(武汉)研究院有限公司
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