A quantum key distribution network operation and maintenance method and device

By periodically collecting the amount of keys generated by the quantum key distribution network and calculating the preset threshold, judging and outputting alarm signals, and adding abnormal feature values ​​to the library, the problem of late discovery of quantum key distribution network faults and inaccurate early warnings is solved. problems, improving the accuracy of fault warning and operation and maintenance efficiency.

CN114765536BActive Publication Date: 2024-10-18QUANTUMCTEK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011626804.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-10-18
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

The quantum key distribution network fails to detect failures in time and the early warning results are inaccurate, resulting in the inability to detect abnormalities, locate the cause and solve the problem at the first time, causing serious consequences.

Method used

By periodically collecting the amount of generated keys of the quantum key distribution network, and using the preset a priori data model corresponding to the background parameters to calculate the preset threshold, it is judged whether the amount of generated keys is greater than the threshold or whether the change rate exceeds the threshold. Output alarm signals and add abnormal feature values ​​to the abnormal feature value library to realize automatic identification and learning of abnormal states.

Benefits of technology

It improves the accuracy of fault warnings, avoids the overall poor working condition of the quantum key distribution network caused by the accumulation of errors between devices, and can detect and handle abnormalities immediately, improving operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114765536B_ABST
    Figure CN114765536B_ABST
Patent Text Reader

Abstract

The present invention discloses an operation and maintenance method and device of a quantum key distribution network, which is applied to a communication node in a quantum key distribution network. The method includes: periodically collecting a first generated key amount of the quantum key distribution network, and obtaining a first preset threshold value corresponding to the first generated key amount; judging whether the first generated key amount is greater than the first preset threshold value, or judging whether the change amount of the first generated key amount relative to the generated key amount of the previous cycle is zero, or judging whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold value; if the judgment result is yes, outputting an alarm signal, and taking the first generated key amount as the first abnormal characteristic value. The application of the embodiments of the present invention can improve the accuracy of fault warning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an operation and maintenance method of a quantum key distribution network, and more specifically to an operation and maintenance method and device of a quantum key distribution network. Background Art

[0002] At present, the quantum key distribution network system is a new type of confidential communication network system with quantum keys as its core business. The business, performance data and equipment networking methods involved in this network system are very different from those of the classical optical communication network. At the same time, most quantum key distribution network systems provide encryption services for business data with high confidentiality requirements and high timeliness requirements at the enterprise and national levels. Therefore, when an abnormality occurs in the quantum key distribution network, it is required to handle the fault very quickly. Sometimes, even if the data encryption can be restored within 1 hour, it is considered too late, which will have an extremely serious impact on enterprises, government departments and quantum companies. Due to the particularity of the quantum key distribution network system, when the network system fails, how to quickly detect the fault and issue an alarm is a technical problem that needs to be solved urgently.

[0003] The patent application number 201811341135.9 discloses a quantum secure communication network system based on quantum key distribution technology and its application. The quantum secure communication network system mentioned therein also includes a management center, which manages the equipment, keys, strategies, operation and maintenance, and operation of the quantum secure communication network. For example, the equipment management center manages the access to networking equipment; the key management center manages the keys required for cryptographic algorithms in network operation; the strategy operation and maintenance management center manages the operation modes of traditional network equipment, security equipment, quantum equipment, etc.; the operation and maintenance management center manages the operation status of the entire network equipment; and the operation management center performs billing, service quality and other statistics based on business transmission. However, it does not specifically explain how the operation and maintenance management center manages the operation status of the entire network equipment.

[0004] At present, the operation and maintenance system for quantum key distribution network collects equipment / link service performance data, analyzes the collected working parameters, and then judges the fault. For example, the real-time working parameters of each device on the device or communication link are collected, and then the collected working parameters are compared with the preset normal working parameters. If the collected working parameters exceed the range corresponding to the preset normal working parameters, it means that the working state of the device is abnormal and the device needs to be maintained. However, the current operation and maintenance system of quantum key distribution network has serious defects in collecting equipment / link service performance data, judging faults, and handling faults. In the current operation and maintenance process, many of these three functions are performed by human operation, and the current operation and maintenance system of quantum key distribution network does not have the ability to optimize network performance, resulting in inaccurate early warning results. In addition, the current operation and maintenance system of quantum key distribution network involves a large number of complex types of equipment, and the monitoring of the working parameters of each device is separate. There is a lack of systematic connection of these monitoring functions. Even if the working status reported by each device is normal, there may be an accumulation of errors, resulting in the amount of generated keys not meeting the design indicators, resulting in the inability to find abnormalities, locate causes, and solve problems in the first time, causing extremely serious consequences. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide an operation and maintenance method and device for a quantum key distribution network to solve the technical problems in the prior art of untimely fault detection and inaccurate early warning results.

[0006] The present invention solves the above technical problems through the following technical solutions:

[0007] An embodiment of the present invention provides an operation and maintenance method of a quantum key distribution network, which is applied to a communication node in the quantum key distribution network. The method includes:

[0008] A: Periodically collecting a first generated key amount of the quantum key distribution network, and obtaining a first preset threshold corresponding to the first generated key amount;

[0009] B: determining whether the first generated key amount is greater than the first preset threshold, or determining whether the change of the first generated key amount relative to the key amount generated in the previous cycle is zero, or determining whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold;

[0010] C: If the judgment result of step B is yes, an alarm signal is output, and the first generated key amount is used as the first abnormal characteristic value.

[0011] Optionally, in a specific implementation of the embodiment of the present invention, the obtaining a first preset threshold corresponding to the first generated key amount includes:

[0012] The first preset threshold is calculated using a preset priori data model corresponding to background parameters, or the first preset threshold is preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

[0013] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0014] Determine whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library;

[0015] If not, the first abnormal feature value is added to the abnormal feature value library.

[0016] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0017] D: Obtain the first coding rate data of the quantum key distribution network in the current cycle, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous cycle, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current cycle is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is less than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data, or determine whether the first coding rate data is less than a seventh preset threshold, or determine whether the duration of the first coding rate data being less than the seventh preset threshold is greater than an eighth preset threshold;

[0018] E: If the judgment result of the step D is no, collect the equipment operation data of the communication link; and judge whether any item of the collected equipment operation data result value is within the preset range; if it is not within the preset range, take the equipment operation data result value exceeding the preset range as the second abnormal characteristic value, and output alarm information, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal state deception state ratio of the current cycle;

[0019] F: If the judgment result of step D is yes, an alarm signal is output, and the scanning result value corresponding to the judgment result is used as the third abnormal characteristic value.

[0020] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0021] Determine whether there is a feature value in the abnormal feature value library whose degree of fit with the second abnormal feature value or the third abnormal feature value exceeds a set value;

[0022] If not, the second abnormal feature value or the third abnormal feature value is added to the abnormal feature value library.

[0023] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0024] G: Obtain log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data;

[0025] H: If the judgment result of the G step is yes, collect the equipment operation data of the communication link; and judge whether the collected equipment operation data result value is within the preset range; if the equipment operation data result value is not within the preset range, use the equipment operation data result value as the fourth abnormal characteristic value; if the equipment operation data result value is within the preset range, judge whether the equipment parameters of the communication link in the current period are the same as the preset equipment parameters; if they are not the same, use the equipment parameters corresponding to the communication link that are different from the preset equipment parameters as the fifth abnormal characteristic value, and output an alarm message.

[0026] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0027] Determine whether there is a feature value in the abnormal feature value library whose fitting degree with the first abnormal feature value, the second abnormal feature value, the third abnormal feature value, the fourth abnormal feature value and the fifth abnormal feature value exceeds a set value;

[0028] If not, the abnormal feature value is added to the abnormal feature value library.

[0029] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0030] In the case that none of the quantum key distribution devices of the current communication node generates a key, determining whether the coding rate data reported by the quantum key distribution device is zero;

[0031] If the reported coding rate data is zero, obtain the log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are the same as the abnormal feature value in the abnormal feature value library according to the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device;

[0032] If the reported coding rate data is not zero, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

[0033] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0034] When the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution devices of the current communication node is greater than the fifth preset threshold value, and the reported coding rate data is zero, judging whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices;

[0035] If so, collect the delay scanning values ​​of the communication link and the quantum key distribution device to obtain the delay scanning result; restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption time of the first coding rate data is greater than the fifth preset threshold value within the preset time, perform self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device;

[0036] According to the delayed scanning result, determine whether the delayed scanning result is the same as the abnormal feature value in the abnormal feature value library; if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0037] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0038] When a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node, the delay scanning value of the communication link is collected to obtain a delay scanning result. Generally, the delay scanning result may include: a scanning result of polarization feedback and / or a scanning result of a synchronous correction operation;

[0039] According to the delayed scanning result, determining whether the degree of fit between the delayed scanning result and the abnormal characteristic value in the abnormal characteristic value library exceeds a set value;

[0040] If so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device;

[0041] If the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, a self-check is performed on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0042] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0043] When the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than a fifth preset threshold, and the reported coding rate data is not zero, performing a self-test on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain a self-test result;

[0044] If the self-check result is normal, the network management system of the quantum key distribution device is checked, wherein the network management system includes: a network element management system and a network management system.

[0045] The embodiment of the present invention further provides an operation and maintenance device for a quantum key distribution network, characterized in that the device comprises: a first acquisition module, a first judgment module and a first alarm module, wherein:

[0046] The first acquisition module is used to periodically collect a first generated key amount of the quantum key distribution network, and obtain a first preset threshold corresponding to the first generated key amount;

[0047] The first judgment module is used to judge whether the first generated key amount is greater than the first preset threshold, or judge whether the change of the first generated key amount relative to the key amount generated in the previous cycle is zero, or judge whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold;

[0048] The first alarm module is used to output an alarm signal when the judgment result of the first judgment module is yes, and use the first generated key amount as the first abnormal characteristic value.

[0049] Optionally, in a specific implementation of the embodiment of the present invention, the first acquisition module is further used to:

[0050] The first preset threshold is calculated using a preset priori data model corresponding to background parameters, or the first preset threshold is preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

[0051] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a second judgment module and a first storage module, wherein:

[0052] The second judgment module is used to judge whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library;

[0053] The first storage module is used to add the first abnormal feature value to the abnormal feature value library when the judgment result of the second judgment module is no.

[0054] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a second acquisition module, a third acquisition module and a second alarm module, wherein:

[0055] The second acquisition module is used to obtain the first coding rate data of the quantum key distribution network in the current cycle, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous cycle, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current cycle is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is less than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data, or determine whether the first coding rate data is less than a seventh preset threshold, or determine whether the duration of the first coding rate data being less than the seventh preset threshold is greater than an eighth preset threshold;

[0056] The third acquisition module is used to collect the equipment operation data of the communication link when the judgment result of the second acquisition module is no; and judge whether any item of the collected equipment operation data result value is within a preset range; if it is not within the preset range, the equipment operation data result value exceeding the preset range is used as the second abnormal characteristic value, and output alarm information, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal state deception state ratio of the current cycle;

[0057] The second alarm module is used to output an alarm signal when the judgment result of the second acquisition module is yes, and use the scanning result value corresponding to the judgment result as the third abnormal characteristic value.

[0058] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a third judgment module and a second storage module, wherein:

[0059] The third judgment module is used to judge whether there is a feature value in the abnormal feature value library whose fitting degree with the second abnormal feature value or the third abnormal feature value exceeds a set value;

[0060] The second storage module is used to add the second abnormal feature value or the third abnormal feature value to the abnormal feature value library when the judgment result of the third judgment module is no.

[0061] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a fourth acquisition module and a fifth acquisition module, wherein:

[0062] The fourth acquisition module is used to acquire log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data;

[0063] The fifth acquisition module is used to collect the delay scanning value of the communication link and obtain the delay scanning result when the judgment result of the fourth acquisition module is yes; and judge whether the delay scanning result value is within a preset range; if the delay scanning result is not within the preset range, use the delay scanning value corresponding to the scanning result as the fourth abnormal characteristic value; if the delay scanning result value is within the preset range, judge whether the device parameters of the communication link in the current period are the same as the preset device parameters; if not, use the device parameters corresponding to the communication link that are different from the preset device parameters as the fifth abnormal characteristic value, and output alarm information.

[0064] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a fourth judgment module and a third storage module, wherein:

[0065] The fourth judgment module is used to judge whether there is a feature value in the abnormal feature value library whose fitting degree with the fourth abnormal feature value or the fifth abnormal feature value exceeds a set value;

[0066] The third storage module is used to add the abnormal feature value to the abnormal feature value library when the judgment result of the fourth judgment module is no.

[0067] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a fifth judgment module, a sixth acquisition module and a first self-checking module, wherein:

[0068] The fifth judgment module is used to judge whether the coding rate data reported by the quantum key distribution device is zero when none of the quantum key distribution devices of the current communication node generate keys;

[0069] The sixth acquisition module is used to obtain log control process data when the reported coding rate data is zero; and judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link have a degree of fit with the abnormal feature value in the abnormal feature value library that exceeds a set value according to the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device;

[0070] The first self-check module is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the reported coding rate data is not zero; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

[0071] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a sixth judgment module, a first delay scanning module and a seventh judgment module, wherein:

[0072] The sixth judgment module is used to judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than the fifth preset threshold value and the reported coding rate data is zero, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices;

[0073] The first delay scanning module is used to collect delay scanning values ​​of the communication link and the quantum key distribution device to obtain a delay scanning result when the judgment result of the sixth judgment module is yes; and restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption time of the first coding rate data is greater than the fifth preset threshold value within the preset time, the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device are self-checked;

[0074] The seventh judgment module is used to judge whether the degree of fit between the delayed scanning result and the abnormal characteristic value in the abnormal characteristic value library exceeds a set value according to the delayed scanning result, and if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0075] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a second delayed scanning module, an eighth judgment module, a restart module and a second self-check module, wherein:

[0076] The second delay scanning module is used to collect the delay scanning value of the communication link to obtain the delay scanning result when the change waveform of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node appears a sawtooth wave, a spike wave or a rectangular wave;

[0077] The eighth judgment module is used to judge whether the degree of fit between the delayed scanning result and the abnormal feature value in the abnormal feature value library exceeds a set value according to the delayed scanning result;

[0078] The restart module is used to restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device if the judgment result of the eighth judgment module is yes;

[0079] The second self-check module is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the interruption duration of the first coding rate data after restart is greater than a fifth preset threshold.

[0080] Optionally, in a specific implementation of the embodiment of the present invention, the device further includes: a third self-checking module and a checking module, wherein:

[0081] The third self-test module is used to perform a self-test on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain a self-test result when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than a fifth preset threshold and the reported coding rate data is not zero;

[0082] The inspection module is used to inspect the network management system of the quantum key distribution device when the self-inspection result of the third self-inspection module is normal, wherein the network management system includes: a network element management system and a network management system.

[0083] Compared with the prior art, the present invention has the following advantages:

[0084] By applying the embodiments of the present invention, the amount of keys generated by the quantum key distribution network is used as the basis for fault judgment. Compared with the prior art of monitoring each device for fault judgment, this can avoid the situation where the overall working condition of the quantum key distribution network is poor due to the accumulation of errors between each device, thereby improving the accuracy of fault warning. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 A schematic diagram of a flow chart of an operation and maintenance method of a quantum key distribution network provided by an embodiment of the present invention;

[0086] Figure 2 A schematic diagram of a flow chart of another operation and maintenance method of a quantum key distribution network provided by an embodiment of the present invention;

[0087] Figure 3 A schematic diagram of the structure of an operation and maintenance device for a quantum key distribution network provided by an embodiment of the present invention;

[0088] Figure 4 A schematic diagram of the hardware structure of an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0089] Figure 5 A schematic diagram of the principle structure of an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0090] Figure 6A schematic diagram of the principle of a data acquisition strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0091] Figure 7 A schematic diagram of the principle of a key quantity characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0092] Figure 8 A schematic diagram of the principle of a coding rate characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0093] Fig. 9 A schematic diagram of the principle of a communication link / device status check eigenvalue strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention;

[0094] Fig.10 A schematic diagram of the principles of an abnormal eigenvalue processing strategy system in an operation and maintenance system of a quantum key distribution network provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0095] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment.

[0096] In order to solve the problems of the prior art, an embodiment of the present invention provides an operation and maintenance method and device of a quantum key distribution network. The following first introduces an operation and maintenance method of a quantum key distribution network provided by an embodiment of the present invention.

[0097] It should be noted that the embodiments of the present invention are applied to the communication nodes in the quantum key distribution network, wherein the communication nodes refer to the various quantum key distribution nodes in the quantum secure communication network, such as the Beijing, Tianjin, Yuhui, Hefei and other nodes on the Beijing-Shanghai quantum communication trunk line.

[0098] Embodiment 1

[0099] Figure 1 A schematic diagram of a flow chart of an operation and maintenance method of a quantum key distribution network provided by an embodiment of the present invention;

[0100] An embodiment of the present invention provides an operation and maintenance method of a quantum key distribution network, which is applied to a communication node in the quantum key distribution network. The method includes:

[0101] S101: Periodically collect a first generated key quantity of the quantum key distribution network, and obtain a first preset threshold corresponding to the first generated key quantity.

[0102] Specifically, the first preset threshold value may be calculated using a preset priori data model corresponding to background parameters, or the first preset threshold value may be preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

[0103] Exemplarily, the amount of generated keys of the quantum key distribution network can be collected according to a preset period, thereby obtaining the first amount of generated keys corresponding to the current period.

[0104] In practical applications, the amount of key generated for the quantum key distribution network, as well as the link attenuation, total quantum signal attenuation, signal state error rate, detection count ratio, and delayed scanning peak value corresponding to the amount of key generated can be used to fit the prior data model, and then obtain the fitted prior data model. Then, the first preset threshold corresponding to the amount of key generated for the quantum key distribution network is calculated based on the fitted prior data model.

[0105] It can be understood that the fitted prior data model is a combination of the link attenuation, total quantum signal attenuation, signal state error rate, detection count ratio, and delayed scanning peak value corresponding to the acquisition of the first generated key amount, and then calculates the first preset threshold corresponding to the state of the quantum key distribution network corresponding to the acquisition of the first generated key amount. In addition, if the duration of the cycle is 10s, the current cycle can be 10s-20s.

[0106] The generated key amount corresponding to the end point of the current cycle, the generated key amount corresponding to the starting point of the current cycle, or the generated key amount corresponding to the midpoint of the current cycle can be used as the first generated key amount corresponding to the current cycle, and the embodiment of the present invention does not limit it here.

[0107] S102: Determine whether the first generated key amount is greater than the first preset threshold, or determine whether the change in the first generated key amount relative to the key amount generated in the previous cycle is zero, or determine whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold; if so, execute step S103.

[0108] Exemplarily, since the amount of generated keys changes dynamically in real time, it is possible to determine whether the first amount of generated keys is greater than the first preset threshold; or to determine whether the change in the first amount of generated keys relative to the amount of keys generated in the previous cycle is zero, thereby determining whether the first amount of generated keys meets the target requirements.

[0109] In addition, since the real-time dynamic change of the generated key amount cannot be too drastic, it can be determined whether the change rate of the first generated key amount corresponding to the current period exceeds the second preset threshold.

[0110] It is understandable that the ratio of the difference between the amount of generated keys corresponding to the end point of the current cycle and the amount of generated keys corresponding to the start point of the current cycle to the duration of the current cycle can be used as the rate of change of the first amount of generated keys corresponding to the current cycle. The embodiment of the present invention does not limit the calculation method of the rate of change of the first amount of generated keys corresponding to the current cycle, and any calculation method that can calculate the rate of change of the first amount of generated keys corresponding to the current cycle is within the protection scope of the embodiment of the present invention.

[0111] S103: Output an alarm signal, and use the first generated key amount as a first abnormal characteristic value.

[0112] Exemplarily, when the judgment result of S102 is yes, it means that there is an abnormality in the first generated key amount of the quantum key distribution network, and it is necessary to remind maintenance personnel to perform maintenance, or generate a fault record, so an alarm signal is output; in addition, the first generated key amount corresponding to the current cycle is used as the first abnormal characteristic value. For example, the first generated key amount corresponding to the current cycle is 5kbps, then the first abnormal characteristic value is 5kbps.

[0113] Application of the present invention Figure 1 The illustrated embodiment uses the amount of keys generated by the quantum key distribution network as the basis for fault judgment. Compared with the prior art of monitoring each device for fault judgment, this can avoid the situation where the overall working condition of the quantum key distribution network is poor due to the accumulation of errors between the devices, thereby improving the accuracy of fault warning.

[0114] In a specific implementation of the embodiment of the present invention, in the present invention Figure 1 Based on the embodiment shown, the method further includes the following steps:

[0115] Determine whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library;

[0116] If not, the first abnormal feature value is added to the abnormal feature value library.

[0117] Exemplarily, it is determined whether there is a feature value identical to the first abnormal feature value obtained in step S103 in the abnormal feature value library. If not, it means that the first abnormal feature value is a new abnormal feature value and the first abnormal feature value needs to be added to the abnormal feature value library.

[0118] By applying the above-mentioned embodiments of the present invention, new abnormal feature values ​​can be added to the abnormal feature value library, thereby making the abnormal feature value library more complete.

[0119] Figure 2 A schematic diagram of a flow chart of another operation and maintenance method of a quantum key distribution network provided by an embodiment of the present invention. Figure 2The embodiment shown in the present invention Figure 1 The following steps are added based on the embodiment shown:

[0120] S104: Obtain the first coding rate data of the quantum key distribution network in the current period, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous period, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current period is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is lower than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the first coding rate data, or determine whether the first coding rate data is lower than a seventh preset threshold, or determine whether the duration of the first coding rate data being lower than the seventh preset threshold is greater than an eighth preset threshold. If the judgment result is no, execute step S105; if the judgment result is yes, execute step S106.

[0121] Exemplarily, the first coding rate data of the quantum key distribution network at 10s-20s is obtained, and the difference between the first coding rate data corresponding to 10s-20s and the first coding rate data corresponding to 0s-10s is calculated.

[0122] Determine whether the obtained difference is not less than a third preset threshold, that is, determine whether the difference is greater than or equal to the third preset threshold;

[0123] Determine whether the interruption duration of the acquired 10s-20s first bit rate data is greater than or equal to a fifth preset threshold;

[0124] Determine whether the duration of the acquired 10s-20s first bit rate data is less than a sixth preset threshold;

[0125] Determine whether the waveform of the acquired 10s-20s first bit rate data has a sawtooth wave, a spike wave or a rectangular wave. In practical applications, the slopes of the rising edge and the falling edge on both sides of the waveform in the sawtooth wave can be preset, and similarly, the slopes of the rising edge and the falling edge in the spike wave can be preset;

[0126] Determine whether the acquired first bit rate data of 10s-20s is lower than a seventh preset threshold;

[0127] Determine whether the duration of the acquired first coding rate data of 10s-20s when being lower than the seventh preset threshold is greater than the eighth preset threshold; that is, when the first coding rate data of 10s-20s is lower than the seventh preset threshold, the duration of the duration is greater than the eighth preset threshold.

[0128] S105: Collect the equipment operation data of the communication link; and determine whether any item of the collected equipment operation data result value is within a preset range; if it is not within the preset range, use the equipment operation data result value exceeding the preset range as the second abnormal characteristic value, and output an alarm message, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal state deception state ratio of the current cycle.

[0129] Exemplarily, when the judgment result of step S104 is yes, data collection operation is performed on the device in the communication link of the quantum key distribution network. If the detection count ratio corresponding to the current cycle is 10, and the preset range of the detection count ratio is 8-15, it is determined whether the detection count ratio is within the preset range. If the judgment result is no, the detection count ratio 10 is used as the second characteristic value.

[0130] Similarly, the delayed scan peak value number of the current cycle, the dark count of the current cycle, and the signal state to decoy state ratio of the current cycle can also be processed according to the above processing method.

[0131] S106: Output an alarm signal, and use the scan result value corresponding to the judgment result as the third abnormal characteristic value.

[0132] Exemplarily, the first coding rate data of the current cycle is used as the third abnormal characteristic value, and at the same time, an alarm signal is output.

[0133] Application of the present invention Figure 2 In the illustrated embodiment, a third abnormal characteristic value can be obtained.

[0134] In a specific implementation of the embodiment of the present invention, in the present invention Figure 2 Based on the embodiment shown, the method further includes:

[0135] Determine whether there is a feature value in the abnormal feature value library that is the same as the second abnormal feature value or the third abnormal feature value;

[0136] If not, the second abnormal feature value or the third abnormal feature value is added to the abnormal feature value library.

[0137] Exemplarily, it is determined whether there is a feature value identical to the second abnormal feature value obtained in step S105 in the abnormal feature value library. If not, it means that the second abnormal feature value is a new abnormal feature value and the second abnormal feature value needs to be added to the abnormal feature value library.

[0138] In addition, it is also possible to determine whether there is a feature value in the abnormal feature value library that is the same as the third abnormal feature value obtained in step S106. If not, it means that the third abnormal feature value is a new abnormal feature value and the third abnormal feature value needs to be added to the abnormal feature value library.

[0139] By applying the above-mentioned embodiments of the present invention, new abnormal feature values ​​can be added to the abnormal feature value library, thereby making the abnormal feature value library more complete.

[0140] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0141] G (not shown in the figure): obtain log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal based on the log control process data; if so, execute step G.

[0142] Exemplarily, the log control process data corresponding to the current cycle is obtained, and based on the log control process data, the heartbeat data of the communication link is checked to determine whether the connection of the communication link is normal; the authentication data of the communication link is checked to determine whether the communication link is legal; the monitoring data of the communication link is checked to determine whether the monitoring result of the communication link is normal; the link data of the communication link is checked to determine whether the communication link is normal; the key authentication data of the communication link is checked to determine whether the key authentication of the communication link is normal.

[0143] It should be noted that steps G to H in the embodiment of the present invention are status checks of the communication link / device for the quantum key distribution network. In addition, when the first coding rate of the current cycle is normal, step G is to be performed; when the first coding rate of the current cycle is abnormal, step G is also to be performed.

[0144] H (not shown in the figure): collect the equipment operation data of the communication link; and determine whether the collected equipment operation data result value is within a preset range; if the equipment operation data result value is not within the preset range, use the equipment operation data result value as the fourth abnormal characteristic value; if the equipment operation data result value is within the preset range, and determine whether the delay scan result value is within the preset range; if the delay scan result is not within the preset range, use the delay scan value corresponding to the scan result as the fourth abnormal characteristic value; if the delay scan result value is within the preset range, determine whether the equipment parameters of the communication link in the current period are the same as the preset equipment parameters, if not the same, use the equipment parameters corresponding to the communication link that are different from the preset equipment parameters as the fifth abnormal characteristic value, and output an alarm message.

[0145] Exemplarily, the equipment operation data of the communication link of the quantum key distribution network is collected; it is determined whether the collected result is within a preset range, and if not, the collected result is used as the fourth abnormal characteristic value, and the signal state error rate, detection count ratio, delayed scanning peak number, dark count and signal state deception state ratio corresponding to the current period can also be used as the fourth abnormal characteristic value.

[0146] When the judgment result is yes, the device parameters corresponding to the current cycle are compared with the preset device parameters to determine whether the device parameters corresponding to the current cycle exceed the range of the preset device parameters. If so, the device parameters corresponding to the current cycle are used as the fifth abnormal characteristic value.

[0147] By applying the above embodiment of the present invention, the fourth abnormal feature value and the fifth abnormal feature value can be obtained.

[0148] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0149] I (not shown in the figure): determine whether there is a feature value identical to the fourth abnormal feature value and the fifth abnormal feature value in the abnormal feature value library; if not, execute step J.

[0150] J (not shown in the figure): adding the abnormal feature value to the abnormal feature value library.

[0151] It is understandable that when the judgment result is yes, it means that there are feature values ​​identical to the fourth abnormal feature value and the fifth abnormal feature value in the abnormal feature value library, and there is no need to add the above feature values ​​to the abnormal feature value library.

[0152] Exemplarily, it is determined whether there is a feature value identical to the fourth abnormal feature value obtained in step H in the abnormal feature value library. If not, it means that the fourth abnormal feature value is a new abnormal feature value, and the fourth abnormal feature value needs to be added to the abnormal feature value library.

[0153] In addition, it is also possible to determine whether there is a feature value in the abnormal feature value library that is the same as the fifth abnormal feature value obtained in step H. If not, it means that the fifth abnormal feature value is a new abnormal feature value, and the fifth abnormal feature value needs to be added to the abnormal feature value library.

[0154] By applying the above-mentioned embodiments of the present invention, new abnormal feature values ​​can be added to the abnormal feature value library, thereby making the abnormal feature value library more complete.

[0155] By applying the above-mentioned embodiment of the present invention, the first abnormal feature value, the second abnormal feature value, the third abnormal feature value, the fourth abnormal feature value and the fifth abnormal feature value can be added to the abnormal feature value library, and then autonomous learning of the abnormal feature value library can be performed.

[0156] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0157] K (not shown in the figure): when none of the quantum key distribution devices of the current communication node generates keys, determine whether the coding rate data reported by the quantum key distribution device is zero.

[0158] Exemplarily, if the judgment result of step K is yes, execute step L; if not, execute step M.

[0159] L (not shown in the figure): obtain log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are the same as the abnormal feature value in the abnormal feature value library based on the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device.

[0160] Exemplarily, if one of the inspection results is abnormal, the inspection result is output or an alarm is output.

[0161] M (not shown in the figure): perform self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

[0162] Exemplarily, the current node is a Yuhui node, and the quantum key distribution device paired with the Yuhui node is the quantum key distribution device of the monarch node. When the self-test result of the quantum key distribution device of the Yuhui node is normal, the quantum key distribution device of the monarch node is checked; if the self-test result is abnormal, the check result is output or an alarm is output.

[0163] By applying the above-mentioned embodiments of the present invention, the status of the communication link / device can be checked when none of the quantum key distribution devices of the current communication node has generated a key.

[0164] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0165] N (not shown in the figure): when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than the fifth preset threshold, and the reported coding rate data is zero, judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices.

[0166] Exemplarily, the Yuhui node will have 5 quantum key distribution devices. When the interruption duration of the first coding rate data of three of the quantum key distribution devices is greater than the fifth preset threshold and the reported coding rate data is zero, the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link corresponding to each quantum key distribution device are judged whether they are normal according to the log control process data obtained for each quantum key distribution device of the current node.

[0167] O (not shown in the figure): If so, collect the delay scanning values ​​of the communication link and the quantum key distribution device to obtain the delay scanning results; restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption duration of the first coding rate data is greater than the fifth preset threshold value within the preset time, perform self-inspection on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0168] Exemplarily, the signal state error rate, detection count ratio, delayed scan peak number, dark count, and signal state deception state ratio data are collected from the communication link, and these data are compared with the characteristic values ​​in the characteristic value library. If the characteristic value identical to the aforementioned data is found in the characteristic value library, the quantum key distribution device is restarted. Then, the quantum key distribution device is monitored to see if the aforementioned problem occurs again. If so, the quantum key distribution device is self-checked.

[0169] P (not shown in the figure): according to the delayed scanning result, determine whether the delayed scanning result is the same as the abnormal characteristic value in the abnormal characteristic value library; if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than the fifth preset threshold, perform self-inspection on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0170] By applying the above-mentioned embodiments of the present invention, the status of the communication link / device can be checked when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than the fifth preset threshold and the reported coding rate data is zero.

[0171] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0172] Q (not shown in the figure): when a sawtooth wave, a spike wave or a rectangular wave appears in the changing waveform of the first coding rate data, the delay scanning values ​​of the communication link and the quantum key distribution device are collected to obtain the delay scanning result.

[0173] It should be emphasized that step Q is performed when an abnormality occurs in the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node.

[0174] R (not shown in the figure): according to the delayed scanning result, it is determined whether the delayed scanning result is the same as the abnormal feature value in the abnormal feature value library.

[0175] S (not shown in the figure): If so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0176] T (not shown in the figure): if the interruption duration of the first coding rate data after restart is greater than a fifth preset threshold, a self-check is performed on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0177] By applying the above-mentioned embodiment of the present invention, when a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the first coding rate data, the status of the communication link / device can be checked.

[0178] Optionally, in a specific implementation of the embodiment of the present invention, the method further includes:

[0179] U (not shown in the figure): when the interruption duration of the first coding rate data is greater than a fifth preset threshold value and the reported coding rate data is not zero, perform self-test on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain self-test results.

[0180] It should be emphasized that step U is performed when an abnormality occurs in the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node.

[0181] V (not shown in the figure): If the self-test result is normal, the network management system of the quantum key distribution device is checked, wherein the network management system includes: a network element management system and a network management system.

[0182] By applying the above-mentioned embodiment of the present invention, when a sawtooth wave, a spike wave or a rectangular wave appears in the changing waveform of the first coding rate data, the status of the communication link / device is checked.

[0183] In addition, the process from step S101 to step S103 can be called the key generation characteristic value monitoring system of the quantum key distribution network, and the process from step S104 to step S106 can be called the coding rate characteristic value monitoring system of the quantum key distribution network; the process from step G to step H can be called the communication link / device status check characteristic value system of the quantum key distribution network; and the process from step K to step V can be called the exception handling system of the quantum key distribution network.

[0184] In the current operation and maintenance process, the coding rate characteristic value monitoring system, the communication link / equipment status check characteristic value system and the exception handling system are all operated manually. However, by applying the above embodiment of the present invention, the abnormal state in the quantum key distribution network can be automatically identified; and the characteristic value corresponding to the abnormal state is added to the abnormal characteristic value library, thereby achieving the purpose of learning the abnormal state.

[0185] In addition, the various functions of current operation and maintenance are very scattered, and there is a lack of systematic connection between these functions, resulting in the inability to discover abnormalities, locate causes, and solve problems in the first place, causing extremely serious consequences. By applying the above-mentioned embodiments of the present invention, a comprehensive assessment can be made of abnormal states in a quantum key distribution network, thereby improving the speed and accuracy of abnormal state discovery.

[0186] With the present invention Figure 1 Corresponding to the illustrated embodiment, an embodiment of the present invention also provides an operation and maintenance device for a quantum key distribution network.

[0187] Figure 3 A schematic diagram of the structure of an operation and maintenance device for a quantum key distribution network provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the device includes: a first acquisition module 301, a first judgment module 302 and a first alarm module 303, wherein:

[0188] The first acquisition module 301 is used to periodically collect a first generated key amount of the quantum key distribution network and obtain a first preset threshold corresponding to the first generated key amount.

[0189] The first judgment module 302 is used to judge whether the first generated key amount is greater than the first preset threshold, or judge whether the change of the first generated key amount relative to the key amount generated in the previous cycle is zero, or judge whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold.

[0190] The first alarm module 303 is used to output an alarm signal when the judgment result of the first judgment module 302 is yes, and use the first generated key amount as the first abnormal characteristic value.

[0191] Application of the present invention Figure 3 The illustrated embodiment uses the final result of the quantum key distribution network to generate a key quantity as the basis for fault judgment. Compared with the prior art of monitoring each device for fault judgment, it can avoid the situation where the overall working condition of the quantum key distribution network is poor due to the accumulation of errors between each device, thereby improving the accuracy of fault warning.

[0192] In a specific implementation of the embodiment of the present invention, the first acquisition module 301 is further used to:

[0193] The first preset threshold is calculated using a preset priori data model corresponding to background parameters, or the first preset threshold is preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

[0194] In a specific implementation of the embodiment of the present invention, the device further includes: a second judgment module 304 (not shown in the figure) and a first storage module 305 (not shown in the figure), wherein:

[0195] The second judgment module 304 is used to judge whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library;

[0196] The first storage module 305 is used to add the first abnormal feature value to the abnormal feature value library when the judgment result of the second judgment module is no.

[0197] In a specific implementation of the embodiment of the present invention, the device further includes: a second acquisition module 306 (not shown in the figure), a third acquisition module 307 (not shown in the figure) and a second alarm module 308 (not shown in the figure), wherein:

[0198] The second acquisition module 306 is used to obtain the first coding rate data of the quantum key distribution network in the current cycle, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous cycle, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current cycle is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is less than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data, or determine whether the first coding rate data is less than a seventh preset threshold, or determine whether the duration of the first coding rate data being less than the seventh preset threshold is greater than an eighth preset threshold;

[0199] The third acquisition module 307 is used to collect the equipment operation data of the communication link when the judgment result of the second acquisition module is no; and judge whether any item of the collected equipment operation data result value is within the preset range; if it is not within the preset range, the equipment operation data result value exceeding the preset range is used as the second abnormal characteristic value, and output alarm information, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal state deception state ratio of the current cycle;

[0200] The second alarm module 308 is used to output an alarm signal when the judgment result of the second acquisition module is yes, and use the scanning result value corresponding to the judgment result as the third abnormal characteristic value.

[0201] In a specific implementation of the embodiment of the present invention, the device further includes: a third judgment module 309 (not shown in the figure) and a second storage module 3010 (not shown in the figure), wherein:

[0202] The third judgment module 309 is used to judge whether there is a feature value that is the same as the second abnormal feature value or the third abnormal feature value in the abnormal feature value library;

[0203] The second storage module 3010 is used to add the second abnormal feature value or the third abnormal feature value to the abnormal feature value library when the judgment result of the third judgment module is no.

[0204] In a specific implementation of the embodiment of the present invention, the device further includes: a fourth acquisition module 3011 (not shown in the figure) and a fifth acquisition module 3012 (not shown in the figure), wherein:

[0205] The fourth acquisition module 3011 is used to acquire log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data;

[0206] The fifth acquisition module 3012 is used to collect the delay scanning value of the communication link and obtain the delay scanning result when the judgment result of the fourth acquisition module is yes; and judge whether the delay scanning result value is within a preset range; if the delay scanning result is not within the preset range, use the delay scanning value corresponding to the scanning result as the fourth abnormal characteristic value; if the delay scanning result value is within the preset range, judge whether the device parameters of the communication link in the current period are the same as the preset device parameters; if they are not the same, use the device parameters corresponding to the communication link that are different from the preset device parameters as the fifth abnormal characteristic value, and output alarm information.

[0207] In a specific implementation of the embodiment of the present invention, the device further includes: a fourth judgment module 3013 (not shown in the figure) and a third storage module 3014 (not shown in the figure), wherein:

[0208] The fourth judgment module 3013 is used to judge whether there is a feature value in the abnormal feature value library whose fitting degree with the fourth abnormal feature value or the fifth abnormal feature value exceeds a set value;

[0209] The third storage module 3014 is used to add the abnormal feature value to the abnormal feature value library when the judgment result of the fourth judgment module is no.

[0210] In a specific implementation of the embodiment of the present invention, the device further includes: a fifth judgment module 3015 (not shown in the figure), a sixth acquisition module 3016 (not shown in the figure) and a first self-checking module 3017 (not shown in the figure), wherein:

[0211] The fifth judgment module 3015 is used to judge whether the coding rate data reported by the quantum key distribution device is zero when none of the quantum key distribution devices of the current communication node have generated a key;

[0212] The sixth acquisition module 3016 is used to obtain log control process data when the reported coding rate data is zero; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link have a degree of fit with the abnormal feature value in the abnormal feature value library that exceeds a set value according to the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device;

[0213] The first self-check module 3017 is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the reported coding rate data is not zero; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

[0214] In a specific implementation of the embodiment of the present invention, the device further includes: a sixth judgment module 3018 (not shown in the figure), a first delayed scanning module 3019 (not shown in the figure) and a seventh judgment module 3020 (not shown in the figure), wherein:

[0215] The sixth judgment module 3018 is used to judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than the fifth preset threshold value and the reported coding rate data is zero, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices;

[0216] The first delay scanning module 3019 is used to collect the delay scanning values ​​of the communication link and the quantum key distribution device to obtain the delay scanning result when the judgment result of the sixth judgment module is yes; restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption time of the first coding rate data is greater than the fifth preset threshold value within the preset time, the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device are self-checked;

[0217] The seventh judgment module 3020 is used to judge whether the delayed scanning result is the same as the abnormal characteristic value in the abnormal characteristic value library according to the delayed scanning result, and if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than the fifth preset threshold, perform self-inspection on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

[0218] In a specific implementation of the embodiment of the present invention, the device further includes: a second delayed scanning module 3021 (not shown in the figure), an eighth judgment module 3022 (not shown in the figure), a restart module 3023 (not shown in the figure) and a second self-check module 3024 (not shown in the figure), wherein:

[0219] The second delay scanning module 3021 is used to collect the delay scanning value of the communication link to obtain the delay scanning result when the waveform of the change of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node appears a sawtooth wave, a spike wave or a rectangular wave;

[0220] The eighth judgment module 3022 is used to judge whether the delayed scanning result is the same as the abnormal feature value in the abnormal feature value library according to the delayed scanning result;

[0221] The restart module 3023 is used to restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device if the judgment result of the eighth judgment module is yes;

[0222] The second self-check module 3024 is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the interruption duration of the first coding rate data after restart is greater than a fifth preset threshold.

[0223] In a specific implementation of the embodiment of the present invention, the device further includes: a third self-checking module 3025 (not shown in the figure) and a checking module 3026 (not shown in the figure), wherein:

[0224] The third self-check module 3025 is used to, when the interruption time of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than a fifth preset threshold value and the reported coding rate data is not zero, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain a self-check result;

[0225] The inspection module 3026 is used to inspect the network management system of the quantum key distribution device when the self-inspection result of the third self-inspection module is normal, wherein the network management system includes: a network element management system and a network management system.

[0226] Embodiment 2

[0227] on the other hand, Figure 4 A schematic diagram of the hardware structure of an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown,

[0228] The hardware structure of the operation and maintenance system of the quantum key distribution network can be divided into three parts:

[0229] 1. The network management agent of the device, that is, the hardware layer, includes: alarm service interface, configuration service interface, performance service interface and command line service interface.

[0230] Network management agent of the device: Through the network management agent, the quantum network element device can report the corresponding device configuration, original performance data (coding rate, signal error rate, amount of generated available keys) and corresponding alarms to the network element management system.

[0231] 2. EMS (Element Management System), which can usually be called the element management layer. The element management system can include: northbound interface layer and collection adaptation layer, where the northbound interface layer includes alarm service interface, configuration service interface, performance service interface, alarm management, configuration management, performance management, and fault strategy management.

[0232] Alarm management can include three parts: alarm processing, alarm presentation, and alarm analysis.

[0233] Configuration management can include three parts: network element management, board management, and port management.

[0234] Performance management can include three parts: performance warning, performance display, and performance statistics.

[0235] Fault policy management can include three parts: fault policy template, fault policy configuration, and fault policy execution.

[0236] EMS can present the performance parameters and alarms reported by quantum devices in a list (through historical performance lists and alarm monitoring lists). At the same time, it reports device configuration, performance data and alarms to NMS through Corba (Common Object Request Broker Architecture).

[0237] 3. NMS (Network Management System).

[0238] NMS can include: alarm management, configuration management, performance management, and fault policy management.

[0239] Alarm management can include three parts: alarm processing, alarm presentation, and alarm analysis.

[0240] Configuration management can include three parts: network element management, board management, and port management.

[0241] Performance management can include three parts: performance warning, performance display, and performance statistics.

[0242] NMS can establish the relationship between devices in NMS and form a topology view based on the device configuration reported by EMS. At the same time, it dynamically presents the real-time bit rate of the backbone network / metropolitan area network, generates available keys and related alarms in the topology map based on the performance data and alarms reported by EMS.

[0243] Figure 5 A schematic diagram of the principle structure of an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, an operation and maintenance system of a quantum key distribution network provided by an embodiment may include: a data collection strategy part, a service characteristic value strategy and an exception handling strategy, wherein the service characteristic value strategy may include: a quantum communication link key quantity generation characteristic value strategy system, a quantum link coding rate data characteristic value strategy system and a quantum communication link / device status check characteristic value strategy system.

[0244] It can be understood that a quantum communication link refers to a link formed by connecting the various communication nodes on the quantum communication line, for example, a link formed by connecting the communication nodes such as Yuhui, Junwang and Fuli on the Beijing-Shanghai quantum communication trunk line.

[0245] Figure 6 A schematic diagram of the principle of a data acquisition strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention, such as Figure 6 As shown, the data collection strategy may include a data collection strategy for a quantum communication link key quantity characteristic value strategy system, a quantum link coding rate data characteristic value strategy system, and a quantum communication link / device state check characteristic value strategy system, wherein:

[0246] The data collection strategy for the key quantity characteristic value strategy system for quantum communication link generation can include: collecting the key quantity generated under specific background parameters, such as link attenuation and total quantum signal attenuation conditions; and also include: time-sharing collection of the key quantity generated; in addition, based on the prior relationship, the relative increment of the key quantity generated under specific link attenuation and total quantum signal attenuation conditions is normal, and then a threshold range is derived and determined, and under the specific link attenuation, there must be a specific threshold range corresponding.

[0247] The data collection strategy for the quantum link coding rate data characteristic value strategy system may include: coding rate collection, collecting specific background parameters, such as link attenuation and total quantum signal attenuation; according to a priori relationships, calculating the normal coding rate range under specific link attenuation and total quantum signal attenuation conditions.

[0248] The data collection strategy of the state check characteristic value strategy system for quantum communication links / equipment may include: collecting specific background parameters, such as link attenuation and total quantum signal attenuation; the range of synchronous light entrance light intensity, relative to the theoretical normal coding rate range, theoretically deriving the relative signal state error rate, detection count ratio, delayed scanning peak number, dark count range, signal state decoy state ratio and privacy amplification factor range; collecting the control flow in the log of the device. From the control flow, it is possible to detect registration, monitoring, linking, key authentication / photoelectric aspects (delayed scanning, polarization feedback, synchronous light correction) / QKD work starting coding; signal state error rate, detection count ratio, delayed scanning peak number, dark count, signal state decoy state ratio and privacy amplification factor; analyzing the principle of the corresponding photoelectric alarm generation, and establishing a data model library that triggers an alarm when the relevant performance data (dark count, delayed scanning peak number and signal state decoy state, privacy amplification factor) exceeds a certain threshold threshold alone or in combination.

[0249] It is understandable that the data collection strategy mainly refers to the collection of real-time business data and performance data according to specific data strategies, and the control process in the log should also be collected. More importantly, a data model is established based on a priori theory, and a normal data range and alarm data model library are established through the a priori data model.

[0250] In data collection, in addition to collecting corresponding data according to specific data strategies, it is also necessary to consider that the same type of performance data may change under specific background parameters (link attenuation, total quantum signal attenuation). This is because some performance data are related to specific background parameters.

[0251] In data collection, it is necessary to first obtain the threshold range of normal changes in the amount of generated keys and the threshold range of normal coding rate values ​​through theoretical calculations, and to deduce a series of theoretical range values ​​of performance parameters (signal state error rate, detection count ratio, delayed scanning peak value) based on normal coding conditions. At the same time, by analyzing the principles of the generation of corresponding photoelectric alarms, a data model library is established to trigger an alarm when a single or combined set of relevant performance data reaches a certain threshold.

[0252] Figure 7 A schematic diagram of a key quantity characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention is shown in FIG. Figure 7 As shown, a key quantity characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention may include: a key quantity check system and a characteristic value system, wherein:

[0253] The key generation quantity inspection system is used to calculate the key generation quantity collected in time-sharing manner, obtain the change in the key generation quantity between this time point and the previous time point, and then determine whether the change in the key generation quantity is normal. Even if the change is normal, it is necessary to enter the coding rate detection strategy for inspection. If the coding rate detection strategy is also normal during this period, it can be determined that it is basically normal; in addition, under specific attenuation, the relative increment of the generated key is compared with the normal threshold to check the similarity. In the case of abnormal change, determine whether the change is zero, or under specific attenuation, check whether the relative increment of the generated key and the normal threshold have undergone a sudden change.

[0254] The characteristic value system may include: a normal relatively increased characteristic value module for generating available keys, an abnormal characteristic value module, and a self-learning module, wherein the abnormal characteristic value module is used for abnormal characteristic values ​​with a change amount of 0, or a characteristic value with a sudden change in the relative increment of the key; the self-learning module is used to analyze the newly appeared abnormal situation and the original characteristic value, or compare it with the existing abnormal characteristic value. If the approximation is very low, it can be considered as a new characteristic value. It is also a new abnormal standard.

[0255] Establish a data collection strategy: collect the key quantity generated by time-sharing, and analyze the collected data according to the set normal and abnormal standards (under specific background parameters, such as link attenuation, total quantum signal attenuation), and set the corresponding characteristic values ​​for the data that meet the normal and abnormal standards.

[0256] The eigenvalue strategy system has the ability of self-learning. It compares the newly collected data with the existing abnormal eigenvalues, and determines whether the current data state belongs to the existing eigenvalue or the new eigenvalue according to a certain comparison approximation, and then adds the new eigenvalue to the abnormal eigenvalue database.

[0257] Figure 8 A schematic diagram of the principle of a coding rate characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention, such as Figure 8 As shown, a coding rate characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention includes: a coding rate checking module and a characteristic value module, wherein:

[0258] The coding rate check module is used to analyze the coding rate according to the time-sharing key generation state of specific background parameters. When normal conditions are met, the state check characteristic value strategy system of the quantum communication link / device is entered, wherein the normal conditions are that the average value of the real-time coding rate within a period of time falls within the normal coding rate value range, there is no interruption for a relatively long duration (the reported coding rate is 0, or no coding value is reported), there is no continuous sawtooth wave, spike and rectangular wave, and the coding rate is not lower than the minimum effective value (and maintained for a long time); when judging whether the coding rate has a long-term interruption, the coding rate is maintained at a low time for a long time; whether there are continuous sawtooth waves, spikes and rectangular waves, that is, the coding rate does not meet the normal conditions, that is, when the coding rate is found to be abnormal, the state check characteristic value strategy system of the quantum communication link / device is entered, wherein, when judging that the coding rate does not meet the normal conditions, the minimum effective value threshold of the coding rate and the duration threshold of the effective coding rate can be determined according to the normal prior relationship and the specific attenuation for judgment.

[0259] The feature value module is used to obtain normal feature values, abnormal feature values ​​and self-learning, wherein the judgment basis for normal feature values ​​(actual coding rate value effectively falls within the theoretical coding rate range) is that the continuous coding is not less than a certain time (6 minutes) and the intermediate interval is not less than a certain time (2 minutes);

[0260] The judgment basis for abnormal characteristic values ​​(the actual coding rate value cannot effectively fall within the theoretical coding rate range) is: the occurrence of a relatively long interruption in the flow (the reported coding rate is 0); the occurrence of continuous sawtooth waves, spikes and rectangular waves; the occurrence of a coding rate lower than the minimum valid value (and maintained for a long time); the occurrence of a relatively long interruption in the flow (no coding value is reported).

[0261] The process of self-learning is to compare with the existing abnormal feature values. When the similarity is high, it is considered to be a similar abnormal feature value; when compared with the existing abnormal feature values, if the similarity is very low, it can be considered a new feature value. It is also a new abnormal standard.

[0262] It can be understood that the quantum communication link coding rate data characteristic value strategy system enters the coding rate data characteristic value strategy system based on the judgment of the amount of generated key collected in time-sharing. The collected data is analyzed according to the set normal and abnormal standards (the waveform of the coding rate change and the normal coding rate range threshold derived from the specific background parameters), and the data that matches the normal and abnormal standards is set as the characteristic value. The characteristic value strategy system has the ability of self-learning, compares the newly collected data with the existing abnormal characteristic values, and judges whether the current data state belongs to the existing characteristic value or the new characteristic value according to a certain comparison approximation.

[0263] Fig. 9 A schematic diagram of a communication link / device status check eigenvalue strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention, such as Fig. 9 As shown, a communication link / device status check characteristic value strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention may include: a coding rate check module, a characteristic value module, wherein:

