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

Transaction parallel execution method and device in block chain, electronic equipment and storage medium

An execution method and transaction execution technology, applied in the blockchain field, can solve problems such as low transaction processing efficiency, and achieve the effect of ensuring consistency, ensuring state consistency, and improving system execution efficiency

Pending Publication Date: 2020-06-05
陕西医链区块链集团有限公司
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the current blockchain, transactions will be dropped according to the execution order of the block-generating nodes. In order to balance the state of all nodes, non-block-generating nodes only verify the falling block transactions in order, resulting in low system transaction processing 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 parallel execution method and device in block chain, electronic equipment and storage medium
  • Transaction parallel execution method and device in block chain, electronic equipment and storage medium
  • Transaction parallel execution method and device in block chain, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them.

[0042] Such as figure 1 As shown, this application provides a method for parallel execution of transactions in the blockchain, including:

[0043] S10: Different types of operations are handled differently on the state library in the blockchain;

[0044] Through the different processing of different types of operations on the state library in the blockchain, the weakly related transactions in the blockchain are allowed to be executed in parallel on the nodes, ensuring the sequential execution of strongly related transactions, and ensuring that the ex...

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 transaction parallel execution method and apparatus in a block chain, electronic equipment and a storage medium. The method comprises the steps of A, performing different processing on different types of operations on a state library in the block chain; b, grouping the transactions in the block chain according to acceptance nodes to obtain a plurality of transaction queues, and executing the transactions of the queues in parallel; c, enabling all the blockchain production nodes to vote for the transaction execution result, and reaching a transaction consensus accordingto the voting result; and D, packaging the transaction which has reached the consensus into the block. Along with the increase of production nodes of the block chain, the number of transaction execution queues is increased, multi-queue transactions are executed in parallel, and the transaction throughput of the system can be greatly improved.

Description

technical field [0001] The present application relates to the technical field of block chains, in particular, to a method, device, electronic device, and storage medium for parallel execution of transactions in block chains. Background technique [0002] In the current blockchain, transactions will be dropped according to the execution order of the block-generating nodes. In order to balance the state of all nodes, non-block-generating nodes only verify the falling block transactions in order, resulting in low system transaction processing efficiency. Contents of the invention [0003] In view of this, this application provides a parallel transaction execution scheme in the blockchain to improve the system transaction processing efficiency. [0004] In order to achieve the above object, the technical scheme adopted by the application is as follows: [0005] In the first aspect, this application provides a method for parallel execution of transactions in the blockchain, in...

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): G06F9/50G06F9/54
CPCG06F9/5061G06F9/542
Inventor 白玉龙
Owner 陕西医链区块链集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products