Parallel chain block generation method and device and storage medium

A parallel chain and block technology, applied in the blockchain field, can solve the problems of wasting bandwidth and taking a long time

Active Publication Date: 2019-10-29
HANGZHOU FUZAMEI TECH CO LTD
View PDF7 Cites 11 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 generation method and device and storage medium
  • Parallel chain block generation method and device and storage medium
  • Parallel chain block generation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0023] figure 1 It is a flowchart of a method for generating a parachain block provided by an embodiment of the present invention. Such as figure 1 As shown, in this embodiment, the present invention provides a method for generating parallel chain blocks suitable for main chain nodes, the above ...

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 generation method and device and a storage medium. The method comprises the following steps: after the consensus of the first main chain block succeeds, updating the temporary parallel chain queues corresponding to the first parallel chain nodes according to the first main chain block and storing the temporary parallel chain queues into a local database, so as to enable the first parallel chain nodes to synchronize the temporary parallel chain blocks of the corresponding temporary parallel chain queues from the local database to generate parallel chain blocks and execute the parallel chain blocks, wherein a temporary parallel chain block in the temporary parallel chain queue is generated by screening a parallel chain transaction of a corresponding parallel chain from a first main chain block according to stored registration information of a plurality of first parallel chain nodes, the temporary parallel chain block comprises a first block hash and a block height corresponding to the main chain block, and the registration information comprises a parallel chain name of the first parallel chain node. 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 blockchain, and in particular to a method, device and storage medium for generating a parachain block. 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 generation method and device that reduce the bandwidth of parallel chain nodes to synchronize parallel chain blocks and reduce the time-consu...

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/08H04L9/32
CPCH04L67/1095H04L67/1059H04L9/3236H04L9/50
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