A quantum communication method, edge device and quantum communication system

By erecting edge devices between the substation cloud management center and the terminal, the problem of resource shortage and difficulty in measuring the quantum key generation rate is solved, efficient and secure quantum communication is achieved, and the communication stability and reliability of the power system are improved.

CN118282654BActive Publication Date: 2024-08-23STATE GRID ZHEJIANG ELECTRIC POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410711171.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

When the substation cloud management center communicates with multiple substation terminals, resources are scarce and quantum key generation rate measurement is difficult, resulting in low communication security and efficiency.

Method used

Introduce edge devices to receive quantum keys from cloud management centers and terminals, and deploy photon measurement devices and clock synchronizers in edge devices to monitor the quantum key generation rate in real time, generate and deliver communication keys, and reduce the number of cloud management centers. The computational burden is reduced to achieve one-to-many quantum communication.

Benefits of technology

It effectively overcomes the problems of resource shortage and difficulty in rate measurement, improves the security and efficiency of quantum communication between the substation cloud management center and the terminal, and reduces the computing burden of the cloud management center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118282654B
    Figure CN118282654B
Patent Text Reader

Abstract

The present invention discloses a quantum communication method, an edge device and a quantum communication system, which are used for communication between a terminal and a cloud management center, including: the edge device receives a first key generated by the terminal, and receives a second key generated by the cloud management center; the edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key; the edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key, thereby realizing one-to-many quantum communication between the substation cloud management center and the substation terminal, overcoming the problems of shortage of system resources and difficulty in measuring quantum key rate when the substation cloud management center communicates with multiple substation terminals, and reducing the calculation burden of the substation cloud management center.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum communication technology, and in particular to a quantum communication method, edge device and quantum communication system. Background Art

[0002] In the power system, the communication between the substation cloud management center and the substation terminal is the core link of the power grid operation and management. These communications involve the transmission and exchange of a large amount of important data, including real-time monitoring of the status of power equipment, control of power distribution, and various information required for the management of the entire power grid operation. For example, the substation terminal may need to regularly send grid load data, voltage and frequency information, and alarm or fault information, while the substation cloud management center needs to receive and execute remote control instructions to ensure the smooth operation of the power system. In such a communication process, data security is crucial.

[0003] First, data leakage may expose sensitive information, such as the real-time status and operating parameters of power equipment. Once this information is obtained by malicious parties, it may be used to attack or damage the power system, such as interfering with or destroying key equipment. Secondly, data tampering may lead to misleading operations, such as modifying the operating parameters or control instructions of power equipment, thereby causing instability or even collapse of the power system. Finally, unauthorized access may allow malicious parties to gain control of the power system, thereby launching destructive attacks on the power grid and even threatening the continuity and security of power supply.

[0004] In order to ensure the security of communication, traditional encryption algorithms are usually used to encrypt and decrypt data. However, with the continuous development of computing technology, traditional encryption algorithms are facing increasingly serious security threats, especially in the face of supercomputing capabilities such as future quantum computers. The encryption strength of traditional encryption algorithms may not be able to withstand attacks brought by future quantum computers, so it is necessary to find a more secure and reliable encryption technology to protect the communication security of the power system.

[0005] As a secure communication method based on physical principles, quantum key distribution technology QKD provides a new solution to solve the communication security of power systems. QKD uses the principles of quantum mechanics to achieve secure key distribution between quantum bits, thereby providing absolutely secure communication guarantees. Unlike traditional encryption algorithms, the security of QKD technology does not rely on computational complexity, but is based on the basic principles of quantum mechanics.

[0006] In the power system, a large amount of data transmission involves various key operations, including power generation, transmission, distribution, and equipment monitoring and control. These operations are crucial to the stable operation of the power system, and the security of communication directly affects the reliability and stability of the power system. Whether it is monitoring the power production process, regulating the power grid load, or real-time control of the system operation status, QKD technology provides a strong guarantee for communication.

[0007] However, in the existing substation quantum communication scenario, if the substation cloud management center needs to conduct quantum communication with the substation terminal, the cloud management center needs to negotiate quantum keys with each substation terminal. However, when conducting quantum key negotiation with a large number of substation terminals, the communication speed is slow due to the limited computing resources such as the performance of the substation cloud management center and the deployed quantum key generation equipment. At the same time, it is impossible to know the generation rate of quantum keys. Summary of the invention

