Block chain state synchronization method and device

A synchronization device and blockchain technology, applied in the blockchain field, can solve the problems of large storage space and short service life of blockchain nodes, and achieve the effect of extending the service life and reducing the storage space.

Active Publication Date: 2017-11-07
WEBANK (CHINA)
View PDF5 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to propose a method and device for synchronizing the blockchain state, aiming to solve the existing blockchain state synchronization method, which takes up too much storage space and results in a shorter service life of blockchain nodes question

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 state synchronization method and device
  • Block chain state synchronization method and device
  • Block chain state synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0067] The solution of the embodiment of the present invention is mainly: first select the first node whose block height meets the preset condition in the block chain network, and create a state block for the selected first node, and then transfer the first node The latest block chain state data in the node is summarized into the state block, and when the synchronization request of the block chain state broadcast by the second node in the block chain network is listened to, the state of the block chain is responded to Synchronization request for the second node to obtain the status block from the first node, so as to realize the synchronization of blockchain status. To solve the problem that the existing blockchain state synchronization method occupies too much storage space, resulting in a short service life of block...

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 state synchronization method and device applied to a block chain network. The block chain network comprises multiple nodes, the method comprises the following steps: selecting a first node with block height meeting a preset condition in the block chain network, and creating a state block for the selected first node; summarizing the latest block chain state data in the first node to the state block; and responding to a synchronization request of the block chain state when monitoring the synchronization request of the block chain state broadcasted by a second node in the block chain network, thereby enabling the second node to acquire the state block from the first node to realize the synchronization of the block chain state. By using the synchronization method disclosed by the invention, the storage space occupied by the block chain node is reduced, and the service life of the block chain node is prolonged.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a method and device for synchronizing block chain states. Background technique [0002] At present, the data storage of most of the blockchain nodes is to store the full amount of blocks starting from the genesis block, and at the same time store a copy of the latest blockchain state, so as to execute transactions, synchronize the blockchain state and block chain consensus. When a new node joins the blockchain network, it will perform blockchain state synchronization to synchronize all blocks except the genesis block, so that its own state is consistent with the state of each node in the blockchain network. When the blockchain nodes store data, all the blocks are related, so the blockchain state synchronization needs to execute the transactions in each block in order to build a complete state. If any block is missing, the state will be Unable to sync. [0003] In ...

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): H04L29/08
CPCH04L67/104H04L67/1095
Inventor 莫楠张开翔万磊范瑞彬卢道和
Owner WEBANK (CHINA)
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