CN107230054B - Method and system for depositing digital currency into a deposit account - Google Patents
Method and system for depositing digital currency into a deposit account Download PDFInfo
- Publication number
- CN107230054B CN107230054B CN201610178902.3A CN201610178902A CN107230054B CN 107230054 B CN107230054 B CN 107230054B CN 201610178902 A CN201610178902 A CN 201610178902A CN 107230054 B CN107230054 B CN 107230054B
- Authority
- CN
- China
- Prior art keywords
- digital currency
- bank
- deposit
- commercial bank
- user
- 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.)
- Active
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/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- 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/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/105—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems involving programming of a portable memory device, e.g. IC cards, "electronic purses"
-
- 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/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/322—Aspects of commerce using mobile devices [M-devices]
- G06Q20/3227—Aspects of commerce using mobile devices [M-devices] using secure elements embedded in M-devices
-
- 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
- G06Q20/3674—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 involving authentication
-
- 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/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Technology Law (AREA)
- Marketing (AREA)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本发明提供一种将数字货币存入存款账户的方法和系统,以解决现有技术上的种种不足之处。本发明的将数字货币存入存款账户的方法包括:终端设备接收外部操作输入的存款金额和存款账户;终端设备在数字货币钱包内选取总金额等于存款金额的数字货币;终端设备将数字货币和存款账户发送给商业银行数字货币系统;商业银行数字货币系统将数字货币和存款账户发送给中央银行数字货币系统;中央银行数字货币系统将数字货币的属主信息由用户更改为商业银行,以及向商业银行数字货币系统反馈交易成功信息;商业银行数字货币系统根据交易成功信息对存款账户增加存款金额的记账,并且向终端设备发出存款成功通知。
The present invention provides a method and system for depositing digital currency into a deposit account to solve various deficiencies in the prior art. The method for depositing digital currency into a deposit account of the present invention includes: the terminal device receives the deposit amount and the deposit account input by an external operation; the terminal device selects the digital currency whose total amount is equal to the deposit amount in the digital currency wallet; the terminal device stores the digital currency and the deposit amount. The deposit account is sent to the commercial bank digital currency system; the commercial bank digital currency system sends the digital currency and the deposit account to the central bank digital currency system; the central bank digital currency system changes the owner information of the digital currency from the user to the commercial bank, and to the central bank digital currency system. The commercial bank digital currency system feeds back the transaction success information; the commercial bank digital currency system adds the deposit amount to the deposit account according to the transaction success information, and sends a deposit success notification to the terminal device.
Description
技术领域technical field
本发明涉及计算机网络以及计算机软件技术领域,特别地涉及一种将数字货币存入存款账户的方法和系统。The present invention relates to the technical field of computer networks and computer software, and in particular, to a method and system for depositing digital currency into a deposit account.
背景技术Background technique
数字货币是将现金数值转换为一系列电子加密序列数的货币,币本身的安全性依赖于密码算法来保护。在密码算法方面,数字货币系统安全性涉及到对称密码、非对称密码、报文摘要算法和基于身份的密码体制,在系统实现方面必须深入考虑密码系统的总体安全性、密码算法的选择、密码算法的实现、交互协议的设计、国际、国内标准的兼容性等,保证数字货币的交易安全。Digital currency is a currency that converts cash values into a series of electronically encrypted serial numbers. The security of the currency itself relies on cryptographic algorithms to protect. In terms of cryptographic algorithms, the security of the digital currency system involves symmetric cryptography, asymmetric cryptography, message digest algorithms and identity-based cryptography. The implementation of algorithms, the design of interactive protocols, the compatibility of international and domestic standards, etc., ensure the security of digital currency transactions.
随着移动互联网的发展普及,移动支付产业快速变革推进,基于移动互联网、NFC、HCE、Token、生物识别等各类技术的业务模式不断创新,应用场景不断拓展丰富,线上、线下业务一体化发展加速。移动支付新技术为用户提供多元化便捷支付服务的同时,也引领着通信、金融、互联网等行业转型升级发展。移动支付广阔发展前景已成为全产业的广泛共识,移动支付被认为是连接线上线下的重要切入口。数字货币的交易系统应以移动支付为核心进行业务模式设计。With the development and popularization of the mobile Internet, the rapid transformation of the mobile payment industry, the continuous innovation of business models based on mobile Internet, NFC, HCE, Token, biometrics and other technologies, the continuous expansion of application scenarios, and the integration of online and offline services accelerated development. While new mobile payment technology provides users with diversified and convenient payment services, it also leads the transformation and upgrading of industries such as communications, finance, and the Internet. The broad development prospect of mobile payment has become a broad consensus in the entire industry, and mobile payment is considered to be an important entry point for connecting online and offline. The digital currency transaction system should be designed with mobile payment as the core business model.
在移动支付业务模式下,数字货币的密钥存储载体可由硬件SE模块(安全模块)、HCE以及TEE来提供。硬件SE由于其所提供的安全计算环境受到了金融交易领域的认可,在目前的借贷记卡片、电子现金中得到广泛应用,具有广泛的用户基础、良好的受理环境和使用习惯。随着移动支付技术不断发展,随着移动支付技术不断发展,SE模块形态也发生了很多变化,新的解决方案不断实践。In the mobile payment business mode, the key storage carrier of digital currency can be provided by hardware SE module (security module), HCE and TEE. Hardware SE has been recognized in the field of financial transactions because of the secure computing environment it provides, and is widely used in current debit and credit cards and electronic cash, with a wide user base, good acceptance environment and usage habits. With the continuous development of mobile payment technology and the continuous development of mobile payment technology, many changes have taken place in the form of SE modules, and new solutions are constantly being practiced.
在交易受理终端(POS机)和支付工具(如卡片、手机之间)的数据传输通道上,目前存在多种传输方式:RF射频通信、短信、扫码、声波、光子,多种方式的并存为支付载体间的通信提供了便利。On the data transmission channel between the transaction acceptance terminal (POS machine) and payment tools (such as cards and mobile phones), there are currently multiple transmission methods: RF radio frequency communication, SMS, scanning code, sound waves, photons, and the coexistence of multiple methods. It facilitates the communication between payment carriers.
在认证方式上,可分为基于口令的认证、基于口令+智能卡的认证、基于生物特征(指纹、人脸)的认证。其中口令、生物特征的认证多用于远场支付,智能卡认证多用于近场支付。In terms of authentication methods, it can be divided into password-based authentication, password + smart card-based authentication, and biometrics (fingerprint, face)-based authentication. Among them, the authentication of passwords and biometrics is mostly used for far-field payment, and the authentication of smart card is mostly used for near-field payment.
云计算是未来后台服务器端的主流方向,数字货币的后台系统应采用基于云的解决方案。Cloud computing is the mainstream direction of the back-end server side in the future, and the back-end system of digital currency should adopt cloud-based solutions.
在电子商务活动中,因角色不同,对数字货币的要求也不同:客户要求数字货币使用方便,存储安全且具有匿名性;商家要求数字货币具有可认证性,且能兑换成真实的货币;银行则要求数字货币不能被非法使用和伪造,因此,数字货币D-RMB应具有以下特征:In e-commerce activities, due to different roles, the requirements for digital currency are also different: customers require digital currency to be easy to use, safe to store and have anonymity; merchants require digital currency to be verifiable and convertible into real currency; banks It is required that the digital currency cannot be illegally used and counterfeited. Therefore, the digital currency D-RMB should have the following characteristics:
1.安全性:能防止商务中的任意一方更改或非法使用数字货币;1. Security: It can prevent any party in the business from changing or illegally using digital currency;
2.不可重复花费性:数字货币只能使用一次,重复花费能被容易地检查出来;2. Non-repetitive spending: digital currency can only be used once, and repeated spending can be easily checked;
3.可控匿名性:银行和商家相互勾结也不能跟踪数字货币的使用,要求系统无法将电子现金的用户的购买行为联系到一起,从而隐蔽数字货币用户的购买历史,但数字货币的发行方可跟踪数字货币的使用;3. Controllable anonymity: Banks and merchants cannot track the use of digital currency even if they collude with each other, requiring the system to be unable to link the purchase behavior of users of electronic cash, thereby concealing the purchase history of digital currency users, but the issuer of digital currency can track the use of digital currency;
4.不可伪造性:用户不能伪造假的数字货币;4. Unforgeability: users cannot forge fake digital currency;
5.公平性:支付过程是公平的,保证要么双方交易成功,要么双方都没有损失,防止某一交易方在交易中蒙受损失;5. Fairness: The payment process is fair, ensuring that either the transaction is successful for both parties, or there is no loss for both parties, preventing a transaction party from suffering losses in the transaction;
6.兼容性:D-RMB系统中数字货币的发行流程与流通环节尽可能参照实物货币发行与流通。6. Compatibility: The issuance process and circulation of digital currency in the D-RMB system refer to the issuance and circulation of physical currency as much as possible.
并且对于数字货币而言,应当能够适应于现有货币的各种使用场景,并能够与现有货币自由兑换。And for digital currency, it should be able to adapt to various usage scenarios of existing currencies and be freely convertible with existing currencies.
目前我国流通的货币为纸质货币或金属货币。无论纸质货币还是金属货币,都属于实体货币。实体货币浪费了自然资源,具有发行流通成本高、交易或投资效率低、经济活动便利性低和透明度低的缺点。实体货币的追溯行较低,社会上腐败贿赂、非法洗钱、抢劫偷盗等犯罪行为难以避免。此外,实体货币在存入银行帐号时,需要借助银行柜面或者自助存款机器,不是很方便。At present, the currency in circulation in my country is paper currency or metal currency. Whether it is paper currency or metal currency, it belongs to physical currency. Physical currency wastes natural resources and has the disadvantages of high issuance and circulation costs, low transaction or investment efficiency, low convenience of economic activities and low transparency. The traceability of physical currency is relatively low, and criminal acts such as corruption and bribery, illegal money laundering, robbery and theft are unavoidable in society. In addition, it is not very convenient to use bank counters or self-service deposit machines to deposit physical currency into bank accounts.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供一种将数字货币存入存款账户的方法和系统,以解决现有技术上的种种不足之处。本发明的其他目的、效果以及有益效果可以从实施方式中得出。In view of this, the present invention provides a method and system for depositing digital currency into a deposit account to solve various deficiencies in the prior art. Other objects, effects, and advantageous effects of the present invention can be derived from the embodiments.
本发明第一方面提出一种将数字货币存入存款账户的方法,包括:终端设备接收外部操作输入的存款金额和存款账户;所述终端设备在数字货币钱包内选取总金额等于所述存款金额的数字货币;所述终端设备将所述数字货币和存款账户发送给商业银行数字货币系统;所述商业银行数字货币系统将所述数字货币和存款账户发送给中央银行数字货币系统;所述中央银行数字货币系统将所述数字货币的属主信息由用户更改为商业银行,以及向所述商业银行数字货币系统反馈交易成功信息;所述商业银行数字货币系统根据所述交易成功信息对所述存款账户增加所述存款金额的记账,并且向所述终端设备发出存款成功通知。A first aspect of the present invention provides a method for depositing digital currency into a deposit account, comprising: a terminal device receiving a deposit amount and a deposit account input by an external operation; the terminal device selecting a total amount in a digital currency wallet equal to the deposit amount the digital currency; the terminal device sends the digital currency and the deposit account to the commercial bank digital currency system; the commercial bank digital currency system sends the digital currency and the deposit account to the central bank digital currency system; the central bank The bank digital currency system changes the owner information of the digital currency from the user to a commercial bank, and feeds back transaction success information to the commercial bank digital currency system; The deposit account increases the billing of the deposit amount and sends a deposit success notification to the terminal device.
可选地,在所述商业银行数字货币系统将所述数字货币和存款账户发送给中央银行数字货币系统的步骤之前,还包括:所述商业银行数字货币系统确认所述数字货币合法;所述商业银行数字货币系统确认所述数字货币与所述存款金额等值;所述商业银行数字货币系统确认所述用户为商业银行的注册用户。Optionally, before the step of sending the digital currency and the deposit account to the central bank digital currency system by the commercial bank digital currency system, the method further includes: the commercial bank digital currency system confirming that the digital currency is legal; the The commercial bank digital currency system confirms that the digital currency is equivalent to the deposit amount; the commercial bank digital currency system confirms that the user is a registered user of the commercial bank.
可选地,在所述中央银行数字货币系统将所述数字货币的属主信息由用户更改为商业银行,以及向所述商业银行数字货币系统反馈交易成功信息的步骤之前,还包括:所述中央银行数字货币系统确认所述数字货币的属主为所述用户。Optionally, before the steps of the central bank digital currency system changing the owner information of the digital currency from the user to a commercial bank, and feeding back transaction success information to the commercial bank digital currency system, the method further includes: the The central bank digital currency system confirms that the owner of the digital currency is the user.
可选地,在所述商业银行数字货币系统根据所述交易成功信息对所述存款账户增加所述存款金额的记账的步骤之后,还包括:所述中央银行数字货币系统记录交易流水。Optionally, after the step of adding the deposit amount to the deposit account by the commercial bank digital currency system according to the transaction success information, the method further includes: recording the transaction flow by the central bank digital currency system.
本发明第二方面提出一种将数字货币存入存款账户的系统,包括:终端设备、商业银行数字货币系统和中央银行数字货币系统,其中:所述终端设备用于:接收外部操作输入的存款金额和存款账户;在数字货币钱包内选取总金额等于所述存款金额的数字货币;将所述数字货币和存款账户发送给所述商业银行数字货币系统;所述商业银行数字货币系统用于:将所述数字货币和存款账户发送给所述中央银行数字货币系统;根据交易成功信息对所述存款账户增加所述存款金额的记账,并且向所述终端设备发出存款成功通知;所述中央银行数字货币系统用于:将所述数字货币的属主信息由用户更改为商业银行,以及向所述商业银行数字货币系统反馈所述交易成功信息。A second aspect of the present invention provides a system for depositing digital currency into a deposit account, including: terminal equipment, a commercial bank digital currency system and a central bank digital currency system, wherein: the terminal equipment is used for: receiving deposits inputted by external operations Amount and deposit account; select a digital currency whose total amount is equal to the deposit amount in the digital currency wallet; send the digital currency and the deposit account to the commercial bank digital currency system; the commercial bank digital currency system is used for: Send the digital currency and the deposit account to the central bank digital currency system; add the deposit amount to the deposit account according to the transaction success information, and send a deposit success notification to the terminal device; the central bank The bank digital currency system is used for: changing the owner information of the digital currency from the user to a commercial bank, and feeding back the transaction success information to the commercial bank digital currency system.
可选地,所述商业银行数字货币系统还用于:确认所述数字货币合法;确认所述数字货币与所述存款金额等值;确认所述用户为商业银行的注册用户。Optionally, the commercial bank digital currency system is further used to: confirm that the digital currency is legal; confirm that the digital currency is equivalent to the deposit amount; confirm that the user is a registered user of a commercial bank.
可选地,所述中央银行数字货币系统还用于:确认所述数字货币的属主为所述用户。Optionally, the central bank digital currency system is further configured to: confirm that the owner of the digital currency is the user.
可选地,所述中央银行数字货币系统还用于:记录交易流水。Optionally, the central bank digital currency system is further used to: record transaction flow.
根据本发明的技术方案,数字货币自身属性带来了许多优点。数字货币可以节省自然资源、节省发行流通的成本、提高交易或投资的效率、提升经济交易活动的便利性和透明度,还能提高货币流通的可追溯性。在存款过程中,数字货币存款无需借助银行柜面或者自助存款机器,只需要在用户手机之类的终端设备上即可完成,具有可移动、随时可存款、方便快捷等优点。According to the technical solution of the present invention, the digital currency itself brings many advantages. Digital currency can save natural resources, save the cost of issuance and circulation, improve the efficiency of transactions or investments, improve the convenience and transparency of economic transaction activities, and improve the traceability of currency circulation. In the deposit process, digital currency deposits do not need to rely on bank counters or self-service deposit machines, but only need to be completed on terminal devices such as users' mobile phones.
附图说明Description of drawings
附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used for better understanding of the present invention and do not constitute an improper limitation of the present invention. in:
图1是与本发明实施方式有关的预制卡的工作的主要流程的示意图;FIG. 1 is a schematic diagram of the main flow of the work of the prefabricated card related to the embodiment of the present invention;
图2是与本发明实施方式有关的用户注册D-RMB账号的流程的示意图;Fig. 2 is the schematic diagram of the process flow of user registration D-RMB account related to the embodiment of the present invention;
图3是与本发明实施方式有关的D-RMB交易过程的示意图;3 is a schematic diagram of a D-RMB transaction process related to an embodiment of the present invention;
图4是根据本发明实施方式的D-RMB数字货币系统提供在线服务时的整体框架的一种结构的示意图;4 is a schematic diagram of a structure of an overall framework when the D-RMB digital currency system provides online services according to an embodiment of the present invention;
图5是根据本发明实施方式的商业银行数字货币系统包含的计算机系统的示意图;5 is a schematic diagram of a computer system included in a commercial bank digital currency system according to an embodiment of the present invention;
图6是根据本发明实施方式的商业银行数字货币系统与外部系统互联的一种架构的示意图;FIG. 6 is a schematic diagram of an architecture of the interconnection between a commercial bank digital currency system and an external system according to an embodiment of the present invention;
图7是根据本发明实施方式的将数字货币存入存款账户的方法的主要步骤的的示意图;7 is a schematic diagram of the main steps of a method for depositing digital currency into a deposit account according to an embodiment of the present invention;
图8是根据本发明实施方式的将数字货币存入存款账户的系统的主要模块的示意图。8 is a schematic diagram of the main modules of a system for depositing digital currency into a deposit account according to an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图对本发明的示范性实施方式做出说明,其中包括本发明实施方式的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施方式做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
本发明实施方式中,描述基于密码数学的数字货币(以下简称作D-RMB)设计方案,主要运营模式是中央银行与各商业银行一起分级建设D-RMB系统。这里的中央银行是货币的发行机构,例如中国人民银行。在以下的描述中,中央银行有时简称为“央行”,类似地,商业银行有时简称为“商行”。另将数字货币表示为“D币”。In the embodiment of the present invention, the design scheme of digital currency (hereinafter referred to as D-RMB) based on cryptographic mathematics is described. The central bank here is the issuer of the currency, such as the People's Bank of China. In the following description, central banks are sometimes referred to simply as "central banks", and similarly, commercial banks are sometimes referred to simply as "commercial banks". In addition, the digital currency is represented as "D currency ".
D-RMB系统是基于D币交易的资金转移系统,它由中央银行与各商业银行一起联合运营。D-RMB系统包括运行于特定数字中心的核心服务器上的D币发行、客户登录、客户账户管理、交易管理、欺诈检测、核心业务模块,也包括用户端的手机、笔记本电脑等需要与核心服务器交互的终端客户程序,同时,它还包括D币资金转移系统运行所依托的全国范围内的包括互联网、移动通信网这样一个开放形式的电子通信网络。在论述D-RMB系统之前,明确:The D-RMB system is a fund transfer system based on D currency transactions, which is jointly operated by the central bank and commercial banks. The D-RMB system includes D coin issuance, customer login, customer account management, transaction management, fraud detection, and core business modules running on the core server of a specific digital center, as well as mobile phones and laptops on the client side that need to interact with the core server. At the same time, it also includes an open form of electronic communication network including the Internet and mobile communication network throughout the country on which the D coin fund transfer system operates. Before discussing the D-RMB system, make it clear:
1.与现有实物货币流通的兼容。D-RMB系统中数字货币的发行流程与流通环节尽可能参照实物货币发行与流通,D-RMB体系中数字货币存放历经三个环节,一是央行的数字货币发行库(即数字货币基金);二是商业银行的银行库,即商业银行的库存数字现金;三是用户端的客户应用程序,即电子钱包中。在这不同环节过程中,D-RMB的登记中心会完成相关的登记操作。1. Compatibility with existing physical currency circulation. The issuance process and circulation of digital currency in the D-RMB system refer to the issuance and circulation of physical currency as much as possible. The storage of digital currency in the D-RMB system goes through three links. One is the central bank's digital currency issuance library (ie, digital currency fund); The second is the bank vault of the commercial bank, that is, the digital cash in stock of the commercial bank; the third is the client application on the client side, that is, the electronic wallet. In the process of these different links, the registration center of D-RMB will complete the relevant registration operations.
2.D-RMB数字货币不用盲签名。在使用过程中有限度地匿名保护。2. D-RMB digital currency does not require blind signatures. Limited anonymity protection during use.
3.D-RMB数字货币可以依托不同网络流通,以电子数字形式可能存在手机、IC卡芯片、笔记本电脑等等各种电子设备终端中,本文主要以手机和IC卡为载体存放D-RMB数字货币来进行讨论示例,但并不意味它只能以手机和IC卡为载体。3. D-RMB digital currency can be circulated on different networks, and may exist in various electronic equipment terminals such as mobile phones, IC card chips, notebook computers, etc. in electronic digital form. This article mainly uses mobile phones and IC cards as carriers to store D-RMB digital currency. Currency is used to discuss examples, but it does not mean that it can only be carried by mobile phones and IC cards.
4.D-RMB系统设计的支付模式是依靠D-RMB数字货币的转移(即:D币交易)实现。4. The payment mode designed by the D-RMB system relies on the transfer of D-RMB digital currency (ie: D currency transaction).
5.D-RMB系统要服从我国现金管理的相关制度要求。具体要求由业务部门需求决定。5. The D-RMB system must obey the relevant system requirements of my country's cash management. The specific requirements are determined by the needs of the business unit.
6.为避免与现有的记账支付体系同质化竞争,D-RMB系统可设计为限定额度支付。6. In order to avoid homogeneous competition with the existing bookkeeping payment system, the D-RMB system can be designed to pay with a limited amount.
为方便后续的描述,对以下符号约定:For the convenience of subsequent descriptions, the following notation conventions are made:
Enc:加密,这里指用户从IBC中心下载私钥后,以自己的私钥对发出信息进行签名并用对方的公钥进行加密。Enc: Encryption, here means that after the user downloads the private key from the IBC center, he signs the sent information with his own private key and encrypts it with the other party's public key.
Dec:解密,这里特指用户以自己的私钥进行来文的解密,并以对方手机号作为对应公钥(或直接公钥),对用户发送的信息进行签名确认。Dec: Decryption, here specifically means that the user decrypts the communication with his own private key, and uses the mobile phone number of the other party as the corresponding public key (or direct public key) to sign and confirm the information sent by the user.
D银行:指银行在央行中心系统开设的准备金账户,作记账用。 Bank D: refers to the reserve account opened by the bank in the central system of the central bank for bookkeeping.
D币:指央行按自己的加密机制生成的D-RMB数字货币,是一串字符,代表一定金额人民币。D currency : refers to the D-RMB digital currency generated by the central bank according to its own encryption mechanism, which is a string of characters representing a certain amount of RMB.
D币100:指央行按自己的加密机制生成的D-RMB数字货币,是一串数字,代表100元人民币,依次类推,下标数字代表实际人民币数额。D Coin 100 : Refers to the D-RMB digital currency generated by the central bank according to its own encryption mechanism. It is a string of numbers representing 100 yuan, and so on.
B账号:用户所在开户行的银行账号。 Account B: The bank account number of the bank where the user's account is opened.
H(M):对M进行哈希运算得到的值,M可以是手机号、机构代码或一串字符、数字等。H(M): The value obtained by hashing M, M can be a mobile phone number, an organization code, or a string of characters, numbers, etc.
D-RMB作为数字货币,由中国人民银行作为法定货币来设立并发行进入流通,由中国人民银行作为最终贷方提供担保,参与全国标准架构内的兑、汇与消费。它是一串代码,具有与实际流通中的“面值”一样的币值意义。D-RMB数字货币模拟纸质货币在央行的发行和管理流程,在D-RMB发行库中按央行的本次数字货币发行量一次性生成数字货币。As a digital currency, D-RMB is established and issued into circulation by the People's Bank of China as legal tender. The People's Bank of China is the ultimate lender to provide guarantees and participate in exchange, exchange and consumption within the national standard framework. It is a string of codes that has the same monetary meaning as the "face value" in actual circulation. D-RMB digital currency simulates the issuance and management process of paper currency in the central bank, and digital currency is generated at one time in the D-RMB issuance library according to the central bank's current digital currency issuance.
在D-RMB系统设计中,D币可以按最小单位面额产生,也可以根据用户具体提款金额来产生,也能按流通中实物货币面额产生,具体按哪种方式可通过系统参数在初始过程中设置。为贴近现实,后续以流通中固定面额为例来进行阐述。In the design of the D-RMB system, D coins can be generated according to the minimum unit denomination, or according to the specific withdrawal amount of the user, or according to the denomination of the physical currency in circulation. The specific method can be determined by the system parameters in the initial process. in the settings. In order to be close to reality, the following will be explained by taking the fixed denomination in circulation as an example.
发行库中的D-RMB完全模拟流通中的面值,“印制”产生数字代表的“壹圆、伍圆、拾圆、贰拾圆、伍拾圆、壹佰圆”等,一个加密文本代表一个面值的D-RMB数字货币。The D-RMB in the distribution library completely simulates the face value in circulation, and "printing" produces digital representations of "one yuan, five yuan, ten yuan, two ten yuan, five ten yuan, one hundred yuan", etc., an encrypted text representation A face value of D-RMB digital currency.
按固定面值产生D-RMB,如按第五套生产代表D-RMB(则需生产:D币1、D币5、D币10、D币20、D币50、D币100)则:D-RMB is generated according to a fixed face value. For example, D-RMB is represented by the fifth set of production (then need to produce: D coin 1 , D coin 5 , D coin 10 , D coin 20 , D coin 50 , D coin 100 ):
步骤1:由主密码与数字1、5、10、20、50和100分别产生六个基本加密密码。Step 1: Generate six basic encrypted passwords from the master password and the numbers 1, 5, 10, 20, 50, and 100, respectively.
步骤2:由哈希算法产生系统随机数。随机数可以理解为冠字号码。Step 2: Generate system random numbers by hash algorithm. A random number can be understood as a crown number.
步骤3:由代表不同币值的基本加密密码与随机数加密,生成加密密码。Step 3: Encrypt with basic encryption passwords representing different currency values and random numbers to generate encrypted passwords.
步骤4:由央行私钥对加密密码进行签名,代表新币产生。假如提款人要提代表100元人民币的D币100,则在实际提款过程中,可由代表100元的唯一随机数字与对应基本加密密码加密生成加密密文m,再由央行私钥对m进行签名。Step 4: The encrypted password is signed by the central bank's private key, representing the generation of new coins. If the withdrawer wants to withdraw 100 D coins representing 100 yuan, in the actual withdrawal process, the encrypted ciphertext m can be generated by encrypting the unique random number representing 100 yuan and the corresponding basic encryption password, and then the central bank private key pair m. to sign.
在D-RMB体系中,有央行的数字货币发行库、商业银行的数字货币银行库和用户端(如手机)的电子钱包。数字货币转移的基本内容包括:In the D-RMB system, there are the central bank's digital currency issuance library, the commercial bank's digital currency bank library, and the electronic wallet of the client (such as mobile phone). The basic contents of digital currency transfer include:
(1)根据数字货币发行总量,央行统一生成数字货币(即生产数字货币基金),存放在央行发行库中。(1) According to the total amount of digital currency issued, the central bank uniformly generates digital currency (that is, the production of digital currency funds) and stores it in the central bank's issuance library.
(2)根据商业银行数字货币的需求申请,将数字货币发送到相应商业银行存放数字货币的数据库,即数字货币从发行库到银行库。(2) According to the application for digital currency of commercial banks, the digital currency is sent to the database of the corresponding commercial bank where the digital currency is stored, that is, the digital currency is transferred from the issuing library to the bank treasury.
如某次根据货币发行总量,央行发行10亿D-RMB,这些D-RMB发行后被放在央行的发行库中。后来根据某银行的申请从这10亿D-RMB中提走其中2亿,这些被提走的2亿D-RMB被存放在该银行的银行库中(该银行在央行的存款准备金账户记账为减少2亿,同时,2个亿的D-RMB存放在该商业银行的银行库,其记账操作等同现有实物货币的支取),在登记中心,这些数字货币对应的属主由央行改为商业银行,并记录相应操作流水等信息。For example, according to the total amount of currency issuance, the central bank issued 1 billion D-RMB, and these D-RMBs were placed in the central bank's issuance library after issuance. Later, according to a bank's application, 200 million of the 1 billion D-RMB was withdrawn, and the withdrawn 200 million D-RMB was deposited in the bank's treasury (the bank's deposit reserve account in the central bank is recorded in the central bank's deposit reserve account). The account is reduced by 200 million. At the same time, 200 million D-RMB is stored in the bank vault of the commercial bank, and its bookkeeping operation is equivalent to the withdrawal of the existing physical currency). In the registration center, the corresponding owners of these digital currencies are determined by the central bank. Change it to a commercial bank, and record the corresponding operation flow and other information.
(3)用户申请提取数字货币时,数字货币从银行库到流通环节,进入用户客户端的存储介质中(如手机内),即从银行库到用户的电子钱包。在登记中心,这些数字货币对应的属主由商业银行改为用户,并记录相应操作流水等信息。(3) When the user applies to withdraw digital currency, the digital currency goes from the bank vault to the circulation link, and enters the storage medium of the user client (such as in the mobile phone), that is, from the bank vault to the user's electronic wallet. In the registration center, the corresponding owners of these digital currencies are changed from commercial banks to users, and information such as the corresponding operation flow is recorded.
(4)在流通环节,数字货币实质是在两个用户各自电子钱包间进行转移来完成支付,此时支付分为在线交易和离线交易,具体业务流程在后文进行详细分析。在登记中心,这些数字货币对应的属主由用户1改为用户2,并记录相应操作流水等信息。(4) In the circulation process, the essence of digital currency is to transfer between the two users' respective electronic wallets to complete the payment. At this time, the payment is divided into online transactions and offline transactions. The specific business process will be analyzed in detail later. In the registration center, the corresponding owner of these digital currencies is changed from user 1 to user 2, and information such as the corresponding operation flow is recorded.
在以上数字货币转移过程中,D-RMB系统的登记中心需验证交易数字货币的合法性,记录交易流水并更正对应数字货币新的属主,以及登记其它所需信息(具体由业务需求决定)。During the above digital currency transfer process, the registration center of the D-RMB system needs to verify the legitimacy of the transaction digital currency, record the transaction flow and correct the new owner of the corresponding digital currency, and register other required information (specifically determined by business needs) .
如果是以IC卡为载体,还存在预制卡的工作,预制卡的工作中,中央银行数字货币系统和商业银行数字货币系统对包含有存储介质的D-RMB芯片卡进行一系列操作,主要有:中央银行数字货币系统按预先指定的内容生成D-RMB芯片卡的个性化数据;商业银行数字货币系统将申请D-RMB芯片卡的用户的个人信息写入该D-RMB芯片卡;商业银行数字货币系统以用户IBC公钥向认证系统申请IBC私钥,用户IBC公钥是D-RMB芯片卡的标识或者所述用户的标识。以上操作中涉及的主要流程如图1所示,图1是与本发明实施方式有关的预制卡的工作的主要流程的示意图。If the IC card is used as the carrier, there is still the work of prefabricated cards. In the work of prefabricated cards, the central bank digital currency system and the commercial bank digital currency system perform a series of operations on the D-RMB chip card containing the storage medium, mainly including: : The central bank digital currency system generates the personalized data of the D-RMB chip card according to the pre-specified content; the commercial bank digital currency system writes the personal information of the user who applies for the D-RMB chip card into the D-RMB chip card; the commercial bank The digital currency system applies the user's IBC public key to the authentication system for the IBC private key, and the user's IBC public key is the identity of the D-RMB chip card or the identity of the user. The main flow involved in the above operation is shown in FIG. 1 , which is a schematic diagram of the main flow of the prefabricated card operation related to the embodiment of the present invention.
卡基作为D币的安全载体,在D币流通的各个环节对于保证D币的安全性有一定加强作用(独立的物理载体IC卡也简称为“D-RMB芯片卡”)。As the security carrier of D coin , the card base has a certain strengthening effect on ensuring the security of D coin in all aspects of D coin circulation (independent physical carrier IC card is also referred to as "D-RMB chip card").
(1)D-RMB芯片卡的生产(1) Production of D-RMB chip card
D-RMB芯片卡的生产必须由经过中央银行认证的,具有生产资质的企业生产,对于其生产制造的数量以及质量由中央银行(或中央银行授权的其他部门)严格把控。企业资质认证流程包括:提交申请、材料审核、样卡检测、现场测评、授权资质等环节。The production of D-RMB chip cards must be produced by enterprises certified by the central bank with production qualifications, and the quantity and quality of their production are strictly controlled by the central bank (or other departments authorized by the central bank). The enterprise qualification certification process includes: application submission, material review, sample card testing, on-site evaluation, authorization qualification and other links.
(2)D-RMB芯片卡的个性化(2) Personalization of D-RMB chip card
D-RMB芯片卡内个性化数据由中央银行生成,并授权相关部门建立个人化中心,对新生产的D-RMB芯片卡进行个性化操作。The personalized data in the D-RMB chip card is generated by the central bank, and the relevant departments are authorized to establish a personalization center to carry out personalized operations on the newly produced D-RMB chip card.
(3)D-RMB芯片卡的发行(3) Issuance of D-RMB chip card
系统可支持实名制发卡和匿名发卡。The system can support real-name card issuance and anonymous card issuance.
实名制发卡:D-RMB芯片卡由用户个人申请,实名制发卡,由中央银行授权商业银行代为发行,商业银行对用户进行实名审核,并登记相关资料,审核通过后,对中央银行的D-RMB芯片卡进行二次发卡,把用户的个人信息写到D-RMB芯片卡内。Real-name system card issuance: D-RMB chip card is applied by the user personally, real-name system card is issued, and the central bank authorizes the commercial bank to issue it on behalf of the commercial bank. The card is issued a second time, and the user's personal information is written into the D-RMB chip card.
匿名发卡:用户直接向商业银行申领D-RMB芯片卡,商业银行可根据实际情况选择是否验证申请人身份信息。Anonymous card issuance: Users can directly apply for a D-RMB chip card from a commercial bank, and the commercial bank can choose whether to verify the applicant's identity information according to the actual situation.
商业银行根据实际情况选择使用D-RMB芯片卡的唯一标识号或用户手机号作为用户IBC公钥,进而向IBC认证中心申请私钥。The commercial bank chooses to use the unique identification number of the D-RMB chip card or the user's mobile phone number as the user's IBC public key according to the actual situation, and then applies to the IBC certification center for the private key.
D-RMB系统支持以计算机设备、手机、POS、ATM以及Web等方式作为载体,选择线上或线下交易,本文示例中将主要以手机作为载体为例进行说明。The D-RMB system supports the choice of online or offline transactions using computer equipment, mobile phones, POS, ATM, and the Web as carriers.
关于手机终端,各种数字密码、图形密码等解锁设置和开机密码能有效保护手机上个人信息的安全。随着智能手机时代的到来,各类基于生物特征的指纹手机已进入普通消费群,它可以针对不同应用、不同特定信息采取不同指纹加密,这些新技术的应用可有效保证手机上数字货币、相关交易信息的存放安全。With regard to mobile phone terminals, various digital passwords, graphic passwords and other unlocking settings and power-on passwords can effectively protect the security of personal information on the mobile phone. With the advent of the era of smart phones, all kinds of fingerprint mobile phones based on biometric features have entered the general consumer group. It can adopt different fingerprint encryption for different applications and different specific information. The application of these new technologies can effectively ensure the digital currency on mobile phones, related Safe storage of transaction information.
为确保数字货币在手机间的转移安全,D-RMB体系需引入安全认证体系。中央银行与金融机构间利用现有的CA认证中心,社会用户(包括个人和企业)可利用IBC(Identity-Based Cryptograph)认证中心进行身份认证。In order to ensure the safe transfer of digital currency between mobile phones, the D-RMB system needs to introduce a security certification system. The existing CA certification center is used between the central bank and financial institutions, and social users (including individuals and enterprises) can use the IBC (Identity-Based Cryptograph) certification center for identity authentication.
对于在IBC、PKI中产生的私钥和央行公钥,需可靠安全地存放在手机的安全专属区域SE区(Secure Element),SE区可由硬件(手机换卡)或由主机模拟卡技术HCE(HostCard Emulation)来实现。如果用户采取换卡来保护密钥,则在换卡申请过程中下载密钥到手机SE区。The private key and central bank public key generated in IBC and PKI need to be reliably and safely stored in the secure exclusive area SE area (Secure Element) of the mobile phone. HostCard Emulation) to achieve. If the user chooses to change the card to protect the key, download the key to the SE area of the mobile phone during the card change application process.
在认证体系建设过程中,可按照传统的PKI认证体系来设计,统一建立PKI体系,由CA提供强数字签名,也可以按IBC设计,以用户手机号作为公钥来管理,特别是针对微小额度的离线支付,似乎更为便捷。下文所有业务介绍将以IBC认证来进行说明。图2是与本发明实施方式有关的用户注册D-RMB账号的流程的示意图,图3是与本发明实施方式有关的D-RMB交易过程的示意图。During the construction of the certification system, it can be designed according to the traditional PKI certification system, and the PKI system can be established uniformly, and the strong digital signature can be provided by the CA. It can also be designed according to the IBC and managed by the user's mobile phone number as the public key, especially for small quotas. Offline payment seems to be more convenient. All business descriptions below will be explained with IBC certification. FIG. 2 is a schematic diagram of a process of a user registering a D-RMB account related to an embodiment of the present invention, and FIG. 3 is a schematic diagram of a D-RMB transaction process related to an embodiment of the present invention.
在进行用户注册时,主要有以下流程:中央银行数字货币系统在接收到用户使用的终端设备发来的身份证明信息后,向该终端设备发送适用于该终端设备的应用软件;中央银行数字货币系统向运行所述应用软件的所述终端设备发送IBC公钥和IBC私钥,然后与该终端设备进行身份认证会话以及会话密钥协商;中央银行数字货币系统接收运行所述应用软件的所述终端设备发来的用户账号,然后向该终端设备发送用户密码。During user registration, there are mainly the following processes: after receiving the identity certification information from the terminal device used by the user, the central bank digital currency system sends the terminal device the application software suitable for the terminal device; the central bank digital currency The system sends the IBC public key and IBC private key to the terminal device running the application software, and then conducts an identity authentication session and session key negotiation with the terminal device; the central bank digital currency system receives the IBC running the application software. The user account sent by the terminal device, and then the user password is sent to the terminal device.
以用户1向用户2在线支付50元的数字货币D币50为例,来说明交易过程中涉及D币50转移时的安全协议。用户1登录自己的手机APP应用程序,完成与D-RMB系统的双方身份认证,并以SSL方式协商会话密钥后,执行交易协议。以手机号作为IBC公钥为例,在用户1手机客户端:手机客户端自动选取50元的数字货币D币50,根据交易规则组织相关信息M||m,其中M可以设计为:M=交易代码||手机号1||D币50||支付金额||手机号2,对信息段哈希运算得消息H(M),以手机号1对应的私钥对H(M)进行签名得m,以加密方式发送M||m到D-RMB系统。Taking user 1 to pay user 2 the digital currency D coin 50 of 50 yuan online as an example, to illustrate the security protocol when the transfer of D coin 50 is involved in the transaction process. User 1 logs in to his mobile APP, completes the two-party identity authentication with the D-RMB system, and negotiates the session key in SSL mode, and then executes the transaction protocol. Taking the mobile phone number as the IBC public key as an example, in the mobile client of User 1: the mobile client automatically selects the digital currency D coin 50 of 50 yuan, and organizes the relevant information M||m according to the transaction rules, where M can be designed as: M= Transaction code||Mobile phone number 1||D coin 50 ||Payment amount||Mobile phone number 2, hash the information segment to get the message H(M), and sign H(M) with the private key corresponding to the mobile phone number 1 To get m, send M||m to the D-RMB system in an encrypted manner.
D-RMB系统端:按协议解密报文得M||m,验证报文有效性,即以公钥即手机号1验证m与H(M),防止报文在传输过程中被篡改;验证D币50是否合法,解读交易规则及相关信息,执行相应操作,主要包括业务验证后登记中心变更D币50属主,由绑定的手机号1改为手机号2,并记录相应流水。发送D币50给手机2,并向双方提示交易成功。D-RMB system side: decrypt the message according to the protocol to obtain M||m, and verify the validity of the message, that is, verify m and H(M) with the public key, namely the mobile phone number 1, to prevent the message from being tampered with during the transmission process; Whether the D coin 50 is legal, interpret the transaction rules and related information, and perform corresponding operations, mainly including changing the owner of the D coin 50 by the registration center after business verification, changing the bound mobile phone number 1 to mobile phone number 2, and recording the corresponding flow. Send D coins 50 to mobile phone 2, and notify both parties that the transaction is successful.
为进一步增强匿名性,登记中心权属对应手机号可改为手机号的哈希(即借鉴比特币钱包地址,由公钥哈希组成),具体描述如下:In order to further enhance the anonymity, the mobile phone number corresponding to the ownership of the registration center can be changed to the hash of the mobile phone number (that is, borrowed from the Bitcoin wallet address, which is composed of the hash of the public key), and the specific description is as follows:
客户端组织报文不变,在用户1手机客户端:自动选取50元的数字货币D币50,根据交易规则组织相关信息M||m,其中M可以设计为M=交易代码||手机号1||D币50||支付金额||手机号2,对信息段哈希运算得消息H(M),以手机号1对应的私钥对H(M)进行签名得m,以加密方式发送M||m到D-RMB系统。The client organization message remains unchanged. On the user 1 mobile phone client: automatically select 50 yuan of digital currency D coin 50 , and organize relevant information M||m according to the transaction rules, where M can be designed as M=transaction code||mobile phone number 1||D coin 50 ||Payment amount||Mobile phone number 2, hash the information segment to get the message H(M), sign H(M) with the private key corresponding to the mobile phone number 1 to get m, encrypt the message Send M||m to the D-RMB system.
D-RMB系统端:按协议解密报文得M||m,验证报文有效性,即以公钥即手机号1验证m与H(M),防止报文在传输过程中被篡改;验证D币50是否合法,解读交易规则及相关信息,执行相应操作,主要包括业务验证后登记中心变更D币50属主,由绑定的H(手机号1)改为H(手机号2),并记录相应流水。发送D币50给手机2,并向双方提示交易成功。D-RMB system side: decrypt the message according to the protocol to obtain M||m, and verify the validity of the message, that is, verify m and H(M) with the public key, namely the mobile phone number 1, to prevent the message from being tampered with during the transmission process; Whether the D coin 50 is legal, interpret the transaction rules and related information, and perform the corresponding operations, mainly including the registration center changing the owner of the D coin 50 after the business verification, from the bound H (mobile phone number 1) to H (mobile phone number 2), And record the corresponding flow. Send D coins 50 to mobile phone 2, and notify both parties that the transaction is successful.
关于系统便捷性设计,在本发明实施方式中,交易的界面和入口有多种。在场景举例过程中,仅以一个入口来举例,如注册用户在商业银行办理业务,即可由用户拿手机先直接登录D-RMB系统,也可由商业银行登录D-RMB系统。Regarding the system convenience design, in the embodiment of the present invention, there are various interfaces and entrances for transactions. In the scenario example process, only one entry is used as an example. For example, if a registered user handles business in a commercial bank, the user can directly log in to the D-RMB system with a mobile phone, or the commercial bank can log in to the D-RMB system.
关于账户密码问题,可以根据业务需要来灵活设计是否需要用户输入账户密码。基于D-RMB系统是小额支付系统,建议可以考虑由用户自由选择是否设置密码。在本发明实施方式的说明中,按不留密码来描述,但在实现中,可以根据实际情况而定。Regarding the account password, you can flexibly design whether the user is required to enter the account password according to business needs. Based on the D-RMB system is a small payment system, it is suggested that users can freely choose whether to set a password. In the description of the embodiment of the present invention, it is described as not leaving a password, but in implementation, it can be determined according to the actual situation.
关于客户端应用程序问题,用户可以下载相应的客户端应用程序在自己对应的终端上(此类终端软件相当于“钱包”工具),如手机用户可以下载D-RMB手机终端程序(也可称为手机APP)。终端程序可以设计包含以下功能:一是D币管理功能。(1)终端程序可以自动统计所有D币金额;(2)可以根据用户输入的金额数自动找到“钱包”内的D币组合,并在支付过程中自动选定已匹配好的D币进行交易;(3)交易完成后,自动将参与支出的D币进行删除;(4)能自动区别标识“钱包”内未经央行在线校验的数字货币和已校验已登记数字货币。二是完成业务需要的功能,如在线的注册申请、提取、支付、兑现、离线的支付请求等业务功能,以及在交易过程中自动完成公钥加密、私钥签名等等操作。Regarding the client application program, users can download the corresponding client application program on their corresponding terminal (such terminal software is equivalent to a "wallet" tool), for example, mobile phone users can download the D-RMB mobile phone terminal program (also called for mobile APP). The terminal program can be designed to include the following functions: First, the D coin management function. (1) The terminal program can automatically count the amount of all D coins ; (2) It can automatically find the combination of D coins in the "wallet" according to the amount entered by the user, and automatically select the matched D coins for transactions during the payment process. ; (3) After the transaction is completed, the D coins participating in the expenditure are automatically deleted; (4) The digital currency in the "wallet" that has not been verified online by the central bank and the digital currency that has been verified and registered can be automatically distinguished. The second is to complete the functions required by the business, such as online registration application, withdrawal, payment, cashing, offline payment request and other business functions, as well as automatic completion of public key encryption, private key signature and other operations during the transaction process.
总的说来,D-RMB体系的核心要素为一种币、两类库、三个中心:In general, the core elements of the D-RMB system are one currency, two types of libraries, and three centers:
一种币,即“D-RMB”,也称之为D币,特指一串由央行签名的代表具体金额的加密数字串。A coin, namely "D-RMB", also known as D coin , specifically refers to a string of encrypted numbers signed by the central bank representing a specific amount.
两类库:分别是D-RMB的发行库和银行库。数字货币在发行库中即表现为央行的数字货币基金;数字货币在银行库中即表现为商业银行的库存数字现金。There are two types of libraries: D-RMB's distribution library and bank library. The digital currency appears as the central bank's digital currency fund in the issuance library; the digital currency appears as the commercial bank's inventory digital cash in the bank treasury.
三个中心:一是登记中心(包括货币产生、流通、清点核对及消亡全过程记录);另外两个是认证中心,即CA认证中心(基于PKI体系,对机构和用户证书进行集中管理,如CFCA)和IBC认证中心,即基于标识的密码技术建立的认证中心(Identity-BasedCryptograph)。在登记中心可设计两张表,一为数字货币权属登记表,记录数字货币的归属,另一张为交易流水表。Three centers: one is the registration center (including the whole process record of currency generation, circulation, check and demise); the other two are the certification center, namely the CA certification center (based on the PKI system, centralized management of institutional and user certificates, such as CFCA) and IBC certification center, that is, the certification center (Identity-BasedCryptograph) established based on identity-based cryptography. Two forms can be designed in the registration center, one is the digital currency ownership registration form, which records the ownership of the digital currency, and the other is the transaction flow table.
本发明实施方式中的基于身份的密码体制IBC可以直接以用户的身份标识作为公钥,公钥的认证不再依托于证书,简化了密钥的使用与管理,具有无目录、使用方便、易于维护等优点。The identity-based cryptosystem IBC in the embodiment of the present invention can directly use the user's identity as the public key, and the authentication of the public key no longer relies on the certificate, which simplifies the use and management of the key, and has the advantages of no directory, convenient use, and easy access. maintenance, etc.
对于身份标识,个人用户可以采用手机号,也可以采用与手机匹配的D-mail地址或其他经过变换的字符串,这样方便客户本人记忆,其他人无从知道),以便达到可控匿名目的。企业用户可以采用组织机构代码,也可采用自定义的代码来作为IBC中心的身份标识,以此作为公钥,下面的举例中仅以手机号为例方便阐述。For identity identification, individual users can use mobile phone numbers, D-mail addresses that match mobile phones, or other transformed strings, which are convenient for the customer to remember, and others have no way of knowing), so as to achieve the purpose of controllable anonymity. Enterprise users can use the organization code or a self-defined code as the ID of the IBC center, which is used as the public key. In the following example, only the mobile phone number is used as an example for convenience.
D-RMB系统是一种分级式的体系,即由中央银行与各商业银行共建,中央银行数字货币系统是由中央银行或中央银行指定机构运行维护的用来处理关于数字货币的信息的计算机系统,其主要功能包括负责数字货币的发行与验证监测,商业银行是由商业银行或商业银行指定机构运行维护的用来处理关于数字货币的信息的计算机系统,其执行现有银行的有关货币的各种功能,即银行功能,主要包括从中央银行申请到数字货币后,负责直接面向社会,满足提供数字货币流通服务的各项需求。The D-RMB system is a hierarchical system, that is, it is jointly built by the central bank and various commercial banks. The central bank digital currency system is a computer operated and maintained by the central bank or a central bank-designated institution to process information about digital currency. The main functions of the system include being responsible for the issuance and verification monitoring of digital currency. A commercial bank is a computer system operated and maintained by a commercial bank or a designated institution of a commercial bank to process information about digital currency. Various functions, namely banking functions, mainly include, after applying for digital currency from the central bank, it is responsible for directly facing the society and meeting the needs of providing digital currency circulation services.
在根据本发明实施方式的数字货币系统的基本结构中,数字货币系统主要包括中央银行数字货币系统、商业银行数字货币系统(在实际中可以是多个商业银行数字货币系统)、以及认证系统。其中,中央银行数字货币系统用于产生和发行数字货币,以及对数字货币进行权属登记;商业银行数字货币系统用于针对数字货币执行银行功能;认证系统用于对中央银行数字货币系统和数字货币的用户所使用的终端设备之间的交互提供认证,以及对中央银行数字货币系统和商业银行数字货币系统之间的交互提供认证。In the basic structure of the digital currency system according to the embodiment of the present invention, the digital currency system mainly includes a central bank digital currency system, a commercial bank digital currency system (in practice, there may be multiple commercial bank digital currency systems), and an authentication system. Among them, the central bank digital currency system is used to generate and issue digital currency, and to register the ownership of digital currency; the commercial bank digital currency system is used to perform banking functions for digital currency; the authentication system is used to verify the central bank digital currency system and digital currency. Authentication is provided for interactions between terminal devices used by users of the currency, as well as for interactions between central bank digital currency systems and commercial bank digital currency systems.
图4是根据本发明实施方式的D-RMB数字货币系统提供在线服务时的整体框架的一种结构的示意图。FIG. 4 is a schematic diagram of a structure of an overall framework when the D-RMB digital currency system provides online services according to an embodiment of the present invention.
图4所示的整体框架中,D-RMB数字货币运转的核心为商业银行数字货币系统,央行D-RMB系统与商行D-RMB系统相连,负责进行交易确认。商行D-RMB系统和央行D-RMB系统都可以充分利用先进的云技术进行分散部署,同时商行D-RMB系统与其内部系统互联互通。In the overall framework shown in Figure 4, the core of the D-RMB digital currency operation is the commercial bank digital currency system. The central bank's D-RMB system is connected to the commercial bank's D-RMB system and is responsible for transaction confirmation. Both the commercial bank D-RMB system and the central bank D-RMB system can make full use of advanced cloud technology for decentralized deployment, and the commercial bank D-RMB system is interconnected with its internal systems.
从图可以看出,商业银行数字货币系统处于核心位置与其他网络或系统相连,可应用“云计算”技术构建。D-RMB数字货币系统支持各种不同协议的网络数据,如:虚拟专用网VPN、专线、卫星网络、公共交换电话网(PSTN)、全球移动通信系统(GSM)、公共陆地移动网(PLMN),各不同网络均可实现与中心服务器直接或者间接连接。It can be seen from the figure that the digital currency system of commercial banks is connected to other networks or systems at the core position, and can be constructed using "cloud computing" technology. D-RMB digital currency system supports network data of various protocols, such as: virtual private network VPN, dedicated line, satellite network, public switched telephone network (PSTN), global system for mobile communications (GSM), public land mobile network (PLMN) , each different network can realize direct or indirect connection with the central server.
商行数字货币系统与央行登记中心相连,同样具备四个基本功能模块:自动跟踪账户拥有多少D-RMB数字货币的电子钱包功能模块、自动跟踪各方之间的D-RMB数字货币转移并识别可疑交易的监督功能模块、电子银行服务功能及客户关系管理CRM功能模块。The digital currency system of the commercial bank is connected to the central bank registration center, and also has four basic functional modules: an electronic wallet function module that automatically tracks how much D-RMB digital currency an account has, automatically tracks the D-RMB digital currency transfer between parties and identifies suspicious Transaction supervision function module, electronic banking service function and customer relationship management CRM function module.
商业银行数字货币系统中的服务器的逻辑布局采用三层架构的方式:即表示层,也就是前端应用系统200;后端应用系统202,也叫会话层、应用层,或交易逻辑层;后台数据库204为数据层。其对应的物理机器部署框图如图5所示,图5是根据本发明实施方式的商业银行数字货币系统包含的计算机系统的示意图。The logical layout of the server in the commercial bank digital currency system adopts a three-layer structure: the presentation layer, which is the front-
前端应用系统200是用来运行用户与货币转移服务运营商直接互动的应用程序,比如Web应用程序,此处部署的是Web服务器集群。用户和货币转移服务运营商通过用户接口和这些应用程序交互,用户接口有个人计算设备114和移动设备等。用户可以通过此入口访问电子钱包功能、监督功能、虚拟银行功能、CRM功能。Web服务器上可采用apache等开源软件。The front-
后端应用系统202主要用来是支持前端应用系统200的数据访问、业务逻辑处理等后台功能。此区域部署应用服务器。D-RMB数字货币可采用以Red Hat开源系统下的JBOSS工具来开发应用程序。The back-
后台数据库204主要是数据库管理系统DBMS,包括数据仓库,存储了转移货币的销售交易、客户档案以及跟踪和调节中央银行数字货币系统进行D-RMB数字货币转移所需要的其他数据。D-RMB数字货币系统可采用以Oracle的DBMS作为数据库系统设计。The
上述商行数字货币系统能够与外部系统互联,可选的一种架构如图6所示,图6是根据本发明实施方式的商业银行数字货币系统与外部系统互联的一种架构的示意图。The above-mentioned commercial bank digital currency system can be interconnected with external systems. An optional architecture is shown in FIG. 6 , which is a schematic diagram of an architecture for interconnecting a commercial bank digital currency system with an external system according to an embodiment of the present invention.
上图示范了商业银行数字货币系统与包括央行中心服务器、其他商业银行系统在内的各种外部系统适配器的物理和逻辑布局。有货币交易数据适配器、手机服务提供商SMS网关适配器、零售商系统适配器、ATM数据供应系统适配器等,通过这种互联的方式中心服务器可以接受来自每类实体的数字货币转移请求和应答。图6充分说明了D-RMB数字货币系统对各渠道、不同协议网络的良好支持,这也是其系统具有开放性特征的表现。The above figure demonstrates the physical and logical layout of the commercial bank digital currency system and various external system adapters including the central bank central server and other commercial banking systems. There are currency transaction data adapters, mobile phone service provider SMS gateway adapters, retailer system adapters, ATM data supply system adapters, etc. Through this interconnection, the central server can accept digital currency transfer requests and responses from each type of entity. Figure 6 fully illustrates the D-RMB digital currency system's good support for various channels and different protocol networks, which is also a manifestation of the openness of its system.
以下将以用户手机作为终端方式,以手机号作为身份标识,对操作D-RMB的各种业务流程加以阐述,主要包括客户端下载登录、提取、支付、存款及兑现等流程,进行面对面交易方式来阐述。用户的客户端登录、提取、兑现流程要求用户必须在在线状态下完成,而支付过程可以分为在线支付和离线支付,于是形成多个场景状态及其对应的流程,各个流程要达到的目的是由一系列操作步骤来实现。除了手机以外,目前以及将来可能出现的其他智能终端都可以作为D-RMB的载体并执行各种业务流程。The following will take the user's mobile phone as the terminal, and use the mobile phone number as the identification to describe the various business processes of operating D-RMB, mainly including client download and login, withdrawal, payment, deposit and cashing and other processes, and conduct face-to-face transactions. to explain. The user's client login, withdrawal, and redemption process requires the user to complete the online state, and the payment process can be divided into online payment and offline payment, so multiple scene states and their corresponding processes are formed. The purpose of each process is to achieve It is realized by a series of operation steps. In addition to mobile phones, other intelligent terminals that may appear at present and in the future can be used as the carrier of D-RMB and execute various business processes.
以下分别对流程的概要(以下的“流程说明”)和场景状态(以下的“场景说明”)以及在该场景中实现该流程的步骤(以下的“步骤说明”)一一加以描述。The outline of the flow (the following "flow description"), the scene state (the following "scenario description"), and the steps for realizing the flow in the scenario (the following "step description") are described below.
关于用户客户端下载登录,按以下流程执行:For user client download and login, follow the steps below:
流程说明:用户通过手机下载由商业银行提供的APP安装程序登录D-RMB系统过程。Process description: The user downloads the APP installer provided by the commercial bank to log in to the D-RMB system through the mobile phone.
场景说明:有资质的商业银行(如工商银行)连接CA认证中心、IBC认证中心和登记中心,对用户提供数字货币服务。用户通过手机下载由商业银行提供的APP安装程序登录商业银行D-RMB系统。Scenario description: Qualified commercial banks (such as Industrial and Commercial Bank of China) connect to the CA certification center, IBC certification center and registration center to provide users with digital currency services. The user logs in to the D-RMB system of the commercial bank by downloading the APP installation program provided by the commercial bank through the mobile phone.
步骤说明:Step instructions:
步骤1.用户以手机登录商行(如中国工商银行)D-RMB系统页面,下载由商业银行提供的手机APP安装程序,对于已有账号(IBC认证中心)的用户,可以直接登录;对于新的用户,需要首先进行账户初始化操作。Step 1. The user logs in to the D-RMB system page of the commercial bank (such as the Industrial and Commercial Bank of China) with a mobile phone, and downloads the mobile APP installation program provided by the commercial bank. For users who already have an account (IBC Certification Center), they can log in directly; Users need to initialize the account first.
步骤2.初始化:在页面录入相关信息(如姓名、住址、电子邮件地址、手机号、身份证号、注册账号即手机号等),点击发送。Step 2. Initialization: Enter relevant information on the page (such as name, address, email address, mobile phone number, ID number, registered account or mobile phone number, etc.), and click Send.
步骤3.商业银行:连接IBC认证中心,为该用户创建D-RMB数字货币系统唯一账号,并在IBC中心验证其唯一性。个人用户可采用手机号,生成用户初始登录密码并发送给用户手机;IBC中心根据手机号产生用户的私钥,公钥为用户手机号,以公钥作为账号进行交易流转。Step 3. Commercial Bank: Connect to the IBC Certification Center, create a unique account of the D-RMB digital currency system for the user, and verify its uniqueness at the IBC Center. Individual users can use the mobile phone number to generate the user's initial login password and send it to the user's mobile phone; IBC Center generates the user's private key according to the mobile phone number, the public key is the user's mobile phone number, and the public key is used as the account for transaction flow.
步骤4.用户手机端:接收到初始登录密码后激活账户,下载用户私钥和央行公钥到手机安全保护区,通过再次登录手机APP来修改登录密码,完成初始化。Step 4. User's mobile terminal: Activate the account after receiving the initial login password, download the user's private key and the central bank's public key to the mobile phone security protection area, and log in to the mobile APP again to modify the login password to complete the initialization.
用户如果申请换手机卡,则密钥可提前预植在卡片SE区。If the user applies for changing the mobile phone card, the key can be pre-planted in the SE area of the card in advance.
以下再对本发明实施方式中的将数字货币存入存款账户的方法和系统作进一步详细说明。The method and system for depositing digital currency into a deposit account in the embodiments of the present invention will be described in further detail below.
图7是根据本发明实施方式的将数字货币存入存款账户的方法的主要步骤的的示意图。如图7所示,本发明实施方式的将数字货币存入存款账户的方法可以包括如下的步骤A1至步骤A6。该方法适用于本发明实施方式的将数字货币存入存款账户的系统。7 is a schematic diagram of the main steps of a method of depositing digital currency into a deposit account according to an embodiment of the present invention. As shown in FIG. 7 , the method for depositing digital currency into a deposit account according to an embodiment of the present invention may include the following steps A1 to A6. This method is applicable to the system for depositing digital currency into a deposit account according to an embodiment of the present invention.
步骤A1:终端设备接收外部操作输入的存款金额和存款账户。Step A1: The terminal device receives the deposit amount and the deposit account input by the external operation.
例如:假设用户期望将他的数字货币钱包内的一张金额为100元的数字货币D币100存入该用户在某商业银行开设的活期存款账户B账号。终端设备是该商业银行开发的手机客户端。用户输入用户名和密码登录手机客户端之后,点击选择了“存款功能”,然后向终端设备输入“存款金额为100元”以及输入“存款账户B账号”。这意味着终端设备接收到了包括存款金额(100元)和存款账户(B账号)的存款指令。For example: Suppose the user wishes to deposit a digital currency D coin 100 with an amount of 100 yuan in his digital currency wallet into the current deposit account B account opened by the user in a commercial bank. The terminal device is the mobile client developed by the commercial bank. After the user enters the user name and password to log in to the mobile client, click to select the "deposit function", and then enter "the deposit amount is 100 yuan" and "the deposit account B account number" into the terminal device. This means that the terminal device has received a deposit instruction including the deposit amount (100 yuan) and the deposit account (B account number).
步骤A2:终端设备在数字货币钱包内选取总金额等于存款金额的数字货币。Step A2: The terminal device selects the digital currency whose total amount is equal to the deposit amount in the digital currency wallet.
具体地:终端设备在接收到上述存款指令后,根据存款指令中的存款金额在数字货币钱包内选取一张金额为100元的数字货币D币100。Specifically: after receiving the above deposit instruction, the terminal device selects a digital currency D coin 100 with an amount of 100 yuan in the digital currency wallet according to the deposit amount in the deposit instruction.
步骤A3:终端设备将包括数字货币和存款账户的第一报文发送给商业银行数字货币系统。Step A3: The terminal device sends the first message including the digital currency and the deposit account to the digital currency system of the commercial bank.
具体地:手机客户端根据预设的交易规格组织相关信息,生成包括数字货币D币100和存款账户B账号的第一报文,然后发送给商业银行数字货币系统。Specifically: the mobile phone client organizes the relevant information according to the preset transaction specifications, generates a first message including the digital currency D coin 100 and the deposit account B account number, and then sends it to the commercial bank digital currency system.
可选地,在执行步骤A4之前,商业银行数字货币系统可以对第一报文进行如下的第一验证:商业银行数字货币系统根据第一报文验证数字货币的合法性;商业银行数字货币系统根据第一报文验证所诉数字货币与存款金额是否等值;商业银行数字货币系统根据第一报文验证用户是否为商业银行的注册用户。需要说明的是,第一报文和第一验证的具体内容可以根据交易规则灵活设定,此处仅仅是示例而非本发明的限定。如果第一验证通过,则执行步骤A4。如果第一验证失败,则结束流程。Optionally, before step A4 is performed, the commercial bank digital currency system may perform the following first verification on the first message: the commercial bank digital currency system verifies the legality of the digital currency according to the first message; the commercial bank digital currency system verifies the legality of the digital currency according to the first message; According to the first message, verify whether the alleged digital currency is equivalent to the deposit amount; the commercial bank digital currency system verifies whether the user is a registered user of the commercial bank according to the first message. It should be noted that the specific content of the first packet and the first verification can be flexibly set according to the transaction rules, and this is only an example and not a limitation of the present invention. If the first verification is passed, step A4 is performed. If the first verification fails, the process ends.
步骤A4:商业银行数字货币系统将数字货币和存款账户发送给中央银行数字货币系统。Step A4: The commercial bank digital currency system sends the digital currency and the deposit account to the central bank digital currency system.
具体地,商业银行数字货币系统根据预设的交易规格组织相关信息,生成包括数字货币D币100和存款账户B账号的第二报文,然后发送给中央银行数字货币系统。Specifically, the commercial bank digital currency system organizes the relevant information according to the preset transaction specifications, generates a second message including the digital currency D coin 100 and the deposit account B account number, and then sends it to the central bank digital currency system.
可选地,在执行步骤A5之前,中央银行数字货币系统可以对第二报文进行如下的第二验证:中央银行数字货币系统根据第二报文验证数字货币的属主是否为用户。需要说明的是,第二报文和第二验证的具体内容可以根据交易规则灵活设定,此处仅仅是示例而非本发明的限定。如果第二验证通过,则执行步骤A5。如果第二验证失败,则结束流程。Optionally, before step A5 is performed, the central bank digital currency system may perform the following second verification on the second message: the central bank digital currency system verifies whether the owner of the digital currency is the user according to the second message. It should be noted that the specific content of the second packet and the second verification can be flexibly set according to the transaction rules, which are merely examples and not limitations of the present invention. If the second verification is passed, step A5 is performed. If the second verification fails, the process ends.
步骤A5:中央银行数字货币系统将数字货币的属主信息由用户更改为商业银行,以及向商业银行数字货币系统反馈交易成功信息。Step A5: The central bank digital currency system changes the owner information of the digital currency from the user to the commercial bank, and feeds back the transaction success information to the commercial bank digital currency system.
具体地,中央银行数字货币系统执行以下操作:在中央银行数字货币系统内部的登记中心内,将数字货币D币100的属主信息由用户账户更改为商业银行的代码,这意味着商业银行的业务库收回了该张数字货币D币100。另外,中央银行数字货币系统还向商业银行数字货币系统反馈交易成功信息。Specifically, the central bank digital currency system performs the following operations: in the registration center inside the central bank digital currency system, the owner information of the digital currency D coin 100 is changed from the user account to the code of the commercial bank, which means that the commercial bank's The business library took back 100 of the digital currency D coins . In addition, the central bank digital currency system also feeds back transaction success information to the commercial bank digital currency system.
步骤A6:商业银行数字货币系统根据交易成功信息对用户的商业银行账户增加存款金额的记账,并且向终端设备发出存款成功通知。Step A6: The commercial bank digital currency system adds the deposit amount to the user's commercial bank account according to the transaction success information, and sends a deposit success notification to the terminal device.
具体地:商业银行数字货币系统收到中央银行数字货币系统发出的交易成功信息之后,对用户的存款账户B账号增加100元记账,并且向终端设备发出存款成功通知。Specifically: after the commercial bank digital currency system receives the transaction success information sent by the central bank digital currency system, it adds 100 yuan to the user's deposit account B account , and sends a deposit success notification to the terminal device.
可选地,在步骤A6之后还包括:中央银行数字货币系统记录交易流水。Optionally, after step A6, the method further includes: the central bank digital currency system records the transaction flow.
图8是根据本发明实施方式的将数字货币存入存款账户的系统的主要模块的示意图。如图8所示,本发明实施方式的将数字货币存入存款账户的系统B可以包括:终端设备B1、商业银行数字货币系统B2和中央银行数字货币系统B3。8 is a schematic diagram of the main modules of a system for depositing digital currency into a deposit account according to an embodiment of the present invention. As shown in FIG. 8 , the system B for depositing digital currency into a deposit account according to an embodiment of the present invention may include: a terminal device B1 , a commercial bank digital currency system B2 and a central bank digital currency system B3 .
其中,终端设备B1用于:接收外部操作输入的存款金额和存款账户;在数字货币钱包内选取总金额等于存款金额的数字货币;将数字货币和存款账户发送给商业银行数字货币系统B2。Among them, the terminal device B1 is used to: receive the deposit amount and deposit account input by external operations; select the digital currency whose total amount is equal to the deposit amount in the digital currency wallet; send the digital currency and the deposit account to the commercial bank digital currency system B2.
其中,商业银行数字货币系统B2用于:将数字货币和存款账户发送给中央银行数字货币系统B3;根据交易成功信息对存款账户增加存款金额的记账,并且向终端设备B1发出存款成功通知。Among them, the commercial bank digital currency system B2 is used to: send the digital currency and the deposit account to the central bank digital currency system B3; increase the deposit amount in the deposit account according to the transaction success information, and send a deposit success notification to the terminal device B1.
其中,中央银行数字货币系统B3用于:将数字货币的属主信息由用户更改为商业银行,以及向商业银行数字货币系统B2反馈交易成功信息。Among them, the central bank digital currency system B3 is used to: change the owner information of the digital currency from the user to a commercial bank, and feed back transaction success information to the commercial bank digital currency system B2.
可选地,商业银行数字货币系统B2还用于:确认数字货币合法;确认所诉数字货币与存款金额等值;验证用户为商业银行的注册用户。Optionally, the commercial bank digital currency system B2 is also used for: confirming the legality of the digital currency; confirming that the alleged digital currency is equivalent to the deposit amount; and verifying that the user is a registered user of the commercial bank.
可选地,中央银行数字货币系统B3还用于:确认数字货币的属主为用户。Optionally, the central bank digital currency system B3 is also used for: confirming that the owner of the digital currency is the user.
可选地,中央银行数字货币系统B3还用于:记录交易流水。Optionally, the central bank digital currency system B3 is also used for: recording transaction flow.
由上可知,本发明实施方式的将数字货币存入存款账户的方法和系统,由于数字货币自身属性带来了许多优点。数字货币可以节省自然资源、节省发行流通的成本、提高交易或投资的效率、提升经济交易活动的便利性和透明度,还能提高货币流通的可追溯性。在本发明实施方式的存款过程中,数字货币存款无需借助银行柜面或者自助存款机器,只需要在用户手机之类的终端设备上即可完成,具有可移动、随时可存款、方便快捷等优点。As can be seen from the above, the method and system for depositing digital currency into a deposit account according to the embodiments of the present invention bring many advantages due to the properties of digital currency itself. Digital currency can save natural resources, save the cost of issuance and circulation, improve the efficiency of transactions or investments, improve the convenience and transparency of economic transaction activities, and improve the traceability of currency circulation. In the deposit process of the embodiment of the present invention, the digital currency deposit does not need to rely on bank counters or self-service deposit machines, but only needs to be completed on a terminal device such as a user's mobile phone, which has the advantages of being movable, depositing at any time, convenient and quick, etc. .
以下对于重复交易检测加以说明。在线交易情况下,D-RMB系统通过D币与用户账号绑定方式来防重复交易。D-RMB系统中登记中心有一权属登记表,记录表样式可设计如表1:The duplicate transaction detection is described below. In the case of online transactions, the D-RMB system prevents repeated transactions by binding D coins to user accounts. The registration center in the D-RMB system has an ownership registration form, and the style of the record form can be designed as shown in Table 1:
表1Table 1
用户1(手机号138xxxxx001)在向用户2(手机号138xxxxx002)支付D币100过程中,D-RMB系统登记中心权属登记表:更改D币100对应属主,将属主字段中原手机号138xxxxx001的钱包地址更改为手机号138xxxxx002的钱包地址,如果用户1还想用D币100向其它用户支付,此时其属主已不是用户1,无法完成支付,以此来防止重复支付。When user 1 (mobile phone number 138xxxxx001) pays D currency 100 to user 2 (mobile phone number 138xxxxx002), the ownership registration form of the D-RMB system registration center: change the owner corresponding to D currency 100 , and change the original mobile phone number 138xxxxx001 in the owner field Change the wallet address of 138xxxxx002 to the wallet address of the mobile phone number 138xxxxx002. If user 1 still wants to pay other users with D coins 100 , the owner is not user 1 and cannot complete the payment, so as to prevent repeated payments.
如果在D-RMB系统中登记中心权属登记表以公钥哈希代表属主,则登记中心权属登记表可设计如表2:If the owner is represented by the public key hash in the registration center ownership registration table in the D-RMB system, the registration center ownership registration table can be designed as shown in Table 2:
表2Table 2
假设H(138xxxxx001)值为1Xadcfdgdadg,H(138xxxxx002)值为2xcfdald3xgdf,用户1(手机号138xxxxx001)在向用户2(手机号138xxxxx002)支付D币100过程中,D-RMB系统登记中心权属登记表:更改D币100对应属主,将属主字段中1Xadcfdgdadg更改为2xcfdald3xgdf,如果用户1还想用D币100向其它用户支付,此时其属主已不是用户1,无法完成支付,以此来防止重复支付。Assuming that the value of H(138xxxxx001) is 1Xadcfdgdadg, and the value of H(138xxxxx002) is 2xcfdald3xgdf, user 1 (mobile phone number 138xxxxx001) is in the process of paying D coins 100 to user 2 (mobile phone number 138xxxxx002), D-RMB system registration center ownership registration form : Change the corresponding owner of D coin 100 , and change 1Xadcfdgdadg in the owner field to 2xcfdald3xgdf. If user 1 wants to pay other users with D coin 100 , the owner is no longer user 1, and the payment cannot be completed. Prevent double payments.
离线交易情况下,通过滞后重复支付检查来发现并追责,目前几乎所有的电子现金系统进行的重复支付检查都是滞后的,即重复支付检查都是在支付过程完成后进行的。In the case of offline transactions, it is found and held accountable by lagging duplicate payment checks. At present, almost all electronic cash systems perform duplicate payment checks with a lag, that is, duplicate payment checks are performed after the payment process is completed.
同时我们设定的交易为小额支付(小于1000元),对于个人用户是一个可以接受的范围,并且采用事后追责机制,对不良记录将录入征信系统以作惩戒。At the same time, the transaction we set is a small payment (less than 1,000 yuan), which is an acceptable range for individual users, and a post-event accountability mechanism is adopted. Bad records will be entered into the credit reporting system for punishment.
从便捷性上来讲,以手机作为终端载体方案(以下简称“手机方案”)提供了更多的实现方式和使用手段,系统部署便利,用户操作便捷性好、更易推广。In terms of convenience, the mobile phone as the terminal carrier solution (hereinafter referred to as the "mobile phone solution") provides more implementation methods and means of use, the system deployment is convenient, the user operation is convenient, and it is easier to promote.
从安全性上考虑,以手机为D-RMB载体,可采用HCE和TEE方案,从而提供了更大存储空间,不完全依赖硬件厂商,推广更为便利。From the point of view of security, with the mobile phone as the D-RMB carrier, HCE and TEE solutions can be used, thus providing more storage space, not completely dependent on hardware manufacturers, and more convenient for promotion.
与市场其他代替纸币的货币系统相比,D-RMB初步具有便捷性好、安全性高等特点,便捷性表现在以下方面:Compared with other currency systems that replace banknotes in the market, D-RMB initially has the characteristics of good convenience and high security. The convenience is reflected in the following aspects:
在发行方式上,D-RMB为货币本身的数字化,不依赖任何银行账户和单一网络;In terms of issuance method, D-RMB is the digitization of the currency itself, and does not rely on any bank account and a single network;
在存储方式上,D-RMB的存储介质可以是手机,也可以是卡、磁盘、计算机等电子设备,为用户提供了多种选择。尤其是以手机为载体的D-RMB可以充分利用手机的键盘、显示、定位、存储、计算、通信等功能,还可二次开发,大大扩充支付场景和便捷性;In terms of storage mode, the storage medium of D-RMB can be a mobile phone, or an electronic device such as a card, a disk, a computer, etc., providing users with a variety of choices. In particular, D-RMB with mobile phone as the carrier can make full use of the functions of the mobile phone's keyboard, display, positioning, storage, computing, communication, etc., and can also be re-developed to greatly expand the payment scene and convenience;
在支付方式上,既可提供类似于纸币的当面付交易,也可提供类似于电子支付系统的网络远程支付交易,即可支持联机、也可支持脱机交易,方式便捷、灵活;In terms of payment methods, it can provide not only face-to-face payment transactions similar to paper money, but also network remote payment transactions similar to electronic payment systems, which can support online or offline transactions, which are convenient and flexible;
在交易速度上,付款速度比联机刷卡支付方式有很大提高。非常适于小额快速支付;In terms of transaction speed, the payment speed is greatly improved compared to the online credit card payment method. Very suitable for small and fast payments;
在使用习惯上,既可兼容原有的刷卡支付方式,也可提供面对面的数字货币支付,同时还可提供电子化的交易记录,便于理财统计,用户可接受度高。In terms of usage habits, it is compatible with the original card payment method, and can also provide face-to-face digital currency payment. At the same time, it can also provide electronic transaction records, which is convenient for financial statistics and highly acceptable to users.
安全性表现在以下方面:Security is manifested in the following aspects:
与其他数字货币系统相比,D-RMB数字货币是由现金数值转换而来的一系列电子加密序列数,通过这些加密序列数的转移来完成支付交易。币本身的安全性由密码算法来保护,可有效保障货币信息的机密性和完整性,安全性高;Compared with other digital currency systems, D-RMB digital currency is a series of electronic encrypted serial numbers converted from cash values, and payment transactions are completed through the transfer of these encrypted serial numbers. The security of the currency itself is protected by a cryptographic algorithm, which can effectively ensure the confidentiality and integrity of currency information, with high security;
D-RMB数字货币载体的安全性在移动终端利用芯片技术、在后台云端利用可信技术,实现端到端的安全;The security of D-RMB digital currency carrier utilizes chip technology in mobile terminals and trusted technology in the background cloud to achieve end-to-end security;
D-RMB数字货币交易系统的安全性一方面依赖于传统的电子支付系统安全技术,同时后台利用强大的D-RMB云计算系统,进一步保障了交易安全;The security of the D-RMB digital currency transaction system relies on the traditional electronic payment system security technology on the one hand, and the powerful D-RMB cloud computing system is used in the background to further ensure transaction security;
在用户隐私保护方面,通过“前台自愿、后台实名”的方式,既保证了用户隐私,又规避了非法交易的风险。In terms of user privacy protection, the method of "voluntary front-end and real-name back-end" not only ensures user privacy, but also avoids the risk of illegal transactions.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610178902.3A CN107230054B (en) | 2016-03-25 | 2016-03-25 | Method and system for depositing digital currency into a deposit account |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610178902.3A CN107230054B (en) | 2016-03-25 | 2016-03-25 | Method and system for depositing digital currency into a deposit account |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107230054A CN107230054A (en) | 2017-10-03 |
| CN107230054B true CN107230054B (en) | 2020-11-03 |
Family
ID=59932009
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610178902.3A Active CN107230054B (en) | 2016-03-25 | 2016-03-25 | Method and system for depositing digital currency into a deposit account |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107230054B (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108898373A (en) * | 2018-06-07 | 2018-11-27 | 安徽爱依特科技有限公司 | The method and system that penny bank combination mobile payment is saved |
| CN109660345A (en) * | 2019-01-17 | 2019-04-19 | 如般量子科技有限公司 | Anti- quantum calculation block chain method of commerce and system based on unsymmetrical key pool server |
| DE102019002731A1 (en) * | 2019-04-15 | 2020-10-15 | Giesecke+Devrient Gesellschaft mit beschränkter Haftung | Device for the direct transfer of electronic coin data sets to another device and payment system |
| CN110827146A (en) * | 2019-10-23 | 2020-02-21 | 支付宝(杭州)信息技术有限公司 | Method and device for executing digital currency transaction and electronic equipment |
| CN114529274B (en) * | 2020-11-05 | 2025-08-05 | 如般量子科技有限公司 | Digital currency-based sender offline quantum computing resistant transaction method and system |
| CN114529275B (en) * | 2020-11-05 | 2025-02-11 | 如般量子科技有限公司 | A digital currency quantum computing resistant transaction method and system with offline receiver |
| CN114445056B (en) * | 2020-11-06 | 2025-09-19 | 如般量子科技有限公司 | Digital currency anonymous double offline transaction method and system based on trusted intermediary |
| CN114493556B (en) * | 2020-11-10 | 2024-11-05 | 如般量子科技有限公司 | Anonymous digital currency transaction method with offline receiver based on ID cryptography |
| CN114529282B (en) * | 2020-11-23 | 2025-04-25 | 如般量子科技有限公司 | A payment method and system based on negative value digital currency |
| CN114549192B (en) * | 2020-11-26 | 2025-09-19 | 如般量子科技有限公司 | Mobile terminal digital currency transaction method free of installation of digital wallet |
| CN112633895B (en) * | 2021-01-05 | 2024-07-26 | 交通银行股份有限公司 | Risk control method and system for business digital currency transaction of network point on banking line |
| TWI781656B (en) * | 2021-06-16 | 2022-10-21 | 兆豐國際商業銀行股份有限公司 | A server and method for establishing digital currency account and performing digital currency transaction |
| CN114708082B (en) * | 2022-03-23 | 2024-06-28 | 四川新网银行股份有限公司 | System for commercial bank to access digital RMB business |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1073789A (en) * | 1991-11-15 | 1993-06-30 | 美商·花旗银行 | Electronic-monetary system |
| CN105096118A (en) * | 2015-08-21 | 2015-11-25 | 廖小谦 | Electronic currency transfer payment system and method |
| CN105164707A (en) * | 2012-09-15 | 2015-12-16 | 周海斌 | Facilitating mobile device payments using mobile payment account, mobile barcode and universal digital mobile currency |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002041783A (en) * | 2000-07-24 | 2002-02-08 | Kenichi Omae | Method for issuing electronic money, electronic money, electronic money issuing server, user terminal, and electronic money issuing system |
-
2016
- 2016-03-25 CN CN201610178902.3A patent/CN107230054B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1073789A (en) * | 1991-11-15 | 1993-06-30 | 美商·花旗银行 | Electronic-monetary system |
| CN105164707A (en) * | 2012-09-15 | 2015-12-16 | 周海斌 | Facilitating mobile device payments using mobile payment account, mobile barcode and universal digital mobile currency |
| CN105096118A (en) * | 2015-08-21 | 2015-11-25 | 廖小谦 | Electronic currency transfer payment system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107230054A (en) | 2017-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107230055B (en) | Method and system for paying digital currency | |
| CN107230070B (en) | Digital currency system | |
| CN107230079B (en) | Method and system for offline payment using digital currency chip card | |
| CN107230051B (en) | Payment method and payment system of digital currency | |
| CN107230054B (en) | Method and system for depositing digital currency into a deposit account | |
| CN107230049B (en) | Method and system for providing digital currency | |
| CN107230068B (en) | Method and system for paying digital currency using a visual digital currency chip card | |
| CN107230050B (en) | Method and system for digital currency payment based on visual digital currency chip card | |
| CN107230053B (en) | Method and system for exchanging digital currency by cash | |
| US11245513B2 (en) | System and method for authorizing transactions in an authorized member network | |
| CN107230077B (en) | Method for exchanging and paying digital currency and digital currency system | |
| CN107240010B (en) | Method and system for transferring digital currency to digital currency chip card | |
| CN116802661A (en) | Token-based out-of-chain interaction authorization | |
| CN107230076B (en) | Method and system for online payment of digital currency | |
| CN107230071B (en) | Method and system for exchanging digital currency for physical cash | |
| CN107230072B (en) | Method and system for online payment using digital currency chip card | |
| CN107230052B (en) | Method and system for digital currency payment using digital currency chip card | |
| WO2018040653A1 (en) | Nfc-based off-line payment method | |
| CN107392601A (en) | The application method and system of digital cash wallet | |
| CN107230078B (en) | Method and system for digital currency payment using visual digital currency chip card | |
| CN107230073B (en) | Method and system for paying digital currency between visual digital currency chip cards | |
| CN107392602A (en) | The method and system of enquiring digital currency wallet | |
| CN107230299B (en) | Method and system for bank storage of digital currency | |
| CN107230069B (en) | Method and system for paying digital currency using digital currency chip card | |
| CN107230074B (en) | Method and system for depositing digital currency into digital currency chip card |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20180511 Address after: 100070 Building 2, nuclear Road 5, Science City, Fengtai District, Beijing. Applicant after: Digital money Research Institute of the people's Bank of China Address before: 100070 nuclear road in Fengtai District Science City, Beijing City, No. 5 Applicant before: Inst. of Printing Science, Peolpe's Bank of China |
|
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |