Protection switching method for optical signal, device, storage medium and program product

By obtaining the out-of-band optical signal-to-noise ratio of the optical signal in the DWDM optical transmission system, intelligent switching of the switching switch is realized, which solves the problem of low reliability of the optical multiplex section protection method and improves the reliability of the optical transmission system.

WO2026061241A1PCT designated stage Publication Date: 2026-03-26CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-08-29
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

Existing optical multiplex section protection methods have low reliability in DWDM optical transmission systems.

Method used

By acquiring the out-of-band signal-to-noise ratio of multiple optical signals and switching the switching device according to the signal-to-noise ratio, the optical signal with better transmission performance is selected.

Benefits of technology

This improves the reliability of optical transmission systems and ensures the stability and quality of optical signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025118018_26032026_PF_FP_ABST
    Figure CN2025118018_26032026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are a protection switching method for an optical signal, a device, a storage medium and a program product, which are applied to a control assembly in a protection switching device in an optical transmission system. The protection switching device comprises a control assembly and a switching switch, the switching switch being used for receiving a plurality of optical signals and selecting and outputting one optical signal among the plurality of optical signals. The method comprises: acquiring an out-of-band optical signal signal-to-noise ratio corresponding to at least one of a plurality of optical signals within a detection duration, the out-of-band optical signal signal-to-noise ratio being the signal-to-noise ratio of an out-of-band optical signal corresponding to the optical signal, and the out-of-band optical signal being a signal outside a preset wavelength range corresponding to an optical transmission system; and, on the basis of the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal, switching to a target optical signal as the current optical signal output by the switching switch, the at least one optical signal comprising the current optical signal and the target optical signal, or the at least one optical signal being the current optical signal. The present disclosure improves the reliability of optical transmission systems.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, storage medium and program product for protection switching of optical signals

[0001] The present disclosure claims priority to the Chinese patent application No. 202411328674.4, filed on September 23, 2024, and entitled "Method, device, storage medium and program product for protection switching of optical signals", the entire content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present disclosure relates to the field of optical communication, and in particular, to a method, device, storage medium and program product for protection switching of optical signals. BACKGROUND

[0003] With the development of cloud computing, dense wavelength division multiplexing (DWDM) optical transmission systems can be used for optical communication. The DWDM optical transmission system usually includes a main transmission link and a backup transmission link. The main transmission link can be used to transmit a main combined optical signal, and the backup transmission link can be used to transmit a backup combined optical signal.

[0004] In order to maintain the reliability of the DWDM optical transmission system, an optical line protection (OLP) switch can be used to protect the optical path.

[0005] In the related art, according to the position of the OLP switch in the DWDM optical transmission system, an optical multiplex section protection (OMSP) protection mode can be used. However, the current OMSP protection mode still has the problem of low reliability. SUMMARY

[0006] Aspects of the present disclosure provide a method, device, storage medium and program product for protection switching of optical signals to solve the problem of low reliability of the optical transmission system.

[0007] In a first aspect, an embodiment of the present disclosure provides a method for protection switching of optical signals, applied to a control component in a protection switching device in an optical transmission system, the protection switching device including the control component and a switching switch, the switching switch being configured to receive a plurality of optical signals and select and output one optical signal from the plurality of optical signals, and the method comprising:

[0008] obtain a signal-to-noise ratio of an out-of-band optical signal corresponding to at least one of the plurality of optical signals in a detection duration, the signal-to-noise ratio of the out-of-band optical signal being a signal-to-noise ratio of an out-of-band optical signal corresponding to the optical signal, the out-of-band optical signal being a signal outside a preset wavelength range corresponding to the optical transmission system;

[0009] switch the current optical signal output by the switching device to a target optical signal according to the signal-to-noise ratio of the out-of-band optical signal corresponding to the at least one optical signal, the current optical signal being an optical signal currently selected to be output by the switching device, the target optical signal being an optical signal currently not selected to be output by the switching device, the at least one optical signal including the current optical signal and the target optical signal, or the at least one optical signal being the current optical signal.

[0010] In a possible implementation, the signal-to-noise ratio of the out-of-band optical signal corresponding to the optical signal includes at least one signal-to-noise ratio of an out-of-band optical signal obtained through at least one detection operation in the detection duration;

[0011] switching the current optical signal output by the switching device to a target optical signal according to the signal-to-noise ratio of the out-of-band optical signal corresponding to the at least one optical signal includes:

[0012] switching the current optical signal output by the switching device to the target optical signal when the at least one signal-to-noise ratio of the out-of-band optical signal corresponding to the at least one optical signal meets a corresponding preset range.

[0013] In a possible implementation, before obtaining the signal-to-noise ratio of the out-of-band optical signal corresponding to at least one of the plurality of optical signals in the detection duration, the method further includes:

[0014] determining a signal-to-noise ratio threshold for protection switching of the current optical signal and the target optical signal.

[0015] In a possible implementation, the protection switching device further includes a plurality of first filters, the first filters being configured to receive a combined optical signal and divide the received combined optical signal into an in-band optical signal and an out-of-band optical signal;

[0016] the plurality of optical signals received by the switching device includes the in-band optical signals output by the plurality of first filters respectively;

[0017] the current optical signal included in the at least one optical signal is a current in-band optical signal, and the target optical signal is a target in-band optical signal.

[0018] The out-of-band optical signal signal-to-noise ratios corresponding to the at least one optical signal include at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal.

[0019] In a possible implementation, when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range, the current optical signal output by the switch is switched to the target optical signal, including:

[0020] When the at least one first out-of-band optical signal signal-to-noise ratio is less than or equal to the signal-to-noise ratio threshold, and the at least one second out-of-band optical signal signal-to-noise ratio is greater than the signal-to-noise ratio threshold, the switch is switched to switch the current in-band optical signal output by the switch to the target in-band optical signal.

[0021] In a possible implementation, the signal-to-noise ratio threshold for protecting the current optical signal and the target optical signal is determined, including:

[0022] An initial signal-to-noise ratio margin value of at least one wave channel corresponding to the optical transmission system is determined.

[0023] A maximum initial signal-to-noise ratio margin value is determined from the initial signal-to-noise ratio margin values of the at least one wave channel.

[0024] The maximum initial signal-to-noise ratio margin value and a sum of signal-to-noise ratio variables are determined as the signal-to-noise ratio threshold.

[0025] In a possible implementation, the method further includes:

[0026] When any out-of-band optical signal signal-to-noise ratio does not meet the corresponding preset range, at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal in the detection duration are obtained, the first out-of-band optical signal power is the power of the out-of-band optical signal corresponding to the current in-band optical signal, and the second out-of-band optical signal power is the power of the out-of-band optical signal corresponding to the target in-band optical signal.

[0027] According to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power, the current in-band optical signal output by the switch is switched to the target in-band optical signal.

[0028] In a possible implementation, before the at least one first out-of-band optical signal power corresponding to the current in-band optical signal and the at least one second out-of-band optical signal power corresponding to the target in-band optical signal in the detection duration are obtained, the method further includes:

[0029] determining an out-of-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0030] In a possible implementation, switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power comprises:

[0031] when the at least one first in-band optical signal power is all less than or equal to the in-band optical signal power threshold, and the at least one second in-band optical signal power is all greater than the in-band optical signal power threshold, performing switching processing on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal.

[0032] In a possible implementation, the method further comprises:

[0033] when any out-of-band optical signal power does not conform to the corresponding preset range, obtaining at least one first in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration;

[0034] switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power.

[0035] In a possible implementation, before obtaining the at least one first in-band optical signal power corresponding to the current in-band optical signal and the at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration, the method further comprises:

[0036] determining an in-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0037] In a possible implementation, switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power comprises:

[0038] when the at least one first in-band optical signal power is all less than or equal to the in-band optical signal power threshold, and the at least one second in-band optical signal power is all greater than the in-band optical signal power threshold, performing switching processing on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal.

[0039] In a possible implementation, the plurality of optical signals received by the switcher include a plurality of combined optical signals transmitted by a plurality of optical paths respectively.

[0040] The at least one optical signal is a current optical signal, in particular, a current combined optical signal currently selected by the switcher.

[0041] The signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the at least one optical signal is a signal-to-noise ratio of an out-of-band optical signal in the current combined optical signal.

[0042] In a possible implementation, when the signal-to-noise ratios of the at least one out-of-band optical signal corresponding to the at least one optical signal all satisfy corresponding preset ranges, the current optical signal output by the switcher is switched to the target optical signal, including:

[0043] When the signal-to-noise ratios of the at least one out-of-band optical signal are all less than or equal to the signal-to-noise ratio threshold, the switcher is switched until the signal-to-noise ratios of the at least one out-of-band optical signal in the current period are all greater than the signal-to-noise ratio threshold, and the switching of the switcher is stopped, so that the current combined optical signal output by the switcher is switched to the target combined optical signal, which is a combined optical signal currently not selected by the switcher.

[0044] In a possible implementation, for any one optical signal, the signal-to-noise ratio of an out-of-band optical signal corresponding to the optical signal in a detection duration is obtained, including:

[0045] The bit error rate of the out-of-band optical signal corresponding to the optical signal in the detection duration is obtained, where the bit error rate of the out-of-band optical signal refers to a probability of an error bit in the out-of-band optical signal in a transmission process.

[0046] The bit error rate of the out-of-band optical signal is converted to obtain the signal-to-noise ratio of the out-of-band optical signal.

[0047] In a second aspect, the embodiments of the present disclosure provide a protection switcher, including:

[0048] A switcher configured to receive a plurality of optical signals and select and output one optical signal from the plurality of optical signals.

[0049] A detection component configured to detect, in a detection duration, a signal-to-noise ratio of an out-of-band optical signal corresponding to at least one optical signal from the plurality of optical signals.

[0050] A control component configured to perform the method in any one of the first aspect.

[0051] In a possible implementation, the plurality of optical signals are a plurality of reverse combined optical signals received from the first device; and the switch is configured to receive the plurality of reverse combined optical signals and select and output a current reverse combined optical signal.

[0052] The device further includes:

[0053] The combiner is configured to filter the current reverse combined optical signal output by the switch to obtain a corresponding reverse in-band optical signal and a reverse out-of-band optical signal, output the reverse out-of-band optical signal to the detection component, and output the reverse in-band optical signal to the second device.

[0054] The combiner is further configured to receive a forward in-band optical signal output by the second device and a forward out-of-band optical signal output by the detection component, and combine the forward in-band optical signal and the forward out-of-band optical signal to obtain a forward combined optical signal.

[0055] The first splitter is configured to receive the forward combined optical signal output by the combiner, split the forward combined optical signal to obtain a corresponding main forward combined optical signal and a backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device.

[0056] In a possible implementation, the plurality of optical signals include a plurality of reverse in-band optical signals output by a plurality of first filters; and the switch is configured to receive the plurality of reverse in-band optical signals, select a current reverse in-band optical signal from the plurality of reverse in-band optical signals, and output the current reverse in-band optical signal.

[0057] The device further includes the plurality of first filters.

[0058] The first filter is configured to receive a reverse combined optical signal output by the first device, split the reverse combined optical signal to obtain a corresponding reverse in-band optical signal and a reverse out-of-band optical signal, output the reverse in-band optical signal to the switch, and output the reverse out-of-band optical signal to the detection component, the reverse combined optical signal being a main reverse combined optical signal or a backup reverse combined optical signal.

[0059] In a possible implementation, the first filter is an adjustable filter, and the adjustable filter is configured to adjust a detection frequency point of the reverse out-of-band optical signal, the reverse out-of-band optical signal being a main reverse out-of-band optical signal or a backup reverse out-of-band optical signal.

[0060] In a possible implementation, the device further includes:

[0061] The second optical splitter is configured to receive the forward in-band optical signal output by the combining / splitting device and the forward out-of-band optical signal output by the detection component, perform combining and splitting on the forward in-band optical signal and the forward out-of-band optical signal, obtain corresponding main forward combined optical signal and backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device.

[0062] In a third aspect, the embodiments of the present disclosure provide a control component, comprising:

[0063] at least one processor; and

[0064] a memory in communication with the at least one processor;

[0065] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the control component to perform the method of any one of the first aspect.

[0066] In a fourth aspect, the embodiments of the present disclosure provide an optical transmission system, comprising a plurality of protection switching devices according to any one of the second aspect.

[0067] In a fifth aspect, the embodiments of the present disclosure provide a computer readable storage medium, which stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the method of any one of the first aspect.

[0068] In a sixth aspect, the embodiments of the present disclosure provide a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the method of any one of the first aspect.

[0069] The embodiments of the present disclosure provide a protection switching method and device for optical signals, a storage medium and a program product. The out-of-band optical signal signal-to-noise ratio of at least one optical signal in a plurality of optical signals within a detection time length can be acquired, and the current optical signal output by the switching switch is switched to a target optical signal according to the out-of-band optical signal signal-to-noise ratio of the at least one optical signal. Since the out-of-band optical signal signal-to-noise ratio can better represent the transmission performance of the optical signals transmitted by different transmission links than the optical power of the out-of-band optical signal, the switching switch can select the optical signal with better transmission performance by performing switching processing on the switching switch according to the out-of-band optical signal signal-to-noise ratio, thereby improving the reliability of the optical transmission system. BRIEF DESCRIPTION OF DRAWINGS

[0070] The accompanying drawings, which are included to provide a further understanding of the present disclosure and constitute a part of the present disclosure, illustrate the exemplary embodiments of the present disclosure and serve to explain the present disclosure, but do not limit the present disclosure in any way. In the drawings:

[0071] FIG. 1 is a schematic diagram of an architecture of a DWDM optical transmission system in the related art;

[0072] FIG. 2 is a schematic diagram of an application scenario provided by an exemplary embodiment of the present disclosure;

[0073] FIG. 3 is a schematic diagram of a method for protection switching of an optical signal provided by an exemplary embodiment of the present disclosure;

[0074] FIG. 4 is a schematic diagram of another method for protection switching of an optical signal provided by an exemplary embodiment of the present disclosure;

[0075] FIG. 5 is a schematic diagram of still another method for protection switching of an optical signal provided by an exemplary embodiment of the present disclosure;

[0076] FIG. 6 is a schematic diagram of a protection switching device provided by an exemplary embodiment of the present disclosure;

[0077] FIG. 7 is a schematic diagram of another protection switching device provided by an exemplary embodiment of the present disclosure;

[0078] FIG. 8 is a schematic diagram of still another protection switching device provided by an exemplary embodiment of the present disclosure;

[0079] FIG. 9 is a schematic diagram of yet another protection switching device provided by an exemplary embodiment of the present disclosure;

[0080] FIG. 10 is a schematic diagram of still another protection switching device provided by an exemplary embodiment of the present disclosure;

[0081] FIG. 11 is a schematic diagram of a control component provided by an exemplary embodiment of the present disclosure;

[0082] FIG. 12 is a schematic diagram of an optical transmission system provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0083] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present disclosure are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of the relevant data need to comply with relevant laws, regulations and standards, and provide corresponding operation portal for the user to choose authorization or rejection.

[0084] To make the objectives, technical solutions, and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be described below in conjunction with the specific embodiments of the present disclosure and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present disclosure.

[0085] In the following, in order to facilitate understanding of the technical solutions of the present disclosure, the concepts involved in the present disclosure are first explained.

[0086] DWDM system: used for optical communication. In the DWDM system, multiple optical signals of different wavelengths can be transmitted in one optical fiber at the same time, thereby greatly improving the transmission capacity of the optical fiber.

[0087] OLP switch: an important device in the DWDM system. The main function is to realize the rapid switching of the main path combined optical signal and the backup path combined optical signal to cope with transmission link failure or reconfiguration of the transmission link.

[0088] Optical multiplexer and demultiplexer (OMD): an optical device that plays an important role in the field of optical communication. The multiplexer and demultiplexer can perform combined wave processing and wave separation processing on optical signals.

[0089] Photodiode (PD) detection assembly: used for detecting the power of the out-of-band optical signal.

[0090] In the following, related technologies are described in detail in combination with FIG. 1.

[0091] FIG. 1 is a schematic diagram of the architecture of the DWDM optical transmission system in the related art. Please refer to FIG. 1. The DWDM optical transmission system can include a protection switching device A, a protection switching device B, a main path transmission link, and a backup path transmission link.

[0092] The protection switching device A can be an optical signal sending end, and the protection switching device B can be an optical signal receiving end, or vice versa. It should be noted that for the receiving end, the transmitted optical signal is a forward optical signal, and the received optical signal is a reverse optical signal.

[0093] The protection switching device A can include a multiplexer and a OLP switch. The OLP switch can include an optical component, a 1*2 optical splitter-1, a 1*2 optical splitter-2, a 1*2 switch-1, a filter 1-1, a filter 1-2, a filter 1-3, a filter 1-4, a PD detection assembly 1-1, and a PD detection assembly 1-2.

[0094] For any 1*2 optical splitter, the 1*2 optical splitter can receive one optical signal and perform optical splitting processing on the one optical signal to obtain two optical signals.

[0095] The optical component can generate a forward out-of-band optical signal and output the forward out-of-band optical signal to the 1*2 optical splitter-1. The 1*2 optical splitter-1 can split the forward out-of-band optical signal to obtain a main path forward out-of-band optical signal and a backup path forward out-of-band optical signal, and output the main path forward out-of-band optical signal to the filter 1-1 and output the backup path forward out-of-band optical signal to the filter 1-2. The out-of-band optical signal refers to an optical signal outside a preset wavelength range corresponding to the optical transmission system.

[0096] The combining and splitting filter can output the forward in-band optical signal to the 1*2 optical splitter-2. The 1*2 optical splitter-2 can split the forward in-band optical signal to obtain a main path forward in-band optical signal and a backup path forward in-band optical signal, and output the main path forward in-band optical signal to the filter 1-1 and output the backup path forward in-band optical signal to the filter 1-2. The in-band optical signal refers to an optical signal within a preset wavelength range corresponding to the optical transmission system.

[0097] The filter 1-1 can receive the main path forward out-of-band optical signal and the main path forward in-band optical signal, and combine the main path forward out-of-band optical signal and the main path forward in-band optical signal to obtain a main path forward combined optical signal. The filter 1-1 can output the main path forward combined optical signal to the main path transmission link.

[0098] The filter 1-2 can receive the backup path forward out-of-band optical signal and the backup path forward in-band optical signal, and combine the backup path forward out-of-band optical signal and the backup path forward in-band optical signal to obtain a backup path forward combined optical signal. The filter 1-2 can output the backup path forward combined optical signal to the backup path transmission link.

[0099] The filter 1-3 can receive the main path reverse combined optical signal transmitted by the main path transmission link, and split the main path reverse combined optical signal to obtain a main path reverse out-of-band optical signal and a main path reverse in-band optical signal, and output the main path reverse out-of-band optical signal to the PD detection component 1-1 and output the main path reverse in-band optical signal to the 1*2 switch-1.

[0100] The filter 1-4 can receive the backup path reverse combined optical signal transmitted by the backup path transmission link, and split the backup path reverse combined optical signal to obtain a backup path reverse out-of-band optical signal and a backup path reverse in-band optical signal, and output the backup path reverse out-of-band optical signal to the PD detection component 1-2 and output the backup path reverse in-band optical signal to the 1*2 switch-1.

[0101] The 1*2 switch-1 can receive the main path reverse in-band optical signal and the backup path reverse in-band optical signal, and select one of the reverse in-band optical signals to output.

[0102] The PD detection assembly 1-1 can receive the main-path out-of-band optical signal and detect the out-of-band optical signal power of the main-path out-of-band optical signal; and the PD detection assembly 1-2 can receive the backup-path out-of-band optical signal and detect the out-of-band optical signal power of the backup-path out-of-band optical signal.

[0103] The protection switching device A can perform switching processing on the 1*2 switch-1 according to the out-of-band optical signal power of the main-path out-of-band optical signal and the out-of-band optical signal power of the backup-path out-of-band optical signal, so that the 1*2 switch-1 selects to output the main-path reverse in-band optical signal or the backup-path reverse in-band optical signal.

[0104] The protection switching device B has the same structure as the protection switching device A, and will not be described here.

[0105] The power amplifier (BA), the pre-amplifier (PA), and the line amplifier (LA) can be arranged on the main-path transmission link and the backup-path transmission link.

[0106] In the related art shown in FIG. 1, since the out-of-band optical signal is relatively stable and is not affected by the increase or decrease of the in-band optical signal channel, but is affected by the loss change of the transmission link, the switching processing can be performed on the switching switch (i.e., the 1*2 switch-1 or the 1*2 switch-2) of the receiving end based on the out-of-band optical signal power detected by the receiving end. However, since the losses of the main-path transmission link and the backup-path transmission link are different, the transmission performance of the main-path transmission link is different from that of the backup-path transmission link, and the power degradation at different positions in the main-path transmission link or the backup-path transmission link also affects the transmission performance differently. The optical power is used to represent the energy intensity of the optical signal, and when the optical power is large, the transmission performance is not necessarily good. Therefore, the protection switching based on the optical power leads to low reliability of the optical transmission system.

[0107] Next, the application scenario of the present disclosure will be described in combination with FIG. 2.

[0108] FIG. 2 is a schematic diagram of an application scenario provided by an exemplary embodiment of the present disclosure. Referring to FIG. 2, the protection switching device can include a multiplexer / demultiplexer and an OLP switch. The OLP switch can include a switching switch.

[0109] The switching switch can receive the optical signal 1 and the optical signal 2, and select one of the optical signals to be transmitted to the multiplexer / demultiplexer. It is assumed that at present, the switching switch can select the optical signal 1 to be transmitted from the optical signal 1 and the optical signal 2.

[0110] If the protection switching device determines that the out-of-band optical signal signal-to-noise ratio corresponding to the optical signal 2 is better than the out-of-band optical signal signal-to-noise ratio corresponding to the optical signal 1, the switching switch can be switched to switch the optical signal 1 currently selected by the switching switch to the optical signal 2 to transmit the optical signal 2.

[0111] In the embodiments of the present disclosure, the out-of-band optical signal signal-to-noise ratio corresponding to at least one of the plurality of optical signals can be obtained, and the switching switch can be switched according to the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal to switch the current optical signal transmitted by the switching switch to the target optical signal. Since the out-of-band optical signal signal-to-noise ratio can better represent the transmission performance of the optical signal transmitted by different transmission links than the optical power of the out-of-band optical signal, switching the switching switch according to the out-of-band optical signal signal-to-noise ratio can make the switching switch select the optical signal with better transmission performance, thereby improving the reliability of the optical transmission system.

[0112] The technical solutions shown in the present disclosure will be described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination. For the same or similar content, the description will not be repeated in different embodiments.

[0113] The execution subject of the embodiments of the present disclosure can be a protection switching device or a control component provided in the protection switching device. The control component can be implemented by software or by a combination of software and hardware. The control component can be a processor in the protection switching device. For ease of understanding, the execution subject will be taken as the control component in the following description.

[0114] FIG. 3 is a flowchart of a method for protecting and switching an optical signal according to an exemplary embodiment of the present disclosure. Referring to FIG. 3, the method can include:

[0115] S301, obtaining an out-of-band optical signal signal-to-noise ratio corresponding to at least one of a plurality of optical signals within a detection time length.

[0116] Optionally, the detection time length can be artificially preset. For example, the detection time length can be 10 ms.

[0117] The protection switching device can include a control component and a switching switch. The switching switch can be configured to receive a plurality of optical signals and select one optical signal from the plurality of optical signals for output.

[0118] The at least one optical signal is in the plurality of optical signals. The at least one optical signal can include a current optical signal and a target optical signal, or the at least one optical signal can be the current optical signal. The current optical signal can be an optical signal currently selected by the switching switch for output, and the target optical signal can be an optical signal currently not selected by the switching switch for output.

[0119] Optionally, the current optical signal can be a main-path optical signal or a backup-path optical signal. If the current optical signal is the main-path optical signal, the target optical signal is the backup-path optical signal; if the current optical signal is the backup-path optical signal, the target optical signal is the main-path optical signal.

[0120] The out-of-band optical signal SNR can be the SNR of the out-of-band optical signal corresponding to the optical signal. The out-of-band optical signal can be a signal outside the preset wavelength range corresponding to the optical transmission system. The unit of the SNR can be dB (decibel).

[0121] Optionally, the protection switching device can include a detection component. The detection component can be used to detect the out-of-band optical signal SNR of the at least one optical signal within the detection duration.

[0122] Optionally, the detection component can be a coherent light component. The detection component can output one out-of-band optical signal or receive another out-of-band optical signal, and detect the other out-of-band optical signal to obtain the out-of-band optical signal SNR.

[0123] For any one optical signal, the out-of-band optical signal SNR corresponding to the optical signal can include at least one out-of-band optical signal SNR obtained by at least one detection operation within the detection duration.

[0124] Since the at least one optical signal can include the current optical signal and the target optical signal, or the at least one optical signal can be the current optical signal, accordingly, obtaining the out-of-band optical signal SNR corresponding to the at least one optical signal can include the following two cases:

[0125] Case 1: The at least one optical signal includes the current optical signal and the target optical signal.

[0126] Optionally, the protection switching device can further include a plurality of first filters. For any one first filter, the first filter can be used to receive the combined optical signal and divide the received combined optical signal into an in-band optical signal and an out-of-band optical signal; the plurality of optical signals received by the switching switch include the in-band optical signals output by the plurality of first filters.

[0127] In this case, the current optical signal included in the at least one optical signal is a current in-band optical signal, and the target optical signal is a target in-band optical signal.

[0128] The in-band optical signal is an optical signal within the preset wavelength range corresponding to the optical transmission system.

[0129] The current in-band optical signal is an in-band optical signal currently selected by the switching switch in the protection switching device in the optical transmission system; the target in-band optical signal is an in-band optical signal currently not selected by the switching switch.

[0130] For any one in-band optical signal, the in-band optical signal has a corresponding out-of-band optical signal. The out-of-band optical signal signal-to-noise ratio is the signal-to-noise ratio obtained by detecting the out-of-band optical signal, that is, the signal-to-noise ratio obtained by detecting the corresponding transmission link based on the out-of-band optical signal.

[0131] In this case, the detection component can detect at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal, and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal, and the control component can obtain at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal, and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal.

[0132] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the control component can obtain one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal and one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal detected by the detection component within 10 ms according to the detection frequency. Assuming that the first out-of-band optical signal signal-to-noise ratio is 10 dB and the second out-of-band optical signal signal-to-noise ratio is 20 dB.

[0133] Case 2: The at least one optical signal can be a current optical signal.

[0134] In this case, the current optical signal can be a current combined optical signal. In this case, the detection component can detect at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal. The control component can obtain at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal.

[0135] For the current combined optical signal, the current combined optical signal can be filtered to obtain a current in-band optical signal and a current out-of-band optical signal. The at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal is at least one signal-to-noise ratio of the current out-of-band optical signal obtained after the current combined optical signal is filtered, that is, at least one signal-to-noise ratio obtained by detecting the corresponding transmission link based on the out-of-band optical signal.

[0136] If the current combined optical signal is a main path combined optical signal, the at least one out-of-band optical signal signal-to-noise ratio is at least one signal-to-noise ratio of a main path out-of-band optical signal obtained after the main path combined optical signal is filtered; if the current combined optical signal is a backup path combined optical signal, the at least one out-of-band optical signal signal-to-noise ratio is at least one signal-to-noise ratio of a backup path out-of-band optical signal obtained after the backup path combined optical signal is filtered.

[0137] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the control component can obtain 1 out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal detected by the detection component at the detection frequency within 10 ms. Assuming that the out-of-band optical signal signal-to-noise ratio is 12 dB.

[0138] S302, switching the current optical signal output by the switching switch to the target optical signal according to the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal.

[0139] Optionally, when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range, the current optical signal output by the switching switch can be switched to the target optical signal.

[0140] Optionally, for the out-of-band optical signal signal-to-noise ratio, the out-of-band optical signal signal-to-noise ratio has a corresponding preset range. The preset range can be artificially preset. The preset range can also be referred to as a confidence interval. For example, the preset range corresponding to the out-of-band optical signal signal-to-noise ratio can be [10 dB, 25 dB].

[0141] For any one out-of-band optical signal signal-to-noise ratio, if the out-of-band optical signal signal-to-noise ratio meets the preset range, it means that the out-of-band optical signal signal-to-noise ratio is normal, and the data is reliable and usable; if the out-of-band optical signal signal-to-noise ratio does not meet the preset range, it means that the out-of-band optical signal signal-to-noise ratio is abnormal, and the data is not reliable and usable.

[0142] Since there are 2 cases in step S301, accordingly, according to the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal, the current optical signal received by the switching switch is switched to the target optical signal, there are also 2 cases:

[0143] In the above case 1: the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal includes at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal, and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal.

[0144] Optionally, when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range, the current optical signal output by the switching switch can be switched to the target optical signal. The switching switch can be switched to the target optical signal by the following method: when the at least one first out-of-band optical signal signal-to-noise ratio is less than or equal to the signal-to-noise ratio threshold, and the at least one second out-of-band optical signal signal-to-noise ratio is greater than the signal-to-noise ratio threshold, the switching switch is switched to switch the current in-band optical signal received by the switching switch to the target in-band optical signal.

[0145] The signal-to-noise ratio threshold refers to the minimum signal-to-noise ratio value that the optical transmission system can tolerate in order to ensure reliable optical signal transmission.

[0146] For example, if the signal-to-noise ratio threshold is 15 dB, if the signal-to-noise ratio of the first out-of-band optical signal is 10 dB, and the signal-to-noise ratio of the second out-of-band optical signal is 20 dB, since the signal-to-noise ratio of the first out-of-band optical signal is less than the signal-to-noise ratio threshold, and the signal-to-noise ratio of the second out-of-band optical signal is greater than the signal-to-noise ratio threshold, the current in-band optical signal transmitted by the switching switch can be switched to the target in-band optical signal, that is, if the switching switch currently selects to transmit the main path in-band optical signal, the switching switch can be switched to select to transmit the standby path in-band optical signal; or, if the switching switch currently selects to transmit the standby path in-band optical signal, the switching switch can be switched to select to transmit the main path in-band optical signal.

[0147] In the above case 2: the signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the at least one optical signal is the signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the current combined optical signal.

[0148] In this case, the current optical signal is the current combined optical signal, and therefore the target optical signal is the target combined optical signal.

[0149] The current combined optical signal can be a main path combined optical signal or a standby path combined optical signal. If the current combined optical signal is a main path combined optical signal, the target combined optical signal is a standby path combined optical signal; if the current combined optical signal is a standby path combined optical signal, the target combined optical signal is a main path combined optical signal.

[0150] Alternatively, when the signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the at least one optical signal all meets the corresponding preset range, the current optical signal output by the switching switch can be switched to the target optical signal in the following manner: when the signal-to-noise ratio of the at least one out-of-band optical signal is all less than or equal to the signal-to-noise ratio threshold, the switching switch is switched until the signal-to-noise ratio of the at least one out-of-band optical signal in the current period is all greater than the signal-to-noise ratio threshold, and the switching of the switching switch is stopped, so as to switch the current combined optical signal transmitted by the switching switch to the target combined optical signal.

[0151] In this case, since only the signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the current combined optical signal is obtained, and the signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the target combined optical signal is not obtained, when the signal-to-noise ratio of the at least one out-of-band optical signal is all less than the signal-to-noise ratio threshold, it indicates that the performance of the current combined optical signal is not good, and therefore the switching of the switching switch can be performed, so that the switching switch selects to transmit the target combined optical signal. However, the performance of the target combined optical signal may not be better than that of the current combined optical signal, and therefore if the performance of the target combined optical signal is worse than that of the current combined optical signal, the switching of the switching switch can be continued until the signal-to-noise ratio of the at least one out-of-band optical signal in the current period is all greater than the signal-to-noise ratio threshold, and the switching of the switching switch is stopped.

[0152] For example, if the signal-to-noise ratio threshold is 15 dB, assuming that the signal-to-noise ratio of one out-of-band optical signal corresponding to the current combined optical signal is 12 dB, if the current combined optical signal is the main combined optical signal, since the signal-to-noise ratio of the out-of-band optical signal is less than the signal-to-noise ratio threshold, the first switching processing of the switching switch can be performed, and the main combined optical signal transmitted by the switching switch is switched to the standby combined optical signal. After the first switching, if the signal-to-noise ratio of the out-of-band optical signal corresponding to the standby combined optical signal is still less than the signal-to-noise ratio threshold, the second switching processing of the switching switch can be performed, and the standby combined optical signal transmitted by the switching switch is switched to the main combined optical signal. After the second switching, if the signal-to-noise ratio of the out-of-band optical signal corresponding to the main combined optical signal is still less than the signal-to-noise ratio threshold, the third switching processing of the switching switch can be performed, and the main combined optical signal transmitted by the switching switch is switched to the standby combined optical signal. After the third switching, if the signal-to-noise ratio of the out-of-band optical signal corresponding to the standby combined optical signal is greater than the signal-to-noise ratio threshold, the switching processing of the switching switch can be stopped, and the current combined optical signal transmitted by the switching switch is the standby combined optical signal.

[0153] In the embodiment of the present disclosure, the signal-to-noise ratio of the out-of-band optical signal corresponding to at least one of the plurality of optical signals in the detection duration can be acquired, and the current optical signal output by the switching switch is switched to the target optical signal according to the signal-to-noise ratio of the out-of-band optical signal corresponding to the at least one optical signal. Since the signal-to-noise ratio of the out-of-band optical signal can better represent the transmission performance of the optical signal transmitted by different transmission links than the optical power of the out-of-band optical signal, the switching switch can select the optical signal with better transmission performance by performing the switching processing according to the signal-to-noise ratio of the out-of-band optical signal, thereby improving the reliability of the optical transmission system.

[0154] Next, based on the embodiment of FIG. 3, the case 1 (i.e., the at least one optical signal includes the current optical signal and the target optical signal) is described in detail in combination with FIG. 4, and the case 2 (i.e., the at least one optical signal is the current optical signal) is described in detail in combination with FIG. 5.

[0155] FIG. 4 is a flowchart of another method for protecting switching of optical signals provided by an exemplary embodiment of the present disclosure. Referring to FIG. 4, the method can include:

[0156] S401, determining a signal-to-noise ratio threshold for protecting switching of the current optical signal and the target optical signal.

[0157] Since the embodiment of FIG. 4 is a further description of case 1 in the embodiment of FIG. 3, in the embodiment of FIG. 4, the current optical signal is specifically a current in-band optical signal, and the target optical signal is specifically a target in-band optical signal.

[0158] Optionally, the SNR threshold for the protection switching of the current optical signal and the target optical signal can be determined by determining initial SNR margin values of at least one wavelength channel corresponding to the optical transmission system, determining a maximum initial SNR margin value from the initial SNR margin values of the at least one wavelength channel, and determining the SNR threshold as a sum of the maximum initial SNR margin value and an SNR variable.

[0159] Optionally, the optical transmission system can include at least one wavelength channel, and a sub optical signal can be transmitted on any one of the wavelength channels, and the in-band optical signal can include the sub optical signal on the at least one wavelength channel.

[0160] For any one of the wavelength channels, the wavelength channel can have a corresponding initial SNR margin value. Optionally, a maximum initial SNR margin value can be determined from the initial SNR margin values of the at least one wavelength channel. For example, the optical transmission system can include 10 wavelength channels, and it is assumed that the initial SNR margin values corresponding to the 10 wavelength channels are as shown in Table 1:

[0161] Table 1

[0162] It is assumed that the initial SNR margin value corresponding to the wavelength channel 2 is the maximum, and the control component can determine the maximum initial SNR margin value as 10 dB from the 10 initial SNR margin values corresponding to the 10 wavelength channels.

[0163] Optionally, after the maximum initial SNR margin value is determined, the SNR threshold can be determined as a sum of the maximum initial SNR margin value and an SNR variable.

[0164] The SNR variable can be artificially preset according to experience. For example, the SNR variable can be 5 dB.

[0165] Optionally, if the SNR variable can be represented by SNR Δ , the SNR threshold can be represented by SNR th , and SNR th can be represented by the following formula (1): th = max([SNR limit-i ])+SNR Δ Formula (1)

[0166] wherein SNR limit-i represents an initial SNR margin value corresponding to the i-th wavelength channel, and max() represents a maximum value operation.

[0167] For example, if the maximum initial SNR margin value is 10 dB and the SNR variable is 5 dB, the SNR threshold can be determined as 15 dB.

[0168] S402, acquire the out-of-band optical signal signal-to-noise ratio corresponding to at least one of the plurality of optical signals in the detection duration, the at least one optical signal including the current in-band optical signal and the target in-band optical signal.

[0169] Since the at least one optical signal includes the current optical signal and the target optical signal, the current optical signal is specifically the current in-band optical signal, and the target optical signal is specifically the target in-band optical signal, that is, the at least one optical signal can include the current in-band optical signal and the target in-band optical signal, and therefore the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal can include at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal.

[0170] For any one optical signal (i.e., the current in-band optical signal or the target in-band optical signal), the out-of-band optical signal signal-to-noise ratio corresponding to the optical signal in the detection duration can be acquired by: acquiring the out-of-band optical signal bit error rate corresponding to the optical signal in the detection duration; and converting the out-of-band optical signal bit error rate to obtain the out-of-band optical signal signal-to-noise ratio.

[0171] The out-of-band optical signal bit error rate refers to the probability of error bits of the out-of-band optical signal in the transmission process.

[0172] Optionally, the out-of-band optical signal bit error rate can be converted to obtain the out-of-band optical signal signal-to-noise ratio by using the following formula (2):

[0173] wherein, SNR Delivered represents the out-of-band optical signal signal-to-noise ratio; SNR 00b-BTB represents the internal signal-to-noise ratio of the detection component in the protection switching device itself under the target modulation mode; SNR 00b represents the initial actual signal-to-noise ratio detected by the detection component, SNR 00b =f(BER), BER is the out-of-band optical bit error rate, and f represents the functional relationship between the out-of-band optical bit error rate and SNR 00b .

[0174] It should be noted that the functional relationship f between the out-of-band optical bit error rate BER and the initial actual signal-to-noise ratio SNR 00b may be different under different modulation modes. In the present disclosure, the functional relationship f under the target modulation mode can be selected.

[0175] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the detection component can detect, within 10 ms, a first out-of-band optical signal bit error rate corresponding to the current in-band optical signal and an internal signal-to-noise ratio generated by the detection component itself according to the detection frequency. The control component can calculate a first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal according to the above formula (2), and assume that the first out-of-band optical signal signal-to-noise ratio is 10 dB.

[0176] For the target in-band optical signal, the detection component can detect, within 10 ms, a second out-of-band optical signal bit error rate corresponding to the target in-band optical signal and an internal signal-to-noise ratio generated by the detection component itself according to the detection frequency. The control component can calculate a second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal according to the formula (2), and assume that the second out-of-band optical signal signal-to-noise ratio is 20 dB.

[0177] In another optional embodiment, if a digital signal processor (DSP) is included in the detection component, the out-of-band optical signal signal-to-noise ratio can be estimated by the DSP in the detection component to detect the signal constellation diagram; or the out-of-band optical signal signal-to-noise ratio can also be calculated based on the optical signal power of the signal transmission channel and the noise power of the noise transmission channel in the optical transmission system. Specifically, the ratio of the optical signal power of the signal transmission channel to the noise power of the noise transmission channel can be determined as the out-of-band optical signal signal-to-noise ratio.

[0178] S403, determine whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range.

[0179] Since the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal can include at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal, whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range means that the at least one first out-of-band optical signal signal-to-noise ratio meets the corresponding preset range and the at least one second out-of-band optical signal signal-to-noise ratio meets the corresponding preset range.

[0180] If the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range, step S404 can be performed; if any out-of-band optical signal signal-to-noise ratio does not meet the corresponding preset range, steps S405-S411 can be performed.

[0181] S404. When the signal-to-noise ratios of the at least one first out-of-band optical signal are all less than or equal to the signal-to-noise ratio threshold and the signal-to-noise ratios of the at least one second out-of-band optical signal are all greater than the signal-to-noise ratio threshold, performing switching processing on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal.

[0182] When the link transmission performance in the optical transmission system is good, the SNR Delivered should be greater than the SNR th . Therefore, when the SNR Delivered is less than or equal to the SNR th , it indicates that the link has poor transmission performance for the optical signal, and protection switching should be performed, that is, when the signal-to-noise ratios of the at least one first out-of-band optical signal are all less than or equal to the signal-to-noise ratio threshold and the signal-to-noise ratios of the at least one second out-of-band optical signal are all greater than the signal-to-noise ratio threshold, performing switching processing on the switching switch to switch the current in-band optical signal received by the switching switch to the target in-band optical signal.

[0183] It should be noted that the switching processing on the switching switch is performed when the signal-to-noise ratios of the at least one first out-of-band optical signal are all less than or equal to the signal-to-noise ratio threshold and the signal-to-noise ratios of the at least one second out-of-band optical signal are all greater than the signal-to-noise ratio threshold. That is, if there is part of the signal-to-noise ratios of the at least one first out-of-band optical signal greater than the signal-to-noise ratio threshold, or part of the signal-to-noise ratios of the second out-of-band optical signal less than the signal-to-noise ratio threshold, the switching processing on the switching switch is not performed. This is to avoid false switching processing and also to avoid frequent switching processing.

[0184] The switching processing on the switching switch is to switch the current in-band optical signal received by the switching switch to the target in-band optical signal.

[0185] For example, if the signal-to-noise ratio threshold is 15 dB, if the signal-to-noise ratio of the first out-of-band optical signal is 10 dB and the signal-to-noise ratio of the second out-of-band optical signal is 20 dB, since the signal-to-noise ratio of the first out-of-band optical signal is less than the signal-to-noise ratio threshold and the signal-to-noise ratio of the second out-of-band optical signal is greater than the signal-to-noise ratio threshold, the current in-band optical signal transmitted by the switching switch can be switched to the target in-band optical signal, that is, if the switching switch currently selects to transmit the main in-band optical signal, the switching switch can be switched to select to transmit the standby in-band optical signal; or, if the switching switch currently selects to transmit the standby in-band optical signal, the switching switch can be switched to select to transmit the main in-band optical signal.

[0186] Optionally, if there is a part of the at least one first out-of-band optical signal signal-to-noise ratio greater than the signal-to-noise ratio threshold, or a part of the second out-of-band optical signal signal-to-noise ratio less than the signal-to-noise ratio threshold, the detection can continue until the at least one first out-of-band optical signal signal-to-noise ratio detected continuously is all less than or equal to the signal-to-noise ratio threshold, and the at least one second out-of-band optical signal signal-to-noise ratio detected continuously is all greater than the signal-to-noise ratio threshold, and then the switching of the switch is performed to switch the in-band optical signal received by the switch.

[0187] S405, determine an out-of-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0188] Optionally, the out-of-band optical signal power threshold can be artificially preset. For example, the out-of-band optical signal power threshold is -30dBm.

[0189] S406, obtain at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal within a detection duration.

[0190] The first out-of-band optical signal power can be the power of the out-of-band optical signal corresponding to the current in-band optical signal, and the second out-of-band optical signal power can be the power of the out-of-band optical signal corresponding to the target in-band optical signal.

[0191] The unit of the optical signal power can be expressed by decibel-milliwatt (dBm).

[0192] For example, if the detection duration is 10ms and the detection frequency is 1 time / 10ms, then within 10ms, 1 first out-of-band optical signal power corresponding to the current in-band optical signal and 1 second out-of-band optical signal power corresponding to the target in-band optical signal can be obtained according to the detection frequency. Assuming that the first out-of-band optical signal power is -32dBm and the second out-of-band optical signal power is -20dBm.

[0193] S407, determine whether the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power both conform to corresponding preset ranges.

[0194] Optionally, for the out-of-band optical signal power, the out-of-band optical signal power can have a corresponding preset range. For example, the preset range corresponding to the out-of-band optical signal power can be [-50dBm, 0dBm].

[0195] It should be noted that the preset range corresponding to the at least one first out-of-band optical signal power and the preset range corresponding to the at least one second out-of-band optical signal power can be the same.

[0196] If both the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power meet the corresponding preset range, step S408 can be performed; if any out-of-band optical signal power (i.e. any first out-of-band optical signal power or any second out-of-band optical signal power) does not meet the corresponding preset range, steps S409-S411 can be performed.

[0197] S408, switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power.

[0198] Optionally, the current in-band optical signal output by the switching switch can be switched to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power in the following manner: when all the at least one first out-of-band optical signal power is less than or equal to the out-of-band optical signal power threshold and all the at least one second out-of-band optical signal power is greater than the out-of-band optical signal power threshold, the switching switch is switched to switch the current in-band optical signal received by the switching switch to the target in-band optical signal.

[0199] For example, if the out-of-band optical signal power threshold is -30dBm, if the first out-of-band optical signal power is -32dBm and the second out-of-band optical signal power is -20dBm, since the first out-of-band optical signal power is less than or equal to the out-of-band optical signal power threshold and the second out-of-band optical signal power is greater than the out-of-band optical signal power threshold, the switching switch is switched to switch the current in-band optical signal received by the switching switch to the target in-band optical signal, i.e. if the switching switch currently selects to transmit the main path in-band optical signal, the switching switch is switched to select to transmit the standby path in-band optical signal; or, if the switching switch currently selects to transmit the standby path in-band optical signal, the switching switch is switched to select to transmit the main path in-band optical signal.

[0200] Optionally, if there is part of the at least one first out-of-band optical signal power greater than the out-of-band optical signal power threshold or part of the second out-of-band optical signal power less than the power threshold, detection can continue until all the at least one first out-of-band optical signal power detected continuously is less than or equal to the power threshold and all the at least one second out-of-band optical signal power detected continuously is greater than the power threshold, and then the switching switch is switched to switch the in-band optical signal output by the switching switch.

[0201] In the present disclosure, when the signal-to-noise ratio of any out-of-band optical signal does not meet the corresponding preset range, i.e., the switching of the switching switch cannot be processed according to the signal-to-noise ratio of the out-of-band optical signal, a backup scheme can be used as a fallback, i.e., the switching of the switching switch is processed according to at least one out-of-band optical signal power, the reliability of the switching of the switching switch is improved, and the reliability of the optical transmission system is further improved.

[0202] S409, determining an in-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0203] Optionally, the in-band optical signal power threshold can be artificially preset. For example, the in-band optical signal power threshold is 5 dBm.

[0204] S410, obtaining at least one in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within a detection duration.

[0205] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, one first in-band optical signal power corresponding to the current in-band optical signal and one second in-band optical signal power corresponding to the target in-band optical signal can be obtained within 10 ms according to the detection frequency. Assuming that the first in-band optical signal power is 3 dBm and the second in-band optical signal power is 6 dBm.

[0206] S411, switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power.

[0207] Optionally, the current in-band optical signal output by the switching switch can be switched to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power in the following manner: when the at least one first in-band optical signal power is all less than or equal to the in-band optical signal power threshold and the at least one second in-band optical signal power is all greater than the in-band optical signal power threshold, the switching switch is switched to switch the current in-band optical signal output by the switching switch to the target in-band optical signal.

[0208] For example, if the in-band optical signal power threshold is 5 dBm, if the first in-band optical signal power is 3 dBm and the second in-band optical signal power is 6 dBm, since the first in-band optical signal power is less than or equal to the in-band optical signal power threshold and the second in-band optical signal power is greater than the in-band optical signal power threshold, the switching of the switch can be processed to switch the current in-band optical signal received by the switch to the target in-band optical signal, that is, if the switch currently selects the output of the main in-band optical signal, the switch can be switched to select the output of the standby in-band optical signal; or, if the switch currently selects the output of the standby in-band optical signal, the switch can be switched to select the transmission of the main in-band optical signal.

[0209] Optionally, if there is part of the at least one first in-band optical signal power greater than the in-band optical signal power threshold, or part of the second in-band optical signal power less than the in-band optical signal power threshold, the detection can be continued until the at least one first in-band optical signal power detected continuously is less than or equal to the in-band optical signal power threshold and the at least one second in-band optical signal power detected continuously is greater than the in-band optical signal power threshold, and then the switching of the switch is processed to switch the in-band optical signal received by the switch.

[0210] In the present disclosure, when any out-of-band optical signal power does not meet the corresponding preset range, that is, the switching of the switch cannot be processed according to the out-of-band optical signal power, a backup scheme can be used as a substitute, that is, the switching of the switch is processed according to the at least one in-band optical signal power, the reliability of the switching of the switch is improved, and the reliability of the optical transmission system is improved.

[0211] It should be noted that the various processing steps (S401-S411) shown in the embodiment of FIG. 4 do not constitute a specific limitation on the protection switching process of the optical signal. In other embodiments of the present disclosure, the protection switching process of the optical signal can include more or fewer steps than the embodiment of FIG. 4. For example, the protection switching process of the optical signal can include part of the steps in the embodiment of FIG. 4, or some steps in the embodiment of FIG. 4 can be replaced by steps with the same function, or some steps in the embodiment of FIG. 4 can be split into multiple steps, etc.

[0212] In the embodiments of the present disclosure, the control component can determine a signal-to-noise ratio threshold for protection switching of the current optical signal and the target optical signal, and obtain the out-of-band optical signal signal-to-noise ratios corresponding to at least one optical signal in the plurality of optical signals within the detection duration, the at least one optical signal including the current optical in-band signal and the target optical in-band signal. The control component can determine whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range. If yes, when the at least one first out-of-band optical signal signal-to-noise ratio is less than or equal to the signal-to-noise ratio threshold, and the at least one second out-of-band optical signal signal-to-noise ratio is greater than the signal-to-noise ratio threshold, the control component can perform switching processing on the switching switch to switch the current optical in-band signal output by the switching switch to the target optical in-band signal. If not, the control component can determine an out-of-band optical signal power threshold for protection switching of the current optical in-band signal and the target optical in-band signal, and obtain at least one first out-of-band optical signal power corresponding to the current optical in-band signal and at least one second out-of-band optical signal power corresponding to the target optical in-band signal within the detection duration. The control component can determine whether the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power meet the corresponding preset range. If yes, the control component can switch the current optical in-band signal output by the switching switch to the target optical in-band signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power. If not, the control component can determine an optical in-band signal power threshold for protection switching of the current optical in-band signal and the target optical in-band signal, and obtain at least one first optical in-band signal power corresponding to the current optical in-band signal and at least one second optical in-band signal power corresponding to the target optical in-band signal within the detection duration, and switch the current optical in-band signal output by the switching switch to the target optical in-band signal according to the at least one first optical in-band signal power and the at least one second optical in-band signal power. On the one hand, since the out-of-band optical signal signal-to-noise ratio can better represent the transmission performance of the optical signal transmitted by different transmission links than the out-of-band optical signal power, the switching switch can be switched according to the out-of-band optical signal signal-to-noise ratio, so that the switching switch selects the optical signal with better transmission performance, thereby improving the reliability of the optical transmission system. On the other hand, when the at least one out-of-band optical signal signal-to-noise ratio does not meet the corresponding preset range, the switching switch can be switched according to the at least one out-of-band optical signal power. Furthermore, when the at least one out-of-band optical power does not meet the corresponding preset range, the switching switch can be switched according to the at least one optical in-band signal power, thereby further improving the reliability of the optical transmission system. In summary, the technical solutions of the present disclosure improve the reliability of the optical transmission system.

[0213] Optionally, based on the embodiment of FIG. 4, the disclosure further provides a protection switching method of an optical signal, comprising: determining a signal-to-noise ratio threshold for protection switching of a current in-band optical signal and a target in-band optical signal; obtaining signal-to-noise ratios of at least one out-of-band optical signal corresponding to at least one optical signal in a plurality of optical signals within a detection duration, the at least one optical signal comprising the current in-band optical signal and the target in-band optical signal; determining whether the at least one signal-to-noise ratio of the at least one out-of-band optical signal corresponding to the at least one optical signal meets a corresponding preset range. If yes, when the at least one first signal-to-noise ratio of the at least one out-of-band optical signal is less than or equal to the signal-to-noise ratio threshold, and the at least one second signal-to-noise ratio of the at least one out-of-band optical signal is greater than the signal-to-noise ratio threshold, performing switching processing on a switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal; if not, obtaining at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal within the detection duration, and switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power; or, obtaining at least one first in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration, and switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power.

[0214] The protection switching method differs from the embodiment of FIG. 4 in that obtaining at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal within the detection duration and obtaining at least one first in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration are parallel schemes, both of which can be executed in the case that any signal-to-noise ratio of the out-of-band optical signal does not meet the corresponding preset range, and the specific execution mode can refer to the related content in the embodiment of FIG. 4, which will not be described here in detail.

[0215] Alternatively, since the out-of-band optical signal signal-to-noise ratio and the out-of-band optical signal bit error rate can be converted into each other through formula (2), based on the above-mentioned embodiment of FIG. 4, the present disclosure also provides a protection switching method of an optical signal, comprising: determining a bit error rate threshold for protection switching of a current in-band optical signal and a target in-band optical signal; obtaining a bit error rate of at least one out-of-band optical signal corresponding to at least one optical signal in a plurality of optical signals within a detection time length, the at least one optical signal comprising the current in-band optical signal and the target in-band optical signal; determining whether the at least one bit error rate of the at least one out-of-band optical signal corresponding to the at least one optical signal meets a corresponding preset range. If yes, when the at least one first out-of-band optical signal bit error rate is less than or equal to the bit error rate threshold and the at least one second out-of-band optical signal bit error rate is greater than the bit error rate threshold, performing switching processing on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal; if not, obtaining at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal within the detection time length, and switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power; or, obtaining at least one first in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection time length, and switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power.

[0216] Alternatively, after determining the signal-to-noise ratio threshold through formula (1) in the embodiment of FIG. 4, the signal-to-noise ratio threshold can be converted through formula (2) to obtain the bit error rate threshold.

[0217] FIG. 5 is a flowchart of another protection switching method of an optical signal according to an exemplary embodiment of the present disclosure. As shown in FIG. 5, the method can comprise:

[0218] S501, determining a signal-to-noise ratio threshold for protection switching of a current optical signal and a target optical signal.

[0219] Since the embodiment of FIG. 5 is a further description of case 2 in the embodiment of FIG. 3, in the embodiment of FIG. 5, the current optical signal is specifically a current combined optical signal, and the target optical signal is specifically a target combined optical signal.

[0220] It should be noted that the execution process of step S501 can refer to step S401, which will not be described here again.

[0221] S502, obtaining at least one out-of-band optical signal signal-to-noise ratio corresponding to at least one optical signal in a plurality of optical signals within a detection time length, the at least one optical signal being the current combined optical signal.

[0222] Since the at least one optical signal is the current optical signal, and the current optical signal is specifically the current combined optical signal, the at least one out-of-band optical signal signal-to-noise ratio is the at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal.

[0223] The at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal is at least one signal-to-noise ratio of a current out-of-band optical signal obtained after filtering of the current combined optical signal, that is, at least one signal-to-noise ratio obtained by detecting the corresponding transmission link based on the out-of-band optical signal.

[0224] Optionally, the out-of-band optical signal signal-to-noise ratio of the optical signal corresponding to the detection duration can be obtained by: obtaining the out-of-band optical signal bit error rate of the optical signal corresponding to the detection duration; and converting the out-of-band optical signal bit error rate to obtain the out-of-band optical signal signal-to-noise ratio.

[0225] Optionally, after obtaining the out-of-band optical signal bit error rate, for any one out-of-band optical bit error rate, the out-of-band optical bit error rate can be converted by the above formula (2) to obtain the corresponding out-of-band optical signal signal-to-noise ratio.

[0226] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the detection component obtains one out-of-band optical signal bit error rate corresponding to the current combined optical signal and one internal signal-to-noise ratio generated by the detection component itself within 10 ms according to the detection frequency. The control component can calculate one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal according to the above formula (2), and assume that the out-of-band optical signal signal-to-noise ratio is 12 dB.

[0227] S503, determine whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range.

[0228] Since the at least one optical signal is the current combined optical signal, and the at least one out-of-band optical signal signal-to-noise ratio is the at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal, whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range means whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the current combined optical signal meets the corresponding preset range.

[0229] If the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range, step S504 can be performed; if there is any out-of-band optical signal signal-to-noise ratio that does not meet the corresponding preset range, steps S505-S511 can be performed.

[0230] S504, when the signal-to-noise ratios of the at least one out-band optical signal are all less than or equal to the signal-to-noise ratio threshold, performing switching processing on the switching switch until the signal-to-noise ratios of the at least one out-band optical signal in the current period are all greater than the signal-to-noise ratio threshold, stopping the switching processing on the switching switch, and switching the current combined optical signal received by the switching switch to the target combined optical signal.

[0231] For example, if the signal-to-noise ratio threshold is 15 dB, and if the signal-to-noise ratio of one out-band optical signal corresponding to the current combined optical signal is 12 dB, since the signal-to-noise ratio of the out-band optical signal is less than or equal to the signal-to-noise ratio threshold, the switching processing can be performed on the switching switch until the signal-to-noise ratios of the at least one out-band optical signal in the current period are all greater than the signal-to-noise ratio threshold, the switching processing on the switching switch is stopped, and the current combined optical signal received by the switching switch is switched to the target combined optical signal.

[0232] S505, determining an out-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal.

[0233] Optionally, the out-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal can be the same as the out-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0234] Optionally, the out-band optical signal power threshold can be artificially preset. For example, the out-band optical signal power threshold is -30 dBm.

[0235] S506, obtaining at least one out-band optical signal power corresponding to the current combined optical signal in a detection duration.

[0236] Since the at least one optical signal is the current combined optical signal, the at least one out-band optical signal power is at least one out-band optical signal power corresponding to the current combined optical signal.

[0237] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the control component can obtain one out-band optical signal power corresponding to the current combined optical signal detected by the detection component in 10 ms according to the detection frequency. Assuming that the out-band optical signal power is -35 dBm.

[0238] S507, determining whether the at least one out-band optical signal power meets a corresponding preset range.

[0239] Optionally, for the out-band optical signal power, the out-band optical signal power can have a corresponding preset range. For example, the preset range corresponding to the out-band optical signal power can be [-50 dBm, 0 dBm].

[0240] If the at least one out-band optical signal power meets the corresponding preset range, step S508 can be performed; if any out-band optical signal power does not meet the corresponding preset range, steps S509-S511 can be performed.

[0241] S508, switching the current combined optical signal received by the switch to the target combined optical signal according to the at least one out-band optical signal power.

[0242] Alternatively, the current combined optical signal received by the switch can be switched to the target combined optical signal according to the at least one out-band optical signal power in the following manner: when the at least one out-band optical signal power is less than or equal to the out-band optical signal power threshold, the switch is switched until the at least one out-band optical signal power in the current period is greater than the out-band optical signal power threshold, and the switching of the switch is stopped to switch the current combined optical signal received by the switch to the target combined optical signal.

[0243] For example, if the current combined optical signal corresponds to one out-band optical signal power of -35 dBm, and the out-band optical signal power threshold is -30 dBm, since the out-band optical signal power is less than the out-band optical signal power threshold, the switch is switched until the at least one out-band optical signal power in the current period is greater than the power threshold, and the switching of the switch is stopped to switch the current combined optical signal received by the switch to the target combined optical signal.

[0244] Alternatively, if some of the at least one out-band optical signal power is greater than the out-band optical signal power threshold, the detection can be continued until the at least one out-band optical signal power detected continuously is less than or equal to the out-band optical signal power threshold, and the switch is switched to switch the out-band optical signal received by the switch.

[0245] When any out-band optical signal signal-to-noise ratio does not meet the corresponding preset range, i.e., the switch cannot be switched according to the out-band optical signal signal-to-noise ratio, a backup scheme can be used as a fallback, i.e., the switch is switched according to the at least one out-band optical signal power, the reliability of switching the switch is improved, and the reliability of the optical transmission system is improved.

[0246] S509, determining an in-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal.

[0247] Alternatively, the in-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal can be the same as the in-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

[0248] Optionally, the in-band optical signal power threshold value can be artificially preset. For example, the in-band optical signal power threshold value is 5 dBm.

[0249] S510, acquiring at least one in-band optical signal power corresponding to the current combined optical signal in a detection duration.

[0250] Since the at least one optical signal is the current combined optical signal, the at least one in-band optical signal power is at least one in-band optical signal power corresponding to the current combined optical signal.

[0251] For example, if the detection duration is 10 ms and the detection frequency is 1 time / 10 ms, the control component can acquire 1 in-band optical signal power corresponding to the current combined optical signal detected by the detection component in 10 ms according to the detection frequency. Assuming that the 1 in-band optical signal power is 3 dBm.

[0252] S511, switching the current combined optical signal received by the switching switch to the target combined optical signal according to the at least one in-band optical signal power.

[0253] Optionally, the current combined optical signal received by the switching switch can be switched to the target combined optical signal according to the at least one in-band optical signal power in the following manner: when the at least one in-band optical signal power is all less than or equal to the in-band optical signal power threshold value, performing switching processing on the switching switch until the at least one in-band optical signal power in the current period is all greater than the power threshold value, stopping the switching processing on the switching switch, so as to switch the current combined optical signal received by the switching switch to the target combined optical signal.

[0254] For example, if 1 in-band optical signal power corresponding to the current combined optical signal is 3 dBm. If the in-band optical signal power threshold value is 5Bm, since the in-band optical signal power is less than the in-band optical signal power threshold value, the switching switch can be switched until the at least one in-band optical signal power in the current period is all greater than the in-band optical signal power threshold value, the switching processing on the switching switch is stopped, so as to switch the current combined optical signal received by the switching switch to the target combined optical signal.

[0255] Optionally, if there is part of the at least one in-band optical signal power greater than the in-band optical signal power threshold value, the detection can be continued until the at least one in-band optical signal power continuously detected is all less than or equal to the in-band optical signal power threshold value, and then the switching switch is switched to switch the in-band optical signal received by the switching switch.

[0256] When the power of any out-of-band optical signal does not conform to the corresponding preset range, i.e., the switching of the switch cannot be processed according to the power of the out-of-band optical signal, a backup scheme can be used as a substitute, i.e., the switching of the switch is processed according to at least one in-band optical signal power, the reliability of the switching of the switch is improved, and the reliability of the optical transmission system is further improved.

