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

Transaction data processing method and device, equipment and medium

A processing method and technology of transaction data, applied in the field of blockchain, can solve the problems of preempting system resources, taking a long time to schedule system resources, reducing block processing efficiency, etc.

Active Publication Date: 2021-10-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 2 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
  • Transaction data processing method and device, equipment and medium
  • Transaction data processing method and device, equipment and medium
  • Transaction data processing method and device, equipment 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 invention provides a transaction data processing method and device, equipment and a medium, and the method comprises the steps: carrying out the parallel execution of M transactions in N transactions in a process of packaging N transactions in a transaction pool to a to-be-processed block and carrying out the block consensus of the to-be-processed block, and obtaining a first transaction execution result; after the block consensus succeeds, taking the transactions identical to the M transactions in the to-be-processed block as first-type transactions, and taking the first transaction execution result as a to-be-processed transaction execution result of the first-type transactions; taking (N-M) transactions except the first type of transactions in the to-be-processed block as second type of transactions, and executing the second type of transactions in parallel to obtain a second transaction execution result; and based on the transaction execution sequence of the N transactions in the to-be-processed block, sequentially merging the to-be-processed transaction execution result and the second transaction execution result to obtain a sequentially merged execution result. By adopting the method, system resources can be fully utilized, and the block processing efficiency is 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 Applications(China)
IPC IPC(8): G06F16/27G06Q20/38
CPCG06F16/27G06Q20/3829G06Q20/389H04L9/3247H04L9/50H04L2209/56H04L9/0819
Inventor 刘区城
Owner TENCENT TECH (SHENZHEN) CO LTD