Adaptive quantum key application method, system and device and storage medium

By introducing an adaptive quantum key application level adjustment mechanism in the electric power encrypted communication system, the problems of instability in quantum key generation and lack of service priority are solved, the encryption efficiency and stability of the system are improved, and the different power services are met. need.

CN119030700APending Publication Date: 2024-11-26NARI INFORMATION & COMM TECH +5
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410970972.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the existing electric power sub-cryptographic communication system, quantum key generation is unstable, the code generation rate is low, the service priority setting is lacking, and the time delay does not protect the stability of the encryption system, making it difficult to meet the encryption needs of different power services.

Method used

By introducing an adaptive quantum key application level adjustment mechanism in the service encryption terminal, the quantum key application level is dynamically adjusted according to the service message characteristics and communication parameters, different service priority and thresholds are set, and the generation and update methods of quantum keys are optimized. .

Benefits of technology

It improves the stability and rationality of quantum key supply, improves the encryption efficiency and stability of the electrical power sub-encryption communication system, and ensures that high-priority services obtain higher quality quantum key services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030700A_ABST
    Figure CN119030700A_ABST
Patent Text Reader

Abstract

The invention discloses a self-adaptive quantum key application method, system and device and a storage medium, and the method comprises the steps: initializing a service encryption terminal of a power quantum encryption communication system, and configuring the service encryption terminal to operate at a first application level of a quantum key application level; performing feature extraction on data of the service encryption terminal according to an initialization result to obtain service message features, and adjusting the service encryption terminal to a corresponding quantum key application level according to the service message features; counting communication parameters, and adaptively adjusting the quantum key application level of the service encryption terminal according to the communication parameters; the system comprises a configuration module, an extraction module and a statistics module. According to the method, the quantum key application mode can be adaptively adjusted according to the service priority and the current system condition, so that the encryption efficiency and stability of the power quantum encryption communication system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power quantum secure communication, and in particular to an adaptive quantum key application method, system, device and storage medium. Background Art

[0002] In the past, power systems generally used fiber-optic private networks and national commercial encryption to build encryption systems, and achieved secure transmission of sensitive data based on computational complexity. With the improvement of computing power and the progress of mathematics, especially the development of quantum computers, the risk of encryption systems built by power systems being cracked is increasing day by day. Quantum secure communication is based on the basic principles of quantum physics such as quantum indivisibility, non-cloning, and non-measurability. It has unconditional provable security in information theory, and provides a feasible solution for the secure transmission of power business data.

[0003] The current power quantum encryption communication system has the following problems: First, due to the high requirements of the optical environment for the generation of quantum keys, the current quantum key coding is unstable and the overall coding rate is low, which makes it difficult to meet the encryption needs of all power services; second, in the current quantum encryption communication system, there is no service priority setting for various power services, and quantum key services are provided indiscriminately; third, due to the new interaction link between business equipment and the quantum key service platform, the delay introduced by this has not been designed for the stability of the encryption system. Therefore, how to improve the stability and rationality of quantum key applications for different power services is an urgent problem to be solved. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide an adaptive quantum key application method, system, device and storage medium.

[0005] In order to achieve the above technical objectives and the above technical effects, the present invention is implemented through the following technical solutions:

[0006] In a first aspect, the present invention provides an adaptive quantum key application method, comprising:

[0007] Initializing a service encryption terminal of the power quantum encryption communication system, and configuring the service encryption terminal to operate at a first application level of the quantum key application level;

[0008] Extracting features of the data of the service encryption terminal according to the initialization result to obtain service message features, and adjusting the service encryption terminal to a corresponding quantum key application level according to the service message features;

[0009] Count the communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters.

[0010] Furthermore, the quantum key application level includes a first application level, a second application level and a third application level.

[0011] The first application level is the application mode of "one-time one-key" for business encryption terminals, which corresponds to the core control business of the power production control area by default, and has the highest business priority; the first application level corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the quantum key service platform key coding rate D;

[0012] The second application level updates the quantum session key online regularly according to the set period, and corresponds to the general power acquisition control business or large flow business by default; the second application level corresponds to the business encryption terminal flow upper limit threshold A2 and flow lower limit threshold a2, the business encryption terminal delay upper limit threshold B2 and delay lower limit threshold b2, the business encryption server access terminal number upper limit threshold C2, and the quantum key service platform key coding rate D;

[0013] The third application level uses the quantum key pre-charged in the secure medium as the session key, updates the quantum session key offline, and corresponds to the ordinary collection business of the power management information area by default, with a lower business priority; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

[0014] Further, adjusting the service encryption terminal to the corresponding quantum key application level includes:

[0015] After the business encryption terminal starts running, the message analysis program in the business encryption terminal obtains business message data, extracts feature values ​​of the business message to obtain business message features, which include header keywords, message length, and sending frequency of the business message. The business message features are identified using a pre-built business message feature model to determine the type of power business carried by the business encryption terminal, and the business encryption terminal is adjusted to the corresponding quantum key application level according to the type of power business carried by the business encryption terminal.

[0016] Furthermore, the communication parameters include the communication traffic of the service encryption terminal, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication traffic is regularly analyzed according to a set period, if the communication traffic of the quantum key application level of the service encryption terminal at the first application level for M consecutive periods is greater than the traffic upper limit threshold A1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the communication traffic for M consecutive periods is less than the traffic lower limit threshold a2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; the judgment is repeated in this way to adjust the quantum key application level of the service encryption terminal.

[0017] Furthermore, the communication parameters include the communication delay between the service encryption terminal and the quantum key service platform, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication delay is regularly analyzed according to a set period, if the communication delay of the quantum key application level of the service encryption terminal for N consecutive periods at the first application level is greater than the delay upper limit threshold B1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to the second application level, and after the communication delay for N consecutive periods is less than the flow lower limit threshold b2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; if the communication delay for N consecutive periods at the second application level is greater than the delay upper limit threshold B2 of the second application level, then the quantum key application level of the service encryption terminal is downgraded to the third application level, and after the communication delay for N consecutive periods is less than the flow lower limit threshold b3 of the third application level, the quantum key application level of the service encryption terminal is restored to the second application level, and the judgment is repeated in this way to adjust the quantum key application level of the service encryption terminal.

[0018] Further, the communication parameters include the number of access terminals of the service encryption server, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the number of access terminals of the service encryption server is regularly queried according to a set period, if the number of access terminals of the service encryption terminal is greater than the upper limit threshold C1 of the number of access terminals of the first application level for P consecutive periods under the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the number of access terminals is less than C1 for P consecutive periods, the quantum key application level of the service encryption terminal is restored to the first application level;

[0019] If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the business encryption server, the business encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the business encryption server sends the key identifier used this time to the corresponding business encryption terminal. The business encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the business encryption server is restored to a single acquisition mode.

[0020] This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

[0021] Furthermore, the communication parameters include a key coding rate of a quantum key service platform, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the key coding rate of the quantum key service platform is regularly queried according to a set period, and if the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, then the quantum key application level of the first application level service encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level service encryption terminal under the quantum key service platform is increased to twice the current level; after the coding rate D is greater than 2 times the utilization rate for Q consecutive periods, the quantum key application level of the above-mentioned service encryption terminal is restored to the normal service matching level and key update period; and the judgment is repeated in this way to adjust the quantum key application level of the service encryption terminal and the online update period of the quantum session key.

[0022] In a second aspect, the present invention provides an adaptive quantum key application system, comprising:

[0023] A configuration module, used to initialize a service encryption terminal of the power quantum encryption communication system, and configure the service encryption terminal to operate at a first application level of the quantum key application level;

[0024] An extraction module, used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to a corresponding quantum key application level according to the service message features;

[0025] The statistical module is used to count the communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters.

[0026] Further, the configuration module is used to initialize the service encryption terminal of the power quantum encryption communication system, and configure the service encryption terminal to operate at the first application level of the quantum key application level;

[0027] The quantum key application levels include the first application level, the second application level and the third application level.

[0028] The first application level is the application mode of "one-time one-key" for business encryption terminals, which corresponds to the core control business of the power production control area by default, and has the highest business priority; the first application level corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the quantum key service platform key coding rate D;

[0029] The second application level updates the quantum session key online regularly according to the set period, and corresponds to the general power acquisition control business or large flow business by default; the second application level corresponds to the business encryption terminal flow upper limit threshold A2 and flow lower limit threshold a2, the business encryption terminal delay upper limit threshold B2 and delay lower limit threshold b2, the business encryption server access terminal number upper limit threshold C2, and the quantum key service platform key coding rate D;

[0030] The third application level uses the quantum key pre-charged in the secure medium as the session key, updates the quantum session key offline, and corresponds to the ordinary collection business of the power management information area by default, with a lower business priority; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

[0031] Furthermore, the extraction module is used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to a corresponding quantum key application level according to the service message features;

[0032] After the business encryption terminal starts running, the message analysis program in the business encryption terminal obtains business message data, extracts feature values ​​of the business message to obtain business message features, which include header keywords, message length, and sending frequency of the business message. The business message features are identified using a pre-built business message feature model to determine the type of power business carried by the business encryption terminal, and the business encryption terminal is adjusted to the corresponding quantum key application level according to the type of power business carried by the business encryption terminal.

[0033] Further, the statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters. The communication parameters include the communication traffic of the business encryption terminal. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication traffic is regularly analyzed according to a set period, if the communication traffic of the quantum key application level of the business encryption terminal at the first application level for M consecutive periods is greater than the traffic upper limit threshold A1 of the first application level, then the quantum key application level of the business encryption terminal is downgraded to operate at the second application level, and after the communication traffic for M consecutive periods is less than the traffic lower limit threshold a2 of the second application level, the quantum key application level of the business encryption terminal is restored to the first application level; the judgment is repeated in this way to adjust the quantum key application level of the business encryption terminal.

[0034] Further, the statistical module is used to count the communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the communication delay between the service encryption terminal and the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication delay is regularly analyzed according to a set period, if the communication delay of the quantum key application level of the service encryption terminal at the first application level for N consecutive periods is greater than the delay upper limit threshold B1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and the connection is pending. After the communication delay for N consecutive cycles is less than the lower traffic threshold b2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; if the communication delay for N consecutive cycles at the second application level is greater than the upper delay threshold B2 of the second application level, the quantum key application level of the service encryption terminal is downgraded to the third application level. After the communication delay for N consecutive cycles is less than the lower traffic threshold b3 of the third application level, the quantum key application level of the service encryption terminal is restored to the second application level. This judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal.

[0035] Further, the statistical module is used to count communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the number of access terminals of the service encryption server. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the number of access terminals of the service encryption server is regularly queried according to a set period, if the number of access terminals of the service encryption terminal is greater than the upper limit threshold C1 of the number of access terminals of the first application level for P consecutive periods under the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the number of access terminals is less than C1 for P consecutive periods, the quantum key application level of the above service encryption terminal is restored to the first application level;

[0036] If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the business encryption server, the business encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the business encryption server sends the key identifier used this time to the corresponding business encryption terminal. The business encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the business encryption server is restored to a single acquisition mode.

[0037] This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

[0038] Further, the statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters. The communication parameters include the key coding rate of the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the key coding rate of the quantum key service platform is regularly queried according to a set period, if the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, then the quantum key application level of the first application level business encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level business encryption terminal under the quantum key service platform is increased to 2 times the current one; after the coding rate D for Q consecutive periods is greater than 2 times the utilization rate, the quantum key application level of the above-mentioned business encryption terminal is restored to the normal business matching level and key update period; the judgment is repeated in this way to adjust the quantum key application level of the business encryption terminal and the online update period of the quantum session key.

[0039] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the steps of the adaptive quantum key application method are implemented when the program is executed.

[0040] In a fourth aspect, the present invention provides a computer-readable storage medium, hereinafter referred to as a storage medium, in which a computer program is stored, which is designed to implement the steps of the adaptive quantum key application method when run.

[0041] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the present invention dynamically adjusts the quantum session key update period and acquisition method of the business encryption terminal, thereby improving the stability of quantum key supply; introduces the division of business priorities according to business importance, adaptively adjusts the quantum key application mode, provides higher quality quantum key services for high-priority businesses, and improves the rationality of quantum key supply; designs a method for dynamically adjusting the quantum key application level based on thresholds according to parameters such as traffic and delay, thereby improving the encryption efficiency and stability of the power quantum encryption communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0043] The technical solution of the present invention is further described below in conjunction with the accompanying drawings. It will be understood by those skilled in the art that the purposes and advantages that can be achieved by the present invention are not limited to the specific description of the above beneficial effects, and the above and other purposes that can be achieved by the present invention will be more clearly understood based on the following detailed description.

[0044] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed in the present invention can be implemented in hardware, software or a combination of the two. Whether it is implemented in hardware or software depends on the specific application and design of the technical solution. Professional and technical personnel can use different methods to implement the functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0045] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0046] Embodiment 1

[0047] The present invention provides an adaptive quantum key application method, such as Figure 1 As shown, the business encryption terminal of the electric power quantum encryption communication system is initialized, and the business encryption terminal is configured to operate at the first application level of the quantum key application level; according to the initialization result, the data of the business encryption terminal is feature extracted to obtain the business message feature, and according to the business message feature, the business encryption terminal is adjusted to the corresponding quantum key application level; the communication parameters are counted, and the quantum key application level of the business encryption terminal is adaptively adjusted according to the communication parameters.

[0048] The highest application level of the quantum key is the first application level, which adopts the "one-time one-key" application method, corresponds to the core control business of the power production control area by default, and has the highest business priority; that is, the quantum session key is updated online before each business session, corresponds to the core control business of the power production control area by default, and has the highest business priority; the highest application level of the quantum key corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the key coding rate D of the quantum key service platform.

[0049] The second application level of quantum key updates quantum session keys online regularly according to the set cycle, and corresponds to general power acquisition control services or large-flow services by default; the second application level corresponds to the upper and lower limit thresholds A2 and a2 of traffic volume of the business encryption terminal, the upper and lower limit thresholds B2 and b2 of the time delay of the business encryption terminal, the upper limit threshold C2 of the number of access terminals of the business encryption server, and the key coding rate D of the quantum key service platform;

[0050] The third application level of quantum key is to use the quantum key pre-charged in the secure medium as the session key, and update the quantum session key offline. It corresponds to the ordinary collection business of the power management information area by default, and the business priority is relatively low; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

[0051] Different power services correspond to different quantum key application levels. When the service terminal is initialized, the service encryption terminal is configured to run at the highest quantum key application level.

[0052] Extract features from business data, analyze the priority of business types, and adjust to the corresponding quantum key application level;

[0053] The communication traffic of the quantum encryption terminal is analyzed regularly according to the set period. If the communication traffic of the quantum key application level of the business encryption terminal is greater than the traffic upper limit threshold A1 of the first application level for M consecutive periods under the first application level, the quantum key application level of the business encryption terminal is downgraded to operate at the second application level. After the communication traffic is less than the traffic lower limit threshold a2 of the second application level for M consecutive periods, the quantum key application level of the business encryption terminal is restored to the first application level. The judgment is repeated in this way to adjust the quantum key application level of the business encryption terminal.

[0054] The communication delay between the quantum encryption terminal and the quantum key service platform is analyzed regularly according to the set period. If the communication delay of the quantum key application level of the business encryption terminal for N consecutive cycles at the first application level is greater than the delay upper limit threshold B1 of the first application level, the quantum key application level of the business encryption terminal is downgraded to the second application level. After the communication delay for N consecutive cycles is less than the traffic lower limit threshold b2 of the second application level, the quantum key application level of the business encryption terminal is restored to the first application level; if the communication delay for N consecutive cycles at the second application level is greater than the delay upper limit threshold B2 of the second application level, the quantum key application level of the business encryption terminal is downgraded to the third application level. After the communication delay for N consecutive cycles is less than the traffic lower limit threshold b3 of the third application level, the quantum key application level of the business encryption terminal is restored to the second application level. The judgment is repeated in this way to adjust the quantum key application level of the business encryption terminal.

[0055] Different power services correspond to different quantum key application levels. When the service terminal is initialized, the service encryption terminal is configured to run at the highest quantum key application level.

[0056] Extract features from business data, analyze the priority of business types, and adjust to the corresponding quantum key application level;

[0057] The number of access terminals of the service encryption server is regularly queried at a set period, and the number of access terminals of the service encryption server is regularly queried at a set period. If the number of access terminals of the service encryption terminal at the first application level for P consecutive periods is greater than the upper limit threshold C1 of the number of access terminals of the first application level, the quantum key application level of the service encryption terminal is downgraded to the second application level, and after the number of access terminals for P consecutive periods is less than C1, the quantum key application level of the service encryption terminal is restored to the first application level;

[0058] If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the business encryption server, the business encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the business encryption server sends the key identifier used this time to the corresponding business encryption terminal. The business encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the business encryption server is restored to a single acquisition mode.

[0059] This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

[0060] Different power services correspond to different quantum key application levels. When the service terminal is initialized, the service encryption terminal is configured to run at the highest quantum key application level.

[0061] Extract features from business data, analyze the priority of business types, and adjust to the corresponding quantum key application level;

[0062] The key coding rate of the quantum key service platform is queried regularly according to a set period. The key coding rate of the quantum key service platform is queried regularly according to a set period. If the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, the quantum key application level of the first application level service encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level service encryption terminal under the quantum key service platform is increased to twice the current level; after the coding rate D for Q consecutive periods is greater than 2 times the utilization rate, the quantum key application level of the above-mentioned service encryption terminal is restored to the normal service matching level and key update period; the judgment is repeated in this way to adjust the quantum key application level of the service encryption terminal and the online update period of the quantum session key.

[0063] Embodiment 2

[0064] In addition, based on the same inventive concept, an embodiment of the present invention further provides an adaptive quantum key application system, including:

[0065] A configuration module, used to initialize a service encryption terminal of the power quantum encryption communication system, and configure the service encryption terminal to operate at a first application level of the quantum key application level;

[0066] An extraction module, used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to a corresponding quantum key application level according to the service message features;

[0067] The statistical module is used to count the communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters.

[0068] The configuration module is used to initialize the service encryption terminal of the power quantum encryption communication system and configure the service encryption terminal to operate at the first application level of the quantum key application level;

[0069] The quantum key application levels include the first application level, the second application level and the third application level.

[0070] The first application level is the application mode of "one-time one-key" for business encryption terminals, which corresponds to the core control business of the power production control area by default, and has the highest business priority; the first application level corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the quantum key service platform key coding rate D;

[0071] The second application level updates the quantum session key online regularly according to the set period, and corresponds to the general power acquisition control business or large flow business by default; the second application level corresponds to the business encryption terminal flow upper limit threshold A2 and flow lower limit threshold a2, the business encryption terminal delay upper limit threshold B2 and delay lower limit threshold b2, the business encryption server access terminal number upper limit threshold C2, and the quantum key service platform key coding rate D;

[0072] The third application level uses the quantum key pre-charged in the secure medium as the session key, updates the quantum session key offline, and corresponds to the ordinary collection business of the power management information area by default, with a lower business priority; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

[0073] The extraction module is used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to the corresponding quantum key application level according to the service message features;

[0074] After the business encryption terminal starts running, the message analysis program in the business encryption terminal obtains business message data, extracts feature values ​​of the business message to obtain business message features, which include header keywords, message length, and sending frequency of the business message. The business message features are identified using a pre-built business message feature model to determine the type of power business carried by the business encryption terminal, and the business encryption terminal is adjusted to the corresponding quantum key application level according to the type of power business carried by the business encryption terminal.

[0075] The statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the communication traffic of the service encryption terminal. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication traffic is regularly analyzed according to a set period, if the communication traffic of the quantum key application level of the service encryption terminal for M consecutive periods under the first application level is greater than the traffic upper limit threshold A1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the communication traffic for M consecutive periods is less than the traffic lower limit threshold a2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal.

[0076] The statistical module is used to count communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the communication delay between the service encryption terminal and the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication delay is regularly analyzed according to a set period, if the communication delay of the quantum key application level of the service encryption terminal at the first application level for N consecutive periods is greater than the delay upper limit threshold B1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to the second application level, and after N consecutive periods, the communication delay of the quantum key application level of the service encryption terminal is greater than the delay upper limit threshold B1 of the first application level. After the communication delay of the period is less than the lower traffic threshold b2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; if the communication delay of N consecutive periods at the second application level is greater than the upper delay threshold B2 of the second application level, the quantum key application level of the service encryption terminal is downgraded to the third application level. After the communication delay of N consecutive periods is less than the lower traffic threshold b3 of the third application level, the quantum key application level of the service encryption terminal is restored to the second application level. This judgment is repeated to adjust the quantum key application level of the service encryption terminal.

[0077] The statistical module is used to count communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the number of access terminals of the service encryption server. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the number of access terminals of the service encryption server is regularly queried according to a set period, if the number of access terminals of the service encryption terminal is greater than the upper limit threshold C1 of the number of access terminals of the first application level for P consecutive periods under the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the number of access terminals is less than C1 for P consecutive periods, the quantum key application level of the service encryption terminal is restored to the first application level;

[0078] If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the business encryption server, the business encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the business encryption server sends the key identifier used this time to the corresponding business encryption terminal. The business encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the business encryption server is restored to a single acquisition mode.

[0079] This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

[0080] The statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the key coding rate of the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the key coding rate of the quantum key service platform is regularly queried according to a set period, if the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, then the quantum key application level of the first application level service encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level service encryption terminal under the quantum key service platform is increased to 2 times the current one; after the coding rate D for Q consecutive periods is greater than 2 times the utilization rate, the quantum key application level of the above-mentioned service encryption terminal is restored to the normal service matching level and key update period; the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal and the online update period of the quantum session key.

[0081] Embodiment 3

[0082] In addition, based on the same inventive concept, an embodiment of the present invention also provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the steps of the adaptive quantum key application method when executing the program.

[0083] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0084] Embodiment 4

[0085] In addition, based on the same inventive concept, an embodiment of the present invention also provides a storage medium storing a computer program, wherein the computer program is designed to implement the steps of the adaptive quantum key application method when running.

[0086] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0087] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0088] The computer-readable storage medium mentioned above may be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0089] The specific description above further illustrates the purpose, technical solutions and beneficial effects of the invention in detail. It should be understood that the above is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An adaptive quantum key application method, characterized in that: include: Initializing a service encryption terminal of the power quantum encryption communication system, and configuring the service encryption terminal to operate at a first application level of the quantum key application level; Extracting features of the data of the service encryption terminal according to the initialization result to obtain service message features, and adjusting the service encryption terminal to a corresponding quantum key application level according to the service message features; Count the communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters.

2. The adaptive quantum key application method according to claim 1, characterized in that: The quantum key application level includes a first application level, a second application level and a third application level. The first application level is the "one-time one-key" application mode for business encryption terminals, which corresponds to the core control business of the power production control area by default, and has the highest business priority; the first application level corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the quantum key service platform key coding rate D; The second application level updates the quantum session key online regularly according to the set period, and corresponds to the general power acquisition control business or large flow business by default; the second application level corresponds to the business encryption terminal flow upper limit threshold A2 and flow lower limit threshold a2, the business encryption terminal delay upper limit threshold B2 and delay lower limit threshold b2, the business encryption server access terminal number upper limit threshold C2, and the quantum key service platform key coding rate D; The third application level uses the quantum key pre-charged in the secure medium as the session key, updates the quantum session key offline, and corresponds to the ordinary collection business of the power management information area by default, with a lower business priority; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

3. The adaptive quantum key application method according to claim 1, characterized in that: The step of adjusting the service encryption terminal to the corresponding quantum key application level includes: After the business encryption terminal starts running, the message analysis program in the business encryption terminal obtains business message data, extracts feature values ​​of the business message to obtain business message features, which include header keywords, message length, and sending frequency of the business message. The business message features are identified using a pre-built business message feature model to determine the type of power business carried by the business encryption terminal, and the business encryption terminal is adjusted to the corresponding quantum key application level according to the type of power business carried by the business encryption terminal.

4. The adaptive quantum key application method according to claim 1, characterized in that: The communication parameters include the communication traffic of the service encryption terminal, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication traffic is regularly analyzed according to a set period, if the communication traffic of the quantum key application level of the service encryption terminal at the first application level for M consecutive periods is greater than the traffic upper limit threshold A1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the communication traffic for M consecutive periods is less than the traffic lower limit threshold a2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal.

