An electronic payment method and system based on quantum group signature

By adopting a design based on local indistinguishable orthogonal product states (X-LIOP states) and quantum group signatures in the electronic payment agreement, the problems of difficult preparation and insufficient security in the existing technology are solved, ensuring the buyer's Anonymity and security enable an efficient electronic payment process.

CN116385000BActive Publication Date: 2024-10-18SHANDONG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310441560.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-23
Publication Date
2024-10-18
Estimated Expiration
2043-04-23

AI Technical Summary

Technical Problem

Existing electronic payment protocols based on quantum entangled states have deficiencies in preparation difficulties and security, and the product purchase information in Lin et al.'s three-particle X-LIOP state protocol may be forged, and the buyer's anonymity and anonymity cannot be effectively guaranteed. Security.

Method used

Using a design based on local indistinguishable orthogonal direct product states (X-LIOP states) and quantum group signatures, it generates random bit strings and shared functions for signature and encryption, encodes product purchase information into quantum sequences, and uses decoy particles for transformation and eavesdropping detection to ensure the secure transmission and verification of information.

Benefits of technology

While ensuring efficiency and security, it ensures the anonymity of buyers and improves the security of the protocol, avoiding the forgery of product purchase information and achieving an easier and more efficient electronic payment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116385000B_ABST
    Figure CN116385000B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of electronic payment protocols, and discloses an electronic payment method and system based on quantum group signature. A first parameter is used to sign a payment amount, and the payment amount and the signature of the payment amount are encrypted to obtain a first ciphertext. After encoding commodity purchase information into a quantum sequence composed of X-LIOP states, the sequence is divided into a plurality of subsequences, and a plurality of subsequences are transformed. The untransformed subsequence and the transformed subsequence inserted with different first decoy particles are sent to a third party together with the first ciphertext, so that the third party decrypts the first ciphertext, performs data interaction and verification with a buyer and a seller, and notifies the seller to send the commodity to the third party after the verification is passed. While ensuring efficiency and security, the anonymity of the buyer is also guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic payment protocols, and in particular to an electronic payment method and system based on quantum group signature. Background Art

[0002] The statements in this section merely mention background art related to the present invention and do not necessarily constitute prior art.

[0003] With the rapid development of the Internet, electronic payment has gradually become a frequently used payment method in people's daily lives. The application of electronic payment has brought great convenience to people. Therefore, it is very important to ensure the security of electronic payment. At present, some scholars have proposed electronic payment protocols based on various signature technologies. However, with the emergence of quantum computers and some quantum algorithms, these traditional electronic payment protocols may become unsafe under quantum attacks.

[0004] In order to resist quantum attacks, scholars have proposed many electronic payment protocols based on quantum signatures. In 2010, Wen et al. proposed an electronic payment protocol based on quantum group signature (An E-payment system based on quantum group signature) in the journal Physica Scripta, in which the buyer's anonymity and the internal structure of the buyer group are protected; in 2013, Wen et al. proposed an inter-bank electronic payment protocol based on quantum proxy blind signature (An inter-bank E-payment protocol based on quantum proxy blind signature) in the journal Quantum information.

[0005] Subsequently, many electronic payment protocols based on quantum entanglement were proposed, such as the A third-party e-payment protocol based on quantum group blind signature proposed by Zhang et al. in the International Journal of Theoretical Physics in 2017 and the Amulti-bank E-payment protocol based on quantum proxy blind signature proposed in 2019.

[0006] However, the preparation of entangled states is difficult, so some scholars have proposed electronic payment protocols that are not based on quantum entangled states. In 2018, Guo et al. proposed a trusted third-party e-payment protocol based on quantum blind signature without entanglement in the International Journal of Theoretical Physics, which applies the quantum Z gate to a single quantum bit.

[0007] In 2021, Gou et al. believed that there were security vulnerabilities in Guo et al.'s protocol, and some of the keys in the protocol would be exposed. Based on Guo et al.'s protocol, Gou et al. used hash functions to design an improved E-payment protocol based on quantum blind signature without entanglement in the journal Modern Physics Letters A; in 2020, Jiang et al. proposed a trusted third-party E-payment protocol based on locally indistinguishable orthogonal product states in the journal International Journal of Theoretical Physics. The particles in the X-LIOP state are orthogonal direct product particles. Compared with the previous electronic payment protocol based on quantum entangled states, particles in orthogonal direct product states are easier to prepare than particles in entangled states, so Jiang et al.'s protocol is easier to implement.

[0008] Then, in 2021, Lin et al. proposed a new quantum payment protocol based on a set of local indistinguishable orthogonal productstates in the International Journal of Theoretical Physics. Compared with Jiang et al.'s protocol, Lin et al.'s protocol requires fewer particles to be transmitted and is more efficient. However, the purchase information of goods in Lin et al.'s protocol can be forged by the seller. Summary of the invention

[0009] In order to solve the shortcomings of the prior art, the present invention provides an electronic payment method and system based on quantum group signature, which ensures the anonymity of buyers while ensuring efficiency and security.

[0010] In a first aspect, the present invention provides an electronic payment method based on quantum group signature;

[0011] An electronic payment method based on quantum group signature, applied to a buyer in a buyer group, comprising:

[0012] generating a first random bit string and a second random bit string;

[0013] The first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed by the identity code, the second parameter and the second random bit string;

[0014] Sending the untransformed subsequence and the transformed subsequence inserted with different first decoy particles together with the first ciphertext to a third party, so that the third party can decrypt the first ciphertext, interact with and verify data with the buyer and the seller, and notify the seller to send the goods to the third party after the verification is passed;

[0015] Among them, after the third party receives the goods, it encrypts the signed payment amount, the payment amount and the first random bit string and sends them to the buyer group agent bank; after the buyer group agent bank decrypts, it verifies the signature of the payment amount based on the payment amount, the first random bit string and the shared function. After the verification, the buyer group agent bank transfers the money to the third party, and then the third party transfers the money to the seller's agent bank and ships the goods to the buyer.

[0016] Further, the third party shares a key with each buyer in the buyer group;

[0017] Alternatively, the third party shares a key with the seller;

[0018] Alternatively, the third party shares a bit key with the buyer group agent bank.

[0019] Furthermore, the steps of data interaction and verification include:

[0020] The third party performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the first decoy particle according to the position and state of the first decoy particle published by the buyer. If the error rate is lower than the limit value, the information sent by the buyer is decrypted and restored to obtain the payment amount, the first random bit string, the second random bit string, and the untransformed subsequence and the transformed subsequence;

[0021] The third party encrypts the combination of the identity code and the second random bit string, the payment amount and the first random bit string to obtain a second ciphertext, and sends the untransformed subsequence and the transformed subsequence inserted with different second decoy particles to the seller together with the second ciphertext.

[0022] Furthermore, the data interaction and verification step also includes:

[0023] The seller performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the second decoy particle according to the position and state of the second decoy particle published by the third party. If the error rate is lower than the limit value, the seller decrypts and recovers the information sent by the third party to obtain the combination of the identity code and the second random bit string, the payment amount, the first random bit string, and the transformed subsequence and the transformed subsequence;

[0024] The seller restores the transformed subsequence and forms a quantum sequence together with the untransformed subsequence, thereby obtaining the commodity purchase information restored by the seller, encrypting the commodity purchase information restored by the seller with the second parameter to obtain a third ciphertext, and sending it to a third party.

[0025] Furthermore, the data interaction and verification step also includes:

[0026] The third party decrypts the third ciphertext to obtain the product purchase information and the second parameter restored by the seller, and based on the product purchase information and the second parameter restored by the seller, restores the transformed subsequence and forms a quantum sequence with the untransformed subsequence, thereby obtaining the product purchase information restored by the third party;

[0027] The third party compares whether the product purchase information restored by the third party is consistent with the product purchase information restored by the seller. If they are consistent, the third party notifies the seller to send the product to itself.

[0028] In a second aspect, the present invention provides an electronic payment method based on quantum group signature;

[0029] An electronic payment method based on quantum group signature, applied to a third party, including:

[0030] After receiving the first ciphertext sent by a buyer in the buyer group, the untransformed subsequence and the transformed subsequence inserted with different first decoy particles, data interaction and verification are performed with the buyer and the seller respectively, and the first ciphertext is decrypted to obtain the signed payment amount, the payment amount and the first random bit string, and after the verification is passed, the seller is notified to send the goods to itself;

[0031] After receiving the goods sent by the seller, the signed payment amount, the payment amount and the first random bit string are encrypted and sent to the buyer group agent bank, so that the buyer group agent bank can verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function after decryption, and after the verification is passed, the buyer group agent bank transfers the money to the third party;

[0032] After receiving the transfer from the buyer group's agent bank, it will transfer the money to the seller's agent bank and ship the goods to the buyer;

[0033] Among them, a buyer in the buyer group generates a first random bit string and a second random bit string; the first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed through the identity code, the second parameter and the second random bit string.

[0034] In a third aspect, the present invention provides an electronic payment method based on quantum group signature;

[0035] An electronic payment method based on quantum group signature, comprising:

[0036] A buyer in the buyer group generates a first random bit string and a second random bit string; a first parameter is obtained by combining the first random bit string, a shared function between the buyer group and its agent bank; a second parameter is obtained by combining the first random bit string, a shared function between the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and several of the subsequences are transformed by using the identity code, the second parameter and the second random bit string; the untransformed subsequence and the transformed subsequence into which different first decoy particles are inserted are sent to a third party together with the first ciphertext;

[0037] After receiving the first ciphertext, the untransformed subsequence and the transformed subsequence with different first decoy particles inserted, the third party interacts with the buyer and the seller for data exchange and verification respectively, decrypts the first ciphertext, and after passing the verification, notifies the seller to send the goods to itself; after receiving the goods sent by the seller, encrypts the signed payment amount, the payment amount and the first random bit string and sends them to the buyer group agent bank;

[0038] After decryption, the buyer group agent bank verifies the signature of the payment amount based on the payment amount, the first random bit string and the shared function. After the verification, the buyer group agent bank transfers the money to the third party, so that the third party transfers the money to the seller agent bank and ships the goods to the buyer.

[0039] In a fourth aspect, the present invention provides an electronic payment system based on quantum group signature;

[0040] An electronic payment system based on quantum group signature, comprising a seller, a seller agent bank, a third party, a buyer group agent bank and a buyer in the buyer group;

[0041] A buyer in the buyer group is used to generate a first random bit string and a second random bit string; a first parameter is obtained by combining the first random bit string, a shared function between the buyer group and its agent bank; a second parameter is obtained by combining the first random bit string, a shared function between the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into a plurality of subsequences, and a plurality of the subsequences are transformed by using the identity code, the second parameter and the second random bit string; the untransformed subsequence and the transformed subsequence into which different first decoy particles are inserted are sent to a third party together with the first ciphertext;

[0042] The third party is used to, after receiving the first ciphertext, the untransformed subsequence and the transformed subsequence inserted with different first decoy particles, respectively interact and verify data with the buyer and the seller, decrypt the first ciphertext, and after passing the verification, notify the seller to send the goods to itself; after receiving the goods sent by the seller, encrypt the signed payment amount, the payment amount and the first random bit string and send them to the buyer group agent bank;

[0043] The buyer group agent bank is used to verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function after decryption. After the verification, the buyer group agent bank transfers the money to the third party, so that the third party transfers the money to the seller agent bank and ships the goods to the buyer.

[0044] In a fifth aspect, the present invention provides an electronic device, comprising:

[0045] a memory for non-transitory storage of computer-readable instructions; and

[0046] a processor for executing the computer readable instructions,

[0047] When the computer-readable instructions are executed by the processor, the method described in the first aspect or the second aspect is executed.

[0048] In a sixth aspect, the present invention further provides a storage medium that non-temporarily stores computer-readable instructions, wherein when the non-temporary computer-readable instructions are executed by a computer, the instructions of the method described in the first aspect or the second aspect are executed.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] The electronic payment method based on quantum group signature of the present invention is based on the local indistinguishable orthogonal direct product state (X-LIOP state) and quantum group signature design. Compared with the trusted third-party electronic payment protocol based on three-particle X-LIOP state, it ensures the anonymity of the buyer while ensuring efficiency and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0052] Figure 1 This is a flow chart of an electronic payment method based on quantum group signature described in Example 1. DETAILED DESCRIPTION

[0053] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0054] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0055] Embodiment 1

[0056] This embodiment provides an electronic payment method based on quantum group signature.

[0057] In the trusted third-party electronic payment protocol based on three-particle X-LIOP states of Lin et al., the commodity purchase information may be forged by the seller. Based on the trusted third-party electronic payment protocol based on three-particle X-LIOP states, this embodiment designs an electronic payment method based on quantum group signature, which is based on the local indistinguishable orthogonal direct product state (X-LIOP state) and quantum group signature design. Compared with the trusted third-party electronic payment protocol based on three-particle X-LIOP states, the method of this embodiment ensures the anonymity of the buyer while ensuring efficiency and security.

[0058] This embodiment provides an electronic payment method based on quantum group signature, considering the following electronic payment model:

[0059] A trusted third-party platform, at least one buyer group, several banks and at least one seller; each buyer group consists of several buyers; a buyer group selects at least one bank as an agent bank, and buyers in each buyer group share a bank account; each seller selects at least one bank as an agent bank.

[0060] Assume that a company has m departments, represented by Alice-1, Alice-2, …, Alice-m. These departments constitute a buyer group, and there is a trusted third-party platform Trent as the group manager. The company has an account in bank Bob1. When Alice-i from a department wants to buy goods, the company's agent bank Bob1 will pay. The seller and the seller's agent bank are represented by Charlie and Bob2 respectively.

[0061] like Figure 1 As shown, the specific steps of an electronic payment method based on quantum group signature provided in this embodiment are as follows:

[0062] Step 1: Initial stage.

[0063] (1) Obtain identity code and key distribution.

[0064] Alice-1, Alice-2, …, Alice-m form a buyer group, and Alice-1, Alice-2, …, Alice-m, Bob1, Bob2 and Charlie are registered on the trusted third-party platform Trent.

[0065] When registering, each department (buyer) of Alice-1, Alice-2, ..., Alice-m is given an identity code ID1, ID2, ..., ID m , only Alice-i and Trent know the corresponding ID i ; In addition, the buyer group shares a hash function H1 with Bob1: {0, 1} 2n →{0, 1} n , shares a hash function H2 with the seller Charlie: {0, 1} 2n →{0, 1} n .

[0066] Using the quantum key distribution (QKD) protocol, the trusted third party Trent shares an n-bit key with Alice-1, Alice-2, …, Alice-m respectively The trusted third-party platform Trent also shares a 2n-bit key K with the seller Charlie and the company's agent bank Bob1. CT and an n-bit key K BT ,in, and Both are n bits.

[0067] Step 2: Purchase phase.

[0068] (2) The signature of the payment amount M1 and the detailed product purchase information M2 is sent by Alice-i to Trent.

[0069] Assume that Alice-i wants to buy a product. Alice-i's purchase information is represented by M. The purchase information M can be divided into two parts: n-bit payment amount M1 and 3n-bit detailed product purchase information M2, where M2 can be represented as in When Alice-i wants to sign the purchase information M, Alice-i encodes M2 into a quantum sequence S consisting of X-LIOP states according to Table 1. Therefore, S can be expressed as in

[0070] Alice-i divides S into the first subsequence |S1>, the second subsequence |S2>, and the third subsequence |S3>, where

[0071]

[0072] Alice-i generates a 2n-bit first random bit string k and an n-bit second random bit string u and calculates the first parameter H1(k) and the second parameter H2(k). Then Alice-i calculates As the signature of the payment amount M1 and the key For M1,k,u, Encrypted For |S1>, |S2> and |S3>, Alice-i generates Generate using |S3> Where H is the Hadamard gate (H 0 =I,H 1 =H), H2(k) t and u t Respectively represent ID i , H2(k) and the tth bit of u from left to right. Alice-i As a signature for the detailed merchandise purchase information M2.

[0073] Alice-i first generates 3l first decoy particles, each of which is randomly selected from the four states |0>, |1>, |+>, |->. The 3l first decoy particles can be recorded as l1||l2||l3, where l1, l2 and l3 are composed of l decoy particles respectively. Alice-i randomly inserts l1, l2 and l3 into the first transformation subsequence The untransformed subsequence |S2> and the third transformed subsequence Get |S2′> and Alice-i will then |S2′> and Sent to Trent.

[0074] Table 1. Quantum sequence conversion table

[0075]

[0076] Step 3: Verification phase.

[0077] (3) The signature of the payment amount M1 and the detailed product purchase information M2 is sent by Trent to Charlie.

[0078] Upon confirmation Trent received |S2′> and After that, Alice-i anonymously publishes the position and state of the first decoy particle. Based on the position and state of the first decoy particle published by Alice-i, Trent |S2′> and Eavesdropping detection is performed. If the error rate is higher than the limit agreed upon by all parties at the beginning of the protocol, the protocol terminates; otherwise, the protocol continues. At this point, Trent can decrypt M1, k and u, and recover the position and state of the first decoy particle published by Alice-i. |S2> and Trent can also use get

[0079] Trent key For M1,k, Encrypted Then Trent generates 3l decoy particles, each of which is randomly selected from the four states |0>, |1>, |+>, |->. The 3l second decoy particles can be recorded as l′1||l′2||l′3, where l′1, l′2 and l′3 are composed of l decoy particles respectively. Trent randomly inserts l′1, l′2 and l′3 into |S2> and Get |S2″> and Trent then put S CT , |S″2> and Sent to Charlie.

[0080] (4) Detailed product purchase information M2 is sent by Charlie to Trent.

[0081] After confirming that Charlie received S CT , |S2″> and Later, Trent announced the position and state of the second decoy particle. Based on the position and state of the second decoy particle announced by Trent, Charlie |S2″> and Perform eavesdropping detection. If the error rate is higher than the limit agreed upon by both parties at the beginning of the protocol, the protocol terminates; otherwise, the protocol continues. At this point, Charlie can decrypt S CT Get M1,k and Based on the position and state of the second decoy particle published by Trent, |S2> and Charlie can also use and get and

[0082] Charlie uses |S1>, |S2> and |S3> to recover the quantum sequence S, and uses the basis α composed of X-LIOP states in Table 1 to measure the quantum sequence S to recover the detailed commodity purchase information M′2. Charlie compares M1 and M′2 with the public commodity price list. If they do not match, Charlie proves that the signature of M2 is illegal and terminates the protocol; otherwise, Charlie proves that the signature of M2 is legal and uses the key K CT Encrypt M′2,H2(k) to get And S′ CT Sent to Trent.

[0083] Explanation of basis α: The X-LIOP states in Table 1 form a set of orthogonal product bases α. Since the detailed product purchase information is encoded as X-LIOP states, Charlie needs to use this set of bases α to measure the quantum sequence S to recover the detailed product purchase information.

[0084] Trent decrypts S′ CT Get M′2 and H2(k) and use get Trent uses |S1>, |S2> and |S3> to recover the quantum sequence S, and uses the basis α composed of the X-LIOP states in Table 1 to measure the quantum sequence S to recover the detailed product purchase information M″2. Trent compares M′2 and M″2. If M′2≠M″2, Trent terminates the protocol; if M′2=M″2, Trent notifies Charlie to send the products purchased by Alice-i to himself.

[0085] Step 4: Payment stage.

[0086] (5) Shipment, sent by Charlie to Trent.

[0087] Charlie sends the goods purchased by Alice-i to Trent.

[0088] (6) The payment amount M1 and its signature are sent by Trent to Bob1.

[0089] Trent uses the key K BTFor M1,k, Encrypted Trent S BT Sent to Bob1.

[0090] (7) Transfer, Bob1 transfers money to Trent.

[0091] Bob1 decrypts S BT Get M1,k and Bob1 calculates based on M1 and k The result is compared with M1's signature. If it is wrong, Bob1 refuses to pay; if it is correct, Bob1 transfers the money to Trent.

[0092] (8) After receiving the transfer from Bob1, Trent transfers the money to Bob2 and ships the goods to Alice-i.

[0093] The method of this embodiment ensures that the buyer's purchase information cannot be forged, ensuring the security of the protocol. In addition, this embodiment proposes for the first time an electronic payment method based on a local indistinguishable orthogonal direct product state (X-LIOP state) and a quantum group signature, which ensures the anonymity of the buyer while using the X-LIOP state to make the method of this embodiment easier to implement.

[0094] Embodiment 2

[0095] This embodiment provides an electronic payment method based on quantum group signature, which is applied to a buyer in a buyer group, including:

[0096] generating a first random bit string and a second random bit string;

[0097] The first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed by the identity code, the second parameter and the second random bit string;

[0098] Sending the untransformed subsequence and the transformed subsequence inserted with different first decoy particles together with the first ciphertext to a third party, so that the third party can decrypt the first ciphertext, interact with and verify data with the buyer and the seller, and notify the seller to send the goods to the third party after the verification is passed;

[0099] Among them, after the third party receives the goods, it encrypts the signed payment amount, the payment amount and the first random bit string and sends them to the buyer group agent bank; after the buyer group agent bank decrypts, it verifies the signature of the payment amount based on the payment amount, the first random bit string and the shared function. After the verification, the buyer group agent bank transfers the money to the third party, and then the third party transfers the money to the seller's agent bank and ships the goods to the buyer.

[0100] Further, the third party shares a key with each buyer in the buyer group;

[0101] Alternatively, the third party shares a key with the seller;

[0102] Alternatively, the third party shares a bit key with the buyer group agent bank.

[0103] Furthermore, the steps of data interaction and verification include:

[0104] The third party performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the first decoy particle according to the position and state of the first decoy particle published by the buyer. If the error rate is lower than the limit value, the information sent by the buyer is decrypted and restored to obtain the payment amount, the first random bit string, the second random bit string, and the untransformed subsequence and the transformed subsequence;

[0105] The third party encrypts the combination of the identity code and the second random bit string, the payment amount and the first random bit string to obtain a second ciphertext, and sends the untransformed subsequence and the transformed subsequence inserted with different second decoy particles to the seller together with the second ciphertext.

[0106] Furthermore, the data interaction and verification step also includes:

[0107] The seller performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the second decoy particle according to the position and state of the second decoy particle published by the third party. If the error rate is lower than the limit value, the seller decrypts and recovers the information sent by the third party to obtain the combination of the identity code and the second random bit string, the payment amount, the first random bit string, and the transformed subsequence and the transformed subsequence;

[0108] The seller restores the transformed subsequence and forms a quantum sequence together with the untransformed subsequence, thereby obtaining the commodity purchase information restored by the seller, encrypting the commodity purchase information restored by the seller with the second parameter to obtain a third ciphertext, and sending it to a third party.

[0109] Furthermore, the data interaction and verification step also includes:

[0110] The third party decrypts the third ciphertext to obtain the product purchase information and the second parameter restored by the seller, and based on the product purchase information and the second parameter restored by the seller, restores the transformed subsequence and forms a quantum sequence with the untransformed subsequence, thereby obtaining the product purchase information restored by the third party;

[0111] The third party compares whether the product purchase information restored by the third party is consistent with the product purchase information restored by the seller. If they are consistent, the third party notifies the seller to send the product to itself.

[0112] The detailed method is the same as that provided in Example 1 and will not be repeated here.

[0113] Embodiment 3

[0114] This embodiment provides an electronic payment method based on quantum group signature, which is applied to a third party, including:

[0115] After receiving the first ciphertext sent by a buyer in the buyer group, the untransformed subsequence and the transformed subsequence inserted with different first decoy particles, data interaction and verification are performed with the buyer and the seller respectively, and the first ciphertext is decrypted to obtain the signed payment amount, the payment amount and the first random bit string, and after the verification is passed, the seller is notified to send the goods to itself;

[0116] After receiving the goods sent by the seller, the signed payment amount, the payment amount and the first random bit string are encrypted and sent to the buyer group agent bank, so that the buyer group agent bank can verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function after decryption, and after the verification is passed, the buyer group agent bank transfers the money to the third party;

[0117] After receiving the transfer from the buyer group's agent bank, it will transfer the money to the seller's agent bank and ship the goods to the buyer;

[0118] Among them, a buyer in the buyer group generates a first random bit string and a second random bit string; the first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed through the identity code, the second parameter and the second random bit string.

[0119] The detailed method is the same as that provided in Example 1 and will not be repeated here.

[0120] Embodiment 4

[0121] This embodiment provides an electronic payment system based on quantum group signature;

[0122] An electronic payment system based on quantum group signature, comprising a seller, a seller agent bank, a third party, a buyer group agent bank and a buyer in the buyer group;

[0123] A buyer in the buyer group is used to generate a first random bit string and a second random bit string; a first parameter is obtained by combining the first random bit string, a shared function between the buyer group and its agent bank; a second parameter is obtained by combining the first random bit string, a shared function between the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into a plurality of subsequences, and a plurality of the subsequences are transformed by using the identity code, the second parameter and the second random bit string; the untransformed subsequence and the transformed subsequence into which different first decoy particles are inserted are sent to a third party together with the first ciphertext;

[0124] The third party is used to, after receiving the first ciphertext, the untransformed subsequence and the transformed subsequence inserted with different first decoy particles, respectively interact and verify data with the buyer and the seller, decrypt the first ciphertext, and after passing the verification, notify the seller to send the goods to itself; after receiving the goods sent by the seller, encrypt the signed payment amount, the payment amount and the first random bit string and send them to the buyer group agent bank;

[0125] The buyer group agent bank is used to verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function after decryption. After the verification, the buyer group agent bank transfers the money to the third party, so that the third party transfers the money to the seller agent bank and ships the goods to the buyer.

[0126] The detailed process of each component has been introduced in the first embodiment.

[0127] Embodiment 5

[0128] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes the method described in the second or third embodiment above.

[0129] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0130] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0131] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software.

[0132] The method in the first embodiment can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0133] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0134] Embodiment 6

[0135] This embodiment further provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the method described in the second or third embodiment is completed.