[0008] The present invention provides a quantum communication method, an edge device and a quantum communication system to solve the technical problems of shortage of communication resources and difficulty in measuring the generation rate of quantum keys when a substation cloud management center communicates with multiple substation terminals.

[0009] In order to solve the above technical problems, an embodiment of the present invention provides a quantum communication method for communication between a terminal and a cloud management center, including:

[0010] The edge device receives the first key generated by the terminal, and receives the second key generated by the cloud management center;

[0011] The edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key;

[0012] The edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key.

[0013] In this way, by setting up edge devices between the substation cloud management center and the substation terminal, the edge devices receive quantum keys from the substation cloud management center and the substation terminal respectively. Using edge devices as intermediate nodes enables the substation cloud management center and the substation terminal to generate communication keys for communication, which overcomes the problem of system resource shortage when the substation cloud management center communicates with the substation terminal and reduces the computing burden of the substation cloud management center.

[0014] As a preferred solution, the edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key, specifically:

[0015] The first communication key is determined according to the following formula:

[0016]

[0017] in, The first communication key generated by the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm and received by the edge device.

[0018] In this way, the edge device will use the first key The encrypted data is sent to the substation cloud management center, which executes the KDF algorithm to generate the first communication key. KDF key derivation can use key derivation functions such as PBKDF2, Bcrypt, Scrypt and Argon2. These key derivation functions ensure the security of KDF by using salting, multiple iterations, etc.

[0019] As a preferred solution, the edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key, specifically:

[0020] The second communication key is determined according to the following formula:

[0021]

[0022]

[0023] in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, A third key is generated for the edge device based on the first key and the second key.

[0024] In this way, both the substation cloud management center and the substation terminal obtain the communication keys required for encrypted communication. During the quantum key negotiation process, the edge device receives two different pairs of quantum keys generated by the substation cloud management center and the substation terminal respectively. Since these are two different pairs of quantum keys, direct communication cannot be performed through quantum keys, so key derivation is required. KDF key derivation can use key derivation functions such as PBKDF2, Bcrypt, Scrypt and Argon2. These key derivation functions ensure the security of KDF by using salting, multiple iterations, etc.

[0025] As a preferred solution, it is also used for communication between multiple terminals and a cloud management center. Multiple edge devices are also connected between the multiple terminals and the cloud management center, and the multiple terminals are connected to corresponding edge devices.

[0026] In this way, by setting up multiple edge devices between the substation cloud management center and multiple substation terminals, multiple edge devices negotiate quantum keys with the substation cloud management center and the corresponding substation terminals respectively, thus realizing one-to-many quantum communication between the substation cloud management center and the substation terminals, and making up for the problem of shortage of system resources when the substation cloud management center communicates with multiple substation terminals.

[0027] As a preferred solution, the edge device calculates the generation rate of the communication key based on the received data of the first key and the second key.

[0028] In this way, the edge device has built-in photon measurement equipment and clock synchronizer and other devices, which can measure the average number of photons, overcoming the technical problem of the difficulty in measuring the generation rate of quantum keys when the substation cloud management center communicates with multiple substation terminals.

[0029] As a preferred solution, the edge device calculates the generation rate of the communication key according to the received data of the first key and the second key, specifically:

[0030] The communication key generation rate is determined according to the following formula:

[0031]

[0032]

[0033]

[0034]

[0035]

[0036]

[0037] in, is the rate at which quantum keys are generated within a certain period of time, The dark count rate represents the number of single-photon avalanches triggered per second under dark conditions. is the communication distance, For detection efficiency, is the attenuation coefficient, is the detection error rate of photons in the process of quantum key generation, is the entropy function.

[0038] In this way, by deploying devices such as photon measurement equipment and clock synchronizers in edge devices, the rate of quantum key generation can be monitored and tested in real time, overcoming the difficulty of measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals.

[0039] As a preferred solution, it also includes: the edge device encrypts and stores the generated third key, and uses and updates the key in the form of a key queue.

[0040] In this way, the quantum key generated through quantum key negotiation and the communication key derived from KDF are encrypted and stored, and a key queue is generated to facilitate batch management of keys.

[0041] As a preferred solution, it also includes: before the edge device establishes a communication connection with the cloud management center, a secure identity authentication is performed.

[0042] In this way, the substation cloud management center performs secure identity authentication on the substation terminal and edge device through identity identification and other information. The OKD network composed of trusted relays is used to establish QKD links between trusted network nodes through QKD networking. The QKD network includes classical links and quantum links to ensure the reliability of quantum key negotiation.

[0043] An embodiment of the present invention further provides an edge device for communication between a terminal and a cloud management center, the edge device comprising a receiving module, a first sending module and a second sending module;

[0044] The receiving module is used to receive a first key generated by the terminal and a second key generated by the cloud management center;

[0045] The first sending module is used to send the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key;

[0046] The second sending module is used to generate a third key based on the first key and the second key, and send the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key.

[0047] As a preferred solution, the first sending module is specifically:

[0048] The first communication key is determined according to the following formula:

[0049]

[0050] in, The first communication key generated by the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm and received by the edge device.

[0051] As a preferred solution, the second sending module is specifically:

[0052] The second communication key is determined according to the following formula:

[0053]

[0054]

[0055] in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, A third key is generated for the edge device based on the first key and the second key.

[0056] As a preferred solution, it is also used for communication between multiple terminals and a cloud management center. Multiple edge devices are also connected between the multiple terminals and the cloud management center, and the multiple terminals are connected to corresponding edge devices.

[0057] As a preferred solution, the receiving module further includes a measuring unit, and the measuring unit is used to calculate the generation rate of the communication key according to the received data of the first key and the second key.

[0058] As a preferred solution, the measuring unit is specifically:

[0059] The communication key generation rate is determined according to the following formula:

[0060]

[0061]

[0062]

[0063]

[0064]

[0065]

[0066] in, is the rate at which quantum keys are generated within a certain period of time, The dark count rate represents the number of single-photon avalanches triggered per second under dark conditions. is the communication distance, For detection efficiency, is the attenuation coefficient, is the detection error rate of photons in the process of quantum key generation, is the entropy function.

[0067] As a preferred solution, the second sending module further includes a storage unit, and the storage unit is used to encrypt and store the generated third key, and use and update the key in the form of a key queue.

[0068] An embodiment of the present invention also provides a quantum communication system, including a cloud management center, multiple terminals and corresponding multiple edge devices, and the edge devices execute the above-mentioned quantum communication method.

[0069] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0070] 1. An embodiment of the present invention provides a quantum communication method, in which an edge device is set up between a substation cloud management center and a substation terminal, and the edge device receives quantum keys from the substation cloud management center and the substation terminal respectively, and transmits them to the substation cloud management center and the substation terminal to generate communication keys for communication, thereby reducing the computational burden of the substation cloud management center. The present invention well realizes one-to-many quantum communication between the substation cloud management center and the substation terminal, and overcomes the problem of shortage of system resources of the substation cloud management center when communicating with multiple substation terminals.

[0071] 2. An embodiment of the present invention provides a quantum communication method, which monitors and tests the rate of quantum key generation in real time by deploying clock synchronizers and photon measurement equipment in edge devices, thereby overcoming the problem of difficulty in measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of a flow chart of a quantum communication method provided by an embodiment of the present invention;

[0073] Figure 2A schematic diagram of an edge device provided by an embodiment of the present invention;

[0074] Figure 3 A schematic diagram of a quantum communication system provided by an embodiment of the present invention;

[0075] The reference numerals of the drawings in the specification are as follows:

[0076] 10. Receiving module, 11. Verifying unit, 12. Receiving unit, 13. Measuring unit, 20. First sending module, 30. Second sending module, 31. Second sending unit, 32. Storage unit. DETAILED DESCRIPTION

[0077] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0078] Embodiment 1:

[0079] The inventors discovered that edge computing is a new computing model that transfers data processing and analysis functions from the traditional centralized cloud computing architecture to a place closer to the source of data generation, that is, on edge devices. Currently, edge computing has broad application prospects in the fields of Internet of Things, industrial automation, smart cities, etc.

[0080] By introducing multiple edge devices, the present invention can greatly reduce the pressure of one-to-many quantum key negotiation between the substation cloud management center and the substation terminal, so that the substation cloud management center can invest limited resources more in substation service management and scheduling, thereby improving the stability, availability and security of the substation system.

[0081] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of a quantum communication method provided in an embodiment of the present invention. An embodiment of the present invention provides a quantum communication method for communication between a terminal and a cloud management center, including:

[0082] S1. The edge device performs security identity authentication and establishes a communication connection with the cloud management center and the terminal, receives the first key generated by the terminal, and receives the second key generated by the cloud management center. The edge device calculates the generation rate of the communication key based on the received first key and second key data, specifically:

[0083] S1.1. The substation edge device performs security identity authentication and establishes communication connections with the cloud management center and the terminal. Specifically:

[0084] The edge device sends a request message to the authenticator of the cloud management center to start authentication. The edge device uses the identifier Identify, the group GID and the pre-generated random number RU as input, performs a hash operation to obtain the first authentication code M0; the edge device sends the random number RU, the group GID and the authentication code M0 to the authenticator.

[0085] The authenticator encapsulates the random number RU, group GID and authentication code M0 into the Radius-Access-Request data packet, and sends the encapsulated Radius-Access-Request data packet to the Radius server; after receiving the Radius-Access-Request data packet from the authenticator, the Radius server determines the group of the edge device through the group GID, finds the identifier yk of each edge device in the group corresponding to the group GID, and uses RU, Identify-k and GID to calculate the second authentication code Mk of each edge device one by one.

[0086] Then compare whether the first authentication code M0 and the second authentication code Mk are equal. If they are equal, the true identity of the edge device is confirmed, and the query of other users in the group is stopped. The Radius server executes the subsequent key generation process; if after searching all users in the group corresponding to the GID, it is found that M0 and Mk are not equal, the subsequent authentication process is stopped and the subsequent key generation process is not performed.

[0087] S1.2. The substation terminal generates a quantum random number for generating a quantum key. The quantum random number is generated by a quantum random number generator based on the amplified self-radiation mechanism. The generated random number meets the randomness test of GM / T0005-2021, NIST-SP800-22, etc. And according to the BB48 or B92 protocol, the first key is generated through the QKD network, sent to the edge device, and the first key is encrypted and stored in the first key queue.

[0088] The QKD networking module uses an OKD network composed of trusted relays to establish a QKD link between trusted network nodes. The QKD network includes classical links and quantum links to ensure the reliability of quantum key negotiation. In the QKD network, two trusted nodes negotiate security keys through the OKD link. The communicating parties use the security keys between the trusted nodes segment by segment to perform encryption and decryption steps on the sent information in sequence, ultimately achieving secure transmission of information between substation terminals, edge devices, and the quantum key cloud platform.

[0089] The substation cloud management center generates quantum random numbers for generating quantum keys. The quantum random numbers are generated using a quantum random number generator based on the amplified self-radiation mechanism, and the second key is generated through the QKD network according to protocols such as BB48 or B92, sent to the edge device, and encrypted and stored in the second key queue.

[0090] S1.3. The edge device has built-in photon measurement equipment and clock synchronizer, etc., and the photon measurement equipment is used to measure the average number of photons in the quantum key generation process. , combined with other parameters and based on the received data of the first key and the second key, the generation rate of the communication key is calculated, specifically:

[0091] The communication key generation rate is determined according to the following formula:

[0092]

[0093]

[0094]

[0095]

[0096]

[0097]

[0098] in, is the rate at which quantum keys are generated within a certain period of time, is the average number of photons, is the dark count rate, which indicates the number of single-photon avalanches triggered per second under dark conditions. Represents the communication distance, It represents the detection efficiency, represents the attenuation coefficient, represents the detection error rate of photons in the process of quantum key generation, is the entropy function.

[0099] Further, The dark count rate indicates the number of single-photon avalanches triggered per second under dark conditions. This value can be measured by a photon measurement device. Represents the attenuation coefficient, whose value is .

[0100] S2. The edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key, specifically:

[0101] The first communication key is determined according to the following formula:

[0102]

[0103] in, The first communication key generated by the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device. KDF key derivation can use key derivation functions such as PBKDF2, Bcrypt, Scrypt and Argon2. These key derivation functions ensure the security of KDF by using salting, multiple iterations, etc.

[0104] S3. The edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key, specifically:

[0105] The second communication key is determined according to the following formula:

[0106]

[0107]

[0108] in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, The third key generated by the edge device based on the first key and the second key. KDF key derivation can use key derivation functions such as PBKDF2, Bcrypt, Scrypt and Argon2. These key derivation functions ensure the security of KDF by using salting, multiple iterations, etc.

[0109] A slightly more complicated approach is to "add salt" and derive the key through HMAC (salt, msg, SHA256). The salt here is a random number called "salt". The salt needs to be stored with the key so that the same key can be derived from the password again later.

