One-time key anonymous dual offline transaction method and system based on digital currency

By employing a one-time key anonymous dual offline transaction method based on ID cryptography, and utilizing trusted intermediaries and commercial banks to confirm transactions, the problem of the inability to perform dual offline transactions in existing technologies is solved, thus achieving security and privacy protection for anonymous dual offline transactions.

CN114511306BActive Publication Date: 2024-11-05RUBAN QUANTUM TECH CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202011282353.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-17
Publication Date
2024-11-05
Estimated Expiration
2040-11-17

AI Technical Summary

Technical Problem

Existing technology cannot enable dual offline transactions. When users cannot communicate with their own server, they cannot verify the legitimacy of the transaction, thus preventing anonymous transactions.

Method used

The method employs a one-time key anonymity dual offline transaction based on ID cryptography. A key management server issues keys to the sender and receiver, a trusted intermediary enables close-range communication, and the transaction is completed offline. The transaction is subsequently confirmed by commercial banks and the central bank.

Benefits of technology

It enables anonymous offline transactions of digital currencies, protecting user privacy and making transactions more secure, especially in offline scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114511306B_ABST
    Figure CN114511306B_ABST
Patent Text Reader

Abstract

The present invention discloses a one-time key anonymous dual offline transaction method and system based on digital currency, the method comprising issuing a key based on ID cryptography to a payee and a payee through a key management server; using a communication method based on ID cryptography one-time key to realize close distance communication between a trusted intermediary and the payee and the payee; using a communication method to realize close distance communication between the payee and the payee, and completing offline transactions through a trusted intermediary in an offline state; and confirming transactions through commercial banks and central banks in an online state. Beneficial effects: The present invention can better protect the privacy information of users and make transactions (especially dual offline transactions) safer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of information technology, and in particular to a one-time key anonymous dual offline transaction method based on digital currency. Background Art

[0002] At present, with the rapid development of the times, digital currency payment methods are favored by more and more people. Digital currency payment tools (DC / EP, Digital Currency and Electronic Payment) as a digital alternative to cash banknotes are of great significance to building a cashless society.

[0003] Chinese patent number CN201911053809 discloses an anonymous transaction method and system based on digital currency. The problem with this patent is that it can only conduct online transactions, and the user's temporary identity can only be recognized by its own server before the subsequent transaction process can be carried out. When the user cannot communicate with its own server, the payee of this method cannot use the user's temporary identity to verify its digital signature for the transaction (in a digital signature based on a digital certificate, since the user needs to hide his true identity, it is impossible to provide a digital certificate containing his true identity, and it is impossible to prove the association between his temporary identity and his digital certificate, so it is impossible to use his digital certificate to verify his digital signature for the transaction; in a digital signature based on ID cryptography, since the user needs to hide his true identity, it is impossible to provide his true identity, and it is impossible to prove the association between his temporary identity and his true identity, so it is impossible to use his real identity to verify his digital signature for the transaction), so the payee cannot recognize the legitimacy of this transaction and complete the entire transaction process without receiving any identity credentials from the payee, that is: the problem with this patent method is that dual offline transactions cannot be performed. Dual offline transactions are transactions in which both the payee and the payee are offline. Summary of the invention

[0004] In view of the problems in the related art, the present invention proposes a one-time key anonymous dual offline transaction method and system based on digital currency to overcome the above-mentioned technical problems existing in the existing related technology.

[0005] To this end, the specific technical solution adopted by the present invention is as follows:

[0006] According to one aspect of the present invention, a one-time key anonymous dual offline transaction method based on digital currency is provided, the method comprising the following steps:

[0007] S1. Pre-preparation stage: The key management server issues keys based on ID cryptography to the payee and payee;

[0008] S2, preparation stage: using a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender and the receiver;

[0009] S3, dual offline transaction stage: use the communication method to achieve close communication between the sender and the receiver, and complete the offline transaction through a trusted intermediary in an offline state;

[0010] S4, online transaction stage: transactions are confirmed online by commercial banks and the central bank;

[0011] When the key management server corresponding to the trusted intermediary issues a one-time public and private key to the payee / payee, the one-time public key is calculated based on the one-time identity, and the corresponding one-time private key is calculated based on the one-time public key.

[0012] Furthermore, the communication method based on ID cryptography one-time key in S2 to achieve short-distance communication between the trusted intermediary and the payee and the payee includes the following steps:

[0013] S21. Use a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender;

[0014] S22. Use a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the payee.

[0015] Furthermore, the communication method based on ID cryptography one-time key in S21 to achieve short-distance communication between the trusted intermediary and the payee specifically includes the following steps:

[0016] S211, the trusted intermediary generates the first combination information and sends it to the payee, the payee obtains the identity of the trusted intermediary, and verifies whether the identity of the trusted intermediary is the same as the real identity of the trusted intermediary, and the payee verifies the first timestamp and signature. If the verification fails, the transaction fails, otherwise the payee recognizes the trusted intermediary as the owner of the real identity of the trusted intermediary;

[0017] S212. The payee generates a one-time anonymous identity for the payee, generates a second combination of information and sends it to the trusted intermediary. The trusted intermediary decrypts the second combination of information to obtain the real identity of the payee, and verifies the first timestamp and signature. If the verification fails, the transaction fails. Otherwise, the trusted intermediary recognizes the payee as the owner of the real identity of the payee. At the same time, the key management server of the trusted intermediary generates a one-time private key for the one-time anonymous identity of the payee, generates a third combination of information and sends it to the payee. The payee verifies the signature, and decrypts the third combination of information to obtain the system public key of the trusted intermediary and the one-time private key of the payee, and stores the system public key of the trusted intermediary and the one-time private key of the payee.

[0018] Furthermore, the communication method based on ID cryptography one-time key in S22 is used to realize the short-distance communication between the trusted intermediary and the payee, which specifically includes the following steps:

[0019] S221, the trusted intermediary generates fourth combined information and sends it to the payee, the payee obtains the identity of the trusted intermediary, and verifies whether the identity of the trusted intermediary is the same as the real identity of the trusted intermediary, and the payee verifies the second timestamp and signature. If the verification fails, the transaction fails, otherwise the payee recognizes the trusted intermediary as the owner of the real identity of the trusted intermediary;

[0020] S222. The payee generates a one-time anonymous identity for the payee, generates a fifth combination of information and sends it to the trusted intermediary. The trusted intermediary decrypts the fifth combination of information to obtain the real identity of the payee, and verifies the second timestamp and signature. If the verification fails, the transaction fails. Otherwise, the trusted intermediary recognizes the payee as the owner of the real identity of the payee. At the same time, the key management server of the trusted intermediary generates a one-time private key for the payee's one-time anonymous identity, generates a sixth combination of information and sends it to the payee. The payee verifies the signature, and decrypts the sixth combination of information to obtain the system public key of the trusted intermediary and the one-time private key of the payee, and stores the system public key of the trusted intermediary and the one-time private key of the payee.

[0021] Furthermore, the communication method used in S3 to achieve close distance communication between the payee and the payee, and completing the offline transaction through a trusted intermediary in an offline state includes the following steps:

[0022] S31, the payee generates seventh combination information and sends it to the payee;

[0023] S32, the payee receives and verifies the seventh combination of information, and if the verification is successful, generates first sending information and sends it to the payee's commercial bank, and generates ninth combination of information and sends it to the payee;

[0024] S33: The payee receives and verifies the ninth combination of information. If the verification is successful, the new fifth combination of information and the second sending information are stored.

[0025] Furthermore, in S32, the payee receives and verifies the seventh combination of information, generates first sending information and sends it to the payee's commercial bank if the verification is successful, and generates ninth combination of information and sends it to the payee, which specifically includes the following steps:

[0026] S321, the payee verifies the transaction time and signature in the seventh combination information. If the verification fails, the transaction fails. Otherwise, the payee recognizes the one-time anonymous identity of the payee as the payee, and the payee generates new second combination information and first sending information in sequence, and sends the first sending information to the payee's commercial bank;

[0027] S322, the payee combines the transaction time, the payee's one-time anonymous identity, the payee's one-time anonymous identity and the digital currency to obtain the eighth combination information, and generates the ninth combination information and sends it to the payee.

[0028] Furthermore, the ninth combination information generated in S322 is sent to the payee in a plain text manner or encrypted using the recipient's public key.

