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

Parallel transaction execution method based on blockchain

A transaction execution and blockchain technology, applied in instruments, payment systems, finance, etc., can solve problems such as inability to reach consensus, inconsistent calculation results, and restricted node processing capabilities, so as to simplify the difficulty of concurrency, efficient concurrent processing, and speed up transactions The effect of throughput

Active Publication Date: 2018-02-13
HANGZHOU RIVTOWER TECH CO LTD
View PDF5 Cites 74 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to pursue the certainty of the state of the whole chain, the blockchain requires transactions to exist in the form of a list in the block, and to be executed sequentially by all nodes one by one. Random jumps or random concurrent executions cannot occur, otherwise the calculation results of each node Inconsistencies may arise and ultimately no consensus can be reached
Completely serial execution prevents the physical machine performance of the node from being fully utilized, and the processing capability of the node is limited by the highest frequency of the single-core CPU, which cannot take advantage of multi-core and cluster advantages, seriously affecting the processing performance of blockchain technology

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
  • Parallel transaction execution method based on blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described below in conjunction with the accompanying drawings.

[0024] Such as figure 1 As shown, a block chain-based parallel transaction execution method, in this method, firstly, the data units involved in the transaction in the block chain are divided, and each data unit generates a unique index index. The present invention does not limit the method of data unit division, which can be divided according to account address, UTXO output, basic internal data structure (int, map, struct) of the account, etc., and non-account data such as block height and time stamp need to be considered.

[0025] Each user node synchronizes the latest block of the block node in real time, and maintains the latest local chain state backup. When the user initiates a transaction, select the transaction type. If the selected transaction type is "serial execution", the transaction content Data signature will be broadcast directly; if the selected transa...

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 parallel transaction execution method based on a blockchain. Firstly, a data unit on the datachain is subjected to index numbering, the parallel transaction of a user needs to provide a data index which needs to be read and written for transaction execution in addition to basic transaction contents. The serial transaction of the user only needs to provide the basic transaction contents. A node arranges parallel processing according to the data dependency relationship of the parallel transaction, and the transaction which can not carry out concurrence and the serial transaction can be executed in sequence.

Description

technical field [0001] The invention relates to the creation of a state index of a block chain model, the generation, execution and verification of concurrent transactions, and improves the situation that transactions cannot be processed concurrently in the original block chain model, or large-scale conflicts may occur during concurrent processing. Background technique [0002] Blockchain is a new distributed technology. It consists of sequentially arranged transactions to form blocks, and then sequentially arranged blocks to form a chain. Each block contains a self-increasing height as a number, and also There is a timestamp used to record the packing time. [0003] In the existing blockchain, the account is generally used as the basic unit, and the account has various attributes, including balance, transaction number, contract code, contract storage data structure, etc. A transaction in the blockchain involves mutual read and write operations of two or more account attrib...

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/04G06Q20/38
CPCG06Q20/389G06Q40/04
Inventor 谢晗剑
Owner HANGZHOU RIVTOWER TECH CO LTD
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