CN113592652A - Delayed transaction method, computer device and storage medium - Google Patents

Delayed transaction method, computer device and storage medium Download PDF

Info

Publication number
CN113592652A
CN113592652A CN202110881848.XA CN202110881848A CN113592652A CN 113592652 A CN113592652 A CN 113592652A CN 202110881848 A CN202110881848 A CN 202110881848A CN 113592652 A CN113592652 A CN 113592652A
Authority
CN
China
Prior art keywords
transaction
delayed
address
judging whether
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110881848.XA
Other languages
Chinese (zh)
Other versions
CN113592652B (en
Inventor
姜鹏
王志文
吴思进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN202110881848.XA priority Critical patent/CN113592652B/en
Publication of CN113592652A publication Critical patent/CN113592652A/en
Application granted granted Critical
Publication of CN113592652B publication Critical patent/CN113592652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/42Confirmation, e.g. check or permission by the legal debtor of payment

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a delayed transaction method, computer equipment and a storage medium, which relate to the technical field of block chains and the like, and the method comprises the following steps: generating a first time delay structure body according to a first public key of a current user and first time delay information needing to be prolonged, and generating a first time delay transfer address according to the first time delay structure body; generating a delayed transaction; the delayed transaction comprises a first delayed structure body, and the address of a transaction initiator of the delayed transaction is a first delayed transfer address; generating delayed deposit transaction according to the delayed transaction; wherein, the payload field of the delayed deposit certificate transaction comprises the delayed transaction; and sending the delayed credit transaction to the blockchain network. The method and the device enable the asset calling to be more flexible.

Description

Delayed transaction method, computer device and storage medium
Technical Field
The present application relates to the field of blockchain technology, and in particular, to a delayed transaction method, a computer device, and a storage medium.
Background
In the delay mechanism proposed by the applicant (refer to the patent text or application number 202011425280.2 applied by the applicant in particular), the payload of the delay deposit transaction tx1 includes the delay transaction tx2, the user needs to deposit the asset into the delay contract, the block link point can execute the delay transaction tx2, and the asset in the delay contract cannot be called by other contracts.
Disclosure of Invention
In view of the above-identified deficiencies or inadequacies in the prior art, it would be desirable to provide a delayed transaction method, computer device, and storage medium that is more flexible for asset invocation.
In a first aspect, the present invention provides a delayed transaction method suitable for a client, where the method includes:
generating a first time delay structure body according to a first public key of a current user and first time delay information needing to be prolonged, and generating a first time delay transfer address according to the first time delay structure body;
generating a delayed transaction; the delayed transaction comprises a first delayed structure body, and the address of a transaction initiator of the delayed transaction is a first delayed transfer address;
generating delayed deposit transaction according to the delayed transaction; wherein, the payload field of the delayed deposit certificate transaction comprises the delayed transaction;
and sending the delayed credit transaction to a block chain network for block chain nodes:
when the delayed certificate-deposit transaction is judged to be the first type of transaction needing delay, deducting the commission charge of the delayed certificate-deposit transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-deposit transaction onto the block chain; and the number of the first and second groups,
storing the delayed transactions locally; and the number of the first and second groups,
when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising delayed transaction; and the number of the first and second groups,
broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of a first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
In a second aspect, the present invention provides a delayed transaction method for a blockchain node, where the method includes:
receiving a delayed deposit transaction; the system comprises a payload field of delayed certificate-storing transaction, a signature of the delayed certificate-storing transaction comprises a delayed identifier, the delayed transaction comprises a first delayed structure body, the address of a transaction initiator of the delayed transaction is a first delayed transfer address, the first delayed transfer address is generated according to the first delayed structure body, the first delayed structure body is generated according to a first public key of a first user and first delay information needing to be prolonged, and both the delayed certificate-storing transaction and the delayed transaction are generated by a first client of the first user;
when the delayed certificate-deposit transaction is judged to be the first type of transaction needing delay, deducting the commission charge of the delayed certificate-deposit transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-deposit transaction onto the block chain; and the number of the first and second groups,
storing the delayed transactions locally; and the number of the first and second groups,
when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising delayed transaction; and the number of the first and second groups,
broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of a first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
In a third aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a delayed transaction method provided according to embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program that causes a computer to execute the delayed transaction method according to the embodiments of the present invention.
According to the delayed transaction method, the computer device and the storage medium provided by the embodiments of the invention, the first delayed structure body is generated according to the first public key of the current user and the first delayed information needing to be extended, and the first delayed transfer address is generated according to the first delayed structure body; generating a delayed transaction; the delayed transaction comprises a first delayed structure body, and the address of a transaction initiator of the delayed transaction is a first delayed transfer address; generating delayed deposit transaction according to the delayed transaction; wherein, the payload field of the delayed deposit certificate transaction comprises the delayed transaction; the method for sending the delayed evidence-storing transaction to the block chain network enables the asset calling to be more flexible.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a delayed transaction method according to an embodiment of the present invention.
Fig. 2 is a flowchart of another delayed transaction method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a flowchart of a delayed transaction method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, the present invention provides a delayed transaction method suitable for a client, where the method includes:
s12: generating a first time delay structure body according to a first public key of a current user and first time delay information needing to be prolonged, and generating a first time delay transfer address according to the first time delay structure body;
s14: generating a delayed transaction; the delayed transaction comprises a first delayed structure body, and the address of a transaction initiator of the delayed transaction is a first delayed transfer address;
s16: generating delayed deposit transaction according to the delayed transaction; wherein, the payload field of the delayed deposit certificate transaction comprises the delayed transaction;
s18: and sending the delayed credit transaction to a block chain network for block chain nodes:
when the delayed certificate-deposit transaction is judged to be the first type of transaction needing delay, deducting the commission charge of the delayed certificate-deposit transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-deposit transaction onto the block chain; and the number of the first and second groups,
storing the delayed transactions locally; and the number of the first and second groups,
when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising delayed transaction; and the number of the first and second groups,
broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of a first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
Specifically, the first delay information needing to be extended is taken as a first delay time, and the initial packing time of the delayed transaction is determined according to the first delay information, wherein the initial packing time of the delayed transaction comprises 'block packing time of a block of the packed delayed deposit evidence transaction and the first delay time'; and, generating the first block including the deferred transaction comprises generating the first block including the deferred transaction; the first asset appointed by the delayed transaction is transferred to a second user address of a second user from the first delayed transfer address, and the local delayed transaction is deleted, wherein the first asset appointed by the delayed transaction is transferred to the second user account address of the second user from the first delayed transfer address; delete local delayed transactions "as an example;
the client of the user a executes the step S12, generates a delay structure S { pub (a) and T } according to the public key pub (a) of the user a and the first time length T which needs to be extended, and generates a delay transfer address addr (X) according to S; it should be understood by those skilled in the art that the method for generating addr (x) according to S may be configured according to actual requirements, for example, configured to encode S according to protobuf protocol to generate a binary string, and then perform a hash operation on the binary string to generate addr (x), or, for example, configured to encode S according to thrift protocol to generate a binary string, and then perform a hash operation on the binary string to generate addr (x), which is not limited in this application;
the client side of the user a generates a transfer transaction tx0 and sends the transfer transaction tx 0to the blockchain network, and the address of a transaction receiver of tx0 is addr (X); assuming that subsequent user a and user b agree to transfer a delayed transfer after T, and the asset transferred with the delayed transfer is 10 tokens, the asset specified by tx0 should be greater than 10 tokens to ensure that addr (X) has enough assets to be transferred; when the execution of tx0 is successful, the blockchain node transfers the asset specified by tx0 from addr (A) to addr (X); it will be appreciated by those skilled in the art that the above-described transfer transaction may also be generated by other users 'clients, or, a centralized proxy server, as long as user a sends addr (x) to other users' clients, or, a centralized proxy server;
the client of the user a executes the step S14 to generate a delayed transaction tx2, tx2 comprises S, and the transaction initiator address of tx2 is addr (X);
the client of the user a executes the step S16, and generates a delayed credit transaction tx1 according to tx2, where the payload field of tx1 includes tx 2;
the client of the user a executes the step S18 to send tx1 to the blockchain network;
when the block chain node judges that tx1 is the first type of transaction needing delay according to the executor name of tx1, deducting the handling fee of tx1, determining the initial packing time T2 of tx2 according to the block times T1 and T of the blocks packed with tx1, wherein T2 is T1+ T, and storing tx1 into the block chain; those skilled in the art will appreciate that the block link point may also determine whether tx1 is the first type of transaction according to other methods, for example, the determination is made according to the delay identifier in the tx1 signature, which can achieve the same technical effect; and the number of the first and second groups,
the tile link point stores tx2 locally; and the number of the first and second groups,
when T2 is reached and the packing right of the newest block after T2 is possessed (assuming a block with a height of 100), the block link point generates a delayed transfer address addr (X)' according to S in tx 2; it will be understood by those skilled in the art that the method for generating addr (x) 'should be the same as the method for generating addr (x), and for example, should be configured to encode S in tx2 according to protobuf protocol to generate a binary string, and then perform a hash operation on the binary string to generate addr (x)';
the blockchain node judges whether addr (x)' is the same as transaction initiator address addr (x) of tx2, judges whether signature sig _ a of tx2 matches pub (a) in S of tx 2:
since addr (x)' is the same as transaction initiator address addr (x) of tx2, and signature sig _ a of tx2 matches pub (a) in S in tx2, the block link point generates a block (100) comprising tx2, and upon successful execution of tx2, 10token is toggled from addr (x) to addr (b); and the number of the first and second groups,
broadcasting the block (100) to other block chain nodes;
the other block chain nodes generate a delayed transfer address addr (X) according to the S in the tx2, judge whether addr (X) is the same as the transaction initiator address addr (X) in the tx2, judge whether the signature sig _ a of the tx2 is matched with the pub (a) in the S in the tx2, and judge whether the block packaging time of the block (100) is later than T2:
since addr (x) is the same as transaction initiator address addr (x) of tx2, signature sig _ a of tx2 matches pub (a) in S of tx2, block packing time of block (100) is later than T2, and other blockchain nodes divide 10token from addr (x) to addr (b) when tx2 succeeds; and the number of the first and second groups,
remove the local tx 2.
Those skilled in the art will appreciate that tx2 should also perform some verification in the prior art, such as verifying that addr (x) has enough token transfer, and if the verification fails, even if addr (x) is the same as the transaction initiator address of tx2, addr (x) is the same as the transaction initiator address of tx2, signature sig _ a of tx2 matches pub (a) in S of tx2, block packing time of block (100) is later than T2, and tx2 fails to perform;
in more embodiments, the first delay information required to be extended may also be configured according to actual requirements, for example, configured as a fixed time T3, and the starting packing time is T3, so that the same technical effect may be achieved.
In more embodiments, the first asset may not be designated in the delayed transaction, and the first asset may also be configured in the first delay structure according to actual requirements, that is, S { pub (a), T,10token }; each block link point transfers 10 tokens from addr (x) to addr (b) when tx2 succeeds in execution according to 10 tokens in S.
In further embodiments, the signature information of the delayed transaction includes a delayed transaction identifier, and the step "generate the second delayed transfer address … … according to the first delayed structure in the delayed transaction" is performed only when the block link node recognizes the delayed transaction identifier, and the step "generate the third delayed transfer address … … according to the first delayed structure in the delayed transaction" is performed only when the other block link nodes recognize the delayed transaction identifier.
It should be understood by those skilled in the art that the first delay information may also be replaced by a delay block height parameter according to the actual requirement, and the delay block height parameter may also be configured according to the actual requirement, for example, configured as a certain fixed end block height, or configured as a first block interval, and then the end block height is equal to the sum of the block height of the block of the packed tx1 and the first block interval, so that the same technical effect can be achieved.
It will be understood by those skilled in the art that addr (X) is not a contract address for any contract, and thus any contract may call an asset in addr (X). The above-described embodiments make asset invocation more flexible.
Preferably, determining the starting packing time of the delayed transaction according to the first delay information, and storing the delayed deposit certificate transaction onto the block chain includes:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the first corresponding relation between the delayed certificate storing transaction and the delayed certificate storing transaction into a block chain;
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with a first public key in a first delayed structure body in the delayed transaction: when the above determinations are all yes, generating a first block including a delayed transaction includes:
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with a first public key in a first delayed structure in the delayed transaction, searching whether a delayed deposit certificate transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed deposit certificate transaction is a first-class transaction: when the judgment is yes, generating a first block comprising delayed transaction;
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with a first public key in a first delayed structure body in the delayed transaction, and judging whether the block packaging time of the first block is later than the initial packaging time: when the above judgments are all yes, deleting the local delayed transaction comprises:
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with a first public key in a first delayed structure body in the delayed transaction, judging whether the block packing time of the first block is later than the initial packing time, searching whether a delayed evidence storing transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed evidence storing transaction is a first-type transaction: and if the judgment is yes, deleting the local delayed transaction.
Specifically, the block link point determines the starting packing time T2 of tx2 according to the block times T1 and T of the blocks of the packed tx1, wherein T2 is T1+ T;
storing the corresponding relation between tx1 and tx2 into a block chain; those skilled in the art should understand that the storage form of the above correspondence may be configured according to actual requirements, for example, configured as hash (tx 1): hash (tx2), or tx1: tx2, or other forms, the application is not particularly limited;
the block chain node judges whether addr (X)' is the same as transaction initiator address addr (X) of tx2, judges whether signature sig _ a of tx2 is matched with pub (a) in S of tx2, searches whether tx1 exists on the chain according to the corresponding relation, and judges whether the searched tx1 is a first-type transaction;
since addr (x)' is the same as transaction initiator address of tx2, signature sig _ a of tx2 is matched with pub (a) in S of tx2, tx1 can be found on the block chain, the found tx1 is the first type of transaction, and the block chain node generates the first block including tx 2; those skilled in the art should understand that, in further embodiments, addr (x)' may be configured differently from addr (x), and/or tx1 may not be found on the block chain, and/or tx1 found is not an operation of the first type transaction, for example, configured to unpack tx 2;
the determination method of other block chain nodes is similar to that of the block chain node, and is not repeated here.
Preferably, generating the first block comprising the deferred transactions comprises:
generating a first block comprising a delayed transaction;
transferring the first asset designated by the delayed transaction from the first delayed transfer address to a second user address of a second user;
deleting local delayed transactions includes:
transferring the first asset appointed by the delayed transaction from the first delayed transfer address to a second user account address of a second user;
and deleting the local delayed transactions.
The delayed transaction principle of the above embodiment can refer to the method shown in fig. 1, and is not described herein again.
Preferably, the method further comprises:
generating an asset extraction transaction comprising a hash value of the delayed transaction; the asset extraction transaction comprises a first delay transfer address, a first delay structure and a second delay structure, wherein the transaction initiator address of the asset extraction transaction is the first delay transfer address;
sending the asset extraction transaction to a blockchain network for blockchain nodes to:
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as the transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction;
marking the local delayed transaction as invalid; and the number of the first and second groups,
the delayed transactions marked as invalid are credited while being executed.
It will be understood by those skilled in the art that when the transaction recipient address of the asset retrieval transaction is the second user address of the second user, this indicates that the asset is being pre-staged to the second user; when the transaction recipient address of the asset retrieval transaction is the first user address of the first user, the asset is referred to as being revoked to the first user. Either way, local delayed transactions should be marked as stale;
in further embodiments, the execution method of the failed delayed transaction may be configured according to actual requirements, for example, the execution method is configured to record the transaction hash of the failed delayed transaction to the blockchain, or delete the local delayed transaction, cache the transaction hash of the delayed transaction, and mark the transaction hash with the failure identifier, where the transaction hash with the failure identifier is used to delete the delayed transaction when the delayed transaction is received again at the blockchain node.
The above-described embodiments enable advanced confirmation transfers or withdrawals of assets.
Preferably, determining the starting packing time of the delayed transaction according to the first delay information, and storing the delayed deposit certificate transaction onto the block chain includes:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the second corresponding relation between the delayed transaction and the initial packaging time and the delayed certificate storing transaction into a block chain;
the method further comprises the following steps:
generating an asset extraction transaction comprising a hash value of the delayed transaction; the asset extraction transaction comprises a first delay transfer address, a first delay structure and a second delay structure, wherein the transaction initiator address of the asset extraction transaction is the first delay transfer address;
sending the asset extraction transaction to a blockchain network for blockchain nodes to:
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as the transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction; and the number of the first and second groups,
updating the second corresponding relation as follows: delayed transaction and invalidation identification;
and (3) executing delayed transaction: and when the delayed transaction is judged to be invalid transaction according to the updated second corresponding relation, storing the evidence for delayed transaction.
The above-described embodiments may also enable advanced confirmation transfers or withdrawals of assets. In the above embodiment, the block chain is certified to have the second correspondence; in the second correspondence, delayed transactions: and when the packing time is started, the packing time can be quickly inquired according to the second corresponding relation.
Preferably, sending the delayed credit transaction to the blockchain network comprises:
generating a first transfer transaction; wherein the address of a transaction receiver of the first transfer transaction is a first delayed transfer address;
generating a first transaction group in the sequence of the first transfer transaction before and the delayed evidence-saving transaction after, and sending the first transaction group to the block chain network;
when the delayed deposit certificate transaction is judged to be the first type transaction needing delay according to the delay identification in the signature of the delayed deposit certificate transaction, and before a third delayed transfer address is generated according to the first delay structure body in the delayed transaction, the method further comprises the following steps:
and when the first transfer transaction is successfully executed, transferring the second asset specified by the first transfer transaction from the first user account address of the current user to the first delayed transfer address.
By constructing the transaction group, the failure rate of the delayed transactions in executing due to insufficient assets in the first delayed transfer address is reduced.
Fig. 2 is a flowchart of another delayed transaction method according to an embodiment of the present invention. The method shown in fig. 2 may be used in conjunction with the method shown in fig. 1. As shown in fig. 2, in this embodiment, the present invention provides a delayed transaction method for a blockchain node, where the method includes:
s22: receiving a delayed deposit transaction; the system comprises a payload field of delayed certificate-storing transaction, a signature of the delayed certificate-storing transaction comprises a delayed identifier, the delayed transaction comprises a first delayed structure body, the address of a transaction initiator of the delayed transaction is a first delayed transfer address, the first delayed transfer address is generated according to the first delayed structure body, the first delayed structure body is generated according to a first public key of a first user and first delay information needing to be prolonged, and both the delayed certificate-storing transaction and the delayed transaction are generated by a first client of the first user;
s23: when the delayed certificate-deposit transaction is judged to be the first type of transaction needing delay, deducting the commission charge of the delayed certificate-deposit transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-deposit transaction onto the block chain; and the number of the first and second groups,
s24: storing the delayed transactions locally; and the number of the first and second groups,
s25: when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising delayed transaction; and the number of the first and second groups,
s26: broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to a first delayed structure body in delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with a first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of a first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
The delayed transaction principle of the above embodiment can refer to the method shown in fig. 1, and is not described herein again.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
As shown in fig. 3, as another aspect, the present application also provides a computer apparatus including one or more Central Processing Units (CPUs) 301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data necessary for the operation of the computer apparatus are also stored. The CPU301, ROM302, and RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
In particular, according to an embodiment of the present disclosure, the method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing any of the methods described above. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 309, and/or installed from the removable medium 311.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a computer-readable storage medium that exists separately and is not assembled into a computer device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present application.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. A delayed transaction method, applied to a client, the method comprising:
generating a first time delay structure body according to a first public key of a current user and first time delay information needing to be prolonged, and generating a first time delay transfer address according to the first time delay structure body;
generating a delayed transaction; the delayed transaction comprises the first delayed structure, and the address of a transaction initiator of the delayed transaction is the first delayed transfer address;
generating delayed deposit transaction according to the delayed transaction; wherein a payload field of the delayed credit transaction comprises the delayed transaction;
and sending the delayed credit transaction to a block chain network for block chain nodes:
when the delayed certificate-depositing transaction is judged to be a first type of transaction needing delay, deducting the commission charge of the delayed certificate-depositing transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-depositing transaction on a block chain; and the number of the first and second groups,
storing the delayed transaction locally; and the number of the first and second groups,
when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to the first delayed structure body in the delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising the delayed transaction; and the number of the first and second groups,
broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to the first delayed structure body in the delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of the first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
2. The method of claim 1, wherein the determining the initial packaging time of the delayed transaction according to the first delay information and storing the delayed credit transaction onto a blockchain comprises:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the first corresponding relation between the delayed certificate-storing transaction and the delayed certificate-storing transaction to a block chain;
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction: when the above determinations are all yes, generating the first block including the delayed transaction includes:
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction, searching whether the delayed deposit certificate transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed deposit certificate transaction is the first type transaction: when the judgment is yes, generating a first block comprising the delayed transaction;
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of the first block is later than the initial packing time: when the above judgment is yes, deleting the local delayed transaction comprises:
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction, judging whether the block packing time of the first block is later than the initial packing time, searching whether the delayed evidence storing transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed evidence storing transaction is the first type transaction: and if the judgment is yes, deleting the local delayed transaction.
3. The method of claim 1, wherein generating the first block comprising the delayed transaction comprises:
generating a first block comprising the delayed transaction;
transferring a first asset specified by the delayed transaction from the first delayed transfer address to a transaction recipient address of the delayed transaction;
the deleting the local delayed transaction comprises:
transferring a first asset specified by the delayed transaction from the first delayed transfer address to a transaction recipient address of the delayed transaction;
and deleting the local delayed transaction.
4. The method of claim 1, further comprising:
generating an asset extraction transaction comprising a hash value of the delayed transaction; wherein a transaction initiator address of the asset extraction transaction is the first delayed transfer address, the asset extraction transaction including the first delay structure;
sending the asset extraction transaction to a blockchain network for blockchain nodes to:
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as a transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction;
marking the local delayed transaction as invalid; and the number of the first and second groups,
and when the delayed transaction marked as invalid is executed, storing and certifying the delayed transaction.
5. The method of claim 1, wherein the determining the initial packaging time of the delayed transaction according to the first delay information and storing the delayed credit transaction onto a blockchain comprises:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the second corresponding relation between the delayed transaction and the initial packaging time and the delayed certificate storing transaction into a block chain;
the method further comprises the following steps:
generating an asset extraction transaction comprising a hash value of the delayed transaction; wherein a transaction initiator address of the asset extraction transaction is the first delayed transfer address, the asset extraction transaction including the first delay structure;
sending the asset extraction transaction to a blockchain network for blockchain nodes to:
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as a transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction; and the number of the first and second groups,
updating the second corresponding relation as follows: the delayed transaction and the failure mark;
executing the delayed transaction: and when the delayed transaction is judged to be invalid transaction according to the updated second corresponding relation, storing and certifying the delayed transaction.
6. The method of any of claims 1-5, wherein sending the delayed credit transaction to a blockchain network comprises:
generating a first transfer transaction; wherein the transaction recipient address of the first transfer transaction is the first delayed transfer address;
generating a first transaction group according to the sequence of the first transfer transaction before and the delayed evidence-saving transaction after, and sending the first transaction group to a block chain network;
when the delayed evidence deposit transaction is judged to be a first type of transaction needing delay, and before a third delayed transfer address is generated according to the first delayed structure body in the delayed transaction, the method further comprises the following steps:
and when the first transfer transaction is successfully executed, transferring the second asset specified by the first transfer transaction from the first user account address of the current user to the first delayed transfer address.
7. A delayed transaction method applied to a blockchain node, the method comprising:
receiving a delayed deposit transaction; the payload field of the delayed credit transaction comprises a delayed transaction, the signature of the delayed credit transaction comprises a delayed identifier, the delayed transaction comprises a first delayed structure, the transaction initiator address of the delayed transaction is a first delayed transfer address, the first delayed transfer address is generated according to the first delayed structure, the first delayed structure is generated according to a first public key of a first user and first delay information needing to be prolonged, and the delayed credit transaction and the delayed transaction are both generated by a first client of the first user;
when the delayed certificate-depositing transaction is judged to be a first type of transaction needing delay, deducting the commission charge of the delayed certificate-depositing transaction, determining the initial packaging time of the delayed transaction according to the first delay information, and depositing the delayed certificate-depositing transaction on a block chain; and the number of the first and second groups,
storing the delayed transaction locally; and the number of the first and second groups,
when the initial packaging time is reached and the packaging right of the latest first block after the initial packaging time is possessed, generating a second delayed transfer address according to the first delayed structure body in the delayed transaction, judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction: when the judgment is yes, generating a first block comprising the delayed transaction; and the number of the first and second groups,
broadcasting the first block to other blockchain nodes for the other blockchain nodes to:
generating a third delayed transfer address according to the first delayed structure body in the delayed transaction, judging whether the third delayed transfer address is the same as a transaction initiator address of the delayed transaction, judging whether a signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of the first block is later than the initial packing time: and if the judgment is yes, deleting the local delayed transaction.
8. The method of claim 7, wherein determining the initial packaging time of the delayed transaction according to the first delay information and depositing the delayed deposit transaction onto a blockchain comprises:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the first corresponding relation between the delayed certificate-storing transaction and the delayed certificate-storing transaction to a block chain;
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, and judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction: when the above determinations are all yes, generating the first block including the delayed transaction includes:
judging whether the second delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction, searching whether the delayed deposit certificate transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed deposit certificate transaction is the first type transaction: when the judgment is yes, generating a first block comprising the delayed transaction;
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure body in the delayed transaction, and judging whether the block packing time of the first block is later than the initial packing time: when the above judgment is yes, deleting the local delayed transaction comprises:
judging whether the third delayed transfer address is the same as the transaction initiator address of the delayed transaction, judging whether the signature of the delayed transaction is matched with the first public key in the first delayed structure in the delayed transaction, judging whether the block packing time of the first block is later than the initial packing time, searching whether the delayed evidence storing transaction exists on a block chain according to the first corresponding relation, and judging whether the searched delayed evidence storing transaction is the first type transaction: and if the judgment is yes, deleting the local delayed transaction.
9. The method of claim 7, wherein generating the first block comprising the delayed transaction comprises:
generating a first block comprising the delayed transaction;
transferring a first asset specified by the delayed transaction from the first delayed transfer address to a transaction recipient address of the delayed transaction;
the deleting the local delayed transaction comprises:
transferring a first asset specified by the delayed transaction from the first delayed transfer address to a transaction recipient address of the delayed transaction;
and deleting the local delayed transaction.
10. The method of claim 7, further comprising:
receiving an asset extraction transaction comprising a hash value of the delayed transaction; wherein the asset extraction transaction is generated by the first client, a transaction initiator address of the asset extraction transaction is the first delayed transfer address, and the asset extraction transaction comprises the first delayed structure;
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as a transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction;
marking the local delayed transaction as invalid; and the number of the first and second groups,
and when the delayed transaction marked as invalid is executed, storing and certifying the delayed transaction.
11. The method of claim 7, wherein determining the initial packaging time of the delayed transaction according to the first delay information and depositing the delayed deposit transaction onto a blockchain comprises:
determining the initial packaging time of the delayed transaction according to the first delay information;
storing the second corresponding relation between the delayed transaction and the initial packaging time and the delayed certificate storing transaction into a block chain;
the method further comprises the following steps:
receiving an asset extraction transaction comprising a hash value of the delayed transaction; wherein the asset extraction transaction is generated by the first client, a transaction initiator address of the asset extraction transaction is the first delayed transfer address, and the asset extraction transaction comprises the first delayed structure;
generating a fourth delayed transfer address according to the first delayed structure body in the asset extraction transaction, judging whether the fourth delayed transfer address is the same as a transaction initiator address of the asset extraction transaction, judging whether the current block moment does not reach the initial packing moment, and judging whether the signature of the asset extraction transaction is matched with the first public key in the first delayed structure body in the asset extraction transaction;
if yes, transferring the first asset appointed by the delayed transaction from the first delayed transfer address to the address of a transaction receiver of the asset extraction transaction;
updating the second corresponding relation as follows: the delayed transaction and the failure mark;
executing the delayed transaction: and when the delayed transaction is judged to be invalid transaction according to the updated second corresponding relation, storing and certifying the delayed transaction.
12. The method of any of claims 7-11, wherein receiving the delayed credit transaction comprises:
receiving a first transaction group; the first transaction group comprises a first forward transfer transaction and a later delayed deposit transaction, the address of a transaction receiver of the first forward transfer transaction is the first delayed transfer address, and the first transaction group is generated by the first client;
when the delayed deposit certificate transaction is judged to be the first type transaction needing delay according to the delay identification in the signature of the delayed deposit certificate transaction, and before a third delayed transfer address is generated according to the first delay structure body in the delayed transaction, the method further comprises the following steps:
and when the first transfer transaction is successfully executed, transferring the second asset specified by the first transfer transaction from the first user account address of the current user to the first delayed transfer address.
13. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-12.
14. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-12.
CN202110881848.XA 2021-08-02 2021-08-02 Delay transaction method, computer device and storage medium Active CN113592652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881848.XA CN113592652B (en) 2021-08-02 2021-08-02 Delay transaction method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881848.XA CN113592652B (en) 2021-08-02 2021-08-02 Delay transaction method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113592652A true CN113592652A (en) 2021-11-02
CN113592652B CN113592652B (en) 2023-05-30

Family

ID=78253846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881848.XA Active CN113592652B (en) 2021-08-02 2021-08-02 Delay transaction method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN113592652B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020022531A1 (en) * 2018-07-23 2020-01-30 주식회사 더볼터 Method and system for dynamic time delay-based chain connection in pop-based blockchain
CN110930157A (en) * 2019-11-14 2020-03-27 杭州复杂美科技有限公司 Delayed transaction processing method, device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020022531A1 (en) * 2018-07-23 2020-01-30 주식회사 더볼터 Method and system for dynamic time delay-based chain connection in pop-based blockchain
CN110930157A (en) * 2019-11-14 2020-03-27 杭州复杂美科技有限公司 Delayed transaction processing method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕坤;鲍可进;: "基于区块链的数字资产交易系统设计与实现", 软件导刊 *

Also Published As

Publication number Publication date
CN113592652B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN109075964B (en) Block chaining supporting multiple one-way functions for block verification
CN113094396B (en) Data processing method, device, equipment and medium based on node memory
CN112862612A (en) Method and device for sending resources in cross-link mode
CN112583811B (en) Wallet finding method, equipment and storage medium
CN112600664B (en) Delayed transaction generation method, delayed transaction execution device and storage medium
CN109377365B (en) Asset transfer method, device and storage medium
CN110060161B (en) Client service implementation method and service assembly for block chain transaction repetition prevention
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN111008249B (en) Parallel chain block synchronization method, device and storage medium
CN113132459B (en) Distributed storage method, system, storage medium, information data processing terminal
CN113592653A (en) Proxy delayed transaction method, computer device and storage medium
CN112231415B (en) Data synchronization method and system of block chain network, electronic device and readable medium
CN113592652B (en) Delay transaction method, computer device and storage medium
CN111523897A (en) Anti-attack method, device and storage medium
CN111047444A (en) Data transaction method and device based on block chain network
CN111524011B (en) Parallel link consensus validation method, apparatus, and storage medium
CN114266665B (en) Contract multi-main chain crossing method, equipment and storage medium
CN113592485B (en) Wallet retrieving method, computer device and storage medium
US11568399B2 (en) Distributed ledger management system, distributed ledger management method, and node
CN113222576B (en) Delayed transfer method, computer device and storage medium
CN113222577B (en) Delayed transfer method, computer device and storage medium
CN112910643A (en) Method and device for generating random number in block chain
CN113592643B (en) Asset periodic thawing method, computer device and storage medium
CN111858772A (en) Parallel chain transaction group execution method, device and storage medium
CN114283010B (en) Multi-main-chain crossing method based on multi-main-chain two-layer network state tree

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant