Power grid key management method and system based on quantum communication

By combining quantum key distribution and classical key generation modules, and using timestamp-synchronized storage and asymmetric encryption algorithms, the security and reliability issues in power grid key management are solved, achieving efficient key management and multi-factor authentication, and improving the security and reliability of the power grid system.

CN118944863AActive Publication Date: 2024-11-12GUIZHOU POWER GRID CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410839889.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-11-12
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

Existing power grid key management methods suffer from security and reliability issues when facing the development of quantum computers. They have high qubit error rates, lack effective timestamp management and synchronization mechanisms, and have imperfect key storage and multi-factor authentication.

Method used

The quantum key distribution module generates and sends qubits, which are then stored synchronously using timestamps. The keys are then encrypted using a classical key generation module, and combined with asymmetric encryption algorithms and multi-factor authentication mechanisms to ensure the security and reliability of the keys.

Benefits of technology

It improves the overall security and reliability of the key management system, reduces the bit error rate of qubits, enables frequent key updates and multi-factor authentication, and enhances the security of the power grid system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944863A_ABST
    Figure CN118944863A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid key management method and system based on quantum communication, and relates to the technical field of key management, and the method comprises the steps: generating and transmitting quantum bits, and transmitting a timestamp to a quantum key storage module and a classic key generation module; and according to the measurement result of the received quantum bit, the generation module encrypts the key plaintext to generate a key, and according to the index, the key reading module obtains the key from the key storage module and performs multiple identity verification. According to the invention, the quantum key distribution module generates and sends quantum sub-bits, and transmits corresponding timestamps to the quantum key storage module and the classical key generation module, so that the timestamp synchronism of keys is ensured; and according to the measurement result of the received quantum bit, the generation module encrypts the key plaintext to generate the key, acquires the key from the key storage module according to the index, and performs multiple identity verification, so that the security in the key use process is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of key management, and in particular to a power grid key management method and system based on quantum communication. Background Art

[0002] As the process of intelligentization and informatization of power grids continues to advance, the security of power grids has attracted increasing attention. Traditional power grid key management methods mainly rely on classical encryption technologies, such as symmetric encryption and asymmetric encryption. However, in the face of the growing computing power and the development prospects of quantum computers, classical encryption technologies are gradually showing their security limitations. In particular, the development of quantum computers poses a serious threat to the existing public key encryption system. In order to meet this challenge, quantum communication technology, as an emerging encryption method, has gradually become a research hotspot with its unique advantages in information security. Quantum communication technology is based on the principles of quantum mechanics and uses the characteristics of quantum states such as non-cloning and quantum entanglement to provide unconditionally secure key distribution, namely quantum key distribution (QKD). The introduction of QKD is expected to fundamentally solve the security problems faced by traditional encryption technology.

[0003] Although quantum communication technology provides an unconditionally secure means of key distribution in theory, in practical applications, existing technologies still have some shortcomings. First, the stability and reliability of quantum key distribution systems are limited by the existing technical level. Quantum bits are susceptible to environmental noise and equipment instability during transmission, resulting in a high quantum bit error rate, which affects the efficiency and security of key generation. Secondly, the existing quantum key management methods lack effective timestamp management and synchronization mechanisms when integrated with power grid systems, which is particularly important in large-scale power grid applications. In addition, existing technologies still need to be improved in key storage and access control, and the secure storage of keys and multiple authentication mechanisms are not yet perfect.

[0004] Therefore, a power grid key management method and system based on quantum communication is proposed, aiming to address the above-mentioned technical deficiencies, solve the technical difficulties of key management and multiple identity authentication, and significantly improve the overall security level of the power grid system. Summary of the invention

[0005] In view of the security and reliability issues of existing power grid key management methods when facing the development of quantum computers, the present invention is proposed.

