Blockchain node data synchronization method and device and storage medium

A data synchronization and blockchain technology, applied in the field of data processing, can solve the problem of low efficiency of data synchronization

Active Publication Date: 2021-09-07
XINJIANG UNIVERSITY
View PDF13 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this method needs to pull a large amount of data from peer nodes for synchronization, a large amount of network traffic is sent repeatedly, and in the case of a large amount of synchronization data and many lagging nodes, the efficiency of data synchronization is not high

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 node data synchronization method and device and storage medium
  • Blockchain node data synchronization method and device and storage medium
  • Blockchain node data synchronization method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. 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.

[0030] The data synchronization method of the block chain node provided by the embodiment of the present invention can be applied in such as figure 1 In the application environment, such as figure 1 As shown, the blockchain node 101 is directly connected to the NDN network node 102, and communicates with other blockchain nodes 104 in a P2P manner. Among them, the blockchain node 101 is a blockchain node whose local state is inconsistent with the lates...

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 node data synchronization method and device and a storage medium, and is applied to the technical field of data processing. The method provided by the invention comprises the steps of obtaining a real-time state of a blockchain, and judging a local state based on the real-time state; if the judgment result is that the local state is inconsistent with the real-time state, initiating a state synchronization request to the named data network; receiving a world state tree root of a blockchain fed back by the named data network based on the state synchronization request, and initiating a state tree reconstruction request to the named data network based on the world state tree root; receiving to-be-synchronized state data fed back by the named data network based on the state tree reconstruction request, and performing data synchronization on a local state according to a preset rule. The method and the device are used for improving the data synchronization efficiency of the blockchain node.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data synchronization method, device and storage medium of blockchain nodes. Background technique [0002] The blockchain system is a decentralized, distributed shared ledger involving multiple nodes, and all nodes in the system jointly maintain all transactions on the blockchain. At the same time, the blockchain needs to rely on all nodes to ensure the consistency of their respective data through the consensus agreement between nodes. When the participating nodes fail or the blockchain system has new participating nodes, the data of these nodes may lag behind the data maintained by other nodes. In order to ensure the consistency of data maintained by all nodes, data synchronization between blockchain nodes is required. [0003] When a node in the blockchain system finds that the node it maintains lags behind the data of other nodes, it can initiate a data sync...

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/1095H04L67/1097
Inventor 陈权杨文忠马红桥康鹏李闯雷景皓侯温馨王卓雯王敏妥美妹杨晴雯
Owner XINJIANG UNIVERSITY
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