[0110] At this point, the substation cloud management center and the substation terminal have obtained the same communication key sk, that is, the substation cloud management center generates the communication key , the terminal generates the corresponding communication key , the substation cloud management center and the substation terminal use the key for encrypted communication.

[0111] The edge device encrypts and stores the generated third key, and uses and updates the key in the form of a key queue.

[0112] In general, the embodiments of the present invention have the following beneficial effects:

[0113] This embodiment has two advantages. By setting up edge devices between the substation cloud management center and the substation terminal, the edge devices receive quantum keys from the substation cloud management center and the substation terminal respectively. Using edge devices as intermediate nodes enables the substation cloud management center and the substation terminal to generate communication keys for communication, which overcomes the problem of system resource shortage when the substation cloud management center communicates with the substation terminal and reduces the computing burden of the substation cloud management center.

[0114] By deploying clock synchronizers and photon measurement equipment in edge devices, the rate of quantum key generation can be monitored and tested in real time, overcoming the difficulty of measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals.

[0115] Embodiment 2:

[0116] Please refer to Figure 1 , Figure 1 A flow chart of a quantum communication method provided for an embodiment of the present invention, this embodiment is consistent with embodiment 1, except that a quantum communication method can be used for communication between multiple terminals and a cloud management center, multiple terminals are further connected to the cloud management center with multiple edge devices, and multiple terminals are connected to corresponding edge devices.

[0117] In general, the embodiments of the present invention have the following beneficial effects:

[0118] A quantum communication method is provided, in which multiple edge devices are set up between a substation cloud management center and multiple substation terminals, and multiple edge devices respectively receive quantum keys from the substation cloud management center and multiple corresponding substation terminals, and transmit them to the substation cloud management center and multiple substation terminals to generate communication keys for communication, thereby reducing the computational burden of the substation cloud management center. The present invention well realizes one-to-many quantum communication between the substation cloud management center and the substation terminals, and overcomes the problem of shortage of system resources of the substation cloud management center when communicating with multiple substation terminals.

[0119] By deploying clock synchronizers and photon measurement equipment in edge devices, the rate of quantum key generation can be monitored and tested in real time, overcoming the difficulty of measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals.

[0120] Embodiment three:

[0121] Please refer to Figure 2 , Figure 2 A schematic diagram of an edge device provided in an embodiment of the present invention. The embodiment of the present invention provides an edge device for communication between a terminal and a cloud management center. The edge device includes a receiving module 10, a first sending module 20 and a second sending module 30;

[0122] Among them, the receiving module 10 is used to perform security identity authentication, establish a communication connection with the cloud management center and the terminal, receive the first key generated by the terminal, and receive the second key generated by the cloud management center. The edge device calculates the generation rate of the communication key based on the received first key and second key data, and specifically includes a verification unit 11, a receiving unit 12 and a measurement unit 13:

[0123] The verification unit 11 is specifically that the edge device sends a request message to the authenticator of the cloud management center to start identity authentication. The edge device uses the identifier Identify, the group GID and the pre-generated random number RU as input, performs a hash operation to obtain the first authentication code M0; the edge device sends the random number RU, the group GID and the authentication code M0 to the authenticator.

[0124] The authenticator encapsulates the random number RU, group GID and authentication code M0 into the Radius-Access-Request data packet, and sends the encapsulated Radius-Access-Request data packet to the Radius server; after receiving the Radius-Access-Request data packet from the authenticator, the Radius server determines the group of the edge device through the group GID, finds the identifier yk of each edge device in the group corresponding to the group GID, and uses RU, Identify-k and GID to calculate the second authentication code Mk of each edge device one by one.

[0125] Then compare whether the first authentication code M0 and the second authentication code Mk are equal. If they are equal, the true identity of the edge device is confirmed, and the query of other users in the group is stopped. The Radius server executes the subsequent key generation process; if after searching all users in the group corresponding to the GID, it is found that M0 and Mk are not equal, the subsequent authentication process is stopped and the subsequent key generation process is not performed.

[0126] The receiving unit 12 is specifically that the substation terminal generates a quantum random number for generating a quantum key. The quantum random number is generated by a quantum random number generator based on the amplified self-radiation mechanism. The generated random number meets the randomness detection of national secrets GM / T0005-2021, NIST-SP800-22, etc. And according to the BB48 or B92 protocol, the first key is generated through the QKD network, sent to the edge device, and the first key is encrypted and stored in the first key queue.

[0127] The QKD networking module uses an OKD network composed of trusted relays to establish a QKD link between trusted network nodes. The QKD network includes classical links and quantum links to ensure the reliability of quantum key negotiation. In the QKD network, two trusted nodes negotiate security keys through the OKD link. The communicating parties use the security keys between the trusted nodes segment by segment to perform encryption and decryption steps on the sent information in sequence, ultimately achieving secure transmission of information between substation terminals, edge devices, and the quantum key cloud platform.

[0128] The substation cloud management center generates quantum random numbers for generating quantum keys. The quantum random numbers are generated using a quantum random number generator based on the amplified self-radiation mechanism, and the second key is generated through the QKD network according to protocols such as BB48 or B92, sent to the edge device, and encrypted and stored in the second key queue.

[0129] The measuring unit 13 specifically determines the generation rate of the communication key according to the following formula:

[0130]

[0131]

[0132]

[0133]

[0134]

[0135]

[0136] in, is the generation rate of communication keys within a certain period of time, is the dark count rate, which indicates the number of single-photon avalanches triggered per second under dark conditions. Represents the communication distance, It represents the detection efficiency, represents the attenuation coefficient, represents the detection error rate of photons in the process of quantum key generation, is the entropy function.

[0137] Further, The dark count rate indicates the number of single-photon avalanches triggered per second under dark conditions. This value can be measured by a photon measurement device. Represents the attenuation coefficient, whose value is .

[0138] The first sending module 20 is used to send the first key to the cloud management center so that the cloud management center generates a first communication key based on the first key, specifically:

[0139] The first communication key is determined according to the following formula:

[0140]

[0141] in, The first communication key generated by the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm and received by the edge device.

[0142] The second sending module 30 is used to generate a third key based on the first key and the second key, and send the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key, and specifically includes a second sending unit 31 and a storage unit 32.

[0143] The second sending unit 31 is specifically configured to determine the second communication key according to the following formula:

[0144]

[0145]

[0146] in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, The third key generated by the edge device based on the first key and the second key. KDF key derivation can use key derivation functions such as PBKDF2, Bcrypt, Scrypt and Argon2. These key derivation functions ensure the security of KDF by using salting, multiple iterations, etc.

[0147] At this point, the substation cloud management center and the substation terminal have obtained the same communication key sk, that is, the substation cloud management center generates the communication key , the terminal generates the corresponding communication key , the substation cloud management center and the substation terminal use the key for encrypted communication.

[0148] In the storage unit 32, the edge device encrypts and stores the generated third key, and uses and updates the key in the form of a key queue.

[0149] In general, the embodiments of the present invention have the following beneficial effects:

[0150] By setting up edge devices between the substation cloud management center and the substation terminal, the edge devices receive quantum keys from the substation cloud management center and the substation terminal respectively. Using edge devices as intermediate nodes enables the substation cloud management center and the substation terminal to generate communication keys for communication, which overcomes the problem of system resource shortage when the substation cloud management center communicates with the substation terminal and reduces the computing burden of the substation cloud management center.

[0151] By deploying clock synchronizers and photon measurement equipment in edge devices, the rate of quantum key generation can be monitored and tested in real time, overcoming the difficulty of measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals.

[0152] Embodiment 4:

[0153] Please refer to Figure 3 , Figure 3 A schematic diagram of a quantum communication system provided in an embodiment of the present invention. An embodiment of the present invention provides a quantum communication system, including a cloud management center, multiple terminals and corresponding multiple edge devices, and the edge devices execute a quantum communication method provided in embodiment one or two.

[0154] The substation terminal generates a first key through QKD networking based on protocols such as BB48 or B92, sends it to the edge device, and encrypts and stores the first key in the first key queue.

[0155] The substation cloud management center generates a second key through QKD networking based on protocols such as BB48 or B92, sends it to the edge device, and encrypts and stores the second key in the second key queue.

[0156] In general, the embodiments of the present invention have the following beneficial effects:

[0157] A quantum communication system is provided. In the method of setting up multiple edge devices between a substation cloud management center and multiple substation terminals, the substation cloud management center and multiple substation terminals send generated quantum keys to the edge devices, and the multiple edge devices respectively receive the quantum keys from the substation cloud management center and multiple corresponding substation terminals, and exchange and transmit them to the substation cloud management center and multiple substation terminals to generate communication keys for communication, thereby reducing the computational burden of the substation cloud management center. The present invention well realizes one-to-many quantum communication between the substation cloud management center and the substation terminals, and overcomes the problem of shortage of system resources when the substation cloud management center communicates with multiple substation terminals.

