Methods, devices, equipment, media, and programs for self-recovery from communication network faults

By constructing a universal routing encapsulation tunnel in the quantum communication network, real-time monitoring of link status and automatic switching of data transmission paths solve the problem of long fault handling time in quantum communication equipment, achieve rapid fault self-recovery, and improve the high availability of services and user experience.

CN119316276BActive Publication Date: 2026-01-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In quantum communication networks, quantum encryption devices and key devices are dedicated equipment, which leads to long fault handling times and affects normal business operations. Existing technologies cannot achieve rapid fault self-recovery.

Method used

By pre-constructing a universal routing encapsulation tunnel in the quantum communication network, the link status is monitored in real time, and the data transmission path is automatically switched, thus achieving self-recovery after a quantum communication link failure.

Benefits of technology

This reduces the impact of quantum communication link failures on services, improving service availability and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316276B_ABST
    Figure CN119316276B_ABST
Patent Text Reader

Abstract

The present disclosure 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 a 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 general routing encapsulation tunnel is previously constructed between the first routing device and the second routing device, and the method comprises the following steps: monitoring a link state of the general routing encapsulation tunnel in real time; determining a quantum communication link state according to the link state of the general routing encapsulation tunnel; and switching a data transmission path after determining a quantum communication link fault. The present disclosure also provides a communication network fault self-recovery device, equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of quantum communication technology, and specifically to a method, apparatus, device, medium, and program product for self-recovery from communication network faults. Background Technology

[0002] In financial industry scenarios, quantum communication lines are used for data transmission to achieve real-time data synchronization between primary and backup databases within the same city, significantly improving security. Dedicated quantum communication encryption equipment is introduced to encrypt data transmitted over traditional lines. However, because the quantum encryption and key devices are dedicated equipment, and maintenance is handled by a dedicated quantum equipment maintenance unit, the enterprise cannot log in or monitor them. In the event of a quantum equipment failure, the maintenance unit must manually notify the enterprise's operations and maintenance personnel, who then follow the emergency manual for emergency procedures. This process is time-consuming and disrupts normal business operations.

[0003] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

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

[0005] According to a first aspect of this disclosure, a self-recovery method for communication network faults is provided, applied to a quantum communication network, the quantum communication network including a quantum communication device, a key device, a first routing device, and a second routing device, wherein a universal routing encapsulation tunnel is pre-constructed between the first routing device and the second routing device, the method comprising:

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

[0007] The quantum communication link state is determined based on the link state of the general routing encapsulation tunnel; and

[0008] After confirming a failure in the quantum communication link, the data transmission path is switched.

[0009] According to embodiments of this 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 embodiments of this disclosure, the real-time monitoring of the link status of the general routing encapsulation tunnel includes:

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

[0012] The link status of the general routing encapsulation tunnel is determined based on the network transmission quality.

[0013] According to embodiments of this disclosure, determining the quantum communication link state based on the link state of the universal routing encapsulation tunnel includes:

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

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

[0016] According to embodiments of this disclosure, determining the quantum communication link state based on the link state of the universal routing encapsulation tunnel further includes:

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

[0018] According to embodiments of this disclosure, the switching of data transmission paths includes:

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

[0020] Switch the quantum communication link to the target communication link, which is a traditional communication link.

[0021] According to embodiments of this disclosure, the method further includes:

[0022] After determining the preset time for the link status of the general routing encapsulation tunnel to return to normal, the quantum communication link status identifier is changed to normal;

[0023] Add policy-based routing configuration to the router port; and

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

[0025] According to embodiments of this disclosure, after switching the data transmission path, the method further includes:

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

[0027] A second aspect of this disclosure provides a communication network fault self-recovery device 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, wherein a universal routing encapsulation tunnel is pre-built between the first routing device and the second routing device, and the device includes:

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

[0029] A quantum communication link state determination module is used to determine the quantum communication link state based on the link state of the universal routing encapsulation tunnel; and

[0030] The first data transmission path switching module is used to switch the data transmission path after a quantum communication link failure is determined.

[0031] According to embodiments of this 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 embodiments of this disclosure, the link status monitoring module includes a network transmission quality detection submodule and a first determination submodule.

[0033] The network transmission quality detection submodule is 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 based on the network transmission quality.

[0035] According to embodiments of this disclosure, the quantum communication link state determination module includes: a second determination submodule and a first link state identifier change submodule.

[0036] The second determining submodule is used to determine a quantum communication link failure if the link state of the general routing encapsulation tunnel is determined to be abnormal; and

[0037] The first link status identifier change submodule is used to change the quantum communication link status identifier to fault.

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

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

[0040] According to embodiments of this disclosure, the first data transmission path switching module includes: a policy route deletion submodule and a link switching submodule.

[0041] The policy-based routing deletion submodule is used to delete policy-based routes configured on router ports; and

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

[0043] According to embodiments of this disclosure, the device further includes: a quantum communication link state identifier change module, a data transmission path second switching module, and an alarm module.

[0044] The quantum communication link status identifier change module is used to change the quantum communication link status identifier to normal after determining that the link status of the general routing encapsulation tunnel has returned to normal for a preset time.

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

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

[0047] A third aspect of this 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 perform the aforementioned communication network fault self-recovery method.

[0048] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the aforementioned communication network fault self-recovery method.

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

[0050] The present disclosure provides a communication network fault self-recovery method. The quantum communication network includes a quantum communication device, a key device, a first routing device, and a second routing device. A universal routing encapsulation tunnel is pre-built between the first routing device and the second routing device. The quantum communication link status is determined by real-time monitoring of the link status of the universal routing encapsulation tunnel. After a quantum communication link fault is determined, the data transmission path is automatically switched to reduce the impact of the quantum communication link fault on services and improve the high availability of services and user experience. Attached Figure Description

[0051] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0052] Figure 1a This diagram illustrates the data flow of a quantum communication circuit in a related technology.

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

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

[0055] Figure 2b The illustration schematically depicts an application scenario of a communication network fault self-recovery method, apparatus, device, storage medium, and program product according to embodiments of the present disclosure;

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

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

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

[0059] Figure 6 A schematic diagram illustrating 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 schematically illustrates an electronic device suitable for implementing a communication network fault self-recovery method according to an embodiment of the present disclosure. Detailed Implementation

[0061] The embodiments of the present disclosure will now 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 disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0062] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

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

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

[0065] First, combine Figure 1a The technical background of this disclosure will be further described. Figure 1a The diagram illustrates the data flow of a quantum communication line in related technologies. In some business scenarios within the financial industry, quantum communication lines are used for data transmission to achieve real-time data synchronization between primary and backup databases within the same city, significantly improving security. For example... Figure 1a As shown, a dedicated quantum communication encryption device is introduced to encrypt data transmitted over traditional lines. A dedicated quantum communication key generation device generates the key, which is then transmitted via a separate fiber optic link. Routers are deployed between the central data center network and other data centers in the same city, routing the electronic archive data stream to these routers via policy-based routing. The quantum communication device transmits the negotiated key to the VPN encryption gateway, which performs encryption / decryption. The data stream is encrypted after passing through the VPN gateway and then transmitted to the peer node via the metropolitan area network transmission equipment. Upon passing through the peer VPN gateway, the data stream is decrypted and sent to the peer's internal network.

[0066] To ensure high availability of data transmission, it is necessary to maintain traditional lines even in the event of failures in quantum communication equipment. Since quantum encryption and key devices are dedicated devices, they are maintained by a dedicated quantum equipment maintenance unit according to operational responsibilities, and users cannot log in or monitor them. When a quantum device fails, the maintenance unit must manually notify operations personnel, who then follow the emergency manual for emergency procedures, resulting in a lengthy processing time. Traditional monitoring methods can only monitor the status of internal equipment and lines, failing to ensure the entire link remains operational. Multiple potential failure points need to be monitored on the quantum communication link; a failure at any point renders the quantum communication line unusable, necessitating unified monitoring of all points. Manually switching transmission paths after a failure is detected is time-consuming and significantly impacts business operations.

[0067] Based on the above-mentioned technical problems, embodiments of this disclosure provide a communication network fault self-recovery method applied to a quantum communication network. The quantum communication network includes a quantum communication device, a key device, a first routing device, and a second routing device. A universal 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 universal routing encapsulation tunnel; determining the quantum communication link status based on the link status of the universal routing encapsulation tunnel; and switching the data transmission path after determining that the quantum communication link is faulty.

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

[0069] Figure 2a A communication network fault self-recovery device according to an embodiment of this disclosure is illustrated schematically. For example... Figure 2aAs shown in the embodiments of this disclosure, the communication network fault self-recovery device includes: an A1 quantum communication link monitoring module, an A2 link status judgment module, an A3 transmission path switching module, an A4 fault recovery judgment module, an A5 data diversion module, and an A6 alarm module. The A1 quantum communication link monitoring module is used to detect the status of the quantum communication link via a script. When the detection result is normal, this information is passed to the A4 fault recovery judgment module; when the detection result is abnormal, this information is passed to the A2 link status judgment module. The A2 link status judgment module receives information from the A1 quantum communication link monitoring module and the A4 fault recovery judgment module, and judges and adjusts the link status. The A3 transmission path switching module is used to switch the data transmission path to a traditional communication link in the event of a quantum communication link failure. It receives the link status information input from the A2 link status judgment module, deletes the policy route configured on the router port, and thus makes the route pointing to the traditional link effective, achieving the switching of the communication link. The A4 fault recovery judgment module is used to judge the recovery status of the quantum communication link. After the quantum communication link has stabilized, the data transmission is switched to the quantum encrypted link. The A1 quantum communication link monitoring module and the A2 link status judgment module receive link status information from each other. The A5 data diversion module receives a call from the A4 fault recovery judgment module and diverts data transmission to the quantum communication link. By adding policy routing configurations on the router port, the route pointing to the quantum communication link becomes effective, and data transmission occurs through the quantum communication link. Simultaneously, it transmits normal quantum communication link information to the A5 alarm module. The A6 alarm module, upon receiving information from the A2 transmission path switching module and the A5 data diversion module, sends alarm information regarding the quantum communication link status.

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

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

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

[0073] Terminal devices 201, 202, and 203 can be various electronic devices with displays that support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0074] Server 205 can be a communication network fault self-recovery server. This server can execute the communication network fault self-recovery method provided in the embodiments of this disclosure, set up a monitoring thread to run a script to monitor the communication quality of the GRE tunnel in real time, thereby determining the quantum communication link status. After determining that the quantum communication link is faulty, it switches the data transmission path to minimize the impact on services.

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

[0076] It should be understood that Figure 2b The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0077] It should be noted that the communication network fault self-recovery method and apparatus determined in the embodiments of this 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 apparatus determined in the embodiments of this disclosure is not limited.

[0078] The following will be based on Figure 2a The system architecture described and Figure 2b The described application scenarios, through Figures 3-5 The communication network fault self-recovery method according to the embodiments of this disclosure will be described in detail.

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

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

[0081] According to embodiments of this disclosure, the method provided in this 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, wherein a universal routing encapsulation tunnel is pre-built between the first routing device and the second routing device.

[0082] According to embodiments of this 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. The link status of the general routing encapsulation tunnel is monitored by setting a script. This monitoring can be done in real time or by acquiring the link status of the general routing encapsulation tunnel at a preset frequency.

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

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

[0086] In one example, after determining the link state of the GRE tunnel according to operation S210, the current state of the quantum communication link is determined based on 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 has failed. After determining that the quantum communication link has failed, the data transmission path is switched, and the quantum communication link is switched to a traditional data transmission link.

[0087] The present disclosure provides a communication network fault self-recovery method. The quantum communication network includes a quantum communication device, a key device, a first routing device, and a second routing device. A universal routing encapsulation tunnel is pre-built between the first routing device and the second routing device. The quantum communication link status is determined by real-time monitoring of the link status of the universal routing encapsulation tunnel. After a quantum communication link fault is determined, the data transmission path is automatically switched to reduce the impact of the quantum communication link fault on services and improve the high availability of services and user experience.

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