[0257] It should be noted that the various processing steps (S501-S511) shown in the embodiment of FIG. 5 do not constitute a specific limitation of the protection switching process of the optical signal. In other embodiments of the present disclosure, the protection switching process of the optical signal can include more or fewer steps than the embodiment of FIG. 5. For example, the protection switching process of the optical signal can include some steps in the embodiment of FIG. 5, or some steps in the embodiment of FIG. 5 can be replaced by steps with the same function, or some steps in the embodiment of FIG. 5 can be split into multiple steps, etc.

[0258] In the embodiments of the present disclosure, the control component can determine a signal-to-noise ratio threshold for protection switching of the current optical signal and the target optical signal, and acquire at least one out-of-band optical signal signal-to-noise ratio corresponding to at least one optical signal in a detection duration, the at least one optical signal being the current combined optical signal. The control component can determine whether the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal meets the corresponding preset range. If yes, the control component can perform switching processing on the switching switch when the at least one out-of-band optical signal signal-to-noise ratio is less than or equal to the signal-to-noise ratio threshold, until the at least one out-of-band optical signal signal-to-noise ratio in the current period is greater than the signal-to-noise ratio threshold, and stop the switching processing on the switching switch, so as to switch the current combined optical signal received by the switching switch to the target combined optical signal; if not, the control component can determine an out-of-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal, and acquire at least one out-of-band optical signal power corresponding to the current combined optical signal in the detection duration. The control component can determine whether the at least one out-of-band optical signal power meets the corresponding preset range. If yes, the control component can switch the current combined optical signal received by the switching switch to the target combined optical signal according to the at least one out-of-band optical signal power; if not, the control component can determine an in-band optical signal power threshold for protection switching of the current combined optical signal and the target combined optical signal, and acquire at least one in-band optical signal power corresponding to the current combined optical signal in the detection duration, and switch the current combined optical signal received by the switching switch to the target combined optical signal according to the at least one in-band optical signal power. On the one hand, since the out-of-band optical signal signal-to-noise ratio can better represent the transmission performance of the optical signal transmitted by different transmission links than the out-of-band optical signal power, the switching switch can select the optical signal with better transmission performance by performing switching processing on the switching switch according to the out-of-band optical signal signal-to-noise ratio, thereby improving the reliability of the optical transmission system; on the other hand, when the at least one out-of-band optical signal signal-to-noise ratio does not meet the corresponding preset range, the switching switch can be switched according to the at least one out-of-band optical signal power; further, when the at least one out-of-band optical signal power does not meet the corresponding preset range, the switching switch can be switched according to the at least one in-band optical signal power, thereby further improving the reliability of the optical transmission system. In summary, the technical solution of the present disclosure improves the reliability of the optical transmission system.

[0259] It should be noted that in the embodiments of FIGS. 3-5, any one of the optical signals is a reverse optical signal by default, i.e., the in-band optical signal can be a reverse in-band optical signal, the out-of-band optical signal can be a reverse out-of-band optical signal, the combined optical signal can be a reverse combined optical signal, and the like.

[0260] In the following, the protection switching device will be described in detail in combination with FIGS. 6-11.

[0261] Fig. 6 is a schematic diagram of a protection switching device according to an example embodiment of the present disclosure. As shown in Fig. 6, the protection switching device A and the protection switching device B (i.e. the first device) are provided.

[0262] The protection switching device A can be an optical signal transmitting end, and the protection switching device B can be an optical signal receiving end, or vice versa. It should be noted that for the receiving end, the transmitted optical signal is a forward optical signal, and the received optical signal is a backward optical signal.

[0263] For any protection switching device, the protection switching device can include a switching switch, a detection component, and a control component. The protection switching device can also include a multiplexer / demultiplexer and a first optical splitter. As shown in Fig. 6, the protection switching device A can include a multiplexer / demultiplexer, a detection component-1, a switching switch-1, a first optical splitter-1, and a control component-1. The switching switch-1, the first optical splitter-1, and the control component-1 are located in the OLP switch.

[0264] The switching switch can be used to receive a plurality of optical signals and select one optical signal from the plurality of optical signals. The plurality of optical signals can be a plurality of backward multiplexed optical signals received from the first device. Therefore, the switching switch can be used to receive a plurality of backward multiplexed optical signals and select a current backward multiplexed optical signal from the plurality of backward multiplexed optical signals.

[0265] As shown in Fig. 6, the switching switch-1 can receive a main backward multiplexed optical signal and a backup backward multiplexed optical signal and select one of the main backward multiplexed optical signal and the backup backward multiplexed optical signal as a current backward multiplexed optical signal and output the current backward multiplexed optical signal to the multiplexer / demultiplexer. The current backward multiplexed optical signal can be the main backward multiplexed optical signal or the backup backward multiplexed optical signal.

[0266] The multiplexer / demultiplexer can be used to filter the current backward multiplexed optical signal output by the switching switch, obtain a corresponding backward in-band optical signal and a backward out-of-band optical signal, output the backward out-of-band optical signal to the detection component, and output the backward in-band optical signal to the second device.

[0267] The multiplexer / demultiplexer can also be used to receive a forward in-band optical signal output by the second device and a forward out-of-band optical signal output by the detection component, multiplex the forward in-band optical signal and the forward out-of-band optical signal to obtain a forward multiplexed optical signal, and output the forward multiplexed optical signal to the first optical splitter.

[0268] Optionally, the working mode of the detection component can adopt a single-transmitting and single-receiving mode, i.e. the detection component can output one forward out-of-band optical signal and receive one backward out-of-band optical signal.

[0269] The detection component can be used to generate a forward out-of-band optical signal and detect a backward out-of-band optical signal. For example, the detection component can be a coherent light component.

[0270] As shown in FIG. 6, the detection component can be located at the side of the combining and splitting filter and connected with the combining and splitting filter. The detection component can be used to detect at least one out-of-band optical signal corresponding to at least one optical signal in the plurality of optical signals. When the optical signal is the reverse combined optical signal, one optical signal in the at least one optical signal is the current reverse combined optical signal. The at least one out-of-band optical signal signal-to-noise ratio is the signal-to-noise ratio of the reverse out-of-band optical signal obtained by filtering the current reverse combined optical signal. The detection component can also be used to generate a forward out-of-band optical signal and output the forward out-of-band optical signal to the combining and splitting filter.

[0271] The first optical splitter can be used to receive the forward combined optical signal output by the combining and splitting filter, perform optical splitting processing on the forward combined optical signal, obtain the corresponding main forward combined optical signal and backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device.

[0272] As shown in FIG. 6, the first optical splitter-1 can be a 1*2 optical splitter, that is, an optical splitter with one input and two outputs. The first optical splitter-1 can receive the forward combined optical signal output by the combining and splitting filter, perform optical splitting processing on the forward combined optical signal, obtain the main forward combined optical signal and the backup forward combined optical signal, and then output the main forward combined optical signal and the backup forward combined optical signal to the first device (that is, the protection switching device B).

[0273] The control component can be used to perform the method of the above-mentioned embodiments of FIG. 3 or FIG. 5 to perform switching processing on the switching device.

[0274] The structure of the protection switching device B is the same as that of the protection switching device A, and will not be described here.

[0275] In the embodiments of the present disclosure, the protection switching device can include a switching device, a combining and splitting filter, a detection component, a control component, and a first optical splitter. Compared with the protection switching device in the related art (that is, the protection switching device shown in FIG. 1), the protection switching device in the embodiments of the present disclosure includes the detection component, which can be used to generate a forward out-of-band optical signal and detect a reverse out-of-band optical signal, without the need for a light component specially used to generate a forward out-of-band optical signal and a detection component specially used to detect a reverse out-of-band optical signal; and without the need for multiple filters, the structure of the protection switching device is simplified, and the cost is reduced; and the protection switching device shown in the embodiments of the present disclosure can implement the method described in the above-mentioned embodiments of FIG. 3 or FIG. 5, and the reliability of the optical transmission system is improved.

[0276] FIG. 7 is a schematic diagram of a protection switching device according to an embodiment of the present disclosure. As shown in FIG. 7, the protection switching device includes a second device, a protection switching device A, and a protection switching device B (that is, a first device).

[0277] For any one protection switching device, the protection switching device can include a switching switch, two detection components, a control component, a combining and dividing wave filter, two optical splitters, and two second filters. The protection switching device can also include two first filters. As shown in FIG. 7, the protection switching device A can include a combining and dividing wave filter, a detection component-1, a detection component-2, a switching switch-1, an optical splitter-1, an optical splitter-2, a control component-1, a first filter-1, a first filter-2, a second filter-1, and a second filter-2. Among them, the detection component-1, the detection component-2, the switching switch-1, the optical splitter-1, the optical splitter-1, the control component-1, the first filter-1, the first filter-2, the second filter-1, and the second filter-2 are located in the OLP switch.

[0278] The switching switch can be used to receive a plurality of optical signals and select an optical signal from the plurality of optical signals. Among them, the plurality of optical signals can include a plurality of first filters respectively output reverse in-band optical signals. Therefore, the switching switch can be specifically used to receive a plurality of reverse in-band optical signals and select a current reverse in-band optical signal.

[0279] As shown in FIG. 7, the switching switch-1 can receive the main path reverse in-band optical signal output by the first filter-1 and the standby path reverse in-band optical signal output by the first filter-2, and select a current reverse in-band optical signal. The current reverse in-band optical signal can be the main path reverse in-band optical signal or the standby path reverse in-band optical signal.

[0280] The combining and dividing wave filter can be used to receive the current reverse optical signal output by the switching switch and output the current reverse in-band optical signal to the second device.

[0281] The combining and dividing wave filter can also be used to receive the forward in-band optical signal output by the second device and output the forward in-band optical signal to the first optical splitter.

[0282] The detection component can be connected with the first filter. Since there are two detection components and two first filters in FIG. 7, the detection component and the first filter can be connected correspondingly. That is, the detection component-1 can be connected with the first filter-1, and the detection component-2 can be connected with the first filter-2.

[0283] In FIG. 7, the working mode of any one detection component adopts a single-transmitting and single-receiving mode.

[0284] For any one detection component, the detection component can be used to detect the signal-to-noise ratio of at least one out-of-band optical signal corresponding to at least one optical signal in a plurality of optical signals. The detection component can be used to generate a forward out-of-band optical signal and output the forward out-of-band optical signal to the optical splitter.

[0285] As shown in FIG. 7, the detection component-1 can be configured to detect at least one out-of-band optical signal-to-noise ratio corresponding to the in-band optical signal of the main reverse direction, i.e., to detect the out-of-band optical signal corresponding to the in-band optical signal of the main reverse direction, to obtain the at least one out-of-band optical signal-to-noise ratio; the detection component-1 can also generate the out-of-band optical signal of the forward direction and output the out-of-band optical signal of the forward direction to the optical splitter-1; the detection component-2 can be configured to detect at least one out-of-band optical signal-to-noise ratio corresponding to the in-band optical signal of the backup reverse direction, i.e., to detect the out-of-band optical signal corresponding to the in-band optical signal of the backup reverse direction, to obtain the at least one out-of-band optical signal-to-noise ratio.

[0286] In FIG. 7, the optical splitter-1 and the optical splitter-2 are both 1*2 optical splitters. For any one of the optical splitters, the optical splitter can be configured to receive at least one forward optical signal, to split the at least one forward optical signal, to obtain the corresponding main forward optical signal and backup forward optical signal. The optical splitter is further configured to transmit the main forward optical signal or the backup forward optical signal to the second filter; wherein the forward optical signal can be an in-band optical signal or an out-of-band optical signal.

[0287] As shown in FIG. 7, the optical splitter-1 can receive the out-of-band optical signal of the forward direction transmitted by the detection component-1, and split the out-of-band optical signal of the forward direction to obtain the main out-of-band optical signal of the forward direction and the backup out-of-band optical signal of the forward direction, and then output the main out-of-band optical signal of the forward direction to the second filter-1 and output the backup out-of-band optical signal of the forward direction to the second filter-2; the optical splitter-2 can receive the in-band optical signal of the forward direction transmitted by the combining component, and split the in-band optical signal of the forward direction to obtain the main in-band optical signal of the forward direction and the backup in-band optical signal of the forward direction, and then output the main in-band optical signal of the forward direction to the second filter-1 and output the backup in-band optical signal of the forward direction to the second filter-2.

[0288] For any one of the first filters, the first filter can be configured to receive the reverse combined optical signal output by the first device, perform wavelength division processing on the reverse combined optical signal to obtain a corresponding reverse in-band optical signal and a reverse out-of-band optical signal, and output the reverse in-band optical signal to the switch-over switch and output the reverse out-of-band optical signal to the detection assembly, the reverse combined optical signal being the main path reverse combined optical signal or the backup path reverse combined optical signal. As shown in FIG. 7, the first filter-1 can receive the main path reverse combined optical signal transmitted by the first device, perform wavelength division processing on the main path reverse combined optical signal to obtain a main path reverse in-band optical signal and a main path reverse out-of-band optical signal, and transmit the main path reverse in-band optical signal to the switch-over switch-1 and transmit the main path reverse out-of-band optical signal to the detection assembly-1; the first filter-2 can receive the backup path reverse combined optical signal transmitted by the first device, perform wavelength division processing on the backup path reverse combined optical signal to obtain a backup path reverse in-band optical signal and a backup path reverse out-of-band optical signal, and transmit the backup path reverse in-band optical signal to the switch-over switch-1 and transmit the backup path reverse out-of-band optical signal to the detection assembly-2.

[0289] For any one of the second filters, the second filter can be configured to receive a plurality of forward optical signals output by the plurality of optical splitters, perform wavelength division processing on the plurality of forward optical signals to obtain a forward combined optical signal, and transmit the forward combined optical signal to the first device, the forward combined optical signal being the main path forward combined optical signal or the backup path forward combined optical signal.

[0290] As shown in FIG. 7, the second filter-1 can receive the main path out-of-band optical signal output by the optical splitter-1 and the main path in-band optical signal output by the optical splitter-2, perform wavelength division processing on the main path out-of-band optical signal and the main path in-band optical signal to obtain a main path combined optical signal, and transmit the main path forward combined optical signal to the first device (i.e., the protection switch-over device B); the second filter-2 can receive the backup path out-of-band optical signal output by the optical splitter-1 and the backup path in-band optical signal output by the optical splitter-2, perform wavelength division processing on the backup path out-of-band optical signal and the backup path in-band optical signal to obtain a backup path combined optical signal, and transmit the backup path forward combined optical signal to the first device (i.e., the protection switch-over device B).

[0291] The control assembly can be configured to perform the method of the above-mentioned embodiments of FIG. 3 or FIG. 4 to perform switch-over processing on the switch-over switch.

[0292] The structure of the protection switch-over device B is the same as that of the protection switch-over device A, and thus will not be described herein.

[0293] In the embodiment of the present disclosure, the protection switching device can include a switching switch, a combining and dividing wave filter, two detection components, a control component, two optical splitters, two first filters, and two second filters. Compared with the protection switching device in the related art (i.e., the protection switching device shown in FIG. 1), the protection switching device in the embodiment of the present disclosure includes detection components that can be used to generate a forward out-of-band optical signal and detect a reverse out-of-band optical signal, without the need for a light component specially used to generate a forward out-of-band optical signal and a detection component specially used to detect a reverse out-of-band optical signal, thereby simplifying the structure of the protection switching device and reducing the cost. The protection switching device shown in the embodiment of the present disclosure can implement the method described in the embodiment of FIG. 3 or FIG. 4, thereby improving the reliability of the optical transmission system.

[0294] FIG. 8 is a schematic diagram of a protection switching device according to an embodiment of the present disclosure. As shown in FIG. 8, the protection switching device includes a second device, a protection switching device A, and a protection switching device B (i.e., a first device).

[0295] For any one of the protection switching devices, the protection switching device can include a switching switch, a combining and dividing wave filter, a detection component, a control component, and a plurality of first filters. The protection switching device can further include a second optical splitter. As shown in FIG. 8, the protection switching device A can include a combining and dividing wave filter, a detection component-1, a detection component-2, a switching switch-1, a second optical splitter-1, a control component-1, a first filter-1, and a first filter-2. The detection component-1, the detection component-2, the switching switch-1, the second optical splitter-1, the control component-1, the first filter-1, and the first filter-2 are located in the OLP switch.

[0296] It should be noted that the functions of the switching switch, the combining and dividing wave filter, the detection component, and the first filter can be referred to the related content in FIG. 7, which will not be described herein.

[0297] In FIG. 8, the second optical splitter can be a 2*2 optical splitter, i.e., an optical splitter with two inputs and two outputs. The second optical splitter can be used to receive a forward in-band optical signal output by the combining and dividing wave filter and a forward out-of-band optical signal output by the detection component, perform combining and dividing wave processing on the forward in-band optical signal and the forward out-of-band optical signal, obtain corresponding main forward combined wave optical signals and backup forward combined wave optical signals, and output the main forward combined wave optical signals and the backup forward combined wave optical signals to the first device.

[0298] As shown in FIG. 8, the second optical splitter-1 can be configured to receive the forward in-band optical signal output by the combining / splitting filter, and the forward out-band optical signal output by the detection component-1, split the forward in-band optical signal and the forward out-band optical signal to obtain the corresponding main forward combined optical signal and the backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device (i.e., the protection switching device B).

[0299] The control component can be configured to execute the method of the above-mentioned embodiment of FIG. 3 or FIG. 4 to perform the switching processing on the switching switch.

[0300] The structure of the protection switching device B is the same as that of the protection switching device A, and will not be described herein again.

[0301] In the embodiments of the present disclosure, the protection switching device can include a switching switch, a combining / splitting filter, two detection components, a control component, a second optical splitter, and two first filters. Compared with the protection switching device in the related art (i.e., the protection switching device shown in FIG. 1), the protection switching device in the embodiments of the present disclosure includes the detection component, which can be configured to generate the forward out-band optical signal and detect the backward out-band optical signal, without the need for a light component specially configured to generate the forward out-band optical signal and a detection component specially configured to detect the backward out-band optical signal; and the number of filters can be reduced, the structure of the protection switching device is simplified, and the cost is reduced. The protection switching device shown in the embodiments of the present disclosure can implement the method described in the above-mentioned embodiment of FIG. 3 or FIG. 4, and the reliability of the optical transmission system is improved.

[0302] FIG. 9 is a schematic diagram of a fourth protection switching device according to the embodiments of the present disclosure. Referring to FIG. 9, the number of detection components included in any one of the protection switching devices is changed from two to one based on the embodiment shown in FIG. 8. Compared with the protection switching device shown in FIG. 8, the protection switching device shown in FIG. 9 has a lower cost.

[0303] As shown in FIG. 9, the protection switching device A includes a combining / splitting filter, a detection component-1, a switching switch-1, a second optical splitter-1, a control component-1, a first filter-1, and a first filter-2. The detection component-1, the switching switch-1, the second optical splitter-1, the control component-1, the first filter-1, and the first filter-2 are located in the OLP switch.

[0304] It should be noted that the functions of the switching switch, the combining / splitting filter, and the first filter can be referred to the related contents in FIG. 7, and the function of the second optical splitter can be referred to the related contents in FIG. 8, which will not be described herein again.

[0305] Optionally, in FIG. 9, the working mode of the detection component adopts a single-transmitting and double-receiving mode, that is, the detection component can include 1 transmitting component and 2 receiving components, the detection component can output 1 forward out-of-band optical signal through the transmitting component and receive 2 reverse out-of-band optical signals through the 2 receiving components.

[0306] The detection component can be connected with a plurality of first filters. As shown in FIG. 9, the detection component can be connected with the first filter-1 and the first filter-2.

[0307] The detection component can detect at least one out-of-band optical signal signal-to-noise ratio corresponding to at least one optical signal in a plurality of optical signals. The plurality of optical signals can include a main path reverse in-band optical signal and a backup path reverse in-band optical signal.

[0308] As shown in FIG. 9, the detection component-1 can be used to detect at least one out-of-band optical signal signal-to-noise ratio corresponding to the main path reverse in-band optical signal, that is, to detect the main path reverse out-of-band optical signal corresponding to the main path reverse in-band optical signal, and obtain the at least one out-of-band optical signal signal-to-noise ratio; and can also be used to detect at least one out-of-band optical signal signal-to-noise ratio corresponding to the backup path reverse in-band optical signal, that is, to detect the backup path reverse out-of-band optical signal corresponding to the backup path reverse in-band optical signal, and obtain the at least one out-of-band optical signal signal-to-noise ratio.

[0309] The control component can be used to execute the method of the above-mentioned embodiments of FIG. 3 or FIG. 4 to perform switching processing on the switching switch.

[0310] The structure of the protection switching device B is the same as that of the protection switching device A, which will not be described here.

[0311] In the embodiments of the present disclosure, the protection switching device can include a switching switch, a combining and dividing wave filter, a detection component, a control component, a first light splitter, and a first filter.

[0312] In the embodiments of the present disclosure, the protection switching device can include a switching switch, a combining and dividing wave filter, 1 detection component, a control component, a second light splitter, and 2 first filters. Compared with the protection switching device in the related art (that is, the protection switching device shown in FIG. 1), the protection switching device in the embodiments of the present disclosure only needs 1 detection component, which can be used to generate a forward out-of-band optical signal and also can be used to detect a reverse out-of-band optical signal, without the need for a light component specially used to generate a forward out-of-band optical signal and a detection component specially used to detect a reverse out-of-band optical signal; and 2 filters are reduced, the structure of the protection switching device is simplified, and the cost is reduced; and the protection switching device shown in the embodiments of the present disclosure can implement the method described in the above-mentioned embodiments of FIG. 3 or FIG. 4, and the reliability of the optical transmission system is improved.

[0313] FIG. 10 is a schematic diagram of a protection switching device according to an embodiment of the present disclosure. As shown in FIG. 10, the protection switching device A includes a combiner / splitter, a detection component-1, a detection component-2, a switching switch-1, a second optical splitter-1, a control component-1, a tunable filter-1, and a tunable filter-2. The detection component-1, the detection component-2, the switching switch-1, the second optical splitter-1, the control component-1, the tunable filter-1, and the tunable filter-2 are located in the OLP switch.

[0314] As shown in FIG. 10, the protection switching device A includes a combiner / splitter, a detection component-1, a detection component-2, a switching switch-1, a second optical splitter-1, a control component-1, a tunable filter-1, and a tunable filter-2. The detection component-1, the detection component-2, the switching switch-1, the second optical splitter-1, the control component-1, the tunable filter-1, and the tunable filter-2 are located in the OLP switch.

[0315] It should be noted that the functions of the switching switch and the combiner / splitter can be found in the related content in FIG. 7, and the function of the second optical splitter can be found in the related content in FIG. 8, which will not be described herein.

[0316] For any one tunable filter, the tunable filter can be configured to receive a reverse combined optical signal transmitted by the first device, split the reverse combined optical signal to obtain a corresponding reverse in-band optical signal and a reverse out-of-band optical signal, and transmit the reverse in-band optical signal to the switching switch and the reverse out-of-band optical signal to the detection component. The reverse combined optical signal is the primary reverse combined optical signal or the backup reverse combined optical signal.

[0317] The tunable filter can also be configured to adjust a detection frequency of the reverse out-of-band optical signal to change the detection frequency of the reverse out-of-band optical signal detected by the detection component. The reverse out-of-band optical signal is the primary reverse out-of-band optical signal or the backup reverse out-of-band optical signal.

[0318] As shown in FIG. 10, the tunable filter-1 can receive the primary reverse combined optical signal transmitted by the first device, split the primary reverse combined optical signal to obtain a primary reverse in-band optical signal and a primary reverse out-of-band optical signal, transmit the primary reverse in-band optical signal to the switching switch-1, adjust the frequency of the primary reverse out-of-band optical signal, and transmit the primary reverse out-of-band optical signal with the adjusted frequency to the detection component-1. The tunable filter-2 can receive the backup reverse combined optical signal transmitted by the first device, split the backup reverse combined optical signal to obtain a backup reverse in-band optical signal and a backup reverse out-of-band optical signal, transmit the backup reverse in-band optical signal to the switching switch-1, and adjust the frequency of the backup reverse out-of-band optical signal and transmit the backup reverse out-of-band optical signal with the adjusted frequency to the detection component-2.

[0319] The control component can be configured to perform the method of the embodiments of FIG. 3 or FIG. 4 to perform switching processing on the switching switch.

[0320] The structure of the protection switching device B is the same as that of the protection switching device A, and thus is not described herein.

[0321] In the embodiments of the present disclosure, the protection switching device can include a switching switch, a combining and dividing wave filter, a detection component, a control component, a first optical splitter, and an adjustable filter. The protection switching device shown in the embodiments of the present disclosure can implement the method described in the embodiments of FIG. 3 or FIG. 4, and improve the reliability of the optical transmission system. In the embodiments of the present disclosure, the protection switching device can include a switching switch, a combining and dividing wave filter, a detection component, a control component, a second optical splitter, and two adjustable filters. Compared with the protection switching device in the related art (i.e., the protection switching device shown in FIG. 1), the protection switching device in the embodiments of the present disclosure includes a detection component that can be used to generate a forward out-of-band optical signal and detect a reverse out-of-band optical signal, without the need for a special optical module for generating a forward out-of-band optical signal and a detection module for detecting a reverse out-of-band optical signal; and the detection component can adjust the detection frequency of the reverse out-of-band optical signal through the adjustable filter, improving the flexibility of detecting the reverse out-of-band optical signal; and the protection switching device shown in the embodiments of the present disclosure can implement the method described in the embodiments of FIG. 3 or FIG. 4, and improve the reliability of the optical transmission system.