[0158] By deploying clock synchronizers and photon measurement equipment in edge devices, the rate of quantum key generation can be monitored and tested in real time, overcoming the difficulty of measuring the quantum key rate when the substation cloud management center communicates with multiple substation terminals.

[0159] Embodiment five:

[0160] An embodiment of the present invention provides a storage medium on which a computer program is stored. The computer program is called and executed by a computer to implement a quantum communication method as described above.

[0161] Among them, a quantum communication method, if implemented in the form of a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0162] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A quantum communication method, It is characterized in that Used for communication between the terminal and the cloud management center, including: The edge device receives the first key generated by the terminal, and receives the second key generated by the cloud management center; The edge device calculates the generation rate of the communication key according to the received data of the first key and the second key; the generation rate of the communication key is calculated as follows: The communication key generation rate is determined according to the following formula: in, is the rate at which quantum keys are generated within a certain period of time, is the average number of photons, For error correction efficiency, The dark count rate represents the number of single-photon avalanches triggered per second under dark conditions. is the communication distance, For detection efficiency, is the attenuation coefficient, is the detection error rate of photons in the process of quantum key generation, is the entropy function; The edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key; The edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key.

2. A quantum communication method as claimed in claim 1, It is characterized in that The edge device sends the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key, specifically: The first communication key is determined according to the following formula: in, The first communication key generated for the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm and received by the edge device.

3. A quantum communication method as claimed in claim 1, It is characterized in that The edge device generates a third key based on the first key and the second key, and sends the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key, specifically: The second communication key is determined according to the following formula: in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, A third key is generated for the edge device based on the first key and the second key.

4. A quantum communication method according to any one of claims 1 to 3, It is characterized in that It is also used for communication between multiple terminals and a cloud management center. Multiple edge devices are connected between the multiple terminals and the cloud management center, and the multiple terminals are connected to corresponding edge devices.

5. A quantum communication method as claimed in claim 1, It is characterized in that Also includes: The edge device encrypts and stores the generated third key, and uses and updates the key in the form of a key queue.

6. An edge device, It is characterized in that Used for communication between the terminal and the cloud management center, the edge device includes a receiving module, a first sending module and a second sending module; The receiving module is used to receive a first key generated by the terminal and a second key generated by the cloud management center; The receiving module further includes a measuring unit, the measuring unit being configured to calculate a generation rate of the communication key according to the received data of the first key and the second key; The measuring unit is specifically: The communication key generation rate is determined according to the following formula: in, is the rate at which quantum keys are generated within a certain period of time, is the average number of photons, For error correction efficiency, The dark count rate represents the number of single-photon avalanches triggered per second under dark conditions. is the communication distance, For detection efficiency, is the attenuation coefficient, is the detection error rate of photons in the process of quantum key generation, is the entropy function; The first sending module is used to send the first key to the cloud management center, so that the cloud management center generates a first communication key based on the first key; The second sending module is used to generate a third key based on the first key and the second key, and send the third key to the terminal, so that the terminal generates a second communication key based on the third key, and performs quantum communication with the cloud management center based on the first communication key and the second communication key.

7. An edge device as claimed in claim 6, It is characterized in that The first sending module is specifically: The first communication key is determined according to the following formula: in, The first communication key generated by the cloud management center, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm and received by the edge device.

8. An edge device as claimed in claim 6, It is characterized in that The second sending module is specifically: The second communication key is determined according to the following formula: in, a second communication key generated for the terminal, The first key generated by the terminal through the KDF algorithm received by the edge device, The second key generated by the cloud management center through the KDF algorithm received by the edge device, A third key is generated for the edge device based on the first key and the second key.

9. An edge device according to any one of claims 6 to 8, It is characterized in that It is also used for communication between multiple terminals and a cloud management center. Multiple edge devices are connected between the multiple terminals and the cloud management center, and the multiple terminals are connected to corresponding edge devices.

10. An edge device as claimed in claim 6, It is characterized in that The second sending module also includes a storage unit, which is used to encrypt and store the generated third key, and use and update the key in the form of a key queue.

11. A quantum communication system, It is characterized in that It includes a cloud management center, multiple terminals and corresponding multiple edge devices, and the multiple edge devices execute a quantum communication method as described in any one of claims 1 to 5.