Transaction parallel execution method, device, electronic device and system

A technology of transaction execution and execution method, which is applied in the blockchain field, can solve the problems of poor parallel transaction execution performance, etc., and achieve the effect of improving performance, improving parallelism and scalability, and ensuring performance

Inactive Publication Date: 2019-03-22
HANGZHOU RIVTOWER TECH CO LTD
View PDF4 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of this specification provides a transaction parallel execution method, device, electronic equipment and syste

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, device, electronic device and system
  • Transaction parallel execution method, device, electronic device and system
  • Transaction parallel execution method, device, electronic device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] refer to Figure 1a As shown, it is a schematic diagram of the steps of a parallel transaction execution method provided by the embodiment of this specification. The parallel transaction execution scheme is applied to the transaction execution management process of decentralized applications, and may include the following steps:

[0059] Step 102a: The transaction scheduling module distributes multiple transactions in the block to multiple transaction execution modules according to the order of transactions;

[0060] Step 104a: The plurality of transaction execution modules execute the distributed transactions in parallel, and generate transaction execution results;

[0061] Step 106a: The transaction scheduling module collects each transaction execution result correspondingly generated by the plurality of transaction execution modules, and performs conflict detection on each transaction execution result;

[0062] Step 108a: The transaction scheduling module merges the ...

Embodiment 2

[0113] The embodiment of this specification also provides a transaction parallel execution system, which is applied in the transaction execution management process of decentralized applications. Figure 5a As shown, the system 500 includes: a transaction scheduling module 502 and multiple transaction execution modules 504; wherein,

[0114] The transaction scheduling module 502 distributes multiple transactions in the block to multiple transaction execution modules according to transaction order; and collects each transaction execution result correspondingly generated by the multiple transaction execution modules 504, and performs Each transaction execution result is used for conflict detection; and, according to the conflict detection result, the transaction execution result is merged; and, the merged transaction execution result is output;

[0115] The transaction execution module 504 executes the distributed transactions in parallel and generates transaction execution resul...

Embodiment 3

[0130] Refer below Figure 8 The electronic equipment of the embodiment of this specification is introduced in detail. Please refer to Figure 8 , at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.

[0131]The processor, network interface, and memory may be interconnected via an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For convenience...

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

An embodiment of the specification relates to a transaction parallel execution method, an apparatus, an electronic device and a system, comprising: after a transaction in a block is distributed to a transaction execution module for parallel execution, a collision detection is performed on a transaction execution result, and then the transaction execution result is merged and output according to the collision detection result. Thus, the performance of the transaction parallel execution is improved and ensured, and the dependency problem of the transaction parallel in the block is solved. Meanwhile, the multi-core parallel execution and the distributed deployment parallel execution can be realized, and the parallelism and the scalability of the transaction execution in the block are effectively improved.

Description

technical field [0001] The embodiments of this specification relate to the technical field of blockchain, and in particular to a method, device, electronic device and system for parallel execution of transactions. Background technique [0002] Blockchain technology is the foundation of decentralized applications, and the bottleneck of transaction execution performance in blockchain blocks directly affects the development of decentralized applications. [0003] In the existing technology, the methods to improve the performance of the blockchain mainly include: 1. Chain-level parallelism, that is, multiple chains are executed simultaneously to jointly provide security and high performance for decentralized applications, such as layered technology; 2. District Block parallelism, parallel execution of transactions in multiple blocks on the same chain, such as sharding technology; 3. Parallel execution of transactions in blocks, parallel execution of transactions in the same bloc...

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/23G06Q40/04
CPCG06Q40/04
Inventor 李耀荣
Owner HANGZHOU RIVTOWER TECH 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