Parallel chain block synchronization method and device and storage medium

A block and block header technology, applied in the blockchain field, can solve problems such as time-consuming and waste of bandwidth

Active Publication Date: 2020-07-17
HANGZHOU FUZAMEI TECH CO LTD
View PDF11 Cites 2 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

[0033] 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.

[0034] 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.

[0035] 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: sending first request information to a main chain node; segmentinga main chain height set into a plurality of subsets according to the block heights in an ascending order; sequentially and synchronously executing the steps A-C on each subset according to the blockheights in an ascending order: A, downloading a first data set of each first main chain block corresponding to each first main chain block height in the current subset to the main chain node; B, downloading all main chain block heads of a first block height section corresponding to the current subset to a main chain node; and C, after the step A and the step B of the previous subset are executed,verifying the block head and the parallel chain transaction Merkel root, and generating each parallel chain block corresponding to the previous subset if the verification is successful. 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 that reduces the bandwidth of parallel chain nodes to synchronize parallel chain blocks, and reduces the time-consuming per...

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/08G06F16/27
CPCH04L67/1097H04L67/1095G06F16/275
Inventor 马登极王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD
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