CN113191894A - Method and device for executing digital currency transaction and electronic equipment - Google Patents

Method and device for executing digital currency transaction and electronic equipment Download PDF

Info

Publication number
CN113191894A
CN113191894A CN202010936631.XA CN202010936631A CN113191894A CN 113191894 A CN113191894 A CN 113191894A CN 202010936631 A CN202010936631 A CN 202010936631A CN 113191894 A CN113191894 A CN 113191894A
Authority
CN
China
Prior art keywords
transaction
digital currency
instruction
transaction execution
account
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.)
Pending
Application number
CN202010936631.XA
Other languages
Chinese (zh)
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.)
Digital Currency Institute of the Peoples Bank of China
Original Assignee
Digital Currency Institute of the Peoples Bank of China
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 Digital Currency Institute of the Peoples Bank of China filed Critical Digital Currency Institute of the Peoples Bank of China
Publication of CN113191894A publication Critical patent/CN113191894A/en
Pending legal-status Critical Current

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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the specification provides a method and a device for executing digital currency transaction and electronic equipment. The method comprises the following steps: acquiring a digital currency transaction to be executed; generating transaction execution instructions corresponding to each participant in the digital currency transaction based on the transaction content of the digital currency transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants; and sequencing the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, and sequentially executing each transaction execution instruction according to the sequenced sequence to finish the digital currency transaction.

Description

