Controlled semi-quantum dialogue method based on edge cloud cooperative computing

By employing a controlled semi-quantum dialogue method based on edge-cloud collaborative computing, and utilizing the shared keys and decoy particle rules between the cloud-centric controller and the edge semi-quantum communicator, the security challenges in cross-domain communication are addressed, achieving efficient and secure communication.

CN121530675APending Publication Date: 2026-02-13ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511728507.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-24
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

In edge-cloud collaborative computing, cross-domain secure communication faces serious challenges such as eavesdropping, tampering, and Trojan attacks, which existing technologies cannot effectively protect against.

Method used

A controlled semi-quantum dialogue method based on edge-cloud collaborative computing is adopted. By sharing keys and decoy particle rules between the cloud central controller and the edge semi-quantum communicator, a three-particle entangled state sequence is prepared, and eavesdropping detection and encryption/decryption operations are performed to ensure communication security.

Benefits of technology

It achieves security and efficiency in cross-domain semi-quantum communication, reduces communication costs, and improves message security and communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121530675A_ABST
    Figure CN121530675A_ABST
Patent Text Reader

Abstract

The invention discloses a controlled semi-quantum dialogue method based on edge cloud cooperative computing, which comprises the following steps that: a cloud center controller and two edge semi-quantum communicators share a key and insert a decoy particle rule, and the two edge semi-quantum communicators share the other key; the cloud center controller prepares three single-particle sequences, inserts decoy particles into a second sub-sequence and a third sub-sequence, and sends sub-sequences of the three-particle entangled state sequences to the two edge semi-quantum communicators; the two edge semi-quantum communicators communicate with each other, take out the decoy particles, encrypt the message by using the received single particle sequence, insert the shared key information into the taken decoy particles to form a new particle sequence, and respectively send the new particle sequence to the opposite side; meanwhile, decoy particles are sent to a cloud center controller for eavesdropping detection, and according to a particle sequence measurement result and a message measurement result encrypted by the other edge semi-quantum communicator, the cloud center controller decrypts the particle sequence measurement result of the cloud center controller to obtain a message sent by the communicator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of edge-cloud collaborative computing and communication technology, and in particular to a controlled semi-quantum dialogue method based on edge-cloud collaborative computing. Background Technology

[0002] Edge-cloud collaborative computing security involves complex heterogeneous network communication, multi-fine-grained access services, and cross-domain access, posing significant challenges to network security in this scenario. Effectively utilizing a cloud center as the controller enables two different server-side users to achieve secure cross-domain communication using relatively low-configuration quantum capabilities. The cloud center controller can manage and control this semi-quantum secure communication and detect eavesdropping. A controlled semi-quantum dialogue method based on edge-cloud collaborative computing can effectively prevent eavesdropping, tampering, interception, and various Trojan attacks, improving communication security and efficiency. Summary of the Invention

[0003] To address the shortcomings of the aforementioned background technologies, this invention proposes a controlled semi-quantum dialogue method based on edge-cloud collaborative computing, which promotes secure cross-domain sharing and value realization of edge-cloud collaborative computing.

[0004] To achieve the above objectives, the technical solution of the present invention is as follows:

[0005] A controlled semi-quantum dialogue method based on edge-cloud collaborative computing, comprising the following steps:

[0006] S1: The cloud center controller and the two edge semi-quantum communicators share a key and the rule for inserting decoy particles, while the two edge semi-quantum communicators share another key;

[0007] S2: The cloud center controller prepares a three-particle entangled state sequence and splits it into three single-particle sequences. Using a shared key between the cloud center controller and two edge half-quantum communicators, decoy particles are inserted into the second and third sub-sequences respectively using the decoy particle insertion rule. Then, the sub-sequences of the three-particle entangled state sequence are sent to the two edge half-quantum communicators respectively.

[0008] The cloud center controller agrees to communication between two edge half-quantum communicators; after the two edge half-quantum communicators remove the decoy particles, they encrypt their messages with the single-particle sequences they have received, and then insert the removed decoy particles to form a new particle sequence according to the key information shared by the two edge half-quantum communicators, and send it to each other respectively.

[0009] S3: Two edge semi-quantum communicators send decoy particles to the cloud center controller for eavesdropping detection. Then, based on the particle sequence measurement results sent by the cloud center controller and the encrypted message measurement results of the other edge semi-quantum communicator, the two edge semi-quantum communicators decrypt the cloud center controller's own particle sequence measurement results to obtain the message sent by the communicator.

[0010] As an improvement to the above technical solution, the specific steps of step S1 are as follows:

[0011] S101. The cloud center controller is defined as cloud center controller C, and the two edge half-quantum communicators are defined as edge half-quantum communicator A and edge half-quantum communicator B, respectively.

[0012] Cloud central controller C shares a length of [missing information] with edge semi-quantum communicators A and B via a classical channel using a semi-quantum key distribution protocol. One-time pad binary bit string key Edge semi-quantum communicator A and edge semi-quantum communicator B share a classical channel with a length of [missing value]. One-time pad binary bit string key ;

[0013] Cloud center controller C sets the number of quantum dialogues. The initial value is 0, that is ;

[0014] S102, Cloud Central Controller C shares a hash function with two edge semi-quantum communicators via a classical channel. The decoy particle insertion rule R; This means that a binary bit string of arbitrary length is used as the input of a hash function, and the output is a binary bit string of length n.

[0015] As an improvement to the above technical solution, the specific steps of step S2 are as follows:

[0016] S201, Cloud Center Controller C preparation length is of state sequence, and length is of The three-particle sequence is broken down into lengths. single-particle sequence , and ;

[0017] Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ;Will Send a semi-quantum key distribution protocol to edge semi-quantum communicator A, and send a classical channel to semi-quantum communicator A. exist The position in the middle;

[0018] Similarly, cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ;Will Send the message to edge semi-quantum communicator B using a semi-quantum key distribution protocol, and send it back to semi-quantum communicator B using a classical channel. exist The position in the middle;

[0019] , It is a positive integer of any size, and Far greater than ,Right now ;

[0020] S202, Cloud Center Controller C uses Z-based measurement particle sequence The measurement results were then published to edge half-quantum communicator A and edge half-quantum communicator B, respectively. Proceed to step S3.

[0021] As an improvement to the above technical solution, the decoy particle and The generation is done randomly from the Z-based and X-based bases, respectively. A set of particles and ; Deceiving particles and The generation is done randomly from the Z-based and X-based bases, respectively. A set of particles and ;

[0022] Where Z-base is X-base is , , ;

[0023] Cloud center controller C will have a length of of The three-particle sequence is broken down into lengths. single-particle sequence , and , with a length of of Each of the three-particle sequences The particle was split into three particles, and The first particle forms a set ,Will The second particle forms a set ,Will The second particle forms a set ;

[0024] Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get ,

[0025] Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get ;

[0026] in Indicates the right arrow. This indicates the state of the first particle. This indicates the states of the second and third particles. This indicates the states of the first, second, and third particles;

[0027] ;

[0028] .

[0029] As an improvement to the above technical solution, the eavesdropping detection step in step S3 is as follows:

[0030] S301, Edge Semi-Quantum Communicator A received... ,from Pick out ,recover Then rearrange The order of particles in the middle is obtained ,Will The rearranged key is sent to the cloud controller C using a semi-quantum key distribution protocol, and then sent to the cloud controller C using a classical channel. and rule R will Selecting decoy particles and restore ;

[0031] Edge semi-quantum communicator A uses and rule R will Selecting decoy particles and restore For one-time secret If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position The i-th position, The Position is a decoy particle The i-th position;

[0032] S302, Edge Semi-Quantum Communicator B received ,from Pick out ,recover Then rearrange The order of particles in the middle is obtained ,Will The rearranged key is sent to the cloud controller C using a semi-quantum key distribution protocol, and then sent to the cloud controller C using a classical channel. and rule R will Selecting decoy particles and restore ;

[0033] Half-quantum communicator B and rule R will Selecting decoy particles and restore For one-time secret If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position The i-th position, The Position is a decoy particle The i-th position;

[0034] S303, Cloud Center Controller Receives and Based on the rearranged order sent by edge semi-quantum controller A and edge semi-quantum controller B, respectively recover... and If the error rate exceeds the threshold, the quantum dialogue ends and returns to step S2. If the error rate is below the threshold, step S304 is executed.

[0035] As an improvement to the above technical solution, the initial value of the threshold is any decimal less than or equal to 0.1.

[0036] As an improvement to the above technical solution, the steps for encrypting a conversation are as follows:

[0037] S304. Edge semi-quantum controllers A and B each send a communication request to cloud central controller C. If cloud central controller C disagrees, the current dialogue process terminates, or step S304 is repeated. If cloud central controller C agrees to the request, then... Execute S305;

[0038] S305, Edge Semi-Quantum Communicator A using Z-based Measurement And record the measurement results. Then, the same was prepared using Z-based methods. Then edge controller A used His conversation messages Encryption is performed to obtain ,Will Use shared keys Reinsertion of rule R get ,Will Send it to edge semi-quantum communicator B using a semi-quantum key distribution protocol;

[0039] Edge semi-quantum communicator B uses Z-based measurements And record the measurement results. Prepare the same using Z-based Edge controller B uses His conversation messages Encryption is performed to obtain ,Will Use shared keys Reinsertion of rule R get ,Will Send the semi-quantum key distribution protocol to edge semi-quantum communicator A and execute step S306;

[0040] As an improvement to the above technical solution, the edge controller A uses His conversation messages Encryption is performed to obtain If the conversation message The i-th bit is 0, and the edge controller A uses Z-base measurement. For the i-th particle, prepare a particle in the same state and replace it. The i-th particle; if the message The i-th bit is 1, measured using Z-base. For the i-th particle, prepare a particle with the opposite state and replace it. The i-th particle yields the encrypted particle sequence. ;

[0041] The edge controller B used His conversation messages Encryption is performed to obtain If the conversation message The i-th bit is 0, and the edge controller B uses Z-base measurement. For the i-th particle, prepare a particle in the same state and replace it. The i-th particle; if the message The i-th bit is 1, measured using Z-base. For the i-th particle, prepare a particle with the opposite state and replace it. The i-th particle yields the encrypted particle sequence. ;

[0042] Edge semi-quantum communicator A will Use rules And the insertion rule R for decoy particles to re-insert get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle, if Then in Insert after the i-th particle The i-th decoy particle is obtained ;

[0043] The edge semi-quantum communicator B will use And the insertion rule R for decoy particles to re-insert get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle, if Then in Insert after the i-th particle The i-th decoy particle is obtained .

[0044] As an improvement to the above technical solution, the steps to decrypt the dialogue are:

[0045] S306, Edge semi-quantum communicator A received... First use And rule R, restore the decoy particles and Then use Z-base measurement The measurement results were obtained. Then according to , Measurement results and Edge semi-quantum communicator A can receive secret messages from edge semi-quantum communicator B. Edge semi-quantum communicators use a semi-quantum key transfer protocol to... Send to cloud center controller C;

[0046] Edge semi-quantum communicator B received First use And rule R, restore the decoy particles and Then use Z-base measurement The measurement results were obtained. Then according to , Measurement results and Edge semi-quantum communicator B can receive secret messages from edge semi-quantum communicator A. Edge semi-quantum communicator B uses a semi-quantum key transfer protocol to... Send to cloud center controller C.

[0047] S307, Use And rule R, edge semi-quantum communicator A recovers the decoy particle and For one-time secret If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position The i-th position;

[0048] use And with rule R, the edge semi-quantum communicator B recovers the decoy particle and For one-time secret If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position The i-th position;

[0049] According to , Measurement results and Edge semi-quantum communicator A receives a secret message from edge semi-quantum communicator B. , for The measurement results for The measurement results for The sequence of particles is composed of the first single particle. for The sequence consisting of the second single particle in the particle sequence is composed of It can be deduced The sequence consisting of the third single particle in the particle sequence , for The measurement results For edge controller B His conversation messages The result obtained after encryption is that edge semi-quantum communicator A is... and The news of the launch of edge semi-quantum communicator B ;

[0050] Edge semi-quantum communicator A by and The news of the launch of edge semi-quantum communicator B Using Z-base pairs The measurement was performed, and the measurement result was: ,like The i-th and If the value of the i-th bit is equal, the message... If the i-th bit is 0, then The i-th and The values ​​of the i-th bit are not equal, message The i-th bit is 1;

[0051] according to , Measurement results and Edge semi-quantum communicator B receives a secret message from edge semi-quantum communicator A. , for The measurement results for The measurement results for The sequence of particles is composed of the first single particle. for The sequence consisting of the third single particle in the particle sequence is composed of... It can be deduced The sequence consisting of the second single particle in the particle sequence , for The measurement results For edge controller A His conversation messages The result obtained after encryption is that the edge semi-quantum communicator B is... and The news of the launch of edge semi-quantum communicator A ;

[0052] Edge semi-quantum communicator B by and The news of the launch of edge semi-quantum communicator A Using Z-base pairs The measurement was performed, and the measurement result was: ,like The i-th and If the value of the i-th bit is equal, the message... If the i-th bit is 0, then The i-th and The values ​​of the i-th bit are not equal, message The i-th bit is 1.

[0053] S308, Cloud Center Controller C received and ,right and A second eavesdropping detection is performed; if the error rate exceeds a threshold, the quantum dialogue ends. Execute step S2. If the error rate is lower than the threshold, proceed to the next step.

[0054] S309, Update on two edge semi-quantum communicators , ;

[0055] S310, The cloud center controller C and two edge semi-quantum communicators update Proceed to step S3.

[0056] The cloud center controller C calculates the error rate in the eavesdropping detection process by measuring the received decoy particle sequence with the X basis, comparing the measurement result with the initial prepared decoy particle state, and counting the number of times the results are unequal. The error rate is the percentage of the number of unequal results out of the total number of decoy particle sequences.

[0057] Compared with the prior art, the advantages and positive effects of this invention are:

[0058] 1) This invention utilizes the cloud center as the controller to realize a dialogue method between two half-quantum communicators on the edge server, solving the problem of secure communication between cross-domain half-quantum communicators; 2) The two edge server communicators only need half-quantum capabilities, solving the problem of high-cost full quantum resources; 3) The cloud center controller performs eavesdropping detection, improving the security of messages during cross-domain communication. Attached Figure Description

[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0060] Figure 1 This is a flowchart of the present invention;

[0061] Figure 2 This is a schematic diagram of an embodiment of the present invention. Detailed Implementation

[0062] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, any modifications, equivalent substitutions, improvements, etc., made by those skilled in the art to all other embodiments obtained without creative effort should be included within the protection scope of the present invention.

[0063] Example 1, as Figure 1 As shown, a controlled semi-quantum dialogue method based on edge-cloud collaborative computing is presented, with the following specific steps:

[0064] 1. Initialization steps, specifically including:

[0065] S11, Cloud center controller C shares a key length of [value] with edge semi-quantum communicators A and B respectively via a semi-quantum key distribution protocol. One-time pad binary bit string key Edge semi-quantum communicator A and edge semi-quantum communicator B share a length of One-time pad binary bit string key ;

[0066] S12, Cloud Center Controller C sets the number of quantum dialogues. The initial value is 0, that is ;

[0067] S13. Cloud center controller C shares a hash function with two edge semi-quantum communicators via a classical channel. The decoy particle insertion rule R;

[0068] As mentioned above, This means that a binary bit string of arbitrary length is taken as input to the hash function, and the output is a binary bit string of length n;

[0069] S14, Cloud Center Controller C preparation length is of state sequence, and length is of The three-particle sequence is broken down into lengths. single-particle sequence , and Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ,Will Send a semi-quantum key distribution protocol to edge semi-quantum communicator A, and send a classical channel to semi-quantum communicator A. exist In the same way, the cloud center controller C uses the key to locate the position within the cloud. And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ,Will Send the message to edge semi-quantum communicator B using a semi-quantum key distribution protocol, and send it back to semi-quantum communicator B using a classical channel. exist The position in the middle;

[0070] As mentioned above, , It is a positive integer of any size, and Far greater than ,Right now ;

[0071] Deceiving particles as described above and The generation method is characterized by randomly generating from the Z-based and X-based bases, respectively. A set of particles and Deceive particles and The generation method is characterized by randomly generating from the Z-based and X-based bases, respectively. A set of particles and , where Z-base is X-base is , , ;

[0072] As mentioned above, the cloud center controller C will have a length of of The three-particle sequence is broken down into lengths. single-particle sequence , and The method is characterized by having a length of of Each of the three-particle sequences The particle was split into three particles, and The first particle forms a set ,Will The second particle forms a set ,Will The second particle forms a set ;

[0073] As mentioned above, the cloud center controller C uses a key. And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get The method is characterized by, for one-time key If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get Similarly, using a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into get The method is characterized by, for one-time key If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get ;

[0074] in Indicates the right arrow. This indicates the state of the first particle. This indicates the states of the second and third particles. This indicates the states of the first, second, and third particles. , ;

[0075] S15, Cloud Center Controller C uses Z-based measurement particle sequence The measurement results were then published to edge half-quantum communicator A and edge half-quantum communicator B, respectively. Perform step S21 of this embodiment;

[0076] 2. The eavesdropping detection steps specifically include:

[0077] S21, Edge semi-quantum communicator A received... ,from Pick out ,recover Then rearrange The order of particles in the middle is obtained ,Will The rearranged key is sent to the cloud controller C using a semi-quantum key distribution protocol, and then sent to the cloud controller C using a classical channel. and rule R will Selecting decoy particles and restore ;

[0078] As mentioned above, edge semi-quantum communicator A uses and rule R will Selecting decoy particles and restore The method is characterized by, for one-time key If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position The i-th position, The Position is a decoy particle The i-th position;

[0079] S22, Edge semi-quantum communicator B received... ,from Pick out ,recover Then rearrange The order of particles in the middle is obtained ,Will The rearranged key is sent to the cloud controller C using a semi-quantum key distribution protocol, and then sent to the cloud controller C using a classical channel. and rule R will Selecting decoy particles and restore ;

[0080] As mentioned above, edge semi-quantum communicator B uses and rule R will Selecting decoy particles and restore The method is characterized by one-time key If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position The i-th position, The Position is a decoy particle The i-th position;

[0081] S23, the cloud center controller received... and Based on the rearranged order sent by edge semi-quantum controller A and edge semi-quantum controller B, respectively recover... and The process involves eavesdropping detection. If the error rate exceeds a threshold, the quantum dialogue ends, and step S14 of this embodiment is executed. If the error rate is below a threshold, step S31 of this embodiment is executed.

[0082] 3. The steps for generating an encrypted dialogue include:

[0083] S31. Edge semi-quantum controller A and edge semi-quantum controller B each send a communication request to cloud central controller C. If cloud central controller C does not agree, the current dialogue process terminates, and step S31 of this embodiment is executed. If cloud central controller C agrees to the request, then... Execute S32;

[0084] S32, Edge Semi-Quantum Communicator A uses Z-based measurement And record the measurement results. Then, the same was prepared using Z-based methods. Then edge controller A used His conversation messages Encryption is performed to obtain ,Will Use shared keys Reinsertion of rule R get ,Will Send it to edge semi-quantum communicator B using a semi-quantum key distribution protocol;

[0085] Edge semi-quantum communicator B uses Z-based measurements And record the measurement results. Prepare the same using Z-based Edge controller B uses His conversation messages Encryption is performed to obtain ,Will Use shared keys Reinsertion of rule R get ,Will Send the semi-quantum key distribution protocol to edge semi-quantum communicator A and execute step S41 of this embodiment;

[0086] As described above, edge controller A uses His conversation messages Encryption is performed to obtain The method is characterized in that if the dialogue message The i-th bit is 0, and the edge controller A uses Z-base measurement. For the i-th particle, prepare a particle in the same state and replace it. The i-th particle; if the message The i-th bit is 1, measured using Z-base. For the i-th particle, prepare a particle with the opposite state and replace it. The i-th particle yields the encrypted particle sequence. .

[0087] As described above, edge controller B uses His conversation messages Encryption is performed to obtain The method is characterized in that if the dialogue message The i-th bit is 0, and the edge controller B uses Z-base measurement. For the i-th particle, prepare a particle in the same state and replace it. The i-th particle; if the message The i-th bit is 1, measured using Z-base. For the i-th particle, prepare a particle with the opposite state and replace it. The i-th particle yields the encrypted particle sequence. ;

[0088] As described above, edge semi-quantum communicator A will Use rules and R reinsertion get The method is characterized by, for one-time key If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle, if Then in Insert after the i-th particle The i-th decoy particle is obtained ;

[0089] As mentioned above, edge semi-quantum communicator B will Use rules and R reinsertion get The method is characterized by, for one-time key If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle, if Then in Insert after the i-th particle The i-th decoy particle is obtained ;

[0090] 4. The decryption of dialogue information stage involves the following steps:

[0091] S41, Edge semi-quantum communicator A received... First use And rule R, restore the decoy particles and Then use Z-base measurement The measurement results were obtained. Then according to , Measurement results and Edge semi-quantum communicator A can receive secret messages from edge semi-quantum communicator B. Edge semi-quantum communicators use a semi-quantum key transfer protocol to... Send to cloud center controller C;

[0092] Edge semi-quantum communicator B received First use And rule R, restore the decoy particles and Then use Z-base measurement The measurement results were obtained. Then according to , Measurement results and Edge semi-quantum communicator B can receive secret messages from edge semi-quantum communicator A. Edge semi-quantum communicator B uses a semi-quantum key transfer protocol to... Send to cloud center controller C;

[0093] As mentioned above, using And rule R, edge semi-quantum communicator A recovers the decoy particle and The method is characterized by, for one-time key If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position The i-th position;

[0094] As mentioned above, using And with rule R, the edge semi-quantum communicator B recovers the decoy particle and The method is characterized by, for one-time key If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position The i-th position;

[0095] As described above , Measurement results and Edge semi-quantum communicator A receives a secret message from edge semi-quantum communicator B. The method is characterized by, for The measurement results for The measurement results for The sequence of particles is composed of the first single particle. for The sequence consisting of the second single particle in the particle sequence is composed of It can be deduced The sequence consisting of the third single particle in the particle sequence , for The measurement results For edge controller B His conversation messages The result obtained after encryption is that edge semi-quantum communicator A is... and The news of the launch of edge semi-quantum communicator B ;

[0096] As mentioned above, edge semi-quantum communicator A is... and The news of the launch of edge semi-quantum communicator B The method is characterized by using Z-based pairs The measurement was performed, and the measurement result was: ,like The i-th and If the value of the i-th bit is equal, the message... If the i-th bit is 0, then The i-th and The values ​​of the i-th bit are not equal, message The i-th bit is 1;