5. The adaptive quantum key application method according to claim 1, characterized in that: The communication parameters include the communication delay between the service encryption terminal and the quantum key service platform, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication delay is regularly analyzed according to a set period, if the communication delay of the quantum key application level of the service encryption terminal for N consecutive periods at the first application level is greater than the delay upper limit threshold B1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to the second application level, and after the communication delay for N consecutive periods is less than the flow lower limit threshold b2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; if the communication delay for N consecutive periods at the second application level is greater than the delay upper limit threshold B2 of the second application level, then the quantum key application level of the service encryption terminal is downgraded to the third application level, and after the communication delay for N consecutive periods is less than the flow lower limit threshold b3 of the third application level, the quantum key application level of the service encryption terminal is restored to the second application level, and the judgment is repeated in this way to adjust the quantum key application level of the service encryption terminal.

6. The adaptive quantum key application method according to claim 1, characterized in that: The communication parameters include the number of access terminals of the service encryption server, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the number of access terminals of the service encryption server is regularly queried according to a set period, if the number of access terminals of the service encryption terminal is greater than the upper limit threshold C1 of the number of access terminals of the first application level for P consecutive periods under the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the number of access terminals is less than C1 for P consecutive periods, the quantum key application level of the service encryption terminal is restored to the first application level; If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the service encryption server, the service encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the service encryption server sends the key identifier used this time to the corresponding service encryption terminal. The service encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the service encryption server is restored to a single acquisition mode. This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

7. The adaptive quantum key application method according to claim 1, characterized in that: The communication parameters include the key coding rate of the quantum key service platform, and the terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the key coding rate of the quantum key service platform is regularly queried according to a set period, if the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, then the quantum key application level of the first application level service encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level service encryption terminal under the quantum key service platform is increased to twice the current level; after the coding rate D is greater than 2 times the utilization rate for Q consecutive periods, the quantum key application level of the above-mentioned service encryption terminal is restored to the normal service matching level and key update period; and the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal and the online update period of the quantum session key.

8. An adaptive quantum key application system, characterized in that: include: A configuration module, used to initialize a service encryption terminal of the power quantum encryption communication system, and configure the service encryption terminal to operate at a first application level of the quantum key application level; An extraction module, used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to a corresponding quantum key application level according to the service message features; The statistical module is used to count the communication parameters and adaptively adjust the quantum key application level of the business encryption terminal according to the communication parameters.

9. The adaptive quantum key application system according to claim 8, characterized in that: The configuration module is used to initialize the service encryption terminal of the power quantum encryption communication system and configure the service encryption terminal to operate at the first application level of the quantum key application level; The quantum key application levels include the first application level, the second application level and the third application level. The first application level is the "one-time one-key" application mode for business encryption terminals, which corresponds to the core control business of the power production control area by default, and has the highest business priority; the first application level corresponds to the business encryption terminal traffic upper limit threshold A1, the business encryption terminal delay upper limit threshold B1, the business encryption server access terminal number upper limit threshold C1 and the quantum key service platform key coding rate D; The second application level updates the quantum session key online regularly according to the set period, and corresponds to the general power acquisition control business or large flow business by default; the second application level corresponds to the business encryption terminal flow upper limit threshold A2 and flow lower limit threshold a2, the business encryption terminal delay upper limit threshold B2 and delay lower limit threshold b2, the business encryption server access terminal number upper limit threshold C2, and the quantum key service platform key coding rate D; The third application level uses the quantum key pre-charged in the secure medium as the session key, updates the quantum session key offline, and corresponds to the ordinary collection business of the power management information area by default, with a lower business priority; the third application level corresponds to the lower limit threshold a3 of the traffic flow of the business encryption terminal and the lower limit threshold b3 of the delay of the business encryption terminal.

10. The adaptive quantum key application system according to claim 8, characterized in that: The extraction module is used to extract features from the data of the service encryption terminal according to the initialization result to obtain service message features, and adjust the service encryption terminal to the corresponding quantum key application level according to the service message features; After the business encryption terminal starts running, the message analysis program in the business encryption terminal obtains business message data, extracts feature values ​​of the business message to obtain business message features, which include header keywords, message length, and sending frequency of the business message. The business message features are identified using a pre-built business message feature model to determine the type of power business carried by the business encryption terminal, and the business encryption terminal is adjusted to the corresponding quantum key application level according to the type of power business carried by the business encryption terminal.