[0089] like Figure 4 As shown, this includes operations S310 to S360.

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

[0091] In operation S320, the link status of the general routing encapsulation tunnel is determined based on the network transmission quality.

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

[0093] According to embodiments of this disclosure, 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 the quantum communication link state identifier is changed to failure.

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

[0095] In one example, the link status of the GRE tunnel is determined by monitoring the network transmission quality in real time. If the link status is normal, regardless of whether the current quantum communication link status is marked as normal or faulty, the quantum communication link status is considered 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, the quantum communication link status is considered abnormal, and the current quantum communication link status is updated to faulty.

[0096] When operating S340, delete the policy route configured on the router port.

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

[0098] When operating the S360, send alarm information about the quantum communication link status.

[0099] like Figure 5 As shown, after operation S350, operations S410 to S440 are also included.

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

[0101] When operating the S420, add policy-based routing configuration to the router port; and

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

[0103] When operating the S440, an alarm message about the quantum communication link status is sent.

[0104] In one example, after a quantum communication link failure is detected, the transmission path switching module switches the data transmission path to a traditional communication link. Specifically, this is done by deleting the policy route configured on the router port, thus making the route pointing to the traditional link effective and achieving the communication link switch. After the automatic switching of the communication link is completed, an alarm message regarding the quantum communication link status is sent, such as an alarm message stating "Quantum communication link failure, transmission path switched".

[0105] In one example, after the GRE tunnel link status is restored, to ensure data transmission quality and avoid link switching back and forth, a certain preset time must be allowed for the GRE tunnel link status to recover before switching from the traditional communication link to the quantum communication link. Specifically, the A4 fault recovery judgment module determines the recovery status of the quantum communication link. After the quantum communication link stabilizes, data transmission is switched to the quantum encrypted link. The preset time can be implemented using a counter. The A4 fault recovery judgment module receives GRE link status information from the A1 quantum communication link monitoring module and quantum communication link status information from the A2 link status judgment module. If the received GRE link status information is abnormal, but the quantum communication link status information is normal, the quantum link status is set to fault. If the GRE link status information indicates a fault, the counter value is set to zero. If the received GRE link status information is normal and the quantum communication link status is normal, the counter value is incremented by 1. If the quantum communication link status is faulty, the quantum communication link status is set to normal, the counter value is incremented by 1, and the link status information is transmitted 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 to zero.

[0106] Based on the above-described self-recovery method for communication network faults, this disclosure also provides a self-recovery device for communication network faults. The following will be combined with... Figure 6 The device is described in detail.

[0107] Figure 6 A schematic block diagram illustrating a communication network fault self-recovery device according to an embodiment of the present disclosure is 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 repeated here.

[0109] The quantum communication link state determination module 620 is used to determine the quantum communication link state based on 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 a quantum communication link failure is determined. 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 embodiments of this 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 embodiments of this 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 repeated here.

[0114] The first determining submodule is used to determine the link state of the general routing encapsulation tunnel based on the network transmission quality. In one embodiment, the first determining submodule can be used to perform the operation S320 described above, which will not be repeated here.

[0115] According to embodiments of this disclosure, the quantum communication link state determination module includes: a second determination submodule and a first link state identifier change submodule.

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

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

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

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

[0120] According to embodiments of this disclosure, the first data transmission path switching module includes: a policy route deletion submodule and a link switching submodule.

[0121] The policy route deletion submodule is used to delete policy routes configured on router ports. In one embodiment, the policy route deletion submodule can be used to perform the operation S340 described above, which will not be repeated here.

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

[0123] According to embodiments of this disclosure, the device further includes: a quantum communication link state identifier change module, a data transmission path second switching module, and an alarm module.

[0124] The quantum communication link state identifier change module is used to change the quantum communication link state identifier 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 identifier change module can be used to perform the operation S410 described above, which will not be repeated here.

[0125] The second data transmission path switching module is used to add policy routing configuration on the router port and switch the target communication link to the quantum communication link. In one embodiment, the second data transmission path switching module 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 about the state of the quantum communication link. In one embodiment, the alarm module can be used to perform the operation S440 described above, which will not be repeated here.

