Automatic recovery method for blockchain consensus node

An automatic recovery, blockchain technology, applied in the direction of responding to errors, instruments, payment systems, etc., can solve the problems of inconsistent current value of the consensus module system, current nodes unable to participate in consensus, and system robustness reduction, etc., to achieve instability Increased likelihood, decreased robustness, enhanced usability effects

Active Publication Date: 2017-12-01
HANGZHOU QULIAN TECH CO LTD
View PDF2 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of PBFT consensus, if a node goes down and reconnects, the internal variables of its consensus module are inconsistent with the current value of the system, resulting in the current node being unable to participate in the consensus
The solution of th

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
  • Automatic recovery method for blockchain consensus node
  • Automatic recovery method for blockchain consensus node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The purpose and effect of the present invention will become more obvious by describing the present invention in detail according to the accompanying drawings and specific embodiments.

[0019] Such as figure 1 As shown, the block chain consensus node automatic recovery method of the present invention comprises the following steps:

[0020] 1) Send initial recovery information: After the downtime, the reconnecting node broadcasts the initial recovery message, and obtains checkpoint information and block height information of other nodes;

[0021] 2) Count the feedback information: the reconnection node receives the checkpoint, current block height and highest block hash of the reply from other nodes, and counts the checkpoint and block height information of the sender;

[0022] 3) Obtain target node information: When the reconnecting node receives reply information from 2f+1 other nodes, each reply information includes the information of checkpoints at different stages ...

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 an automatic recovery method for a blockchain consensus node. The method comprises the following steps that: 1) after crash, a reconnection node broadcasts an initial recovery message and obtains the check point information and the block height of other nodes; 2) the reconnection node receives the reply information of other nodes and counts the check point and the block height of a sender; 3) a target node is found, and the check point information, the block height and the block Hash of the target node are obtained; 4) the reconnection node carries out state transition and is recovered to the check point height of the target node; 5) the reconnection node asks for the message of PQC (Process Quality Control) from the target node; and 6) the reconnection node receives the PQC information returned from the target node, carries out normal consensus processing and repeatedly executes S5) and 6) until the height of the reconnection node block is recovered to normal node height. By use of the method, the problem that crash node reconnection is slow in a traditional PDFT (Practical Byzantine Fault Tolerance) consensus process is solved, and a quick reconnection method for the crash reconnection node on the blockchain is put forward.

Description

technical field [0001] The invention relates to blockchain technology and a PBFT consensus algorithm, in particular to an automatic recovery method for blockchain consensus nodes. Background technique [0002] Blockchain technology, blockchain is a new type of decentralized protocol that can safely store digital currency transactions or other data, information cannot be forged and tampered with, and transaction confirmation on the blockchain is shared by all nodes on the blockchain Complete, the information synchronization between nodes is completed and the consensus algorithm is completed, and the consensus algorithm ensures its consistency. Common consensus algorithms include POW, POS, and PBFT. All transactions confirmed by the blockchain will be written into the block, and each node on the blockchain will continue to participate in the consensus, thus ensuring that the content of the block cannot be forged and tampered with. [0003] PBFT algorithm, PBFT is the abbrevia...

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): G06F11/07G06Q20/38
CPCG06F11/0709G06F11/0793G06Q20/382
Inventor 邱炜伟李伟梁秀波李启雷尹可挺
Owner HANGZHOU QULIAN TECH 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