[0136] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An electronic payment method based on quantum group signature, characterized in that: Applies to a buyer in a buyer group, including: generating a first random bit string and a second random bit string; The first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed by the identity code, the second parameter and the second random bit string; The transformation of multiple subsequences: the quantum sequence in The quantum sequence S is divided into a first subsequence |S1>, a second subsequence |S2>, and a third subsequence |S3>, wherein Using the first subsequence |S1> to generate Using the third subsequence |S3> to generate Where H is the Hadamard gate (H 0 =I,H 1 =H), H2(k) t and u t Respectively represent the identity code ID i , the second parameter H2(k) and the t-th bit from left to right of the second random bit string u; Sending the untransformed subsequence and the transformed subsequence inserted with different first decoy particles together with the first ciphertext to a third party, so that the third party can decrypt the first ciphertext, interact with and verify data with the buyer and the seller, and notify the seller to send the goods to the third party after the verification is passed; Among them, after the third party receives the goods, it encrypts the signature of the payment amount, the payment amount and the first random bit string and sends them to the buyer group agent bank; after the buyer group agent bank decrypts, it verifies the signature of the payment amount based on the payment amount, the first random bit string and the shared function. After the verification, the buyer group agent bank transfers the money to the third party, and then the third party transfers the money to the seller's agent bank and ships the goods to the buyer.

2. An electronic payment method based on quantum group signature as claimed in claim 1, characterized in that: The third party shares a key with each buyer in the buyer group; Alternatively, the third party shares a key with the seller; Alternatively, the third party shares a bit key with the buyer group agent bank.

3. The electronic payment method based on quantum group signature as claimed in claim 1, characterized in that: The steps of data interaction and verification include: The third party performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the first decoy particle according to the position and state of the first decoy particle published by the buyer. If the error rate is lower than the limit value, the information sent by the buyer is decrypted and restored to obtain the payment amount, the first random bit string, the second random bit string, and the untransformed subsequence and the transformed subsequence; The third party encrypts the combination of the identity code and the second random bit string, the payment amount and the first random bit string to obtain a second ciphertext, and sends the untransformed subsequence and the transformed subsequence inserted with different second decoy particles to the seller together with the second ciphertext.

4. An electronic payment method based on quantum group signature as claimed in claim 3, characterized in that: The steps of data interaction and verification also include: The seller performs eavesdropping detection on the untransformed subsequence and the transformed subsequence inserted with the second decoy particle according to the position and state of the second decoy particle published by the third party. If the error rate is lower than the limit value, the seller decrypts and recovers the information sent by the third party to obtain the combination of the identity code and the second random bit string, the payment amount, the first random bit string, and the untransformed subsequence and the transformed subsequence; The seller restores the transformed subsequence and forms a quantum sequence together with the untransformed subsequence, thereby obtaining the commodity purchase information restored by the seller, encrypting the commodity purchase information restored by the seller with the second parameter to obtain a third ciphertext, and sending it to a third party.

5. An electronic payment method based on quantum group signature as claimed in claim 4, characterized in that: The steps of data interaction and verification also include: The third party decrypts the third ciphertext to obtain the product purchase information and the second parameter restored by the seller, and based on the product purchase information and the second parameter restored by the seller, restores the transformed subsequence and forms a quantum sequence with the untransformed subsequence, thereby obtaining the product purchase information restored by the third party; The third party compares whether the product purchase information restored by the third party is consistent with the product purchase information restored by the seller. If they are consistent, the third party notifies the seller to send the product to itself.

6. An electronic payment method based on quantum group signature, characterized in that: For third parties, including: After receiving the first ciphertext sent by a buyer in the buyer group, inserting the untransformed subsequence and the transformed subsequence of different first decoy particles, respectively interacting and verifying data with the buyer and the seller, decrypting the first ciphertext to obtain the signature of the payment amount, the payment amount and the first random bit string, and after the verification is passed, notifying the seller to send the goods to itself; After receiving the goods sent by the seller, the signature of the payment amount, the payment amount and the first random bit string are encrypted and sent to the buyer group agent bank, so that the buyer group agent bank can decrypt and verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function. After the verification is passed, the buyer group agent bank transfers the money to the third party; After receiving the transfer from the buyer group's agent bank, it will transfer the money to the seller's agent bank and ship the goods to the buyer; Among them, a buyer in the buyer group generates a first random bit string and a second random bit string; the first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; the commodity purchase information is encoded into a quantum sequence composed of X-LIOP states, and then divided into a plurality of subsequences, and a plurality of the subsequences are transformed by the identity code, the second parameter and the second random bit string; The transformation of multiple subsequences: the quantum sequence in The quantum sequence S is divided into a first subsequence |S1>, a second subsequence |S2>, and a third subsequence |S3>, wherein Using the first subsequence |S1> to generate Using the third subsequence |S3> to generate Where H is the Hadamard gate (H 0 =I,H 1 =H), H2(k) t and u t Respectively represent the identity code ID i , the second parameter H2(k) and the tth bit of the second random bit string u from left to right.