[0006] Therefore, the problem to be solved by the present invention is how to improve the overall security and reliability of the power grid key management system to cope with the security threats brought by the development of quantum computers and to solve the technical deficiencies of the existing quantum key distribution systems in practical applications.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In the first aspect, an embodiment of the present invention provides a power grid key management method based on quantum communication, which includes generating and sending quantum bits through a quantum key distribution module, and transmitting the corresponding timestamp to a quantum key storage module and a classical key generation module; receiving and storing quantum bits and corresponding timestamps in timestamp order through the quantum key storage module; according to the measurement result of the received quantum bits, encrypting the key plaintext to generate a key through the classical key generation module, and transmitting the key, timestamp and index to the key storage module; according to the index, the key reading module obtains the key from the key storage module and performs multiple identity authentication.

[0009] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, the quantum key distribution module includes the following steps: using a laser to generate amplitude and phase modulated quantum signals of a coherent state, and encoding quantum bits into continuous random variables. The specific formula is as follows:

[0010] |ψ>=cosθ|0>+e iφ sinθ|1>;

[0011] Here, ψ and φ are randomly chosen angles.

[0012] The modulated quantum signal is transmitted to the quantum key storage module through a public quantum channel, and the same laser source is used to generate a local oscillator signal; the received quantum signal and the local oscillator signal are interferometrically measured; the measurement result is compared with the modulation value of the quantum key distribution module, and some of the measurement results are exchanged through a public classical channel for error correction and privacy amplification. The specific formula is as follows:

[0013]

[0014] Where Q is the quantum bit error rate, N is the total number of quantum bits, and x i is the measurement result of receiving the quantum signal, y i is the measurement result of the local oscillator signal.

[0015] The quantum bits and corresponding timestamps are received and stored in the order of timestamps through the quantum key storage module, and transmitted to the classical key generation module.

[0016] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, the classical key generation module includes the following steps: obtaining quantum bits of the same length as the plaintext binary code of the key to be encrypted; performing an XOR operation on the quantum bits and the plaintext binary code bit by bit to obtain a first ciphertext. The specific formula is as follows:

[0017]

[0018] Among them, C 1 is the first ciphertext, P is the plaintext, K q Keys generated for quantum;

[0019] The first ciphertext is encrypted by an asymmetric encryption algorithm to generate a key, and the generated key, the corresponding timestamp and the index are transmitted to the key storage module.

[0020] The key storage module receives and stores the key, corresponding timestamp and index transmitted by the classic key generation module.

[0021] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, wherein: the asymmetric encryption algorithm is an RSA algorithm; the RSA algorithm includes the following steps: selecting a random integer lattice basis as a private key; perturbing the private key integer lattice basis by adding finite noise to generate a perturbed integer lattice basis as a public key; encoding the first ciphertext as a point in the integer lattice, and using the public key basis to add structured noise around the first ciphertext; the decryptor uses the private key basis to find the point of the integer lattice containing the noise in the integer lattice, and outputs the point containing the noise as the key, and the relevant formula is as follows:

[0022] C 2 =A·s+a(mod q);

[0023] Among them, C 2 is the key, A is the public key matrix, s is the encoded information, a is the error vector, and q is the modulus.

[0024] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, the key reading module includes the following steps: authenticating the key requester through the key reading module; querying the key storage module to obtain the corresponding timestamp according to the index corresponding to the key requester's identity, and judging whether the key requester's identity matches the index; querying the corresponding quantum bit according to the timestamp in the quantum key storage module; decrypting the key using an asymmetric decryption algorithm to obtain the intermediate value of the key; performing an XOR operation on the intermediate value and the quantum bit obtained from the quantum key storage module to obtain a plaintext key; and sending the plaintext key to the key requester.

[0025] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, wherein: the identity authentication includes zero-knowledge proof, biometrics and behavior pattern authentication; the identity authentication includes, when the index and the identity of the key requester match, the quantum key storage module queries the corresponding quantum bit according to the timestamp corresponding to the index, decrypts the key through an asymmetric decryption algorithm, and uses the quantum bit and the key to perform an XOR operation to obtain the key ciphertext; when the index and the identity of the key requester do not match, the key request is rejected, and the number of unauthorized accesses is recorded; if the number of unauthorized accesses is greater than the predicted number, a security alarm is triggered.

[0026] As a preferred solution of the power grid key management method based on quantum communication described in the present invention, the relevant formula for identity authentication is as follows:

[0027] S = r + c·x (mod q);

[0028] Among them, S is the response sent by the key requester, r is the random number, c is the challenge, x is the private key, and q is the modulus.

[0029] The relevant formula for the decryption process is as follows:

[0030]

[0031] Among them, P is the recovered plaintext, C 2 is the key, K q A key generated for quantum.

[0032] In the second aspect, an embodiment of the present invention provides a power grid key management system based on quantum communication, which includes: a quantum key distribution module, used to generate and send quantum bits, and transmit the corresponding timestamp to a quantum key storage module and a classical key generation module; a quantum key storage module, used to receive and store quantum bits and corresponding timestamps in timestamp order; a classical key generation module, used to encrypt the key plaintext to generate a key based on the measurement results of the received quantum bits, and transmit the key, timestamp and index to the key storage module; a key reading module, used to read the key in the key storage module according to the index, and perform multiple identity authentication.

[0033] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the steps of the power grid key management method based on quantum communication as described in the first aspect of the present invention are implemented.

[0034] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, the steps of the power grid key management method based on quantum communication as described in the first aspect of the present invention are implemented.

[0035] The beneficial effects of the present invention are as follows: the present invention generates and sends quantum bits through a quantum key distribution module, and transmits the corresponding timestamp to a quantum key storage module and a classical key generation module, thereby ensuring the timestamp synchronization of the key; the quantum key storage module stores quantum bits and corresponding timestamps in timestamp order, thereby improving the reliability and traceability of key storage; according to the measurement result of the received quantum bits, the key is encrypted in plain text through a classical key generation module to generate a key, and the key, timestamp and index are transmitted to the key storage module, thereby ensuring the security of key generation; the key reading module obtains the key from the key storage module according to the index, and performs multiple identity authentication, thereby enhancing the security during the use of the key and solving the technical problems of key management and multiple identity authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0037] Figure 1 This is a flow chart of a power grid key management method based on quantum communication in Example 1.

[0038] Figure 2 This is a system structure framework diagram of the power grid key management method based on quantum communication in Example 1. DETAILED DESCRIPTION

[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0041] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0042] Example 1

[0043] Reference Figure 1-2 , which is the first embodiment of the present invention, and provides a power grid key management method based on quantum communication, comprising:

[0044] S1: Generate and send quantum bits through the quantum key distribution module, and transmit the corresponding timestamp to the quantum key storage module and the classical key generation module.

[0045] Specifically, the quantum key distribution module includes the following steps: using a laser to generate amplitude and phase modulated quantum signals of a coherent state, and encoding quantum bits into continuous random variables. The specific formula is as follows:

[0046] |ψ>=cosθ|0>+e iφ sinθ|1>;

[0047] Here, ψ and φ are randomly chosen angles.

[0048] Furthermore, the modulated quantum signal is transmitted to the quantum key storage module through a public quantum channel, and the same laser source is used to generate a local oscillator signal; the received quantum signal and the local oscillator signal are interferometrically measured; the measurement result is compared with the modulation value of the quantum key distribution module, and error correction and privacy amplification are performed by exchanging part of the measurement results through a public classical channel. The specific formula is as follows:

[0049]

[0050] Where Q is the quantum bit error rate, N is the total number of quantum bits, and x i is the measurement result of receiving the quantum signal, y i is the measurement result of the local oscillator signal.

[0051] Furthermore, the quantum bits and corresponding timestamps are received and stored in the order of timestamps through the quantum key storage module, and transmitted to the classical key generation module.