11. The adaptive quantum key application system according to claim 8, characterized in that: The statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the communication traffic of the service encryption terminal. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication traffic is regularly analyzed according to a set period, if the communication traffic of the quantum key application level of the service encryption terminal for M consecutive periods under the first application level is greater than the traffic upper limit threshold A1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the communication traffic for M consecutive periods is less than the traffic lower limit threshold a2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal.

12. The adaptive quantum key application system according to claim 8, characterized in that: The statistical module is used to count communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the communication delay between the service encryption terminal and the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the communication delay is regularly analyzed according to a set period, if the communication delay of the quantum key application level of the service encryption terminal at the first application level for N consecutive periods is greater than the delay upper limit threshold B1 of the first application level, then the quantum key application level of the service encryption terminal is downgraded to the second application level, and after N consecutive periods, the communication delay of the quantum key application level of the service encryption terminal is greater than the delay upper limit threshold B1 of the first application level. After the communication delay of the period is less than the lower traffic threshold b2 of the second application level, the quantum key application level of the service encryption terminal is restored to the first application level; if the communication delay of N consecutive periods at the second application level is greater than the upper delay threshold B2 of the second application level, the quantum key application level of the service encryption terminal is downgraded to the third application level. After the communication delay of N consecutive periods is less than the lower traffic threshold b3 of the third application level, the quantum key application level of the service encryption terminal is restored to the second application level. This judgment is repeated to adjust the quantum key application level of the service encryption terminal.

13. The adaptive quantum key application system according to claim 8, characterized in that: The statistical module is used to count communication parameters, and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the number of access terminals of the service encryption server. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the number of access terminals of the service encryption server is regularly queried according to a set period, if the number of access terminals of the service encryption terminal is greater than the upper limit threshold C1 of the number of access terminals of the first application level for P consecutive periods under the first application level, then the quantum key application level of the service encryption terminal is downgraded to operate at the second application level, and after the number of access terminals is less than C1 for P consecutive periods, the quantum key application level of the service encryption terminal is restored to the first application level; If the number of access terminals for P consecutive cycles under the second application level is greater than the upper limit threshold C2 of the number of access terminals of the service encryption server, the service encryption server uses a batch acquisition method of quantum keys to batch acquire several groups of quantum session keys and corresponding key identifiers from the quantum key service platform. When updating the key, the service encryption server sends the key identifier used this time to the corresponding service encryption terminal. The service encryption terminal obtains the corresponding quantum session key from the quantum key service platform based on the key identifier. The terminal and the server synchronize encryption and decryption keys. After the number of access terminals for P consecutive cycles is less than C2, the service encryption server is restored to a single acquisition mode. This judgment is repeated in a cycle to adjust the quantum key application level of the business encryption terminal and the key acquisition method of the business encryption server.

14. The adaptive quantum key application system according to claim 8, characterized in that: The statistical module is used to count communication parameters and adaptively adjust the quantum key application level of the service encryption terminal according to the communication parameters. The communication parameters include the key coding rate of the quantum key service platform. The terminal quantum key application level is adaptively adjusted according to the communication parameters, including: the key coding rate of the quantum key service platform is regularly queried according to a set period, if the coding rate D of the quantum key service platform for Q consecutive periods is less than 2 times the utilization rate, then the quantum key application level of the first application level service encryption terminal under the quantum key service platform is downgraded to the second application level, and the online update period of the quantum session key of the second application level service encryption terminal under the quantum key service platform is increased to 2 times the current one; after the coding rate D for Q consecutive periods is greater than 2 times the utilization rate, the quantum key application level of the above-mentioned service encryption terminal is restored to the normal service matching level and key update period; the judgment is repeated in a cycle to adjust the quantum key application level of the service encryption terminal and the online update period of the quantum session key.

15. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the adaptive quantum key application method according to any one of claims 1 to 7 is implemented.

16. A storage medium storing a computer program, characterized in that: The computer program is designed to implement the adaptive quantum key application method according to any one of claims 1 to 7 when running.

Citation Information

Cited By

  • Intelligent scoring scheduling method and system based on terminal artificial intelligence and quantum key

    CN121547212A