[0029] Furthermore, the payee receiving and verifying the ninth combination of information in S33, and storing the new fifth combination of information and the second sending information if the verification is successful, specifically includes the following steps:

[0030] S331, the payee verifies the transaction time and signature in the ninth combination of information. If the verification fails, the transaction fails. Otherwise, the payee generates new fifth combination of information.

[0031] S332. The payee combines the eighth combination information and the first sending information to obtain the second sending information, and stores the new fifth combination information and the second sending information. At the same time, the digital currency in the eighth combination information is taken out and stored, and marked as unconfirmed by the central bank.

[0032] Furthermore, the online confirmation of the transaction by the commercial bank and the central bank in S4 specifically includes the following steps:

[0033] S401, the payee performs identity authentication with the payee commercial bank and obtains a session key;

[0034] S402, the payee sends the new fifth combination information, the second sending information and the signature of the two to the payee's commercial bank;

[0035] S403, the payee's commercial bank verifies the signature and the new fifth combination of information. If the verification fails, the transaction fails. Otherwise, the payee's commercial bank confirms the payee's true identity and sends the second sending information and the payee's true identity to the central bank.

[0036] S404, the central bank stores the real identity of the payee and the eighth combination of information, and sends a second sending information to the payee's commercial bank;

[0037] S405, the commercial bank of the payee decrypts the first transmission information to obtain the new second combination information, and verifies the new second combination information. If the verification fails, the transaction fails. Otherwise, the commercial bank of the payee learns the real identity of the payee, and at the same time, the commercial bank of the payee combines the real identity of the payee, the one-time anonymous identity of the payee and the eighth combination information into a complete transaction entry and stores it. The commercial bank of the payee sends the transaction result and the real identity of the payee to the central bank.

[0038] S406, the central bank combines the real identity of the payee, the real identity of the payee and the eighth combination of information into a complete transaction entry, and sends the transaction result to the payee's commercial bank;

[0039] S407, the payee's commercial bank combines the payee's one-time anonymous identity, the payee's real identity and the eighth combination of information into a complete transaction entry, and sends the transaction result to the payee;

[0040] S408. The payee confirms that the transaction is successful, and deletes the stored new fifth combination information and the second sending information. At the same time, the digital currency in the stored eighth combination information is found and marked as confirmed by the central bank.

[0041] According to another aspect of the present invention, a one-time key anonymous dual offline transaction system based on digital currency is provided, the system comprises a central bank, a payee commercial bank, a payee commercial bank, a payee, a payee and a trusted intermediary, the payee corresponds to the payee commercial bank, the payee corresponds to the payee commercial bank, and the trusted intermediary communicates with the payee and the payee through short-distance communication;

[0042] Among them, the central bank has a key management server based on ID cryptography, and the trusted intermediary has a key management server. The trusted intermediary is a trusted infrastructure that does not have networking function. The trusted infrastructure includes but is not limited to digital currency ATMs, digital currency POS machines, and digital currency trading equipment held by trusted merchants.

[0043] The beneficial effects of the present invention are as follows: through the use of the present invention, anonymous dual offline transactions of digital currency can be realized, so that the payee and the payee can use a trusted intermediary to complete anonymous identity transactions in the dual offline transaction stage, and then use commercial banks and central banks to confirm the transactions in the online transaction stage. The payee can use the digital currency obtained in the offline transaction, and by setting a one-time anonymous identity for the payee and the payee, the user's privacy can be better protected. Compared with the prior art, the present invention can better realize anonymous dual offline transactions of digital currency through the use of ID cryptography and trusted intermediaries, thereby better protecting the user's privacy information and making transactions (especially dual offline transactions) safer. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 is a flow chart of a one-time key anonymous dual offline transaction method based on digital currency according to an embodiment of the present invention;

[0046] Figure 2 4 is a structural diagram of a one-time key anonymous dual offline transaction system based on digital currency according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0048] According to an embodiment of the present invention, a one-time key anonymous dual offline transaction method and system based on digital currency are provided.

[0049] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to one embodiment of the present invention, a one-time key anonymous dual offline transaction method based on digital currency is provided, and the method comprises the following steps:

[0050] S1. Pre-preparation stage: The key management server issues keys based on ID cryptography to the payee and payee;

