CN114493584A - Cross-border consumption payment method, node and system based on legal digital currency - Google Patents
Cross-border consumption payment method, node and system based on legal digital currency Download PDFInfo
- Publication number
- CN114493584A CN114493584A CN202111671295.1A CN202111671295A CN114493584A CN 114493584 A CN114493584 A CN 114493584A CN 202111671295 A CN202111671295 A CN 202111671295A CN 114493584 A CN114493584 A CN 114493584A
- Authority
- CN
- China
- Prior art keywords
- payment
- chain
- string
- order
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3821—Electronic credentials
- G06Q20/38215—Use of certificates or encrypted proofs of transaction rights
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域technical field
本发明涉及区块链技术领域,尤其涉及一种基于法定数字货币的跨境消费支付方法、节点及系统。The invention relates to the technical field of blockchain, and in particular to a cross-border consumption payment method, node and system based on legal digital currency.
背景技术Background technique
随着数字货币的发行和推广,利用数字货币执行交易的场合也越来越广泛。目前数字货币不仅支持境内支付的交易场景,同时还支持跨境消费支付的交易场景。With the issuance and promotion of digital currency, there are more and more occasions where digital currency is used to execute transactions. At present, digital currency not only supports domestic payment transaction scenarios, but also supports cross-border consumption payment transaction scenarios.
但是,现有的跨境消费支付存在多种问题,例如到账时间预估难、中间成本不透明、支付进程无法追踪,同时还存在数字支付工具普遍可获得性的缺乏,第三方支付公司和其他交易数据供应商的治理框架不足等问题。However, there are many problems in the existing cross-border consumer payment, such as difficulty in estimating the arrival time, opaque intermediate costs, untraceable payment process, and the lack of general availability of digital payment tools, third-party payment companies and other Issues such as insufficient governance frameworks for transaction data providers.
由此可知,现有的跨境消费支付费用高、效率低,且安全性低的问题。It can be seen from this that the existing cross-border consumption payment has the problems of high cost, low efficiency and low security.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供一种基于法定数字货币的跨境消费支付方法、节点及系统,以解决现有效率低和安全性低的问题。In view of this, embodiments of the present invention provide a cross-border consumption payment method, node and system based on legal digital currency, so as to solve the existing problems of low efficiency and low security.
为解决上述问题,本发明实施例提供如下技术方案:To solve the above problems, the embodiments of the present invention provide the following technical solutions:
本发明实施例第一方面公开了一种基于法定数字货币的跨境消费支付方法,适用于部署于链上的跨境支付节点,所述跨境支付节点基于区块链底层链和区块链即服务BaaS平台构建,所述方法包括:The first aspect of the embodiments of the present invention discloses a cross-border consumption payment method based on legal digital currency, which is suitable for cross-border payment nodes deployed on the chain, and the cross-border payment nodes are based on the underlying chain of the blockchain and the blockchain. As-a-service BaaS platform construction, the method includes:
监听上链的订单信息,所述订单信息至少包括订单支付金额和待执行支付的链上钱包id;Monitor the order information on the chain, the order information at least includes the order payment amount and the wallet id on the chain for the payment to be executed;
当监听到上链的订单信息时,启动EDA驱动模式,获取所述链上钱包id对应的链上钱包中的币串余额,所述链上钱包包括账户地址、链上钱包id、币串余额、币串列表、冻结币串列表、账户信息和归属信息;When the order information on the chain is monitored, the EDA drive mode is started, and the balance of the coin string in the on-chain wallet corresponding to the on-chain wallet id is obtained, and the on-chain wallet includes the account address, the id of the on-chain wallet, and the balance of the coin string. , currency string list, frozen currency string list, account information and attribution information;
若所述币串余额大于或等于所述订单支付金额,由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串;If the coin string balance is greater than or equal to the order payment amount, the domestic system node will process based on the order payment amount and the coin string balance on the chain, and obtain an equivalent coin string equal to the order payment amount ;
获取基于所述等值币串执行交易后上链的币串信息和支付状态信息,所述支付状态信息至少包括订单号;Obtain the coin string information and payment status information uploaded on the chain after the transaction is performed based on the equivalent coin string, and the payment status information at least includes the order number;
根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。According to the currency string information and the payment status information, the cross-border consumption accounting operation of both parties of the transaction is performed.
可选的,所述方法还包括:Optionally, the method further includes:
若所述币串余额小于所述订单支付金额,结束支付或者由所述境内系统节点执行数字货币兑换流程。If the balance of the currency string is less than the payment amount of the order, the payment is ended or the digital currency exchange process is performed by the domestic system node.
可选的,在执行交易双方的跨境消费记账操作之后,还包括:Optionally, after performing the cross-border consumption accounting operations of both parties to the transaction, it also includes:
发送支付结果通知消息至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述支付结果通知消息,并接收所述收单商户反馈的支付结果确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。Send the payment result notification message to the overseas acquiring system node, and the overseas acquiring system node sends the payment result notification message to the acquiring merchant, and receives the payment result confirmation notification fed back by the acquiring merchant, and the transaction result Including the change information of the on-chain wallet balance of the acquiring merchant.
可选的,所述方法还包括:Optionally, the method further includes:
监听上链的撤销订单信息,所述撤销订单信息包括用于指示交易的唯一键值;Monitor the revocation order information on the chain, the revocation order information includes the unique key value used to indicate the transaction;
基于所述唯一键值查询所述交易的支付状态信息;Query the payment status information of the transaction based on the unique key value;
若所述支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,发送订单撤销成功信息;If the payment status information does not exist, or the payment status information is failed or the payment status information is cancelled, send order cancellation success information;
若所述支付状态信息为待确定,发送订单撤销失败信息;If the payment status information is to be determined, send order cancellation failure information;
若所述支付状态信息为成功,则执行撤销交易流程,并将撤单结果发送至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。If the payment status information is successful, execute the cancellation transaction process, and send the cancellation result to the overseas acquiring system node, and the overseas acquiring system node will send the cancellation result to the acquiring merchant, and receive the cancellation result. The order cancellation confirmation notice fed back by the acquirer merchant, and the transaction result includes the change information of the on-chain wallet balance of the acquirer merchant.
可选的,所述方法还包括:Optionally, the method further includes:
监听上链的币串兑回请求,所述币串兑回请求中的待兑回的币串;基于所述待兑回的币串进行兑回处理,将兑回的币串余额添加至所述链上钱包id对应的人民币余额账户中;Monitor the currency string redemption request on the chain, and the currency string to be redeemed in the currency string redemption request; perform the redemption process based on the currency string to be redeemed, and add the balance of the redeemed currency string to the in the RMB balance account corresponding to the wallet id on the chain;
获取交易时的原始外汇牌价和原始汇率,执行结售汇操作,基于所述原始外汇牌价和原始汇率将添加至所述人民币余额账户中的币串余额转换为外币;Obtain the original foreign exchange quotation and original exchange rate at the time of the transaction, perform foreign exchange settlement and sale operations, and convert the currency string balance added to the RMB balance account into foreign currency based on the original foreign exchange quotation and original exchange rate;
当所述结售汇操作完成后,向境外收单系统节点发送解付应答通知。After the foreign exchange settlement and sale operation is completed, a payment release response notice is sent to the overseas acquiring system node.
本发明第二方面公开了一种跨境支付节点,所述跨境支付节点基于区块链底层链和区块链即服务BaaS平台构建,所述跨境支付节点包括:A second aspect of the present invention discloses a cross-border payment node. The cross-border payment node is constructed based on a blockchain underlying chain and a blockchain-as-a-service BaaS platform. The cross-border payment node includes:
链上监听模块,用于监听上链的订单信息,当监听到上链的订单信息时,启动电子设计自动化EDA驱动模式执行业务模块,所述订单信息至少包括订单支付金额和待执行支付的链上钱包id;The on-chain monitoring module is used to monitor the order information on the chain. When the order information on the chain is monitored, the electronic design automation EDA drive mode is activated to execute the business module. The order information at least includes the order payment amount and the chain of the payment to be executed. upper wallet id;
业务模块,用于获取所述链上钱包id对应的链上钱包中的币串余额;若所述币串余额大于或等于所述订单支付金额,由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串;若所述币串余额小于所述订单支付金额,结束支付或者由所述境内系统节点执行数字货币兑换流程,链上钱包包括账户地址、链上钱包id、币串余额、币串列表、冻结币串列表、账户信息和归属信息;The business module is used to obtain the balance of the coin string in the wallet on the chain corresponding to the wallet id on the chain; if the balance of the coin string is greater than or equal to the payment amount of the order, the domestic system node will pay based on the order on the chain The amount and the balance of the currency string are processed to obtain an equivalent currency string equal to the payment amount of the order; if the balance of the currency string is less than the payment amount of the order, the payment is ended or the digital currency exchange is performed by the domestic system node Process, on-chain wallet includes account address, on-chain wallet id, coin string balance, coin string list, frozen coin string list, account information and attribution information;
交易管理模块,用于获取基于所述等值币串执行交易后上链的币串信息和支付状态信息,所述支付状态信息至少包括订单号;根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。The transaction management module is used to obtain the coin string information and payment status information uploaded on the chain after executing the transaction based on the equivalent coin string, the payment status information at least includes the order number; according to the coin string information and the payment status information Perform cross-border consumption accounting operations for both parties to the transaction.
可选的,所述交易管理模块,还用于在执行交易双方的跨境消费记账操作之后,发送交易结果至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述交易结果,并接收所述收单商户反馈的支付结果确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。Optionally, the transaction management module is further configured to send the transaction result to the overseas acquiring system node after performing the cross-border consumption accounting operation of both parties to the transaction, and the overseas acquiring system node will send the information to the acquiring merchant. The transaction result is received, and the payment result confirmation notification fed back by the acquiring merchant is received, and the transaction result includes the change information of the on-chain wallet balance of the acquiring merchant.
可选的,所述链上监听模块,还用于监听上链的撤销订单信息,所述退货订单信息包括用于指示交易的唯一键值;Optionally, the on-chain monitoring module is further configured to monitor the cancellation order information on the chain, and the return order information includes a unique key value for indicating a transaction;
所述交易管理模块,还用于基于所述唯一键值查询所述交易的支付状态信息;若所述支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,发送订单撤销成功信息;若所述支付状态信息为待确定,发送订单撤销失败信息;若所述支付状态信息为成功,则执行撤销交易流程,并将撤单结果发送至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息;The transaction management module is further configured to query the payment status information of the transaction based on the unique key value; if the payment status information does not exist, or the payment status information is failed or the payment status information is revoked , send order cancellation success information; if the payment status information is pending, send order cancellation failure information; if the payment status information is successful, execute the cancellation transaction process, and send the cancellation result to the overseas acquiring system node , the overseas acquiring system node sends the cancellation result to the acquiring merchant, and receives the cancellation confirmation notification fed back by the acquiring merchant, and the transaction result includes the change in the on-chain wallet balance of the acquiring merchant information;
可选的,所述链上监听模块,还用于监听上链的币串兑回请求,所述币串兑回请求中的待兑回的币串;Optionally, the on-chain monitoring module is further configured to monitor the on-chain currency string redemption request, the currency string to be redeemed in the currency string redemption request;
所述交易管理模块,还用于基于所述待兑回的币串进行兑回处理,将兑回的币串余额添加至所述链上钱包id对应的人民币余额账户中,获取交易时的原始外汇牌价和原始汇率,执行结售汇操作,基于所述原始外汇牌价和原始汇率将添加至所述人民币余额账户中的币串余额转换为外币,当所述结售汇操作完成后,向境外收单系统节点发送解付应答通知。The transaction management module is further configured to perform redemption processing based on the coin string to be redeemed, add the balance of the redeemed coin string to the RMB balance account corresponding to the on-chain wallet id, and obtain the original value of the transaction. The foreign exchange quotation and original exchange rate, and the foreign exchange settlement and sale operation is performed, and the currency string balance added to the RMB balance account is converted into foreign currency based on the original foreign exchange quotation and original exchange rate. The acquiring system node sends the payment release response notification.
本发明第三方面公开了一种跨境消费支付系统,所述系统包括:部署于链上的跨境支付节点、境内系统节点和境外收单系统节点;A third aspect of the present invention discloses a cross-border consumption payment system, the system comprising: a cross-border payment node, a domestic system node and an overseas acquiring system node deployed on the chain;
所述跨境支付节点基于区块链底层链和区块链即服务BaaS平台构建;The cross-border payment node is constructed based on the blockchain underlying chain and the blockchain-as-a-service BaaS platform;
所述跨境支付节点,用于监听链上的各类交易请求,当监听到上链的订单信息时,启动EDA驱动模式,若所述交易请求为订单信息,获取所述链上钱包id对应的链上钱包中的币串余额;以及若所述币串余额大于或等于所述订单支付金额,由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串;基于所述等值币串执行交易后上链的币串信息和支付状态信息;根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作;若所述币串余额小于所述订单支付金额,结束支付或者由所述境内系统节点执行数字货币兑换流程;所述订单信息至少包括订单支付金额和待执行支付的链上钱包id;所述境内系统节点,用于基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串,以及执行数字货币兑换流程;The cross-border payment node is used to monitor various transaction requests on the chain. When monitoring the order information on the chain, start the EDA drive mode. If the transaction request is order information, obtain the corresponding wallet id on the chain. The balance of the coin string in the wallet on the chain; and if the balance of the coin string is greater than or equal to the payment amount of the order, the domestic system node will process based on the payment amount of the order and the balance of the coin string on the chain, and obtain the same The equivalent coin string equal to the payment amount of the order; the coin string information and payment status information uploaded on the chain after the transaction is executed based on the equivalent coin string; If the balance of the currency string is less than the order payment amount, end the payment or execute the digital currency exchange process by the domestic system node; the order information at least includes the order payment amount and the on-chain payment to be executed. Wallet id; the domestic system node is used to process based on the order payment amount and the currency string balance on the chain, obtain an equivalent currency string equal to the order payment amount, and execute the digital currency exchange process;
所述境外收单系统节点,用于将各类交易请求上链,以及接收并处理各类交易通知和应答通知。The overseas acquiring system node is used to upload various transaction requests to the chain, and to receive and process various transaction notifications and response notifications.
可选的,所述系统还包括消费服务节点;Optionally, the system further includes a consumer service node;
所述消费服务节点,用于当跨境消费业务量扩展时,或者跨境消费业务类型扩展时提供相应的消费服务。The consumption service node is used to provide corresponding consumption services when the cross-border consumption business volume expands, or when the cross-border consumption business type expands.
基于上述本发明实施例提供的一种基于法定数字货币的跨境消费支付方法、节点及系统,利用跨境支付节点监听上链的订单信息,订单信息至少包括订单支付金额和待执行支付的链上钱包id;当监听到上链的订单信息时,启动EDA驱动模式,获取链上钱包id对应的链上钱包中的币串余额;若币串余额大于或等于订单支付金额,由境内系统节点基于链上的订单支付金额和币串余额进行处理,得到与订单支付金额等额的等值币串;获取基于等值币串执行交易后上链的币串信息和支付状态信息,根据币串信息和支付状态信息执行交易双方的跨境消费记账操作。在本方案中,利用部署于链上的跨境消费支付节点与境内系统节点进行互联互通,并基于跨境消费支付节点完成交易支付,能够实现高效且安全的完成跨境消费支付的目的。Based on a cross-border consumption payment method, node and system based on legal digital currency provided by the above-mentioned embodiments of the present invention, the cross-border payment node is used to monitor the order information on the chain, and the order information at least includes the order payment amount and the chain of the payment to be executed. On-chain wallet id; when monitoring the order information on the chain, start the EDA drive mode to obtain the balance of the coin string in the on-chain wallet corresponding to the on-chain wallet id; if the coin string balance is greater than or equal to the order payment amount, the domestic system node Process based on the order payment amount and coin string balance on the chain, and obtain an equivalent coin string equal to the order payment amount; and payment status information to perform cross-border consumption accounting operations between both parties. In this solution, the cross-border consumption payment nodes deployed on the chain are used to interconnect with domestic system nodes, and the transaction payment is completed based on the cross-border consumption payment nodes, which can achieve the purpose of completing cross-border consumption payment efficiently and safely.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.
图1为本发明实施例提供的一种跨境消费支付系统的结构示意图;1 is a schematic structural diagram of a cross-border consumption payment system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种基于法定数字货币的跨境消费支付方法的流程示意图;2 is a schematic flowchart of a cross-border consumption payment method based on legal digital currency provided by an embodiment of the present invention;
图3为本发明实施例提供的一种被扫模式下的跨境消费支付方法的时序图;3 is a sequence diagram of a cross-border consumption payment method in a scanned mode provided by an embodiment of the present invention;
图4为本发明实施例提供的一种主扫模式下的跨境消费支付方法的时序图;4 is a sequence diagram of a cross-border consumption payment method in a main scan mode provided by an embodiment of the present invention;
图5为本发明实施例提供的一种撤单(退货)的跨境交易的时序图;5 is a sequence diagram of a cross-border transaction of order cancellation (return) provided by an embodiment of the present invention;
图6为本发明实施例提供的一种跨境支付节点的结构示意图;6 is a schematic structural diagram of a cross-border payment node provided by an embodiment of the present invention;
图7为本发明实施例提供的一种消费服务部署节点的部署图;FIG. 7 is a deployment diagram of a consumption service deployment node according to an embodiment of the present invention;
图8为本发明实施例提供的一种消费服务部署节点的部署图。FIG. 8 is a deployment diagram of a consumption service deployment node according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also no Other elements expressly listed, or which are also inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this 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 is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.
为了便于理解本发明的技术方案,对本发明中出现的技术术语进行说明:In order to facilitate the understanding of the technical solutions of the present invention, the technical terms appearing in the present invention are described:
数字货币(即法定数字货币,或央行数字货币,字母缩写按照国际使用惯例暂定为CBDC):是各国中央银行发行的数字形式的法定货币。Digital currency (that is, legal digital currency, or central bank digital currency, the abbreviation is tentatively designated as CBDC according to international usage practices): It is a digital form of legal currency issued by the central banks of various countries.
币串:是特定金额数字货币的外在表达形式,是依据特定规范生成、具有价值特征的标识符,以加密字符串形式存在于钱包中并展现,使数字货币像实物现金一样易于流通和贮藏。Currency string: It is the external expression of digital currency of a specific amount. It is an identifier with value characteristics generated according to specific specifications. It exists in the wallet and is displayed in the form of an encrypted string, making digital currency as easy to circulate and store as physical cash. .
数字钱包:数字钱包是数币货币的载体和触达用户的媒介,在本发明实施例中指按中央银行规范开立的境内CBDC钱包,其是用户持有的,并发起支付的钱包。Digital wallet: A digital wallet is a carrier of digital currency and a medium for reaching users. In the embodiment of the present invention, it refers to a domestic CBDC wallet opened according to the central bank's specifications, which is held by the user and initiates payment.
区块链数字货币钱包(账户余额模式+):是基于UTXO结构并包含账户余额模式在内的一种升级,其数据结构有别于传统公链的UTXO,是充分考虑基于账户体系的一种新的实践形式。由账户地址、数字钱包ID、余额、币串列表、冻结币串列表、账户信息以及归属Manager等信息要素组成,是解决跨境支付问题开立的特定钱包。在本发明实施例中指链上钱包。Blockchain digital currency wallet (account balance mode+): It is an upgrade based on UTXO structure and includes account balance mode. Its data structure is different from UTXO of traditional public chains, and it is a kind of account-based system that fully considers new forms of practice. It is composed of information elements such as account address, digital wallet ID, balance, currency string list, frozen currency string list, account information, and attribution Manager. It is a specific wallet opened to solve cross-border payment problems. In this embodiment of the present invention, it refers to an on-chain wallet.
跨境支付:两个或者两个以上国家或者地区之间因国际贸易、国际投资及其他方面所发生的国际间债权债务借助一定的结算工具和支付系统实现资金跨国和跨地区转移的行为。Cross-border payment: The international credit and debt between two or more countries or regions due to international trade, international investment and other aspects realizes the cross-border and cross-regional transfer of funds by means of certain settlement tools and payment systems.
跨境消费支付:指境内居民运用数字货币在境外线上或线下商户进行支付的行为,属国际收支中经常项目项下进口支出。Cross-border consumption payment: refers to the behavior of domestic residents to use digital currency to pay at overseas online or offline merchants, which is an import expenditure under the current account in the balance of payments.
跨境消费收单:指收单机构(在本发明实施例中指境外收单系统节点)提供为商户处理来自消费者银行卡、账户、电子钱包跨境付款的业务,支付请求经过支付网关、风控、交易处理后由收单机构向卡组织发送支付请求。Cross-border consumption acquiring: refers to the business that the acquiring institution (in the embodiment of the present invention, the node of the overseas acquiring system) provides for the merchant to process cross-border payment from the consumer's bank card, account, and electronic wallet. After the transaction is processed, the acquirer sends a payment request to the card organization.
如图1所示,本发明实施例提供一种跨境消费支付系统,该跨境消费支付系统包括部署于链上的跨境支付节点10、境内系统节点11和境外收单系统节点12。As shown in FIG. 1 , an embodiment of the present invention provides a cross-border consumption payment system. The cross-border consumption payment system includes a cross-border payment node 10 , a domestic system node 11 and an overseas acquiring system node 12 deployed on the chain.
可以认为跨境支付节点10、境内系统节点11和境外收单系统节点12为区块链节点。It can be considered that the cross-border payment node 10, the domestic system node 11 and the overseas acquiring system node 12 are blockchain nodes.
所述跨境支付节点10是基于区块链底层基础设施而所构建的上层应用之一。The cross-border payment node 10 is one of the upper-layer applications constructed based on the underlying infrastructure of the blockchain.
区块链底层基础设施内部数字资产链由扩展层,核心层和支撑层构成,其中,扩展层主要新增通过构建账户余额模型(类UTXO结构)作为区块链钱包的载体,同时,增加Oracle预言机服务实现与外部系统的交互,完成与可信数据源间的实时交换。此外,扩展层还支持多CA中心,多加密算法,多节点分片及可信执行环境等。The internal digital asset chain of the underlying infrastructure of the blockchain consists of an extension layer, a core layer and a support layer. Among them, the extension layer mainly adds an account balance model (UTXO-like structure) as the carrier of the blockchain wallet, and at the same time, adds Oracle The oracle service realizes interaction with external systems and completes real-time exchanges with trusted data sources. In addition, the extension layer also supports multi-CA centers, multi-encryption algorithms, multi-node sharding and trusted execution environment.
核心层有合约执行引擎(可支持不同程序语言所开发的智能合约),自适应共识机制,混合存储等组成。数字资产链对外可通过kafka消息队列、JavaSDK等形式提供接口。对于上层的中间服务分别由应用服务对外提供包括区块链钱包开立,管理、转账、查询等业务侧功能,并以SDK方式向外输出。由中间组件提供高可用、高性能、可扩展、可维护的基础服务。The core layer consists of a contract execution engine (which can support smart contracts developed in different programming languages), an adaptive consensus mechanism, and hybrid storage. The digital asset chain can provide external interfaces in the form of kafka message queue and Java SDK. For the upper-layer intermediate services, the application services provide external business-side functions including blockchain wallet opening, management, transfer, and query, and export them in the form of SDK. High-availability, high-performance, scalable, and maintainable basic services are provided by intermediate components.
区块链底层基础设施采取集中式认证体系、分布式认证体系两种方式实现准入控制。集中式认证体系包括自建CA和CFCA两种证书体系,CFCA是满足对于证书系统安全性与权威性有较高要求的银行或金融同业机构的需求。分布式认证体系将证书管理权限由中心机构转移到区块链各参与方,具有去中心、自动化、高效等优点。The underlying infrastructure of the blockchain adopts a centralized authentication system and a distributed authentication system to achieve access control. The centralized certification system includes self-built CA and CFCA certificate systems. CFCA meets the needs of banks or financial institutions that have higher requirements for the security and authority of the certificate system. The distributed authentication system transfers the certificate management authority from the central organization to the participants of the blockchain, which has the advantages of decentralization, automation, and high efficiency.
其中,中心化CA认证准入控制体系主要分为两种,一个是节点的准入控制,主要限制新节点的加入,保证联盟链中的节点都是联盟成员合法拥有的;另一个是接口的准入控制,也就是限制未授权的客户端或者开发工具通过接口连接区块链节点,限制DDoS攻击,减少恶意请求对节点运算能力和资源的侵占。Among them, the centralized CA certification access control system is mainly divided into two types. One is the access control of nodes, which mainly restricts the joining of new nodes and ensures that the nodes in the alliance chain are legally owned by the members of the alliance; the other is the interface. Access control, that is, restricting unauthorized clients or development tools to connect to blockchain nodes through interfaces, restricting DDoS attacks, and reducing the encroachment of node computing power and resources by malicious requests.
具体的,区块链基础设施包含区块链底层链和BaaS(Blockchain as a Service,区块链即服务)平台。Specifically, the blockchain infrastructure includes the underlying chain of the blockchain and the BaaS (Blockchain as a Service) platform.
区块链底层链中存储包括但不限于合约账户结构(类似于UXTO),并支持智能合约、可插拔的共识算法和隐私数据保护、同态加密等区块链自有或延伸特性。The storage in the underlying chain of the blockchain includes but is not limited to the contract account structure (similar to UXTO), and supports the blockchain's own or extended features such as smart contracts, pluggable consensus algorithms, privacy data protection, and homomorphic encryption.
BaaS平台设计由证书配置、密钥管理、运维监控、网络配置、权限管理与集群管理等多个功能模块所构成,以实现对底层链可操作、可配置以及可运维等需求,并可对区块链中的各参与节点进行维护。The design of the BaaS platform is composed of multiple functional modules such as certificate configuration, key management, operation and maintenance monitoring, network configuration, authority management and cluster management, so as to realize the requirements for the operation, configuration and operation and maintenance of the underlying chain, and can Maintain each participating node in the blockchain.
在本发明实施例中,区块链主要是联盟链架构。In the embodiment of the present invention, the blockchain is mainly a consortium chain architecture.
该跨境支付节点10,用于执行链上监听,并基于监听到的各类交易请求执行相应支付业务和交易管理。当监听到上链的订单信息时,启动电子设计自动化(Electronicdesign automation,EDA)驱动模式,确保在执行消费兑回等操作时,使用户对于消费兑回的流程无感。The cross-border payment node 10 is used to perform on-chain monitoring, and perform corresponding payment services and transaction management based on various types of transaction requests monitored. When the order information on the chain is monitored, the Electronic Design Automation (EDA) drive mode is activated to ensure that when performing operations such as consumption redemption, the user is indifferent to the consumption redemption process.
该境内系统节点11,用于执行熔币或铸币,以及币串找零等处理,以及使用账户余额执行币串兑入(兑换充值)操作。The domestic system node 11 is used to perform processing such as melting or minting coins, and making changes for coin strings, as well as performing coin string redemption (exchange and recharge) operations using the account balance.
该跨境支付节点10与该境内系统节点11之间可以通过P4 ESB(中间件)进行服务寻址访问,实现包括但不限于数字货币流通、熔币与铸币服务等功能。The cross-border payment node 10 and the domestic system node 11 can perform service addressing access through P4 ESB (middleware) to realize functions including but not limited to digital currency circulation, coin melting and coin minting services.
该境外收单系统节点12,用于将各类交易请求上链,以及接收并处理各类交易通知和应答通知。The overseas acquiring system node 12 is used to upload various transaction requests to the chain, and to receive and process various transaction notifications and response notifications.
在本发明实施例中,如下表1所示,为该跨境支付节点10能够提供的区块链功能列表,表2为境内系统节点11能够提供的区块链功能列表,表3为境外收单系统节点12能够提供的区块链功能列表。In the embodiment of the present invention, as shown in Table 1 below, it is a list of blockchain functions that the cross-border payment node 10 can provide, Table 2 is a list of blockchain functions that the domestic system node 11 can provide, and Table 3 is a list of blockchain functions that can be provided by overseas payment nodes 10. List of blockchain functions that a single system node 12 can provide.
表1:跨境支付节点Table 1: Cross-border payment nodes
表2:境内系统节点Table 2: Domestic system nodes
表3:境外收单系统节点Table 3: Nodes of Overseas Acquiring System
在本发明实施例中,针对跨境支付节点10、境内系统节点11和境外收单系统节点12的设计,通过kafka消息队列中间件实现异步框架,通过消息订阅模式完成业务场景中如跨境消费通知、币串上链、支付结果通知等消息传递。其中,境外收单系统节点与跨境支付节点之间分别建立不同topic主题,构建不同传递方向的通道。同时支持区块事件、合约事件、交易事件、系统异常监控等事件的订阅。In the embodiment of the present invention, for the design of the cross-border payment node 10, the domestic system node 11 and the overseas acquiring system node 12, the asynchronous framework is realized through the Kafka message queue middleware, and the message subscription mode is used to complete business scenarios such as cross-border consumption. Message delivery such as notifications, currency string on-chain, payment result notifications, etc. Among them, different topic topics are established between overseas acquiring system nodes and cross-border payment nodes, and channels with different delivery directions are constructed. At the same time, it supports subscription of events such as block events, contract events, transaction events, and system abnormality monitoring.
基于上述图1公开的跨境消费支付系统,为本发明实施例还提供的一种基于法定数字货币的跨境消费支付方法,适用于图1中示出的部署于链上的跨境支付节点,所述跨境支付节点基于区块链底层链和BaaS平台构建。如图2所示,所述方法包括:Based on the cross-border consumption payment system disclosed in FIG. 1, the embodiment of the present invention also provides a cross-border consumption payment method based on legal digital currency, which is applicable to the cross-border payment nodes deployed on the chain shown in FIG. 1 , the cross-border payment node is constructed based on the underlying chain of the blockchain and the BaaS platform. As shown in Figure 2, the method includes:
S201:监听上链的订单信息。S201: Monitor the order information on the chain.
在S201中,所述订单信息至少包括订单支付金额和待执行支付的链上钱包id。In S201, the order information includes at least an order payment amount and an on-chain wallet id for the payment to be performed.
S202:当监听到上链的订单信息时,启动EDA驱动模式,获取所述链上钱包id对应的链上钱包中的币串余额。S202: When monitoring the order information on the chain, start the EDA driving mode, and obtain the balance of the coin string in the wallet on the chain corresponding to the wallet id on the chain.
在S202中,链上钱包中所存储的数字货币在链上的数据结构包括但不限于表4中所示的内容。In S202, the on-chain data structure of the digital currency stored in the on-chain wallet includes but is not limited to the contents shown in Table 4.
表4Table 4
可选的,该链上钱包包括账户地址、链上钱包id、币串余额、币串列表、冻结币串列表、账户信息和归属信息。Optionally, the on-chain wallet includes account address, on-chain wallet id, coin string balance, coin string list, frozen coin string list, account information and attribution information.
在具体实现S202的过程中,当监听到上链的订单信息时启动EDA驱动模式,即执行S202至S206的流程。在该EDA模式下,能够确保在执行消费兑回等操作时,使用户对于消费兑回的流程无感。In the process of specifically implementing S202, when the order information on the chain is monitored, the EDA driving mode is started, that is, the processes from S202 to S206 are executed. In this EDA mode, it can be ensured that when performing operations such as consumption redemption, the user does not feel the process of consumption redemption.
S203:判断该币串余额是否大于或等于所述订单支付金额,若是,执行S204和S205;若否,执行S206。S203: Determine whether the balance of the currency string is greater than or equal to the payment amount of the order, if so, execute S204 and S205; if not, execute S206.
S204:由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串,基于所述等值币串执行交易后上链的币串信息和支付状态信息。S204: The domestic system node performs processing based on the order payment amount and the coin string balance on the chain, obtains an equivalent coin string equal to the order payment amount, executes a transaction based on the equivalent coin string and uploads it to the chain Token string information and payment status information.
在S204中,所述支付状态信息至少包括订单号。In S204, the payment status information includes at least an order number.
支付状态信息具体在链上的数据结构包括但不限于表5中所示的内容。The data structure of the payment status information on the chain includes but is not limited to the content shown in Table 5.
表5table 5
在具体实现S204中,由境内系统节点将所述币串余额进行熔币或铸币、以及币串找零等处理,从而能得到与订单支付金额等额的等值币串。In the specific implementation of S204, the domestic system node processes the balance of the coin string to melt or mint coins, and change the coin string, so as to obtain an equivalent coin string equal to the payment amount of the order.
S205:根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。S205: Execute the cross-border consumption accounting operation of both parties of the transaction according to the currency string information and the payment status information.
在具体执行S205的过程中,执行交易双方的跨境消费记账操作具体包括:将付款人的币串的权属转移至收款人。同时生成一条交易记录存储。In the specific process of executing S205, the execution of the cross-border consumption accounting operations of both parties specifically includes: transferring the ownership of the payer's currency string to the payee. At the same time, a transaction record storage is generated.
S206:结束支付或者由所述境内系统节点执行数字货币兑换流程。S206: End the payment or execute the digital currency exchange process by the domestic system node.
在S206中,由境内系统节点执行数字货币兑换流程的具体包括:利境内系统节点使用账户余额完成币串兑入(兑换充值)。In S206, the execution of the digital currency exchange process by the domestic system node specifically includes: using the account balance to complete the currency string exchange (exchange and recharge) by the domestic system node.
基于本发明实施例公开的一种基于法定数字货币的跨境消费支付方法,利用跨境支付节点监听上链的订单信息,订单信息至少包括订单支付金额和待执行支付的链上钱包id;当监听到上链的订单信息时,启动EDA驱动模式,获取链上钱包id对应的链上钱包中的币串余额;若币串余额大于或等于订单支付金额,由境内系统节点基于链上的订单支付金额和币串余额进行处理,得到与订单支付金额等额的等值币串;获取基于等值币串执行交易后上链的币串信息和支付状态信息,根据币串信息和支付状态信息执行交易双方的跨境消费记账操作。在本方案中,利用部署于链上的跨境支付节点与境内系统节点进行互联互通,并基于跨境支付节点完成交易支付,能够高效且安全的完成跨境消费支付的目的。Based on a cross-border consumption payment method based on legal digital currency disclosed in the embodiment of the present invention, the cross-border payment node is used to monitor the order information on the chain, and the order information at least includes the order payment amount and the on-chain wallet id of the payment to be executed; When monitoring the order information on the chain, start the EDA drive mode to obtain the balance of the coin string in the on-chain wallet corresponding to the wallet id on the chain; if the balance of the coin string is greater than or equal to the order payment amount, the domestic system node will be based on the order on the chain. The payment amount and the balance of the coin string are processed, and the equivalent coin string equal to the order payment amount is obtained; the coin string information and payment status information uploaded on the chain after the transaction is performed based on the equivalent coin string is obtained, and the execution is performed according to the coin string information and the payment status information. Cross-border consumption accounting operations of both parties to the transaction. In this solution, the cross-border payment nodes deployed on the chain are used to interconnect with domestic system nodes, and transaction payments are completed based on cross-border payment nodes, which can efficiently and safely complete the purpose of cross-border consumption payment.
在具体的跨境交易场景中,在进行扫码支付的过程中存在被扫模式和主扫模式。基于上述本发明实施例公开的基于法定数字货币的跨境消费支付方法和系统,以下具体举例说明。In a specific cross-border transaction scenario, there are scanned mode and main scan mode in the process of scanning code payment. Based on the method and system for cross-border consumption payment based on legal digital currency disclosed in the above embodiments of the present invention, the following specific examples are given.
针对被扫模式,如图3所示,主要包括以下步骤:For the scanned mode, as shown in Figure 3, it mainly includes the following steps:
S301:消费者基于数字钱包APP请求生成包含订单信息的二维码。S301: The consumer generates a two-dimensional code including order information based on the digital wallet APP request.
所述订单信息包括订单支付金额和待执行支付的链上钱包id。The order information includes the order payment amount and the on-chain wallet id for the payment to be executed.
S302:由境外收单系统节点将该订单信息进行上链处理。S302: The order information is uploaded to the chain by the node of the overseas acquiring system.
S303:跨境支付节点基于链上的该订单信息中的链上钱包id获取对应的链上钱包中的币串余额。S303: The cross-border payment node obtains the coin string balance in the corresponding on-chain wallet based on the on-chain wallet id in the order information on the chain.
S304:跨境支付节点基于链上的该订单信息中的订单支付金额判断币串余额是否足够支付。若币串余额足够,将订单支付金额上送至境内系统节点。若币串余额不够,直接结束支付,或者由境内系统节点执行数字货币兑换流程。S304: The cross-border payment node judges whether the balance of the currency string is sufficient for payment based on the order payment amount in the order information on the chain. If the balance of the currency string is sufficient, the order payment amount will be uploaded to the domestic system node. If the balance of the currency string is not enough, the payment will be ended directly, or the digital currency exchange process will be performed by the domestic system node.
S305:境内系统节点将所述币串余额进行熔币或铸币、以及币串找零等处理,得到与订单支付金额等额的等值币串。在数字钱包APP上展示包含等额币串的二维码,完成支付。S305: The domestic system node processes the balance of the coin string to melt or mint coins, and change the coin string to obtain an equivalent coin string equal to the payment amount of the order. Display the QR code containing the same amount of currency string on the digital wallet APP to complete the payment.
S306:跨境支付节点基于所述等值币串执行交易后上链的币串信息和支付状态信息,并根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。S306: The cross-border payment node executes the coin string information and payment status information uploaded on the chain based on the equivalent coin string after the transaction, and executes the cross-border consumption accounting operation of both parties according to the coin string information and the payment status information .
S307:跨境支付节点发送支付结果通知消息至境外收单系统节点。S307: The cross-border payment node sends a payment result notification message to the overseas acquiring system node.
S308:由所述境外收单系统节点向收单商户发送所述支付结果通知消息,并接收所述收单商户反馈的支付结果确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。S308: The overseas acquiring system node sends the payment result notification message to the acquiring merchant, and receives a payment result confirmation notification fed back by the acquiring merchant, where the transaction result includes the on-chain wallet of the acquiring merchant Balance change information.
针对主扫模式,如图4所示,主要包括以下步骤:For the main scan mode, as shown in Figure 4, it mainly includes the following steps:
S401:收单商户向二维码系统申请商户收款二维码(静态),向消费者(数字钱包客户)展示该收款二维码。S401: The acquiring merchant applies to the QR code system for the merchant's QR code for payment (static), and displays the QR code for payment to consumers (digital wallet customers).
S402:消费者通过数字钱包APP扫收单商户的收款二维码,触发跨境支付节点执行S403。S402: The consumer scans the payment QR code of the acquiring merchant through the digital wallet APP, and triggers the cross-border payment node to execute S403.
S403:跨境支付节点为该笔支付业务生成交易流水信息,并反馈至境外收单系统节点。S403: The cross-border payment node generates transaction flow information for the payment business, and feeds it back to the overseas acquiring system node.
S404:境外收单系统节点校验二维码合法性后生成订单信息,并上链,该订单信息包括订单支付金额和消费者的待执行支付的链上钱包id。S404: After verifying the validity of the QR code, the node of the overseas acquiring system generates order information and uploads it to the chain. The order information includes the order payment amount and the on-chain wallet id of the consumer's pending payment.
S405:跨境支付节点基于链上的该订单信息中的链上钱包id获取对应的链上钱包中的币串余额。S405: The cross-border payment node obtains the coin string balance in the corresponding on-chain wallet based on the on-chain wallet id in the order information on the chain.
S406:跨境支付节点基于链上的该订单信息中的订单支付金额判断币串余额是否足够支付。若币串余额足够,将订单支付金额上送至境内系统节点。若币串余额不够,直接结束支付,或者由境内系统节点执行数字货币兑换流程。S406: The cross-border payment node judges whether the balance of the currency string is sufficient for payment based on the order payment amount in the order information on the chain. If the balance of the currency string is sufficient, the order payment amount will be uploaded to the domestic system node. If the balance of the currency string is not enough, the payment will be ended directly, or the digital currency exchange process will be performed by the domestic system node.
S407:境内系统节点将所述币串余额进行熔币或铸币、以及币串找零等处理,得到与订单支付金额等额的等值币串。S407: The domestic system node processes the balance of the coin string to melt or mint coins, and change the coin string to obtain an equivalent coin string equal to the payment amount of the order.
S408:跨境支付节点基于所述等值币串执行交易后上链的币串信息和支付状态信息,并根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。S408: The cross-border payment node executes the coin string information and payment status information uploaded on the chain based on the equivalent coin string after the transaction, and performs the cross-border consumption accounting operation of both parties according to the coin string information and the payment status information .
S409:跨境支付节点发送支付结果通知消息至境外收单系统节点。S409: The cross-border payment node sends a payment result notification message to the overseas acquiring system node.
在S409中,跨境支付节点基于事件方式将支付结果通知消息推送至境外收单系统节点。In S409, the cross-border payment node pushes the payment result notification message to the overseas acquiring system node based on the event method.
“事件”是任何对系统有意义的更改,其中一个事件生产器广播消息可被一个或多个事件消费者捕获。与请求-响应通信模型不同,事件驱动模型以近乎实时的方式传送和响应信息,响应时间比传统批处理方式更短,并有效改善了现有物联网系统数据库体系的无限日志数据膨胀存储空间及数据查找高延迟的缺陷。An "event" is any meaningful change to the system where an event producer broadcasts a message that can be captured by one or more event consumers. Different from the request-response communication model, the event-driven model transmits and responds to information in a near real-time manner, with a shorter response time than the traditional batch method, and effectively improves the infinite log data expansion storage space and storage space of the existing IoT system database system. Data to find defects with high latency.
S410:由所述境外收单系统节点向收单商户发送所述支付结果通知消息,并接收所述收单商户反馈的支付结果确认通知,所述交易结果包括所述收单商户的境内钱包余额变动信息。S410: The overseas acquiring system node sends the payment result notification message to the acquiring merchant, and receives a payment result confirmation notification fed back by the acquiring merchant, where the transaction result includes the domestic wallet balance of the acquiring merchant Change information.
在具体的跨境交易场景中,跨境消费退货支持隔日联机退货。通过上送的订单号等唯一键值查询跨境消费的原交易相关信息,检查发起退货的金额(系统可支持部分退货,全额退货等业务模式)。并实现与跨境消费交易数字货币记账方向相反的处理,在处理过程中仍将退货交易信息及涉及的币串完成上链操作。In specific cross-border transaction scenarios, cross-border consumption returns support online returns on the next day. Query the relevant information of the original transaction of cross-border consumption through the unique key value such as the submitted order number, and check the amount of the return initiated (the system can support business models such as partial return and full return). And realize the processing in the opposite direction of the digital currency accounting of cross-border consumption transactions. During the processing, the return transaction information and the involved currency strings are still completed on the chain.
在上述本发明实施例公开一种基于法定数字货币的跨境消费支付方法的基础上,本发明实施例还公开了一种基于法定数字货币的跨境消费支付方法,其适用于撤销订单的跨境交易场景下。主要包括如下步骤:On the basis of the above-mentioned embodiment of the present invention disclosing a cross-border consumption payment method based on legal digital currency, the embodiment of the present invention also discloses a cross-border consumption payment method based on legal digital currency, which is suitable for cross-border consumption payment cancellation orders. in the context of international transactions. It mainly includes the following steps:
A1:跨境支付节点监听上链的撤销订单信息,所述撤销订单信息包括用于指示交易的唯一键值。A1: The cross-border payment node monitors the cancellation order information on the chain, and the cancellation order information includes a unique key value used to indicate the transaction.
该唯一键值包括但不限于订单号,可选的,该唯一键值还可以是交易流水号、交易标签等唯一指示交易的信息。The unique key value includes, but is not limited to, the order number. Optionally, the unique key value may also be transaction serial number, transaction label, and other information that uniquely indicates the transaction.
A2:跨境支付节点基于所述唯一键值查询所述交易的支付状态信息,若支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,执行A3;若所述支付状态信息为待确定,执行A4;若所述支付状态信息为成功,则执行A5。A2: The cross-border payment node queries the payment status information of the transaction based on the unique key value. If the payment status information does not exist, or the payment status information is failed, or the payment status information is cancelled, execute A3; If the payment status information is to be determined, execute A4; if the payment status information is successful, execute A5.
A3:发送订单撤销成功信息。A3: Send order cancellation success information.
A4:发送订单撤销失败信息。A4: Send order cancellation failure information.
A5:执行撤销交易流程,并将撤单结果发送至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。A5: Execute the cancellation transaction process, and send the cancellation result to the overseas acquirer system node, and the overseas acquirer system node sends the cancellation result to the acquirer merchant, and receives the cancellation order feedback from the acquirer merchant Confirm the notification, and the transaction result includes the change information of the on-chain wallet balance of the acquiring merchant.
在撤单或者退货的跨境交易场景中,基于上述本发明实施例公开的基于法定数字货币的跨境消费支付方法和系统,具体实现撤单或者退货的跨境交易的过程。如图5所示,In the cross-border transaction scenario of order cancellation or return, based on the method and system for cross-border consumption payment based on legal digital currency disclosed in the above embodiments of the present invention, the process of cross-border transaction of order cancellation or return is specifically realized. As shown in Figure 5,
S501:跨境支付节点监听上链的撤销订单信息,所述撤销订单信息包括用于指示交易的唯一键值。S501: The cross-border payment node monitors the cancellation order information on the chain, where the cancellation order information includes a unique key value for indicating a transaction.
在S501中,撤销订单信息由境外收单系统节点基于收单商户发起的退货(撤销)退款交易生成。In S501, the cancellation order information is generated by the overseas acquiring system node based on the return (cancellation) refund transaction initiated by the acquiring merchant.
该唯一键值包括但不限于订单号,可选的,该唯一键值还可以是交易流水号、交易标签等唯一指示交易的信息。The unique key value includes, but is not limited to, the order number. Optionally, the unique key value may also be transaction serial number, transaction label, and other information that uniquely indicates the transaction.
S502:跨境支付节点基于所述订单号查询支付状态信息,若支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,执行S503;若所述支付状态信息为待确定,执行S504;若所述支付状态信息为成功,则执行S505。S502: The cross-border payment node queries the payment status information based on the order number. If the payment status information does not exist, or the payment status information is failed, or the payment status information is cancelled, execute S503; if the payment status information For pending determination, execute S504; if the payment status information is successful, execute S505.
S503:发送订单撤销成功信息。S503: Send order cancellation success information.
S504:发送订单撤销失败信息。S504: Send order cancellation failure information.
S505:执行撤销交易流程,并将撤单结果发送至境外收单系统节点。S505: Execute the cancellation transaction process, and send the cancellation result to the node of the overseas acquiring system.
S506:境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。S506: The overseas acquiring system node sends the order cancellation result to the acquiring merchant, and receives an order cancellation confirmation notification fed back by the acquiring merchant, where the transaction result includes the change information of the on-chain wallet balance of the acquiring merchant.
在本发明实施例中,跨境消费撤销为当日消费的反向业务操作。通过上送的订单号等唯一键值查询跨境消费的原交易相关信息,从而确定原跨境消费的交易状态,并通过交易状态确定是否执行撤单,以及确定撤单是否成功。In the embodiment of the present invention, the cancellation of cross-border consumption is a reverse business operation of consumption on the same day. The original transaction related information of cross-border consumption is queried through the unique key value such as the order number sent, so as to determine the transaction status of the original cross-border consumption, and determine whether to cancel the order according to the transaction status, and to determine whether the cancellation is successful.
在本发明实施例中,在跨境消费支付结果确认之后,跨境消费支付系统可自动或手动执行链上币串兑回处理。In the embodiment of the present invention, after the cross-border consumption payment result is confirmed, the cross-border consumption payment system can automatically or manually execute the on-chain currency string redemption processing.
在一实施例中,跨境支付节点监听上链的币串兑回请求,所述币串兑回请求中的待兑回的币串;基于所述待兑回的币串进行兑回处理,并将兑回结果通知境外收单系统节点。In one embodiment, the cross-border payment node monitors the on-chain currency string redemption request, the currency string to be redeemed in the currency string redemption request; the redemption process is performed based on the currency string to be redeemed, And notify the overseas acquiring system node of the redemption result.
在一实施例中,首先,跨境支付节点监听上链的币串兑回请求,所述币串兑回请求中的待兑回的币串。In one embodiment, first, the cross-border payment node monitors the exchange request of the currency string on the chain, the currency string to be exchanged in the currency string exchange request.
然后,跨境支付节点基于所述待兑回的币串进行兑回处理,将兑回的币串余额添加至所述链上钱包id对应的人民币余额账户中。Then, the cross-border payment node performs the redemption process based on the currency string to be redeemed, and adds the balance of the redeemed currency string to the RMB balance account corresponding to the wallet id on the chain.
然后,跨境支付节点获取交易时的原始外汇牌价和原始汇率,执行结售汇操作,基于所述原始外汇牌价和原始汇率将添加至所述人民币余额账户中的币串余额转换为外币;当所述结售汇操作完成后,向境外收单系统节点发送解付应答通知。Then, the cross-border payment node obtains the original foreign exchange price and the original exchange rate at the time of the transaction, performs the foreign exchange settlement and sale operation, and converts the balance of the currency string added to the RMB balance account into foreign currency based on the original foreign exchange price and the original exchange rate; After the foreign exchange settlement and sale operation is completed, a payment release response notification is sent to the overseas acquiring system node.
在本发明实施例中,利用部署于链上的跨境支付节点、境内系统节点和境外收单系统节点进行互联互通,并基于跨境支付节点完成交易支付、撤销、币串兑回、跨境转账等交易业务,能够高效且安全的完成跨境交易的目的。In the embodiment of the present invention, the cross-border payment nodes, domestic system nodes and overseas acquiring system nodes deployed on the chain are used for interconnection, and based on the cross-border payment nodes, transaction payment, revocation, currency string exchange, cross-border payment are completed. Transactions such as transfers can efficiently and safely complete the purpose of cross-border transactions.
基于上述本发明实施例公开的基于法定数字货币的跨境消费支付方法,本发明实施例还对应公开了一种跨境支付节点,所述跨境支付节点基于区块链底层链和BaaS平台构建,如图6所示,所述跨境支付节点包括:链上监听模块601、业务模块602和交易管理模块603。Based on the cross-border consumption payment method based on legal digital currency disclosed in the above embodiments of the present invention, the embodiment of the present invention also discloses a cross-border payment node correspondingly, and the cross-border payment node is constructed based on the underlying chain of the blockchain and the BaaS platform , as shown in FIG. 6 , the cross-border payment node includes: an on-chain monitoring module 601 , a business module 602 and a transaction management module 603 .
链上监听模块601,用于监听上链的订单信息,当监听到上链的订单信息时,启动EDA驱动模式执行业务模块602所述订单信息至少包括订单支付金额和待执行支付的链上钱包id。The on-chain monitoring module 601 is used to monitor the order information on the chain. When the order information on the chain is monitored, the EDA drive mode is activated to execute the business module 602. The order information at least includes the order payment amount and the on-chain wallet for the payment to be executed. id.
业务模块602,用于获取所述链上钱包id对应的链上钱包中的币串余额;若所述币串余额大于或等于所述订单支付金额,由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串;若所述币串余额小于所述订单支付金额,结束支付或者由所述境内系统节点执行数字货币兑换流程,其中,链上钱包包括账户地址、链上钱包id、币串余额、币串列表、冻结币串列表、账户信息和归属信息。The business module 602 is used to obtain the balance of the coin string in the wallet on the chain corresponding to the wallet id on the chain; if the balance of the coin string is greater than or equal to the payment amount of the order, the domestic system node will be based on the order on the chain. The payment amount and the balance of the coin string are processed to obtain an equivalent coin string equal to the payment amount of the order; if the balance of the coin string is less than the payment amount of the order, the payment is ended or the digital currency is executed by the domestic system node The exchange process, in which the on-chain wallet includes account address, on-chain wallet id, coin string balance, coin string list, frozen coin string list, account information and attribution information.
交易管理模块603,用于获取基于所述等值币串执行交易后上链的币串信息和支付状态信息,所述支付状态信息至少包括订单号;根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作。The transaction management module 603 is configured to obtain the coin string information and payment status information uploaded on the chain after performing the transaction based on the equivalent coin string, the payment status information at least includes the order number; according to the coin string information and the payment status The information performs the cross-border consumption accounting operations of both parties to the transaction.
在一实施例中,所述交易管理模块603,还用于在执行交易双方的跨境消费记账操作之后,发送交易结果至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述交易结果,并接收所述收单商户反馈的支付结果确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息。In one embodiment, the transaction management module 603 is further configured to send the transaction result to the overseas acquiring system node after performing the cross-border consumption accounting operation of both parties to the transaction, and the overseas acquiring system node will send the transaction to the acquiring system. The merchant sends the transaction result, and receives the payment result confirmation notification fed back by the acquiring merchant, where the transaction result includes the change information of the on-chain wallet balance of the acquiring merchant.
在一实施例中,所述链上监听模块601,还用于监听上链的撤销订单信息,所述退货订单信息包括用于指示交易的唯一键值。In one embodiment, the on-chain monitoring module 601 is further configured to monitor the cancellation order information on the chain, and the return order information includes a unique key value for indicating a transaction.
所述交易管理模块603,还用于基于所述唯一键值查询所述交易的支付状态信息;若所述支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,发送订单撤销成功信息;若所述支付状态信息为待确定,发送订单撤销失败信息;若所述支付状态信息为成功,则执行撤销交易流程,并将撤单结果发送至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知,所述交易结果包括所述收单商户的链上钱包余额变动信息;The transaction management module 603 is further configured to query the payment status information of the transaction based on the unique key value; if the payment status information does not exist, or the payment status information is failed or the payment status information is Cancellation, send order cancellation success information; if the payment status information is pending, send order cancellation failure information; if the payment status information is successful, execute the cancellation transaction process, and send the cancellation result to the overseas acquiring system node, the overseas acquiring system node sends the cancellation result to the acquiring merchant, and receives the cancellation confirmation notification fed back by the acquiring merchant, and the transaction result includes the on-chain wallet balance of the acquiring merchant change information;
在一实施例中,所述链上监听模块601,还用于监听上链的币串兑回请求,所述币串兑回请求中的待兑回的币串。In one embodiment, the on-chain monitoring module 601 is further configured to monitor the on-chain currency string redemption request, the currency string to be redeemed in the currency string redemption request.
所述交易管理模块603,还用于基于所述待兑回的币串进行兑回处理,将兑回的币串余额添加至所述链上钱包id对应的人民币余额账户中,获取交易时的原始外汇牌价和原始汇率,执行结售汇操作,基于所述原始外汇牌价和原始汇率将添加至所述人民币余额账户中的币串余额转换为外币;当所述结售汇操作完成后,向境外收单系统节点发送解付应答通知。The transaction management module 603 is further configured to perform redemption processing based on the currency string to be redeemed, add the balance of the redeemed currency string to the RMB balance account corresponding to the on-chain wallet id, and obtain the transaction value. The original foreign exchange price and the original exchange rate, the foreign exchange settlement and sale operation is performed, and the currency string balance added to the RMB balance account is converted into a foreign currency based on the original foreign exchange price and the original exchange rate; The node of the overseas acquiring system sends the payment release response notification.
在本发明实施例中,利用部署于链上的跨境支付节点、境内系统节点和境外收单系统节点进行互联互通,并基于跨境支付节点完成交易支付、撤销、币串兑回、跨境转账等交易业务,能够高效且安全的完成跨境消费支付的目的。In the embodiment of the present invention, the cross-border payment nodes, domestic system nodes and overseas acquiring system nodes deployed on the chain are used for interconnection, and based on the cross-border payment nodes, transaction payment, revocation, currency string exchange, cross-border payment are completed. Transactions such as transfers can efficiently and safely complete the purpose of cross-border consumer payment.
基于上述本发明实施例公开的基于法定数字货币的跨境消费支付方法和跨境支付节点,本发明实施例还对应公开了一种跨境消费支付系统,该跨境消费支付系统与图1公开的跨境消费支付系统相同,包括部署于链上的跨境支付节点、境内系统节点和境外收单系统节点。Based on the cross-border consumption payment method and cross-border payment node based on legal digital currency disclosed in the above embodiments of the present invention, the embodiment of the present invention also discloses a cross-border consumption payment system, which is disclosed in FIG. 1 . The cross-border consumption payment system is the same, including cross-border payment nodes, domestic system nodes and overseas acquiring system nodes deployed on the chain.
在具体实现跨境交易的不同场景时:When implementing different scenarios of cross-border transactions:
所述跨境支付节点,用于监听链上的各类交易请求,当监听到上链的订单信息时,启动EDA驱动模式,若所述交易请求为订单信息,获取所述链上钱包id对应的链上钱包中的币串余额;以及若所述币串余额大于或等于所述订单支付金额,由境内系统节点基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串;基于所述等值币串执行交易后上链的币串信息和支付状态信息;根据所述币串信息和所述支付状态信息执行交易双方的跨境消费记账操作;若所述币串余额小于所述订单支付金额,结束支付或者由所述境内系统节点执行数字货币兑换流程。The cross-border payment node is used to monitor various transaction requests on the chain. When monitoring the order information on the chain, start the EDA drive mode. If the transaction request is order information, obtain the corresponding wallet id on the chain. The balance of the coin string in the wallet on the chain; and if the balance of the coin string is greater than or equal to the payment amount of the order, the domestic system node will process based on the payment amount of the order and the balance of the coin string on the chain, and obtain the same The equivalent coin string equal to the payment amount of the order; the coin string information and payment status information uploaded on the chain after the transaction is executed based on the equivalent coin string; If the balance of the currency string is less than the payment amount of the order, end the payment or execute the digital currency exchange process by the domestic system node.
所述跨境支付节点,还用于若所述交易请求为撤销订单信息,所述撤销订单信息包括用于指示交易的唯一键值,基于所述唯一键值查询所述交易的支付状态信息;若所述支付状态信息不存在、或者所述支付状态信息为失败或者所述支付状态信息为已撤销,发送订单撤销成功信息;若所述支付状态信息为待确定,发送订单撤销失败信息;若所述支付状态信息为成功,则执行撤销交易流程,并将撤单结果发送至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述撤单结果,并接收所述收单商户反馈的撤单确认通知。The cross-border payment node is further configured to, if the transaction request is order cancellation information, the cancellation order information includes a unique key value for indicating a transaction, and query payment status information of the transaction based on the unique key value; If the payment status information does not exist, or the payment status information is failed or the payment status information is cancelled, send order cancellation success information; if the payment status information is pending, send order cancellation failure information; If the payment status information is successful, execute the cancellation transaction process, and send the cancellation result to the overseas acquiring system node, and the overseas acquiring system node sends the cancellation result to the acquiring merchant, and receives the cancellation result. Confirmation notification of order cancellation reported by the acquirer.
所述跨境支付节点,还用于若所述交易请求为币串兑回请求,所述币串兑回请求中的待兑回的币串;基于所述待兑回的币串进行兑回处理,将兑回的币串余额添加至所述链上钱包id对应的人民币余额账户中,获取交易时的原始外汇牌价和原始汇率,执行结售汇操作,基于所述原始外汇牌价和原始汇率将添加至所述人民币余额账户中的币串余额转换为外币,当所述结售汇操作完成后,向境外收单系统节点发送解付应答通知;以及在执行交易双方的跨境消费记账操作之后,发送支付结果通知消息至境外收单系统节点,由所述境外收单系统节点向收单商户发送所述支付结果通知消息,并接收所述收单商户反馈的支付结果确认通知。The cross-border payment node is also used for, if the transaction request is a currency string redemption request, the currency string to be redeemed in the currency string redemption request; redemption based on the currency string to be redeemed Processing, adding the exchanged currency string balance to the RMB balance account corresponding to the wallet id on the chain, obtaining the original foreign exchange price and the original exchange rate at the time of the transaction, and executing the foreign exchange settlement and sale operation, based on the original foreign exchange price and original exchange rate Convert the balance of the currency string added to the RMB balance account into foreign currency, and after the foreign exchange settlement and sale operation is completed, send a payment release response notice to the node of the overseas acquiring system; and perform cross-border consumption accounting between both parties of the transaction After the operation, a payment result notification message is sent to the overseas acquiring system node, and the overseas acquiring system node sends the payment result notification message to the acquiring merchant, and receives the payment result confirmation notification fed back by the acquiring merchant.
所述境内系统节点,用于基于链上的所述订单支付金额和所述币串余额进行处理,得到与所述订单支付金额等额的等值币串,以及执行数字货币兑换流程。The domestic system node is used for processing based on the order payment amount and the coin string balance on the chain, obtaining an equivalent coin string equal to the order payment amount, and executing the digital currency exchange process.
所述境外收单系统节点,用于将各类交易请求上链,以及接收并处理各类交易通知和应答通知。The overseas acquiring system node is used to upload various transaction requests to the chain, and to receive and process various transaction notifications and response notifications.
其中,所述交易至少包括订单信息、币串兑回请求和撤销订单信息;所述订单信息至少包括订单支付金额和待执行支付的数字货币链上钱包id;所述交易通知至少包括支付结果通知消息、支付结果确认通知和交易结果;所述交易结果包括所述收单商户的链上钱包余额变动信息;所述应答通知至少包括支付结果确认通知和撤单确认通知。Wherein, the transaction includes at least order information, currency string redemption request and order cancellation information; the order information includes at least the order payment amount and the digital currency on-chain wallet id for the payment to be executed; the transaction notification at least includes payment result notification message, payment result confirmation notification and transaction result; the transaction result includes the change information of the on-chain wallet balance of the acquiring merchant; the response notification at least includes payment result confirmation notification and order cancellation confirmation notification.
基于上述本发明实施例公开的一种基于法定数字货币的跨境消费支付方法、节点及系统。当跨境消费业务量扩展时,或者跨境消费业务类型扩展时在系统上部署消费服务节点,以便于提供相应的消费服务。Based on the foregoing embodiments of the present invention, a method, node and system for cross-border consumption payment based on legal digital currency are disclosed. When the volume of cross-border consumption business expands, or when the type of cross-border consumption business expands, a consumer service node is deployed on the system in order to provide corresponding consumer services.
在一实施例中,当跨境消费业务量扩展时,基于微服务架构的特性,消费服务独立与其他服务,可以独立部署在单个部署单元上,在业务增加上,可以横向扩展。具体可以在链上增加消费服务的部署单元的方式来响应业务的扩张需求。将应用划分为一组小的服务,通过服务间的互相协调、互相配置实现跨境消费支付系统的整体功能。In one embodiment, when the cross-border consumption business volume expands, based on the characteristics of the microservice architecture, the consumption service and other services can be independently deployed on a single deployment unit, and can be scaled horizontally in terms of business increase. Specifically, the deployment units of consumer services can be added on the chain to respond to the expansion needs of the business. The application is divided into a group of small services, and the overall function of the cross-border consumption payment system is realized through the mutual coordination and configuration between the services.
如图7所示,如果当前消费服务在3个消费服务部署单元的基础上,可以支持5万笔的消费,当消费增加到10万笔时,增加虚线部分的3个新的消费部署单元,实现消费业务的扩张。As shown in Figure 7, if the current consumption service is based on 3 consumption service deployment units, it can support 50,000 consumption transactions. When the consumption increases to 100,000 transactions, add 3 new consumption deployment units in the dotted line. To achieve the expansion of consumer business.
在一实施例中,当跨境消费业务类型扩展时,基于微服务的架构模式,当新增一种跨境消费业务且不影响当前业务,可通过增加一个独立的新消费服务模块来实现业务的扩展。原跨境消费业务在消费服务A模块中实现,且独立部署保证原消费业务不变。如图8所示,新增交易服务模块B,在该模块下实现新增的跨境消费业务,该模块可独立部署不影响原有的消费服务A。In one embodiment, when the type of cross-border consumption business is expanded, based on the micro-service architecture model, when a new cross-border consumption business is added without affecting the current business, the business can be realized by adding an independent new consumption service module. extension. The original cross-border consumer business is implemented in the consumer service module A, and independent deployment ensures that the original consumer business remains unchanged. As shown in Figure 8, a transaction service module B is added, and the new cross-border consumption business is realized under this module. This module can be deployed independently without affecting the original consumption service A.
本发明实施例公开的基于法定数字货币的跨境消费支付方法中,运用区块链技术创建了链上钱包(账户余额模式+),其数据结构有别于公链的UTXO,是充分考虑基于账户体系的一种新的实践形式。由账户地址、数字钱包ID、余额、币串列表、冻结币串列表、账户信息以及归属Manager等信息要素组成。其中,冻结币串列表是为实现币串下链自动兑回等特殊应用场景所设计的。本发明实施例公开的跨境消费支付系统支持数字货币在境内消费者--境外商户--海外机构间价值转移的闭环流转过程。对消费者而言,链上钱包与银行卡及移动支付流程无差别,但效果更优于传统体验。对境外商户而言,暂无法直接收取数字货币,在本方案中设计通过数字货币机构代持(权属关系转移),并在海外机构对数字资产确权后将外币资金给商户完成实时结算,达成“支付即结算”的业务目标。实时执行数字货币支付后,仅涉及将对中央银行的求偿权从一个用户转移到另一个用户,资金不在中间商的资产负债表上,仅涉及中央银行资产负债表中的净结算。支付是以完全安全和中立的央行数字货币实时地完成,在结算过程中没有银行间的任何信贷授予,没有信用风险,大幅缩短交易双方资金到账时间,并可大幅降低清、结算手续费用及货币汇兑等交易成本,在普遍访问、成本、数据隐私和安全方面均形成竞争力。In the cross-border consumption payment method based on legal digital currency disclosed in the embodiment of the present invention, the blockchain technology is used to create an on-chain wallet (account balance mode+), and its data structure is different from the UTXO of the public chain. A new practical form of the system of accounts. It consists of information elements such as account address, digital wallet ID, balance, currency string list, frozen currency string list, account information, and attribution Manager. Among them, the list of frozen currency strings is designed for special application scenarios such as automatic redemption of currency strings off-chain. The cross-border consumption payment system disclosed in the embodiment of the present invention supports the closed-loop circulation process of digital currency value transfer between domestic consumers-overseas merchants-overseas institutions. For consumers, the on-chain wallet is no different from bank cards and mobile payment processes, but the effect is better than the traditional experience. For overseas merchants, it is temporarily impossible to directly receive digital currency. In this scheme, it is designed to be held by a digital currency institution (ownership relationship transfer), and after the overseas institution confirms the ownership of digital assets, the foreign currency funds are sent to the merchant to complete real-time settlement. Achieve the business goal of "pay as you settle". After the digital currency payment is executed in real time, it only involves the transfer of claims against the central bank from one user to another, the funds are not on the balance sheet of the intermediary, and only the net settlement on the balance sheet of the central bank is involved. Payment is completed in real time with a completely safe and neutral central bank digital currency. During the settlement process, there is no credit grant between banks, and there is no credit risk. Transaction costs, such as currency exchange, are competitive in terms of universal access, cost, data privacy and security.
具体的,币串表达式所有者信息变更,通过在业务场景驱动下币串登记上链前,由系统联机外呼DC/EP系统申请铸币,并变更机构签名。将币串表达式中的<所有者(公钥)>信息替换为收款人或被认定具备数字资产代持资格人的公钥,并在运营机构加密机中进行机构签名后填充,从而实现币串的确权过程和数字资产的权属变更与价值转移,其安全性依赖于币串表达式的机构签名与区块链钱包的所有者签名相结合的双重签名机制。此外,价值转移过程均在数字资产链内部集中完成,通过原子性确保交易结果一致。Specifically, when the owner information of the coin string expression is changed, the system will call the DC/EP system online to apply for coin minting and change the institutional signature before the coin string is registered and put on the chain driven by the business scenario. Replace the <owner (public key)> information in the currency string expression with the public key of the payee or the person who is deemed to have the qualification for holding digital assets, and fill it with the institutional signature in the encryption machine of the operating organization, so as to realize The security of the currency string confirmation process and the ownership change and value transfer of digital assets depends on the double signature mechanism combining the institutional signature of the currency string expression and the owner's signature of the blockchain wallet. In addition, the value transfer process is completed centrally within the digital asset chain, ensuring consistent transaction results through atomicity.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts. The systems and system embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111671295.1A CN114493584A (en) | 2021-12-31 | 2021-12-31 | Cross-border consumption payment method, node and system based on legal digital currency |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111671295.1A CN114493584A (en) | 2021-12-31 | 2021-12-31 | Cross-border consumption payment method, node and system based on legal digital currency |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114493584A true CN114493584A (en) | 2022-05-13 |
Family
ID=81507837
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111671295.1A Pending CN114493584A (en) | 2021-12-31 | 2021-12-31 | Cross-border consumption payment method, node and system based on legal digital currency |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114493584A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115471221A (en) * | 2022-09-22 | 2022-12-13 | 中国银行股份有限公司 | Cross-border transaction data transmission method and device based on block chain |
| WO2024208151A1 (en) * | 2023-04-07 | 2024-10-10 | 中国人民银行数字货币研究所 | Transaction processing method, apparatus, device and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111798226A (en) * | 2020-06-12 | 2020-10-20 | 杭州云象网络技术有限公司 | Block chain-based digital currency cross-border payment method and system |
| CN112036849A (en) * | 2020-08-27 | 2020-12-04 | 杭州云象网络技术有限公司 | Cross-border payment system and method based on distributed account book technology |
| CN112633865A (en) * | 2020-12-28 | 2021-04-09 | 杭州趣链科技有限公司 | Zero balance transaction method, system and device for cross-institution digital currency account |
| CN113222750A (en) * | 2021-01-29 | 2021-08-06 | 众连智能科技有限公司 | Cross-border payment settlement method, device, system, equipment and storage medium |
-
2021
- 2021-12-31 CN CN202111671295.1A patent/CN114493584A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111798226A (en) * | 2020-06-12 | 2020-10-20 | 杭州云象网络技术有限公司 | Block chain-based digital currency cross-border payment method and system |
| CN112036849A (en) * | 2020-08-27 | 2020-12-04 | 杭州云象网络技术有限公司 | Cross-border payment system and method based on distributed account book technology |
| CN112633865A (en) * | 2020-12-28 | 2021-04-09 | 杭州趣链科技有限公司 | Zero balance transaction method, system and device for cross-institution digital currency account |
| CN113222750A (en) * | 2021-01-29 | 2021-08-06 | 众连智能科技有限公司 | Cross-border payment settlement method, device, system, equipment and storage medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115471221A (en) * | 2022-09-22 | 2022-12-13 | 中国银行股份有限公司 | Cross-border transaction data transmission method and device based on block chain |
| WO2024208151A1 (en) * | 2023-04-07 | 2024-10-10 | 中国人民银行数字货币研究所 | Transaction processing method, apparatus, device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110458543B (en) | Data processing method, related device and medium | |
| CN110570282A (en) | Cross-region resource transfer method, device, equipment and storage medium | |
| CN110458700A (en) | The logical card generation method of one kind, supply chain financial system and electronic equipment | |
| JP2019523495A (en) | Digital goods management in a distributed transaction consensus network | |
| US20090012899A1 (en) | Systems and methods for generating and managing a linked deposit-only account identifier | |
| CN110866753B (en) | Third party settlement control method and device, electronic equipment and storage medium | |
| CN105427093A (en) | Order account payment system applied to electronic commerce | |
| CN110009326A (en) | Accounting system, transaction and its processing method, terminal, system, device and medium | |
| US20220188783A1 (en) | Http-based server payment collection system, http-based user terminal payment collection system, and http-based payment collection method | |
| CN109816533A (en) | A kind of virtual resource allocation method and device | |
| JP2009528602A (en) | Method and system for billing an account | |
| CN109559164B (en) | Preferential information processing method and device, electronic equipment and computer readable medium | |
| CN113177772B (en) | Service data processing method, device and system | |
| CN114493584A (en) | Cross-border consumption payment method, node and system based on legal digital currency | |
| CN115456773A (en) | Block chain-based payment control method, device, equipment and medium | |
| CN101356776A (en) | Method and system for enterprise-to-enterprise secure e-commerce transactions | |
| WO2023201360A2 (en) | Method, controller, and computer-readable medium for replacement of a cancelled repeating transfer data structure on a distributed transfer network | |
| CN102073969A (en) | Method for realizing debit and credit integrated card | |
| CN109584028A (en) | A kind of virtual resource allocation method and device | |
| CN112613881A (en) | Cross-border payment method, system and device based on block chain | |
| JPWO2020040070A1 (en) | Transaction processing methods, systems and programs | |
| US11042514B2 (en) | Collaboration computer system | |
| TWI770933B (en) | Identity recognition management method and identity recognition management system based on cross-chain architecture | |
| CN106203976A (en) | Payment system based on same fund server and method of payment, device and server | |
| CN112446787A (en) | Resource transfer method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |