Communication network fault self-recovery method, device, equipment, medium and program product

By monitoring link status in real time in the quantum communication network and automatically switching data transmission paths, the problem of long failure processing time for quantum encryption equipment is solved, and the high availability and user experience of financial industry businesses are improved.

CN119316276AActive Publication Date: 2025-01-14INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311214096.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-20
Publication Date
2025-01-14
Estimated Expiration
2043-09-20

AI Technical Summary

Technical Problem

In the quantum communication network of the financial industry, quantum encryption equipment and secret key equipment are special equipment, and fault processing relies on manual notifications and emergency manuals, resulting in long fault processing time and affecting business continuity.

Method used

By pre-constructing a universal routing encapsulated tunnel in the quantum communication network, monitoring the link status in real time, automatically switching the data transmission path, switching from the quantum communication link to the traditional communication link, and switching back to the quantum communication link after the link is restored, Achieve automatic failure recovery.

Benefits of technology

It reduces the impact of quantum communication link failure on the service, improves the high availability and user experience of the service, and reduces the fault processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316276A_ABST
    Figure CN119316276A_ABST
Patent Text Reader

Abstract

The invention provides a communication network fault self-recovery method, relates to the technical field of quantum communication, and can be applied to the technical field of finance. The method is applied to the quantum communication network, the quantum communication network comprises a quantum communication device, a key device, a first routing device and a second routing device, a universal routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, and the method comprises the following steps: monitoring a link state of the universal routing encapsulation tunnel in real time; determining a quantum communication link state according to the link state of the generic routing encapsulation tunnel; and after determining that the quantum communication link fails, switching the data transmission path. The invention further provides a communication network fault self-recovery device and equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of quantum communication technology, and in particular to a communication network fault self-recovery method, device, equipment, medium and program product. Background Art

[0002] In the business scenarios of the financial industry, data transmission uses quantum communication lines to achieve real-time synchronization of data between the primary and backup databases in the same city, greatly improving security. Encryption equipment dedicated to quantum communication is introduced to encrypt data transmitted on traditional lines. However, since quantum encryption equipment and secret key equipment are dedicated equipment, quantum-related equipment is maintained by quantum equipment maintenance units, and enterprises cannot log in and implement monitoring. After a quantum device fails, the quantum equipment maintenance unit can only manually notify the enterprise's operation and maintenance personnel, and then perform emergency operations according to the emergency manual. The overall processing time is long, affecting the normal operation of the business.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] In view of the above problems, the present disclosure provides a communication network fault self-recovery method, apparatus, device, storage medium and program product.

[0005] According to a first aspect of the present disclosure, a communication network fault self-recovery method is provided, which is applied to a quantum communication network, wherein the quantum communication network includes a quantum communication device, a key device, a first routing device, and a second routing device, wherein a general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, and the method includes:

[0006] Real-time monitoring of the link status of the general routing encapsulation tunnel;

[0007] Determining the quantum communication link state according to the link state of the general routing encapsulation tunnel; and

[0008] After determining that the quantum communication link fails, switch the data transmission path.

[0009] According to an embodiment of the present disclosure, the quantum communication device includes a first quantum communication device and a second quantum communication device, the key device includes a first key device and a second key device, the quantum communication device is used to transmit a quantum key, the key device is used to quantum encrypt data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used to transmit the quantum encrypted data stream.

[0010] According to an embodiment of the present disclosure, the real-time monitoring of the link status of the general routing encapsulation tunnel includes:

[0011] Real-time detection of network transmission quality of the general routing encapsulation tunnel; and

[0012] The link state of the general routing encapsulation tunnel is determined according to the network transmission quality.

[0013] According to an embodiment of the present disclosure, determining the quantum communication link state according to the link state of the general routing encapsulation tunnel includes:

[0014] If it is determined that the link state of the general routing encapsulation tunnel is abnormal, then a quantum communication link failure is determined; and

[0015] Change the quantum communication link status flag to fault.

[0016] According to an embodiment of the present disclosure, determining the quantum communication link state according to the link state of the general routing encapsulation tunnel further includes:

[0017] If it is determined that the link state of the general routing encapsulation tunnel is normal and the quantum communication link state flag is faulty, the quantum communication link state flag is changed to normal.

[0018] According to an embodiment of the present disclosure, the switching of the data transmission path includes:

[0019] Delete the policy routing configured on the router port; and

[0020] The quantum communication link is switched to a target communication link, where the target communication link is a conventional communication link.

[0021] According to an embodiment of the present disclosure, the method further includes:

[0022] After determining that the link state of the general routing encapsulation tunnel has returned to normal for a preset time, changing the quantum communication link state flag to normal;

[0023] Add policy routing configuration on the router port; and

[0024] Switch the target communication link to the quantum communication link.

[0025] According to an embodiment of the present disclosure, after switching the data transmission path, the method further includes:

[0026] Send warning information about the status of quantum communication link.

[0027] A second aspect of the present disclosure provides a communication network fault self-recovery device, which is applied to a quantum communication network, characterized in that the quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device, a general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, and the device includes:

[0028] A link status monitoring module, which monitors the link status of the general routing encapsulation tunnel in real time;

[0029] a quantum communication link state determination module, configured to determine the quantum communication link state according to the link state of the general routing encapsulation tunnel; and

[0030] The first data transmission path switching module is used to switch the data transmission path after determining that the quantum communication link fails.

[0031] According to an embodiment of the present disclosure, the quantum communication device includes a first quantum communication device and a second quantum communication device, the key device includes a first key device and a second key device, the quantum communication device is used to transmit a quantum key, the key device is used to quantum encrypt data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used to transmit the quantum encrypted data stream.

[0032] According to an embodiment of the present disclosure, the link status monitoring module includes a network transmission quality detection submodule and a first determination submodule.

[0033] A network transmission quality detection submodule, used to detect the network transmission quality of the general routing encapsulation tunnel in real time; and

[0034] The first determining submodule is used to determine the link status of the general routing encapsulation tunnel according to the network transmission quality.

[0035] According to an embodiment of the present disclosure, the quantum communication link state determination module includes: a second determination submodule and a first link state identification change submodule.

[0036] A second determination submodule is configured to determine that the quantum communication link fails if it is determined that the link state of the general routing encapsulation tunnel is abnormal; and

[0037] The first link state identification changing submodule is used to change the quantum communication link state identification to failure.

[0038] According to an embodiment of the present disclosure, the quantum communication link state determination module further includes: a second link state identification change submodule.

[0039] The second link state identification changing submodule is used to change the quantum communication link state identification to normal if it is determined that the link state of the general routing encapsulation tunnel is normal and the quantum communication link state identification is faulty.

[0040] According to an embodiment of the present disclosure, the data transmission path first switching module includes: a policy routing deletion submodule and a link switching submodule.

[0041] A policy routing deletion submodule, used to delete the policy routing configured on the router port; and

[0042] The link switching submodule is used to switch the quantum communication link to a target communication link, where the target communication link is a traditional communication link.

[0043] According to an embodiment of the present disclosure, the device also includes: a quantum communication link state identification change module, a data transmission path second switching module and an alarm module.

[0044] A quantum communication link state identification changing module, used to change the quantum communication link state identification to normal after determining that the link state of the general routing encapsulation tunnel has returned to normal for a preset time;

[0045] The second switching module of the data transmission path is used to add a policy routing configuration on the router port; and switch the target communication link to the quantum communication link.

[0046] The alarm module is used to send alarm information about the status of the quantum communication link.

[0047] The third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned communication network fault self-recovery method.

[0048] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned communication network fault self-recovery method.

[0049] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned communication network fault self-recovery method when executed by a processor.

[0050] A communication network fault self-recovery method is provided by an embodiment of the present disclosure. The quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device. A general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device. The quantum communication link state is determined by real-time monitoring of the link state of the general routing encapsulation tunnel. After determining that the quantum communication link fails, the data transmission path is automatically switched to reduce the impact of the quantum communication link failure on the service, thereby improving the high availability of the service and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0052] Figure 1a The data flow diagram of the quantum communication line in the related art is schematically shown;

[0053] Figure 1b A schematic diagram of a data flow of a communication network fault self-recovery device according to an embodiment of the present disclosure is shown;

[0054] Figure 2a A communication network fault self-recovery device according to an embodiment of the present disclosure is schematically shown;

[0055] Figure 2b A schematic diagram of an application scenario of a communication network fault self-recovery method, apparatus, device, storage medium, and program product according to an embodiment of the present disclosure is shown;

[0056] Figure 3 A flowchart of a communication network fault self-recovery method provided according to an embodiment of the present disclosure is schematically shown;

[0057] Figure 4 A flowchart of a communication network fault self-recovery method provided according to another embodiment of the present disclosure is schematically shown;

[0058] Figure 5 A flowchart of a communication network fault self-recovery method provided according to another embodiment of the present disclosure is schematically shown;

[0059] Figure 6 A schematic diagram showing a structural block diagram of a communication network fault self-recovery device according to an embodiment of the present disclosure; and

[0060] Figure 7 A block diagram of an electronic device suitable for implementing a communication network fault self-recovery method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0061] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0062] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0063] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0064] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0065] First combine Figure 1a The technical background of the present disclosure is further described. Figure 1a The schematic diagram of the data flow of quantum communication lines in related technologies is shown schematically. In some business scenarios in the financial industry, data transmission uses quantum communication lines to achieve real-time synchronization of data between the main and backup databases in the same city, greatly improving security. Figure 1a As shown in the figure, a special encryption device for quantum communication is introduced to realize the encryption of data transmitted on traditional lines. A special key device for quantum communication is introduced to generate a key and use a separate optical fiber link to transmit the key. A router is deployed between the central computer room network and the computer room in the same city, and the data flow of the electronic file is pulled to the router through policy routing. The quantum communication device passes the negotiated key to the VPN encryption gateway, and the VPN gateway encrypts / decrypts the data. The data flow will be encrypted after passing through the VPN gateway and sent to the peer node through the metropolitan area network transmission device. The data flow will be decrypted after passing through the peer VPN gateway and sent to the peer intranet.

[0066] In order to ensure the high availability of data transmission, it is necessary to be able to use traditional lines to complete data transmission when quantum communication and other equipment fail. Since quantum encryption equipment and secret key equipment are dedicated equipment, according to the division of operation and maintenance responsibilities, quantum-related equipment is maintained by quantum equipment maintenance units, and users cannot log in and implement monitoring. After a quantum device fails, the quantum equipment maintenance unit can only manually notify the operation and maintenance personnel, and then perform emergency operations according to the emergency manual, and the overall processing time is long. According to the traditional monitoring mode, only the internal equipment and line status of the enterprise can be monitored, and the normal operation of the entire link cannot be ensured. Multiple possible fault points need to be monitored on the quantum communication link. Any point failure will cause the quantum communication line to be unavailable, and multiple points need to be monitored uniformly. If the transmission path is manually switched after the fault is found, the recovery time is long and the business impact is large.

[0067] Based on the above technical problems, an embodiment of the present disclosure provides a communication network fault self-recovery method, which is applied to a quantum communication network, wherein the quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device, and a general routing encapsulation tunnel is pre-built between the first routing device and the second routing device. The method includes: real-time monitoring of the link status of the general routing encapsulation tunnel; determining the quantum communication link status according to the link status of the general routing encapsulation tunnel; and switching the data transmission path after determining that the quantum communication link fails.

[0068] Figure 1b The data flow diagram of the communication network fault self-recovery device according to the embodiment of the present disclosure is schematically shown. Figure 1b As shown, the communication system provided by the embodiment of the present disclosure includes: a main database, a backup database and a quantum communication network, wherein the quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device, and a GRE (Generic Routing Encapsulation, GRE) general routing encapsulation tunnel is pre-built between the first routing device and the second routing device. When any node on the quantum communication link fails, the communication quality of the GRE tunnel will be affected. Therefore, unified monitoring of multiple fault points is achieved by monitoring the link status of the GRE tunnel. When the quantum communication link failure is determined, the data transmission path is automatically switched to ensure normal data transmission.