[0051] S2, preparation stage: using a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender and the receiver;

[0052] The communication method based on ID cryptography one-time key in S2 is used to realize the short-distance communication between the trusted intermediary and the payee and the payee, and the following steps are included:

[0053] S21. Use a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender;

[0054] Among them, S211, M (trusted intermediary) sends MA=TA||IDM||SIGN(TA||IDM,SKM) (first combination information) to A (payee), A obtains M's ID from M's RFID, device body or screen, verifies whether it is the same as IDM (true identity of trusted intermediary), A verifies TA (first timestamp) and signature, if the verification fails, the transaction fails, otherwise A recognizes M as the owner of IDM;

[0055] S212, A generates its own anonymous identity IDA (one-time anonymous identity of the payee), which is preferably a true random number that is not repeated each time, that is, the identity is a one-time identity, and sends AM = TA||IDA||SIGN(TA||IDA,SKA)||ENC(IDA TRUE ,PKM) (second combined information) to M, M decrypts the real identity IDA TRUE (The real identity of the sender), verify TA and signature. If the verification fails, the transaction fails. Otherwise, M recognizes A as IDA TRUE Owner of, M's KMS M (Key management server) generates a private key SKA' for IDA, i.e., a one-time key, corresponding to the one-time identity IDA. (The generation process is PKA'=H(IDA), SKA'=SKMS M *PKA'), and send MA2=TA||ENC(PKMS M ||SKA',PKA TRUE )||SIGN(TA||ENC(PKMS M ||SKA',PKA TRUE ),SKM)(third combined information) to A, A verifies the signature and decrypts to obtain PKMS M ||SKA' and store;

[0056] S22. Using a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the payee;

[0057] Among them, S221, M (trusted intermediary) sends MB=TB||IDM||SIGN(TB||IDM,SKM) (fourth combination information) to B (payee), B obtains M's ID from M's RFID, device body or screen, verifies whether it is the same as IDM (trusted intermediary's real identity), B verifies TB (second timestamp) and signature, if the verification fails, the transaction fails, otherwise B recognizes M as the owner of IDM;

[0058] S222, B generates its own anonymous identity IDB (one-time anonymous identity of the payee), which is preferably a true random number that is not repeated each time, that is, the identity is a one-time identity, and sends BM=TB||IDB||SIGN(TB||IDB,SKB)||ENC(IDB TRUE ,PKM), (the fifth combined information) to M, M decrypts the real identity IDB TRUE (real identity of the payee), verify TB and signature, if verification fails, the transaction fails, otherwise M recognizes B as IDB TRUE Owner of, M's KMS M(Key management server) generates a private key SKB' for IDB, i.e., a one-time key, corresponding to the one-time identity IDB. (The generation process is PKB'=H(IDB), SKB'=SKMS M *PKB'), and send MB2 = TB || ENC (PKMS M ||SKB',PKB TRUE )||SIGN(TB||ENC(PKMS M ||SKB',PKB TRUE ),SKM)(sixth combined information) to B, B verifies the signature and decrypts to obtain PKMS M ||SKB' and store;

[0059] S3, dual offline transaction stage: use the communication method to achieve close communication between the sender and the receiver, and complete the offline transaction through a trusted intermediary in an offline state;

[0060] Among them, S31, B generates MBA=T||IDB||SIGN(T||IDB,SKB') (seventh combination information) and sends it to A;

[0061] S32, the payee receives and verifies the seventh combination of information, and if the verification is successful, generates first sending information and sends it to the payee's commercial bank, and generates ninth combination of information and sends it to the payee;

[0062] Among them, S321, A verifies T (transaction time) and signature. If the verification fails, the transaction fails. Otherwise, A recognizes IDB as the payee and generates AM'=TA||IDA||SIGN(TA||IDA,SKA)||IDA TRUE (new second combined information), data MAS sent to AS = ENC (AM', PKAS) (first sent information);

[0063] S322, A sends TX||MAS||SIGN(TX||MAS,SKA') (ninth combined information) to B (sent in plain text or encrypted with the recipient's public key); TX (eighth combined information) contains transaction time T, IDA, IDB, and digital currency;

[0064] S33, the payee receives and verifies the ninth combination of information, and if the verification is successful, stores the new fifth combination of information and the second sending information;

[0065] Among them, S331, B verifies T and the signature. If the verification fails, the transaction fails, otherwise the transaction continues, and B generates BM'=TB||IDB||SIGN(TB||IDB,SKB)||IDB TRUE (New fifth combination information);

[0066] S332, set MBtx (second transmission information) = TX||MAS, store BM'||MBtx, take out the digital currency in TX and store it, and mark it as unconfirmed by the central bank;

[0067] S4, online transaction stage: transactions are confirmed online by commercial banks and the central bank;

[0068] Among them, S401, B and BS (the payee commercial bank) perform identity authentication and obtain the session key;

[0069] S402, B sends BM'||MBtx||SIGN(BM'||MBtx,SKB) to BS;

[0070] S403, BS verifies the signature and BM'. If the verification fails, the transaction fails. Otherwise, the transaction continues. BS confirms B's true identity IDB TRUE , BS sends MBtx||IDB TRUE to S;

[0071] S404, S storage IDB TRUE ||TX, S sends MBtx to AS (recipient commercial bank);

[0072] S405, AS decrypts MAS to obtain AM', and then verifies AM'. If the verification fails, the transaction fails, otherwise the transaction continues, and AS learns A's real identity IDA TRUE ,AS stores IDA TRUE ||IDB||TX is a complete transaction entry, but the true identity of B is unknown. AS sends the transaction result RET||IDA TRUE to S, RET for success or failure;

[0073] S406, S storage IDA TRUE ||IDB TRUE ||TX is a complete transaction entry, that is, S knows the true identities of A and B, and S sends RET to BS;

[0074] S407, BS stores IDA||IDB TRUE ||TX is a complete transaction entry, but BS does not know the true identity of A, so it sends RET to B;

[0075] S408. B confirms that the transaction is successful, deletes the stored BM'||MBtx, and finds the digital currency in the stored TX, marking it as confirmed by the central bank, and it can be used normally later;

[0076] When the key management server corresponding to the trusted intermediary issues a one-time public and private key to the payee / payee, the one-time public key is calculated, and the corresponding one-time private key is calculated based on the one-time public key.

[0077] According to another aspect of the present invention, Figure 2 As shown, a one-time key anonymous dual offline transaction system based on digital currency is provided, which includes S (central bank), AS (sender's commercial bank), BS (receiver's commercial bank), A (sender), B (receiver) and M (trusted intermediary), wherein the sender corresponds to the sender's commercial bank, the receivable corresponds to the receivable's commercial bank, and the trusted intermediary communicates with the sender and the receivable through short-distance communication;

[0078] The central bank has a key management server KMS based on ID cryptography. KMS issues keys based on ID cryptography to all users. The trusted intermediary has a key management server KMS. M , the system public and private keys are SKMS M / PKMS M The trusted intermediary is a trusted infrastructure that does not have networking capabilities and does not store received certificates to prevent user information leakage. The trusted infrastructure includes but is not limited to digital currency ATMs, digital currency POS machines, and digital currency trading equipment held by trusted merchants.

[0079] In summary, with the aid of the above-mentioned technical scheme of the present invention, through the use of the present invention, anonymous dual offline transactions of digital currency can be realized, so that the payee and the payee can use a trusted intermediary to complete anonymous identity transactions in the dual offline transaction stage, and then use commercial banks and central banks to confirm the transaction in the online transaction stage. The payee can use the digital currency obtained in the offline transaction, and by setting a one-time anonymous identity for the payee and the payee, the user's privacy can be better protected. Compared with the prior art, the present invention can better realize anonymous dual offline transactions of digital currency through the use of ID cryptography and trusted intermediaries, thereby better protecting the user's privacy information and making transactions (especially dual offline transactions) safer.

[0080] 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.

[0081] 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 one-time key anonymous dual offline transaction method based on digital currency, characterized in that: The method comprises the following steps: S1. Pre-preparation stage: The key management server issues keys based on ID cryptography to the payee and payee; S2, preparation stage: using a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender and the receiver; S3, dual offline transaction stage: Use the communication method to achieve close communication between the sender and the payee, and complete the offline transaction through a trusted intermediary in an offline state. The dual offline transaction is a transaction in which both the sender and the payee are offline; S4, online transaction stage: transactions are confirmed online by commercial banks and the central bank; When the key management server corresponding to the trusted intermediary issues a one-time public and private key to the payee / payee, the one-time public key is calculated based on the one-time identity, and the corresponding one-time private key is calculated based on the one-time public key.

2. The one-time key anonymous dual offline transaction method based on digital currency according to claim 1 is characterized in that: The communication method based on ID cryptography one-time key in S2 is used to realize the close distance communication between the trusted intermediary and the payee and the payee, including the following steps: S21. Use a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the sender; S22. Use a communication method based on ID cryptography one-time key to achieve close distance communication between the trusted intermediary and the payee.

3. The one-time key anonymous dual offline transaction method based on digital currency according to claim 2 is characterized in that: The communication method based on ID cryptography one-time key in S21 is used to realize the short-distance communication between the trusted intermediary and the sender, which specifically includes the following steps: S211, the trusted intermediary generates the first combination information and sends it to the payee, the payee obtains the identity of the trusted intermediary, and verifies whether the identity of the trusted intermediary is the same as the real identity of the trusted intermediary, and the payee verifies the first timestamp and signature. If the verification fails, the transaction fails, otherwise the payee recognizes the trusted intermediary as the owner of the real identity of the trusted intermediary; S212. The payee generates a one-time anonymous identity for the payee, generates a second combination of information and sends it to the trusted intermediary. The trusted intermediary decrypts the second combination of information to obtain the real identity of the payee, and verifies the first timestamp and signature. If the verification fails, the transaction fails. Otherwise, the trusted intermediary recognizes the payee as the owner of the real identity of the payee. At the same time, the key management server of the trusted intermediary generates a one-time private key for the one-time anonymous identity of the payee, generates a third combination of information and sends it to the payee. The payee verifies the signature, and decrypts the third combination of information to obtain the system public key of the trusted intermediary and the one-time private key of the payee, and stores the system public key of the trusted intermediary and the one-time private key of the payee.

4. The one-time key anonymous dual offline transaction method based on digital currency according to claim 2 is characterized in that: The communication method based on ID cryptography one-time key in S22 is used to realize the short-distance communication between the trusted intermediary and the payee, which specifically includes the following steps: S221, the trusted intermediary generates fourth combined information and sends it to the payee, the payee obtains the identity of the trusted intermediary, and verifies whether the identity of the trusted intermediary is the same as the real identity of the trusted intermediary, and the payee verifies the second timestamp and signature. If the verification fails, the transaction fails, otherwise the payee recognizes the trusted intermediary as the owner of the real identity of the trusted intermediary; S222. The payee generates a one-time anonymous identity for the payee, generates a fifth combination of information and sends it to the trusted intermediary. The trusted intermediary decrypts the fifth combination of information to obtain the real identity of the payee, and verifies the second timestamp and signature. If the verification fails, the transaction fails. Otherwise, the trusted intermediary recognizes the payee as the owner of the real identity of the payee. At the same time, the key management server of the trusted intermediary generates a one-time private key for the payee's one-time anonymous identity, generates a sixth combination of information and sends it to the payee. The payee verifies the signature, and decrypts the sixth combination of information to obtain the system public key of the trusted intermediary and the one-time private key of the payee, and stores the system public key of the trusted intermediary and the one-time private key of the payee.

5. The one-time key anonymous dual offline transaction method based on digital currency according to claim 1 is characterized in that: In S3, a communication method is used to achieve close distance communication between the payee and the payee, and offline transactions are completed through a trusted intermediary in an offline state, including the following steps: S31, the payee generates seventh combination information and sends it to the payee; S32, the payee receives and verifies the seventh combination of information, and if the verification is successful, generates the first sending information and sends it to the payee's commercial bank, and generates the ninth combination of information and sends it to the payee; S33: The payee receives and verifies the ninth combination of information. If the verification is successful, the new fifth combination of information and the second sending information are stored.

6. The one-time key anonymous dual offline transaction method based on digital currency according to claim 5 is characterized in that: In S32, the payee receives and verifies the seventh combination of information, generates first sending information and sends it to the payee's commercial bank if the verification is successful, and generates ninth combination of information and sends it to the payee, which specifically includes the following steps: S321, the payee verifies the transaction time and signature in the seventh combination information. If the verification fails, the transaction fails. Otherwise, the payee recognizes the one-time anonymous identity of the payee as the payee, and the payee generates new second combination information and first sending information in sequence, and sends the first sending information to the payee's commercial bank; S322, the payee combines the transaction time, the payee's one-time anonymous identity, the payee's one-time anonymous identity and the digital currency to obtain the eighth combination information, and generates the ninth combination information and sends it to the payee.

7. The one-time key anonymous dual offline transaction method based on digital currency according to claim 6 is characterized in that: The ninth combination information generated in S322 is sent to the payee in plain text or encrypted using the recipient's public key.

8. The one-time key anonymous dual offline transaction method based on digital currency according to claim 5 is characterized in that: In the step S33, the payee receives and verifies the ninth combination of information, and if the verification is successful, stores the new fifth combination of information and the second sending information, which specifically includes the following steps: S331, the payee verifies the transaction time and signature in the ninth combination of information. If the verification fails, the transaction fails. Otherwise, the payee generates new fifth combination of information. S332. The payee combines the eighth combination information and the first sending information to obtain the second sending information, and stores the new fifth combination information and the second sending information. At the same time, the digital currency in the eighth combination information is taken out and stored, and marked as unconfirmed by the central bank.

9. According to the one-time key anonymous dual offline transaction method based on digital currency in claim 5, the transaction confirmation by the commercial bank and the central bank in the online state in S4 specifically comprises the following steps: S401, the payee performs identity authentication with the payee commercial bank and obtains a session key; S402, the payee sends the new fifth combination information, the second sending information and the signature of the two to the payee's commercial bank; S403, the payee's commercial bank verifies the signature and the new fifth combination of information. If the verification fails, the transaction fails. Otherwise, the payee's commercial bank confirms the payee's true identity and sends the second sending information and the payee's true identity to the central bank. S404, the central bank stores the real identity of the payee and the eighth combination of information, and sends a second sending information to the payee's commercial bank; S405, the commercial bank of the payee decrypts the first transmission information to obtain the new second combination information, and verifies the new second combination information. If the verification fails, the transaction fails. Otherwise, the commercial bank of the payee learns the real identity of the payee, and at the same time, the commercial bank of the payee combines the real identity of the payee, the one-time anonymous identity of the payee and the eighth combination information into a complete transaction entry and stores it. The commercial bank of the payee sends the transaction result and the real identity of the payee to the central bank. S406, the central bank combines the real identity of the payee, the real identity of the payee and the eighth combination of information into a complete transaction entry, and sends the transaction result to the payee's commercial bank; S407, the payee's commercial bank combines the payee's one-time anonymous identity, the payee's real identity and the eighth combination of information into a complete transaction entry, and sends the transaction result to the payee; S408. The payee confirms that the transaction is successful, and deletes the stored new fifth combination information and the second sending information. At the same time, the digital currency in the stored eighth combination information is found and marked as confirmed by the central bank.

10. A one-time key anonymous dual offline transaction system based on digital currency, used to implement the steps of the one-time key anonymous dual offline transaction method based on digital currency according to any one of claims 1 to 9, characterized in that: The system includes a central bank, a commercial bank of a payee, a payee commercial bank, a payee, a payee and a trusted intermediary, wherein the payee corresponds to the payee commercial bank, the payee corresponds to the payee commercial bank, and the trusted intermediary communicates with the payee and the payee through short-distance communication; Among them, the central bank has a key management server based on ID cryptography, and the trusted intermediary has a key management server. The trusted intermediary is a trusted infrastructure that does not have networking function. The trusted infrastructure includes but is not limited to digital currency ATMs, digital currency POS machines, and digital currency trading equipment held by trusted merchants.

Citation Information

Patent Citations

  • Devices, systems, and methods for facilitating low trust and zero trust value transfers

    CN106664292A

  • Anonymous transaction method and system based on digital currency

    CN110889681A

  • Digital currency double offline payment realization method, device and apparatus and storage medium

    CN111144862A

  • Credible transaction method and system based on digital currency

    CN111539720A

  • Digital currency double-offline payment method and payment system

    CN111899007A