Unlock instant, AI-driven research and patent intelligence for your innovation.

A transaction data processing method, device, device and medium

A processing method and technology of transaction data, applied in the blockchain field, can solve problems such as reducing block processing efficiency, system resource preemption, and system resource scheduling that takes a long time

Active Publication Date: 2022-01-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Obviously, once all the transactions in the block (for example, block X) are executed in parallel within the same period of time according to the aforementioned transaction execution scheme, system resources will inevitably be preempted due to a large number of transactions executed in parallel, so that it takes It takes a long time to schedule system resources, which reduces the processing efficiency of the entire block

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
  • A transaction data processing method, device, device and medium
  • A transaction data processing method, device, device and medium
  • A transaction data processing method, device, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0080] See figure 1 , figure 1 It is a schematic diagram of a network architecture provided by the embodiment of this application. Such as figure 1 The network architecture shown can be applied to a blockchain system, which can be a distributed system formed by connecting multiple nodes through network communication. Wherein, the blockchain system may include but not limited to the blockchain system corresponding to the consortium chain.

[0081] Among them, it is understandable that bl...

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 present application provides a transaction data processing method, device, device, and medium, the method including: in the process of packaging N transactions in the transaction pool into blocks to be processed, and performing block consensus on the blocks to be processed, Execute M transactions in N transactions in parallel to obtain the execution result of the first transaction; after the block consensus is successful, in the block to be processed, the same transaction as the M transactions will be regarded as the first type of transaction, and the first transaction will be executed The result is regarded as the execution result of the pending transaction of the first type of transaction; in the block to be processed, (N-M) transactions other than the first type of transaction are regarded as the second type of transaction, and the second type of transaction is executed in parallel to obtain the first Second transaction execution result; based on the transaction execution order of the N transactions in the block to be processed, sequentially merge the pending transaction execution result and the second transaction execution result to obtain the sequential merged execution result. By adopting this application, system resources can be fully utilized and block processing efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of block chain, and in particular to a transaction data processing method, device, equipment and medium. Background technique [0002] At present, in the blockchain system, when a blockchain node (for example, a block node) receives a transaction sent by any blockchain client, it needs to verify the transaction in the blockchain system Perform transaction broadcast and transaction verification. In this way, when the block producing node packs tens of thousands of transactions after successful transaction verification into a certain block (for example, block X), it can perform block consensus on this block (for example, block X), Furthermore, after the block consensus is successful, all transactions in the block (for example, block X) can be executed in parallel according to the existing transaction execution scheme. [0003] Obviously, once all the transactions in the block (for example, block X)...

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 Patents(China)
IPC IPC(8): G06F16/27G06Q20/38
CPCG06F16/27G06Q20/3829G06Q20/389H04L9/3247H04L9/50H04L2209/56H04L9/0819
Inventor 刘区城
Owner TENCENT TECH (SHENZHEN) CO LTD