Unlock instant, AI-driven research and patent intelligence for your innovation.

Transaction asynchronous execution method and system in block chain and related equipment

An asynchronous execution, blockchain technology, applied in the blockchain field, can solve the problems of block rollback of shard chains, low transaction efficiency, asynchronous block generation and final confirmation of shard chains, etc., to improve efficiency Effect

Active Publication Date: 2021-06-01
HANGZHOU QULIAN TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the present invention, the inventor found that the existing sharding method has at least the following problems: using the architecture of the master-slave chain, although the blocks on each sharding chain do not affect each other, this will lead to fragmentation. The block generation on the chain and the final confirmation of its blocks are asynchronous, and the blocks on the shard chain have the risk of rollback
The architecture of multiple shard executors controlled by the block generation module can speed up the execution speed of a block through multiple shard executors in parallel, but because of the different transaction numbers and transaction complexity on each shard, it may lead to During the execution cycle of a block, some shard executors are idle, while some shards are always busy, and there is a phenomenon of waiting between each other, resulting in low transaction efficiency

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
  • Transaction asynchronous execution method and system in block chain and related equipment
  • Transaction asynchronous execution method and system in block chain and related equipment
  • Transaction asynchronous execution method and system in block chain and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0101] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the application; the terms used herein in the description of the application are only to describe specific embodiments The purpose is not to limit the present application; the terms "comprising" and "having" and any variations thereof in the specification and claims of the present application and the description of the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.

[0102] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrenc...

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 relates to the technical field of block chains, and discloses a transaction asynchronous execution method and system in a block chain and related equipment, and the method comprises the steps: sending a transaction block in a to-be-sent cache queue to each lower executor based on a preset triggering mechanism, and when an acknowledgement character ACK for the transaction block sent by the lower executor is received, taking the transaction block corresponding to the acknowledgement character ACK as a first transaction block, moving the first transaction block in a to-be-sent cache queue into a to-be-received cache queue; if an execution result sent by a lower-layer actuator is received, obtaining the transaction block contained in the execution result as a second transaction block, and executing deletion processing on a first transaction block with the same serial number as the second transaction block in the to-be-received cache queue, and transmitting an acknowledgement character ACK of an execution result to the lower layer executor. According to the invention, the transaction asynchronous execution efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a method, system and related equipment for asynchronous execution of transactions in block chains. Background technique [0002] In a blockchain network, sharding is used to break down transactions into shards and distribute them across the network so that each network node does not have to download and save the entire blockchain state. Through parallelization, sharding technology can significantly increase transaction processing speed. [0003] In the current state sharding or execution sharding solutions, the architecture of the master-slave chain is mainly adopted. Each shard chain produces its own block and then anchors to the main chain to realize the execution of the main chain block and the shard block. Decoupling. In addition, there are some block generation modules that control the architecture of multiple shard executors. The general execution implementat...

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/27G06Q20/38
CPCG06F16/27G06Q20/3827
Inventor 邱炜伟李伟张珂杰黄方蕾郭威
Owner HANGZHOU QULIAN TECH CO LTD