[0052] Specifically, if the measurement result and the modulation value completely match, the transmission is confirmed to be successful, this bit is used as a valid key bit, and the processing of the next bit continues; if the measurement result and the modulation value are less than the predetermined threshold, the classical channel is used to interact with the sender to confirm whether it is a normal error; if it is confirmed to be a normal error, the error correction is performed; if it cannot be confirmed, the bit is discarded; if the measurement result and the modulation value are greater than the predetermined threshold, the bit is immediately discarded and the abnormality is recorded; if multiple consecutive bits are greater than the preset number, the key distribution process is suspended, the security protocol is started, and the quantum channel is re-established; if the measurement result is completely random and has nothing to do with the modulation value, it is suspected that the quantum channel has been completely intercepted, the current key distribution session is immediately terminated, and the system administrator is notified to conduct a security check.

[0053] S2 receives and stores quantum bits and corresponding timestamps in timestamp order through the quantum key storage module.

[0054] Based on the measurement results of the received quantum bits, S3 generates a key by encrypting the key plaintext through the classical key generation module, and transmits the key, timestamp and index to the key storage module.

[0055] Specifically, the classic key generation module includes the following steps: obtaining quantum bits of the same length as the plaintext binary code of the key to be encrypted; performing an XOR operation on the quantum bits and the plaintext binary code bit by bit to obtain the first ciphertext. The specific formula is as follows:

[0056]

[0057] Among them, C 1 is the first ciphertext, P is the plaintext, K q A key generated for quantum.

[0058] Furthermore, the first ciphertext is encrypted by an asymmetric encryption algorithm to generate a key, and the generated key, the corresponding timestamp and the index are transmitted to the key storage module; the key, the corresponding timestamp and the index transmitted by the classic key generation module are received and stored by the key storage module.

[0059] S4 obtains the key from the key storage module based on the index and performs multi-factor authentication.

[0060] Specifically, the key reading module includes the following steps: authenticating the key requester through the key reading module; querying the key storage module to obtain the corresponding timestamp according to the index corresponding to the key requester's identity, and judging whether the key requester's identity matches the index; querying the corresponding quantum bit according to the timestamp in the quantum key storage module; decrypting the key using an asymmetric decryption algorithm to obtain the intermediate value of the key; performing an XOR operation on the intermediate value and the quantum bit obtained from the quantum key storage module to obtain a plaintext key; and sending the plaintext key to the key requester.

[0061] Furthermore, identity authentication includes zero-knowledge proof, biometrics and behavior pattern authentication; identity authentication includes, when the index and the identity of the key requester match, the quantum key storage module queries the corresponding quantum bit according to the timestamp corresponding to the index, decrypts the key through an asymmetric decryption algorithm, and uses the quantum bit and the key to perform an XOR operation to obtain the key ciphertext; when the index and the identity of the key requester do not match, the key request is rejected and the number of unauthorized accesses is recorded; if the number of unauthorized accesses is greater than the predicted number, a security alarm is triggered.

[0062] Furthermore, the relevant formula for identity authentication is as follows:

[0063] S = r + c·x (mod q);

[0064] Among them, S is the response sent by the key requester, r is the random number, c is the challenge, x is the private key, and q is the modulus.

[0065] Specifically, the relevant formula for the decryption process is as follows:

[0066]

[0067] Among them, P is the recovered plaintext, C 2 is the key, K q A key generated for quantum.

[0068] Furthermore, this embodiment also provides a power grid key management system based on quantum communication, including: a quantum key distribution module, used to generate and send quantum bits, and transmit the corresponding timestamp to the quantum key storage module and the classical key generation module; a quantum key storage module, used to receive and store quantum bits and corresponding timestamps in timestamp order; a classical key generation module, used to encrypt the key plaintext to generate a key according to the measurement results of the received quantum bits, and transmit the key, timestamp and index to the key storage module; a key reading module, used to read the key in the key storage module according to the index, and perform multiple identity authentication.