Method and device for executing digital currency transaction and electronic equipment
Technical Field
The embodiment of the specification relates to the field of digital currency, in particular to a method and a device for executing digital currency transaction and an electronic device.
Background
At present, mobile payment realized based on electronic accounts is quite common, however, the payment method is only a payment tool per se, is an information process of the existing legal currency, and cannot be called digital currency in a strict sense.
The digital money is usually legal money issued by a country specifying organization or authorized by the country specifying organization, and represented by an encrypted digital string representing a specific amount of money using cryptography as a technical support. In contrast to traditional mobile payments, data currency is itself legal currency and may no longer need to be associated with an electronic account, so digital currency has been more than just a payment instrument.
Based on the existing issuing system of digital currency, a double-layer delivery system from a digital currency issuing mechanism to an operating mechanism is usually followed; among them, the operator generally refers to an organization such as a commercial bank, a third party payment organization, etc. permitted by the digital money issuing organization, which has a right to issue digital money. The operator can apply for the issuance limit of the digital currency from the digital currency issuer, and based on the applied issuance limit, the digital currency is deployed on a front encryption machine of the operator through the digital currency issuer to "issue" the digital currency, and then based on the "issued" digital currency, the exchange service related to the data currency is provided for the common user; for example, a typical user may choose to exchange an individual's electronic account balance for digital money, or to exchange held digital money for an electronic account balance.
Disclosure of Invention
The embodiment of the specification provides a method and a device for executing digital currency transaction and an electronic device:
according to a first aspect of embodiments herein, there is provided a method of performing a digital currency transaction, the method comprising:
acquiring a digital currency transaction to be executed;
generating transaction execution instructions corresponding to each participant in the digital currency transaction based on the transaction content of the digital currency transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
and sequencing the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, and sequentially executing each transaction execution instruction according to the sequenced sequence to finish the digital currency transaction.
Optionally, the digital currency transaction to be performed comprises a plurality of digital currency transactions;
the generating transaction execution instructions corresponding to respective parties in the digital currency transaction includes:
ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed;
and according to the sorted transaction sequence, sequentially generating transaction execution instructions corresponding to each participant in each digital currency transaction in the plurality of digital currency transactions.
Optionally, the sorting the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority includes:
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority;
and determining the dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship.
Optionally, the transaction executes the marked dependent instruction, including one or more; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
Optionally, each participant in the digital currency transaction comprises: transferring digital currency out of an account and transferring digital currency into the account; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account;
marking dependent instructions for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, comprising:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction;
determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction;
if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction;
if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
Optionally, the transaction execution instruction corresponding to the transfer-out account includes an execution instruction for splitting digital currency with an amount equal to the transaction amount from the transfer-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency.
According to a second aspect of embodiments herein, there is provided an apparatus for performing a digital money transaction, the apparatus comprising:
an acquisition unit that acquires a digital money transaction to be executed;
a generation unit that generates transaction execution instructions corresponding to respective parties in the digital money transaction based on transaction contents of the digital money transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
and the execution unit is used for sequencing the generated transaction execution instructions corresponding to all the participants in the digital currency transaction according to the priority and sequentially executing all the transaction execution instructions according to the sequenced sequence so as to finish the digital currency transaction.
Optionally, the digital currency transaction to be performed comprises a plurality of digital currency transactions;
the generation unit includes: ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed; and according to the sorted transaction sequence, sequentially generating transaction execution instructions corresponding to each participant in each digital currency transaction in the plurality of digital currency transactions.
Optionally, the sorting, by the execution unit, the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority includes:
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority; and determining the dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship.
Optionally, the transaction executes the marked dependent instruction, including one or more; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
Optionally, each participant in the digital currency transaction comprises: transferring digital currency out of an account and transferring digital currency into the account; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account;
marking, by the execution unit, a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, including:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction; determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction; if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction; if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
Optionally, the transaction execution instruction corresponding to the transfer-out account includes an execution instruction for splitting digital currency with an amount equal to the transaction amount from the transfer-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency.
According to a fifth aspect of embodiments herein, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform any of the above digital currency transactions.
The embodiment of the specification provides an execution scheme of digital currency transactions, which divides the digital currency transactions into transaction execution instructions corresponding to each participant and generates an execution priority of each transaction execution instruction; ordering the generated transaction execution instructions corresponding to the various parties in the digital currency transaction by indicating an execution order of the transaction execution instructions in the generated transaction execution instructions corresponding to the various parties by an execution priority; and executing the transaction execution instructions in sequence according to the sorted sequence to complete the digital currency transaction. Therefore, through the sequencing result of the transaction execution instruction, the digital currency transaction can trace the whole life cycle of digital currency circulation, and meanwhile, the concurrent processing can be met, so that the controllable anonymous circulation of the digital currency is facilitated.
Drawings
FIG. 1 is a schematic diagram of issuing digital currency as provided by one embodiment of the present specification;
FIG. 2 is a flow chart of a method of performing a digital currency transaction provided in one embodiment of the present description;
3a-3b are schematic diagrams of transaction execution instruction sequencing provided by one embodiment of the present description;
fig. 4 is a hardware configuration diagram of an execution apparatus for digital money transaction provided in an embodiment of the present specification;
fig. 5 is a block diagram of an apparatus for executing a digital money transaction according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, some technical concepts related to the present specification are introduced:
digital currency is usually issued by a country-specific institution or authorized by the country-specific institution, and cryptographic technology is used as technical support; legal currency in the form of a string of encrypted numbers representing a specific amount of money.
Digital currency issuing institution: country-specific organizations that have rights to issue digital currency, or other organizations that the organization authorizes digital currency.
Digital money operating institution: the digital currency is typically a third party operator licensed by a digital currency issuer with the right to issue digital currency; for example, a third-party operator such as a commercial bank or a third-party payment platform may obtain the right to issue digital money in digital money under the permission of the digital money issuing authority.
Digital currency is different from traditional electronic currency based on electronic accounts. In the issuing mode, the digital currency is the digitization of the currency itself, and does not depend on any bank account and a single network, while the electronic currency depends on the bank account and the single network. In the storage mode, the digital currency is a string of characters generated by a digital currency issuing mechanism according to an encryption mechanism, and a storage medium of the digital currency can be a mobile phone, and can also be electronic equipment such as a card, a magnetic disk, a computer and the like; electronic money is electronic money, and the electronic money is stored in a bank account or an escrow account and cannot be stored in any electronic device. In the circulation mode, the electronic money can only be stored in a bank account or an escrow account, and the electronic money must circulate by depending on a special network and cannot be transferred between two users; digital money can be stored on various electronic devices, so that the digital money can be circulated by different networks, and the circulation process is essentially completed by transferring between the electronic purses of two users. In addition, electronic money does not have a real name, and the circulation process cannot be traced; the digital currency has a real name, so that even if the ownership of the digital currency changes in the circulation process, the process tracing can be realized, and the risk of illegal transactions is avoided.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an issue of digital currency according to the present disclosure.
Based on the existing issuing system of digital currency, the digital currency issuing system generally follows a double-layer delivery system from a digital currency issuing organization to an operator. The double-layer delivery system is characterized in that a digital currency issuing organization authorizes the right of issuing digital currency to an operation organization, and makes full use of the existing mature IT (Internet Technology) infrastructure and service system of the operation organization to issue and 'deliver' the digital currency for a large user group.
As shown in fig. 1, in the above-described two-tier delivery system, the operator can apply to the digital money issuer for issuing the credit of the digital money after acquiring the digital money issuance license of the digital money issuer. After the digital currency issuing organization passes the examination and approval, the credit certificate of the issued credit acquired by the operation organization can be returned to the operation organization; for example, the credit voucher returned by the digital currency issuer may typically be a string of encrypted characters.
The issuing amount of the digital currency and the digital currency obtained by the operator generally depends on the amount of the preparation deposit paid by the operator at the digital currency issuer. For example, an operator who has received a license to issue digital money using a two-tier delivery system may open a deposit account in the digital money issuer and pay the deposit to the digital money issuer in accordance with 100% of the issue amount.
With continued reference to fig. 1, the various operators having digital currency issuing rights may communicate with each other via an interworking device deployed at the digital currency issuing authority. In addition, the digital currency issuing organization can also deploy the front encryption machine at each operation organization with digital currency issuing rights; for example, the digital money issuing institution may deploy the front encryption machine in a machine room of each operator.
The front encryption machine is particularly used for carrying out encryption operation related to digital currency. The operation organization can use the front-end encryption machine to submit the credit voucher issued by the digital currency issuing organization as a calling parameter to the front-end encryption machine so as to 'exchange' the issued credit of the digital currency acquired by the operation organization into large-amount digital currency;
for example, after the operator submits the credit line voucher to the front-end encryption device, the front-end encryption device can verify the credit line voucher submitted by the operator, and after the verification is passed, the front-end encryption device creates digital currency matched with the issued credit line of the operator for the operator, and returns the created digital currency to the operator.
The specific form of the front-end encryption device may be a hardware device equipped with a secure computing environment; in the secure computing environment mounted on the hardware device, data such as a public-private key pair of a digital currency issuing organization can be maintained, and the secure computing environment can undertake some series of encryption operations involved in the digital currency issuing process.
Of course, in practical applications, the front-end encryption device may be encryption software developed by a digital money issuing organization, and is not particularly limited in this specification; that is, the front-end encryption device described in this specification may specifically be a hardware device, or may also be a logic device.
After the operator changes the acquired digital currency into a large amount of digital currency, the large amount of digital currency can be stored in a database of the operator, and the exchange service related to the digital currency is provided for common users based on the large amount of digital currency stored in the database; for example, a typical user may choose to exchange an individual's electronic account balance for digital money, or to exchange held digital money for an electronic account balance.
With continued reference to fig. 1, for a typical user, a digital currency wallet may be opened at the operator. The digital currency wallet can be associated and bound with a traditional account system, so that the digital currency wallet can be opened based on the user identity of the existing account system, the non-difference experience and smooth transition of the existing financial infrastructure and the user are realized, the opening of various application scenes is conveniently realized, and the wide application of the digital currency is facilitated.
Most of the existing electronic purses and digital purses are only an application located on a mobile terminal, are not independent purses, are not digitalized entity purses and depend on a background account system. Different from the prior art, the digital money wallet is a completely independent terminal wallet and is a carrier for actually storing encrypted digital money, the digital money is recorded in the digital money terminal wallet, the digital money is really transferred among the digital money wallets, the digital money wallet is a digital entity wallet in the true sense, does not depend on a background account system, and can also provide various wallet application functions based on a terminal localization entity wallet.
In terms of a security protection mechanism, the existing electronic wallet depends on a background system in the security protection mechanism, and an effective and complete security protection mechanism is lacked in terms of a wallet terminal. The digital currency wallet adopts a local safety protection mechanism, does not depend on a background system and other mechanisms, can effectively protect the operation and transaction processing process of the whole wallet, and improves the safety protection capability of the wallet to a great extent.
In summary, digital money wallets are based on digital money with encryption technology as the core, and thus are different from electronic wallets based on an account system. While digital currency terminal wallets emphasize terminal-deployed wallets, rather than being based on a front-end presentation and operational interface outside of the network core accounting system, the terminal wallets provide fully localized standalone wallet operations and functional support based on a local security module and operating system provided by the terminal's operating environment (e.g., mobile terminal, etc.). Finally, the digital currency terminal wallet meets the management requirements of a digital currency issuing mechanism, can be communicated with the existing account system, and realizes the integration with financial infrastructure. Thus, the digital currency wallet is a completely new design, different from account-based wallets and token wallets like bitcoins, and indeed can replace traditional physical currency, complete payments and support other financial and business needs, digital currency-oriented digital entity wallets.
The user may exchange an individual's electronic account balance into digital currency for maintenance in a digital currency wallet.
Assuming that the amount of the large-amount digital currency stored in the database of the operating institution is 1 ten thousand yuan, the user initiates an operation of exchanging 1000 yuan digital currency by using the balance of the electronic account; at this time, the operator may call the front-end encryption device deployed by the digital money issuing organization, and submit 1 ten thousand dollars of digital money and the amounts of 1000 dollars and 9000 dollars to be replaced to the front-end encryption device as call parameters.
The front-end encryptor may then return two digital currencies having amounts of 1000 and 9000 dollars, respectively, to the operator. After receiving the two digital currencies returned by the front encryption machine, the operator can delete the data record related to the original 1 ten thousand yuan digital currency stored in the database, reinsert a data record of the digital currency with the denomination of 9000 yuan into the database, and record the digital currency with the denomination of 1000 yuan under the name of the user.
Wherein, the digital currency under the user name is stored in a database of the operator, usually in the form of a digital currency list; the user can only maintain the identification of the digital currency list in a digital currency wallet opened by an operator; for example, in one example, the digital currency under the user name may be stored in the operator's database in the form of a user's asset list; while only the asset-ID of the user's list of assets may be maintained in the user's digital currency wallet.
In practical application, a user can send a transaction request related to digital currency to a server of an operation mechanism through a client, and interacts with the server of the operation mechanism to complete the transaction related to the digital currency;
for example, transactions related to digital currency may include transactions that exchange an individual's electronic account balance for digital currency, transactions that exchange held digital currency for electronic account balance, or transfers digital currency to other users, and so forth.
In the related art, since there are digital money processing between different operation types, different digital money purses during digital money transactions; tracing back the digital currency transaction process typically employs a multiple retry mechanism. The plurality of retries refers to performing the digital money transaction repeatedly a plurality of times. However, retrying transactions multiple times may cause a significant amount of additional resource overhead due to the need to repeatedly execute the same transaction, which may be inefficient.
For this reason, the present specification provides an execution scheme for digital currency transactions, which splits a digital currency transaction into transaction execution instructions corresponding to respective participants, and generates an execution priority for each transaction execution instruction; ordering the generated transaction execution instructions corresponding to the various parties in the digital currency transaction by indicating an execution order of the transaction execution instructions in the generated transaction execution instructions corresponding to the various parties by an execution priority; and executing the transaction execution instructions in sequence according to the sorted sequence to complete the digital currency transaction. Therefore, through the sequencing result of the transaction execution instruction, the digital currency transaction can trace the whole life cycle of digital currency circulation, and meanwhile, the concurrent processing can be met, so that the controllable anonymous circulation of the digital currency is facilitated.
Topological sorting enables the transaction of the digital currency to trace the whole life cycle of the circulation of the digital currency, and simultaneously can meet concurrent processing, thereby facilitating the controllable anonymous circulation of the digital currency.
The following may refer to a method for performing digital currency transaction shown in fig. 2, the method may be applied to a server side corresponding to a digital currency transaction system, and the method includes the following steps:
step 210: acquiring a digital currency transaction to be executed;
step 220: generating transaction execution instructions corresponding to each participant in the digital currency transaction based on the transaction content of the digital currency transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
step 230: and sequencing the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, and sequentially executing each transaction execution instruction according to the sequenced sequence to finish the digital currency transaction.
For example, assume that a transaction execution instruction generated by a digital currency transaction to be executed includes: instruction 1, instruction 2, and instruction 3; if the priority of instruction 2 is highest and the priority of instruction 3 is next highest, the priority of instruction 1 is lowest; then the order is instruction 2, instruction 3, instruction 1.
The sequential execution process comprises the following steps: and starting execution from the instruction 2 with the highest priority, executing the instruction 3 with the highest priority in the rest of instructions after the execution of the instruction 2 is finished, executing the instruction 1 with the highest priority in the rest of instructions after the execution of the instruction 3 is finished, and finishing the digital currency transaction after the execution of the instruction 1 is finished.
In this embodiment, the instructions for each transaction may further include a digital money wallet account corresponding to the party, an operation type of the digital money wallet, and an operation amount of digital money in the digital money wallet.
In an embodiment, the instruction priority indicates a transaction execution instruction that is prior to the transaction execution instruction in an execution sequence of the transaction execution instructions corresponding to each participant;
executing the transaction execution instructions in sequence according to the sorted order to complete the digital currency transaction, and performing the transaction execution iteratively in the following way:
traversing the priority of the transaction execution instruction to be executed, and starting to execute from an initial transaction execution instruction without a previous transaction execution instruction;
and after the transaction execution instruction is executed each time, deleting and recording the priority of the executed transaction execution instruction.
Taking transfer transactions of digital currency A-D as an example, A digital currency wallet transfers 5 dollars to D digital currency wallet.
For the digital currency transactions A-D, 2 transaction execution instructions for A and D may be generated, as shown in Table 1 below:
TABLE 1
Figure BDA0002672156540000121
The transaction execution instruction 1 indicates that a digital currency wallet needs to prepare one or more digital currencies with a total face value of 5 yuan from held digital currencies without priority of a previous transaction execution instruction;
the transaction execution instruction 2 indicates that the D digital currency wallet authorizes the prepared digital currency with the face value of 5 yuan to the D digital currency wallet; and the previous transaction execution instruction is transaction execution instruction 1.
Starting to execute from a transaction execution instruction 1 without a previous transaction execution instruction, and deleting the transaction execution instruction 1 in the priority of a transaction execution instruction 2 after the transaction execution instruction 1 is executed;
at this time, the transaction execution instruction 2 also becomes a transaction execution instruction without a previous transaction execution instruction, and therefore the transaction execution instruction 2 is executed later.
In practical applications, as business evolves, there may be concurrent digital currency transactions to be performed. Therefore, there is also a need to provide solutions for multiple digital currency transactions.
Wherein if there is no intersection between the plurality of digital currency transactions, the digital currency transactions may be performed in parallel, each digital currency transaction may be performed in the manner of the embodiment shown in fig. 1.
However, if intersections exist among a plurality of digital currency transactions, the digital currency transactions are not simple sequential execution orders, and the transaction execution instruction needs to pay attention to not only the execution order of the digital currency transactions itself but also the execution order of other digital currency transactions with intersections, that is, for the transaction execution instruction with intersections, the relative execution order among different digital currency transactions needs to be determined, so that the global execution order is finally determined.
For a plurality of digital currency transactions with intersection, which may refer to a case where the same party exists in different digital currency transactions, the present specification further provides the following embodiments:
specifically, the digital currency transactions to be performed include a plurality of digital currency transactions;
ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed;
according to the sorted transaction sequence, transaction execution instructions corresponding to each participant in each digital currency transaction in the multiple digital currency transactions are sequentially generated;
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority;
determining a dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship;
and executing each transaction execution instruction in sequence according to the sequence number to complete the digital currency transaction.
In this embodiment, by introducing the dependent instructions, the relative execution order of the execution instructions of the intersection is determined according to the dependency relationship between the transaction execution instructions.
Wherein the transaction executes the marked dependent instruction, including one or more; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
The transaction execution instructions with the same sequence number can be executed concurrently, and each transaction execution instruction without prior dependence can be executed concurrently, so that the transaction concurrent processing capability is ensured under the condition that the traceability of the digital currency transaction processing is ensured.
The following illustrates that each participant in the digital currency transaction includes a transfer-out account and a transfer-in account for digital currency; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; and the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account.
Further, marking dependent instructions for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority comprises:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction;
determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction; (the target digital currency transaction can be a plurality of transactions, in this case, a plurality of dependent instructions can be marked for the transaction execution instruction corresponding to the transfer-out account included in any digital currency transaction);
if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction;
if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
The transaction execution instruction corresponding to the transfer-out account comprises an execution instruction for splitting digital currency with the same amount as the transaction amount from the transfer-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency. For example, the method may include determining a digital money wallet account corresponding to the participant, an operation type of the digital money wallet, an operation amount of digital money in the digital money wallet; if the operation type is payment, splitting digital currency with the amount equal to the operation amount from a digital currency wallet corresponding to the payer; and if the operation type is collection, confirming the digital currency of the amount equal to the operation amount split by the payer to a digital currency wallet corresponding to the collector.
For example, following the transfer transaction A-D using the digital currency described above, plus another transfer transaction D-C using another digital currency, the D digital currency wallet transfers 5 dollars to the C digital currency wallet.
For digital currency transactions D-C, 2 transaction execution instructions for D and C may be generated, as shown in Table 2 below:
TABLE 2
Figure BDA0002672156540000151
Since the same digital money wallet D exists for digital money transactions a-D and D-C, the two transactions may be merged into one digital money transaction to be performed. The time sequence of the two transactions is assumed to be that the digital currency transaction A-D is prior and the digital currency transaction D-C is subsequent; then the digital currency wallet D as the same party, based on timing, may determine that instruction 3 needs to be executed after instruction 2 is completed, and may reconstruct the priorities of 1, 2, 3, 4 as shown in table 3 below:
TABLE 3
Figure BDA0002672156540000152
Starting execution from a transaction execution instruction 1 without a dependent instruction, and deleting the transaction execution instruction 1 in the dependent instruction of a transaction execution instruction 2 after the transaction execution instruction 1 is executed;
at this time, the transaction execution instruction 2 also becomes a transaction execution instruction without a dependency instruction, and therefore the transaction execution instruction 2 is executed later; after the transaction execution instruction 2 is executed, deleting the transaction execution instruction 2 in the dependent instructions of the transaction execution instruction 3;
at this time, the transaction execution instruction 3 also becomes a transaction execution instruction without a dependency instruction, and therefore the transaction execution instruction 3 is executed later; after the transaction execution instruction 3 is executed, deleting the transaction execution instruction 3 in the dependent instructions of the transaction execution instruction 4;
at this time, the transaction execution instruction 4 also becomes a transaction execution instruction without a dependency instruction, and therefore the transaction execution instruction 4 is executed later; after the transaction execution instruction 4 is executed, the digital money transaction is completely executed.
To further illustrate a more complex example,
1. the first transaction 1 is: the digital currency wallet A pays 5 yuan to the digital currency wallet D, and arranges the digital currency wallet D; the transaction time is earliest;
the generated transaction execution instructions are instruction 1, instruction 2 and instruction 3;
instruction 1 indicates that digital money wallet a is prepared 5 dollars; instruction 2 indicates that digital currency wallet D collects 5 dollars; instruction 3 indicates that the digital money wallet D sorts digital money.
2. The second transaction 2 is: the digital money wallet B pays 5 dollars to the digital money wallet D; transaction 2 is later in time than transaction 1;
the generated transaction execution instructions include instruction 4, instruction 5, and instruction 6;
instruction 4 indicates that digital money wallet B is prepared 5 dollars; instruction 4 indicates that digital currency wallet D collects 5 dollars; instruction 6 indicates that the digital money wallet D sorts digital money.
3. The third transaction 3 is: the digital money wallet D pays 10 dollars to the digital money wallet E; transaction 3 is later in time than transaction 2;
the generated transaction execution instructions include instruction 7, instruction 8, and instruction 9;
instruction 7 indicates that the digital money wallet D is prepared for 10 dollars; instruction 8 represents a digital money wallet E to receive 10 dollars; instruction 9 indicates that the digital money wallet E sorts digital money.
As shown in fig. 3a, a schematic diagram of the order of priority of different instructions under the same transaction:
transaction 1, instruction 3 priority is later than instruction 2, instruction 2 priority is later than instruction 1, and instruction 1 priority is highest;
transaction 2, instruction 6 priority is later than instruction 5, instruction 5 priority is later than instruction 4, and instruction 4 priority is highest;
transaction 3, instruction 9 has priority later than instruction 8, instruction 8 has priority later than instruction 7, and instruction 7 has the highest priority.
Order of priority of transaction execution instructions under different transactions by the same party:
the same party D exists in the transaction 1 and the transaction 3, and the instruction related to the D comprises instructions 2 and 7; since transaction 3 of instruction 7 is later than transaction 1 of instruction 2; thus, instruction 7 has priority later than instruction 2;
the same party D exists for transaction 2 and transaction 3, and the instructions related to D comprise instructions 5 and 7; since transaction 3 of order 7 is later than transaction 2 of order 5; thus, instruction 7 has priority later than instruction 5.
By combining the priority order of different instructions in the same transaction shown in fig. 3a with the dependent instructions of the transaction execution instructions in different transactions of the same participant, the dependent instructions between all the transaction execution instructions shown in fig. 3b can be obtained, and the dependent instructions of all the instructions are determined as shown in table 4 below:
TABLE 4
Command sequence number Digital money wallet Dependent instructions
1 A Is free of
2 D 1
3 D 2
4 B Is free of
5 D 4
6 D 5
7 D 2 and 5
8 E 7
9 E 8
Since instructions 1 and 4 belong to the initial transaction execution instruction without a dependent instruction; instructions 1 and 4 can thus be executed in parallel;
after the execution of instruction 1 is completed, instruction 2 can be executed; after the instruction 4 is executed, the instruction 5 can be executed;
after instruction 2 is executed, instruction 3 may be executed; after instruction 5 completes execution, instruction 6 may be executed;
after instructions 2 and 5 have both been executed, instruction 7 may be executed, and instructions 8 and 9 may be executed in sequence;
it should be noted that the execution of instruction 7 only needs to wait for the completion of instructions 2 and 5, but not for the completion of instructions 3 or 6, and the execution of transaction 3 does not need to wait for the completion of all the instructions of the previous transactions 1 and 2, but can be executed after waiting for the completion of the execution of instructions 2 and 5 in the previous transactions 1 and 2 of the same party D, but does not need to wait for the completion of instructions 3 and 6.
As can be seen, the priority between multiple digital currency transactions under the same digital currency wallet is determined according to the transaction time of the digital currency transactions; however, the node of the latter transaction that depends on the former transaction is the same party, that is, after the instruction of the same party in the former transaction is executed, the transaction of the same party in the latter transaction can be executed without waiting for all the instructions in the former transaction to be executed. Thus, when a plurality of transactions occur, execution efficiency can be improved by executing in parallel.
In summary, the present specification provides an execution scheme for digital currency transactions, which splits a digital currency transaction into transaction execution instructions corresponding to respective participants, and generates an execution priority for each transaction execution instruction; ordering the generated transaction execution instructions corresponding to the various parties in the digital currency transaction by indicating an execution order of the transaction execution instructions in the generated transaction execution instructions corresponding to the various parties by an execution priority; and executing the transaction execution instructions in sequence according to the sorted sequence to complete the digital currency transaction. Therefore, through the sequencing result of the transaction execution instruction, the digital currency transaction can trace the whole life cycle of digital currency circulation, and meanwhile, the concurrent processing can be met, so that the controllable anonymous circulation of the digital currency is facilitated.
Corresponding to the embodiment of the execution method of the digital currency transaction, the specification also provides an embodiment of an execution device of the digital currency transaction. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a logical device, the device is formed by reading corresponding computer business program instructions in the nonvolatile memory into the memory for operation through the processor of the device in which the device is located. From a hardware aspect, as shown in fig. 4, the hardware structure diagram of the device where the execution apparatus of digital currency transaction in this specification is located is shown, except for the processor, the network interface, the memory, and the nonvolatile memory shown in fig. 4, the device where the apparatus is located in the embodiment may also include other hardware generally according to the actual execution function of the digital currency transaction, which is not described again.
Referring to fig. 5, a block diagram of an apparatus for performing a digital money transaction according to an embodiment of the present disclosure, the apparatus corresponding to the embodiment shown in fig. 2, includes:
an acquisition unit 310 that acquires a digital money transaction to be executed;
a generating unit 320 that generates transaction execution instructions corresponding to respective parties in the digital money transaction based on transaction contents of the digital money transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
the execution unit 330 is configured to sort the generated transaction execution instructions corresponding to the participants in the digital currency transaction according to the priority, and sequentially execute the transaction execution instructions according to the sorted order to complete the digital currency transaction.
Optionally, the digital currency transaction to be performed comprises a plurality of digital currency transactions;
the generating unit 320 includes: ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed; and according to the sorted transaction sequence, sequentially generating transaction execution instructions corresponding to each participant in each digital currency transaction in the plurality of digital currency transactions.
Optionally, the sorting, by the execution unit 330, the generated transaction execution instructions corresponding to the respective parties in the digital currency transaction according to the priority includes:
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority; and determining the dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship.
Optionally, the transaction executes the marked dependent instruction, including one or more; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
Optionally, each participant in the digital currency transaction comprises: transferring digital currency out of an account and transferring digital currency into the account; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account;
the marking, by the execution unit 330, the dependent instruction for the generated transaction execution instruction corresponding to each participant in the digital currency transaction according to the priority includes:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction; determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction; if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction; if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
Optionally, the transaction execution instruction corresponding to the transfer-out account includes an execution instruction for splitting digital currency with an amount equal to the transaction amount from the transfer-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
Fig. 5 above describes the internal functional modules and the structural schematic of the execution device of the digital currency transaction, and the execution subject can be an electronic device, which includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a digital currency transaction to be executed;
generating transaction execution instructions corresponding to each participant in the digital currency transaction based on the transaction content of the digital currency transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
and sequencing the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, and sequentially executing each transaction execution instruction according to the sequenced sequence to finish the digital currency transaction.
In the above embodiments of the electronic device, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the aforementioned memory may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware processor, or in a combination of the hardware and software modules of the processor.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiment of the electronic device, since it is substantially similar to the embodiment of the method, the description is simple, and for the relevant points, reference may be made to part of the description of the embodiment of the method.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