[0069] Figure 2a The communication network fault self-recovery device according to the embodiment of the present disclosure is schematically shown. Figure 2aAs shown, the communication network fault self-recovery device provided by the embodiment of the present disclosure includes: A1 quantum communication link monitoring module, A2 link state judgment module, A3 transmission path switching module, A4 fault recovery judgment module, A5 data diversion module, and A6 alarm module. The A1 quantum communication link monitoring module is used to detect the state of the quantum communication link through a script. When the detection result is normal, this information is passed to the link state to the A4 fault recovery judgment module. When the detection result is abnormal, this information is passed to the A2 link state judgment module. The A2 link state judgment module receives information from the A1 quantum communication link monitoring module and the A4 fault recovery judgment module to judge and adjust the link state. The A3 transmission path switching module is used to switch the data transmission path to the traditional communication link in the event of a quantum communication link failure. The link state information input by the A2 link state judgment module is received, and the route pointing to the traditional link is effective by deleting the policy routing configured on the router port, thereby realizing the switching of the communication link. The A4 fault recovery judgment module is used to judge the recovery state of the quantum communication link, and after the quantum communication link is restored to stability, the data transmission is switched to the quantum encryption link. Receive the link status information input by the A1 quantum communication link monitoring module and the link status information input by the A2 link status judgment module. The A5 data diversion module receives the call from the A4 fault recovery judgment module, diverts the data transmission to the quantum communication link, and increases the policy routing configuration on the router port so that the route pointing to the quantum communication link takes effect, and data is transmitted through the quantum communication link. At the same time, the normal information of the quantum communication link is transmitted to the A5 alarm module. After receiving the information transmitted by the A2 transmission path switching module and the A5 data diversion module, the A6 alarm module sends an alarm information about the status of the quantum communication link.

[0070] Figure 2b The application scenario diagram of the communication network fault self-recovery method, apparatus, device, storage medium and program product according to the embodiments of the present disclosure is schematically shown.

[0071] like Figure 2b As shown, the application scenario 200 according to this embodiment may include a communication network failure self-recovery scenario. The network 204 is used to provide a medium for a communication link between terminal devices 201, 202, 203 and a server 205. The network 204 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0072] The user can use the terminal devices 201, 202, 203 to interact with the server 205 through the network 204 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 201, 202, 203, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0073] The terminal devices 201 , 202 , and 203 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0074] Server 205 can be a communication network failure self-recovery server. The server can execute the communication network failure self-recovery method provided in the embodiment of the present disclosure, set a monitoring thread to run a script to monitor the communication quality of the GRE tunnel in real time, and then determine the state of the quantum communication link. After determining that the quantum communication link fails, the data transmission path is switched to minimize the impact on the business.

[0075] It should be noted that the communication network fault self-recovery method provided in the embodiment of the present disclosure can generally be executed by the server 205. Accordingly, the communication network fault self-recovery device provided in the embodiment of the present disclosure can generally be set in the server 205. The communication network fault self-recovery method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 205 and can communicate with the terminal devices 201, 202, 203 and / or the server 205. Accordingly, the communication network fault self-recovery device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 205 and can communicate with the terminal devices 201, 202, 203 and / or the server 205.

[0076] It should be understood that Figure 2b The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0077] It should be noted that the communication network fault self-recovery method and device determined in the embodiments of the present disclosure can be used in the field of quantum communication technology, the field of financial technology, and any field other than the financial field. The application field of the communication network fault self-recovery method and device determined in the embodiments of the present disclosure is not limited.

[0078] The following will be based on Figure 2a Describe the system architecture and Figure 2b The application scenario described by Figure 3 to Figure 5 The communication network failure self-recovery method of the embodiment of the present disclosure is described in detail.

[0079] Figure 3 The flowchart of a communication network fault self-recovery method provided according to an embodiment of the present disclosure is schematically shown. Figure 3 As shown, the communication network fault self-recovery method of this embodiment includes operations S210 to S230, and the method can be executed by a server or other computing devices.

[0080] In operation S210, the link status of the general routing encapsulation tunnel is monitored in real time.

[0081] According to an embodiment of the present disclosure, the method provided by the present disclosure is applied to a quantum communication network, which includes a quantum communication device, a key device, a first routing device and a second routing device, and a general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device.

[0082] According to an embodiment of the present disclosure, the quantum communication device includes a first quantum communication device and a second quantum communication device, the key device includes a first key device and a second key device, the quantum communication device is used to transmit a quantum key, the key device is used to quantum encrypt data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used to transmit the quantum encrypted data stream.

[0083] In one example, a routing encapsulation tunnel is pre-built between the first routing device and the second routing device, and the link status of the general routing encapsulation tunnel is monitored by setting a script, which can be real-time monitoring or obtaining the link status of the general routing encapsulation tunnel at a preset frequency.

[0084] In operation S220, the quantum communication link state is determined according to the link state of the general routing encapsulation tunnel.

[0085] In operation S230, after determining that the quantum communication link fails, the data transmission path is switched.

[0086] In one example, after the link state of the GRE tunnel is determined according to operation S210, the current state of the quantum communication link is determined according to the link state of the GRE tunnel. When it is determined that the link state of the GRE tunnel is abnormal, it indicates that the current quantum communication link is faulty. After determining that the quantum communication link is faulty, the data transmission path is switched, and the quantum communication link is switched to a traditional data transmission link.

[0087] A communication network fault self-recovery method is provided by an embodiment of the present disclosure. The quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device. A general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device. The quantum communication link state is determined by real-time monitoring of the link state of the general routing encapsulation tunnel. After determining that the quantum communication link fails, the data transmission path is automatically switched to reduce the impact of the quantum communication link failure on the service, thereby improving the high availability of the service and user experience.

[0088] Figure 4 A flowchart of a communication network fault self-recovery method provided according to another embodiment of the present disclosure is schematically shown. Figure 5 A flowchart of a communication network fault self-recovery method provided according to another embodiment of the present disclosure is schematically shown.

[0089] like Figure 4 As shown, operations S310 to S360 are included.

[0090] In operation S310, the network transmission quality of the general routing encapsulation tunnel is detected in real time.

[0091] In operation S320, a link state of the general routing encapsulation tunnel is determined according to the network transmission quality.

[0092] In operation S330, the quantum communication link state is determined according to the link state of the general routing encapsulation tunnel.

[0093] According to an embodiment of the present disclosure, if it is determined that the link state of the general routing encapsulation tunnel is abnormal, a quantum communication link failure is determined; and the quantum communication link state flag is changed to failure.

[0094] According to an embodiment of the present disclosure, if it is determined that the link state of the general routing encapsulation tunnel is normal and the quantum communication link state flag is faulty, the quantum communication link state flag is changed to normal.

[0095] In one example, the link status of the GRE tunnel is determined by real-time monitoring of the network transmission quality of the GRE tunnel. If the link status is normal, regardless of whether the current quantum communication link status is normal or faulty, it indicates that the quantum communication link status is normal, and the current quantum communication link status is updated to normal. If the link status is abnormal, regardless of the current quantum communication link status, it indicates that the quantum communication link status is abnormal, and the current quantum communication link status is updated to faulty.

[0096] In operation S340, the policy routing configured on the router port is deleted.

[0097] In operation S350, the quantum communication link is switched to a target communication link, where the target communication link is a traditional communication link.

[0098] In operation S360, warning information of the quantum communication link status is sent.

[0099] like Figure 5 As shown, after operation S350, the following steps are also included: operation S410 to operation S440.

[0100] In operation S410, after determining that the link state of the general routing encapsulation tunnel has returned to normal for a preset time, the quantum communication link state flag is changed to normal.

[0101] In operation S420, adding a policy routing configuration on the router port; and

[0102] In operation S430, the target communication link is switched to the quantum communication link.

[0103] In operation S440, warning information of the quantum communication link status is sent.

[0104] In one example, after determining that the quantum communication link is faulty, the transmission path switching module switches the data transmission path to the traditional communication link. Specifically, by deleting the policy routing configured on the router port, the routing pointing to the traditional link takes effect, thereby realizing the switching of the communication link. After completing the automatic switching of the communication link, an alarm message of the quantum communication link status is sent, for example, an alarm message of "quantum communication link failure, transmission path has been switched" may be sent.

[0105] In one example, after the link status of the GRE tunnel is restored, in order to ensure the quality of data transmission and avoid link switching back and forth, it is necessary to determine that the link status of the GRE tunnel has been restored for a certain preset time before the traditional communication link can be switched to the quantum communication link. Specifically, the A4 fault recovery judgment module judges the recovery status of the quantum communication link, and after the quantum communication link is restored to stability, the data transmission is switched to the quantum encryption link. The preset time can be achieved by a counter. The A4 fault recovery judgment module receives the GRE link status information input by the A1 quantum communication link monitoring module and the quantum communication link status information input by the A2 link status judgment module. If the result of receiving the GRE link status information is abnormal, the quantum communication link status information is normal, and the quantum link status is set to fault. If the GRE link status information result status is faulty, the counter value is set to zero. If the result of receiving the GRE link status information is normal and the quantum communication link status is normal, the counter value is increased by 1. If the quantum communication link status is faulty, the quantum communication link status is set to normal, the counter value is increased by 1, and the link status information is passed to the A2 link status judgment module. When the counter value reaches 20, the A5 data diversion module is called to switch the target communication link to the quantum communication link, and the counter is cleared at the same time.