[0097] As described above , Measurement results and Edge semi-quantum communicator B receives a secret message from edge semi-quantum communicator A. The method is characterized by, for The measurement results for The measurement results for The sequence of particles is composed of the first single particle. for The sequence consisting of the third single particle in the particle sequence is composed of... It can be deduced The sequence consisting of the second single particle in the particle sequence , for The measurement results For edge controller A His conversation messages The result obtained after encryption is that the edge semi-quantum communicator B is... and The news of the launch of edge semi-quantum communicator A ;

[0098] As mentioned above, the edge semi-quantum communicator B is... and The news of the launch of edge semi-quantum communicator A The method is characterized by using Z-based pairs The measurement was performed, and the measurement result was: ,like The i-th and If the value of the i-th bit is equal, the message... If the i-th bit is 0, then The i-th and The values ​​of the i-th bit are not equal, message The i-th bit is 1;

[0099] S42, Cloud Center Controller C received and ,right and A second eavesdropping detection is performed; if the error rate exceeds a threshold, the quantum dialogue ends. If the error rate is lower than the threshold value, proceed to step S14 of this embodiment; if the error rate is lower than the threshold value, proceed to step S43 of this embodiment.

[0100] S43, Update of two edge semi-quantum communicators , ;

[0101] S44 The cloud center controller C and two edge semi-quantum communicators update Then, proceed to step S3 of this embodiment.

[0102] Example 2

[0103] The cloud center controller C calculates the error rate in the eavesdropping detection process by measuring the received decoy particle sequence with the X basis, comparing the measurement result with the initial prepared decoy particle state, and counting the number of times the results are unequal. The error rate is the percentage of the number of unequal results out of the total number of decoy particle sequences.

[0104] Figure 2 A controllable semi-quantum dialogue method based on edge-cloud collaborative computing is described. The method utilizes edge-cloud collaborative computing to construct a secure dialogue method between two edge semi-quantum communicators A and B under the management of a cloud central controller C. The cloud central controller is also the trusted center. In this method, it shares a key with the two edge semi-quantum communicators with semi-quantum capabilities and participates in the dialogue eavesdropping detection process.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A controlled semi-quantum conversation method based on edge cloud collaborative computing, characterized by: The steps of the method are: S1: the cloud center controller and the two edge semi-quantum communicators share a key and an insertion decoy particle rule, and the two edge semi-quantum communicators share another key; S2: the cloud center controller prepares a sequence of three-particle entangled states, and disassembles it into three single-particle sequences; the cloud center controller and the two edge semi-quantum communicators share a key, and respectively insert decoy particles in the second and third sub-sequences according to the insertion rule of the decoy particles, and then send the sub-sequences of the three-particle entangled state sequence to the two edge semi-quantum communicators; The cloud center controller agrees that the two edge semi-quantum communicators communicate; the two edge semi-quantum communicators take out the decoy particles, encrypt their own messages with the single-particle sequences received respectively, and then insert the taken-out decoy particles into a new particle sequence according to the key information shared by the two edge semi-quantum communicators and the decoy particle insertion rule, and send it to the other party respectively; S3: the two edge semi-quantum communicators send the decoy particles to the cloud center controller for eavesdropping detection, and then the two edge semi-quantum communicators measure the message encrypted by the other edge semi-quantum communicator according to the measurement results of the particle sequence sent by the cloud center controller, and decrypt the message sent by the communication party from the measurement results of the cloud center controller on the particle sequence.

2. The controlled semi-quantum conversation method based on edge-cloud collaborative computing according to claim 1, characterized in that: The specific steps of step S1 are: S101, define the cloud center controller as cloud center controller C, and the two edge semi-quantum communicators as edge semi-quantum communicator A and edge semi-quantum communicator B respectively; The cloud center controller C shares a one-time pad binary bit string key with the length of with the edge semi-quantum communicator A and the edge semi-quantum communicator B through a classical channel by a semi-quantum key distribution protocol respectively The edge semi-quantum communicator A and the edge semi-quantum communicator B share a one-time pad binary bit string key with the length of through a classical channel respectively ; Cloud center controller C sets the number of quantum dialogues. The initial value is 0, that is ; S102, the cloud center controller C shares a hash function with the two edge semi-quantum communicators through a classical channel , a decoy particle insertion rule R; represents a binary bit string of arbitrary length as input of the hash function, and the output is a binary bit string of length n.

3. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 2, characterized in that: The specific steps of step S2 are: S201, Cloud Center Controller C preparation length is of A state sequence, and a length of of The three-particle sequence is broken down into lengths. single-particle sequence , and ; Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into respectively get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ;Will Send a semi-quantum key distribution protocol to edge semi-quantum communicator A, and send a classical channel to semi-quantum communicator A. exist The position in the middle; Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into respectively get Then the length is Deceptive particles Insert into After the last particle, a length of [missing information] was obtained. The set of particles ;Will Send the message to edge semi-quantum communicator B using a semi-quantum key distribution protocol, and send it back to semi-quantum communicator B using a classical channel. exist The position in the middle; , is an arbitrary positive integer, and is much larger than i.e. ; S202, the cloud center controller C measures the particle sequence using the Z basis and publishes the measurement results to the edge semi-quantum communicator A and the edge semi-quantum communicator B respectively and enters step S3.

4. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 3, characterized in that: The decoy particles and The set of particles is generated randomly from the Z basis and the X basis respectively The set of particles is generated randomly from the Z basis and the X basis respectively and The set of particles is generated randomly from the Z basis and the X basis respectively and The set of particles is generated randomly from the Z basis and the X basis respectively The set of particles is generated randomly from the Z basis and the X basis respectively and The set of particles is generated randomly from the Z basis and the X basis respectively wherein the Z group is , the X group is , , ; Cloud center controller C will have a length of of The three-particle sequence is broken down into lengths. single-particle sequence , and , with a length of of Each of the three-particle sequences The particle was split into three particles, and The first particle forms a set ,Will The second particle forms a set ,Will The second particle forms a set ; Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into respectively get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get , Cloud center controller C uses a key And the decoy particle insertion rule R, with a length of Deceptive particles Insert into respectively get For one-time secret If the i-th position, Then in Insertion of the i-th particle The i-th decoy particle ,like Then in Insert after the i-th particle The i-th decoy particle ,exist Insert A deceptive particle get ; wherein denotes the right arrow, denotes the state in which the first particle is, denotes the state in which the second and third particles are, denotes the state in which the first, second and third particles are; ; 。 5. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 1, characterized in that: The eavesdropping detection step in step S3 is: S301, the edge semi-quantum correspondent A receives , from , picks out , restores , then rearranges , the particle order in , sends to the cloud center controller C with the semi-quantum key distribution protocol, sends the rearranged order to the cloud center controller C with the classical channel, and then sends and the decoy particle insertion rule R to , picks out the decoy particle in , and restores ; Edge semi-quantum communicator A uses The decoy particle insertion rule R will Selecting decoy particles and restore For one-time secret If the i-th position, ,but The Position is a decoy particle The i-th position, and The Position If the i-th position, ,but The Position The i-th position, The Position is a decoy particle The i-th position; S302, the edge semi-quantum correspondent B receives , from , picks out , restores , then rearranges , the particle order in , sends to the cloud center controller C with the semi-quantum key distribution protocol, sends the rearranged order to the cloud center controller C with the classical channel, and then picks out the decoy particles in and with the decoy particle insertion rule R , and restores ; Edge semi-quantum communicator B uses and the decoy particle insertion rule R will pick out decoy particles and recover out ; for one-time pad , if , then the i-th bit of is the i-th bit of the decoy particle , and the i-th bit of is the i-th bit of , if , then the i-th bit of is the i-th bit of , the i-th bit of is the i-th bit of the decoy particle ; S303, the cloud center controller receives and , according to the rearrangement order sent by the edge semi-quantum controller A and the edge semi-quantum controller B, respectively restores and , performs eavesdropping detection, if the error rate exceeds the threshold value, ends the quantum conversation, and returns to step S2, if the error rate is lower than the threshold value, executes step S304.

6. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 1, characterized in that: The step of encrypted conversation in step S3 is: S304, the edge semi-quantum controller A and the edge semi-quantum controller B respectively send a communication request to the cloud center controller C, if the cloud center controller C does not agree, the current dialogue process is terminated, or step S304 is re-executed, if the cloud center controller C agrees the request, then S305 is executed. S305, Edge Semi-Quantum Communicator A using Z-based Measurement And record the measurement results. Then, the same was prepared using Z-based methods. Then edge controller A used His conversation messages Encryption is performed to obtain ,Will Use shared keys And the decoy particle insertion rule R re-insertion get ,Will Send it to edge semi-quantum communicator B using a semi-quantum key distribution protocol; Edge semi-quantum communicator B uses Z-based measurements And record the measurement results. Prepare the same using Z-based Edge controller B uses His conversation messages Encryption is performed to obtain ,Will Use shared keys And the decoy particle insertion rule R re-insertion get ,Will Send the semi-quantum key distribution protocol to edge semi-quantum communicator A and execute step S306.

7. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 6, characterized in that: The edge controller A uses the conversation message to encrypt to obtain , if the i-th bit of the conversation message is 0, the edge controller A measures the i-th particle of in the Z basis, prepares a particle in the same state to replace the i-th particle of ; if the i-th bit of the message is 1, the edge controller A measures the i-th particle of in the Z basis, prepares a particle in the opposite state to replace the i-th particle of , to obtain the encrypted particle sequence ; The edge controller B uses The conversation message of his is encrypted to get If the i-th bit of the conversation message is 0, the edge controller B measures the i-th particle of in Z base, prepares a particle in the same state to replace the i-th particle of ; if the i-th bit of the message is 1, the edge controller B measures the i-th particle of in Z base, prepares a particle in the opposite state to replace the i-th particle of , to get the encrypted particle sequence ; The edge semi-quantum communicator A inserts the rule and re-inserts the insertion rule R of the decoy particles to obtain , for one-time pad , if , the i-th decoy particle of is inserted before the i-th particle of , if , the i-th decoy particle of is inserted after the i-th particle of , to obtain ; The edge semi-quantum correspondent B will with and the insertion rule R of the decoy particles get , for one-time pad , for the i-th bit, if , insert , the i-th decoy particle before the i-th particle of , if , insert , the i-th decoy particle after the i-th particle of , get .

8. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 6, wherein: The step of decrypting the conversation in step S3 is: S306, the edge semi-quantum communicator A receives , first uses and the decoy particle insertion rule R to recover the decoy particle and , then uses the Z basis measurement to obtain the measurement result , then according to , and , the edge semi-quantum communicator A can obtain the secret message of the edge semi-quantum communicator B , the edge semi-quantum communicator sends to the cloud center controller C using the semi-quantum key transmission protocol; Edge semi-quantum communicator B received First use And the decoy particle insertion rule R, restore the decoy particle and Then use Z-base measurement The measurement results were obtained. Then according to , Measurement results and Edge semi-quantum communicator B can receive secret messages from edge semi-quantum communicator A. Edge semi-quantum communicator B uses a semi-quantum key transfer protocol to... Send to cloud center controller C; S307、use and the decoy particle insertion rule R, the edge semi-quantum communicant A recovers the decoy particle and , for one-time pad , if , then , the i-th bit of is the i-th bit of the decoy particle , and , the i-th bit of is the i-th bit of , if , then , the i-th bit of is the i-th bit of the decoy particle , and , the i-th bit of is the i-th bit of ; With and the decoy particle insertion rule R, the edge semi-quantum communicant B recovers the decoy particle and , for one-time pad , if , then , the i-th bit of is the i-th bit of the decoy particle , and , the i-th bit of is the i-th bit of , if , then , the i-th bit of is the i-th bit of the decoy particle , and , the i-th bit of is the i-th bit of ; According to , Measurement results and Edge semi-quantum communicator A receives a secret message from edge semi-quantum communicator B. , for The measurement results for The measurement results for The sequence of particles is composed of the first single particle. for The sequence consisting of the second single particle in the particle sequence is composed of It can be deduced The sequence consisting of the third single particle in the particle sequence , for The measurement results For edge controller B His conversation messages The result obtained after encryption is that edge semi-quantum communicator A is... and The news of the launch of edge semi-quantum communicator B ; Edge semi-quantum communicator A by and The news of the launch of edge semi-quantum communicator B Using Z-base pairs The measurement was performed, and the result was as follows: ,like The i-th and If the value of the i-th bit is equal, the message... If the i-th bit is 0, then The i-th and The values ​​of the i-th bit are not equal, message The i-th bit is 1; According to , measurement results and , the edge semi-quantum correspondent B obtains the secret message of the edge semi-quantum correspondent A , measurement results , measurement results , the sequence of the first single-particle group of the particle sequence , the sequence of the third single-particle group of the particle sequence , , it can be concluded that the sequence of the second single-particle group of the particle sequence , measurement results , the result obtained by the edge controller A using to encrypt his conversation message , and , the edge semi-quantum correspondent B concludes the message of the edge semi-quantum correspondent A; Edge semi-quantum correspondent B is from and , deduce the message of edge semi-quantum correspondent A , measure with Z basis , the measurement result is , if the value of the i-th bit of and the i-th bit of are equal, the i-th bit of the message is 0, if the value of the i-th bit of and the i-th bit of are not equal, the i-th bit of the message is 1; S308, the cloud center controller C receives and , performs secondary eavesdropping detection on and , if the error rate exceeds a threshold value, ends the quantum conversation, , returns to execute step S2, if the error rate is lower than the threshold value, executes the next step; S309, both edge semi-quantum communicators update , ; S310、 , the cloud center controller C and the two edge semi-quantum communicators update , step S3 is performed.

9. The controlled semi-quantum dialogue method based on edge-cloud collaborative computing according to claim 5 or 8, characterized in that: The threshold value initial value is any decimal less than or equal to 0.1.