Claims (13)

1. A method of performing a digital currency transaction, the method comprising:
acquiring a digital currency transaction to be executed;
generating transaction execution instructions corresponding to each participant in the digital currency transaction based on the transaction content of the digital currency transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
and sequencing the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, and sequentially executing each transaction execution instruction according to the sequenced sequence to finish the digital currency transaction.
2. The method of claim 1, the digital currency transaction to be performed comprising a plurality of digital currency transactions;
the generating transaction execution instructions corresponding to respective parties in the digital currency transaction includes:
ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed;
and according to the sorted transaction sequence, sequentially generating transaction execution instructions corresponding to each participant in each digital currency transaction in the plurality of digital currency transactions.
3. The method of claim 1, the ordering the generated transaction execution instructions corresponding to the respective parties in the digital currency transaction according to the priority, comprising:
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority;
and determining the dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship.
4. The method of claim 3, the transaction execution instruction marked dependent instructions comprising one or more of; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
5. The method of claim 3, each participant in the digital currency transaction comprising: transferring digital currency out of an account and transferring digital currency into the account; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account;
marking dependent instructions for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, comprising:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction;
determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction;
if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction;
if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
6. The method of claim 5, wherein the transaction execution instructions corresponding to the roll-out account include execution instructions to split digital currency equal to the transaction amount from the roll-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency.
7. An apparatus for performing a digital currency transaction, the apparatus comprising:
an acquisition unit that acquires a digital money transaction to be executed;
a generation unit that generates transaction execution instructions corresponding to respective parties in the digital money transaction based on transaction contents of the digital money transaction to be executed; the transaction execution instructions comprise instruction priorities, and the instruction priorities indicate execution sequences of the transaction execution instructions in the generated transaction execution instructions corresponding to the participants;
and the execution unit is used for sequencing the generated transaction execution instructions corresponding to all the participants in the digital currency transaction according to the priority and sequentially executing all the transaction execution instructions according to the sequenced sequence so as to finish the digital currency transaction.
8. The apparatus of claim 7, the digital currency transaction to be performed comprising a plurality of digital currency transactions;
the generation unit includes: ordering the plurality of digital currency transactions based on transaction times of the digital currency transactions to be performed; and according to the sorted transaction sequence, sequentially generating transaction execution instructions corresponding to each participant in each digital currency transaction in the plurality of digital currency transactions.
9. The apparatus of claim 7, the ordering of the generated transaction execution instructions corresponding to the respective parties in the digital currency transaction according to the priority in the execution unit comprising:
marking a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority; and determining the dependency relationship among the transaction execution instructions based on the dependency instructions marked for the generated transaction execution instructions, and allocating a ranking number to the generated transaction execution instructions based on the determined dependency relationship.
10. The apparatus of claim 8, the transaction execution instruction marked dependent instructions comprising one or more of; multiple transaction execution instructions, labeled with the same dependent instruction, have the same rank number.
11. The apparatus of claim 9, each participant in the digital currency transaction comprising: transferring digital currency out of an account and transferring digital currency into the account; the generated transaction execution instruction comprises a transaction execution instruction corresponding to the transfer-out account and a transaction execution instruction corresponding to the transfer-in account; the instruction priority of the transaction execution instruction corresponding to the transfer-out account is higher than that of the transaction execution instruction corresponding to the transfer-in account;
marking, by the execution unit, a dependent instruction for the generated transaction execution instructions corresponding to each participant in the digital currency transaction according to the priority, including:
for any digital currency transaction in the multiple digital currency transactions, marking the generated transaction execution instruction corresponding to the transfer-out account included in the digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-in account included in the digital currency transaction; determining whether any digital currency transaction in the plurality of digital currency transactions has a transaction time earlier than that of any digital currency transaction and the included transfer-in account is a target digital currency transaction of a transfer-out account included in any digital currency transaction; if yes, marking the generated transaction execution instruction corresponding to the transfer-in account contained in the target digital currency transaction as a dependent instruction of the transaction execution instruction corresponding to the transfer-out account contained in any digital currency transaction; if not, the dependent instructions are not marked for the transaction execution instructions corresponding to the transfer-out account included in any digital currency transaction.
12. The apparatus of claim 11, the transaction execution instructions corresponding to the roll-out account comprising execution instructions to split digital currency equal to the transaction amount from the roll-out account; the transaction execution instruction corresponding to the transferred account comprises an execution instruction for authorizing the transferred account with the split digital currency.
13. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured as the method of any of the preceding claims 1-6.
CN202010936631.XA 2019-10-23 2020-09-08 Method and device for executing digital currency transaction and electronic equipment Pending CN113191894A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911012908.3A CN110827146A (en) 2019-10-23 2019-10-23 Method and device for executing digital currency transaction and electronic equipment
CN2019110129083 2019-10-23