[0322] FIG. 11 is a structural schematic diagram of a control component according to an example embodiment of the present disclosure. As shown in FIG. 11, the control component 10 can include a processor 11 and a memory 12. The processor 11 and the memory 12 are connected to each other through a bus 13.

[0323] The memory 12 stores computer-executable instructions;

[0324] The processor 11 executes the computer-executable instructions stored in the memory 12, so that the processor 11 performs the method shown in the method embodiments.

[0325] The control component shown in FIG. 11 can be the control component in the protection switching device shown in any of the above embodiments.

[0326] FIG. 12 is a structural schematic diagram of an optical transmission system according to an example embodiment of the present disclosure. As shown in FIG. 12, the optical transmission system can include a plurality of protection switching devices. For example, the optical transmission system can include a protection switching device 1, a protection switching device 2, and so on.

[0327] In the optical transmission system, the protection switching devices can transmit optical signals to each other. For example, the protection switching device 1 can transmit an optical signal to the protection switching device 2, and the protection switching device 2 can also transmit an optical signal to the protection switching device 1.

[0328] The protection switching device can be the protection switching device shown in any of the above embodiments.

[0329] Accordingly, the embodiment of the present disclosure provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are used to implement the method in the above method embodiment when executed by a processor.

[0330] Accordingly, the embodiment of the present disclosure also provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the method shown in the above method embodiment.

[0331] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer-usable program code.

[0332] The present disclosure is described with reference to the flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices produce the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.

[0333] These computer program instructions can also be stored in a computer readable storage medium that can direct the computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a product including instruction devices, which implement the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.

[0334] These computer program instructions can also be loaded into a computer or other programmable data processing device, so that a series of operation steps are performed on the computer or other programmable data processing device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.

[0335] In one typical arrangement, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0336] The memory can include non-persistent memory, Random Access Memory (RAM), and / or non-volatile memory, such as Read Only Memory (ROM) or flash memory, in a computer readable medium. The memory is an example of computer readable media.

[0337] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.

[0338] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0339] The above only describes the embodiments of the present disclosure and is not intended to limit the present disclosure. The present disclosure can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present disclosure shall be included in the scope of claims of the present disclosure.

Claims

1. A method for protection switching of optical signals, applied to a control component in a protection switching device in an optical transmission system, the protection switching device comprising the control component and a switching switch, the switching switch being configured to receive a plurality of optical signals and select one optical signal from the plurality of optical signals for output, the method comprising: obtaining an out-of-band optical signal signal-to-noise ratio corresponding to at least one optical signal from the plurality of optical signals within a detection duration, the out-of-band optical signal signal-to-noise ratio being a signal-to-noise ratio of an out-of-band optical signal corresponding to the optical signal, the out-of-band optical signal being a signal outside a preset wavelength range corresponding to the optical transmission system; and switching a current optical signal output by the switching switch to a target optical signal according to the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal, the current optical signal being an optical signal currently selected by the switching switch for output, the target optical signal being an optical signal currently not selected by the switching switch for output, the at least one optical signal comprising the current optical signal and the target optical signal, or the at least one optical signal being the current optical signal. at least one out-of-band optical signal signal-to-noise ratio obtained through at least one detection operation within the detection duration; switching the current optical signal output by the switching switch to the target optical signal according to the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal, comprising:

2. The method of claim 1, the out-of-band optical signal signal-to-noise ratio corresponding to the optical signal comprising: switching the current optical signal output by the switching switch to the target optical signal when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal all meet a corresponding preset range. 3.The method of claim 2, before the obtaining of the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal from the plurality of optical signals within the detection duration, the method further comprising: determining a signal-to-noise ratio threshold for protection switching of the current optical signal and the target optical signal. a plurality of first filters, the first filters being configured to receive a combined optical signal and divide the received combined optical signal into an in-band optical signal and an out-of-band optical signal; the plurality of optical signals received by the switching switch comprising the in-band optical signals output by the plurality of first filters respectively; 4. The method of claim 3, the protection switch apparatus further comprising: the current optical signal included in the at least one optical signal being a current in-band optical signal, and the target optical signal being a target in-band optical signal; the out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal comprising at least one first out-of-band optical signal signal-to-noise ratio corresponding to the current in-band optical signal and at least one second out-of-band optical signal signal-to-noise ratio corresponding to the target in-band optical signal. 5.The method of claim 4, when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal all meet the corresponding preset range, the switching of the current optical signal output by the switching switch to the target optical signal, comprising: when the at least one first out-of-band optical signal signal-to-noise ratio are all less than or equal to the signal-to-noise ratio threshold, and the at least one second out-of-band optical signal signal-to-noise ratio are all greater than the signal-to-noise ratio threshold, performing a switching process on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal. ​ ​ 6.The method of any one of claims 3-5, wherein determining the signal-to-noise ratio threshold for the protection switching of the current optical signal and the target optical signal comprises: determining initial signal-to-noise ratio margin values of at least one wavelength channel corresponding to the optical transmission system; determining a maximum initial signal-to-noise ratio margin value from the initial signal-to-noise ratio margin values of the at least one wavelength channel; and determining the maximum initial signal-to-noise ratio margin value and a sum of signal-to-noise ratio variables as the signal-to-noise ratio threshold. 7.The method of any one of claims 4-6, further comprising: obtaining at least one first out-of-band optical signal power corresponding to the current in-band optical signal and at least one second out-of-band optical signal power corresponding to the target in-band optical signal within the detection duration when any out-of-band optical signal signal-to-noise ratio does not conform to a corresponding preset range; and switching the current in-band optical signal output by the switching device to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power. 8.The method of claim 7, wherein before obtaining the at least one first out-of-band optical signal power corresponding to the current in-band optical signal and the at least one second out-of-band optical signal power corresponding to the target in-band optical signal within the detection duration, the method further comprises: determining an out-of-band optical signal power threshold for the protection switching of the current in-band optical signal and the target in-band optical signal. 9.The method of claim 8, wherein switching the current in-band optical signal output by the switching device to the target in-band optical signal according to the at least one first out-of-band optical signal power and the at least one second out-of-band optical signal power comprises: switching the current in-band optical signal output by the switching device to the target in-band optical signal when all of the at least one first out-of-band optical signal power is less than or equal to the out-of-band optical signal power threshold and all of the at least one second out-of-band optical signal power is greater than the out-of-band optical signal power threshold. 10.The method of any one of claims 7-9, further comprising: obtaining at least one first in-band optical signal power corresponding to the current in-band optical signal and at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration when any in-band optical signal power does not conform to a corresponding preset range; and switching the current in-band optical signal output by the switching device to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power. 11.The method of claim 10, wherein before obtaining the at least one first in-band optical signal power corresponding to the current in-band optical signal and the at least one second in-band optical signal power corresponding to the target in-band optical signal within the detection duration, the method further comprises: ​ ​ ​ ​ ​ ​ ​ ​ ​ determining an in-band optical signal power threshold for protection switching of the current in-band optical signal and the target in-band optical signal.

12. The method of claim 11, switching the current in-band optical signal output by the switching switch to the target in-band optical signal according to the at least one first in-band optical signal power and the at least one second in-band optical signal power comprises: when the at least one first in-band optical signal power is all less than or equal to the in-band optical signal power threshold and the at least one second in-band optical signal power is all greater than the in-band optical signal power threshold, performing switching processing on the switching switch to switch the current in-band optical signal output by the switching switch to the target in-band optical signal.

13. The method of claim 3, the plurality of optical signals received by the switching switch comprises a plurality of combined optical signals transmitted by a plurality of optical paths respectively; the at least one optical signal is a current optical signal, specifically a current combined optical signal currently selected by the switching switch; the signal-to-noise ratio of the at least one optical signal corresponding out-of-band optical signal is the signal-to-noise ratio of the out-of-band optical signal in the current combined optical signal.

14. The method of claim 13, when the at least one out-of-band optical signal signal-to-noise ratio corresponding to the at least one optical signal all meets a corresponding preset range, switching the current optical signal output by the switching switch to the target optical signal comprises: when the at least one out-of-band optical signal signal-to-noise ratio is all less than or equal to the signal-to-noise ratio threshold, performing switching processing on the switching switch until the at least one out-of-band optical signal signal-to-noise ratio in the current period is all greater than the signal-to-noise ratio threshold, stopping the switching processing on the switching switch, to switch the current combined optical signal output by the switching switch to the target combined optical signal, the target combined optical signal being a combined optical signal not currently selected for output by the switching switch.

15. The method of any one of claims 1-14, for any one optical signal, obtaining the out-of-band optical signal signal-to-noise ratio corresponding to the optical signal in a detection duration comprises: obtaining the out-of-band optical signal bit error rate corresponding to the optical signal in the detection duration, the out-of-band optical signal bit error rate being the probability of an error bit occurring in the out-of-band optical signal in the transmission process; performing conversion processing on the out-of-band optical signal bit error rate to obtain the out-of-band optical signal signal-to-noise ratio.

16. A protection switching device, the device comprising: a switching switch configured to receive a plurality of optical signals and select one optical signal for output from the plurality of optical signals; a detection component configured to detect, in a detection duration, the out-of-band optical signal signal-to-noise ratio corresponding to at least one optical signal from the plurality of optical signals; a control component configured to perform the method of any one of claims 1-15.

17. The device of claim 16, the plurality of optical signals being a plurality of reverse combined optical signals received from a first device; the switching switch is configured to receive the plurality of reverse combined optical signals and select a current reverse combined optical signal for output; the device further comprising: a multiplexer, configured to filter the current reverse combined optical signal output by the switch-over switch to obtain a corresponding reverse in-band optical signal and a reverse out-band optical signal, and output the reverse out-band optical signal to the detection component and output the reverse in-band optical signal to the second device; the multiplexer is further configured to receive a forward in-band optical signal output by the second device and a forward out-band optical signal output by the detection component, and combine the forward in-band optical signal and the forward out-band optical signal to obtain a forward combined optical signal; a first demultiplexer, configured to receive the forward combined optical signal output by the multiplexer, demultiplex the forward combined optical signal to obtain a corresponding main forward combined optical signal and a backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device.

18. The device of claim 16, wherein the plurality of optical signals comprises a plurality of reverse in-band optical signals output by the plurality of first filters respectively, and the switch-over switch is specifically configured to receive the plurality of reverse in-band optical signals, select a current reverse in-band optical signal from the plurality of reverse in-band optical signals, and output the current reverse in-band optical signal. The device also includes: a plurality of first filters, the first filter is configured to receive a reverse combined optical signal output by the first device, demultiplex the reverse combined optical signal to obtain a corresponding reverse in-band optical signal and a reverse out-band optical signal, and output the reverse in-band optical signal to the switch-over switch and output the reverse out-band optical signal to the detection component, the reverse combined optical signal being a main reverse combined optical signal or a backup reverse combined optical signal.

19. The device of claim 18, wherein the first filter is an adjustable filter configured to adjust a detection frequency point of the reverse out-band optical signal, the reverse out-band optical signal being a main reverse out-band optical signal or a backup reverse out-band optical signal.

20. The device of claim 18 or 19, further comprising: a second demultiplexer, configured to receive a forward in-band optical signal output by the multiplexer and a forward out-band optical signal output by the detection component, combine the forward in-band optical signal and the forward out-band optical signal, and demultiplex the combined forward in-band optical signal and the combined forward out-band optical signal to obtain a corresponding main forward combined optical signal and a backup forward combined optical signal, and output the main forward combined optical signal and the backup forward combined optical signal to the first device.

21. A control component, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the control component to perform the method of any one of claims 1-15.

22. An optical transmission system comprising: a plurality of protection switch-over devices as claimed in any one of claims 16-20.

23. A computer-readable storage medium, the computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the method of any one of claims 1-15.

24. A computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-15.

Citation Information

Patent Citations

  • Grading early warning protection method in frequency variable network

    CN103888354A

  • Optical signal-to-noise ratio estimation method, optical communication equipment and storage medium

    CN115622620A

  • Method And System For On-Demand Filtering In A Receiver

    US20090280765A1

  • Procedures, apparatuses, systems, and computer programs for providing optical network channel protection

    US20150125141A1

  • Optical protection switch employing an interference filter

    US6075629A