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

Block chain data parallel processing method and device, equipment and storage medium

A parallel processing and blockchain technology, applied in data processing applications, electrical digital data processing, special data processing applications, etc., can solve the problems of wasting resources, long time, unable to exert processing capabilities, etc. The effect of improving processing efficiency

Active Publication Date: 2018-10-19
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF8 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, this solution requires a long time for serial processing, and if the node has a multi-core processor, it will not be able to take advantage of the processing power, which will waste resources

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flowchart of a parallel processing method for blockchain data provided by Embodiment 1 of the present invention. This method is applied to the nodes in the blockchain system. The blockchain can be a public chain, an alliance chain or a private chain. The blockchain system usually includes multiple nodes, and each node will compete to obtain the block generation right according to the set rules. , become a block generation node. The solution of the embodiment of the present invention can be applied to parallel processing of logical processing requests by block generation nodes in the block generation process, and can also be applied to parallel processing of logical processing requests in the process of verifying blocks by other block recording nodes. The method can be executed by the block chain data parallel processing device provided by the embodiment of the present invention, the device can be implemented in the form of software and / or hardware, and...

Embodiment 2

[0049] figure 2 It is a flowchart of a blockchain data parallel processing method provided by Embodiment 2 of the present invention. Based on the first embodiment above, this embodiment further explains how to identify the next pending logical processing request, the dependency relationship between the logic processing request currently being processed and the existing dependency relationship. see figure 2 , the method specifically includes:

[0050] S210. Determine a next logical processing request to be processed from the task queue of the currently pending logical processing request.

[0051] S220. Search the state hash table for the same variable according to the adjustment variable of the next logical processing request to be processed;

[0052] S230. Determine logical processing requests corresponding to the same variable as logical processing requests with dependencies. If there is a dependency relationship, execute step S240; if there is no dependency relationshi...

Embodiment 3

[0072] image 3 It is a flow chart of a blockchain data parallel processing method provided by Embodiment 3 of the present invention. This embodiment is based on the above embodiments, and further explains the steps in the process of parallel processing of blockchain data if the local node is a block generation node. Specifically, see image 3 , the method can include:

[0073] S310. Determine a next logical processing request to be processed from the task queue of the currently pending logical processing request.

[0074] S320. Identify whether there is a dependency relationship between the next logical processing request to be processed and the logical processing request currently being processed. If there is no dependency relationship, execute step S330; if there is a dependency relationship, execute step S360.

[0075] S330. Start the parallel processing of the next logical processing request to be processed and the currently processing logical processing request.

[...

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 invention provides a block chain data parallel processing method and device, equipment and a storage medium. The method comprises the following steps: determining a next logical processing request to be processed from a task queue of current logical processing requests to be processed; identifying a dependency relationship between the next logical processing request to be processed and the current logical processing request being processed; if there is no dependency relationship, starting parallel processing of the next logical processing request to be processed and the current logical processing request being processed; and if there is a dependency relationship, starting the processing of the next logical processing request to be processed after the dependency relationship is eliminated. The embodiment of the invention realizes the parallel processing of part of the logic processing requests while taking into account the dependency relationship of the logic processing requests, and improves the processing efficiency.

Description

technical field [0001] Embodiments of the present invention relate to block chain data processing technology, in particular to a block chain data parallel processing method, device, equipment and storage medium. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. [0003] A typical application scenario of blockchain technology is transactions, which mainly solve the problems of trust and security of transactions, so one of the notable features is distributed ledgers. Specifically, the nodes in the blockchain system deliver transaction requests or a certain number of transaction requests within a certain period of time to the nodes that currently have the right to bookkeeping; the bookkeeping nodes perform information conversion, format adjustment, Or code operation and other processing to form ledger data, and then pack multi...

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): G06F17/30G06Q40/04
CPCG06Q40/04
Inventor 肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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