Wavelength detection method, system and device, computer equipment and readable storage medium

By acquiring and detecting the optical signal quality of the backup recovery path in the ROADM network and maintaining the backup fiber channel, the problem of optical channel transmission failure caused by unstable backup nodes is solved, and the transmission efficiency of business data is improved.

CN120675628APending Publication Date: 2025-09-19CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510844914.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In ROADM networks, since the idle wavelengths of standby nodes are unstable, establishing a standby optical fiber channel directly based on the idle wavelengths of the standby nodes can easily lead to failure in establishing the optical channel transmission path, thereby reducing the transmission efficiency of service data.

Method used

By obtaining the transmission path of the optical channel to be tested and determining the corresponding backup recovery paths, a detection instruction is sent to establish a backup optical fiber channel, the optical signal quality is calculated, the detection result is determined based on the optical signal quality, and the backup optical fiber channel is maintained to ensure that it is in a normal state.

Benefits of technology

The spare fiber optic channel is repaired in time to ensure that the spare fiber optic channel is in normal state. Therefore, when the transmission path of the optical channel to be detected fails, the spare fiber optic channel in normal state is used for data transmission, thereby improving the transmission efficiency of business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120675628A_ABST
    Figure CN120675628A_ABST
Patent Text Reader

Abstract

The invention relates to a wavelength detection method, system and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a to-be-detected optical channel transmission path, and determining each standby recovery path corresponding to the to-be-detected optical channel transmission path; for each standby recovery path, sending a first detection instruction; the first detection instruction is used for indicating to establish a standby optical fiber channel between recovery nodes in a standby recovery path, and determining the optical signal quality of the standby optical fiber channel; receiving optical signal quality, and determining a detection result of the standby optical fiber channel according to the optical signal quality; the detection result is used for maintaining a standby optical fiber channel. By adopting the method, the service data transmission efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical transmission network technology, and in particular to a wavelength detection method, system, device, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] A ROADM (Reconfigurable Optical Add-Drop Multiplexer) network consists of ROADM nodes (hereafter referred to as nodes), optical fibers, a control plane, and a network management system. In a ROADM network, a large number of wavelengths exist between adjacent nodes. Based on network transmission requirements, optical channels (OCHs) are established between adjacent nodes based on some of these wavelengths to transmit service data. Wavelengths with established OCHs are busy, while wavelengths without established OCHs are idle.

[0003] In conventional technology, a first node transmits target service data to a second node via a target optical channel transmission path. If the target optical channel transmission path is interrupted, the control plane determines a recovery route between the first and second nodes and establishes a backup optical channel based on the idle wavelengths of the backup nodes corresponding to the recovery route to resume service data transmission.

[0004] However, in traditional technologies, since the idle wavelength of the standby node is unstable, directly establishing a standby optical fiber channel based on the idle wavelength of the standby node is likely to cause failure in establishing the optical channel transmission path, thereby reducing the transmission efficiency of service data. Summary of the Invention

[0005] Based on this, it is necessary to provide a wavelength detection method, system, device, computer equipment, computer-readable storage medium and computer program product to address the above technical problems.

[0006] In a first aspect, the present application provides a wavelength detection method, comprising:

[0007] Acquire a transmission path of an optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0008] For each of the backup restoration paths, a first detection instruction is sent; the first detection instruction is used to instruct to establish a backup optical fiber channel between the restoration nodes in the backup restoration path and determine the optical signal quality of the backup optical fiber channel;

[0009] The optical signal quality is received, and a detection result of the backup optical fiber channel is determined according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0010] In one embodiment, obtaining the transmission path of the optical channel to be detected includes:

[0011] Check whether the control plane is working;

[0012] If the control plane is in an inoperative state, a transmission path of the optical channel to be detected is obtained.

[0013] In one embodiment, determining each backup restoration path corresponding to the transmission path of the optical channel to be detected includes:

[0014] generating a restoration path generation instruction according to the optical channel transmission path to be detected;

[0015] Sending the recovery path generation instruction to the control plane; the recovery path generation instruction is used to instruct the control plane to determine each service transmission path corresponding to the optical channel transmission path to be detected, and determine a backup recovery path corresponding to each service transmission path;

[0016] Receive the backup recovery paths returned by the control plane.

[0017] In one embodiment, the optical signal quality is a first optical signal-to-noise ratio, and determining the detection result of the backup optical fiber channel according to the optical signal quality includes:

[0018] Determining whether the first optical signal-to-noise ratio meets a preset optical signal-to-noise ratio requirement;

[0019] If the first optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determining that the detection result of the standby optical fiber channel is normal;

[0020] If the first optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, sending a power adjustment instruction to the recovery node corresponding to the backup optical fiber channel; the power adjustment instruction is used to instruct the recovery node to adjust the power of the backup optical fiber channel and recalculate the adjusted second optical signal-to-noise ratio of the backup optical fiber channel;

[0021] The second optical signal-to-noise ratio is received, and a detection result of the standby optical fiber channel is determined according to the second optical signal-to-noise ratio.

[0022] In one embodiment, determining the detection result of the backup optical fiber channel according to the second optical signal-to-noise ratio includes:

[0023] If the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determining that the detection result of the standby optical fiber channel is normal;

[0024] If the second optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, it is determined that the detection result of the backup optical fiber channel is abnormal.

[0025] In one embodiment, after determining the detection result of the backup optical fiber channel according to the optical signal quality, the method further includes:

[0026] Determining whether the detection result of the standby optical fiber channel is normal;

[0027] If the detection result is abnormal, constructing alarm information according to the backup optical fiber channel, the recovery node corresponding to the backup optical fiber channel and the information that the detection result is abnormal;

[0028] The alarm information is sent to a terminal of a maintenance personnel; the alarm information is used to instruct the maintenance personnel to maintain the standby optical fiber channel.

[0029] In one embodiment, the method further comprises:

[0030] According to a preset detection period, all node pairs in a reconfigurable optical add / drop multiplexer (ROADM) network where a transmission path of an optical channel to be detected is located are obtained, and a first node pair is determined among the node pairs;

[0031] Sending a second detection instruction to the first node pair; the second detection instruction is used to instruct to perform wavelength detection on each idle wavelength between the first node pair to obtain a wavelength detection result;

[0032] receiving each of the wavelength detection results, and maintaining the first node pair according to each of the wavelength detection results;

[0033] The second node pair is determined as a new first node pair, and the step of sending a second detection instruction to the first node pair is performed until the second node pair does not exist in all the node pairs.

[0034] In a second aspect, the present application also provides a wavelength detection system, comprising:

[0035] A control plane, used to determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0036] A network management system is configured to obtain a transmission path of an optical channel to be detected, and send a first detection instruction for each of the backup recovery paths; receive optical signal quality, and determine a detection result of the backup optical fiber channel based on the optical signal quality; and use the detection result to maintain the backup optical fiber channel;

[0037] The node includes a detection optical transmission channel unit card, which is used to establish a backup optical fiber channel between each recovery node in the backup recovery path and determine the optical signal quality of the backup optical fiber channel.

