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

Block data processing method and device, computing equipment and storage medium

A processing method and technology of computing equipment, applied in the field of blockchain, can solve the problems of slow verification process and long delay, and achieve the effect of saving confirmation time

Active Publication Date: 2018-09-28
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the verification process of this block verification method is slow, which makes the delay in confirming the effectiveness of the current block longer

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] figure 1 It is a flow chart of a method for processing block data provided by Embodiment 1 of the present invention. This embodiment is applicable to the processing of block data. The method can be executed by a device for processing block data. The device can be composed of It can be implemented by software and / or hardware, and can be configured in the block generation node in the blockchain system. The block generation node is the node currently responsible for the block generation function in the blockchain system, which can be any node or Nodes with block generation authority. Described method specifically comprises:

[0044] S110. Perform data processing on the logical processing request to form transaction data, where the transaction data is used to be added to the current block.

[0045]Wherein, the logical processing request may be a request initiated by the user terminal to complete one or more transaction processing requirements. Exemplarily, the logical pr...

Embodiment 2

[0061] figure 2 It is a flow chart of a block data processing method provided by Embodiment 2 of the present invention. On the basis of the above embodiment, optionally, when the current block generation operation is completed, the blocks of the block Sending information in the blockchain system includes: at the end of the current block generation authority, generating a Merkle tree based on the processed transaction data, and adding the root of the Merkle tree to the block header; The basic information of the block header and the root of the Merkle tree in the block header are sent in the blockchain system as block information. Such as figure 2 As shown, the method specifically includes:

[0062] S210. Perform data processing on the logical processing request to form transaction data, where the transaction data is used to be added to the current block.

[0063] S220. In the process of processing the subsequent logical processing request, send the processed transaction da...

Embodiment 3

[0075] image 3 It is a flowchart of a method for processing block data provided by Embodiment 3 of the present invention. This embodiment is applicable to the processing of block data. The method can be executed by a device for processing block data. The device can be composed of It can be implemented in the form of software and / or hardware, and can be configured in the block recording nodes in the blockchain system. For some parameters and explanations involved in this embodiment, reference may be made to the foregoing embodiments, and details are not repeated here. Such as image 3 As shown, the method specifically includes:

[0076] S310. Receive the transaction data sent by the block generating nodes one by one, and perform verification processing on each transaction data.

[0077] Among them, the block record node can perform the same data processing as the block generation node on the original data in the transaction data, obtain the processing result, and compare wh...

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 data processing method and device, computing equipment and a storage medium. The method comprises the steps that data processing is performed on a logic processing request to form transaction data, wherein the transaction data is added into a current block; in the process of processing subsequent logic processing requests, processed transaction data is sent in a block chain system so that block record nodes can perform transaction data verification according to the received transaction data; and when current block generation operation is completed, block information of the current block is sent in the block chain system so that the block record nodes can perform block verification according to the received block information. Through the technical scheme in the embodiment, the block record nodes are notified to perform transaction data verification in the block generation process, so that verification time is saved, and the problem thatblock effective-taking confirmation time is too long in the block chain system is solved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of block chains, and in particular, to a method, device, computing device, and storage medium for processing block data. Background technique [0002] Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism and encryption algorithm. [0003] One of the main application scenarios of blockchain technology is transaction accounting, which mainly solves the problems of trust and security of transactions. One of the notable features is the distributed ledger. Specifically, the bookkeeping nodes in the blockchain system process transaction requests or a certain number of transaction requests within a certain period of time to form ledger data, and package the ledger data to form block data; The data is sent to other nodes in the blockchain system, and other nodes also process the ledger data to verify whet...

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): G06Q20/10
CPCG06Q20/102
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