Block chain transaction parallel execution acceleration method

A blockchain and transaction technology, applied in the blockchain field, can solve problems such as low performance of the blockchain system and long transaction confirmation time, to meet high-frequency business and time-sensitive business, shorten confirmation time, and improve overall The effect of throughput

Pending Publication Date: 2021-09-21
CHINA ELECTRONICS TECH CYBER SECURITY CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the deficiencies of the existing technology, provide a method for accelerating the parallel execution of block chain transactions, solve the problems of low performance of the existing block chain system and long transaction confirmation time, and achieve consistent results while ensuring the final result of the transaction Parallel submission of blocks under certain circumstances; implement concurrent writing of multiple different blocks into different files

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 transaction parallel execution acceleration method
  • Block chain transaction parallel execution acceleration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] All features disclosed in all embodiments in this specification, or steps in all implicitly disclosed methods or processes, except for mutually exclusive features and / or steps, can be combined and / or extended and replaced in any way.

[0026] Such as figure 1 , as shown in 2, a blockchain transaction parallel execution acceleration method, the specific implementation process is as follows:

[0027] Phase 1: Put the block to be submitted into the cache pool

[0028] In order to control the number of concurrency, the present invention creates a limited-capacity buffer pool for storing block queues that will be used to generate DAG. Assuming that the size of the DAG cache pool is 10, the present invention sequentially takes out 10 consecutive blocks from Block1 to Block10 and puts them into the DAG cache pool.

[0029] Phase 2: Generate DAG using blocks in the cache pool

[0030] The invention analyzes each block in the DAG cache pool to obtain the read-write set of eac...

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 discloses a block chain transaction parallel execution acceleration method. The method comprises the following steps: S1, putting a to-be-submitted block into a cache pool; S2, generating a directed acyclic graph (DAG) by using the blocks in the cache pool; S3, generating a submission queue according to a directed acyclic graph (DAG); S4, writing the blocks into files in parallel. According to the method and the device, the problems of low performance and relatively long transaction confirmation time of an existing block chain system are solved, parallel submission of the blocks is realized under the condition of ensuring that final transaction results are consistent, and a plurality of different blocks are concurrently written into different files.

Description

technical field [0001] The present invention relates to the technical field of block chains, and more specifically, to a method for accelerating parallel execution of block chain transactions. Background technique [0002] The existing blockchain system has the following problems: [0003] (1) Low performance. Since each decision-making node of the block system has to maintain a series of transaction status data, and the transactions executed in the block chain system often have a dependency relationship, the execution sequence of transactions with dependencies must be guaranteed to avoid different decisions. The transaction status data between nodes is inconsistent, so the block submission process of the existing blockchain system is often serial, resulting in low system throughput and unable to take advantage of multi-core computers. [0004] (2) The transaction confirmation time is longer. Since the block submission process in the existing blockchain system adopts a se...

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/38G06Q20/40G06F16/172
CPCG06Q20/3829G06Q20/401G06F16/172
Inventor 韩虎白健刘在爽安红章
Owner CHINA ELECTRONICS TECH CYBER SECURITY 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