[0038] In a third aspect, the present application further provides a wavelength detection device, comprising:

[0039] An acquisition module, configured to acquire a transmission path of an optical channel to be detected and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0040] A sending module, configured to send a first detection instruction for each of the backup recovery paths; the first detection instruction is used to instruct the establishment of a backup optical fiber channel between the recovery nodes in the backup recovery path, and to determine the optical signal quality of the backup optical fiber channel;

[0041] The determination module is configured to receive the optical signal quality and determine a detection result of the backup optical fiber channel according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0042] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0043] Acquire a transmission path of an optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0044] For each of the backup restoration paths, a first detection instruction is sent; the first detection instruction is used to instruct to establish a backup optical fiber channel between the restoration nodes in the backup restoration path and determine the optical signal quality of the backup optical fiber channel;

[0045] The optical signal quality is received, and a detection result of the backup optical fiber channel is determined according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0046] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0047] Acquire a transmission path of an optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0048] For each of the backup restoration paths, a first detection instruction is sent; the first detection instruction is used to instruct to establish a backup optical fiber channel between the restoration nodes in the backup restoration path and determine the optical signal quality of the backup optical fiber channel;

[0049] The optical signal quality is received, and a detection result of the backup optical fiber channel is determined according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0050] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the following steps:

[0051] Acquire a transmission path of an optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected;

[0052] For each of the backup restoration paths, a first detection instruction is sent; the first detection instruction is used to instruct to establish a backup optical fiber channel between the restoration nodes in the backup restoration path and determine the optical signal quality of the backup optical fiber channel;

[0053] The optical signal quality is received, and a detection result of the backup optical fiber channel is determined according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0054] The wavelength detection method, system, device, computer equipment, computer-readable storage medium, and computer program product described above obtain the transmission path of the optical channel to be detected, and determine the backup recovery paths corresponding to the transmission path of the optical channel to be detected; send a first detection instruction for each of the backup recovery paths, wherein the first detection instruction is used to instruct the establishment of a backup optical fiber channel between the recovery nodes in the backup recovery path, and determine the optical signal quality of the backup optical fiber channel; receive the optical signal quality, and determine the detection result of the backup optical fiber channel based on the optical signal quality; the detection result is used to maintain the backup optical fiber channel. By adopting this method, by determining the backup recovery path corresponding to the transmission path of the optical channel to be detected, detecting the backup optical fiber channel corresponding to the backup recovery path, and then maintaining the backup optical fiber channel based on the detection result, the backup optical fiber channel can be repaired in a timely manner to ensure that the backup optical fiber channel is in a normal state. Therefore, when the transmission path of the optical channel to be detected is in a faulty state, the backup optical fiber channel in a normal state is used for data transmission, thereby improving the transmission efficiency of business data. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0056] Figure 1 A diagram showing an application environment of a wavelength detection method according to an embodiment;

[0057] Figure 2 1 is a flow chart of a wavelength detection method according to an embodiment;

[0058] Figure 3 A schematic diagram of a process for obtaining a transmission path of an optical channel to be detected in one embodiment;

[0059] Figure 4 A schematic diagram of a process for determining a backup recovery path in one embodiment;

[0060] Figure 5 A schematic diagram of a process for determining a test result in one embodiment;

[0061] Figure 6 FIG4 is a flow chart of determining a detection result according to a second optical signal-to-noise ratio in one embodiment;

[0062] Figure 7 A schematic diagram of a process for maintaining a backup optical fiber channel in one embodiment;

[0063] Figure 8 Schematic diagram of a process for detecting node pairs in one embodiment;

[0064] Figure 9 FIG1 is a schematic diagram of a configuration of a ROADM node in one embodiment;

[0065] Figure 10 is a flow chart of a wavelength detection method in an exemplary embodiment;

[0066] Figure 11 is a schematic diagram of a process for detecting node pairs in an exemplary embodiment;

[0067] Figure 12 is a structural block diagram of a wavelength detection device in one embodiment;

[0068] Figure 13 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0070] It should be noted that the terms "first", "second", etc. used in this application may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "including" and "having" used in this application and any variations thereof are intended to cover non-exclusive inclusions. The term "plurality" used in this application refers to two or more. The term "and / or" used in this application refers to one of the solutions or any combination of multiple solutions.

[0071] The wavelength detection method provided in the embodiment of the present application can be applied to Figure 1 In the wavelength detection system 100 shown. The wavelength detection system 100 includes a control plane 110, a network management system 120, each node 130, and an optical fiber for transmitting service data. The wavelength detection system 100 is also a ROADM network. The control plane 110 and the network management system 120 are connected via a network. The network management system 120 and each node 130 are connected via a network. The node 130 is a ROADM node device 130. The ROADM node device includes a laser that can adjust the wavelength of the node 130. The ROADM node device also includes each local group and the same number of detection optical transmission channel unit boards as the local groups. The network management system 120 is an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud computing services.

[0072] In an exemplary embodiment, Figure 2 As shown, a wavelength detection method is provided, which is applied to Figure 1 The network management system 120 (hereinafter referred to as the network management system) in FIG. 1 is used as an example to illustrate the method, which includes the following steps 202 to 206. In which:

[0073] Step 202: Acquire the transmission path of the optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected.

[0074] During implementation, the network management system obtains the optical channel transmission path to be tested based on the status of the control plane. The optical channel transmission path to be tested is the optical channel transmission path that requires testing. The network management system then sends a recovery path generation instruction based on the optical channel transmission path to be tested to the control plane. Based on the recovery path generation instruction, the control plane determines the backup recovery paths corresponding to the optical channel transmission path to be tested and returns the backup recovery paths to the network management system. The network management system then receives the backup recovery paths from the control plane.

[0075] Specifically, the network management system determines whether the control plane is working. If the control plane is not in working state, it obtains the optical channel transmission path to be detected. The optical channel transmission path to be detected can be an interrupted optical channel transmission path or an optical channel transmission path that may be interrupted. The optical channel transmission path to be detected contains optical channels to be detected of various wavelengths. Each optical channel to be detected is used to transmit service data of the same service, and can also transmit service data of different services. The network management system sends a recovery path generation instruction to the control plane based on the optical transmission channel path to be detected. The control plane determines the backup recovery path corresponding to the optical channel transmission path to be detected based on the recovery path generation instruction. If each optical channel to be detected in the optical channel transmission path to be detected is used to transmit different service data, the control plane determines the service transmission path corresponding to each service data, thereby determining the backup recovery path corresponding to each service transmission path. The control plane then returns each backup recovery path to the network management system. The network management system receives each backup recovery path fed back by the control plane.

[0076] Step 204: Send a first detection instruction to each backup recovery path.

[0077] The first detection instruction is used to instruct the establishment of a backup optical fiber channel between the recovery nodes in the backup recovery path and to determine the optical signal quality of the backup optical fiber channel. The backup recovery path includes the recovery nodes and the backup recovery wavelengths.

[0078] During implementation, the network management system sends a first detection instruction to each backup restoration path. Specifically, the network management system sends a first detection instruction to each restoration node in each backup restoration path. In response to the first detection instruction, the restoration node establishes a backup fiber channel between the restoration node and an adjacent restoration node and calculates the optical signal quality of the backup fiber channel.

[0079] Specifically, the optical signal quality is a first optical signal-to-noise ratio (OSNR). The backup recovery wavelength is an idle wavelength. The network management system sends a first detection instruction to each recovery node in each backup recovery path, based on the backup recovery wavelength and each recovery node. The recovery node receives the first detection instruction, identifies adjacent recovery nodes among the recovery nodes in the first detection instruction, and establishes a backup fiber channel with the adjacent recovery node on each backup recovery wavelength. The recovery node then calculates a first optical signal-to-noise ratio (OSNR) for each backup fiber channel.

[0080] In an exemplary embodiment, the reconfigurable optical add / drop multiplexer (ROADM) network in which the optical channel transmission path to be tested is located includes nodes A, B, C, D, and E. Each node contains 100 idle wavelengths and 20 active wavelengths. The optical channel transmission path to be tested is the optical channel transmission path from node A to node B. In this optical channel transmission path to be tested, the wavelengths numbered 1 to 20 from node A to node B are in operation and are transmitting service data. Of these, the wavelengths numbered 1 to 10 from node A to node B are used to transmit service data for service A, the wavelengths numbered 11 to 15 are used to transmit service data for service B, and the wavelengths numbered 16 to 20 are used to transmit service data for service C. The service transmission path for service A is from node A to node B. The service transmission path for service B is from node C to node A to node B. The service transmission path for service C is from node C to node A to node D to node B. The network management system determines that the backup restoration paths corresponding to the transmission path of the optical channel to be tested are: Service A: Node A to Node E to Node B; Service B: Node C to Node A to Node E to Node B; Service C: Node C to Node A to Node E to Node D to Node B. The backup restoration wavelengths for Service A are numbered 21 to 30, the backup restoration wavelengths for Service B are numbered 31 to 35, and the backup restoration wavelengths for Service C are numbered 36 to 40.

[0081] Taking the backup recovery path for service A as an example, the network management system sends a first detection command to nodes A, B, and E. It should be noted that nodes A, B, and E are backup nodes in the backup recovery path for service A. Node A receives the first detection command and identifies the adjacent recovery node E. Node A establishes backup fiber channels with node E on the backup recovery wavelengths numbered 21 to 30. Node A then calculates the first optical signal-to-noise ratio (OSNR) of each backup fiber channel to determine the performance of the backup fiber channel. Node A then sends the first OSNR of the backup fiber channel to the network management system. Specifically, each node contains local groups, an equal number of detection OTU boards as there are local groups, and a laser. For example, the detection OTU board in node A is connected to the adjacent recovery node E. Node A's laser adjusts its wavelength to the backup recovery wavelength numbered 21. Node E's laser adjusts its wavelength to the backup recovery wavelength numbered 21. The detection OTU board at node A and the detection OTU board at node E establish a backup fiber channel at the backup restoration wavelength numbered 21 and calculate the first optical signal-to-noise ratio of the backup fiber channel. The lasers at nodes A and E then adjust their wavelengths to the backup restoration wavelength numbered 22. The backup fiber channel establishment process continues until the backup restoration wavelength numbered 30 is detected.

[0082] It should be noted that after the detection is completed, the established backup optical fiber channel needs to be removed.

[0083] Step 206: Receive the optical signal quality and determine the detection result of the backup optical fiber channel according to the optical signal quality.

[0084] The detection results are used to maintain the backup optical fiber channel.

[0085] In practice, the optical signal-to-noise ratio requirement is pre-set in the network management system. The network management system receives the optical signal quality sent by the recovery node and determines the detection result of the backup optical fiber channel based on the optical signal quality and the preset optical signal-to-noise ratio requirement.

[0086] Specifically, the network management system receives the optical signal quality sent by the recovery node. The optical signal quality is a first optical signal-to-noise ratio (OSN) ratio. The network management system determines whether the first OSN ratio meets the OSN ratio requirement. If the first OSN ratio meets the OSN ratio requirement, the network management system determines that the test result of the backup optical fiber channel is normal. If the first OSN ratio does not meet the OSN ratio requirement, the network management system sends a power adjustment instruction to the recovery node. The recovery node adjusts the power of the backup optical fiber channel according to the power adjustment instruction and recalculates a second OSN ratio of the backup optical fiber channel. The recovery node sends the second OSN ratio to the network management system. The network management system determines the test result of the backup optical fiber channel based on the second OSN ratio and the OSN ratio requirement.

[0087] In the above-mentioned wavelength detection method, by determining the backup recovery path corresponding to the transmission path of the optical channel to be detected, and detecting the backup optical fiber channel corresponding to the backup recovery path, and then maintaining the backup optical fiber channel based on the detection results, the backup optical fiber channel can be repaired in a timely manner to ensure that the backup optical fiber channel is in a normal state. Therefore, when the transmission path of the optical channel to be detected is in a faulty state, the backup optical fiber channel in a normal state is used for data transmission, thereby improving the transmission efficiency of business data.

[0088] In an exemplary embodiment, Figure 3 As shown, the specific processing process of obtaining the transmission path of the optical channel to be detected in step 202 includes steps 302 to 304. Among them:

[0089] Step 302: Check whether the control plane is working.

[0090] In implementation, the network management system sends a status detection instruction to the control plane. The control plane receives the status detection instruction and sends the status of the control plane to the network management system according to the status detection instruction. The network management system detects whether the control plane is working based on the status of the control plane.

[0091] In an optional embodiment, if the state of the control plane is a working state, the network management system detects again whether the control plane is working according to a preset detection period.

[0092] Optionally, the detection period can be set to, but not limited to, 10 minutes, according to the detection requirements. The embodiment of the present application does not limit the detection period.

[0093] Step 304: If the control plane is in an inoperative state, obtain the transmission path of the optical channel to be detected.

[0094] In implementation, if the state of the control plane is an inoperative state, it indicates that the control plane is in an inoperative state. When the control plane is in an inoperative state, the network management system obtains the transmission path of the optical channel to be detected.

[0095] Specifically, the transmission path of the optical channel to be detected includes optical channels of various wavelengths. It has been established that the wavelengths of the optical channels to be detected are wavelengths in an active (busy) state. Each transmission node in the transmission path of the optical channel to be detected also includes wavelengths in an idle state. The optical channels of various wavelengths to be detected can be used to transmit service data for the same service or for different services.

[0096] For example, the reconfigurable optical add / drop multiplexer (ROADM) network where the optical channel transmission path to be tested is located includes nodes A, B, C, D, and E. Each node contains 100 idle wavelengths and 20 working wavelengths. The optical channel transmission path to be tested is the optical channel transmission path from node A to node B. In this optical channel transmission path to be tested, the wavelengths numbered 1 to 20 from node A to node B are in working order and are transmitting service data. Among them, the wavelengths numbered 1 to 10 from node A to node B are used to transmit service data of service A, the wavelengths numbered 11 to 15 are used to transmit service data of service B, and the wavelengths numbered 16 to 20 are used to transmit service data of service C. The service transmission path for service A is from node A to node B. The service transmission path for service B is from node C to node A to node B. The service transmission path for service C is from node C to node A to node D to node B.

[0097] Optionally, the optical channel transmission path to be detected may be an interrupted optical channel transmission path or a virtually interrupted optical channel transmission path. The virtually interrupted optical channel transmission path is a channel transmission path with a greater interruption risk.

[0098] In an optional embodiment, the network management system determines each optical channel transmission path in the ROADM network as an optical channel transmission path to be detected, thereby being able to perform wavelength detection on each optical channel transmission path.

[0099] In this embodiment, by detecting the working status of the control plane and obtaining the transmission path of the optical channel to be detected when the control plane is in an inoperative state, the detection target is obtained, and it is convenient to subsequently determine the backup recovery path of the transmission path of the optical channel to be detected based on the control plane.

[0100] In an exemplary embodiment, Figure 4 As shown, the specific processing process of determining each backup restoration path corresponding to the optical channel transmission path to be detected in step 202 includes steps 402 to 406. Among them:

[0101] Step 402: Generate a restoration path generation instruction according to the optical channel transmission path to be detected.

[0102] During implementation, the network management system generates a path restoration instruction based on the transmission path of the optical channel to be detected.

[0103] Specifically, the network management system generates a restoration path generation instruction according to the optical channel transmission path to be detected, the transmission nodes corresponding to the optical channel transmission path to be detected, and the wavelength used by the optical channel transmission path to be detected.

[0104] Step 404: Send a recovery path generation instruction to the control plane.

[0105] The restoration path generation instruction is used to instruct the control plane to determine each service transmission path corresponding to the optical channel transmission path to be detected, and to determine a backup restoration path corresponding to each service transmission path.

[0106] During implementation, the network management system sends a recovery path generation instruction to the control plane. The control plane receives the recovery path generation instruction and then determines the service transmission path for each service corresponding to the optical channel transmission path to be tested. For each service transmission path, the control plane generates initial backup recovery paths corresponding to that service transmission path based on the backup path algorithm and determines the shortest path among these initial backup recovery paths as the backup recovery path.

[0107] Specifically, the network management system sends a recovery path generation instruction to the control plane. The control plane receives the recovery path generation instruction and determines the optical channel transmission path to be tested in the recovery path instruction. The control plane then determines the services corresponding to the service data transmitted by the optical channel transmission path to be transmitted and the service transmission path corresponding to each service. For each service transmission path, the control plane generates initial backup recovery paths corresponding to that service transmission path based on the backup path algorithm and determines the shortest path among the initial backup recovery paths as the backup recovery path. The control plane then determines the backup recovery wavelength for the service transmission path based on the wavelength used by the service transmission path.

[0108] In an exemplary embodiment, the reconfigurable optical add / drop multiplexer (ROADM) network, where the optical channel transmission path to be tested is located, includes nodes A, B, C, D, and E. Each node has 100 idle wavelengths and 20 active wavelengths. The optical channel transmission path to be tested is the optical channel transmission path from node A to node B. In this optical channel transmission path, wavelengths numbered 1 to 20 between node A and node B are active and transmitting service data. The network management system sends a recovery path generation instruction to the control plane.

[0109] The control plane receives the recovery path generation instruction and determines the optical channel transmission path to be detected in the recovery path instruction. Then, the control plane determines the services corresponding to the service data transmitted by the optical channel transmission path to be transmitted, where the wavelengths numbered 1-10 from node A to node B are used to transmit the service data of service A, the wavelengths numbered 11-15 are used to transmit the service data of service B, and the wavelengths numbered 16-20 are used to transmit the service data of service C. Then, the control plane determines the service transmission path of service A to be from node A to node B, and determines the service transmission path of service B to be from node C to node A to node B. The control plane determines the service transmission path of service C to be from node C to node A to node D to node B.

[0110] For each service transmission path, the control plane generates each initial backup recovery path corresponding to the service transmission path according to the backup path algorithm, and determines the shortest path in each initial backup recovery path as the backup recovery path. Specifically, the control plane determines that the backup recovery path for service A is node A to node E to node B, and determines that the backup recovery path for service B is node C to node A to node E to node B. Then, the control plane determines that the backup recovery path for service C is node C to node A to node E to node D to node B. Then, the control plane determines the backup recovery wavelength of the service transmission path based on the wavelength used by the service transmission path. Specifically, the control plane determines that the backup recovery wavelength of service A is numbered 21 to 30, the backup recovery wavelength of service B is numbered 31 to 35, and the backup recovery wavelength of service C is numbered 36 to 40.

[0111] Step 406: Receive the backup restoration paths returned by the control plane.

[0112] In implementation, the control plane returns each backup restoration path corresponding to the optical channel transmission path to be detected to the network management system, and the network management system receives each backup restoration path and each backup restoration wavelength.

[0113] In this embodiment, a recovery path generation instruction is sent to the control plane to instruct the control plane to generate a backup recovery path for the optical channel transmission path to be detected, thereby clearly identifying a backup piggyback path that can replace the optical channel transmission path, thereby facilitating subsequent detection of the backup recovery path.

[0114] In an exemplary embodiment, the optical signal quality is a first optical signal-to-noise ratio, such as Figure 5 As shown, the specific processing process of determining the detection result of the backup optical fiber channel according to the optical signal quality in step 206 includes steps 502 to 508. Among them:

[0115] Step 502: Determine whether the first optical signal-to-noise ratio meets a preset optical signal-to-noise ratio requirement.

[0116] In implementation, the network management system pre-sets an optical signal-to-noise ratio requirement. The network management system determines whether the first optical signal-to-noise ratio of the backup optical fiber channel meets the preset signal-to-noise ratio requirement. If the first signal-to-noise ratio meets the requirement, the network management system executes step 504. If the first signal-to-noise ratio does not meet the requirement, the network management system executes step 506.

[0117] Optionally, the optical signal-to-noise ratio requirement is determined according to the transmission requirements of the service data. The embodiment of the present application does not limit the optical signal-to-noise ratio requirement.

[0118] Step 504: If the first optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determine that the detection result of the standby optical fiber channel is normal.

[0119] In implementation, if the first signal-to-noise ratio meets the optical signal-to-noise ratio requirement, the network management system determines that the backup optical fiber channel of the current wavelength is normal and can transmit service data normally. Then, the network management system determines the newly arrived detection result of the backup optical fiber as normal.

[0120] Step 506: If the first optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, a power adjustment instruction is sent to the recovery node corresponding to the standby optical fiber channel.

[0121] The power adjustment instruction is used to instruct the recovery node to adjust the power of the standby optical fiber channel and recalculate the second optical signal-to-noise ratio of the adjusted standby optical fiber channel.

[0122] In implementation, if the first optical signal-to-noise ratio (OSNR) does not meet the SNR requirement, the network management system (NMS) controls the recovery node corresponding to the backup optical fiber channel and constructs a power adjustment instruction based on the first OSNR. The NMS then sends the power adjustment instruction to the recovery node. Upon receiving the power adjustment instruction, the recovery node automatically adjusts the power of the backup optical fiber channel. The recovery node then recalculates the adjusted second OSNR for the backup optical fiber channel.

[0123] Step 508: Receive a second optical signal-to-noise ratio, and determine a detection result of the standby optical fiber channel according to the second optical signal-to-noise ratio.

[0124] In implementation, the recovery node returns the second optical signal-to-noise ratio to the network management system. The network management system receives the second optical signal-to-noise ratio and determines the detection result of the backup optical fiber channel according to the second optical signal-to-noise ratio and the optical signal-to-noise ratio requirement.

[0125] Specifically, the recovery node transmits the second optical signal-to-noise ratio of the backup optical fiber channel to the network management system via the network. The network management system receives the second optical signal-to-noise ratio of the backup optical fiber channel and determines whether the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, thereby obtaining a second determination result. The network management system then determines the detection result of the backup optical fiber channel based on the second determination result.

[0126] In this embodiment, the performance of the full backup recovery path can be monitored by determining the backup fiber channel test results based on the optical signal quality. Based on the test results, the backup recovery path is maintained, ensuring that the backup recovery path remains in a normal state. Consequently, when the transmission path of the optical channel to be tested fails, the normal backup fiber channel is used for data transmission, improving the transmission efficiency of service data.

[0127] In an exemplary embodiment, Figure 6 As shown, the specific processing process of determining the detection result of the backup optical fiber channel according to the optical signal quality in step 508 includes steps 602 to 604. Among them:

[0128] Step 602: If the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determine that the detection result of the standby optical fiber channel is normal.

[0129] In implementation, if the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, the network management system determines that the backup optical fiber channel of the current wavelength is normal and can normally transmit service data. Then, the network management system determines the detection result of the backup optical fiber channel as normal.

[0130] Step 604: If the second optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, determine that the detection result of the standby optical fiber channel is abnormal.

[0131] In implementation, if the second optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, the network management system determines that the backup optical fiber channel of the current wavelength is abnormal and cannot transmit service data. Then, the network management system determines the detection result of the backup optical fiber channel as abnormal.

[0132] In this embodiment, the detection result of the backup optical fiber channel is determined by the optical signal quality, so that the performance of all backup restoration paths can be detected, and backup restoration paths with problems can be reported and fed back in a timely manner.

[0133] In an exemplary embodiment, after the detection result is obtained, it is also necessary to maintain a spare fiber channel according to the detection result, such as Figure 7As shown, after step 206 is executed, the specific processing process of the wavelength detection method further includes steps 702 to 706. Among them:

[0134] Step 702: Determine whether the detection result of the standby optical fiber channel is normal.

[0135] In practice, the network management system determines whether the detection result of each spare fiber channel is normal. If the detection result is normal, the network management system does not process the spare fiber channel. If the detection result is abnormal, the network management system executes the following step 704.

[0136] Step 704: If the detection result is abnormal, alarm information is constructed based on the backup optical fiber channel, the recovery node corresponding to the backup optical fiber channel, and the abnormal detection result.

[0137] In implementation, if the detection result is abnormal, the network management system constructs alarm information based on the backup optical fiber channel, the recovery node corresponding to the backup optical fiber channel, the wavelength used by the backup optical fiber channel, and the abnormal detection result.

[0138] Step 706: Send an alarm message to the terminal of the maintenance personnel.

[0139] The alarm information is used to instruct maintenance personnel to maintain the backup optical fiber channel.

[0140] During implementation, the network management system sends an alarm message to the maintenance personnel's terminal through the network. After receiving the alarm message, the maintenance personnel's terminal notifies the maintenance personnel to maintain the backup optical fiber channel in time.

[0141] Optionally, the alarm information may be sent to the terminal of the maintenance personnel in the form of, but not limited to, text messages or emails.

[0142] In this embodiment, the detection result of the backup optical fiber channel is determined by the optical signal quality, so that the performance of the full backup recovery path can be detected, so that the backup recovery path with problems can be reported and fed back in time, so that maintenance personnel can maintain the backup recovery path in time and ensure that the backup recovery path is in a normal state. Therefore, when the transmission path of the optical channel to be detected is in a faulty state, the normal backup recovery path is used for data transmission, thereby improving the transmission efficiency of business data.

[0143] In an exemplary embodiment, the fiber channel between the node pairs can also be maintained by detecting the node pairs. Figure 8 As shown, the specific processing process of the wavelength detection method also includes steps 802 to 808. Among them:

[0144] Step 802: According to a preset detection cycle, all node pairs in the reconfigurable optical add / drop multiplexer (ROADM) network where the transmission path of the optical channel to be detected is located are obtained, and a first node pair is determined among the node pairs.

[0145] In implementation, a detection cycle is pre-set in the network management system. The network management system obtains all node pairs in the ROADM network where the optical channel transmission path to be detected is located. Then, the network management system determines the first node pair in the all node pairs as the first node pair.

[0146] Specifically, the network management system detects whether the control plane is in an operational state. If the control plane is not in an operational state, the network management system obtains all node pairs in the ROADM network where the transmission path of the optical channel to be tested resides. A node pair is a pair of two nodes in the ROADM network. The network management system then identifies the first node pair among all node pairs as the first node pair. If the control plane is in an operational state, the network management system rechecks the control plane's operational state according to a preset detection period.

[0147] Step 804: Send a second detection instruction to the first node pair.

[0148] The second detection instruction is used to instruct to perform wavelength detection on each idle wavelength between the first node pair to obtain a wavelength detection result.

[0149] During implementation, the network management system sends a second detection command to the first node pair. The first node pair receives the second detection command. Each node in the first node pair determines the corresponding detection OTU card for each local group. The two detection OTU cards create a backup optical channel for each idle wavelength in that direction and determine the performance data for the backup optical channel. The detection OTU cards then determine the wavelength detection results for the idle wavelengths in that direction based on the performance data and a pre-set design record table.

[0150] Specifically, each node contains a local group. The function of the local group is to implement the add / drop function for service wavelengths at this site. The network management system sends a second detection instruction to the first node pair. The first node pair receives the second detection instruction. The first node pair includes a first node and a second node. Each local group in the first node and each local group in the second node establish a backup optical channel on each idle wavelength. This backup optical channel establishment is performed by the detection OTU board corresponding to the local group. The detection OTU board then determines the indicator data of the backup optical channel and, based on the indicator data and a preset design record table, determines the wavelength detection result for the idle wavelength in the direction of the local group. Specifically, if the indicator data conforms to the preset design record table, the network management system determines that the wavelength detection result for the idle wavelength is normal. If the indicator data does not conform to the preset design record table, the network management system determines that the wavelength detection result for the idle wavelength is abnormal.

[0151] In an exemplary embodiment, the first node pair is node X and node Y. The network management system sends a second detection instruction to the first node pair. Node X and node Y receive the second detection instruction. Node X contains two local groups, x1 and x2. Node Y contains two local groups, y1 and y2. Node X determines the detection OTU board Xa corresponding to local group x1 and the detection OTU board Xb corresponding to local group x2. Node Y determines the detection OTU board Ya corresponding to local group y1 and the detection OTU board Yb corresponding to local group y2. Idle wavelengths are those numbered 21 to 120.

[0152] The detection OTU board Xa in the first node and the detection OTU board Ya in the second node establish a backup optical channel on the idle wavelength numbered 21. The detection OTU board Xa determines the indicator data for the backup optical channel and, based on the indicator data and a preset design record table, determines the wavelength detection result for the idle wavelength in the direction of the local group x1y1. The lasers in the first and second nodes then adjust their wavelengths to the wavelength numbered 22. The steps of establishing a backup optical channel on the idle wavelength numbered 22 are repeated with the detection OTU board Xa in the first node and the detection OTU board Ya in the second node until the wavelength detection result for the idle wavelength numbered 120 is determined.

[0153] The detection OTU board Xb in the first node and the detection OTU board Ya in the second node establish a backup optical channel on the idle wavelength numbered 21. The detection OTU board Xb determines the indicator data for the backup optical channel and, based on the indicator data and a preset design record table, determines the wavelength detection result for the idle wavelength in the direction of the local group x2y1. The lasers in the first and second nodes then adjust their wavelengths to the wavelength numbered 22. The steps of establishing a backup optical channel on the idle wavelength numbered 22 are repeated with the detection OTU board Xb in the first node and the detection OTU board Ya in the second node until the wavelength detection result for the idle wavelength numbered 120 is determined.

[0154] Next, the detection OTU board Xa in the first node and the detection OTU board Yb in the second node establish a backup optical channel on the idle wavelength numbered 21. The detection OTU board Xa determines the indicator data for the backup optical channel and, based on the indicator data and a preset design record table, determines the wavelength detection result for the idle wavelength in the direction of the local group x1y2. The lasers in the first and second nodes then adjust their wavelengths to the wavelength numbered 22. The steps of establishing a backup optical channel on the idle wavelength numbered 22 are repeated until the wavelength detection result for the idle wavelength numbered 120 is determined.

[0155] The detection OTU board Xb in the first node and the detection OTU board Yb in the second node establish a backup optical channel on the idle wavelength numbered 21. The detection OTU board Xb determines the indicator data for the backup optical channel and, based on the indicator data and a preset design record table, determines the wavelength detection result for the idle wavelength in the direction of the local group x2y2. The lasers in the first and second nodes then adjust their wavelengths to the wavelength numbered 22. The steps of establishing a backup optical channel on the idle wavelength numbered 22 are repeated with the detection OTU board Xb in the first node and the detection OTU board Yb in the second node until the wavelength detection result for the idle wavelength numbered 120 is determined.

[0156] In an optional embodiment, after determining the wavelength detection result of the idle wavelength, the detection OTU board removes the standby optical channel corresponding to the idle wavelength, thereby ensuring normal transmission of subsequent service data.

[0157] Step 806: Receive each wavelength detection result, and maintain the first node pair according to each wavelength detection result.

[0158] During implementation, the first node pair sends each wavelength detection result to the network management system. If no wavelength detection result is found, the network management system determines whether the wavelength detection result is normal. If the wavelength detection result is normal, the network management system does not process the node pair corresponding to the wavelength detection result. If the wavelength detection result is abnormal, the network management system generates wavelength alarm information based on the wavelength detection result and the first node pair corresponding to the wavelength detection result, and sends the wavelength alarm information to a maintenance personnel terminal. This wavelength alarm information instructs the maintenance personnel to perform maintenance on the first node pair.

[0159] Step 808: determine the second node pair as a new first node pair, and execute the step of sending a second detection instruction to the first node pair until the second node pair does not exist in the full number of node pairs.

[0160] The second node pair is the default next node pair of the first node pair.

[0161] During implementation, the network management system determines the second node pair as the first node pair and executes the step of sending a second detection instruction to the first node pair until the second node pair no longer exists in the full set of node pairs. Sending the second detection instruction to the first node pair is the above-mentioned step 804. The specific processing process of step 804 has been described in detail in the above-mentioned embodiment and will not be repeated here in the embodiment of the present application. In addition, if the second node pair does not exist in the full set of node pairs, the network management system has completed the detection of all node pairs.

[0162] In this embodiment, by sending a second detection instruction to each first node pair, the health of the idle wavelengths in all node pairs can be detected, so that the node pairs with problems can be reported in a timely manner according to the detection results, so that maintenance personnel can promptly maintain the OMS section (Optical Multiplex Section) in the node pair.

[0163] In an exemplary embodiment, a wavelength detection system 100 is also provided, which includes: a control plane 110, used to determine each backup recovery path corresponding to the optical channel transmission path to be detected; a network management system 120, used to obtain the optical channel transmission path to be detected, and send a first detection instruction for each backup recovery path; receive the optical signal quality, and determine the detection result of the backup optical fiber channel based on the optical signal quality; the detection result is used to maintain the backup optical fiber channel; a node 130, including a detection optical transmission channel unit board, used to instruct the establishment of a backup optical fiber channel between each recovery node in the backup recovery path, and determine the optical signal quality of the backup optical fiber channel.

[0164] In implementation, the wavelength detection system 100 includes a control plane 110, a network management system 120, and nodes 130. The control plane 110 is used to determine the backup recovery paths corresponding to the optical channel transmission path to be detected. The detailed process of the control plane determining the backup recovery paths has been described in detail in step 404 and will not be repeated in this embodiment of the present application. The network management system 120 is used to obtain the optical channel transmission path to be detected and send a first detection instruction to each backup recovery path corresponding to the optical channel transmission path to be detected. The network management system 120 then receives the optical signal quality corresponding to the first detection instruction and determines the detection result of the backup optical fiber channel based on the optical signal quality. This detection result is used to maintain the backup optical fiber channel. The specific processing process of the network management system 120 has been described in detail in steps 202 to 206 and will not be repeated in this embodiment of the present application. The node 130 includes a detection optical transmission channel unit card, which is used to establish a backup optical fiber channel between each recovery node in the backup recovery path and determine the optical signal quality of the backup optical fiber channel. After the detection is completed, the backup optical fiber channel is disconnected.

[0165] In an exemplary embodiment, Figure 9 This diagram illustrates the configuration of a ROADM node in one embodiment. This node has two local groups and four directional groups. The local groups implement add / drop functionality for service wavelengths within the ROADM node. The directional groups allow local add / drop service wavelengths to be linked in different directions through directional groups, enabling a flexible and open all-optical switching network. The presence of two local groups requires two detection OTU boards to implement end-to-end idle channel polling detection.