[0069] This embodiment also provides a computer device, which is suitable for the case of a power grid key management method based on quantum communication, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the power grid key management method based on quantum communication proposed in the above embodiment.

[0070] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0071] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the following steps are implemented: generating and sending quantum bits through a quantum key distribution module, and transmitting the corresponding timestamp to a quantum key storage module and a classical key generation module; receiving and storing quantum bits and corresponding timestamps in a timestamp order through a quantum key storage module; encrypting the key plaintext to generate a key through a classical key generation module based on the measurement result of the received quantum bits, and transmitting the key, timestamp and index to a key storage module; based on the index, a key reading module obtains the key from the key storage module and performs multiple identity authentications.

[0072] In summary, the present invention generates and sends quantum bits through a quantum key distribution module, and transmits the corresponding timestamp to the quantum key storage module and the classical key generation module to ensure the timestamp synchronization of the key; the quantum key storage module stores the quantum bits and the corresponding timestamps in timestamp order to improve the reliability and traceability of key storage; according to the measurement result of the received quantum bits, the key plaintext is encrypted to generate a key through the classical key generation module, and the key, timestamp and index are transmitted to the key storage module to ensure the security of key generation; the key reading module obtains the key from the key storage module according to the index, and performs multiple identity authentication to enhance the security of the key use process and solve the technical problems of key management and multiple identity authentication.

[0073] Example 2

[0074] Referring to Table 1, which is the second embodiment of the present invention, this embodiment provides a power grid key management method based on quantum communication. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0075] Specifically, in the quantum key distribution module, a narrow linewidth laser with a wavelength of 1550nm is used to generate coherent state photons. The quantum bits are encoded as continuous random variables through a high-speed electro-optical modulator. Specifically, a phase encoding scheme is adopted to randomly select four phase states of 0°, 45°, 90° and 135°. The encoded quantum signal is transmitted to each power substation through a 50km long low-loss optical fiber (loss <0.2dB / km). At the receiving end, a superconducting nanowire single photon detector (SNSPD) is used for detection, with a quantum efficiency of up to 93% and a dark count rate as low as 1Hz.

[0076] Furthermore, in order to improve the security and efficiency of the system, an improved BB84 protocol is implemented. In this protocol, in addition to randomly selecting the coding basis, the sender also dynamically adjusts the average number of photons in a single pulse (ranging from 0.1 to 0.5) to resist photon number splitting attacks. At the same time, the receiver uses the measurement device independent quantum key distribution (MDI-QKD) technology to perform Bell state measurements through relay nodes, effectively preventing attacks from all detector ends.

[0077] Furthermore, in the quantum key storage module, a high-performance solid-state drive array is used to store the received quantum bit information and its corresponding nanosecond-level precise timestamp. The storage system adopts RAID 10 configuration, which not only ensures data security but also improves the reading and writing speed. To further enhance security, all stored data is encrypted with AES-256.

[0078] Specifically, the classical key generation module adopts a hybrid encryption strategy; the key plaintext to be encrypted is XORed with quantum bits of equal length to obtain a preliminary encrypted ciphertext; the ciphertext is re-encrypted using an improved lattice cryptography algorithm; an encryption scheme based on the Ring-LWE problem is adopted, and its security is based on the difficulty of the shortest vector problem in the lattice, and is believed to be able to resist attacks from quantum computers.

[0079] Furthermore, in the key reading module, a multiple identity authentication mechanism is implemented; the Schnorr protocol based on elliptic curve is used for zero-knowledge proof to verify the identity of the requester; multimodal biometric technology is adopted to combine fingerprints, irises and facial features for identity confirmation; and the user's operating behavior patterns are analyzed through machine learning algorithms to further improve the accuracy of identity authentication.

