blockchain state data synchronization method and system based on Rsync

A state data and blockchain technology, applied in database indexing, digital data protection, structured data retrieval, etc., can solve problems such as low synchronization efficiency and unbalanced load, so as to improve speed and efficiency, performance, and computing resources little effect

Pending Publication Date: 2021-07-09
深圳前海移联科技有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a block chain state data synchronization method and system based on Rsync, aiming to so

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 state data synchronization method and system based on Rsync
  • blockchain state data synchronization method and system based on Rsync
  • blockchain state data synchronization method and system based on Rsync

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0027] Next, the technical solutions in the embodiments of the present invention will be described in contemplation in the embodiment of the present invention, and it is clear that the described embodiments are intended to be in an embodiment of the invention, not all of the embodiments of the invention. Based on the embodiments of the present invention, there are all other embodiments obtained without making creative labor without making creative labor premises.

[0028] It should also be understood that the terms used in the specification of the present invention are merely intended to limit the invention. As used in the specification of the present invention and the appended claims, unless the context clearly specifies other conditions, the "one", "one" and "one" and "" "" intended to include the plural form.

[0029] It should also be further understood that the terms "and / or" used in the specification of the present invention and the appended claims are any combination of o...

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 state data synchronization method based on Rsync, and the method comprises the steps: packaging the state data of all block nodes in a blockchain into an object, storing the object in a message queue, and reading the data of each block node from the message queue one by one; based on the block data of each block node, uniformly dividing the block node into a plurality of sub-data blocks according to the size of the data volume, and numbering the plurality of sub-data blocks; based on an Rsync algorithm, calculating a strong verification value and a weak verification value of each sub-data block; inputting the sub-data blocks and the corresponding strong check values and weak check values to the Rsync client; based on a synchronous source file of the Rsync client, searching for a corresponding weak verification value and a strong verification value, and screening out sub-data blocks lacking the weak verification value and/or the strong verification value; on the basis of the synchronous source file, replacing the sub-data block without the verification value. The problem of unbalanced node load in the blockchain data synchronization process is solved, the data synchronization performance in the block network can be improved, and the required computing resources are less.

Description

Technical field [0001] The present invention relates to the field of block chain data synchronous techniques, and more particularly to a block chain state data synchronization method and system based on RSYNC. Background technique [0002] Data synchronization is a very important process in the block chain, from functionality to transaction synchronization and status synchronization. The existing block chain status data synchronization method is: Backward block nodes need to download blocks from other nodes by request, other nodes respond after receiving the request, that is, send missing data to backward block nodes. . Since there is a plurality of nodes in the block chain, there is a large number of requests-response processes during the existing status data synchronization process, which requires a lot of information in the request - the response process, which means that a large amount of resources need to be consumed. In addition, the process of request-responding is random,...

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): G06F16/27G06F16/22G06F9/50G06F9/54G06F21/64
CPCG06F16/27G06F16/2255G06F9/5083G06F9/546G06F21/64G06F2209/548
Inventor 罗少龙连松彬柳发健
Owner 深圳前海移联科技有限公司
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