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

Transaction task asynchronous deletion method, device and equipment and readable storage medium

An asynchronous deletion and task technology, applied in the field of blockchain, can solve the problems of slowing down the transaction speed of the blockchain network, the deletion operation occupying a large transaction time, and the amount of transaction information being large.

Pending Publication Date: 2022-04-05
成都质数斯达克科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The traditional blockchain transaction task scheduling method is to delete the transaction information on the backup storage immediately after the execution server executes after sending the transaction information. The amount of transaction information is large. If the data storage strategy of immediate deletion is still used, the deletion operation will take up a lot of transaction time, which will lead to a decrease in the transaction speed of the entire blockchain network.

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 task asynchronous deletion method, device and equipment and readable storage medium
  • Transaction task asynchronous deletion method, device and equipment and readable storage medium
  • Transaction task asynchronous deletion method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Such as figure 1 and Figure 4 As shown, this embodiment provides a method for asynchronously deleting a transaction task, which includes step S1, step S2, step S3, step S4 and step S5.

[0030] Step S1. Responding to the transaction request sent by the client, and generating first transaction information according to the transaction request, the first transaction information includes a first transaction identifier;

[0031] After receiving the transaction request sent by the client, the server will generate transaction information according to the content of the transaction request. party account, and then sign the transaction information, create a new first transaction identifier, that is, a transaction ID, and call the signed transaction information the first transaction information.

[0032] Step S2. Backing up the first transaction information to a secondary storage block;

[0033] It is used to prevent the loss of data in the first-level storage block in the ev...

Embodiment 2

[0044] Such as figure 2 As shown, this embodiment provides an apparatus for asynchronous deletion of transaction tasks, which includes a first calculation module 71 , a first backup module 72 , a second calculation module 73 , a third calculation module 74 and a fourth calculation module 75 .

[0045] The first calculation module 71 is configured to respond to the transaction request sent by the client, and generate first transaction information according to the transaction request, the first transaction information including the first transaction identifier;

[0046] A first backup module 72, configured to back up the first transaction information to a secondary storage block;

[0047] The second calculation module 73 is configured to add the first transaction information to the execution list in the primary storage block, the execution list is a table containing a plurality of transaction information to be executed;

[0048] The third calculation module 74 is configured to...

Embodiment 3

[0052] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a device for asynchronously deleting a transaction task. The device for asynchronously deleting a transaction task described below and the method for asynchronously deleting a transaction task described above can be referred to in correspondence.

[0053] image 3 It is a block diagram of a device 800 for asynchronously deleting a transaction task according to an exemplary embodiment. Such as image 3 As shown, the electronic device 800 may include: a processor 801 and a memory 802 . The electronic device 800 may also include one or more of a multimedia component 803 , an input / output (I / O) interface 804 , and a communication component 805 .

[0054] Wherein, the processor 801 is used to control the overall operation of the electronic device 800 to complete all or part of the steps in the above-mentioned method for asynchronously deleting a transaction task. The memor...

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 relates to the technical field of block chains, in particular to a transaction task asynchronous deletion method, device and equipment and a readable storage medium, and the method comprises the steps: responding to a transaction request sent by a client, and generating first transaction information according to the transaction request; adding the first transaction information to an execution list in a first-level storage block; sending the first transaction information in the execution list to an execution server; judging whether the processing result is received within a preset time period, and if the processing result is received, adding the first transaction identifier to a list to be deleted in the first-level storage block; according to the invention, the transaction identifier in the responded first transaction information is stored in the to-be-deleted list, when the block chain network system is busy, the deletion operation is not executed, and when the block chain system is idle, the transaction information corresponding to the to-be-deleted list in the secondary storage server is deleted, so that the deletion efficiency is improved. And the transaction speed of the block chain network is effectively prevented from being reduced.

Description

technical field [0001] The blockchain technology field of the present invention, in particular, relates to a transaction task asynchronous deletion method, device, equipment and readable storage medium. Background technique [0002] The traditional blockchain transaction task scheduling method is to delete the transaction information on the backup storage immediately after the execution server executes after sending the transaction information. The amount of transaction information is large. If the data storage strategy of immediate deletion is still used, the deletion operation will take up a lot of transaction time, which will lead to a decrease in the transaction speed of the entire blockchain network. Contents of the invention [0003] The purpose of the present invention is to provide a transaction task asynchronous deletion method, device, equipment and readable storage medium to improve the above problems. [0004] In order to achieve the above purpose, the embodim...

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): G06F9/50G06Q40/04
Inventor 张扬李成才邓柯
Owner 成都质数斯达克科技有限公司