Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parallel chain block synchronization method and device and storage medium

A block and device technology, applied in the blockchain field, can solve problems such as wasting bandwidth and time-consuming

Active Publication Date: 2020-04-14
HANGZHOU FUZAMEI TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the parachain mechanism proposed by the applicant (for details, please refer to the patent texts of various parachains applied by the applicant), the parachain node needs to obtain all the parachain transactions of this parachain by traversing each main chain block to generate Parallel chain blocks; in fact, not every main chain block has the parallel chain transactions of this parachain, the above mechanism will cause waste of bandwidth and time-consuming problems

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
  • Parallel chain block synchronization method and device and storage medium
  • Parallel chain block synchronization method and device and storage medium
  • Parallel chain block synchronization method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0033] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0034] In another patent application filed by the applicant with the application number CN201911109989.9, the applicant proposes to sort the main chain and more than one parallel chain and its transactions, and construct the sub-root hash of the main chain according to the main chain transaction or...

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 parallel chain block synchronization method and device, and a storage medium. The method comprises the steps of sending first request information to a main chain node to obtain first block header information of each main chain block height; sending second request information to the main chain node to obtain a first main chain block height of each first main chain block ofthe parallel chain transaction of the current parallel chain; sending third request information to the main chain node to obtain a first data set of the requested height of each first main chain block; performing the following operations on each received first data set: verifying whether the block header information is the same or not; if yes, generating a first parallel chain transaction Merkel root according to each first parallel chain transaction in the first data set; verifying whether the Merkel roots of the parallel chain transactions are the same or not; and if yes, generating a firstparallel chain block according to each first parallel chain transaction. According to the invention, the bandwidth of the parallel chain node synchronization parallel chain block is reduced, and the time consumption of the parallel chain node synchronization parallel chain block is reduced.

Description

technical field [0001] The present application relates to the technical field of block chains, in particular to a parallel chain block synchronization method, device and storage medium. Background technique [0002] In the parachain mechanism proposed by the applicant (for details, please refer to the patent texts of various parachains applied by the applicant), the parachain node needs to obtain all the parachain transactions of this parachain by traversing each main chain block to generate Parallel chain blocks; in fact, not every main chain block has the parallel chain transactions of this parachain, the above mechanism will cause problems of wasting bandwidth and time-consuming. Contents of the invention [0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a parallel chain block synchronization method, device, and storage medium. [0004] In the first aspect, the present invention provides a parallel chain block s...

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/27G06Q40/04
CPCG06F16/27G06Q40/04
Inventor 马登极王志文曹兢李斌吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products