[0106] Based on the above communication network fault self-recovery method, the present disclosure also provides a communication network fault self-recovery device. Figure 6 The device is described in detail.

[0107] Figure 6 The structure block diagram of a communication network fault self-recovery device according to an embodiment of the present disclosure is schematically shown. Figure 6 As shown, the communication network fault self-recovery device 600 of this embodiment includes a link status monitoring module 610, a quantum communication link status determination module 620, and a data transmission path switching module 630.

[0108] The link status monitoring module 610 monitors the link status of the general routing encapsulation tunnel in real time. In one embodiment, the link status monitoring module 610 is used to perform the operation S210 described above, which will not be described in detail here.

[0109] The quantum communication link state determination module 620 is used to determine the quantum communication link state according to the link state of the general routing encapsulation tunnel. In one embodiment, the quantum communication link state determination module 620 can be used to perform the operation S220 described above, which will not be repeated here.

[0110] The data transmission path switching module 630 is used to switch the data transmission path after determining that the quantum communication link fails. In one embodiment, the data transmission path switching module 630 can be used to perform the operation S230 described above, which will not be repeated here.

[0111] According to an embodiment of the present disclosure, the quantum communication device includes a first quantum communication device and a second quantum communication device, the key device includes a first key device and a second key device, the quantum communication device is used to transmit a quantum key, the key device is used to quantum encrypt data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used to transmit the quantum encrypted data stream.

[0112] According to an embodiment of the present disclosure, the link status monitoring module includes a network transmission quality detection submodule and a first determination submodule.

[0113] The network transmission quality detection submodule is used to detect the network transmission quality of the general routing encapsulation tunnel in real time. In one embodiment, the network transmission quality detection submodule can be used to perform the operation S310 described above, which will not be described in detail here.

[0114] The first determination submodule is used to determine the link status of the general routing encapsulation tunnel according to the network transmission quality. In one embodiment, the first determination submodule can be used to perform the operation S320 described above, which will not be described in detail here.

[0115] According to an embodiment of the present disclosure, the quantum communication link state determination module includes: a second determination submodule and a first link state identification change submodule.

[0116] The second determination submodule is used to determine that the quantum communication link fails if it is determined that the link state of the general routing encapsulation tunnel is abnormal. In one embodiment, the second determination submodule can be used to perform the operation S330 described above, which will not be repeated here.

[0117] The first link state flag changing submodule is used to change the quantum communication link state flag to fault. In one embodiment, the first link state flag changing submodule can be used to perform the operation S330 described above, which will not be repeated here.

[0118] According to an embodiment of the present disclosure, the quantum communication link state determination module further includes: a second link state identification change submodule.

[0119] The second link state identification change submodule is used to change the quantum communication link state identification to normal if it is determined that the link state of the general routing encapsulation tunnel is normal and the quantum communication link state identification is faulty. In one embodiment, the second link state identification change submodule can be used to perform the operation S330 described above, which will not be repeated here.

[0120] According to an embodiment of the present disclosure, the data transmission path first switching module includes: a policy routing deletion submodule and a link switching submodule.

[0121] The policy routing deletion submodule is used to delete the policy routing configured on the router port. In one embodiment, the policy routing deletion submodule can be used to perform the operation S340 described above, which will not be described in detail here.

[0122] The link switching submodule is used to switch the quantum communication link to a target communication link, where the target communication link is a traditional communication link. In one embodiment, the link switching submodule can be used to perform the operation S350 described above, which will not be described in detail here.

[0123] According to an embodiment of the present disclosure, the device also includes: a quantum communication link state identification change module, a data transmission path second switching module and an alarm module.

[0124] The quantum communication link state identification changing module is used to change the quantum communication link state identification to normal after determining that the link state of the general routing encapsulation tunnel has returned to normal for a preset time. In one embodiment, the quantum communication link state identification changing module can be used to perform the operation S410 described above, which will not be repeated here.

[0125] The second switching module of the data transmission path is used to add a policy routing configuration on the router port; and switch the target communication link to the quantum communication link. In one embodiment, the second switching module of the data transmission path can be used to perform the operations S420 and S430 described above, which will not be repeated here.

[0126] The alarm module is used to send alarm information of the quantum communication link status. In one embodiment, the alarm module can be used to perform the operation S440 described above, which will not be described in detail here.

