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

A package transaction method, device, electronic device and storage medium

An electronic device and transaction technology, applied in the network field, can solve problems such as failure, poor user experience, and user loss, and achieve the effects of reducing losses, improving user experience, and avoiding transaction execution failures

Active Publication Date: 2022-08-02
杭州秘猿科技有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of this specification provides a packaged transaction method, device, and electronic equipment to solve the problems existing in the prior art due to lack of transaction dependencies and execution failures, resulting in poor user experience and losses to users

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 package transaction method, device, electronic device and storage medium
  • A package transaction method, device, electronic device and storage medium
  • A package transaction method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] refer to figure 1 As shown in the figure, a schematic diagram of the method steps of the packaging transaction provided by the embodiment of this specification, the packaging transaction method can be applied in an account-type blockchain network to clarify transaction dependencies, and package transactions in turn according to the order of transaction dependencies. Consensus, the method may include the following steps:

[0033] Step 102: Based on the dependency field set in the transaction to be packaged, determine whether the transaction to be packaged is a packaged transaction;

[0034] If yes, go to step 104; otherwise, go to step 106.

[0035] Optionally, in the embodiment of this specification, step 102, when judging whether the transaction to be packaged belongs to a packageable transaction based on the dependency field set in the transaction to be packaged, can be specifically executed as follows:

[0036] Determine whether the transaction identifier of the ex...

Embodiment 3

[0071] An embodiment of the present specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs include instructions, and the instructions, when used by a portable electronic device including a plurality of application programs When executed, the portable electronic device can be made to execute figure 1 The method of the illustrated embodiment, and is specifically used to perform the following methods:

[0072] Based on the dependency field set in the transaction to be packaged, determine whether the transaction to be packaged is a packageable transaction;

[0073] If it belongs, package the transaction to be packaged;

[0074] Otherwise, wait for packing.

[0075] Through the above technical solution, based on the dependency field set in the transaction to be packaged, it is judged whether the transaction to be packaged belongs to a packageable transaction; if so, the t...

Embodiment 4

[0077] Figure 4 This is a schematic structural diagram of an apparatus 400 for packaging transactions provided by an embodiment of this specification. Please refer to Figure 4 , in a software implementation, the device 400 for packaging transactions may include:

[0078] The judgment module 402 is used to judge whether the transaction to be packaged belongs to a packaged transaction based on the dependency field set in the transaction to be packaged;

[0079] A packaging module 404, configured to package the transaction to be packaged if it belongs to a packageable transaction;

[0080] Otherwise, wait for packing.

[0081] Optionally, the judging module 402, when judging whether the transaction to be packaged belongs to a packageable transaction based on the dependency field set in the transaction to be packaged, is specifically used for:

[0082] Determine whether the transaction identifier of the exchange-dependent transaction to be packaged is added to the dependent ...

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 embodiments of this specification relate to a method, device, electronic device and system for packaging transactions, including: judging whether the transaction to be packaged belongs to a packaged transaction based on a dependency field set in the transaction to be packaged; The transaction to be packaged is packaged; otherwise, wait. Therefore, whether the transaction to be packaged is a packageable transaction can be determined according to the dependency field, and the transaction can be packaged for packaging, so as to avoid transaction execution failure caused by lack of transaction dependencies, reduce losses caused by transaction failure, and improve user experience.

Description

technical field [0001] The embodiments of this specification relate to the field of network technologies, and in particular, to a package transaction method, device, and electronic device. Background technique [0002] In some application scenarios of account-based blockchain, there may be dependencies between transactions. In other words, a transaction must be executed after one or more other transactions are executed. [0003] For example, a transaction deposits money into a contract, and another transaction calls the contract's deposit to complete a certain business; if the previous transaction is not executed, that is, there is no deposit in the contract, the next transaction will not be able to call the contract in the contract. Deposit, therefore, the latter transaction will inevitably fail and needs to be resent to be executed again, and the confirmation time of the transaction also becomes longer, resulting in a very poor user experience. Moreover, failed transactio...

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): G06Q20/08
CPCG06Q20/0855
Inventor 胡文超万涔涔
Owner 杭州秘猿科技有限公司