Block chain parallel transaction execution method, device and equipment and readable storage medium

A transaction execution and blockchain technology, applied in the blockchain field, can solve the problems of transaction DAG occupying a large amount of bandwidth and the execution speed of the blockchain network, etc., to achieve the effect of speeding up transaction execution and speeding up

Pending Publication Date: 2022-04-12
成都质数斯达克科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the consensus execution process of existing parallel transactions, the constructed transaction DAG is usually sent directly to each node in the blockchain network, but due to the data structure problem of the transaction DAG itself, the transaction DAG needs to occupy Extremely high bandwidth, which in turn leads to a slowdown in the execution speed of the entire blockchain network

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
  • Block chain parallel transaction execution method, device and equipment and readable storage medium
  • Block chain parallel transaction execution method, device and equipment and readable storage medium
  • Block chain parallel transaction execution method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as figure 1 As shown, this embodiment provides a block chain parallel transaction execution method, which is applied to any master node in the block chain network, and the method includes step S1, step S2, step S3, step S4 and step S5.

[0046] Step S1. The master node will obtain multiple transactions to be executed sent by multiple transaction execution nodes in the blockchain network within a preset unit time period, and according to the data type of each transaction to be executed, in the Multiple parallel transactions are selected from multiple transactions to be executed. In this embodiment, the distinction of parallel transactions can be based on business types, etc.;

[0047] Step S2. According to the transaction identification of each of the parallel transactions, sort the multiple parallel transactions to obtain the first transaction sequence list. The transaction identification can be a transaction ID, and the transaction ID can be used as a sorting basi...

Embodiment 2

[0063] Such as Figure 4 As shown, this embodiment provides a block chain parallel transaction execution method, which is applied to any transaction execution node in the block chain network, and the method includes step S6, step S7 and step S8.

[0064] Step S6. Construct the transaction DAG according to the transaction dependency set and the first transaction sequence table. Since the transaction dependency set indirectly reflects the internal relationship of elements in the transaction DAG, combined with the first transaction sequence table, the transaction DAG is constructed Compared with constructing a transaction DAG by analyzing the correlation between each parallel transaction one by one, the difficulty decreases exponentially, so that each node can save a lot of time in constructing the DAG;

[0065] Step S7. Execute the transaction DAG, and calculate and obtain transaction execution results corresponding to multiple parallel transactions;

[0066] Step S8. Combine m...

Embodiment 3

[0068] Such as figure 2 As shown, this implementation provides a block chain parallel transaction execution device, which is applied to any master node in the block chain network, and the device includes a first acquisition module 71, a first calculation module 72, a second calculation module module 73 , a third calculation module 74 and a first sending module 75 .

[0069] The first acquiring module 71 is configured to acquire a plurality of transactions to be executed, and filter out a plurality of parallel transactions among the plurality of transactions to be executed according to the data type of each transaction to be executed;

[0070] The first calculation module 72 is configured to sort a plurality of parallel transactions according to the transaction identification of each parallel transaction, and obtain a first transaction sequence list;

[0071] The second calculation module 73 is configured to construct a transaction DAG according to the first transaction seque...

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, in particular to a block chain parallel transaction execution method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining a plurality of to-be-executed transactions, and screening out a plurality of parallel transactions from the plurality of to-be-executed transactions according to the data type of each to-be-executed transaction; sorting the plurality of parallel transactions according to the transaction identifier of each parallel transaction to obtain a first transaction sequence table; constructing a transaction DAG according to the first transaction sequence table; constructing a transaction association set according to the transaction DAG; sending the transaction association set and the first transaction sequence table to a plurality of execution nodes; according to the method, the transaction DAG constructed at the master node is converted into the transaction association set convenient to transmit, so that the speed of issuing the transaction DAG to the whole network by the master node is accelerated, and the transaction execution speed of the block chain network is greatly accelerated.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a block chain parallel transaction execution method, device and equipment, and a readable storage medium. Background technique [0002] In the consensus execution process of existing parallel transactions, the constructed transaction DAG is usually sent directly to each node in the blockchain network, but due to the data structure problem of the transaction DAG itself, the transaction DAG needs to occupy Extremely high bandwidth, which in turn leads to a reduction in the execution speed of the entire blockchain network. Contents of the invention [0003] The purpose of the present invention is to provide a block chain parallel transaction execution method, device, equipment and readable storage medium to improve the above problems. [0004] In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions: ...

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): G06Q40/04
Inventor 李成才邓柯唐坤
Owner 成都质数斯达克科技有限公司
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