Publications (1)

Publication Number Publication Date
CN113191894A true CN113191894A (en) 2021-07-30

Family

ID=69550270

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911012908.3A Withdrawn CN110827146A (en) 2019-10-23 2019-10-23 Method and device for executing digital currency transaction and electronic equipment
CN202010936631.XA Pending CN113191894A (en) 2019-10-23 2020-09-08 Method and device for executing digital currency transaction and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201911012908.3A Withdrawn CN110827146A (en) 2019-10-23 2019-10-23 Method and device for executing digital currency transaction and electronic equipment

Country Status (1)

Country Link
CN (2) CN110827146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072115A1 (en) * 2021-10-27 2023-05-04 中国人民银行数字货币研究所 Digital currency transaction method and system, and related transaction terminals

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767145B (en) * 2020-11-23 2023-07-07 中国联合网络通信集团有限公司 Parameter determination method, digital money information encryption method, server, and medium
CN112837156A (en) * 2021-02-10 2021-05-25 中国人民银行数字货币研究所 Transaction method and device with fixed execution sequence

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230055A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 The method and system of payout figure currency
CN107230054A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Digital cash is stored in the method and system of savings account
CN107330692A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The circulation method and device of digital cash
CN107392580A (en) * 2017-06-26 2017-11-24 中国人民银行数字货币研究所 It is a kind of to realize that digital cash exchanges the method and system of deposit based on digital cash
CN108512775A (en) * 2018-04-16 2018-09-07 杭州秘猿科技有限公司 A kind of method and device of sequence transaction queue
CN109064146A (en) * 2018-08-07 2018-12-21 中钞***产业发展有限公司杭州区块链技术研究院 A kind of digital cash method of commerce, equipment, system, terminal and client wallet
CN109767323A (en) * 2018-12-28 2019-05-17 交通银行股份有限公司 Capital chain generation method and device based on transaction journal
CN109891448A (en) * 2016-08-30 2019-06-14 贝宝公司 Accelerate ideal money transaction system
CN110088791A (en) * 2016-12-20 2019-08-02 Pbv考夫曼***有限公司 For with short exchange hour and finally settling accounts using mobile device come the system of the electronic money offline electronic payment carried out

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107230055A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 The method and system of payout figure currency
CN107230054A (en) * 2016-03-25 2017-10-03 中国人民银行印制科学技术研究所 Digital cash is stored in the method and system of savings account
CN109891448A (en) * 2016-08-30 2019-06-14 贝宝公司 Accelerate ideal money transaction system
CN110088791A (en) * 2016-12-20 2019-08-02 Pbv考夫曼***有限公司 For with short exchange hour and finally settling accounts using mobile device come the system of the electronic money offline electronic payment carried out
CN107330692A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The circulation method and device of digital cash
CN107392580A (en) * 2017-06-26 2017-11-24 中国人民银行数字货币研究所 It is a kind of to realize that digital cash exchanges the method and system of deposit based on digital cash
CN108512775A (en) * 2018-04-16 2018-09-07 杭州秘猿科技有限公司 A kind of method and device of sequence transaction queue
CN109064146A (en) * 2018-08-07 2018-12-21 中钞***产业发展有限公司杭州区块链技术研究院 A kind of digital cash method of commerce, equipment, system, terminal and client wallet
CN109767323A (en) * 2018-12-28 2019-05-17 交通银行股份有限公司 Capital chain generation method and device based on transaction journal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072115A1 (en) * 2021-10-27 2023-05-04 中国人民银行数字货币研究所 Digital currency transaction method and system, and related transaction terminals

