Supercharge Your Innovation With Domain-Expert AI Agents!

A block chain data synchronization method

A data synchronization and blockchain technology, applied in the blockchain field, can solve problems such as large bandwidth occupation, network congestion, and large transaction information, and achieve the effect of reducing bandwidth occupation and reducing the number of broadcasts

Active Publication Date: 2018-12-11
HANGZHOU FUZAMEI TECH CO LTD
View PDF11 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing blockchain network, after the consensus node receives the transaction sent by the user, in order to prevent the transaction from being cached locally for a long time, the consensus node will immediately broadcast the received transaction to all nodes of the blockchain network; if At the same time, more consensus nodes will broadcast the received transactions to all nodes in the blockchain network, and the transaction information is large, which will cause problems such as large bandwidth occupation and network congestion

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
  • A block chain data synchronization method
  • A block chain data synchronization method
  • A block chain data synchronization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1: This embodiment specifically illustrates the steps of a block chain data synchronization method, such as figure 1 and figure 2 :

[0026] like figure 1 , the data synchronization method in this embodiment mainly includes a user 100, an accounting node 200, and a consensus node 300. Nodes in the blockchain network include bookkeeping nodes 200 and consensus nodes 300 .

[0027] figure 2 It is a flowchart of a blockchain data synchronization method provided by an embodiment of the present invention. like figure 2 As shown, in this embodiment, the present invention provides a block chain data synchronization method, including:

[0028] S11: Receive several transaction information sent by several clients;

[0029] S12: Map the hash value of each transaction information to the first bitmap;

[0030] S13: broadcast the first bitmap to all nodes in the blockchain network, and receive the bitmap broadcast by all nodes in the blockchain network;

[0031...

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 provides a block chain data synchronization method, which includes: by receiving a plurality of transaction information sent by a plurality of subscribers, mapping the hash value of eachtransaction information into the first bitmap, broadcasting the first bitmap to all nodes of the block chain network, receiving the bitmap broadcast by all nodes in the block chain network, comparingthe first bitmap with the received bitmap, and judging whether the transaction information is missing or not: yes, acquiring the missing transaction information from the nodes holding the missing transaction information, and updating the first bitmap according to the acquisition result; and circularly repeating the current step until a judgment result shows that the transaction information is notmissing. The method effectively reduces the size of broadcast data in the block chain network and the number of broadcasts between each node, and reduces the bandwidth occupation.

Description

technical field [0001] The invention relates to the technical field of block chains, and relates to a block chain data synchronization method. Background technique [0002] In the existing blockchain network, after the consensus node receives the transaction sent by the user, in order to prevent the transaction from being cached locally for a long time, the consensus node will immediately broadcast the received transaction to all nodes of the blockchain network; if At the same time, more consensus nodes will broadcast the received transactions to all nodes in the blockchain network, and the transaction information is large, which will cause problems such as large bandwidth occupation and network congestion. [0003] To sum up, it is currently necessary to provide a technical solution that can effectively reduce the number of broadcasts between nodes and reduce the size of broadcast files so that the blockchain network can work stably. Contents of the invention [0004] 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
IPC IPC(8): G06F17/30G06Q40/04
CPCG06Q40/04
Inventor 吴思进王志文
Owner HANGZHOU FUZAMEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More