[0080] Furthermore, as shown in Table 1, in the key generation rate, the key generation rate of the present invention reaches 15.6kbps, which is about 53% higher than the traditional BB84 quantum key distribution method. This significant improvement is mainly due to the improved BB84 protocol and efficient quantum state modulation technology. The higher key generation rate enables the system to update the key more frequently, thereby greatly enhancing the communication security.

[0081] Table 1 Comparison between the present invention and the prior art

[0082] feature The present invention Traditional RSA encryption BB84 Quantum Key Distribution Key generation rate (kbps) 15.6 N / A 10.2 Quantum bit error rate (%) 0.8 N / A 1.5 Resistance to quantum computing attacks (level 1-5) 5 1 5 System Throughput (Mbps) 856 712 625 Key update frequency (once per minute) 30 0.1 20

[0083] Specifically, in the quantum bit error rate, the present invention controls the quantum bit error rate to 0.8%, which is significantly lower than the 1.5% of the BB84 method. This is mainly due to the use of high-performance superconducting single-photon detectors and advanced error correction algorithms. The lower bit error rate not only improves the reliability of the system, but also reduces the computing resources required for subsequent error correction.

[0084] Furthermore, in terms of quantum computing attack resistance, both the present invention and the BB84 method demonstrate the highest level (level 5) of quantum computing attack resistance, while traditional RSA encryption is extremely vulnerable to the threat of quantum computers (level 1). The present invention provides strong security protection for the future quantum computing era by combining quantum key distribution and quantum cryptography algorithms (such as lattice-based encryption).

[0085] Furthermore, the system throughput of the present invention reaches 856Mbps, which is about 20% and 37% higher than the traditional RSA encryption and BB84 methods, respectively. This high throughput is mainly due to the innovative hybrid encryption strategy and efficient key management mechanism, which enables the system to meet the needs of large-scale, real-time data transmission in smart grids. In terms of key update frequency, the present invention can achieve a key update frequency of 30 times per minute, which is much higher than the 0.1 times / minute of traditional RSA encryption and 20 times / minute of the BB84 method. Frequent key updates greatly improve the security of the system. Even if an attacker successfully cracks the key at a certain point in time, he cannot monitor or tamper with the communication content for a long time.

[0086] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A power grid key management method based on quantum communication, characterized in that: include, Generate and send quantum bits through the quantum key distribution module, and transmit the corresponding timestamps to the quantum key storage module and the classical key generation module; receiving and storing quantum bits and corresponding timestamps in a timestamp order through a quantum key storage module; According to the measurement result of the received quantum bit, the key plaintext is encrypted to generate a key through the classical key generation module, and the key, timestamp and index are transmitted to the key storage module; According to the index, the key reading module obtains the key from the key storage module and performs multi-factor authentication.

2. The power grid key management method based on quantum communication according to claim 1, characterized in that: The quantum key distribution module comprises the following steps: Lasers are used to generate amplitude and phase modulated quantum signals of coherent states, and quantum bits are encoded into continuous random variables. The specific formula is as follows: ψ>=cosθ0>+e iφ sinθ1>; Among them, ψ and φ are randomly selected angles; The modulated quantum signal is transmitted to the quantum key storage module through a common quantum channel, and the local oscillator signal is generated using the same laser source; Perform interference measurement on the received quantum signal and the local oscillator signal; The measurement results are compared with the modulation value of the quantum key distribution module, and some measurement results are exchanged through the public classical channel for error correction and privacy amplification. The specific formula is as follows: Where Q is the quantum bit error rate, N is the total number of quantum bits, and x i is the measurement result of receiving the quantum signal, y i is the measurement result of the local oscillator signal; The quantum bits and corresponding timestamps are received and stored in the order of timestamps through the quantum key storage module, and transmitted to the classical key generation module.

