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

Parallel chain main chain transaction state synchronization method and device, and storage medium

A technology of transaction status and parallel chain, applied in the field of blockchain, can solve the problem of serious data redundancy and achieve the effect of reducing memory space

Active Publication Date: 2019-08-02
HANGZHOU FUZAMEI TECH CO LTD
View PDF8 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the parachain architecture proposed by the applicant (for details, please refer to patent documents such as CN201811005413.3, CN201811005421.8, CN201910157805.X), when cross-chain transactions occur between the parachain and the main chain, the main chain needs to provide The transaction status of the cross-chain transaction is used to process the business logic. Each authorized node of the parallel chain (referred to as a verification node in the above-mentioned documents) needs to send the transaction hash of each cross-chain transaction to the main chain for identification and confirmation of the transaction status, resulting in Data redundancy is serious

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 main chain transaction state synchronization method and device, and storage medium
  • Parallel chain main chain transaction state synchronization method and device, and storage medium
  • Parallel chain main chain transaction state synchronization method and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0024] figure 1 It is a flow chart of a method for synchronizing transaction status of a parachain main chain provided by an embodiment of the present invention.

[0025] Such as figure 1 As shown, in this embodiment, the present invention provides a parachain main chain transaction status synch...

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 main chain transaction state synchronization method and device and a storage medium, and the method comprises the steps: synchronizing a plurality of parallel chain transactions from corresponding main chain nodes, and sequentially storing transaction Hash of each cross-chain transaction in each synchronized parallel chain transaction to generate a cross-chain transaction Hash sequence; packaging and executing each parallel chain transaction and storing an execution state; generating an execution state sequence of each cross-chain transaction according to the cross-chain transaction hash sequence and the execution state of each cross-chain transaction, and generating bitmap information; generating a verification hash according to each cross-chain transaction; generating a consensus transaction comprising the bitmap information and the check hash, and sending the consensus transaction to the corresponding main chain node so as to verify the checkhash according to each cross-chain transaction; and if the verification is successful, performing parallel chain consensus, and obtaining an execution state of each cross-chain transaction according to the bitmap information after the parallel chain consensus is successful so as to process the main chain service logic corresponding to each cross-chain transaction. According to the application, thememory space occupied by the cross-chain synchronous transaction state is greatly reduced.

Description

technical field [0001] The present application relates to the technical field of blockchain, and specifically relates to a method, device and storage medium for synchronizing transaction status of a parachain main chain. Background technique [0002] In various existing cross-chain solutions, the transaction status of a transaction is usually identified and confirmed according to the transaction hash, that is, whether the transaction is executed successfully. [0003] In the parachain architecture proposed by the applicant (for details, please refer to patent documents such as CN201811005413.3, CN201811005421.8, CN201910157805.X), when cross-chain transactions occur between the parachain and the main chain, the main chain needs to provide The transaction status of the cross-chain transaction is used to process the business logic. Each authorized node of the parallel chain (referred to as a verification node in the above-mentioned documents) needs to send the transaction hash...

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): G06Q20/38
CPCG06Q20/3827
Inventor 马登极王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD
Features
  • Generate Ideas
  • 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