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

Transaction data processing method and device based on block chain, and electronic equipment

A technology of transaction data and blockchain, which is applied in the field of blockchain, can solve the problems of opaque transactions, high time complexity, redundant useless data, etc., and achieve the effects of easy implementation and management, reduced complexity, and improved storage methods

Active Publication Date: 2022-08-05
CHINA THREE GORGES CORPORATION +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the present invention, the inventors found that as the amount of data increases in the above-mentioned first method, the map will expand with the data, and the contract execution speed will slow down. If there is a rollback operation, the data movement involved in the array operation is relatively large. The time complexity is high. According to the storage characteristics of the blockchain, a large amount of useless data redundancy will be generated, and the complex load on the blockchain will be large.
The second method makes the complete core steps of the transaction complete offline, making the transaction opaque and losing fairness

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
  • Transaction data processing method and device based on block chain, and electronic equipment
  • Transaction data processing method and device based on block chain, and electronic equipment
  • Transaction data processing method and device based on block chain, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solution and advantages of this application embodiments more clearly, the following examples will be combined with the attached examples in the embodiments of this application to clearly and fully describe the technical scheme in this application embodiment. It is part of the embodiments of this application, not all the embodiments. The sizes of this application and its instructions are used to explain this application, which does not constitute an improper limit on this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technical personnel in the art under the premise of not making creative labor belong to the scope of this application protection.

[0057] It should be explained that in this article, the relationships such as "first" and "second" are only used to distinguish one entity or operation with another similar entity or operation, not necessarily required or required or requ...

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 and device based on a block chain and electronic equipment. According to the method provided by the embodiment of the invention, the token identifier is added to each piece of transaction data, the token identifier is written into the first linked list according to the monotone increasing mode, the transaction price is written into the second linked list, and the mapping relationships between the transaction data and the first linked list and the second linked list are established based on the mapping relationships; therefore, unified maintenance of the transaction data of different transaction prices is realized through the mapping relation, and the complexity of transaction realization is reduced. In addition, the priority of the transaction data in the processing process is determined through the monotonically increasing token identifier, and the processing flow is simplified. And finally, the transaction hash map is constructed by using the mapping relationship, and the transaction data, the transaction price and the token identifier are stored in the form of the hash map, so that the storage mode of the transaction data in the existing block chain is improved, implementation and management are facilitated, and readability is high. In the transaction data processing process, traceability is achieved.

Description

Technical field [0001] This application involves the field of blockchain technology, especially a blockchain -based transaction data processing method, device and electronic equipment. Background technique [0002] One way is to put all transactions on the contract itself, and each trading quotation maintains a map [(Double, Tradetype), ArrayList]. Among them, Double is a trading price, tradetype storage transaction type. At each quotation, the corresponding price queue is matched. Another method is to establish an application layer on the upper layer of the blockchain. After completing the transaction matching of the application layer, send it to the blockchain to complete the transaction. [0003] In the process of realizing the invention, the inventor found that the first method of the above method became larger as the amount of data, and MAP would slow down with the data of the contract. The time complexity is high. According to the storage characteristics of the blockchain, ...

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): G06Q40/04G06F21/62
CPCG06Q40/04G06F21/6227
Inventor 张险峰蔡元纪杨洪斌王罗苏营周登科
Owner CHINA THREE GORGES CORPORATION