Supercharge Your Innovation With Domain-Expert AI Agents!

Block chain task parallel processing method and device, electronic equipment and medium

A parallel processing and blockchain technology, applied in the computer field, can solve the problem that the time performance of parallel processing methods needs to be improved, and achieve the effect of improving processing performance, avoiding large delay and reducing delay.

Active Publication Date: 2020-02-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003]The current blockchain transaction processing technology can use serial processing or parallel processing of tasks, but it is limited to the dependencies between transactions, so various task parallel processing methods The time performance of the

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 task parallel processing method and device, electronic equipment and medium
  • Block chain task parallel processing method and device, electronic equipment and medium
  • Block chain task parallel processing method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0044] Figure 1A It is a flow chart of a parallel processing method for blockchain tasks provided according to the first embodiment of the application. This embodiment is applicable to the parallel processing of blockchain tasks to solve the current problems of various task parallel processing methods. Deal with the problem of large delay. The method can be executed by a parallel processing device for blockchain tasks, the device can be implemented in the form of software and / or hardware, and can be integrated into electronic equipment carrying nodes in the blockchain system. Such as Figure 1A As shown, the parallel processing method of blockchain tasks provided by this embodiment may include:

[0045] S110. Obtain a transaction request to be executed.

[0046] It can be understood that, in the case of a large number of tasks, in order to improve task processing efficiency, parallel processing means will be used to process the tasks. Since in the actual blockchain scenario...

no. 2 example

[0066] Figure 2A It is a flow chart of a parallel processing method for blockchain tasks provided according to the second embodiment of the present application. On the basis of the above-mentioned embodiments, this embodiment provides an In the case that the request has a dependency relationship with two or more transaction requests in the current parallel task set, the task of the transaction request to be executed is added to the current parallel task set. Such as Figure 2A As shown, the parallel processing method of blockchain tasks provided by this embodiment may include:

[0067] S210. Obtain a transaction request to be executed.

[0068] S220. Identify the dependency relationship between the transaction request to be executed and each transaction request in the current parallel task set.

[0069] S230. If the identified dependency state is that there is a dependency between the transaction request to be executed and transaction requests in more than two current para...

no. 3 example

[0080] image 3 It is a schematic structural diagram of a parallel processing device for blockchain tasks provided according to the third embodiment of the present application. The device can execute the parallel processing method for blockchain tasks provided by any embodiment of the present application, and has corresponding execution methods. Functional modules and beneficial effects. Optionally, the device can be implemented in the form of software and / or hardware, and can be integrated into electronic equipment carrying nodes in the blockchain system. Such as image 3 As shown, the device may include:

[0081] A transaction request obtaining module 310, configured to obtain a transaction request to be executed;

[0082] The dependency identification module 320 is used to identify the dependency relationship between the transaction request to be executed and each transaction request in the current parallel task set; wherein, the parallel task set includes tasks of multi...

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 embodiment of the invention discloses a block chain task parallel processing method and device, electronic equipment and a medium, and relates to the technical field of block chains. The specificimplementation scheme comprises the steps of obtaining a to-be-executed transaction request; identifying a dependency relationship between the to-be-executed transaction request and each transaction request in a current parallel task set, wherein the parallel task set comprises tasks of a plurality of transaction requests with a dependency relationship, and the tasks in the parallel task set are executed by serial scheduling; and adding the task of the to-be-executed transaction request into a current parallel task set according to the identified dependency relationship state. Through the technical scheme of the embodiment of the invention, the processing performance of task parallel processing can be improved.

Description

technical field [0001] The present application relates to computer technology, specifically to block chain technology, and in particular to a parallel processing method, device, electronic device and medium for block chain tasks. Background technique [0002] Blockchain transaction processing technology refers to that in the blockchain system, transactions will change the data status of the blockchain system, and there may be a reference relationship between different transactions. In order to ensure that the data status update of the blockchain system meets expectations a technique. [0003] The current blockchain transaction processing technology can use serial processing or parallel processing of tasks, but it is limited to the dependencies between transactions, so the time performance of various task parallel processing methods needs to be improved. Contents of the invention [0004] Embodiments of the present application provide a method, device, electronic device, a...

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): G06F9/46G06F9/48G06F16/27
CPCG06F9/466G06F9/4881G06F16/27
Inventor 王玉操孙君意朱月俊
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More