Transaction processing method and device, equipment and storage medium
Generating digital currency in the cross-border payment system through the blockchain network solves the problem of the lack of digital currency generation technology in the cross-border payment system, improves payment efficiency, and realizes efficient linkage between the cross-border transaction system and the domestic system.
Patent Information
- Application Number
- CN202310370037.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-15
AI Technical Summary
The existing technology lacks technical solutions for generating digital currency in cross-border payment systems, resulting in low efficiency of cross-border payments.
Through the blockchain network, the on-chain issuer node receives the issuance instruction message from the off-chain issuer, generates and transfers digital currency, ensuring that the cross-border transaction system is connected with the off-chain local financial infrastructure, avoiding duplication of construction and achieving efficient linkage.
The successful generation of digital currency in the cross-border payment system has improved the efficiency of cross-border payment, avoided the duplication of financial infrastructure equipment, and achieved efficient linkage between the cross-border transaction system and the domestic system.
Smart Images

Figure CN118780911A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of payment transaction technology, and in particular to a transaction processing method, device, equipment and storage medium. Background Art
[0002] With the acceleration of economic globalization, the demand for cross-border payments is becoming more and more vigorous. In order to simplify the cross-border payment process and improve the efficiency of cross-border payments, relevant technical personnel have proposed a cross-border payment system for direct transactions between payment institutions such as payment banks and beneficiary banks. In this cross-border payment system, digital currency needs to be generated for cross-border transactions.
[0003] However, there is currently no technical solution for generating digital currency in a cross-border payment system. Therefore, how to generate digital currency in a cross-border payment system is a technical problem that needs to be solved urgently. Summary of the invention
[0004] This application provides a transaction processing method, device, equipment and storage medium to at least solve the problem of how to generate digital currency in a cross-border payment system in the related technology. The technical solution of this application is as follows:
[0005] In a first aspect, a transaction processing method is provided, which is applied to an on-chain issuer node in a cross-border transaction system; the on-chain issuer node is located on a blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; the method includes: receiving an issuance instruction message sent by an off-chain issuer in an off-chain transaction system; the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage an off-chain local bank account, and the off-chain local digital currency system is used to manage an off-chain digital currency wallet, and the issuance instruction message includes an off-chain participant identifier, a first target amount, and a deduction success indication. In the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant, and in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant. In response to the issuance indication message, digital currency corresponding to the first target amount is generated in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier of the blockchain network.
[0006] In a possible implementation, before the above-mentioned "receiving the issuance instruction message sent by the off-chain issuer in the off-chain transaction system", the method further includes: receiving an on-chain issuance request sent by the on-chain participant node through the blockchain network; the on-chain issuance request includes the digital currency wallet identifier and the first target amount of the on-chain participant node, and the on-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network. The on-chain issuer node sends a deduction instruction to the off-chain issuer; the deduction instruction is used to instruct the deduction of the first target amount of currency from the local bank account or local digital currency wallet of the off-chain participant.
[0007] In one possible implementation, the above-mentioned “on-chain issuer node sends a deduction instruction to the off-chain issuer” includes: when the on-chain issuance request passes the verification, the on-chain issuer node sends a deduction instruction to the off-chain issuer; wherein, the above-mentioned “on-chain issuance request passes the verification” includes: the account status of the on-chain participant node is normal, and / or the first target amount is less than or equal to the remaining issuance amount of the on-chain participant node in the on-chain issuer node.
[0008] In one possible implementation, the issuance indication message is generated by the off-chain issuer after receiving the off-chain issuance request sent by the off-chain participant; the off-chain issuance request includes the off-chain participant identifier and the first target amount; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network.
[0009] In one possible implementation, deducting a first target amount of currency from a local bank account of an off-chain local payment system of an off-chain participant includes: debiting the first target amount in a local bank account of the off-chain participant through the off-chain local payment system, and crediting the first target amount in a margin account of an off-chain issuer.
[0010] In one possible implementation, deducting a first target amount of currency from a local digital currency wallet of an off-chain local digital currency system of an off-chain participant includes: deducting the first target amount of digital currency from the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
[0011] In a possible implementation, the method further includes: receiving an on-chain cancellation request message sent by an on-chain participant node; the on-chain cancellation request message includes the identifier of the on-chain participant node and the second target amount. Deducting the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node, and sending a currency return message to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to indicate that the second target amount of currency is added to the local bank account or local digital currency wallet of the off-chain participant.
[0012] In a possible implementation, the method further includes: receiving an off-chain cancellation instruction message sent by an off-chain issuer; the off-chain cancellation instruction message includes the digital currency wallet identifier of the on-chain participant node and the second target amount, and the off-chain cancellation instruction message is generated by the off-chain issuer according to the off-chain cancellation request information sent by the off-chain participant to the off-chain issuer. Deduct the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node, and send a currency return message to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to indicate the addition of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0013] In one possible implementation, adding a second target amount of currency to a local bank account or a local digital currency wallet of an off-chain participant includes: crediting the first target amount in the local bank account of the off-chain participant through an off-chain local payment system, and debiting the first target amount in the margin account of the off-chain issuer; or adding a second target amount of digital currency to the local digital currency wallet of the off-chain participant through an off-chain local digital currency system.
[0014] In a second aspect, a transaction processing method is provided, which is applied to an off-chain issuer in an off-chain transaction system, wherein the off-chain transaction system also includes off-chain participants, the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage off-chain local bank accounts, and the off-chain local digital currency system is used to manage off-chain digital currency wallets; the method includes: upon determining that a first target amount of currency is successfully deducted from a local bank account of an off-chain local payment system of an off-chain participant or a local digital currency wallet of an off-chain local digital currency system, generating an issuance indication message; the issuance indication message includes an off-chain participant identifier, a first target amount, and an indication of successful deduction; the issuance indication message is used to instruct the generation of a first target amount of digital currency in a digital currency wallet of an on-chain participant node corresponding to the off-chain participant identifier through an on-chain issuer node, the on-chain participant node and the on-chain issuer node are located on a blockchain network included in a cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network. In the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate the deduction of the first target amount of currency from the local bank account of the off-chain local payment system of the off-chain participant, and in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate the deduction of the first target amount of currency from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant. Send the issuance instruction message to the on-chain issuer node on the blockchain network.
[0015] In a possible implementation, the method further includes: receiving an off-chain issuance request sent by an off-chain participant; the off-chain issuance request includes an off-chain participant identifier, a first target amount, and a deduction success indication; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network. In response to the issuance request message, it is determined that the first target amount of currency is successfully deducted from the local bank account or local digital currency wallet of the off-chain participant.
[0016] In one possible implementation, the above-mentioned "generating an issuance indication message" includes: generating an issuance indication message when the off-chain issuance request passes the verification, wherein the above-mentioned "off-chain issuance request passes the verification" includes: the account status of the off-chain participant is normal, and / or the first target amount is less than or equal to the remaining generation amount of the off-chain participant in the on-chain issuer node.
[0017] In a possible implementation, the method further includes: receiving an off-chain cancellation request message sent by an off-chain participant, and sending an off-chain cancellation request message to an on-chain issuer node; the off-chain cancellation request message includes a digital currency wallet identifier of the on-chain participant node and a second target amount. In response to a currency return message sent by the on-chain issuer node, the second target amount of currency is transferred to a local bank account or a local digital currency wallet of the off-chain participant; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount from the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the off-chain participant identifier and the second target amount.
[0018] In a possible implementation, the method further includes: receiving a currency return message sent by the on-chain issuer node; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount in the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the identifier of the off-chain participant and the second target amount. In response to the currency return message, the second target amount of currency is transferred to the local bank account or local digital currency wallet of the off-chain participant.
[0019] In a possible implementation, the method further includes: generating a currency return message when the off-chain cancellation indication message passes verification, wherein the above-mentioned "off-chain cancellation indication message passes verification" includes: the digital currency wallet status of the on-chain participant is normal, and / or the second target amount is less than or equal to the preset amount.
[0020] In a third aspect, a transaction processing device is provided, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instruction to implement the transaction processing method of the first aspect or the transaction processing method of the second aspect.
[0021] In a fourth aspect, a computer-readable storage medium is provided. When the computer execution instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the transaction processing method as in the first aspect or the transaction processing method as in the second aspect.
[0022] A transaction processing method provided in the first aspect of the present application brings the following beneficial effects: the on-chain issuer node is located on the blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to execute cross-border transaction business through the blockchain network; the method includes: receiving an issuance instruction message sent by an off-chain issuer in the off-chain transaction system; the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage off-chain local bank accounts, and the off-chain local digital currency system is used to manage off-chain digital currency wallets, and the issuance instruction message includes an off-chain participant identifier, a first target amount, and a deduction amount. Indication of successful deduction; when the issuance instruction message is sent by the off-chain local payment system, the indication of successful deduction is used to indicate the deduction of the first target amount of currency from the local bank account of the off-chain local payment system of the off-chain participant; when the issuance instruction message is sent by the off-chain local digital currency system, the indication of successful deduction is used to indicate the deduction of the first target amount of currency from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant; in response to the issuance instruction message, a digital currency corresponding to the first target amount is generated in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier of the blockchain network.
[0023] In this way, when the on-chain issuer node deducts the first target amount of currency from the local bank account of the off-chain local payment system or deducts the first target amount of currency from the local digital currency wallet, it generates the first target amount of currency in the cross-border payment system where the on-chain participant node is located, thereby realizing the generation of digital currency in the cross-border payment system.
[0024] In addition, the connection between the cross-border transaction system and the local financial infrastructure in the off-chain transaction system (off-chain local payment system or off-chain local digital currency system) can avoid the duplication of financial infrastructure equipment and achieve efficient linkage between the cross-border transaction system and the domestic transaction system.
[0025] It should be noted that the technical effects brought about by any implementation method in the second to fourth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0028] Figure 1 A structural diagram of a payment processing system;
[0029] Figure 2 One of the flow charts of a currency generation method provided in an embodiment of the present application;
[0030] Figure 3 A second flowchart of a currency generation method provided in an embodiment of the present application;
[0031] Figure 4 A flowchart of a currency generation method provided in an embodiment of the present application;
[0032] Figure 5 A fourth flowchart of a currency generation method provided in an embodiment of the present application;
[0033] Figure 6 A fifth flowchart of a currency generation method provided in an embodiment of the present application;
[0034] Figure 7 One of the flow charts of a currency cancellation method provided in an embodiment of the present application;
[0035] Figure 8 A second flowchart of a currency cancellation method provided in an embodiment of the present application;
[0036] Fig. 9 A flowchart of a currency cancellation method provided in an embodiment of the present application;
[0037] Fig.10 A fourth flowchart of a currency cancellation method provided in an embodiment of the present application;
[0038] Fig.11 One of the flow charts of a payment processing method provided in an embodiment of the present application;
[0039] Fig.12 A second flowchart of a payment processing method provided in an embodiment of the present application;
[0040] Fig.13 A third flowchart of a payment processing method provided in an embodiment of the present application;
[0041] Fig.14 A fourth flowchart of a payment processing method provided in an embodiment of the present application;
[0042] Fig.15A fifth flowchart of a payment processing method provided in an embodiment of the present application;
[0043] Fig.16 Flow chart six of a payment processing method provided in an embodiment of the present application;
[0044] Fig.17 Flow chart seven of a payment processing method provided in an embodiment of the present application;
[0045] Fig.18 Flow chart eight of a payment processing method provided in an embodiment of the present application;
[0046] Fig.19 One of the structural schematic diagrams of a payment processing device provided in an embodiment of the present application;
[0047] Fig. 20 A second structural diagram of a payment processing device provided in an embodiment of the present application;
[0048] Fig.21 A schematic diagram of the structure of a payment processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0051] With the acceleration of economic globalization, the demand for cross-border payments is becoming more and more vigorous. In order to simplify the cross-border payment process and improve the efficiency of cross-border payments, relevant technical personnel have proposed a cross-border payment system for direct transactions between payment institutions such as payment banks and beneficiary banks. In this cross-border payment system, digital currency needs to be generated for cross-border transactions. However, there is currently no technical solution for generating digital currency in a cross-border payment system. Therefore, how to generate digital currency in a cross-border payment system is a technical problem that needs to be solved urgently.
[0052] In response to the above problems, the present application provides a payment method, in which an on-chain issuer node is located on a blockchain network included in a cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; the method includes: receiving an issuance instruction message sent by an off-chain issuer in the off-chain transaction system; the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage an off-chain local bank account, and the off-chain local digital currency system is used to manage an off-chain digital currency wallet, and the issuance instruction message includes an off-chain participant identifier, a first target amount, and a deduction success indication; when the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant, and when the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant; in response to the issuance instruction message, a digital currency corresponding to the first target amount is generated in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier of the blockchain network.
[0053] In this way, when the on-chain issuer node deducts the first target amount of currency from the local bank account of the off-chain local payment system or deducts the first target amount of currency from the local digital currency wallet, it generates the first target amount of currency in the cross-border payment system where the on-chain participant node is located, thereby realizing the generation of digital currency in the cross-border payment system.
[0054] In addition, the connection between the cross-border transaction system and the local financial infrastructure in the off-chain transaction system (off-chain local payment system or off-chain local digital currency system) can avoid the duplication of financial infrastructure equipment and achieve efficient linkage between the cross-border transaction system and the domestic transaction system.
[0055] Figure 1 This is the implementation architecture diagram of this application. Figure 1 The schematic diagram of the structure of a payment processing system 10 provided in an embodiment of the present application is shown. The payment processing system 10 may include: an issuer node on the chain ( Figure 1 The on-chain issuer node 1 and the on-chain issuer node 2 are shown as examples. In actual applications, there may be more on-chain issuer nodes), on-chain participant nodes ( Figure 1 The figure shows the on-chain participant node 1 and the on-chain participant node 2. In actual applications, there may be more on-chain participant nodes), the off-chain issuer ( Figure 1 , which exemplifies the off-chain issuer 1 and the off-chain issuer 2. In actual applications, there may be more off-chain issuers) and off-chain participants ( Figure 1, off-chain participant 1 and off-chain participant 2 are shown as examples. In actual applications, there may be more off-chain participants. Among them, the on-chain issuer node and the on-chain participant node are located in the cross-border transaction system, the off-chain issuer 1 and off-chain participant 1 are located in the domestic transaction system 1, and the off-chain issuer 2 and off-chain participant 2 are located in the domestic transaction system 2.
[0056] In some embodiments, Figure 1 As shown, off-chain participants are also connected to on-chain participant nodes.
[0057] In some embodiments, the on-chain issuer node and the on-chain participant node are nodes in the blockchain, the on-chain issuer node is a consensus node, and the on-chain participant node is a synchronization node.
[0058] It is understandable that there is a corresponding relationship between the on-chain participant nodes and the off-chain participant nodes. There is a corresponding relationship between the on-chain issuer nodes and the off-chain issuer nodes (such as Figure 1 The on-chain issuer node 1 and the off-chain issuer 1 are the same regulatory bank).
[0059] In order to facilitate a better understanding of the payment processing system 10 in the embodiment of the present application, the transaction processing method of the payment processing system 10 in the embodiment of the present application is described below.
[0060] There are four transaction processing methods for on-chain currency generation.
[0061] The first one is initiated by the nodes of the participants on the chain, and the currency is generated on the chain by paying a deposit.
[0062] The on-chain participant node sends an on-chain issuance request to the on-chain issuer node. The on-chain issuance request includes the identifier of the on-chain participant node and the first target amount of issuance. Accordingly, the on-chain issuer node receives the on-chain issuance request sent by the on-chain participant node, and parses the on-chain issuance request to obtain the identifier of the on-chain participant node and the first target amount of issuance. Further, based on the identifier of the on-chain participant node, the on-chain issuer node verifies the status of the account of the on-chain participant node and obtains the identifier of the off-chain participant corresponding to the on-chain participant node. If the verification is passed, based on the remaining issuance amount (or limit) of the account of the on-chain participant node, the on-chain issuer node determines whether the first target amount of issuance is greater than the remaining issuance amount (or limit) of the account, and sends a margin collection request to the off-chain issuer when the first target amount of issuance is less than or equal to the remaining issuance amount (or limit) of the account. Among them, the margin collection request includes the identifier of the off-chain participant and the first target amount.
[0063] Correspondingly, the off-chain issuer receives the margin collection request sent by the on-chain issuer node and sends the margin collection request to the off-chain participants.
[0064] Correspondingly, after the off-chain participant receives the margin collection request sent by the off-chain issuer, the off-chain trading system debits the first target amount in the off-chain participant's account and credits the first target amount in the off-chain issuer's account. Furthermore, the off-chain participant sends a deduction completion notification to the off-chain issuer.
[0065] Correspondingly, after receiving the deduction completion notification, the off-chain issuer sends an issuance instruction message to the on-chain issuer node. The issuance instruction message includes the identifier of the off-chain participant, the first target amount, and a deduction success indication, which is used to indicate that the first target amount of currency has been successfully deducted from the off-chain participant.
[0066] Finally, after receiving the issuance instruction message sent by the off-chain issuer, the on-chain issuer node generates digital currency corresponding to the first target amount in the account of the on-chain participant node.
[0067] For example, the issuer node is Central Bank A, the participating bank node is Commercial Bank B, and the first target amount is 1 million. The on-chain participant node B sends an on-chain issuance request to the on-chain central bank A. The on-chain issuance request includes the identifier of the on-chain participant node B and 1 million. Accordingly, after receiving the on-chain issuance request sent by the on-chain participant node B, the on-chain central bank A determines that Commercial Bank B requests to generate 1 million in currency in the cross-border payment system. Further, the on-chain central bank A sends a margin deduction request to the off-chain central bank A.
[0068] Correspondingly, after receiving the margin deduction request sent by the on-chain central bank A, the off-chain central bank A sends a margin deduction request to the off-chain commercial bank B, so that the off-chain commercial bank B deducts the currency corresponding to the first target amount. Further, after receiving the deduction completion notification sent by the off-chain commercial bank B, the off-chain central bank A sends an issuance instruction message to the on-chain central bank A. The issuance instruction message includes the identifier of the off-chain participant, the first target amount and the deduction success indication, and the deduction success indication is used to indicate that the first target amount of currency has been successfully deducted from the local bank account or local digital currency wallet of the off-chain participant.
[0069] Finally, after receiving the issuance instruction message sent by the off-chain central bank A, the on-chain central bank A generates 1 million digital currencies in the account of the on-chain participant node B.
[0070] Specifically, Figure 2 As shown, the process of generating currency may include the following steps: S10-S19.
[0071] S10, the on-chain participant node generates an on-chain issuance request and publishes it on the blockchain through the first contract interface. The on-chain issuance request includes a transaction batch number, a transaction serial number, a first target amount, and an identifier of the on-chain participant node.
[0072] S11. When the blockchain node obtains the on-chain issuance request, it determines that the issuance request contract needs to be executed, and sets the status of the issuance request contract to the initialization INIT state. At this time, the on-chain issuer node monitors the on-chain issuance request.
[0073] S12. The on-chain issuer node detects the generated first target amount and the status of the account of the on-chain participant node, and if the detection passes, publishes the detection result through the second contract interface.
[0074] S13. After receiving the detection result, the blockchain node sets the status of the issuance request contract to the running process status.
[0075] Understandably, the on-chain participant nodes will also monitor the issuance request contract transactions on the blockchain.
[0076] S14. The on-chain issuer node sends a margin deduction request to the off-chain issuer.
[0077] S15. The on-chain issuer node receives the deduction completion notification sent by the off-chain issuer, and publishes the deduction completion notification in the blockchain through the third contract interface.
[0078] S16. After receiving the notification of completion of deduction, the blockchain node votes on the on-chain issuance request based on the preset consensus mechanism and sends the voting result to the on-chain issuer node.
[0079] S17. When the voting result is passed, the on-chain issuer node triggers the smart contract to generate the first target amount of currency in the account of the on-chain participant node, and publishes the result of generating the first target amount of currency in the blockchain.
[0080] S18. The blockchain node sets the status of the issuance request contract to a success status. Accordingly, based on the currency of the first target amount of the on-chain participant node account, the on-chain issuer node updates the limit of the on-chain participant node.
[0081] S19. The on-chain participant nodes monitor the successful result of the issuance request contract.
[0082] It can be understood that in this method, funds of the first target amount in the account of a transaction institution such as a commercial bank in the domestic payment system are deducted to generate the central bank digital currency corresponding to the first target amount in the digital currency wallet of the transaction institution in the cross-border payment system.
[0083] The second method is initiated by the on-chain participant nodes to transfer the off-chain digital currency to the chain.
[0084] In one case, the process of transferring off-chain digital currency to the chain can refer to the method of generating currency on the chain by paying a deposit. The difference from generating currency on the chain by paying a deposit is that:
[0085] The on-chain issuer node sends a digital currency payment request to the off-chain issuer.
[0086] Correspondingly, the off-chain issuer receives the digital currency payment request sent by the on-chain issuer node and sends the digital currency payment request to the off-chain participant.
[0087] Correspondingly, after receiving the digital currency payment request sent by the off-chain issuer, the off-chain participant deducts the central bank digital currency corresponding to the first target amount from the off-chain participant's digital currency wallet, and sends a payment completion notification to the on-chain issuer node through the off-chain issuer.
[0088] Finally, after receiving the payment completion notification, the on-chain issuer node generates the central bank digital currency corresponding to the first target amount in the account (digital currency wallet) of the on-chain participant node.
[0089] In another case, if Figure 3 As shown, the following steps are included: S20-S23.
[0090] S20. The on-chain participant node sends a debit payment instruction to the off-chain issuer through the on-chain issuer node.
[0091] S21. Upon receiving a debit payment instruction, the off-chain issuer sends a debit payment instruction to the off-chain participant.
[0092] S22. After receiving the debit payment instruction, the off-chain participant deducts the central bank digital currency corresponding to the first target amount from the off-chain participant's digital currency wallet, and sends a payment completion notification to the on-chain issuer node through the off-chain issuer.
[0093] S23. After receiving the payment completion notification, the on-chain issuer node generates the central bank digital currency corresponding to the first target amount in the account (digital currency wallet) of the on-chain participant node.
[0094] It can be understood that in this method, the central bank's digital currency in the digital currency wallet of a transaction institution such as a commercial bank in the domestic payment system is transferred to the digital currency wallet of the transaction institution in the cross-border transaction system.
[0095] The third type is initiated by off-chain participants, who generate currency on the chain by paying a deposit.
[0096] Specifically, Figure 4 As shown, the following specific steps are included: S30-S33.
[0097] S30: The off-chain participant debits the first target amount of currency in the off-chain participant's account, credits the first target amount of currency in the off-chain issuer's account, and sends an off-chain issuance request to the off-chain issuer, wherein the off-chain issuance request includes the identifier of the off-chain participating node and the first target amount.
[0098] S31. After the off-chain issuer detects through the domestic trading system that the first target amount of currency is debited from the off-chain participant's account and the first target amount of currency is credited to the off-chain issuer's account, the off-chain issuer detects the generated first target amount and the status of the digital currency wallet of the on-chain participant's node.
[0099] S32. When the first target amount is less than or equal to the limit and the status of the digital currency wallet of the on-chain participant node is normal, the off-chain issuer sends an issuance instruction message to the on-chain issuer node. The issuance instruction message includes the identifier of the off-chain participant, the first target amount and a deduction success indication, and the deduction success indication is used to indicate that the first target amount of currency has been successfully deducted from the off-chain participant.
[0100] S33. After receiving the issuance instruction message sent by the off-chain issuer, the on-chain issuer node generates the central bank digital currency corresponding to the first target amount in the digital currency wallet of the on-chain participant node.
[0101] The technical flow chart of generating currency on the chain by paying a deposit initiated by off-chain participants, such as Figure 5 As shown, the following steps are included: S40-S47.
[0102] S40, the off-chain participant sends an off-chain issuance application to the off-chain issuer, wherein the off-chain issuance application includes the issuance batch number, the issuance serial number, the identifier of the off-chain participant, and the first target amount.
[0103] S41. The off-chain issuer detects the first target amount and the status of the digital currency wallet of the on-chain participant node, and sends an issuance instruction message to the on-chain issuer node if the detection passes.
[0104] S42. The issuer node on the chain publishes an issuance application transaction to the blockchain through the fourth contract interface. The issuance application transaction includes the digital signature of the issuer node on the chain.
[0105] S43. The consensus nodes in the blockchain verify the digital signature in the issuance application transaction, and if the verification is passed, vote on the issuance request on the chain based on the preset consensus mechanism.
[0106] S44. The consensus node in the blockchain sends the voting results to the issuer node on the chain.
[0107] S45. When the voting result is passed, the on-chain issuer node triggers the smart contract to generate the first target amount of currency in the account of the on-chain participant node, and publishes the result of generating the first target amount of currency in the blockchain.
[0108] S46. The blockchain node sets the status of the issuance request contract to a successful status and generates an issuance record.
[0109] S47. The on-chain participant nodes monitor the result of the successful issuance request contract.
[0110] The fourth type is initiated by off-chain participants to transfer off-chain digital currency to the chain
[0111] Specifically, Figure 6 As shown, the following steps are included: S50-S52.
[0112] S50. The off-chain participant deducts the first target amount of digital currency from the off-chain participant's digital currency wallet, and sends a debit payment instruction to the off-chain issuer.
[0113] S51. When the off-chain issuer receives a debit payment instruction, it sends an issuance instruction message to the on-chain issuer node.
[0114] S52. After receiving the issuance instruction message sent by the off-chain issuer, the on-chain issuer node generates digital currency corresponding to the first target amount in the digital currency wallet of the on-chain participant node.
[0115] In some embodiments, the above-mentioned digital currency is a central bank digital currency.
[0116] The above is the transaction processing method for generating on-chain currency. The following is an explanation of the transaction processing method for canceling on-chain currency.
[0117] There are also four transaction processing methods for on-chain currency cancellation.
[0118] The first one is initiated by the node of the on-chain participant, and the digital currency on the chain is cancelled by returning the deposit.
[0119] like Figure 7 As shown, the deregistration process includes the following steps: S60-S65.
[0120] S60. The on-chain participant node sends an on-chain cancellation request to the on-chain issuer node.
[0121] Among them, the on-chain cancellation request includes the identifier of the on-chain participant node and the second target amount.
[0122] S61. The on-chain issuer node receives the on-chain issuance request sent by the on-chain participant node, and detects the status of the digital currency wallet of the on-chain participant node and the second target amount.
[0123] S62: If the detection is passed, the on-chain issuer node sends a margin return message to the off-chain issuer, where the margin return message includes the second target amount and the identifier of the off-chain participant.
[0124] S63. After receiving the margin return message sent by the on-chain issuer node, the off-chain issuer credits the second target amount of funds in the off-chain participant's account and debits the second target amount of funds in the off-chain issuer's account.
[0125] S64. The off-chain issuer returns a successful message to each off-chain participant using the on-chain issuer’s node deposit.
[0126] S65. After receiving the message of successful deposit return, the on-chain issuer node cancels the digital currency corresponding to the second target amount in the digital currency wallet of the on-chain participant node.
[0127] like Figure 8 As shown, the deregistration process may also include the following steps: S70-S78.
[0128] S70, the on-chain participant node publishes an on-chain cancellation request on the blockchain, wherein the on-chain cancellation request includes the cancellation batch number, the cancellation serial number, the identifier of the on-chain participant node, and the second target amount.
[0129] S71. When the blockchain receives the on-chain cancellation request, it determines that the cancellation request contract needs to be executed, and sets the state of the cancellation request contract to the initialization INIT state. At this time, the on-chain issuer node monitors the on-chain issuance request.
[0130] S72. The on-chain issuer node obtains the on-chain cancellation request, and detects the second target amount and the status of the digital currency wallet of the on-chain participant node, and if the test passes, publishes the test pass result through the fifth contract interface.
[0131] S73. After receiving the detection result, the node in the blockchain sets the status of the cancellation request contract to the running process status.
[0132] S74. The on-chain issuer node sends a margin return message to the off-chain issuer.
[0133] S75. The on-chain issuer node receives the return completion notification sent by the off-chain issuer, and publishes the return completion notification in the blockchain through the sixth contract interface.
[0134] S76. After receiving the return completion notification, the nodes in the blockchain vote on the on-chain issuance request based on the preset consensus mechanism and send the voting results to the on-chain issuer node.
[0135] S77. When the voting result is passed, the on-chain issuer node triggers the smart contract to cancel the second target amount of digital currency in the digital currency wallet of the on-chain participant node, and publishes the result of canceling the second target amount of digital currency in the blockchain.
[0136] S78. The blockchain node sets the status of the cancellation request contract to a success status. Accordingly, based on the currency of the second target amount of the on-chain participant node account, the on-chain issuer node updates the limit of the on-chain participant node. In this case, the on-chain participant node monitors the result of the success of the cancellation request contract.
[0137] The second method is initiated by the on-chain participant nodes to transfer the on-chain digital currency to the off-chain.
[0138] like Fig. 9 As shown, the specific cancellation process is as follows: S80-S85.
[0139] S80. The on-chain participant node sends an on-chain cancellation request to the on-chain issuer node.
[0140] S81. After receiving the on-chain cancellation request, the on-chain issuer node cancels the second target amount of digital currency in the digital currency wallet of the on-chain participant node and generates a digital currency return message.
[0141] Among them, the digital currency return message includes the second target amount and the identifier of the off-chain participant.
[0142] S82. The on-chain issuer node sends a digital currency return message to the off-chain issuer.
[0143] S83. The off-chain issuer generates a second target amount of digital currency in the digital currency wallet of the off-chain participant.
[0144] S84. The off-chain issuer generates a digital currency notification message.
[0145] Among them, the digital currency notification message includes the second target amount.
[0146] S85. The off-chain issuer sends a digital currency notification message to the off-chain participants.
[0147] The third method is initiated by off-chain participants to cancel the on-chain digital currency by returning the deposit.
[0148] Specifically, Fig.10 As shown, the following steps are included: S90-S96.
[0149] S90: The off-chain participant sends an on-chain cancellation request to the off-chain issuer, wherein the off-chain cancellation request includes the identifier of the off-chain participant and the second target amount.
[0150] S91. The off-chain issuer obtains the identifier of the on-chain participant's node based on the identifier of the off-chain participant, and detects the second target amount and the status of the digital currency wallet of the on-chain participant's node.
[0151] S92: If the off-chain issuer passes the test, it sends an off-chain cancellation instruction message to the on-chain issuer node, where the off-chain cancellation instruction message includes the identifier of the on-chain participant node and the second target amount.
[0152] S93. After receiving the off-chain cancellation instruction message, the on-chain issuer node cancels the second target amount of digital currency in the digital currency wallet of the on-chain participant node.
[0153] S94. The on-chain issuer node sends a margin return message to the off-chain issuer.
[0154] S95. After receiving the margin return instruction sent by the on-chain issuer node, the off-chain issuer credits the second target amount of funds in the off-chain participant's account and debits the second target amount of funds in the off-chain issuer's account.
[0155] S96. The off-chain issuer sends a deposit return message to the off-chain participants.
[0156] like Fig.11 As shown, the deregistration process may further include the following steps: S101-S109.
[0157] S101. The off-chain participant sends an off-chain cancellation application to the off-chain issuer, wherein the off-chain cancellation application includes the issuance batch number, issuance serial number, the identifier of the off-chain participant, and the second target amount.
[0158] S102. The off-chain issuer obtains the identifier of the on-chain participant's node based on the identifier of the off-chain participant, and detects the second target amount and the status of the digital currency wallet of the on-chain participant's node.
[0159] S103. When the detection is passed, the off-chain issuer sends an off-chain cancellation instruction message to the on-chain issuer node.
[0160] S104. The issuer node on the chain publishes a cancellation application transaction to the blockchain through the seventh contract interface. The cancellation application transaction includes the digital signature of the issuer node on the chain.
[0161] S105. The consensus node in the blockchain verifies the digital signature in the issuance application transaction, and if the verification is passed, votes on the cancellation application transaction based on the preset consensus mechanism. Further, the voting result is sent to the issuer node on the chain.
[0162] S106. When the voting result is passed, the on-chain issuer node triggers the smart contract to cancel the second target amount of digital currency in the digital currency wallet of the on-chain participant node, and publishes the result of canceling the second target amount of digital currency in the blockchain.
[0163] S107. The blockchain node sets the status of the cancellation request contract to a successful status and generates an issuance record.
[0164] S108. The on-chain issuer node sends a deposit return message to the off-chain issuer.
[0165] S109. After receiving the margin return instruction sent by the on-chain issuer node, the off-chain issuer credits the second target amount of funds in the off-chain participant's account, debits the second target amount of funds in the off-chain issuer's account, and sends a margin return message to the off-chain participant.
[0166] Understandably, the on-chain participant nodes are also located in the blockchain and can monitor the successful results of the cancellation request contract.
[0167] The fourth type is initiated by off-chain participants to cancel the digital currency on the chain in the form of returning the digital currency.
[0168] Specifically, Fig.12 As shown, the following steps are included: S201-S207.
[0169] S201. The off-chain participant sends an off-chain cancellation request to the off-chain issuer.
[0170] S202. The off-chain participant obtains the identifier of the on-chain participant's node based on the off-chain participant's identifier, and detects the second target amount and the status of the digital currency wallet of the on-chain participant's node.
[0171] S203. When the detection is passed, the off-chain issuer sends an off-chain cancellation instruction message to the on-chain issuer node.
[0172] Specifically, if the account status of the off-chain participant node is normal, and / or the first target amount is less than or equal to the remaining generated amount of the off-chain participant node in the on-chain issuer node, the detection is passed. S204. After receiving the off-chain cancellation instruction message, the on-chain issuer node cancels the second target amount of digital currency in the digital currency wallet of the on-chain participant node and generates a digital currency return message. The digital currency return message includes the second target amount and the identifier of the off-chain participant. S205. The on-chain issuer node sends a digital currency return message to the off-chain issuer.
[0173] S206. The off-chain issuer generates a second target amount of digital currency in the off-chain issuer's digital currency wallet.
[0174] S207. The off-chain issuer sends a digital currency return message to the off-chain participant.
[0175] In some embodiments, the on-chain issuer node may also transfer the second target amount of digital currency in the digital currency wallet of the on-chain participant node to the digital currency wallet of the off-chain participant.
[0176] In combination with the above-mentioned on-chain currency generation method and on-chain currency cancellation method, the transaction processing method provided by this application is specifically introduced below in combination with the accompanying drawings.
[0177] Fig.13 This is a flow chart of a transaction processing method according to an exemplary embodiment. The transaction processing method in the embodiment of the present application is applied to the on-chain issuer node in the cross-border transaction system; the on-chain issuer node is located on the blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network. Fig.13 As shown, the transaction processing method includes the following steps: S301-S302.
[0178] S301. The on-chain issuer node receives the issuance instruction message sent by the off-chain issuer.
[0179] Wherein, the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage an off-chain local bank account, the off-chain local digital currency system is used to manage an off-chain digital currency wallet, and the issuance instruction message includes an off-chain participant identifier, a first target amount, and a deduction success indication. In the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant, and in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant.
[0180] In some embodiments, deducting the first target amount of currency from a local bank account of an off-chain local payment system of an off-chain participant includes: debiting the first target amount in the local bank account of the off-chain participant through the off-chain local payment system, and crediting the first target amount in the margin account of the off-chain issuer.
[0181] In some embodiments, deducting a first target amount of currency from a local digital currency wallet of an off-chain local digital currency system of an off-chain participant includes: deducting the first target amount of digital currency from the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
[0182] It is understandable that the off-chain transaction system can be compatible with both the off-chain local payment system and the off-chain local digital currency system. If there is no off-chain local digital currency system in the target area, the instruction message can be sent through the off-chain local payment system. If there is both an off-chain local payment system and an off-chain local digital currency system in the target area, the instruction message can be sent through the off-chain local payment system or the off-chain local digital currency system. Then, the currency is deducted from the local bank account or the local digital currency wallet of the off-chain local digital currency system, and the corresponding currency is generated in the cross-border transaction system.
[0183] S302. The on-chain issuer node responds to the issuance instruction message and generates digital currency corresponding to the first target amount in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier in the blockchain network.
[0184] In one design, in order to make the currency generated in the cross-border transaction system consistent with the currency amount deducted in the domestic transaction system, the blockchain network also includes on-chain participant nodes. Fig.14 As shown, the transaction processing method in the embodiment of the present application further includes S303-S304 before receiving the issuance instruction message sent by the off-chain local payment system.
[0185] S303. The on-chain issuer node receives the on-chain issuance request sent by the on-chain participant node through the blockchain network.
[0186] Among them, the on-chain issuance request includes the digital currency wallet identifier of the on-chain participant node and the first target amount, and the on-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network.
[0187] As a possible implementation method, the on-chain issuer node receives the on-chain issuance request sent by the on-chain participant node through the blockchain network.
[0188] Specifically, the on-chain participant node generates an on-chain issuance request and publishes the on-chain issuance request in the blockchain. Correspondingly, the on-chain issuer node listens to the on-chain issuance request published by the on-chain participant node.
[0189] S304. The on-chain issuer node sends a deduction instruction to the off-chain issuer.
[0190] Among them, the deduction instruction is used to instruct the deduction of the first target amount of currency from the local bank account or local digital currency wallet of the off-chain participant.
[0191] In another case, the on-chain issuer node sends a deduction instruction to the off-chain participant through a private network.
[0192] In one design, in order to ensure the security of currency issued on the chain, S301 in the embodiment of the present application also includes S3021.
[0193] S3021. When the on-chain issuance request passes verification, the on-chain issuer node sends a deduction instruction to the off-chain issuer.
[0194] In one design, in order to avoid generating currency for on-chain participant nodes with abnormal account status, or to avoid generating currency for on-chain participant nodes, the transaction processing method in an embodiment of the present application also includes S401.
[0195] S401. The account status of the on-chain participant node is normal, and / or the first target amount is less than or equal to the remaining issuance amount of the on-chain participant node in the on-chain issuer node.
[0196] In some embodiments, the remaining issuance amount in the on-chain issuer node may also be the limit of the on-chain participant node, or the remaining issuance amount of the on-chain participant node on the chain. This embodiment of the present application does not limit this.
[0197] In one design, in the transaction processing method in the embodiment of the present application, the issuance indication message is generated by the off-chain issuer after receiving the off-chain issuance request sent by the off-chain participant. The off-chain issuance request includes the identifier of the off-chain participant, the first target amount, and the deduction success indication. The off-chain issuance request is used to request the issuance of the first target amount of currency in the blockchain network.
[0198] In one design, in the transaction processing method in an embodiment of the present application, the first target amount of currency is deducted from the local bank account of the off-chain participant, specifically including: debiting the first target amount in the local bank account of the off-chain participant through the off-chain local payment system, and crediting the first target amount in the margin account of the off-chain issuer.
[0199] In one design, Fig.15 As shown, the transaction processing method in the embodiment of the present application also includes S305-S307.
[0200] S305. The on-chain participant node receives the on-chain cancellation request message sent by the on-chain participant node.
[0201] Among them, the on-chain cancellation request message includes the identifier of the on-chain participant node and the second target amount.
[0202] S306. The on-chain participant node deducts the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node.
[0203] S307. The on-chain participant node sends a currency return message to the off-chain participant through the off-chain issuer of the off-chain transaction system.
[0204] Among them, the currency return message includes the identifier of the off-chain participant and the second target amount. The currency return message is used to instruct the off-chain issuer to increase the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0205] In one design, Fig.16 As shown, the transaction processing method in the embodiment of the present application also includes S308-S310.
[0206] S308. The on-chain participant node receives the off-chain cancellation request message sent by the off-chain issuer.
[0207] Among them, the off-chain cancellation request message includes the identifier of the on-chain participant node and the second target amount.
[0208] S309. The on-chain participant node deducts the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node.
[0209] S310. The on-chain participant node sends a currency return message to the off-chain participant through the off-chain issuer in the off-chain transaction system.
[0210] Among them, the currency return message includes the identifier of the off-chain participant and the second target amount. The currency return message is used to instruct the off-chain issuer to increase the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0211] In one design, in the transaction processing method in an embodiment of the present application, the currency of the second target amount is electronic currency or digital currency.
[0212] In one design, adding a second target amount of currency to a local bank account or local digital currency wallet of an off-chain participant specifically includes: crediting the first target amount in the local bank account of the off-chain participant through an off-chain local payment system, and debiting the first target amount in the margin account of the off-chain issuer; or, adding a second target amount of digital currency to the local digital currency wallet of the off-chain participant through an off-chain local digital currency system.
[0213] In one design, Fig.17 As shown, a transaction processing method in an embodiment of the present application is applied to an off-chain issuer in an off-chain transaction system. The off-chain transaction system also includes off-chain participants. The off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system. The off-chain local payment system is used to manage off-chain local bank accounts, and the off-chain local digital currency system is used to manage off-chain digital currency wallets. The method includes S501-S502.
[0214] S501. When the off-chain issuer determines that the first target amount of currency has been successfully deducted from the local bank account or local digital currency wallet of the off-chain participant, it generates an issuance instruction message.
[0215] Among them, the issuance instruction message includes the off-chain participant identifier, the first target amount and the deduction success indication; the issuance instruction message is used to instruct the generation of the first target amount of digital currency in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier through the on-chain issuer node, the on-chain participant node and the on-chain issuer node are located on the blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; when the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to instruct the deduction of the first target amount of currency from the local bank account of the off-chain local payment system of the off-chain participant, and when the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to instruct the deduction of the first target amount of currency from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant.
[0216] S502: The off-chain issuer sends an issuance instruction message to the on-chain issuer node on the blockchain network.
[0217] In one design, Fig.18 As shown, the transaction processing method in the embodiment of the present application also includes: S503-S504.
[0218] S503. The off-chain issuer receives the off-chain issuance request sent by the off-chain participant.
[0219] Among them, the off-chain issuance request includes the identification of the off-chain participant, the first target amount and an indication of successful deduction; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network.
[0220] S504: The off-chain issuer responds to the issuance request message and determines that the first target amount of currency has been successfully deducted from the local bank account or local digital currency wallet of the off-chain participant.
[0221] In one design, S501 in the embodiment of the present application specifically includes: S5011.
[0222] S5011. When the off-chain issuance request passes the verification, the off-chain issuer generates an issuance indication message.
[0223] In one design, the transaction processing method in an embodiment of the present application includes: S601.
[0224] S601. The account status of the off-chain issuer and the off-chain participant is normal, and / or the first target amount is less than or equal to the remaining generation amount of the off-chain participant in the on-chain issuer node.
[0225] In one design, in the transaction processing method in an embodiment of the present application, the currency of the first target amount is electronic currency or digital currency.
[0226] In one design, the transaction processing method in the embodiment of the present application includes: S505-S507.
[0227] S505. The off-chain issuer receives the off-chain cancellation request message sent by the off-chain participant.
[0228] Among them, the off-chain cancellation request message includes the digital currency wallet identifier of the on-chain participant node and the second target amount.
[0229] S506. The off-chain issuer sends an off-chain cancellation request message to the on-chain issuer node.
[0230] S507. In response to the currency return message sent by the on-chain issuer node, the off-chain issuer transfers the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0231] Among them, the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount from the digital currency wallet corresponding to the digital currency wallet identifier. The currency return message includes the off-chain participant identifier and the second target amount.
[0232] As a possible implementation method, after receiving the currency return message sent by the on-chain issuer node, the off-chain issuer parses the currency return message to obtain the off-chain participant identifier and the second target amount. Further, the off-chain issuer transfers the second target amount of currency to the off-chain participant's local bank account or local digital currency wallet based on the off-chain participant identifier.
[0233] In one design, the transaction processing method in the embodiment of the present application includes: S508-S509.
[0234] S508. The off-chain issuer receives the currency return message sent by the on-chain issuer node.
[0235] Among them, the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount from the digital currency wallet corresponding to the digital currency wallet identifier. The currency return message includes the identifier of the off-chain participant and the second target amount.
[0236] S509. In response to the currency return message, the off-chain issuer transfers the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0237] In one design, the transaction processing method in an embodiment of the present application generates a currency return message when the off-chain cancellation indication message passes verification.
[0238] In one design, in the transaction processing method in an embodiment of the present application, the off-chain cancellation indication message passes verification, including: the digital currency wallet status of the on-chain participant is normal, and / or the second target amount is less than or equal to the preset amount.
[0239] A transaction processing method provided in the first aspect of the present application brings the following beneficial effects: the on-chain issuer node receives the issuance instruction message sent by the off-chain issuer. The off-chain issuer is the issuer node in the domestic transaction system, and the issuance instruction message includes the identifier of the off-chain participant, the first target amount and the deduction success indication. The off-chain participant is the participant node in the domestic transaction system, and the deduction success indication is used to indicate that the first target amount of currency has been successfully deducted from the off-chain participant. In response to the issuance instruction message, the first target amount of currency is generated in the transaction account of the on-chain participant node, and the transaction account is used for cross-border transactions. In this way, based on the deduction of the first target amount of currency by the off-chain participant, the on-chain issuer node generates the first target amount of currency in the transaction account of the on-chain participant node, thereby generating currency in the cross-border payment system. In addition, the cross-border transaction system is connected to the financial infrastructure of the domestic transaction system, which can avoid the duplication of financial infrastructure and realize the efficient linkage between the cross-border transaction system and the domestic transaction system.
[0240] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the transaction device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0241] The embodiment of the present application can exemplarily divide the functional modules of the transaction device or electronic device according to the above method. For example, the transaction device or electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0242] For example, an embodiment of the present application also provides a transaction processing device.
[0243] Fig.19 is a block diagram of a payment processing device according to an exemplary embodiment. Fig.19The payment processing device 70 is applied to the on-chain issuer node in the cross-border transaction system; the on-chain issuer node is located on the blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; the device includes: a receiving unit 701 and a generating unit 702.
[0244] The receiving unit 701 is used to receive an issuance instruction message sent by an off-chain issuer in an off-chain transaction system; the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the issuance instruction message includes an off-chain participant identifier, a first target amount and a deduction success indication, the off-chain local payment system is used to manage an off-chain local bank account, and the off-chain local digital currency system is used to manage an off-chain digital currency wallet; when the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate the deduction of the first target amount of currency from the local bank account of the off-chain local payment system of the off-chain participant, and when the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate the deduction of the first target amount of currency from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant.
[0245] The generating unit 702 is used to generate digital currency corresponding to the first target amount in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier of the blockchain network in response to the issuance indication message.
[0246] In a possible implementation, Fig.19 As shown, the payment processing device 70 also includes a sending unit 703. The receiving unit 701 is also used to receive an on-chain issuance request sent by the on-chain participant node through the blockchain network; the on-chain issuance request includes the digital currency wallet identifier and the first target amount of the on-chain participant node, and the on-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network. The sending unit 703 is also used for the on-chain issuer node to send a deduction instruction to the off-chain issuer; the deduction instruction is used to instruct the deduction of the first target amount of currency from the local bank account or local digital currency wallet of the off-chain participant.
[0247] In a possible implementation, the sending unit 703 is specifically configured to, when the on-chain issuance request passes verification, have the on-chain issuer node send a deduction instruction to the off-chain issuer.
[0248] In one possible implementation, the above-mentioned “on-chain issuance request passes verification” includes: the account status of the on-chain participant node is normal, and / or the first target amount is less than or equal to the remaining issuance amount of the on-chain participant node in the on-chain issuer node.
[0249] In one possible implementation, the issuance indication message is generated by the off-chain issuer after receiving the off-chain issuance request sent by the off-chain participant; the off-chain issuance request includes the off-chain participant identifier and the first target amount; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network.
[0250] In a possible implementation, Fig.19 As shown, the transaction processing device 70 further includes a processing unit 704. The processing unit 704 is configured to debit the first target amount in the local bank account of the off-chain participant through the off-chain local payment system, and credit the first target amount in the margin account of the off-chain issuer.
[0251] In a possible implementation, the processing unit 704 is further configured to deduct the first target amount of currency from the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
[0252] In a possible implementation, the receiving unit 701 is further used to receive an on-chain cancellation request message sent by an on-chain participant node; the on-chain cancellation request message includes the identifier of the on-chain participant node and the second target amount. The processing unit 704 is further used to deduct the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node. The sending unit 703 is further used to send a currency return message to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to indicate the addition of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0253] In a possible implementation, the receiving unit 701 is further used to receive an off-chain cancellation instruction message sent by the off-chain issuer; the off-chain cancellation instruction message includes the digital currency wallet identifier of the on-chain participant node and the second target amount, and the off-chain cancellation instruction message is generated by the off-chain issuer according to the off-chain cancellation request information sent by the off-chain participant to the off-chain issuer. The processing unit 704 is also used to deduct the digital currency corresponding to the second target amount from the digital currency wallet of the on-chain participant node. The sending unit 703 is also used to send a currency return message to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to indicate the addition of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
[0254] In one possible implementation, the processing unit 704 is further used to: credit the first target amount in the local bank account of the off-chain participant through the off-chain local payment system, and debit the first target amount in the margin account of the off-chain issuer; or increase the digital currency of the second target amount in the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
[0255] Fig. 20 is a transaction processing block diagram according to an exemplary embodiment. Fig. 20 The transaction processing device 80 is applied to the off-chain issuer in the off-chain transaction system, the off-chain transaction system also includes off-chain participants, the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage the off-chain local bank account, and the off-chain local digital currency system is used to manage the off-chain digital currency wallet. The transaction processing device 80 includes: a generating unit 801 and a sending unit 802.
[0256] The generating unit 801 is used to generate an issuance instruction message when it is determined that the first target amount of currency is successfully deducted from the local bank account of the off-chain local payment system of the off-chain participant or the local digital currency wallet of the off-chain local digital currency system; the issuance instruction message includes the off-chain participant identifier, the first target amount and the deduction success indication; the issuance instruction message is used to indicate that the first target amount of digital currency is generated in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier through the on-chain issuer node, and the on-chain participant node and the on-chain issuer node are located on the blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network. In the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant, and in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant.
[0257] The sending unit 802 is used to send an issuance indication message to the on-chain issuer node on the blockchain network.
[0258] In a possible implementation, Fig. 20 As shown, the transaction processing device 80 also includes a receiving unit 803 and a determining unit 804. The receiving unit 803 is used to receive an off-chain issuance request sent by an off-chain participant; the off-chain issuance request includes an off-chain participant identifier, a first target amount, and a deduction success indication; the off-chain issuance request is used to request the issuance of a first target amount of digital currency in the blockchain network.
[0259] The determination unit 804 is further configured to determine, in response to the issuance request message, whether the first target amount of currency has been successfully deducted from a local bank account or a local digital currency wallet of an off-chain participant.
[0260] In a possible implementation, the generation unit 801 is specifically configured to generate an issuance indication message when the off-chain issuance request passes verification.
[0261] In one possible implementation, the above-mentioned “off-chain issuance request passes verification” includes: the account status of the off-chain participant is normal, and / or the first target amount is less than or equal to the remaining generation amount of the off-chain participant in the on-chain issuer node.
[0262] In a possible implementation, Fig. 20 As shown, the transaction processing device 80 further includes a processing unit 805. The receiving unit 803 is further configured to receive an off-chain cancellation request message sent by an off-chain participant.
[0263] The sending unit 802 is further used to send an off-chain cancellation request message to the on-chain issuer node, wherein the off-chain cancellation request message includes the digital currency wallet identifier of the on-chain participant node and the second target amount.
[0264] Processing unit 805 is used to transfer the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant in response to the currency return message sent by the on-chain issuer node; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount in the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the off-chain participant identifier and the second target amount.
[0265] In a possible implementation, the receiving unit 803 is also used to receive a currency return message sent by the on-chain issuer node; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount in the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the identifier of the off-chain participant and the second target amount.
[0266] The processing unit 805 is further configured to transfer a second target amount of currency to a local bank account or a local digital currency wallet of an off-chain participant in response to the currency return message.
[0267] In a possible implementation, the processing unit 805 is further configured to generate a currency return message when the off-chain cancellation indication message passes verification.
[0268] In one possible implementation, the above-mentioned “off-chain cancellation indication message passes verification” includes: the digital currency wallet status of the on-chain participant is normal, and / or the second target amount is less than or equal to the preset amount.
[0269] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the present application embodiment provides a possible structural diagram of the payment device involved in the above-mentioned embodiment. Fig.21 As shown, the transaction processing device 90 includes a processor 901, a memory 902 and a bus 903. The processor 901 and the memory 902 may be connected via the bus 903.
[0270] The processor 901 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 901 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0271] As an embodiment, the processor 901 may include one or more CPUs, such as Fig.21 CPU 0 and CPU 1 are shown in .
[0272] The memory 902 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0273] As a possible implementation, the memory 902 may exist independently of the processor 901, and the memory 902 may be connected to the processor 901 via a bus 903, and is used to store instructions or program codes. When the processor 901 calls and executes the instructions or program codes stored in the memory 902, the sensor determination method provided in the embodiment of the present application can be implemented.
[0274] In another possible implementation, the memory 902 may also be integrated with the processor 901 .
[0275] The bus 903 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.21 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0276] It should be pointed out that Fig.21 The structure shown does not constitute a limitation on the transaction processing device 90. Fig.21 In addition to the components shown, the transaction processing device 90 may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0277] Optionally, the transaction processing device 90 provided in the embodiment of the present application may also include a communication interface 904.
[0278] The communication interface 904 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 904 may include a receiving unit for receiving data and a sending unit for sending data.
[0279] In one design, in the transaction processing device provided in an embodiment of the present application, the communication interface can also be integrated into the processor.
[0280] In another hardware structure of a payment device provided in an embodiment of the present application, the electronic device may include a processor and a communication interface. The processor is coupled to the communication interface.
[0281] The functions of the processor may refer to the description of the above processor. In addition, the processor also has a storage function, which may refer to the function of the above memory.
[0282] The communication interface is used to provide data to the processor. The communication interface can be an internal interface of the communication device or an external interface of the communication device.
[0283] It should be pointed out that the above-mentioned another hardware structure does not constitute a limitation on the transaction processing device. In addition to the above-mentioned another hardware component, the payment device may include more or fewer components, or a combination of certain components, or different component arrangements.
[0284] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the structural diagram of the middleware involved in the above-mentioned embodiments provided in the embodiments of the present application can refer to the structural diagram of the above-mentioned execution machine.
[0285] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the transaction processing method flow shown in the above method embodiment.
[0286] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the transaction processing method in the above method embodiment.
[0287] Among them, the computer-readable storage medium, for example, can be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. The computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, or the above-mentioned people in a suitable combination, or any other form of computer-readable storage medium of numerical value in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0288] Since the server, user equipment, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.
[0289] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A transaction processing method, characterized in that: An on-chain issuer node applied to a cross-border transaction system; the on-chain issuer node is located on a blockchain network included in the cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; the method includes: Receiving an issuance instruction message sent by an off-chain issuer in an off-chain transaction system; the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage an off-chain local bank account, and the off-chain local digital currency system is used to manage an off-chain digital currency wallet, and the issuance instruction message includes an off-chain participant identifier, a first target amount, and a deduction success indication; Wherein, in the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant; in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant; In response to the issuance indication message, digital currency corresponding to the first target amount is generated in a digital currency wallet of an on-chain participant node corresponding to the off-chain participant identifier of the blockchain network.
2. The transaction processing method according to claim 1, characterized in that: Before receiving the issuance instruction message sent by the off-chain issuer in the off-chain transaction system, the method further includes: Receiving an on-chain issuance request sent by the on-chain participant node through the blockchain network; the on-chain issuance request includes the digital currency wallet identifier of the on-chain participant node and the first target amount, and the on-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network; The on-chain issuer node sends a deduction instruction to the off-chain issuer; the deduction instruction is used to instruct the deduction of the first target amount of currency from the local bank account or local digital currency wallet of the off-chain participant.
3. The transaction processing method according to claim 2, characterized in that: The on-chain issuer node sends a deduction instruction to the off-chain issuer, including: When the on-chain issuance request passes the verification, the on-chain issuer node sends a deduction instruction to the off-chain issuer; Among them, the on-chain issuance request passes the verification, including: the account status of the on-chain participant node is normal, and / or the first target amount is less than or equal to the remaining issuance amount of the on-chain participant node in the on-chain issuer node.
4. The transaction processing method according to claim 1, characterized in that: The issuance indication message is generated by the off-chain issuer after receiving the off-chain issuance request sent by the off-chain participant; the off-chain issuance request includes the off-chain participant identifier and the first target amount; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network.
5. The transaction processing method according to claim 1, characterized in that: The deducting the first target amount of currency from the local bank account of the off-chain local payment system of the off-chain participant comprises: The first target amount is debited in the local bank account of the off-chain participant through the off-chain local payment system, and the first target amount is credited in the margin account of the off-chain issuer.
6. The transaction processing method according to claim 1, characterized in that: The deducting the first target amount of currency from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant includes: The first target amount of digital currency is deducted from the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
7. The transaction processing method according to claim 1, characterized in that: The method further comprises: Receiving an on-chain cancellation request message sent by an on-chain participant node; the on-chain cancellation request message includes an identifier of the on-chain participant node and a second target amount; The digital currency corresponding to the second target amount in the digital currency wallet of the on-chain participant node is deducted, and a currency return message is sent to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to instruct the addition of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
8. The transaction processing method according to claim 1, characterized in that: The method further comprises: receiving an off-chain cancellation instruction message sent by the off-chain issuer; the off-chain cancellation instruction message includes the digital currency wallet identifier of the on-chain participant node and the second target amount, and the off-chain cancellation instruction message is generated by the off-chain issuer according to the off-chain cancellation request information sent by the off-chain participant to the off-chain issuer; The digital currency corresponding to the second target amount in the digital currency wallet of the on-chain participant node is deducted, and a currency return message is sent to the off-chain participant through the off-chain issuer of the off-chain transaction system; the currency return message includes the off-chain participant identifier and the second target amount, and the currency return message is used to instruct the addition of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant.
9. The transaction processing method according to claim 7 or 8, characterized in that: The adding of the second target amount of currency to the local bank account or local digital currency wallet of the off-chain participant comprises: Crediting the first target amount in the local bank account of the off-chain participant through the off-chain local payment system, and debiting the first target amount in the margin account of the off-chain issuer; Or, the second target amount of digital currency is added to the local digital currency wallet of the off-chain participant through the off-chain local digital currency system.
10. A transaction processing method, characterized in that: Applied to an off-chain issuer in an off-chain transaction system, the off-chain transaction system also includes off-chain participants, the off-chain transaction system includes at least one of an off-chain local payment system and an off-chain local digital currency system, the off-chain local payment system is used to manage an off-chain local bank account, and the off-chain local digital currency system is used to manage an off-chain digital currency wallet; the method includes: In the case of determining that the first target amount of currency is successfully deducted from the local bank account of the off-chain local payment system or the local digital currency wallet of the off-chain local digital currency system of the off-chain participant, generating an issuance instruction message; the issuance instruction message includes the off-chain participant identifier, the first target amount and a deduction success indication; the issuance instruction message is used to instruct the on-chain issuer node to generate the first target amount of digital currency in the digital currency wallet of the on-chain participant node corresponding to the off-chain participant identifier; The on-chain participant node and the on-chain issuer node are located on a blockchain network included in a cross-border transaction system, and the cross-border transaction system is used to perform cross-border transaction business through the blockchain network; In the case where the issuance instruction message is sent by the off-chain local payment system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local bank account of the off-chain local payment system of the off-chain participant; in the case where the issuance instruction message is sent by the off-chain local digital currency system, the deduction success indication is used to indicate that the first target amount of currency is deducted from the local digital currency wallet of the off-chain local digital currency system of the off-chain participant; Send the issuance indication message to the on-chain issuer node on the blockchain network.
11. The transaction processing method according to claim 10, characterized in that: The method further comprises: receiving an off-chain issuance request sent by the off-chain participant; the off-chain issuance request includes the off-chain participant identifier, the first target amount, and the deduction success indication; the off-chain issuance request is used to request the issuance of the first target amount of digital currency in the blockchain network; In response to the issuance request message, it is determined that the first target amount of currency is successfully deducted from the local bank account or local digital currency wallet of the off-chain participant.
12. The transaction processing method according to claim 10, characterized in that: The generating of the issuance instruction message comprises: If the off-chain issuance request passes the verification, generating the issuance indication message; Among them, the off-chain issuance request passes the verification, including: the account status of the off-chain participant is normal, and / or the first target amount is less than or equal to the remaining generation amount of the off-chain participant in the on-chain issuer node.
13. The transaction processing method according to claim 10, characterized in that: The method further comprises: Receiving an off-chain cancellation request message sent by the off-chain participant, and sending the off-chain cancellation request message to the on-chain issuer node; the off-chain cancellation request message includes the digital currency wallet identifier of the on-chain participant node and the second target amount; In response to the currency return message sent by the on-chain issuer node, the second target amount of currency is transferred to the local bank account or local digital currency wallet of the off-chain participant; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount from the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the off-chain participant identifier and the second target amount.
14. The transaction processing method according to claim 13, characterized in that: The method further comprises: receiving a currency return message sent by the on-chain issuer node; the currency return message is generated by the on-chain issuer node after deducting the digital currency corresponding to the second target amount from the digital currency wallet corresponding to the digital currency wallet identifier, and the currency return message includes the identifier of the off-chain participant and the second target amount; In response to the currency return message, the second target amount of currency is transferred to a local bank account or a local digital currency wallet of the off-chain participant.
15. The transaction processing method according to claim 13 or 14, characterized in that: The method further comprises: If the off-chain cancellation instruction message passes the verification, generating the currency return message; Among them, the off-chain cancellation indication message passes the verification, including: the digital currency wallet status of the on-chain participant is normal, and / or the second target amount is less than or equal to the preset amount.
16. A transaction processing device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the transaction processing method as described in any one of claims 1 to 9 or to implement the transaction processing method as described in any one of claims 10 to 15.
17. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the transaction processing method as described in any one of claims 1 to 9 or the transaction processing method as described in any one of claims 10 to 15.
Citation Information
Cited By
Transaction processing method, apparatus, device and storage medium
EP4693153A1
Transaction processing method, apparatus, device and storage medium
WO2024208151A1