[0166] In this embodiment, the backup recovery path corresponding to the transmission path of the optical channel to be detected is determined through the control plane, and the backup optical fiber channel corresponding to the backup recovery path of the recovery node is detected, and then the backup optical fiber channel is maintained according to the detection result. The backup optical fiber channel can be repaired in time to ensure that the backup optical fiber channel is in a normal state. Therefore, when the transmission path of the optical channel to be detected is in a faulty state, the backup optical fiber channel in a normal state is used for data transmission, thereby improving the transmission efficiency of business data.

[0167] In an exemplary embodiment, there are two methods for end-to-end idle channel polling detection.

[0168] First, it simulates the fiber-broken rerouting situation. The control plane calculates all restoration routes and sequentially creates OCHs (Optical Channels) on all restoration routes using the detected OTU wavelengths. It then tests the OSNR performance of each restoration route, analyzes abnormalities and faults at each node, and reports them promptly. Figure 10 is a flow chart of a wavelength detection method in an exemplary embodiment, as shown in FIG. Figure 10 As shown, the specific processing process of the wavelength detection method includes:

[0169] In step 1001 , the network management system detects whether the control plane is working; if the control plane is working, step 1001 is executed after waiting for 10 minutes; if the control plane is not working, step 1002 is executed.

[0170] Step 1002: The network management system selects a transmission path of an optical channel to be detected.

[0171] Step 1003 : Calculate the restoration routes of all services on the optical channel transmission path to be detected (OMS segment to be detected) by using the control plane technology.

[0172] In step 1004 , the detection OTU board creates an OCH (backup optical channel) on a restoration route and calculates the OSNR performance of the OCH.

[0173] In step 1005, the network management system determines whether the OSNR performance of the OCH meets the preset index requirements; if the OSNR performance of the OCH meets the index requirements, the following step 1008 is executed; if the OSNR performance of the OCH does not meet the index requirements, the following step 1006 is executed.

[0174] Step 1006: The detection OTU board automatically adjusts the power of the OCH and recalculates the OSNR performance of the adjusted OCH.

[0175] In step 1007, the network management system determines whether the OSNR performance of the OCH meets the preset index requirements; if the OSNR performance of the OCH meets the index requirements, the following step 1008 is executed; if the OSNR performance of the OCH does not meet the index requirements, the following step 1009 is executed.

[0176] Step 1008: The network management system determines that the detection result of the OCH is normal.

[0177] Step 1009: The network management system determines that the detection result of the OCH is abnormal, and reports abnormality and fault alarm information.

[0178] In step 1010 , the network management system determines whether there is any recovery route that has not been detected; if there is any recovery route that has not been detected, step 1004 is executed; if not, step 1011 is executed.

[0179] In step 1011 , the network management system determines whether there are optical channel transmission paths to be detected; if there are optical channel transmission paths to be detected, step 1003 is executed; if not, the wavelength detection method is terminated.

[0180] The second is to directly create OCH according to different line directions and different idle wavelengths in each line direction, query and detect the OSNR performance of the optical path, analyze the abnormalities and faults of each node, and report them in a timely manner. Figure 11 FIG. 1 is a flow chart of detecting node pairs in an exemplary embodiment. Figure 11 As shown in FIG, the specific processing process of detecting node pairs includes:

[0181] In step 1101 , the network management system detects whether the control plane is working; if the control plane is working, step 1101 is executed after waiting for 10 minutes; if the control plane is not working, step 1102 is executed.

[0182] In step 1102, the network management system obtains all node pairs in the reconfigurable optical add / drop multiplexer (ROADM) network where the transmission path of the optical channel to be detected is located.

[0183] Step 1103: The network management system determines a first node pair in all detected pairs.

[0184] In step 1104, each node in the first node pair selects a local group and determines a detection OTU board corresponding to the local group.

[0185] Step 1105: The detection OTU board creates an OCH on an idle wavelength in the direction corresponding to the local group, and determines the indicator data of the OCH.

[0186] Step 1106 , comparing the design record table and the index data, determining the wavelength detection result of the OCH, and reporting the abnormality and fault information within the node and between nodes based on the wavelength detection result.

[0187] Step 1107 , determining whether there are any undetected idle wavelengths; if there are any undetected idle wavelengths, executing step 1105 ; if there are no undetected idle wavelengths, executing step 1108 .

[0188] Step 1108 , determining whether there are any unselected local group pairs; if there are any unselected local group pairs, executing step 1104 ; if there are no unselected local group pairs, executing step 1109 .

[0189] Step 1109 , determine whether there are any undetected node pairs; if there are any undetected node pairs, determine the next node pair of the first node pair as the new first node pair, and execute step 1104 ; if there are no undetected node pairs, terminate the execution.

[0190] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps. It is understandable that the various steps in different embodiments can be freely combined as needed, and the various non-contradictory schemes formed by the combination all fall within the scope of protection of this application.

[0191] Based on the same inventive concept, embodiments of the present application also provide a wavelength detection device for implementing the wavelength detection method described above. The solution provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more wavelength detection device embodiments provided below can be found in the limitations of the wavelength detection method described above and will not be further elaborated here.

[0192] In an exemplary embodiment, Figure 12 As shown, a wavelength detection device 1200 is provided, including: an acquisition module 1201, a sending module 1202 and a determination module 1203, wherein:

[0193] The acquisition module 1201 is configured to acquire a transmission path of the optical channel to be detected and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected.

[0194] The sending module 1202 is configured to send a first detection instruction for each backup restoration path; the first detection instruction is configured to instruct the establishment of a backup fiber channel between restoration nodes in the backup restoration path and to determine the optical signal quality of the backup fiber channel.

[0195] The determination module 1203 is configured to receive the optical signal quality and determine the detection result of the backup optical fiber channel according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

[0196] In an exemplary embodiment, the acquisition module 1201 includes a first acquisition submodule and a first determination submodule. The first acquisition submodule includes:

[0197] The first detection submodule is used to detect whether the control plane is working.

[0198] The second acquisition submodule is configured to acquire a transmission path of the optical channel to be detected if the control plane is in an inoperative state.

[0199] In an exemplary embodiment, the acquisition module 1201 includes a first acquisition submodule and a first determination submodule. The second acquisition submodule includes:

[0200] The first generating submodule is configured to generate a restoration path generating instruction according to a transmission path of the optical channel to be detected.

[0201] The first sending submodule is used to send a recovery path generation instruction to the control plane; the recovery path generation instruction is used to instruct the control plane to determine each service transmission path corresponding to the optical channel transmission path to be detected, and determine the backup recovery path corresponding to each service transmission path.

[0202] The first receiving submodule is configured to receive the backup recovery paths returned by the control plane.

[0203] In an exemplary embodiment, the optical signal quality is a first optical signal-to-noise ratio, and the determination module 1203 includes a second receiving submodule and a first determination submodule. The first determination submodule includes:

[0204] The first judgment submodule is configured to judge whether the first optical signal-to-noise ratio meets a preset optical signal-to-noise ratio requirement.

[0205] The second determining submodule is configured to determine that the detection result of the standby optical fiber channel is normal if the first optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement.