[0127] According to embodiments of this disclosure, any plurality of modules among 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, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this 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 hardware circuitry, 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-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in a suitable combination of any of these. 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, which can perform corresponding functions when the computer program module is run.

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

[0129] like Figure 7 As shown, an 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 portion 908 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 an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include 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] RAM 903 stores various programs and data required for the operation of electronic device 900. Processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Processor 901 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 902 and / or RAM 903. It should be noted that the programs may also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.

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

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

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

[0134] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code enables the computer system to implement the communication network fault self-recovery method provided in the embodiments of this disclosure.

[0135] When the computer program is executed by the processor 901, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

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

[0137] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0138] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0140] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0141] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A method for self-recovery of communication network faults, applied to a quantum communication network, the method comprising: determining a fault in a quantum communication network; and performing a self-recovery operation on the quantum communication network according to a fault self-recovery strategy. The quantum communication network comprises a quantum communication device, a key device, a first routing device and a second routing device, a general routing encapsulation tunnel is previously constructed between the first routing device and the second routing device, and the method comprises: real-time monitoring of a link state of the general routing encapsulation tunnel; determination of a quantum communication link state according to the link state of the general routing encapsulation tunnel, the quantum communication link state being represented by network transmission quality of the general routing encapsulation tunnel; and switching of a data transmission path after determination of a quantum communication link fault.

2. The method of claim 1, wherein, The quantum communication device comprises a first quantum communication device and a second quantum communication device, the key device comprises a first key device and a second key device, the quantum communication device is used for transmitting a quantum key, the key device is used for quantum encryption of data to generate a quantum encrypted data stream, and the first routing device and the second routing device are used for transmitting the quantum encrypted data stream.

3. The method of claim 2, wherein, The real-time monitoring of the link state of the general routing encapsulation tunnel comprises: real-time detection of network transmission quality of the general routing encapsulation tunnel; and determination of the link state of the general routing encapsulation tunnel according to the network transmission quality.

4. The method of claim 3, wherein, The determination of the quantum communication link state according to the link state of the general routing encapsulation tunnel comprises: if the link state of the general routing encapsulation tunnel is determined to be abnormal, the quantum communication link is determined to be faulty; and the quantum communication link state identifier is changed to faulty.

5. The method of claim 3, wherein, The determination of the quantum communication link state according to the link state of the general routing encapsulation tunnel further comprises: if the link state of the general routing encapsulation tunnel is determined to be normal and the quantum communication link state identifier is faulty, the quantum communication link state identifier is changed to normal.

6. The method of claim 1, wherein, The switching of the data transmission path comprises: deletion of a policy route configured on a router port; and switching of the quantum communication link to a target communication link, the target communication link being a traditional communication link.

7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: change of the quantum communication link state identifier to normal after a preset time of recovery of the link state of the general routing encapsulation tunnel to normal; addition of a policy route configuration on the router port; and switching of the target communication link to the quantum communication link.

8. The method of claim 7, wherein, After the switching of the data transmission path, the method further comprises: sending of alarm information of the quantum communication link state.

9. A communication network fault self-recovery apparatus characterized by comprising: The application is applied to a quantum communication network, and the quantum communication network comprises a quantum communication device, a key device, a first routing device and a second routing device, a general routing encapsulation tunnel is previously constructed between the first routing device and the second routing device, and the device comprises: a link state monitoring module for real-time monitoring of a link state of the general routing encapsulation tunnel; a quantum communication link state determination module for determination of a quantum communication link state according to the link state of the general routing encapsulation tunnel, the quantum communication link state being represented by network transmission quality of the general routing encapsulation tunnel; and a data transmission path switching module for switching of a data transmission path after determination of a quantum communication link fault.

10. An electronic device comprising: one or more processors; a storage device storing one or more programs, wherein the one or more programs, when executed by the one or more processors, enable the one or more processors to carry out the communication network failure self-recovery method according to any one of claims 1-8. 11.A computer readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to carry out the communication network failure self-recovery method according to any one of claims 1-8.

Citation Information

Patent Citations

  • 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