Also Published As

Publication number Publication date
CN110827146A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US20240029037A1 (en) Systems and methods for math-based currency (mbc) exchanges
CN110009489B (en) Asset transfer method and device based on block chain and electronic equipment
CN107330692B (en) Digital currency circulation method and device
US8818904B2 (en) Generation systems and methods for transaction identifiers having biometric keys associated therewith
CN110033377B (en) Asset sorting method and device based on block chain and electronic equipment
CN110852730B (en) Transaction processing method and device based on digital currency and electronic equipment
CN113191894A (en) Method and device for executing digital currency transaction and electronic equipment
CN110148017A (en) Equity distribution method and device, electronic equipment, storage medium based on block chain
KR20220035050A (en) Identity and risk scoring of tokenized assets and associated token transactions backed by government bonds
CN110020936B (en) Asset management method and device based on block chain and electronic equipment
CN110020948B (en) Asset tracing method and device based on block chain and electronic equipment
CN110458556B (en) Funds checking method, funds checking device, computer equipment and system architecture
US20230198785A1 (en) Computer-implemented digital communication using cryptography
AU2020351308A1 (en) Distributed blockchain-type implementations configured to manage tokenized digital assets and improved electronic wallets, and methods of use thereof
CN107689009A (en) Annuity data processing method, device, server and storage medium
KR20210100693A (en) Online and offline virtual currency transfer method and system
CN110033370A (en) Account creation method and device, electronic equipment, storage medium
CN108985933A (en) A kind of bookkeeping methods and device
US20230342773A1 (en) Methods, systems, and devices of managing digital assets, including digital asset deposits, digital asset term deposits, digital asset withdrawals, and early withdrawals of digital asset term deposits
CN110264303A (en) A kind of house transaction method and system based on distributed data base
KR102408070B1 (en) Mobile ticketing system using cryptocurrency
CN111932255B (en) Method and device for realizing transaction reconciliation based on encrypted currency
KR20220066786A (en) Real asset investment method
CN112446787A (en) Resource transfer method, device, equipment and storage medium
KR20210052711A (en) Blockchain-based patent value chain platform and crowd funding service method using the same

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