A data processing method, device, node device, and storage medium

A data processing and node technology, applied in the computer field, can solve the problems of low efficiency and achieve the effect of improving the efficiency of chaining

Active Publication Date: 2020-03-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that based on the current process of uploading transaction data to the chain, it may cause nodes to wait for a long time due to the delay of the acquisition thread when acquiring transaction data from the transaction data, so that the node uploads the transaction data to the block The efficiency of the block chain network is low

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The embodiment of the present invention proposes a data processing method, the data processing method can be applied to any node in the blockchain network, the node includes a transaction pool, and the data processing method can make the any node quickly based on the transaction pool The transaction data in the target block is generated, and the generated target block is uploaded to the blockchain network, which can avoid the waiting time due to the acquisition time when any node obtains the transaction data from the transaction pool to generate the target block. The problem of starvation caused by the acquisition process. Specifically, the node (that is, any of the above-mentioned nodes) can first obtain the transaction data to be authenticated from the transaction pool, so that the transaction data can be authenticated. After the node passes the authentication of the transaction data, it can Add the authenticated transaction data to the priority queue of the transacti...

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 data processing method and device, node equipment and a storage medium. The data processing method comprises the steps: obtaining to-be-authenticated transaction data from a transaction pool, and carrying out the authentication of the transaction data; adding the transaction data passing the authentication to a priority queue, adding the transaction datapassing the authentication to a first priority queue, ranking the first priority queue according to the electronic resource quantity related to the transaction data, and in the first priority queue,preferentially processing the transaction data with the larger electronic resource quantity; in response to a trigger event of uploading the transaction data to the blockchain network, obtaining the transaction data from the first priority queue, and determining target transaction data according to the obtained transaction data; generating a target block, wherein the target block comprises targettransaction data; and uploading the target block to the block chain network, so that the efficiency of uploading the transaction data to the block chain network can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, node device and storage medium. Background technique [0002] With the continuous development of blockchain technology, based on the non-tamperable characteristics of the data stored in the blockchain network, the current massive transaction data that needs to ensure real data can be stored in the blockchain network, so that when storing transaction data , guaranteeing the authenticity of the transaction data. Currently, after a node obtains the transaction data, it can first store the transaction data in the node's transaction pool, waiting to be uploaded to the blockchain network for storage. Correspondingly, the node can store the transaction data in the transaction pool When going to the chain, first obtain a certain amount of transaction data from the transaction pool, and conduct authentication and consensus on the transact...

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/38G06Q20/40G06F16/901
CPCG06F16/27G06F16/9024G06Q20/382G06Q20/401
Inventor 李茂材朱耿良杨常青刘区城蓝虎刘攀周开班时一防王宗友张劲松黄焕坤孔利
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products