Digital currency exchange method and system based on quantum communication
By establishing a quantum communication link during the digital currency exchange process and using quantum key encryption and identity code authentication, the problem of insufficient resistance to quantum computing by digital currency exchange is solved, and a safe and efficient digital currency exchange is achieved.
Patent Information
- Application Number
- CN202011050496.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-29
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-09-29
AI Technical Summary
The existing digital currency exchange methods have weak resistance to quantum computing. With the development of quantum computer technology, the security of the digital currency exchange process is facing a great threat.
By establishing a quantum communication link between the user side and the digital currency system of the commercial bank and the central bank's digital currency system, quantum key encryption and identity code authentication mechanisms are used to achieve quantum computing and identity hiding in the digital currency exchange process.
It effectively improves the security in the digital currency exchange process, prevents quantum computing attacks, and ensures the confidentiality and integrity of transactions.
Smart Images

Figure CN114331423B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital currency, and in particular to a digital currency exchange method and system based on quantum communication. Background Art
[0002] At present, the central bank's digital currency has begun to conduct small-scale internal tests in many regions of the country. It can be foreseen that the development of digital currency will surely set off a new round of financial revolution. Digital currency is highly convenient and easy to carry. In addition, digital currency has good traceability and can effectively prevent financial illegal activities such as money laundering. Digital currency will also be more conducive to the implementation of monetary policy. The central bank can embed the conditions for the currency to take effect in digital currency, so as to effectively ensure that digital currency flows to the target group. However, digital currency is extremely dependent on cryptographic technology. In the existing digital currency exchange method, digital currency needs to be transmitted multiple times. During the transmission process, cryptographic technology solutions such as digital certificate signatures are generally used to achieve confidential communication. However, the traditional cryptographic mechanism has weak resistance to quantum computing. With the development of quantum computer technology, the current cryptographic system will face greater instability, and the security of the digital currency exchange process will also face greater threats. Summary of the invention
[0003] Purpose of the invention: In order to overcome the defects of the prior art, the present invention proposes a digital currency exchange method and system based on quantum communication, which can realize quantum-resistant computing of digital currency in the entire exchange process.
[0004] Invention content: To achieve the above technical effects, the present invention proposes a digital currency exchange method based on quantum communication, comprising the following steps:
[0005] (1) Establishing quantum communication links between the user end and the corresponding commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system;
[0006] (2) Before the transaction, the user terminal registers identity information in the commercial bank digital currency system and obtains a unique identity code; the identity code contains the bank information of the commercial bank and the user identity information encrypted by the commercial bank digital currency system using the identity code key held by the commercial bank digital currency system;
[0007] (3) During a transaction, the user terminal establishes a session with the corresponding commercial bank digital currency system. The commercial bank digital currency system encrypts the user terminal's identity code with the session key as a call identifier. Then, the user terminal sends its own identity information and redemption request to the commercial bank digital currency system through the established session. The redemption request contains the identity code encrypted with the session key.
[0008] (4) The commercial bank digital currency system uses the session key to decrypt the encrypted identity code sent by the user, and then uses the identity code key to decrypt the identity information in the identity code, and then verifies whether the decrypted identity information is consistent with the locally stored identity information. If they are consistent, the authentication is passed;
[0009] Then, the commercial bank digital currency system determines whether the balance in the user's physical currency account of the bank is sufficient to exchange the digital currency that the user wants to exchange. If the balance in the physical currency account is sufficient, the digital currency exchange request, the encrypted identity code and the user's identity information are sent to the central bank digital currency system through the corresponding quantum communication link;
[0010] (5) The central bank’s digital currency system responds to the digital currency exchange request and generates digital currency with an anti-counterfeiting code; the anti-counterfeiting code is obtained by encrypting the digital currency ownership information and the hash value of the digital currency plain text code and ownership information using the anti-counterfeiting code key held by the central bank, and the ownership information includes the identity information of the digital currency holder;
[0011] After the central bank’s digital currency system generates digital currency, it will send the digital currency together with the encrypted identity code to the commercial bank’s digital currency system;
[0012] (6) After receiving the digital currency, the commercial bank digital currency system first verifies whether the digital currency is correct; after the verification is passed, it verifies whether the received encrypted identity code matches the session identifier of a currently valid session. If it matches, the digital currency is sent to the user end and the corresponding amount is deducted from the user end's physical currency account; if it does not match, the digital currency is not sent.
[0013] The present invention realizes anti-quantum computing of digital currency in each transmission process during the user's exchange of digital currency by building a quantum communication link between the user end and the corresponding commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system; in addition, the present invention designs an identity code authentication mechanism suitable for quantum communication links to replace the conventional digital certificate signature mechanism, and adds an anti-counterfeiting code based on quantum key encryption to the digital currency; through the above design, the present invention realizes anti-quantum computing and identity hiding in the entire process of digital currency exchange.
[0014] Several optional methods are also provided below, but they are not intended to be additional limitations on the above-mentioned overall solution, but are merely further supplements or preferences. Under the premise that there are no technical or logical contradictions, each optional method can be combined with the above-mentioned overall solution separately, and multiple optional methods can also be combined.
[0015] Optionally, the method also includes the following steps: after the transaction is completed, the user end feeds back the transaction completion information to the commercial bank digital currency system, and after the commercial bank digital currency system receives the transaction completion information, it saves the transaction record and feeds back the transaction completion information to the central bank digital currency system, and the central bank digital currency system saves the transaction record after receiving it.
[0016] Optionally, in addition to anti-counterfeiting, the digital currency also includes a currency value code, a bank code, an ownership code and a supplementary code. The currency value code is used to indicate the value of the digital currency, the bank code indicates the bank information of the digital currency, the ownership code indicates the account information of the user end that owns the digital currency, and the supplementary code is encoded by the central bank's digital currency system according to demand and is used to expand the information carried by the digital currency.
[0017] Optionally, both the commercial bank digital currency system and the central bank digital currency system are configured with QKD devices, and both parties conduct key negotiation through their respective QKD devices to achieve confidential communication.
[0018] Optionally, a plurality of relay nodes are further provided between the commercial bank digital currency system and the central bank digital currency system; the commercial bank digital currency system and the central bank digital currency system communicate confidentially in the following manner:
[0019] Take the commercial bank digital currency system / central bank digital currency system as the starting node, and the central bank digital currency system / commercial bank digital currency system as the target node; divide the n relay nodes between the starting node and the target node into odd nodes and even nodes: the relay node directly connected to the target node is taken as an odd node, and the adjacent relay node of this relay node is taken as an even node, and so on, until all relay nodes are divided; configure each relay node with its quantum key and its adjacent nodes; before the starting node sends data T to the target node, each odd node XORs the quantum key between itself and the two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and the two adjacent nodes and passes it to the target node; after receiving the key data transmitted by all odd nodes, the starting node uses its own quantum key to XOR the data T to be sent, and then XORs the calculation result with all the received key data to obtain the encrypted data, and finally sends the encrypted data to the target node through classical communication; after receiving the key data transmitted by all even nodes, the target node uses its own quantum key to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node.
[0020] Optionally, the user terminal is configured with a QKD device, and performs key negotiation with the corresponding commercial bank digital currency system through the respective QKD devices to obtain a shared quantum key.
[0021] Optionally, on the basis of configuring the QKD device at the user end, a number of relay nodes are further provided between the user end and the corresponding commercial bank digital currency system, and the user end and the corresponding commercial bank digital currency system communicate confidentially in the following manner:
[0022] The user end / commercial bank digital currency system is the starting node, and the commercial bank digital currency system / user end is the target node;
[0023] The n relay nodes between the starting node and the target node are divided into odd nodes and even nodes: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; each relay node is configured with the quantum key of the relay node and its adjacent nodes;
[0024] Before the starting node sends data T to the target node, each odd node XORs the quantum key between itself and the two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and the two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node uses its own quantum key to XOR the data T to be sent, then XORs the calculation result with all the received key data to obtain the encrypted data, and finally sends the encrypted data to the target node through classical communication. After receiving the key data transmitted by all even nodes, the target node uses its own quantum key to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node.
[0025] Optionally, the user terminal does not configure the QKD setting, but instead issues a symmetric key in advance with the corresponding commercial bank digital currency system through a trusted third-party key issuance center, and then the two parties achieve confidential communication based on the shared symmetric key.
[0026] Optionally, under the premise that the user terminal is not configured with QKD settings, multiple relay nodes are also provided between the user terminal and the corresponding commercial bank digital currency system; the user terminal and the corresponding commercial bank digital currency system use the following method to perform confidential communication:
[0027] The user end encrypts the message T to be sent with the quantum key K pre-shared with the quantum key management center, and then transmits the encrypted message to the commercial bank digital currency system through the classical channel;
[0028] Taking the quantum key management center as the starting node and the commercial bank digital currency system as the target node, the n relay nodes between the starting node and the target node are divided into odd nodes and even nodes: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; each relay node is configured with the quantum key of the adjacent node;
[0029] Each odd node XORs the quantum key between itself and its two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and its two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node XORs all the received key data with its own quantum key and the adjacent relay node to obtain the encryption key, encrypts the shared key K between itself and the user end with the encryption key, and then sends the encrypted data to the target node through classical communication.
[0030] After receiving the key data transmitted by all even nodes, the target node uses its own quantum key and the quantum key of the adjacent relay node to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node to obtain the key K;
[0031] The target node negotiates the quantum key K′ with the commercial bank digital currency system, and conducts confidential communication based on the negotiated quantum key K′, and passes the key K to the commercial bank digital currency system; the commercial bank digital currency system uses the key K to decrypt the encrypted data sent by the user end and obtains T.
[0032] The present invention also proposes a digital currency exchange system based on quantum communication, including: a user end, a commercial bank digital currency system, and a central bank digital currency system. The user end, the commercial bank digital currency system, and the central bank digital currency system exchange digital currencies according to the digital currency exchange method based on quantum communication.
[0033] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0034] 1. In this application, confidential information is transmitted between the user terminal and the commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system through quantum communication links, thereby realizing quantum-resistant computing of digital currency and transaction information during each transmission process during the digital currency exchange process; the present invention also designs an identity code authentication mechanism, so that the client can hide its identity and perform identity authentication with the commercial bank digital currency system through a quantum communication link; in addition, this application adds an anti-counterfeiting code to the digital currency, and sets up digital currency verification links in the commercial bank digital currency system and the central bank digital currency system respectively, thereby further ensuring the independence, integrity and security of the digital currency.
[0035] 2. This application also designs a key negotiation mechanism suitable for quantum communication links with relays, which can effectively reduce the security requirements for relay nodes in quantum communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flow chart of a digital currency exchange method based on quantum communication involved in Example 1;
[0037] Figure 2 This is a structural diagram of a digital currency exchange system based on quantum communication involved in Example 2;
[0038] Figure 3 This is a structural diagram of the digital currency exchange system based on quantum communication involved in Example 3. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. However, it should be understood that the present invention can be implemented in various forms, and some exemplary and non-limiting embodiments shown in the accompanying drawings and described below are not intended to limit the present invention to the specific embodiments described.
[0040] It should be understood that, where technically feasible, the technical features listed above for different embodiments can be combined with each other to form other embodiments within the scope of the present invention. In addition, the specific examples and embodiments described in the present invention are non-limiting, and the structures, steps, and sequences described above can be modified accordingly without departing from the scope of protection of the present invention.
[0041] The present invention aims to propose a digital currency exchange scheme that can realize quantum computing resistance in the entire digital currency exchange process. Based on this purpose, the present invention proposes a digital currency exchange method and system based on quantum communication. The following three embodiments are used to illustrate this in detail.
[0042] Embodiment 1:
[0043] This embodiment proposes a digital currency exchange method based on quantum communication. The process of the method is as follows: Figure 1 As shown, the following steps are included:
[0044] (1) Establishing quantum communication links between the user end and the corresponding commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system;
[0045] (2) Before the transaction, the user terminal registers identity information in the commercial bank digital currency system and obtains a unique identity code; the identity code contains the bank information of the commercial bank and the user identity information encrypted by the commercial bank digital currency system using the identity code key held by the commercial bank digital currency system;
[0046] (3) During a transaction, the user terminal establishes a session with the corresponding commercial bank digital currency system. The commercial bank digital currency system encrypts the user terminal's identity code with the session key as a call identifier. Then, the user terminal sends its own identity information and redemption request to the commercial bank digital currency system through the established session. The redemption request contains the identity code encrypted with the session key.
[0047] (4) The commercial bank digital currency system uses the session key to decrypt the encrypted identity code sent by the user, and then uses the identity code key to decrypt the identity information in the identity code, and then verifies whether the decrypted identity information is consistent with the locally stored identity information. If they are consistent, the authentication is passed;
[0048] Then, the commercial bank digital currency system determines whether the balance in the user's physical currency account of the bank is sufficient to exchange the digital currency that the user wants to exchange. If the balance in the physical currency account is sufficient, the digital currency exchange request, the encrypted identity code and the user's identity information are sent to the central bank digital currency system through the corresponding quantum communication link;
[0049] (5) The central bank’s digital currency system responds to the digital currency exchange request and generates digital currency with an anti-counterfeiting code; the anti-counterfeiting code is obtained by encrypting the digital currency ownership information and the hash value of the digital currency plain text code and ownership information using the anti-counterfeiting code key held by the central bank, and the ownership information includes the identity information of the digital currency holder;
[0050] After the central bank’s digital currency system generates digital currency, it will send the digital currency together with the encrypted identity code to the commercial bank’s digital currency system;
[0051] (6) After receiving the digital currency, the commercial bank digital currency system first verifies whether the digital currency is correct; after the verification is passed, it verifies whether the received encrypted identity code matches the session identifier of a currently valid session. If it matches, the digital currency is sent to the user end and the corresponding amount is deducted from the user end's physical currency account; if it does not match, the digital currency is not sent.
[0052] The principle of the above method is:
[0053] By building quantum communication links between the user end and the corresponding commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system, the digital currency can be resistant to quantum computing in each transmission process during the user's digital currency exchange process; in addition, the present invention designs an identity code authentication mechanism suitable for quantum communication links to replace the conventional digital certificate signature mechanism, and adds an anti-counterfeiting code based on quantum key encryption to the digital currency; through the above design, the present invention realizes anti-quantum computing and identity hiding in the entire process of digital currency transactions.
[0054] Embodiment 2:
[0055] This embodiment provides a system for implementing the above method, and its structure is as follows: Figure 2 As shown, it includes a user end, a commercial bank digital currency system and a central bank digital currency system. A quantum communication link is established between the user end and the commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system, and there is no relay in the quantum communication link. In this embodiment, the quantum communication link is realized by the following methods:
[0056] The commercial bank digital currency system and the central bank digital currency system are both equipped with QKD equipment or other quantum communication equipment, so the commercial bank digital currency system can negotiate keys with the central bank digital currency system and then communicate confidentially. The user end can configure QKD or not. If the user end is configured with QKD, the user end can directly negotiate keys with the commercial bank digital currency system to achieve confidential communication; if the user end is not configured with QKD, then the user end and the commercial bank digital currency system can directly pre-share symmetric keys to achieve confidential communication, for example, a symmetric key is issued by a trusted third-party key issuance center, and then both parties communicate confidentially through the symmetric key.
[0057] In this embodiment, the symmetric keys of the communicating parties can be obtained through real-time negotiation, or multiple symmetric keys can be negotiated in advance and stored, and then the stored symmetric keys are updated regularly.
[0058] In this embodiment, digital currency is represented as a binary digital string, including a currency value code, an anti-counterfeiting code, a bank code, and a supplementary code, wherein the currency value code is used to display the amount of digital currency; the anti-counterfeiting code is a string of encrypted information, which is obtained by encrypting the digital currency ownership information and the digital currency plain text code and the hash value of the ownership information with the anti-counterfeiting code key held by the central bank. The ownership information contains the identity information of the digital currency holder, and the decryption key of the anti-counterfeiting code is only stored in the central bank's digital currency system; the supplementary code can further expand the digital currency, such as setting the validity conditions of the digital currency, etc. In this embodiment, the user terminal is a communication terminal with a digital currency wallet software installed.
[0059] The workflow of the system in this embodiment is as follows:
[0060] During the transaction, the user establishes a session with the corresponding commercial bank digital currency system, and the commercial bank digital currency system encrypts the user's identity code with the session key as a call identifier; then, the user sends its own identity information and redemption request to the commercial bank digital currency system through the established session; the redemption request contains the identity code encrypted with the session key;
[0061] The commercial bank digital currency system uses the session key to decrypt the encrypted identity code sent by the user, and then uses the identity code key to decrypt the identity information in the identity code, and then verifies whether the decrypted identity information is consistent with the locally stored identity information. If they are consistent, the authentication is passed;
[0062] Then, the commercial bank digital currency system determines whether the balance in the user's physical currency account of the bank is sufficient to exchange the digital currency that the user wants to exchange. If the balance in the physical currency account is sufficient, the digital currency exchange request, the encrypted identity code and the user's identity information are sent to the central bank digital currency system through the corresponding quantum communication link;
[0063] The central bank’s digital currency system responds to digital currency exchange requests, generates digital currency with an anti-counterfeiting code, and sends the digital currency together with the encrypted identity code to the commercial bank’s digital currency system;
[0064] After receiving the digital currency, the commercial bank's digital currency system will first verify whether the digital currency is correct; after the verification is passed, it will verify whether the received encrypted identity code matches the session identifier of a currently valid session. If it matches, the digital currency will be sent to the user end and the corresponding amount will be deducted from the user's physical currency account; if it does not match, the digital currency will not be sent.
[0065] After the transaction is completed, the user end will feedback the transaction completion information to the commercial bank digital currency system. After receiving the transaction completion information, the commercial bank digital currency system will save the transaction record and feedback the transaction completion information to the central bank digital currency system. After receiving it, the central bank digital currency system will save the transaction record.
[0066] Embodiment 3:
[0067] This embodiment provides another system for implementing the above method, and its structure is as follows: Figure 3 As shown, including the user end, the commercial bank digital currency system and the central bank digital currency system, quantum communication links are established between the user end and the commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system, and there are relays in the quantum communication links, and the relays are all configured with QKD.
[0068] Both the commercial bank digital currency system and the central bank digital currency system are equipped with QKD equipment or other quantum communication equipment, so the commercial bank digital currency system can negotiate keys with the central bank digital currency system and then communicate confidentially. The user end can configure QKD or not.
[0069] If the user end is configured with QKD, it can directly negotiate keys with the commercial bank digital currency system through the relay. For example, if there is only one relay - the quantum key management center, after the session between the user end and the commercial bank digital currency system is established, each time a message is sent, the confidential communication process is as follows:
[0070] The user end first shares the quantum key with the quantum key management center. The user end encrypts the identity code to the commercial bank digital currency system through the quantum key K1 shared with the quantum key management center. The quantum key management center sends the shared quantum key K1 of the user end to the commercial bank digital currency system through the quantum channel, and the commercial bank digital currency system can obtain the encrypted information sent by the user end; the steps for the commercial bank digital currency system to send confidential information to the user end are: the commercial bank digital currency system and the quantum key management center conduct quantum communication to negotiate the quantum key K2, and then the commercial bank digital currency system encrypts the information with the key K2 and sends it to the user end. The quantum key management center uses the shared quantum key K3 with the user end (based on the principle of one-time pad, in this communication, the shared key between the quantum key management center and the user end is replaced with K3) to send the above quantum key K2 to the user end, and the user end can obtain the encrypted information sent by the commercial bank digital currency system.
[0071] If there are multiple relays between the quantum key management center and the commercial bank digital currency system, the confidential communication process between the user terminal and the commercial bank digital currency system under the established session is as follows:
[0072] Assume that the user terminal and the quantum key management center share the quantum key in advance, and assume that the shared quantum key used in this communication is K.
[0073] The user end encrypts the message T to be sent with K, and then transmits the encrypted message to the commercial bank digital currency system through the classic channel;
[0074] Taking the quantum key management center as the starting node and the commercial bank digital currency system as the target node, the n relay nodes between the starting node and the target node are divided into odd nodes and even nodes. The division rule is: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; among these n relay nodes, the relay node directly connected to the target node can be numbered as B1, and then numbered sequentially toward the starting node. The next relay node connected to the relay node B1 is numbered B2, and the next relay node connected to the relay node B2 is numbered B3..., and the relay node directly connected to the starting node is numbered Bn, then B1, B3, B5... are odd nodes, and the rest are even nodes.
[0075] Configure each relay node with its quantum key for the adjacent nodes. The quantum keys between adjacent nodes may be pre-stored in each node, or may be obtained by real-time negotiation between each node before communicating with the adjacent node according to a preset key negotiation method. The negotiation method may include various methods, such as the quantum keys between adjacent nodes are negotiated based on the BB84 protocol, or the quantum keys between adjacent nodes are negotiated using the BB84 protocol based on the decoyed state.
[0076] Each odd node XORs the quantum key between itself and its two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and its two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node XORs all the received key data with its own quantum key and the adjacent relay node to obtain the encryption key, encrypts the shared key K between itself and the user end with the encryption key, and then sends the encrypted data to the target node through classical communication.
[0077] After receiving the key data transmitted by all even nodes, the target node uses its own quantum key and the quantum key of the adjacent relay node to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node to obtain the key K;
[0078] The target node negotiates the quantum key K′ with the commercial bank digital currency system, and conducts confidential communication based on the negotiated quantum key K′, and passes the key K to the commercial bank digital currency system; the commercial bank digital currency system uses the key K to decrypt the encrypted data sent by the user end and obtains T.
[0079] If a relay connection is used between the commercial bank digital currency system and the central bank digital currency system, the above method can also be used.
[0080] In this embodiment, digital currency is represented as a binary digital string, including a currency value code, an anti-counterfeiting code, a bank code, and a supplementary code, wherein the currency value code is used to display the amount of digital currency; the anti-counterfeiting code is a string of encrypted information, which is obtained by encrypting the digital currency ownership information and the digital currency plain text code and the hash value of the ownership information with the anti-counterfeiting code key held by the central bank. The ownership information contains the identity information of the digital currency holder, and the decryption key of the anti-counterfeiting code is only stored in the central bank's digital currency system; the supplementary code can further expand the digital currency, such as setting the validity conditions of the digital currency, etc. In this embodiment, the user terminal is a communication terminal with a digital currency wallet software installed.
[0081] The workflow of the system in this embodiment is as follows:
[0082] When the user needs to exchange digital currency, the user establishes a session with the corresponding commercial bank digital currency system, and the commercial bank digital currency system encrypts the user's identity code with the session key as a call identifier; then, the user sends its own identity information and exchange request to the commercial bank digital currency system through the established session; the exchange request contains the identity code encrypted with the session key;
[0083] The commercial bank digital currency system uses the session key to decrypt the encrypted identity code sent by the user, and then uses the identity code key to decrypt the identity information in the identity code, and then verifies whether the decrypted identity information is consistent with the locally stored identity information. If they are consistent, the authentication is passed;
[0084] Then, the commercial bank digital currency system determines whether the balance in the user's physical currency account of the bank is sufficient to exchange the digital currency that the user wants to exchange. If the balance in the physical currency account is sufficient, the digital currency exchange request, the encrypted identity code and the user's identity information are sent to the central bank digital currency system through the corresponding quantum communication link;
[0085] The central bank’s digital currency system responds to digital currency exchange requests, generates digital currency with an anti-counterfeiting code, and sends the digital currency together with the encrypted identity code to the commercial bank’s digital currency system;
[0086] After receiving the digital currency, the commercial bank's digital currency system will first verify whether the digital currency is correct; after the verification is passed, it will verify whether the received encrypted identity code matches the session identifier of a currently valid session. If it matches, the digital currency will be sent to the user end and the corresponding amount will be deducted from the user's physical currency account; if it does not match, the digital currency will not be sent.
[0087] After the transaction is completed, the user end will feedback the transaction completion information to the commercial bank digital currency system. After receiving the transaction completion information, the commercial bank digital currency system will save the transaction record and feedback the transaction completion information to the central bank digital currency system. After receiving it, the central bank digital currency system will save the transaction record.
[0088] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0089] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A digital currency exchange method based on quantum communication, It is characterized in that The following steps are involved: (1) Establishing quantum communication links between the user end and the corresponding commercial bank digital currency system, and between the commercial bank digital currency system and the central bank digital currency system; (2) Before the transaction, the user terminal registers identity information in the commercial bank digital currency system and obtains a unique identity code; the identity code contains the bank information of the commercial bank and the user identity information encrypted by the commercial bank digital currency system using the identity code key held by the commercial bank digital currency system; (3) During a transaction, the user terminal establishes a session with the corresponding commercial bank digital currency system. The commercial bank digital currency system encrypts the user terminal's identity code with the session key as a call identifier. Then, the user terminal sends its own identity information and redemption request to the commercial bank digital currency system through the established session. The redemption request contains the identity code encrypted with the session key. (4) The commercial bank digital currency system uses the session key to decrypt the encrypted identity code sent by the user, and then uses the identity code key to decrypt the identity information in the identity code, and then verifies whether the decrypted identity information is consistent with the locally stored identity information. If they are consistent, the authentication is passed; Then, the commercial bank digital currency system determines whether the balance in the user's physical currency account of the bank is sufficient to exchange the digital currency that the user wants to exchange. If the balance in the physical currency account is sufficient, the digital currency exchange request, the encrypted identity code and the user's identity information are sent to the central bank digital currency system through the corresponding quantum communication link; (5) The central bank’s digital currency system responds to the digital currency exchange request and generates digital currency with an anti-counterfeiting code; the anti-counterfeiting code is obtained by encrypting the digital currency ownership information and the hash value of the digital currency plain text code and ownership information using the anti-counterfeiting code key held by the central bank, and the ownership information includes the identity information of the digital currency holder; After the central bank’s digital currency system generates digital currency, it will send the digital currency together with the encrypted identity code to the commercial bank’s digital currency system; (6) After receiving the digital currency, the commercial bank digital currency system first verifies whether the digital currency is correct; after the verification is passed, it verifies whether the received encrypted identity code matches the session identifier of a currently valid session. If they match, the digital currency is sent to the user end and the corresponding amount is deducted from the user end's physical currency account; If there is no match, no digital currency will be sent.
2. According to claim 1, a digital currency exchange method based on quantum communication, It is characterized in that It also includes the following steps: after the transaction is completed, the user end feeds back the transaction completion information to the commercial bank digital currency system. After receiving the transaction completion information, the commercial bank digital currency system saves the transaction record and feeds back the transaction completion information to the central bank digital currency system. After receiving the information, the central bank digital currency system saves the transaction record.
3. According to claim 1, a digital currency exchange method based on quantum communication, It is characterized in that In addition to anti-counterfeiting, the digital currency also includes a currency value code, a bank code, and a supplementary code. The currency value code is used to indicate the value of the digital currency, the bank code indicates the bank information of the digital currency, and the supplementary code is encoded by the central bank's digital currency system according to demand and is used to expand the information carried by the digital currency.
4. According to claim 1, a digital currency exchange method based on quantum communication, It is characterized in that The commercial bank digital currency system and the central bank digital currency system are both equipped with QKD devices. The two parties conduct key negotiation through their respective QKD devices to achieve confidential communication.
5. According to claim 4, a digital currency exchange method based on quantum communication, It is characterized in that Several relay nodes are also set between the commercial bank digital currency system and the central bank digital currency system; The commercial bank digital currency system and the central bank digital currency system use the following methods for confidential communication: The commercial bank digital currency system / central bank digital currency system is the starting node, and the central bank digital currency system / commercial bank digital currency system is the target node; Divide the n relay nodes between the starting node and the target node into odd nodes and even nodes: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; Configure each relay node with its quantum key and that of its neighboring nodes; Before the starting node sends data T to the target node, each odd node XORs the quantum key between itself and the two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and the two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node uses its own quantum key to XOR the data T to be sent, then XORs the calculation result with all the received key data to obtain the encrypted data, and finally sends the encrypted data to the target node through classical communication. After receiving the key data transmitted by all even nodes, the target node uses its own quantum key to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node.
6. A digital currency exchange method based on quantum communication according to claim 4, It is characterized in that The user end is configured with a QKD device, and performs key negotiation with the corresponding commercial bank digital currency system through respective QKD devices to obtain a shared quantum key.
7. A digital currency exchange method based on quantum communication according to claim 6, It is characterized in that There are also several relay nodes between the user terminal and the corresponding commercial bank digital currency system, and the user terminal and the corresponding commercial bank digital currency system use the following method to perform confidential communication: The user end / commercial bank digital currency system is the starting node, and the commercial bank digital currency system / user end is the target node; Divide the n relay nodes between the starting node and the target node into odd nodes and even nodes: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; Configure each relay node with its quantum key and that of its neighboring nodes; Before the starting node sends data T to the target node, each odd node XORs the quantum key between itself and the two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and the two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node uses its own quantum key to XOR the data T to be sent, then XORs the calculation result with all the received key data to obtain the encrypted data, and finally sends the encrypted data to the target node through classical communication. After receiving the key data transmitted by all even nodes, the target node uses its own quantum key to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node.
8. A digital currency exchange method based on quantum communication according to claim 4, It is characterized in that The user end does not configure the QKD setting, but instead issues a symmetric key in advance with the corresponding commercial bank digital currency system through a trusted third-party key issuance center, and then the two parties achieve confidential communication based on the shared symmetric key.
9. A digital currency exchange method based on quantum communication according to claim 8, It is characterized in that There are also multiple relay nodes between the user terminal and the corresponding commercial bank digital currency system; the user terminal and the corresponding commercial bank digital currency system use the following method to perform confidential communication: The user end encrypts the message T to be sent with the quantum key K pre-shared with the quantum key management center, and then transmits the encrypted message to the commercial bank digital currency system through the classical channel; Taking the quantum key management center as the starting node and the commercial bank digital currency system as the target node, the n relay nodes between the starting node and the target node are divided into odd nodes and even nodes: the relay node directly connected to the target node is regarded as an odd node, and the adjacent relay node of this relay node is regarded as an even node, and so on, until all relay nodes are divided; Configure each relay node with its quantum key and that of its neighboring nodes; Each odd node XORs the quantum key between itself and its two adjacent nodes and passes it to the starting node. At the same time, each even node XORs the quantum key between itself and its two adjacent nodes and passes it to the target node. After receiving the key data transmitted by all odd nodes, the starting node XORs all the received key data with its own quantum key and the adjacent relay node to obtain the encryption key, encrypts the shared key K between itself and the user end with the encryption key, and then sends the encrypted data to the target node through classical communication. After receiving the key data transmitted by all even nodes, the target node uses its own quantum key and the quantum key of the adjacent relay node to XOR all the received key data to obtain the decryption key, and uses the decryption key to decrypt the encrypted data from the starting node to obtain the key K; The target node negotiates the quantum key K′ with the commercial bank digital currency system, and performs confidential communication based on the negotiated quantum key K′, passing the key K to the commercial bank digital currency system; The commercial bank digital currency system uses the key K to decrypt the encrypted data sent by the user and obtains T.
10. A digital currency exchange system based on quantum communication, It is characterized in that include: The user end, the commercial bank digital currency system, the central bank digital currency system, the user end, the commercial bank digital currency system and the central bank digital currency system exchange digital currencies according to the method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Model, device, system, and method based on code chain, and application
CN109754256A
Blockchain system and method for issuing virtual currency with transaction information as a unique standard
CN109919605A
Quantum cash system and quantum cash apparatus
CN1820278A
Quantum-safe payment system
GB202011371D0
Silicon photonics based module for storing cryptocurrency and executing peer-to-peer transaction
US20190108161A1
