Background
The British project proposed by the Central Bank of the United kingdom in 2015, which opened the history of CBDC (Central Bank Digital Currency). The uk proposes that if a digital legal bank is issued, the central bank will compete with the commercial bank for the deposit, making the commercial bank difficult. Especially at financial risk, people convert bank deposits into CBDC, so that the bank deposits are reduced to the extent that money cannot be produced in a loan manner. In 1 month 2020, the european central row issued a research report that CBDC release should be performed at the architecture of the central-bank. It can be said that, in the past 4 years, commercial banks were protected as much as possible all over the world, and it was considered that abandoning commercial banks was too much changed.
Digital dollar tokenization is designed to mean that digital dollars are digitized cash, but the system only authenticates tokens without identity, and tokens may be lost once the token password is lost. Therefore, digital dollars, while simplifying the transaction settlement and clearing process and facilitating portability, have the disadvantage of overly protecting privacy and weakening regulatory authority.
Therefore, the invention provides a digital legal currency processing method based on block chain token and account book double authentication, which can solve the problems in the tokenization of the digital legal currency.
Disclosure of Invention
The invention provides a digital legal currency processing method based on block chain token and account book double authentication, which can ensure the supervision of digital legal currency while optimizing the traditional payment process and improving the settlement efficiency.
The processing method provided by the invention comprises the following steps:
(1) the digital legal note system is built based on a block chain technology;
(2) when a user creates a digital legal account, the user identity needs to be confirmed and the uplink needs to be recorded, and meanwhile, a corresponding on-chain account book account is generated;
(3) recording the account identification of the user in the intelligent token contract, or performing one-to-one mapping on the account and the account in the token;
(4) the account book account and the token account of the user are stored on the block chain;
(5) when a transaction occurs, firstly, the identity of a transaction initiator is verified;
(6) inquiring corresponding account book accounts, intelligent scripture of the token and token accounts through user information, confirming that the balance in the account book accounts is consistent with the balance of the token accounts through on-chain inquiry and intelligent scripture inquiry, and ending the transaction if the balance is inconsistent;
(7) the balance is consistent, the transaction enters a token intelligent contract for processing, and the balance of the processed token account needs to be synchronized to the balance of the account book for storage;
(8) a system designer or a supervision unit can add a supervision mechanism in the ledger system.
The confirmation of the user identity in the step (2) includes, but is not limited to, user real-name authentication, KYC (Know your customer ), and the like.
In the step (3), if there are multiple intelligent contracts for tokens, the account book has a token account mapped in each token, that is, the same user corresponds to one account book account, but may correspond to token accounts of multiple different tokens.
The two accounts in the steps (2) and (3) are respectively an account book account and a token account, both of the accounts can be associated with the actual user, the token account can be inquired through the account book account, and the account book account can be inquired through the token account.
When the transaction is carried out in the step (5), the identity of the transaction initiator needs to be authenticated by using the cryptography means such as the password, the public and private key and the like when the corresponding account is inquired through the user information, so that the transaction initiator is ensured to be the user.
The supervision mechanism in the step (8) may be an intelligent contract engaged in supervision in a certain embodiment, and these supervision mechanisms may prevent the transaction from being completed, effectively complete anti-money laundering, and the like.
The invention can be used for processing digital legal currency and various digital currencies.
Because of the anonymity of the token smart contracts themselves, digital legal tokens based on tokens alone are difficult to supervise. The invention introduces an account book system, stores the actually existing user information into the account book for supervision, and maps the account book and the token, so that the digital legal note transaction can be under supervision, and the credit risk and the liquidity risk of the transaction are reduced. The digital legal currency system designed based on the invention is just convenient to settle, the token still represents cash, but the system designer or the supervisor can deploy various different supervision mechanisms on the system by adding the supervision of the account book.
When the digital legal currency has no credit risk, the transaction can be accelerated, a large amount of social cost is saved, and the currency liquidity is greatly improved. The currency flow is accelerated and the economic development is accelerated.
Detailed description of the preferred embodiments
In the following description, numerous technical details are set forth in order to provide a better understanding of the present application, but it will be apparent to those of ordinary skill in the art that the present invention is not limited to these technical details and that various changes and modifications can be made based on the following embodiments.
There are digital legal coin systems based on block chains, which are implemented using the method of the present invention. When a user A wants to buy the digital legal money, the user A needs to open an account on the system. And (3) after the user A confirms the identity, the account opening operation is completed, the user self-stores the account password and the account private key, and as shown in step 1 of FIG. 2, the account book account and the authentication information corresponding to the user A need to be linked and stored. In addition, the user A opens an account corresponding to the digital legal currency, namely, the user account is recorded in the digital legal currency contract through the execution of the intelligent contract, and the balance of the account corresponding to the account book is updated, at this moment, the user A does not perform digital legal currency transaction, the balance of the digital legal currency is 0, and the step 2 in the figure corresponds to. After the establishment of the related account is completed, the account book account of the user A can be inquired in a digital legal instrument system of the bank through the personal information of the user A, the balance of the digital legal instrument is 0, and the balance of the digital legal instrument is also 0 through the intelligent contract inquiry. When the user A purchases the digital legal instrument 500, the operation of the intelligent contract is triggered. As shown in step 3, before the contract is executed, firstly, the account balance of the user A is inquired to be 0 through the account book, and meanwhile, the account balance in the digital legal contract is also inquired to be 0, and the two are consistent, so that the transaction can be carried out. The digital legal instrument intelligent contract executes the operation of purchasing 500 in the account of the user A, the balance of the account of the user A in the intelligent contract is increased to 500, and the balance is updated to the account book account of the user A, namely step 4 in fig. 2. After the intelligent contract is executed and the chain is linked, the balance of the digital legal currency in the account book of the user A is 500, and the balance of the account book of the user A is also 500 in the data state of the intelligent contract.
The foregoing is directed to embodiments of the present invention, and it is understood that various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention.