Unlock instant, AI-driven research and patent intelligence for your innovation.

Block chain node synchronization mode

A node synchronization and blockchain technology, applied in the blockchain field, can solve problems such as failure and instability of consensus nodes

Active Publication Date: 2018-07-03
HANGZHOU FUZAMEI TECH CO LTD +1
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the existing blockchain is working normally, the consensus nodes will fail due to various reasons. Although most of the consensus nodes can continue the consensus when they work normally, the failure of the consensus nodes will cause problems such as instability; sometimes due to performance requirements For various reasons, it is necessary to add new 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
  • Block chain node synchronization mode
  • Block chain node synchronization mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Embodiment 1: This embodiment specifies a block chain node synchronization mode, such as figure 1 and figure 2 :

[0022] Such as figure 1 , a blockchain node synchronization mode in this embodiment mainly includes the following steps:

[0023] Step S101: the catch-up node obtains the latest snapshot from the data node;

[0024] Step S102: the catch-up node obtains the increment of the state data of each height after the latest snapshot height of the data node;

[0025] Step S103: Merge the obtained latest snapshot and incremental data into the latest block height state or balance;

[0026] Step S104: When the block height of the catch-up node is consistent with the height of other consensus nodes, the catch-up node participates in the consensus process at the next height.

[0027] Such as figure 2 , the storage of fragmented snapshots in this embodiment mainly includes:

[0028] When the state data is very large, the state data can be stored in a certain way e...

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 application provides a block chain node synchronization mode, which is a way for consensus nodes to re-participate in a consensus or for new nodes to join the consensus. Included are the processing steps: 1) a catch-up node acquires recent snapshots from data nodes; 2) the catch-up node acquires the increment of status data of each height after the recent snapshot height of the data nodes; 3)the obtained recent snapshots and incremental data are merged into the latest block height status or balance; and 4) when the block height of the catch-up node is consistent with the height of other consensus nodes, the catch-up node participates in the consensus process at the next height. According to the invention, that a new catch-up node is quickly and effectively restored or added in the case where the consensus nodes work normally is ensured.

Description

technical field [0001] The invention relates to the technical field of block chains, and relates to a block chain node synchronization mode. Background technique [0002] When the existing blockchain is working normally, the consensus nodes will fail due to various reasons. Although most of the consensus nodes can continue the consensus when they work normally, the failure of the consensus nodes will cause problems such as instability; sometimes due to performance requirements For various reasons, it is necessary to add new consensus nodes. When the above situation occurs, the catch-up node needs to correctly synchronize the status data of other consensus nodes in the shortest time before it can participate in the consensus as a new consensus node. [0003] To sum up, it is currently necessary to provide a technical solution that can ensure fast and effective recovery or join a new catch-up node when the consensus node is working normally. Contents of the invention [00...

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/08G06Q40/04
CPCG06Q40/04H04L67/10H04L67/1095
Inventor 吴思进王志文
Owner HANGZHOU FUZAMEI TECH CO LTD