[0127] According to an embodiment of the present disclosure, any multiple modules of the link state monitoring module 610, the quantum communication link state determination module 620, and the data transmission path switching module 630 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the link state monitoring module 610, the quantum communication link state determination module 620, and the data transmission path switching module 630 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the link state monitoring module 610, the quantum communication link state determination module 620, and the data transmission path switching module 630 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be performed.

[0128] Figure 7 A block diagram of an electronic device suitable for implementing a communication network fault self-recovery method according to an embodiment of the present disclosure is schematically shown.

[0129] like Figure 7 As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 906 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0130] In RAM 903, various programs and data required for the operation of electronic device 900 are stored. Processor 901, ROM 902 and RAM 903 are connected to each other via bus 904. Processor 901 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 902 and / or RAM 903. It should be noted that the program can also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0131] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the I / O interface 905: an input portion 906 including a keyboard, a mouse, etc.; an output portion 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 906 including a hard disk, etc.; and a communication portion 909 including a network interface card such as a LAN card, a modem, etc. The communication portion 909 performs communication processing via a network such as the Internet. A drive 909 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 909 as needed, so that a computer program read therefrom is installed into the storage portion 906 as needed.

[0132] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the communication network fault self-recovery method according to the embodiment of the present disclosure is implemented.

[0133] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 902 and / or RAM 903 described above and / or one or more memories other than ROM 902 and RAM 903.

[0134] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the communication network fault self-recovery method provided by the embodiment of the present disclosure.

[0135] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 901. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0136] In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and downloaded and installed through the communication part 909, and / or installed from a removable medium 911. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0137] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0138] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0139] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0141] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A communication network fault self-recovery method, applied to quantum communication network, characterized in that: The quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device, a general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, and the method includes: Real-time monitoring of the link status of the general routing encapsulation tunnel; Determining the quantum communication link state according to the link state of the general routing encapsulation tunnel; and After determining that the quantum communication link fails, switch the data transmission path.

2. The method according to claim 1, characterized in that The quantum communication device includes a first quantum communication device and a second quantum communication device, the key device includes a first key device and a second key device, the quantum communication device is used to transmit quantum keys, the key device is used to quantum encrypt data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used to transmit the quantum encrypted data stream.

3. The method according to claim 2, characterized in that The real-time monitoring of the link status of the general routing encapsulation tunnel includes: detecting the network transmission quality of the general routing encapsulation tunnel in real time; and The link state of the general routing encapsulation tunnel is determined according to the network transmission quality.

4. The method according to claim 3, characterized in that Determining the quantum communication link state according to the link state of the general routing encapsulation tunnel includes: If it is determined that the link state of the general routing encapsulation tunnel is abnormal, then a quantum communication link failure is determined; and Change the quantum communication link status flag to fault.

5. The method according to claim 3, characterized in that: Determining the quantum communication link state according to the link state of the general routing encapsulation tunnel also includes: If it is determined that the link state of the general routing encapsulation tunnel is normal and the quantum communication link state flag is faulty, the quantum communication link state flag is changed to normal.

6. The method according to claim 1, characterized in that The switching of the data transmission path comprises: Delete the policy routing configured on the router port; and The quantum communication link is switched to a target communication link, where the target communication link is a conventional communication link.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: After determining that the link state of the general routing encapsulation tunnel has returned to normal for a preset time, changing the quantum communication link state flag to normal; Add policy routing configuration on the router port; and Switch the target communication link to the quantum communication link.

8. The method according to claim 7, characterized in that After switching the data transmission path, it also includes: Send warning information about the status of quantum communication link.

9. A communication network fault self-recovery device, characterized in that: Applied to a quantum communication network, characterized in that the quantum communication network includes a quantum communication device, a key device, a first routing device and a second routing device, a general routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, and the device includes: A link status monitoring module, which monitors the link status of the general routing encapsulation tunnel in real time; a quantum communication link state determination module, configured to determine the quantum communication link state according to the link state of the general routing encapsulation tunnel; and The data transmission path switching module is used to switch the data transmission path after determining that the quantum communication link fails.

10. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the communication network fault self-recovery method according to any one of claims 1 to 8.

11. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the communication network fault self-recovery method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • QKD switching system

    CA3206617A1

  • Quantum interconnection channel exchange method based on chip integrated optical path

    CN113472529A

  • Fault recovery method and device for key distribution network, electronic equipment and medium

    CN114142993A