7. An electronic payment method based on quantum group signature, characterized in that: include: A buyer in the buyer group generates a first random bit string and a second random bit string; The first parameter is obtained by combining the first random bit string, the shared function of the buyer group and its agent bank; the second parameter is obtained by combining the first random bit string, the shared function of the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into several subsequences, and multiple subsequences are transformed by the identity code, the second parameter and the second random bit string; The transformation of multiple subsequences: the quantum sequence in The quantum sequence S is divided into a first subsequence |S1>, a second subsequence |S2>, and a third subsequence |S3>, wherein Using the first subsequence |S1> to generate Using the third subsequence |S3> to generate Where H is the Hadamard gate (H 0 =I,H 1 =H), H2(k) t and u t Respectively represent the identity code ID i , the second parameter H2(k) and the t-th bit from left to right of the second random bit string u; sending the untransformed subsequence and the transformed subsequence inserted with different first decoy particles together with the first ciphertext to a third party; After receiving the first ciphertext, the untransformed subsequence and the transformed subsequence with different first decoy particles inserted, the third party interacts with the buyer and the seller for data exchange and verification respectively, decrypts the first ciphertext, and after passing the verification, notifies the seller to send the goods to itself; after receiving the goods sent by the seller, encrypts the signature of the payment amount, the payment amount and the first random bit string and sends them to the buyer group agent bank; After decryption, the buyer group agent bank verifies the signature of the payment amount based on the payment amount, the first random bit string and the shared function. After the verification, the buyer group agent bank transfers the money to the third party, so that the third party transfers the money to the seller agent bank and ships the goods to the buyer.

8. An electronic payment system based on quantum group signature, characterized in that: Includes the seller, the seller's agent bank, a third party, the buyer group's agent bank and a buyer in the buyer group; A buyer in the buyer group is used to generate a first random bit string and a second random bit string; a first parameter is obtained by combining the first random bit string, a shared function between the buyer group and its agent bank; a second parameter is obtained by combining the first random bit string, a shared function between the buyer group and the seller; the payment amount is signed using the first parameter, and the payment amount, the first random bit string, the second random bit string and the signature of the payment amount are encrypted to obtain a first ciphertext; after encoding the commodity purchase information into a quantum sequence composed of X-LIOP states, it is divided into a plurality of subsequences, and a plurality of the subsequences are transformed by using the identity code, the second parameter and the second random bit string; The transformation of multiple subsequences: the quantum sequence in The quantum sequence S is divided into a first subsequence |S1>, a second subsequence |S2>, and a third subsequence |S3>, wherein Using the first subsequence |S1> to generate Using the third subsequence |S3> to generate Where H is the Hadamard gate (H 0 =I,H 1 =H), H2(k) t and u t Respectively represent the identity code ID i , the second parameter H2(k) and the t-th bit from left to right of the second random bit string u; sending the untransformed subsequence and the transformed subsequence inserted with different first decoy particles together with the first ciphertext to a third party; The third party is used to, after receiving the first ciphertext, the untransformed subsequence and the transformed subsequence inserted with different first decoy particles, respectively interact and verify data with the buyer and the seller, decrypt the first ciphertext, and after passing the verification, notify the seller to send the goods to itself; after receiving the goods sent by the seller, encrypt the signature of the payment amount, the payment amount and the first random bit string and send them to the buyer group agent bank; The buyer group agent bank is used to verify the signature of the payment amount according to the payment amount, the first random bit string and the shared function after decryption. After the verification, the buyer group agent bank transfers the money to the third party, so that the third party transfers the money to the seller agent bank and ships the goods to the buyer.

9. An electronic device, comprising: a memory for non-transitory storage of computer readable instructions; as well as a processor for executing the computer readable instructions, Wherein, when the computer-readable instructions are executed by the processor, the method described in any one of claims 1 to 5 or claim 6 is executed.

10. A storage medium characterized by being non-temporary The computer-readable instructions are non-temporarily stored, wherein when the non-temporarily stored computer-readable instructions are executed by a computer, the instructions of the method described in any one of claims 1 to 5 or claim 6 are executed.

Citation Information

Patent Citations

  • A multi-group e-commerce signature method based on quantum stealth state transfer

    CN109711932A

  • Quantum group signature method based on quantum short key cryptography

    CN115174066A