[0206] The second sending submodule is configured to send a power adjustment instruction to the recovery node corresponding to the backup optical fiber channel if the first optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement; the power adjustment instruction is configured to instruct the recovery node to adjust the power of the backup optical fiber channel and recalculate the second optical signal-to-noise ratio of the adjusted backup optical fiber channel.

[0207] The third determining submodule is configured to receive the second optical signal-to-noise ratio and determine a detection result of the standby optical fiber channel according to the second optical signal-to-noise ratio.

[0208] In an exemplary embodiment, the third determining submodule includes:

[0209] The fourth determining submodule is configured to determine that the detection result of the standby optical fiber channel is normal if the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement.

[0210] The fifth determining submodule is configured to determine that the detection result of the standby optical fiber channel is abnormal if the second optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement.

[0211] In an exemplary embodiment, the wavelength detection device 1200 further includes:

[0212] The first judgment module is used to judge whether the detection result of the standby optical fiber channel is normal.

[0213] The first constructing module is configured to construct alarm information according to the backup optical fiber channel, the recovery node corresponding to the backup optical fiber channel, and the abnormal detection result if the detection result is abnormal.

[0214] The second sending module is used to send alarm information to the terminal of the maintenance personnel; the alarm information is used to instruct the maintenance personnel to maintain the standby optical fiber channel.

[0215] In an exemplary embodiment, the wavelength detection device 1200 further includes:

[0216] The second acquisition module is configured to acquire, according to a preset detection period, all node pairs in the reconfigurable optical add / drop multiplexer (ROADM) network where the transmission path of the optical channel to be detected is located, and determine a first node pair among the node pairs.

[0217] The third sending module is used to send a second detection instruction to the first node pair; the second detection instruction is used to instruct to perform wavelength detection on each idle wavelength between the first node pair to obtain a wavelength detection result.

[0218] The first receiving module is configured to receive each wavelength detection result and maintain the first node pair according to each wavelength detection result.

[0219] The execution module is used to determine the second node pair as a new first node pair and execute the step of sending a second detection instruction to the first node pair until the second node pair does not exist in the full number of node pairs.

[0220] Each module in the aforementioned wavelength detection device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a computer device memory in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0221] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 13As shown. The computer device includes a processor, a memory, an input / output interface (I / O) and a communication interface. The processor, memory and input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data used for the wavelength detection method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a wavelength detection method is implemented.

[0222] Those skilled in the art will understand that Figure 13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0223] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0224] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0225] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0226] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.

[0227] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0228] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A wavelength detection method, characterized in that: The method comprises: Acquire a transmission path of an optical channel to be detected, and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected; For each of the backup restoration paths, a first detection instruction is sent; the first detection instruction is used to instruct to establish a backup optical fiber channel between the restoration nodes in the backup restoration path and determine the optical signal quality of the backup optical fiber channel; The optical signal quality is received, and a detection result of the backup optical fiber channel is determined according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

2. The method according to claim 1, characterized in that The obtaining of the transmission path of the optical channel to be detected includes: Check whether the control plane is working; If the control plane is in an inoperative state, a transmission path of the optical channel to be detected is obtained.

3. The method according to claim 1, characterized in that The determining of each backup restoration path corresponding to the transmission path of the optical channel to be detected includes: generating a restoration path generation instruction according to the optical channel transmission path to be detected; Sending the recovery path generation instruction to the control plane; the recovery path generation instruction is used to instruct the control plane to determine each service transmission path corresponding to the optical channel transmission path to be detected, and determine a backup recovery path corresponding to each service transmission path; Receive the backup recovery paths returned by the control plane.

4. The method according to claim 1, wherein The optical signal quality is a first optical signal-to-noise ratio, and determining the detection result of the standby optical fiber channel according to the optical signal quality includes: Determining whether the first optical signal-to-noise ratio meets a preset optical signal-to-noise ratio requirement; If the first optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determining that the detection result of the standby optical fiber channel is normal; If the first optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, sending a power adjustment instruction to the recovery node corresponding to the backup optical fiber channel; the power adjustment instruction is used to instruct the recovery node to adjust the power of the backup optical fiber channel and recalculate the adjusted second optical signal-to-noise ratio of the backup optical fiber channel; The second optical signal-to-noise ratio is received, and a detection result of the standby optical fiber channel is determined according to the second optical signal-to-noise ratio.

5. The method according to claim 4, characterized in that Determining the detection result of the standby optical fiber channel according to the second optical signal-to-noise ratio includes: If the second optical signal-to-noise ratio meets the optical signal-to-noise ratio requirement, determining that the detection result of the standby optical fiber channel is normal; If the second optical signal-to-noise ratio does not meet the optical signal-to-noise ratio requirement, it is determined that the detection result of the backup optical fiber channel is abnormal.

6. The method according to claim 1, characterized in that After determining the detection result of the backup optical fiber channel according to the optical signal quality, the method further includes: Determining whether the detection result of the standby optical fiber channel is normal; If the detection result is abnormal, constructing alarm information according to the backup optical fiber channel, the recovery node corresponding to the backup optical fiber channel and the information that the detection result is abnormal; The alarm information is sent to a terminal of a maintenance personnel; the alarm information is used to instruct the maintenance personnel to maintain the standby optical fiber channel.

7. The method according to claim 1, characterized in that The method further comprises: According to a preset detection period, all node pairs in a reconfigurable optical add / drop multiplexer (ROADM) network where a transmission path of an optical channel to be detected is located are obtained, and a first node pair is determined among the node pairs; Sending a second detection instruction to the first node pair; the second detection instruction is used to instruct to perform wavelength detection on each idle wavelength between the first node pair to obtain a wavelength detection result; receiving each of the wavelength detection results, and maintaining the first node pair according to each of the wavelength detection results; The second node pair is determined as a new first node pair, and the step of sending a second detection instruction to the first node pair is performed until the second node pair does not exist in all the node pairs.

8. A wavelength detection system, characterized in that: The system comprises: A control plane, used to determine each backup restoration path corresponding to the transmission path of the optical channel to be detected; A network management system is configured to obtain a transmission path of an optical channel to be detected, and send a first detection instruction for each of the backup recovery paths; receive optical signal quality, and determine a detection result of the backup optical fiber channel based on the optical signal quality; and use the detection result to maintain the backup optical fiber channel; The node includes a detection optical transmission channel unit card, which is used to establish a backup optical fiber channel between each recovery node in the backup recovery path and determine the optical signal quality of the backup optical fiber channel.

9. A wavelength detection device, characterized in that: The device comprises: An acquisition module, configured to acquire a transmission path of an optical channel to be detected and determine each backup restoration path corresponding to the transmission path of the optical channel to be detected; A sending module, configured to send a first detection instruction for each of the backup recovery paths; the first detection instruction is used to instruct the establishment of a backup optical fiber channel between the recovery nodes in the backup recovery path, and to determine the optical signal quality of the backup optical fiber channel; The determination module is configured to receive the optical signal quality and determine a detection result of the backup optical fiber channel according to the optical signal quality; the detection result is used to maintain the backup optical fiber channel.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.