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

Blockchain-based transaction data processing method, device, equipment and storage medium

A transaction data and processing method technology, applied in the computer field, can solve the problems of low transaction data query efficiency, and achieve the effect of improving convenience

Active Publication Date: 2022-07-12
STATE GRID ZHEJIANG ELECTRIC POWER +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a block chain-based transaction data processing method, device, equipment, and storage medium, which solves the problem of low transaction data query efficiency, and adopts the following technical solutions:

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
  • Blockchain-based transaction data processing method, device, equipment and storage medium
  • Blockchain-based transaction data processing method, device, equipment and storage medium
  • Blockchain-based transaction data processing method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]The technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0058] like figure 1 Shown is a blockchain-based transaction data processing method according to an embodiment of the present application, which mainly includes the following steps: Step S1: Create a new business smart contract for processing and storing business data. Step S2: Create a new storage smart contract for storing hash table A and hash table B, hash table A is used to store transaction hashes of several primary key IDs corresponding to the primary key, and hash table A uses...

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 discloses a transaction data processing method, device, equipment and storage medium based on block chain. The method includes: creating a new business smart contract; creating a new storage smart contract, and establishing a hash for storing transaction hashes on it. A table A and a hash table B for storing transaction indexes; the transaction sequence number and transaction hash are constructed into a transaction node containing a node pointer and mounted in the forward linked list of the primary key ID corresponding to the primary key in hash table A Tail; the node pointer and the transaction sequence number form an index node and store the tail of the index array of the primary key ID corresponding to the primary key in hash table B. The blockchain-based transaction data processing method, device, device and storage medium of the present invention save the transaction hash and index in the smart contract, and do not need to traverse all the indexes during the query process, and use the transaction hash to query the area For specific transactions on the blockchain, there is no need to traverse blocks, which greatly improves the convenience of query.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to the field of blockchain technology, and in particular to a transaction data processing method, device, device and storage medium based on blockchain. Background technique [0002] Since its inception, blockchain technology has experienced multiple stages of development, and is gradually becoming an important engine and driving force for economic development and government efficiency. my country's blockchain industry is also in a stage of rapid development. With the continuous influx of entrepreneurs and capital, the number of enterprises is increasing rapidly, and the application of blockchain is also accelerating. "Cost reduction" and "efficiency improvement". [0003] In the blockchain application system, using the non-tampering feature of the blockchain, a large amount of data that needs to be publicized is often stored on the chain. When querying transactions within the spe...

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/22G06F16/2455G06F16/2458G06Q40/04
CPCG06F16/2255G06F16/2455G06F16/2471G06Q40/04
Inventor 王红凯何东姚一杨曾磊詹士潇邱炜伟
Owner STATE GRID ZHEJIANG ELECTRIC POWER