3. The power grid key management method based on quantum communication as claimed in claim 2, characterized in that: The classic key generation module comprises the following steps: Obtain quantum bits of the same length as the plaintext binary code of the key to be encrypted; Perform XOR operation on the quantum bit and the plaintext binary code bit by bit to obtain the first ciphertext. The specific formula is as follows: Among them, C1 is the first ciphertext, P is the plaintext, K q Keys generated for quantum; Encrypting the first ciphertext by an asymmetric encryption algorithm to generate a key, and transmitting the generated key, a corresponding timestamp and an index to a key storage module; The key storage module receives and stores the key, corresponding timestamp and index transmitted by the classic key generation module.

4. The power grid key management method based on quantum communication as claimed in claim 3, characterized in that: The asymmetric encryption algorithm is an RSA algorithm; the RSA algorithm comprises the following steps: Choose a random integer lattice basis as the private key; The private key integer lattice basis is perturbed by adding finite noise, and a perturbed integer lattice basis is generated as a public key; Encode the first ciphertext as a point in an integer lattice, and add structured noise around the first ciphertext using a public key basis; The decryptor uses the private key base to find the points of the integer lattice that contain noise in the integer lattice, and outputs the points containing noise as the key. The relevant formula is as follows: C2=A·s+a(mod q); Among them, C2 is the key, A is the public key matrix, s is the encoded information, a is the error vector, and q is the modulus.

5. The power grid key management method based on quantum communication as claimed in claim 3, characterized in that: The key reading module comprises the following steps: Perform identity authentication on the key requester through the key reading module; According to the index corresponding to the key requester's identity, query the key storage module to obtain the corresponding timestamp, and determine whether the key requester's identity matches the index; At the same time, in the quantum key storage module, the corresponding quantum bit is queried according to the timestamp; Decrypt the key using an asymmetric decryption algorithm to obtain the intermediate value of the key; Perform an XOR operation on the intermediate value and the quantum bit obtained from the quantum key storage module to obtain a plaintext key; Send the plaintext key to the key requester.

6. The power grid key management method based on quantum communication as claimed in claim 5, characterized in that: The identity authentication includes zero-knowledge proof, biometrics and behavior pattern authentication; the identity authentication includes, When the index matches the identity of the key requester, the quantum key storage module queries the corresponding quantum bit according to the timestamp corresponding to the index, decrypts the key using an asymmetric decryption algorithm, and performs an XOR operation on the quantum bit and the key to obtain the key ciphertext; When the index and the identity of the key requester do not match, the key request is rejected and the number of unauthorized accesses is recorded; If the number of unauthorized accesses is greater than the predicted number, a security alert is triggered.

7. The power grid key management method based on quantum communication according to claim 6, characterized in that: The relevant formula for the identity authentication is as follows: S = r + c·x (mod q); Where S is the response sent by the key requester, r is the random number, c is the challenge, x is the private key, and q is the modulus; The relevant formula for the decryption process is as follows: Among them, P is the recovered plaintext, C2 is the key, K q A key generated for quantum.

8. A power grid key management system based on quantum communication, based on the power grid key management method based on quantum communication according to any one of claims 1 to 7, characterized in that: include, A quantum key distribution module, which is used to generate and send quantum bits and transmit the corresponding timestamps to the quantum key storage module and the classical key generation module; A quantum key storage module, used for receiving and storing quantum bits and corresponding timestamps in timestamp order; A classical key generation module, used to generate a key by encrypting the key plaintext according to the measurement result of the received quantum bit, and transmit the key, timestamp and index to the key storage module; The key reading module is used to read the key in the key storage module according to the index and perform multiple identity authentication.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the power grid key management method based on quantum communication according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the power grid key management method based on quantum communication according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Asymmetric cryptographic terminal based on quantum random number, communication system and method

    CN110611572A

  • Mobile quantum secret communication method, gateway, mobile terminal and server

    CN111404671A

  • Quantum key management method and system based on block chain

    CN112073182A

  • Key management communication method and device, equipment and storage medium

    CN112187450A

  • Communication system for realizing data dynamic encryption based on quantum key technology

    CN118138235A