[0264] The coding rate status check module is used to check the coding rate status. Under specific background conditions, the coding is normal, that is, the collected relevant values ​​fall within the corresponding range. The normal condition is that the signal state error rate, detection count ratio, delayed scan peak number, dark count, and signal state deception state ratio at the time of collection fall within the normal range. Under specific background conditions, the coding is abnormal, that is, in the following four coding rate abnormal situations, there is a relatively long interruption (the reported coding rate is 0), continuous sawtooth waves, spikes and rectangular waves appear, continuous sawtooth waves, spikes and rectangular waves appear, and the coding rate appears to be lower than the minimum valid value (and maintained for a long time). Then check the log control process data, start the detection of heartbeat, authentication, monitoring, link and key authentication, and collect the operating parameters of the equipment in the communication link. The collected equipment operating parameters may include the signal state error rate, detection count ratio, delayed scan peak number, dark count, and signal state deception state ratio at the time (it is necessary to take into account the alarms in the preset time period before and after the interruption occurs.

[0265] The characteristic value module is used to obtain the characteristic value when the coding rate is normal, obtain the characteristic value when the coding rate is abnormal and perform self-learning, wherein, when the real-time coding rate is normal (the actual coding rate value effectively falls within the theoretical coding rate range), that is, one or more of the signal state error rate, detection count ratio, delayed scanning peak number, dark count, signal state deception state ratio and privacy amplification factor are within the preset normal range; when the real-time coding rate is abnormal, start the detection heartbeat, authentication, monitoring, link and key authentication, and start collecting the operating parameters of the equipment. When an alarm occurs, the signal state error rate, detection count ratio, delayed scanning peak number, dark count and signal state deception state ratio before and after the alarm are taken to form the characteristic value generated by the alarm, and the actual characteristic value is compared with the corresponding theoretical data model. If it falls within the corresponding range, it belongs to the normal characteristic value of the alarm. If the actual characteristic value is not successfully compared with the theoretical data model corresponding to the alarm and does not fall into the corresponding range, it is considered that the characteristic value belongs to the special characteristic value of the alarm. When no alarm occurs, the device performance parameters are compared with normal device performance parameters to check whether there are abnormal changes. If there are abnormal changes, they are listed as abnormal characteristic values.

[0266] Self-learning means analyzing the newly emerged abnormal situations and the original feature values, and comparing them with the existing abnormal feature values. If the similarity is high, it is considered to be a similar abnormal feature value; if the similarity is very low when compared with the existing abnormal feature values, it can be considered to be a new feature value, and also a new abnormal standard.

[0267] It can be understood that the state check eigenvalue strategy system of the quantum communication link / device analyzes the state based on the priori, and establishes abnormal eigenvalues ​​that meet the standards through the eigenvalue strategy system (the abnormal eigenvalues ​​do not fall within the data range of the normal state, or the abnormal eigenvalues ​​and the alarm data model library are consistent with the maximum approximation).

[0268] According to the judgment of the coding rate, enter the state check characteristic value strategy system of the quantum communication link / device. According to different abnormal coding rate changes and combined with the analysis of the working status of the equipment, different characteristic value judgments are adopted. For example, the working status of the QKD (Quantum Key Distribution) device occurs before the delayed scan, and the characteristic value can be determined by checking the log. As for whether the working status of the QKD device is in the delayed scan, it is necessary to consider whether an alarm occurs to distinguish and judge, and sort out the characteristic value.

[0269] The eigenvalue strategy system has the ability of self-learning. It compares the newly collected data with the existing abnormal eigenvalues ​​and determines whether the current data state belongs to the existing eigenvalue or a new eigenvalue according to a certain comparison approximation.

[0270] Fig.10 A schematic diagram of the principles of an abnormal eigenvalue processing strategy system in an operation and maintenance system of a quantum key distribution network provided in an embodiment of the present invention.

[0271] like Fig.10 As shown, an abnormal characteristic value processing strategy system in an operation and maintenance system of a quantum key distribution network provided by an embodiment of the present invention is used to check whether QKD has reported a coding value when all QKD devices at the site are not coded; when the reported value is 0, by comparing with the characteristic value (checking abnormalities according to log records (detecting heartbeats, links)), if it meets the requirements, the gateways of network segments 8, 2, 3 and 12 are PING packets to check whether they are normal, and at the same time, the KM (contactor) is self-checked (the specific nodes, network segments and devices mentioned in this embodiment are examples of nodes such as Beijing, Tianjin, Yuhui, and Hefei on the Beijing-Shanghai quantum communication trunk line.), self-check whether it is normal, if the network segment and KM self-check are normal, restart the QKD device at the opposite end of the link; if no coding value is reported, the QKD device is self-checked to check whether the QKD device is normal, if the QKD device self-checks normally. Check the network management of the device.

[0272] When some QKD devices at this site have coding anomalies, perform the following steps:

[0273] According to the abnormal state, when there is a relatively long interruption (the reported bit rate is 0), check the log control process data, and compare it with the characteristic value (check the abnormality according to the log record (detect heartbeat, link)). If it is consistent, restart the QKD device at the other end of the link and if the problem cannot be reproduced, self-check the QKD device; in addition, if it is consistent, at the same time, compare it with the characteristic value (check the abnormality according to the log record (detect heartbeat, link)). If it is consistent, initiate the collection of equipment operating parameters of the equipment in the communication link. The collected equipment operating parameters include: alarm when abnormality occurs, signal state error rate, detection count ratio, delayed scanning peak number, dark count, signal state deception state ratio, and compare them with the characteristic value. If it belongs to similar characteristic values, process the device, mainly restart. Restarting is to check whether the fault is eliminated; at the same time, let the device enter the initial state to check whether the problem can be reproduced. If the problem cannot be eliminated after restarting, self-check the QKD device (check according to the corresponding alarm).

[0274] If continuous sawtooth waves, spikes and rectangular waves appear; when continuous sawtooth waves, spikes and rectangular waves appear, collect the alarm when the abnormality occurs, the signal state error rate, the detection count ratio, the delayed scanning peak number, the dark count, the signal state deception state ratio, and compare them with the characteristic value. If they belong to similar characteristic values, process the device, mainly restarting. Restarting is to check whether the fault has been eliminated; at the same time, let the device enter the initial state to check whether the problem can be reproduced. If the problem cannot be eliminated after restarting, self-check the QKD device (check according to the corresponding alarm).

[0275] If there is a long-lasting interruption (no code value is reported), perform a self-test on the QKD device to check whether it is normal. If the self-test of the QKD device is normal, check the network management of the device.

[0276] It is understandable that the exception handling strategy is the most critical part of the intelligent data brain control system. It judges the collected data and standards, and then conducts a comprehensive inspection according to the corresponding process (each characteristic value has a targeted processing process) based on the judgment results. When conducting a comprehensive inspection, it is necessary to restart and self-check the links and devices based on the inspection results.

[0277] The exception handling strategy refers to the exception handling strategy for the time-sharing collection and key generation, which mainly enters the coding rate data characteristic value strategy system. For the coding rate data exception handling strategy, it mainly enters the state check characteristic value strategy system of the quantum communication link / equipment. Fig.10 It is an exception handling strategy for status checking of quantum communication links / devices.

[0278] It is necessary to consider the situation where all QKD devices at the same site are not coded and the situation where some QKD devices are not coded, and handle these situations separately. At the same time, for the situation where the code is not completed, it is also necessary to consider the state of reporting 0 and no reported value and handle it accordingly according to the preset process.

[0279] For abnormal waveforms of the code rate of other QKD devices, the collected performance parameters are compared with the characteristic values. Each characteristic value requires a targeted processing process, mainly automatically extracting logs when the abnormality occurs, restarting the device, and self-checking the relevant modules. When the collected performance parameters and the corresponding characteristic values ​​are successfully compared, the corresponding actions are taken through judgment.

[0280] In practical applications, restarting the device may refer to restarting the QKD device of the current node, or restarting the QKD device of the current node and the QKD device at the other end of the QKD device of the current node.

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

Claims

1. A method for operating and maintaining a quantum key distribution network, applied to a communication node in the quantum key distribution network, characterized in that: The method comprises: A: Periodically collecting a first generated key amount of the quantum key distribution network, and obtaining a first preset threshold corresponding to the first generated key amount; B: determining whether the first generated key amount is greater than the first preset threshold, or determining whether the change of the first generated key amount relative to the key amount generated in the previous cycle is zero, or determining whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold; C: If the judgment result of step B is yes, output an alarm signal, and use the first generated key amount as the first abnormal feature value, and determine whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library; if not, add the first abnormal feature value to the abnormal feature value library; D: Obtain the first coding rate data of the quantum key distribution network in the current cycle, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous cycle, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current cycle is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is less than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data, or determine whether the first coding rate data is less than a seventh preset threshold, or determine whether the duration of the first coding rate data being less than the seventh preset threshold is greater than an eighth preset threshold; E: If the judgment result of the step D is no, collect the equipment operation data of the communication link; and judge whether any item of the collected equipment operation data result value is within the preset range; if it is not within the preset range, take the equipment operation data result value exceeding the preset range as the second abnormal characteristic value, and output alarm information, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal state deception state ratio of the current cycle; F: If the judgment result of step D is yes, output an alarm signal, and use the scanning result value corresponding to the judgment result as the third abnormal characteristic value; Determine whether there is a feature value in the abnormal feature value library that is the same as the second abnormal feature value or the third abnormal feature value; If not, the second abnormal feature value or the third abnormal feature value is added to the abnormal feature value library.

2. The operation and maintenance method of a quantum key distribution network according to claim 1, characterized in that: The obtaining a first preset threshold corresponding to the first generated key amount includes: The first preset threshold is calculated using a preset priori data model corresponding to background parameters, or the first preset threshold is preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

3. The operation and maintenance method of a quantum key distribution network according to claim 1, characterized in that: The method further comprises: G: Obtain log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data; H: If the judgment result of the G step is yes, collect the equipment operation data of the communication link; and judge whether the collected equipment operation data result value is within the preset range; if the equipment operation data result value is not within the preset range, use the equipment operation data result value as the fourth abnormal characteristic value; if the equipment operation data result value is within the preset range, judge whether the equipment parameters of the communication link in the current period are the same as the preset equipment parameters; if they are not the same, use the equipment parameters corresponding to the communication link that are different from the preset equipment parameters as the fifth abnormal characteristic value, and output an alarm message.

4. The operation and maintenance method of a quantum key distribution network according to claim 3, characterized in that: The method further comprises: Determine whether there is a feature value in the abnormal feature value library whose degree of fit with the fourth abnormal feature value or the fifth abnormal feature value exceeds a set value; If not, the fourth abnormal feature value or the fifth abnormal feature value is added to the abnormal feature value library.

5. The operation and maintenance method of a quantum key distribution network according to claim 3, characterized in that: The method further comprises: In the case that none of the quantum key distribution devices of the current communication node generates a key, determining whether the coding rate data reported by the quantum key distribution device is zero; If the reported coding rate data is zero, obtain the log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link have a degree of fit with the abnormal feature value in the abnormal feature value library that exceeds a set value according to the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device; If the reported coding rate data is not zero, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

6. The operation and maintenance method of a quantum key distribution network according to claim 3, characterized in that: The method further comprises: When the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution devices of the current communication node is greater than the fifth preset threshold value, and the reported coding rate data is zero, judging whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices; If so, collect the delay scanning values ​​of the communication link and the quantum key distribution device to obtain the delay scanning result; restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption time of the first coding rate data is greater than the fifth preset threshold value within the preset time, perform self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; According to the delayed scanning result, determine whether the delayed scanning result is the same as the abnormal feature value in the abnormal feature value library; if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

7. The operation and maintenance method of a quantum key distribution network according to claim 3, characterized in that: The method further comprises: When a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data of a preset number of distribution devices in the quantum key distribution devices of the current communication node, the delay scanning value of the communication link is collected to obtain a delay scanning result; According to the delayed scanning result, determining whether the delayed scanning result is the same as the abnormal feature value in the abnormal feature value library; If so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; If the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, a self-check is performed on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

8. The operation and maintenance method of a quantum key distribution network according to claim 3, characterized in that: The method further comprises: When the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than a fifth preset threshold, and the reported coding rate data is not zero, performing a self-test on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain a self-test result; If the self-check result is normal, the network management system of the quantum key distribution device is checked, wherein the network management system includes: a network element management system and a network management system.

9. An operation and maintenance device for a quantum key distribution network, characterized in that: The device comprises: a first acquisition module, a first judgment module, a first alarm module, a second judgment module, a first storage module, a second acquisition module, a third acquisition module, a second alarm module, a third judgment module and a second storage module, wherein: The first acquisition module is used to periodically collect a first generated key amount of the quantum key distribution network, and obtain a first preset threshold corresponding to the first generated key amount; The first judgment module is used to judge whether the first generated key amount is greater than the first preset threshold, or judge whether the change of the first generated key amount relative to the key amount generated in the previous cycle is zero, or judge whether the change rate of the first generated key amount corresponding to the current cycle exceeds the second preset threshold; The first alarm module is used to output an alarm signal and use the first generated key amount as a first abnormal characteristic value when the judgment result of the first judgment module is yes; The second judgment module is used to judge whether there is a feature value identical to the first abnormal feature value in the abnormal feature value library; The first storage module is configured to add the first abnormal feature value to the abnormal feature value library when the judgment result of the second judgment module is negative; The second acquisition module is used to obtain the first coding rate data of the quantum key distribution network in the current cycle, calculate the difference between the first coding rate data and the coding rate data corresponding to the previous cycle, and determine whether the difference is not less than a third preset threshold, or determine whether the average value of the first coding rate data corresponding to the current cycle is greater than a fourth preset threshold, or determine whether the interruption duration of the first coding rate data is not less than a fifth preset threshold, or determine whether the duration of the first coding rate data is less than a sixth preset threshold, or determine whether a sawtooth wave, a spike wave or a rectangular wave appears in the waveform of the change of the first coding rate data, or determine whether the first coding rate data is less than a seventh preset threshold, or determine whether the duration of the first coding rate data being less than the seventh preset threshold is greater than an eighth preset threshold; The third acquisition module is used to collect the equipment operation data of the communication link when the judgment result of the second acquisition module is no; and judge whether any item of the collected equipment operation data result value is within the preset range; if it is not within the preset range, the equipment operation data result value exceeding the preset range is used as the second abnormal characteristic value, and output alarm information, wherein the equipment operation data includes: the signal state error rate of the current cycle, the detection count ratio of the current cycle, the delayed scanning peak number of the current cycle, the dark count of the current cycle, and the signal deception state ratio of the current cycle; The second alarm module is used to output an alarm signal when the judgment result of the second acquisition module is yes, and use the scanning result value corresponding to the judgment result as the third abnormal characteristic value; The third judgment module is used to judge whether there is a feature value that is the same as the second abnormal feature value or the third abnormal feature value in the abnormal feature value library; The second storage module is used to add the second abnormal feature value or the third abnormal feature value to the abnormal feature value library when the judgment result of the third judgment module is no.

10. The operation and maintenance device of a quantum key distribution network according to claim 9, characterized in that: The first acquisition module is further used for: The first preset threshold is calculated using a preset priori data model corresponding to background parameters, or the first preset threshold is preset, wherein the background parameters include: link attenuation and total quantum signal attenuation.

11. The operation and maintenance device of a quantum key distribution network according to claim 9, characterized in that: The device further includes: a fourth acquisition module and a fifth acquisition module, wherein: The fourth acquisition module is used to acquire log control process data; and determine whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data; The fifth acquisition module is used to collect the delay scanning value of the communication link and obtain the delay scanning result when the judgment result of the fourth acquisition module is yes; and judge whether the delay scanning result is within a preset range; if the delay scanning result is not within the preset range, use the delay scanning value corresponding to the scanning result as the fourth abnormal characteristic value; if the delay scanning result is within the preset range, judge whether the device parameters of the communication link in the current period are the same as the preset device parameters; if they are not the same, use the device parameters corresponding to the communication link that are different from the preset device parameters as the fifth abnormal characteristic value, and output alarm information.

12. The operation and maintenance device of a quantum key distribution network according to claim 11, characterized in that: The device further includes: a fourth judgment module and a third storage module, wherein: The fourth judgment module is used to judge whether there is a feature value in the abnormal feature value library whose fitting degree with the fourth abnormal feature value or the fifth abnormal feature value exceeds a set value; The third storage module is used to add the fourth abnormal feature value or the fifth abnormal feature value to the abnormal feature value library when the judgment result of the fourth judgment module is no.

13. The operation and maintenance device of a quantum key distribution network according to claim 11, characterized in that: The device further comprises: a fifth judgment module, a sixth acquisition module and a first self-checking module, wherein: The fifth judgment module is used to judge whether the coding rate data reported by the quantum key distribution device is zero when none of the quantum key distribution devices of the current communication node generate keys; The sixth acquisition module is used to obtain log control process data when the reported coding rate data is zero; and judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link have a degree of fit with the abnormal feature value in the abnormal feature value library that exceeds a set value according to the log control process data; if so, perform a PING packet check on the network management of the preset network segment, and perform a self-check on the key management terminal of the communication node; if the test results are all normal, restart the quantum key distribution device paired with the quantum key distribution device; The first self-check module is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the reported coding rate data is not zero; if the self-check result is normal, check the network management system of the quantum key distribution device, wherein the network management system includes: a network element management system and a network management system.

14. The operation and maintenance device of a quantum key distribution network according to claim 11, characterized in that: The device further comprises: a sixth judgment module, a first delay scanning module and a seventh judgment module, wherein: The sixth judgment module is used to judge whether the heartbeat data, authentication data, monitoring data, link data and key authentication data of the communication link are normal according to the log control process data when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than the fifth preset threshold value and the reported coding rate data is zero, wherein the preset number is not less than one and less than the total number of the quantum key distribution devices; The first delay scanning module is used to collect delay scanning values ​​of the communication link and the quantum key distribution device to obtain a delay scanning result when the judgment result of the sixth judgment module is yes; and restart the quantum key distribution device paired with the quantum key distribution device, and if the interruption time of the first coding rate data is greater than the fifth preset threshold value within the preset time, the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device are self-checked; The seventh judgment module is used to judge whether the degree of fit between the delayed scanning result and the abnormal characteristic value in the abnormal characteristic value library exceeds a set value according to the delayed scanning result, and if so, restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device; if the interruption duration of the first coding rate data after the restart is greater than a fifth preset threshold, perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device.

15. The operation and maintenance device of a quantum key distribution network according to claim 11, characterized in that: The device further comprises: a second delayed scanning module, an eighth judgment module, a restart module and a second self-checking module, wherein: The second delay scanning module is used to collect the delay scanning value of the communication link to obtain the delay scanning result when the change waveform of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node appears a sawtooth wave, a spike wave or a rectangular wave; The eighth judgment module is used to judge whether the degree of fit between the delayed scanning result and the abnormal feature value in the abnormal feature value library exceeds a set value according to the delayed scanning result; The restart module is used to restart the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device if the judgment result of the eighth judgment module is yes; The second self-check module is used to perform a self-check on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device when the interruption duration of the first coding rate data after restart is greater than a fifth preset threshold.

16. The operation and maintenance device of a quantum key distribution network according to claim 11, characterized in that: The device further comprises: a third self-checking module and a checking module, wherein: The third self-test module is used to perform a self-test on the quantum key distribution device and the quantum key distribution device paired with the quantum key distribution device to obtain a self-test result when the interruption duration of the first coding rate data of a preset number of distribution devices in the quantum key distribution device of the current communication node is greater than a fifth preset threshold and the reported coding rate data is not zero; The inspection module is used to inspect the network management system of the quantum key distribution device when the self-inspection result of the third self-inspection module is normal, wherein the network management system includes: a network element management system and a network management system.

Citation Information

Patent Citations

  • Quantum secret communication network system based on quantum key distribution technology, and application thereof

    CN109302288A

  • Quantum communication-based trusted industrial control network realizing method

    CN105245329A