Signal processing method, signal processing device and optical communication network

By detecting and judging optical signals in multiple wavelength segments at the receiving end of the optical communication network, the transmission interruption problem caused by optical fiber line failure is solved, the accuracy of optical signal switching and network stability are improved, and the deployment is reduced cost.

CN119011005APending Publication Date: 2024-11-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310568880.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

During the transmission process of optical communication network, transmission interruption is caused by optical fiber line failure. The prior art switching scheme has low accuracy for C+L band optical signals, and it is impossible to effectively judge the quality of optical signals.

Method used

By detecting optical signals of multiple wavelength segments in the receiving end device, the optical power and spectral inclination of each wavelength segment are obtained, and the comparison values ​​are generated based on these parameters to judge the quality of the optical signal, and the optical switch is controlled to select high-quality The optical signal is received.

Benefits of technology

It improves the accuracy of optical signal switching, and can accurately reflect the wavelength segment where the service data is located when the optical signal wavelength evolves to the C+L band, reducing the deployment cost and complexity of the optical communication network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011005A_ABST
    Figure CN119011005A_ABST
Patent Text Reader

Abstract

The invention provides a signal processing method, a signal processing device and an optical communication network, relates to the field of optical communication, and can improve the accuracy of optical signal switching. The signal processing method comprises the following steps: acquiring a first optical signal output by a first optical fiber and a second optical signal output by a second optical fiber, wherein each of the first optical signal and the second optical signal comprises a plurality of wavelength sections; detecting the first optical signal in each wavelength section to obtain a first detection result; detecting a second optical signal in each wavelength section to obtain a second detection result; and controlling the optical switch to output the first optical signal or the second optical signal to a common end of the optical switch according to the first detection result and the second detection result. The embodiment of the invention is applied to optical communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of optical communications, and in particular, to a signal processing method, a signal processing device, and an optical communication network. Background Art

[0002] Optical communication is a communication method that uses light waves as the transmission medium. It has the advantages of large communication capacity and strong anti-interference ability. The optical communication network is mainly composed of the sending end equipment, optical transmission line and receiving end equipment. Among them, the sending end equipment includes an optical transmitter, the receiving end equipment includes an optical receiver, and the optical transmission line includes an optical fiber line, an optical amplifier, etc. In the optical communication network, the optical signal output by the sending end is transmitted to the receiving end through the optical transmission line.

[0003] However, in the process of transmitting signals, optical communication networks often face the problem of transmission interruption caused by optical fiber line failure, which seriously affects the normal transmission of optical communication networks. Based on this problem, the optical line protection (OLP) technology can be used to protect the optical fiber line, ensure that the optical communication network can transmit signals normally, and avoid the problem of transmission interruption caused by optical fiber line failure. OLP technology is a high-efficiency and low-cost protection method with the characteristics of safety, reliability and fast fault recovery. In an optical communication network using OLP technology, the optical signal output by the transmitter is transmitted to the receiver through two optical fiber lines (main line + backup line) to back up the optical signal. When an optical fiber line fails, OLP technology can quickly (within 50ms) switch (that is, quickly select one of the two optical fiber lines to receive the optical signal transmitted), ensure that the optical communication network can transmit signals normally, thereby protecting the optical fiber line. Specifically, the transmitting end outputs an optical signal, which is divided into two optical signals by a coupler; the two optical signals are transmitted to the receiving end through two optical fiber lines; the receiving end receives the two optical signals, and the optical switch deployed at the receiving end selects the optical signal with better quality to receive. Since the quality of the optical signal can be judged to a certain extent according to the optical power of the optical signal (the higher the optical power, the better the optical signal quality), it is necessary to detect the optical power of the two optical signals at the receiving end, and judge the quality of the two received optical signals by the detected optical power. The optical switch at the receiving end can select the optical signal with higher optical power (better quality) to receive according to the optical power of the two optical signals detected.

[0004] With the continuous development of optical communication related technologies, the wavelength of the transmitted optical signal gradually evolves to the C+L band. For example, the transmitted optical signal gradually evolves from the optical signal of the C band to the optical signal of the C+L band, and the switching scheme for detecting the optical signal of the C band will no longer be applicable. Specifically, when the optical signal transmitted by the optical communication network is the optical signal of the C+L band, the switching scheme for detecting the optical signal of the C band will result in low switching accuracy. Summary of the invention

[0005] The embodiments of the present application provide a signal processing method, a signal processing device and an optical communication network, which can improve the accuracy of optical signal switching.

[0006] In a first aspect, a signal processing method is provided. The signal processing method is applied to a receiving end device of an optical signal. The receiving end device is connected to a first optical fiber and a second optical fiber; the receiving end device includes an optical switch, the first optical fiber is connected to a first selection end of the optical switch, and the second optical fiber is connected to a second selection end of the optical switch. The signal processing method includes: first, obtaining a first optical signal output by the first optical fiber and a second optical signal output by the second optical fiber, wherein the first optical signal and the second optical signal both include multiple wavelength segments; detecting the first optical signal in each wavelength segment to obtain a first detection result; detecting the second optical signal in each wavelength segment to obtain a second detection result; and then controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result.

[0007] In this scheme, the first optical signal in each wavelength segment and the first optical signal in each wavelength segment can be detected respectively to obtain a first detection result and a second detection result; then, according to the first detection result and the second detection result, the optical switch is controlled to output the first optical signal or the second optical signal to the common end of the optical switch. This scheme can obtain the detection result by detecting the two optical signals in each wavelength segment respectively; according to the detection result, the quality of the two optical signals including multiple wavelength segments can be judged. With the continuous development of optical communication related technologies, the wavelength of the transmitted optical signal gradually evolves to the C+L band. The embodiments of the present application can detect the optical signals of multiple wavelength segments respectively in units of wavelength segments (that is, detect the optical signals by wavelength segment), and then switch the optical signals according to the detection results, which can improve the accuracy of the switching. For example: when the service signals in the transmitted optical signal are mainly concentrated in certain bands (target bands) in the optical signal, although the total optical power of one optical signal can be detected by the receiving end device to be higher than the total optical power of another optical signal, the optical power of the optical signal with a higher total optical power in the target band is not higher than the optical power of the other optical signal in the target band. Then, it is difficult to judge the quality of the optical signal only by the optical power of the optical signal, and this switching scheme based on the optical power of the optical signal is inaccurate. However, the present application can detect the optical signal by wavelength segment, so it can accurately reflect the wavelength segment where the service data is located and switch the optical signal.

[0008] In a possible implementation, detecting the first optical signal in each wavelength band to obtain a first detection result includes: detecting the first optical signal in each wavelength band to obtain the optical power of the first optical signal in each wavelength band; and generating the first detection result according to the optical power of the first optical signal in each wavelength band. Detecting the second optical signal in each wavelength band to obtain a second detection result includes: detecting the second optical signal in each wavelength band to obtain the optical power of the second optical signal in each wavelength band; and generating the second detection result according to the optical power of the second optical signal in each wavelength band.

[0009] In this solution, the first detection result includes the optical power of the first optical signal in each wavelength segment, and the second detection result includes the optical power of the second optical signal in each wavelength segment. This solution detects the optical signal in each wavelength segment to obtain a detection result including the optical power of the optical signal in each wavelength segment; the quality of the optical signal including multiple wavelength segments can be judged according to the detection result. Then, the embodiment of the present application can judge the quality of the optical signal according to the optical power of each wavelength segment of the optical signal.

[0010] In a possible implementation, the first detection result includes the total optical power of multiple wavelength segments of the first optical signal, and the second detection result includes the total optical power of multiple wavelength segments of the second optical signal; if the total optical power corresponding to the first detection result is greater than the total optical power corresponding to the second detection result, the optical switch is controlled to output the first optical signal to the common end of the optical switch; if the total optical power corresponding to the first detection result is less than the total optical power corresponding to the second detection result, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

[0011] In this solution, the first detection result includes the total optical power of multiple wavelength segments of the first optical signal, and the second detection result includes the total optical power of multiple wavelength segments of the second optical signal. This solution detects the optical signal including multiple wavelength segments to obtain the detection result of the total optical power of multiple wavelength segments of the optical signal; according to the detection result, the quality of the optical signal including multiple wavelength segments can be judged, and according to the detection result, the optical switch can be controlled to select one optical signal to output to the common end of the optical switch. Then, the embodiment of the present application can judge the quality of the optical signal according to the total optical power of multiple wavelength segments of the optical signal.

[0012] In one possible implementation, the first detection result includes the spectral inclination of the first optical signal, and the second detection result includes the spectral inclination of the second optical signal; if the spectral inclination corresponding to the first detection result is smaller than the spectral inclination corresponding to the second detection result, the optical switch is controlled to output the first optical signal to the common end of the optical switch; if the spectral inclination corresponding to the first detection result is larger than the spectral inclination corresponding to the second detection result, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

[0013] In this scheme, the first detection result includes the spectral inclination of the first optical signal, and the second detection result includes the spectral inclination of the second optical signal. Among them, the spectral inclination can be calculated by the optical power corresponding to the maximum wavelength segment included in the optical signal and the optical power corresponding to the minimum wavelength segment included in the optical signal. Specifically, the difference between the optical power corresponding to the maximum wavelength segment and the optical power corresponding to the minimum wavelength segment is first calculated, and then divided by the difference between the central wavelength of the maximum wavelength segment and the central wavelength of the minimum wavelength segment, the spectral inclination of the optical signal can be obtained. This scheme can obtain the detection result including the spectral inclination of the optical signal by calculating the optical power of the optical signal of each wavelength segment; the quality of the optical signal is judged according to the detection result, and the optical switch is controlled to select a path of optical signal to output to the common end of the optical switch. Since the optical signal will be interfered by irrelevant wavelength optical signals and ASE noise during the optical fiber transmission process, the quality of the optical signal will be affected, so it is difficult to directly and accurately judge the quality of the optical signal only by the optical power. The embodiment of the present application can judge the quality of the optical signal according to the spectral inclination of the optical signal, and the judgment is more accurate.

[0014] In a possible implementation, the first detection result includes the spectral inclination of the first optical signal and the total optical power of multiple wavelength bands, and the second detection result includes the spectral inclination of the second optical signal and the total optical power of multiple wavelength bands; according to the first detection result and the second detection result, the optical switch is controlled to output the first optical signal or the second optical signal to the common end of the optical switch, including: weighted summing the spectral inclination of the first optical signal and the total optical power of the first optical signal to generate a first comparison value; weighted summing the spectral inclination of the second optical signal and the total optical power of the second optical signal to generate a second comparison value; if the first comparison value is greater than the second comparison value, controlling the optical switch to output the first optical signal to the common end of the optical switch; if the first comparison value is less than the second comparison value, controlling the optical switch to output the second optical signal to the common end of the optical switch.

[0015] In this scheme, the first detection result includes the spectral inclination and the total optical power of multiple wavelength segments, and the second detection result includes the spectral inclination of the second optical signal and the total optical power of multiple wavelength segments. Among them, the first comparison value is generated by weighted summing the spectral inclination of the first optical signal and the total optical power of the first optical signal, and the second comparison value is generated by weighted summing the spectral inclination of the second optical signal and the total optical power of the second optical signal. This scheme can obtain the detection results including the spectral inclination and the total optical power of multiple wavelength segments by detecting the optical power of the optical signal of each wavelength segment; then the parameters included in the detection result (spectral inclination and the total optical power of multiple wavelength segments) are weighted and summed to generate a comparison value; and the quality of the optical signal is judged by comparing the comparison values. Then, the embodiment of the present application can judge the quality of the optical signal according to the generated comparison value, that is, the quality of the optical signal is comprehensively judged in combination with the spectral inclination and the total optical power of multiple wavelength segments, and the reliability of the judgment is higher.

[0016] In a possible implementation, the first detection result includes a spectral slope of a first optical signal and a total optical power of a plurality of wavelength bands, and the second detection result includes a spectral slope of a second optical signal and a total optical power of a plurality of wavelength bands; and the optical switch is controlled to output the first optical signal or the second optical signal to a common end of the optical switch according to the first detection result and the second detection result, including: performing a weighted summation of the spectral slope of the first optical signal and the total optical power of the first optical signal to generate a first comparison value; performing a weighted summation of the spectral slope of the second optical signal and the total optical power of the second optical signal to generate a second comparison value; if a difference between the first comparison value and a comparison threshold is greater than a difference between the second comparison value and the comparison threshold, the optical switch is controlled to output the first optical signal to the common end of the optical switch; and if a difference between the first comparison value and the comparison threshold is less than a difference between the second comparison value and the comparison threshold, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

[0017] In this scheme, the first detection result includes the spectral inclination of the first optical signal and the total optical power of multiple wavelength segments, and the second detection result includes the spectral inclination of the second optical signal and the total optical power of multiple wavelength segments. Among them, the first comparison value is generated by weighted summing the spectral inclination of the first optical signal and the total optical power of the first optical signal, and the second comparison value is generated by weighted summing the spectral inclination of the second optical signal and the total optical power of the second optical signal. This scheme can obtain the detection results including the spectral inclination and the total optical power of multiple wavelength segments by the optical power of the optical signal of each wavelength segment detected; then the parameters (spectral inclination and the total optical power of multiple wavelength segments) included in the detection result are weighted and summed to generate a comparison value; and the quality of the optical signal is judged according to the difference obtained by comparing the comparison value with the comparison threshold. Then, the embodiment of the present application can judge the quality of the optical signal according to the difference between the generated comparison value and the comparison threshold, that is, refer to the comparison threshold, combine the spectral inclination and the total optical power of multiple wavelength segments, and comprehensively judge the quality of the optical signal. It can be understood that those skilled in the art can pre-set a reasonable comparison threshold according to actual needs.

[0018] In a possible implementation, detecting the first optical signal in each wavelength band to obtain a first detection result includes: detecting the first optical signal in each wavelength band to obtain the optical power of the first optical signal in each wavelength band; comparing the optical power of the first optical signal in each wavelength band with a first reference optical power to generate the first detection result; detecting the second optical signal in each wavelength band to obtain a second detection result includes: detecting the second optical signal in each wavelength band to obtain the optical power of the second optical signal in each wavelength band; comparing the optical power of the second optical signal in each wavelength band with a second reference optical power to generate the second detection result.

[0019] In this scheme, the first detection result includes the optical power in each wavelength segment of the first optical signal and the first reference optical power, and the second detection result includes the optical power in each wavelength segment of the second optical signal and the second reference optical power. This scheme can generate corresponding detection results by comparing the optical power of the optical signal in each wavelength segment detected with the reference optical power; and judge the quality of the optical signal based on the detection result. Then, the embodiment of the present application can judge the quality of the optical signal by comparing the optical power of the optical signal in each wavelength segment with the reference optical power, that is, combining the reference optical power and the optical power in each wavelength segment of the optical signal. It can be understood that those skilled in the art can pre-set reasonable reference optical powers (first reference optical power, second reference optical power) according to actual needs.

[0020] In a possible implementation, the first detection result includes a change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes a change value of the optical power of each wavelength segment of the second optical signal; and the optical switch is controlled according to the first detection result and the second detection result to output the first optical signal or the second optical signal to the common end of the optical switch, including: selecting the first wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal; selecting the second wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal; if the change value of the optical power of the first wavelength segment is greater than the change value of the optical power of the second wavelength segment, the optical switch is controlled to output the first optical signal or the second optical signal to the common end of the optical switch. If the optical power change value of the first wavelength segment is smaller than the optical power change value of the second wavelength segment, the optical switch is controlled to output the first optical signal to the common end of the optical switch; if the optical power change value of the first wavelength segment is smaller than the optical power change value of the second wavelength segment, the optical switch is controlled to output the first optical signal to the common end of the optical switch; wherein the first wavelength segment is a wavelength segment with the largest optical power change value in the first optical signal; the second wavelength segment is a wavelength segment with the largest optical power change value in the second optical signal; or, the first wavelength segment is a wavelength segment specified in the first optical signal; the second wavelength segment is a wavelength segment specified in the second optical signal.

[0021] In this scheme, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal; the first wavelength segment is selected according to the first detection result, and the second wavelength segment is selected according to the second detection result. Among them, the first wavelength segment is the wavelength segment with the largest change value of the optical power in the first optical signal or the wavelength segment specified in the first optical signal, and the second wavelength segment is the wavelength segment with the largest change value of the optical power in the second optical signal or the wavelength segment specified in the second optical signal. This scheme can judge the quality of the optical signal by comparing the change value of the optical power of the first wavelength segment with the change value of the optical power of the second wavelength segment. Then, the embodiment of the present application can judge the quality of the optical signal by the change value of the optical power in a wavelength segment of the optical signal, that is, combining the reference optical power and the optical power in a wavelength segment of the optical signal. It can be understood that those skilled in the art can select a wavelength segment in the first optical signal as the first wavelength segment and a wavelength segment in the second optical signal as the second wavelength segment in advance according to actual needs.

[0022] In a possible implementation, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal; according to the first detection result and the second detection result, the optical switch is controlled to output the first optical signal or the second optical signal to the common end of the optical switch, including: selecting the first wavelength segment and the second wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal; selecting the third wavelength segment and the fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal; performing weighted summation on the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment to generate a first comparison value; performing weighted summation on the change value of the optical power in the third wavelength segment and the change value of the optical power in the fourth wavelength segment to generate a second comparison value; if it is determined that the first comparison value is greater than the second comparison value, controlling the optical switch to output the second optical signal to the common end of the optical switch; if it is determined that the first comparison value is less than the second comparison value, controlling the optical switch to output the first optical signal to the common end of the optical switch; wherein the first wavelength segment is a wavelength segment in which the change value of the optical power is the largest in the first optical signal; the second wavelength segment is a wavelength segment specified in the first optical signal; the third wavelength segment is a wavelength segment in which the change value of the optical power is the largest in the second optical signal; and the fourth wavelength segment is a wavelength segment specified in the second optical signal.

[0023] In this scheme, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal. According to the first detection result, the first wavelength segment and the second wavelength segment are selected, and the second detection result selects the third wavelength segment and the fourth wavelength segment. Then, the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment are weighted and summed to generate a first comparison value, and the change value of the optical power of the third wavelength segment and the change value of the optical power of the fourth wavelength segment are weighted and summed to generate a second comparison value. By comparing the first comparison value with the second comparison value, the quality of the optical signal is judged. Then, the embodiment of the present application can judge the quality of the optical signal by the change value of the optical power of two wavelength segments in the optical signal (the wavelength segment with the largest change value of the optical power, the specified wavelength segment). It can be understood that those skilled in the art can select two wavelength segments as the first wavelength segment and the second wavelength segment in the first optical signal in advance according to actual needs, and select two wavelength segments as the third wavelength segment and the fourth wavelength segment in the second optical signal.

[0024] In a possible implementation, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal; according to the first detection result and the second detection result, the optical switch is controlled to output the first optical signal or the second optical signal to the common end of the optical switch, including: selecting the first wavelength segment and the second wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal; selecting the third wavelength segment and the fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal; performing weighted summation on the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment to generate a first comparison value; and adding the change value of the optical power of the third wavelength segment to the change value of the optical power of the second wavelength segment to generate a first comparison value. The change value of the optical power and the change value of the optical power in the fourth wavelength range are weightedly summed to generate a second comparison value; if it is determined that the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, the optical switch is controlled to output the second optical signal to the common end of the optical switch; if it is determined that the difference between the first comparison value and the comparison threshold is less than the difference between the second comparison value and the comparison threshold, the optical switch is controlled to output the first optical signal to the common end of the optical switch; wherein the first wavelength range is a wavelength range in which the change value of the optical power is the largest in the first optical signal; the second wavelength range is a wavelength range specified in the first optical signal; the third wavelength range is a wavelength range in which the change value of the optical power is the largest in the second optical signal; and the fourth wavelength range is a wavelength range specified in the second optical signal.

[0025] In this scheme, the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment are weighted and summed to generate a first comparison value, and the change value of the optical power of the third wavelength segment and the change value of the optical power of the fourth wavelength segment are weighted and summed to generate a second comparison value. The quality of the optical signal is judged by comparing the first comparison value, the second comparison value and the comparison threshold. Then, the embodiment of the present application can generate a comparison value through the change value of the optical power of two wavelength segments in the optical signal (the wavelength segment with the largest change value of the optical power and the specified wavelength segment), and then compare the generated comparison value with the comparison threshold, that is, combine the generated comparison value with the comparison threshold to judge the quality of the optical signal. It can be understood that a technician in this field can pre-set a reasonable comparison threshold according to actual needs.

[0026] In a second aspect, a signal processing device is provided, which includes an interface circuit and a processor; the processor controls the interface circuit to execute the signal processing method described in the first aspect.

[0027] In a third aspect, a receiving end device is provided. The receiving end device includes: a signal processing device, an optical switch, and a first coupler and a second coupler; wherein the signal processing device includes the signal processing device as described in the second aspect; the input end of the first coupler is coupled to the first optical fiber, one output end of the first coupler is coupled to the first detection circuit of the signal processing device, and the other output end of the first coupler is connected to the optical switch; the input end of the second coupler is coupled to the second optical fiber, one output end of the second coupler is coupled to the second detection circuit of the signal processing device, and the other output end of the second coupler is connected to the optical switch; the output end of the signal processing device is connected to the control end of the optical switch.

[0028] In a fourth aspect, an optical communication network is provided. The signal processing device comprises: a transmitting end device, a receiving end device, a first optical fiber connected between the transmitting end device and the receiving end device, and a second optical fiber connected between the transmitting end device and the receiving end device; wherein the receiving end device comprises the receiving end device as described in the third aspect.

[0029] Among them, the technical effects brought about by any design method in the second to fourth aspects can refer to the technical effects brought about by different design methods in the above-mentioned first aspect and possible implementation methods of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of an optical communication network provided for an embodiment of the present application;

[0031] Figure 2 A schematic diagram of an optical communication network provided for another embodiment of the present application;

[0032] Figure 3 A schematic diagram of an optical communication network provided for another embodiment of the present application;

[0033] Figure 4 A schematic diagram of an optical communication network provided for yet another embodiment of the present application;

[0034] Figure 5 A schematic diagram of an optical communication network provided for another embodiment of the present application;

[0035] Figure 6 A schematic diagram of a signal processing method provided in an embodiment of the present application;

[0036] Figure 7 A schematic diagram of a signal processing device provided in an embodiment of the present application;

[0037] Figure 8 A schematic diagram of a signal processing method provided for another embodiment of the present application;

[0038] Fig. 9 A schematic diagram of a signal processing method provided for yet another embodiment of the present application;

[0039] Fig.10 A schematic diagram of a signal processing method provided for yet another embodiment of the present application;

[0040] Fig.11 A schematic diagram of a signal processing method provided for yet another embodiment of the present application;

[0041] Fig.12 A schematic diagram of a signal processing method provided for another embodiment of the present application;

[0042] Fig.13 A schematic diagram of a signal processing method provided for yet another embodiment of the present application;

[0043] Fig.14 A schematic diagram of a signal processing method provided for yet another embodiment of the present application;

[0044] Fig.15 A schematic diagram of a signal processing device provided in accordance with another embodiment of the present application;

[0045] Fig.16 A schematic diagram of an optical communication network provided for an embodiment of the present application. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0047] Unless otherwise defined, all technical terms used herein have the same meanings as those known to those of ordinary skill in the art. In the embodiments of the present application, words such as "first", "second", etc. do not limit the quantity and order.

[0048] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0050] For example, refer to Figure 1As shown, an embodiment of the present application provides a schematic diagram of an optical communication network. The optical communication network includes: a transmitting end device, a receiving end device, and an optical transmission channel. The transmitting end device includes an optical transmitter, the receiving end device includes an optical receiver, and the optical transmission channel includes an optical fiber line (composed of an optical fiber, an optical fiber connector, and an optical fiber connector, etc., Figure 1 (not shown) and one or more optical amplifiers. Figure 1 As shown, in an optical communication network, an optical signal output by a transmitting device is transmitted to a receiving device via an optical transmission line. Specifically, a transmitting device (e.g., an optical transmitter) outputs an optical signal; the optical signal is transmitted along an optical fiber line and transmitted to a receiving device (e.g., an optical receiver); and the receiving device receives the optical signal. In order to ensure that the optical signal can be transmitted normally along the optical fiber line, multiple amplifiers can be deployed along the optical fiber line to perform multi-stage amplification of the optical signal. However, in the process of transmitting optical signals along the optical fiber line, the optical fiber line failure often causes transmission interruption, which seriously affects the transmission quality of the optical communication network.

[0051] OLP technology is safe, reliable, and has fast fault recovery. It can deal with the problem of transmission interruption caused by fiber line failure in a highly efficient and low-cost manner. By adopting OLP technology, it is possible to protect the fiber line and avoid transmission interruption. For example, refer to Figure 2 As shown, an embodiment of the present application provides a schematic diagram of an optical communication network. Figure 2 In the optical communication network shown, the sending end device includes an optical transmitter and a coupler, and the receiving end device includes an optical switch and an optical receiver.

[0052] Specifically, in the optical communication network, the optical transmitter outputs an optical signal, which is divided into two optical signals by a coupler; the two optical signals are transmitted to the receiving device through two optical fiber lines respectively; the receiving device receives the two optical signals, wherein the optical switch selects the optical signal with better quality among the two optical signals and outputs it to the optical receiver for reception. In this way, the two optical signals output by the transmitting device can be transmitted to the receiving device through two optical fiber lines (for example, one main optical fiber line and one backup optical fiber line), thereby backing up the optical signals. Then, when the optical communication network using OLP technology faces the problem of transmission interruption caused by optical fiber line failure, it can protect the optical fiber line of the optical signal by performing fast (within 50ms) switching (that is, quickly selecting the optical signal transmitted by one of the two optical fiber lines for reception). Since the quality of the optical signal can be judged to a certain extent according to the optical power of the optical signal (the higher the optical power, the better the optical signal quality), it is necessary to detect the optical power of the optical signal, and judge the quality of the two optical signals received by the receiving device according to the detected optical power of the optical signal. Combined with Figure 2As shown, the receiving end device will control the optical switch to select the optical signal with higher optical power (better quality) for reception according to the optical power of the two optical signals detected. However, with the continuous development of optical communication related technologies, the wavelength of optical signals has gradually evolved to the C+L band, and the quality of optical signals cannot be directly judged only by optical power. For example, when the business signals in the transmitted optical signal are mainly concentrated in certain bands (target bands) in the optical signal, the receiving end device detects that the total optical power of one optical signal is higher than the total optical power of another optical signal, but the optical power of the optical signal with higher total optical power in the target band is not higher than the optical power of the other optical signal in the target band. Therefore, it is difficult to judge the quality of the optical signal only by the optical power of the optical signal, and this switching scheme based on the optical power of the optical signal is inaccurate.

[0053] To address this problem, the transmitting device usually modulates the output optical signal by adding a modulation frequency, and the receiving device performs fast Fourier transform on the received optical signal for demodulation, thereby determining the quality of optical signals including multiple wavelengths by optical power. Figure 3 As shown, an embodiment of the present application provides a schematic diagram of an optical communication network. Figure 3 The optical communication network shown includes a transmitting device, a main optical fiber line, a backup optical fiber line, and a receiving device. Among them, the transmitting device includes an active antenna unit (AAU) and a remote box, and the receiving device includes a monitoring board (including an optical switch, an optical power detection module, and an AAU). It should be noted that the AAU is an active antenna unit formed by integrating a radio remote unit (RRU) deployed on a remote signal tower in the transmission network with an antenna (AU) at a closer distance.

[0054] Specifically, in the optical communication network, two optical signals are modulated by adding modulation frequencies through the transmitting device, and then output to two optical fiber lines (a main optical fiber line and a backup optical fiber line); the two optical signals are transmitted to the receiving device along the two optical fiber lines respectively; the receiving device receives the two optical signals, and demodulates the received two optical signals through fast Fourier transform; the optical power of the two optical signals is then detected through the optical power detection module deployed on the monitoring board, and the optical power of the detected optical signal at different frequency points is compared with the threshold value to realize the quality judgment of the two optical signals; and the optical switch deployed on the monitoring board selects the output of the optical signal transmitted by the backup optical fiber line. Among them, combined with Figure 3As shown, the optical power of the optical signal transmitted by the detected main optical fiber line at different frequencies is lower than the standard value, and the optical power of the optical signal transmitted by the detected backup optical fiber line at different frequencies is higher than the standard value. Therefore, it can be judged that the quality of the optical transmission signal transmitted by the main optical fiber line is poor, and thus it can be judged that the main optical fiber line is abnormal.

[0055] Since it is necessary to modulate the output optical signal by adding a modulation frequency at the transmitting end and to perform Fourier transform and demodulate the received optical signal at the receiving end, it is necessary to deploy additional modulation devices and demodulation devices. This will increase the deployment cost of the optical communication network. In addition, since this solution requires modulation at the transmitting end and demodulation through Fourier transform and other operations at the receiving end, the solution is relatively complex and not conducive to implementation.

[0056] In addition, the optical signal will be interfered by the irrelevant wavelength optical signal during the transmission along the optical fiber line. Figure 4 As shown, an embodiment of the present application provides a schematic diagram of an optical communication network. The optical communication network can suppress the interference of irrelevant wavelength optical signals on optical transmission signals by deploying specific wavelength filters. Figure 4 The optical communication network shown includes: a transmitting end device, two couplers ( Figure 4 401-1, 401-2), two specific wavelength filters ( Figure 4 402-1, 402-2) and the optical switch ( Figure 4 403 in the above example).

[0057] Specifically, the transmitting end device generates and outputs two optical signals, and transmits the two optical signals to the coupler 401-1 and the coupler 401-2 respectively; the coupler 401-1 receives one optical signal, transmits a part (for example, 5%) of the received optical signal to the specific wavelength filter 402-1, and transmits the remaining part (for example, 95%) of the received optical signal to the optical switch 403; the coupler 401-2 receives the other optical signal, transmits a part (for example, 5%) of the received optical signal to the specific wavelength filter 402-2, and transmits the remaining part (for example, 95%) of the received optical signal to the optical switch 403; the optical switch 403 receives the two optical signals output by the coupler 401-1 and the coupler 401-2 respectively, and selects one optical signal to output.

[0058] This solution can obtain an irrelevant wavelength optical signal from an optical signal by deploying a specific wavelength filter. The irrelevant wavelength optical signal can be used to determine the impact of the irrelevant wavelength optical signal on the quality (e.g., optical power) of the optical signal, thereby suppressing the interference of the irrelevant wavelength optical signal on the optical signal. However, this solution only suppresses the interference of the irrelevant wavelength optical signal on the optical signal, and cannot suppress the flatness of the optical signal itself and the interference of ASE noise on the optical signal.

[0059] It should be noted that, due to the large difference in optical power of the optical signals of multiple wavelengths included in the optical signal, nonlinear effects will occur during the long-distance transmission of the optical signal, resulting in degradation of the flatness of the optical signal itself, which seriously affects the performance of the optical communication network. In order to avoid the impact of the degradation of the flatness of the optical signal itself on the transmission quality, it is necessary to suppress the degradation of the flatness of the optical signal itself. Among them, the flatness of the optical signal itself includes the optical power flatness of the optical signal. Specifically, the optical power value corresponding to the optical signal of each wavelength included in the optical signal is detected; the average optical power of the optical signals of all wavelengths after the optical signal passes through the optical amplifier is detected and calculated; then, the difference between the optical power value corresponding to the optical signal of each wavelength and the average optical power of the optical signals of all wavelengths is calculated; the absolute value of each calculated difference is taken, and the maximum value is the value of the optical power flatness of the optical signal (the flatness of the optical signal itself). In addition, the noise of the amplifier itself (amplifier spontaneous emission noise, i.e., ASE noise) will also interfere with the optical signal. Reference Figure 1 In the architecture shown, since the optical signal passes through one or more optical amplifiers during transmission along the optical fiber line, the optical signal will be interfered by the one or more optical amplifiers, and the quality of the optical signal will be seriously affected.

[0060] Since the optical signal will be affected by the flatness of the optical signal itself and the ASE noise during the transmission along the optical fiber line, it is necessary to scan the optical signal wave by wave. To address this problem, the optical signal is usually scanned wave by wave by adding an adjustable filter. For example, refer to Figure 5 As shown, an embodiment of the present application provides a schematic diagram of an optical communication network. Figure 5 The optical communication network shown includes: two couplers ( Figure 5 501-1, 501-2), adjustable filter ( Figure 5 502) and optical switches ( Figure 5 503 in the above).

[0061] Specifically, a portion of the optical signal (including λ1, λ2, ..., λ kThe optical switch 503 directly transmits a part of the optical signal with multiple wavelengths to an input end of the optical switch 503, and the other part of the optical signal is transmitted to the coupler 501-1; the coupler 501-1 divides the received optical signal into k optical signals corresponding to different wavelengths according to the wavelength, and transmits them to each input end of the optical switch 503 respectively; the optical switch 503 exchanges the k received optical signals corresponding to different wavelengths and a part of the optical signal to each output end, and outputs the k received optical signals corresponding to different wavelengths to the coupler 501-2 through each output end, and outputs a part of the optical signal to the tunable filter 502; the tunable filter 502 scans the optical signal wave by wave and outputs it.

[0062] This solution can scan the various wavelengths included in the optical signal by adding tunable filters, thereby monitoring the quality of the optical signal (the flatness of the optical signal itself and the interference of ASE noise). However, limited by the scanning speed of the tunable filter, the tunable filter needs a long time to scan the optical signal and monitor the quality of the optical signal. Specifically, since the tunable filter takes a long time to scan the optical signal, the optical switch takes a long time (more than 50ms) to switch according to the quality of the optical signal, and fast switching cannot be achieved. Therefore, the use of this solution may affect the transmission speed of the optical signal in the optical communication network, resulting in delays and affecting the performance of the optical communication network.

[0063] Based on the above, refer to Figure 6 As shown, an embodiment of the present application provides a signal processing method. The signal processing method is applied to a receiving end device of an optical signal, and can comprehensively judge the quality of the optical signal through signal processing to improve the accuracy of switching. For example, refer to Figure 7 As shown, an embodiment of the present application provides a schematic diagram of a signal processing device. Figure 6 The signal processing method shown can be Figure 7 The signal processing device shown is implemented. Figure 7 The signal processing device 10 shown includes: a first detection circuit ( Figure 7 701 in), the second detection circuit ( Figure 7 702 in), processor ( Figure 7 703 in), optical switch ( Figure 7 704 in ). Of course, Figure 7 The structure of the signal processing device shown does not limit the signal processing method, that is, when the method is implemented using other forms of signal processing devices, it should also fall within the protection scope of the present application. Figure 7 Just for the purpose of explanation Figure 6 A feasible architecture of a signal processing device is given based on the signal processing method shown. Figure 7 The architecture shown, refer to Figure 6As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0064] Step 601: Acquire a first optical signal output by a first optical fiber and a second optical signal output by a second optical fiber.

[0065] Specifically, refer to Figure 7 As shown, the signal processing device 10 is used to obtain a first optical signal output by a first optical fiber and a second optical signal output by a second optical fiber, wherein the first optical signal and the second optical signal both include multiple wavelength segments.

[0066] Step 602: Detect a first optical signal in each wavelength band to obtain a first detection result.

[0067] Reference Figure 7 As shown, the signal processing device 10 is used to detect the first optical signal in each wavelength band to obtain a first detection result. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to detect the first optical signal in each wavelength band to obtain the optical power of the first optical signal in each wavelength band; and obtain the first detection result according to the detected optical power of the first optical signal in each wavelength band.

[0068] Step 603: Detect the second optical signal in each wavelength band to obtain a second detection result.

[0069] Reference Figure 7 As shown, the signal processing device 10 is used to detect the second optical signal in each wavelength band to obtain a second detection result. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to detect the second optical signal in each wavelength band to obtain the optical power of the second optical signal in each wavelength band; and obtain the second detection result according to the detected optical power of the second optical signal in each wavelength band.

[0070] Step 604: Control the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result.

[0071] Reference Figure 7As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result. Specifically, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result. It should be noted that the embodiment of the present application does not limit the sequence of step 602 and step 603, that is, step 602 and step 603 can be implemented simultaneously, or step 602 is before step 603, or step 602 is after step 603. It should be clear that when step 602 and step 603 are implemented simultaneously, it is more conducive to improving the response speed of the optical switch in step 604.

[0072] It should be noted that only the first detection circuit 701 and the second detection circuit 702 are used as examples. Figure 6 In a possible implementation, the first detection circuit 701 and the second detection circuit 702 both include a band-dividing photodetector (photodiode, PD) for performing band-dividing detection on the optical signal in each wavelength band.

[0073] Then, with the continuous development of optical communication related technologies, the wavelength of the transmitted optical signal gradually evolves to the C+L band. The embodiments of the present application can detect the optical signals of multiple wavelength segments respectively by wavelength segment, and make a comprehensive judgment on the quality of the optical signal through the detection results. In this way, the embodiments of the present application can realize the detection of broadband optical signals by wavelength segment and improve the accuracy of switching.

[0074] In addition, since the signal processing method provided by the embodiment of the present application does not need to be implemented by deploying a modem, an adjustable filter, or an optical switch, Figure 7 The detection circuit (the first detection circuit and the second detection circuit) shown in the figure can be implemented by means of a band detection PD. Therefore, by adopting the signal processing method provided in the embodiment of the present application, the deployment cost of the optical communication network can be reduced.

[0075] Based on the above, refer to Figure 8 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can generate a first detection result and a second detection result according to the optical power in each wavelength segment of the detected first optical signal and the second optical signal. The first detection result includes the total optical power of multiple wavelength segments of the first optical signal, and the second detection result includes the total optical power of multiple wavelength segments of the second optical signal. Figure 8 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0076] based on Figure 7 The architecture shown, refer to Figure 8 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0077] Step 701: Obtain the total optical power of multiple wavelength segments of a first optical signal and the total optical power of multiple wavelength segments of a second optical signal.

[0078] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the total optical power of multiple wavelength segments of the first optical signal and the total optical power of multiple wavelength segments of the second optical signal. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the total optical power of multiple wavelength segments of the first optical signal; the signal processing device 10 includes a second detection circuit 702, which is used to obtain the total optical power of multiple wavelength segments of the second optical signal.

[0079] Step 702: Obtain a first detection result and a second detection result.

[0080] Reference Figure 7 As shown, the signal processing device 10 is used to obtain a first detection result and a second detection result according to the total optical power of multiple wavelength segments of the first optical signal and the total optical power of multiple wavelength segments of the second optical signal. Specifically, the signal processing device 10 includes a processor 703, which is used to obtain the first detection result according to the total optical power of multiple wavelength segments of the first optical signal; and obtain the second detection result according to the total optical power of multiple wavelength segments of the second optical signal.

[0081] Step 703: judge the first detection result and the second detection result.

[0082] Reference Figure 7 As shown, the signal processing device 10 is used to judge the first detection result and the second detection result. Specifically, the signal processing device 10 includes a processor 703, which is used to judge the first detection result and the second detection result.

[0083] Step 704: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0084] If it is determined that the total optical power corresponding to the first detection result is greater than the total optical power corresponding to the second detection result, refer to Figure 7As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, when it is determined that the total optical power corresponding to the first detection result is greater than the total optical power corresponding to the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0085] Step 705: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0086] If it is determined that the total optical power corresponding to the first detection result is less than the total optical power corresponding to the second detection result, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, when it is determined that the total optical power corresponding to the first detection result is less than the total optical power corresponding to the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0087] It should be noted that the processor 703 can also be used to preset the scheme for the signal processing device to judge and perform switching. In one possible implementation, the scheme for the signal processing device 10 to judge and perform switching is preset by the processor 703 as follows: if it is judged that the total optical power corresponding to the first detection result is greater than the total optical power corresponding to the second detection result, the signal processing device 10 controls the optical switch to output the second optical signal to the common end of the optical switch; if it is judged that the total optical power corresponding to the first detection result is less than the total optical power corresponding to the second detection result, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Then, the embodiments of the present application can provide a variety of switching schemes by preset, so as to match with different application scenarios, and can improve the accuracy of switching.

[0088] Then, the first detection result of the embodiment of the present application includes the total optical power of multiple wavelength segments of the first optical signal, and the second detection result includes the total optical power of multiple wavelength segments of the second optical signal. In this way, by detecting the optical signal including multiple wavelength segments, the detection result of the total optical power of multiple wavelength segments of the optical signal is obtained; according to the detection result, the quality of the optical signal including multiple wavelength segments can be judged, and according to the detection result, the optical switch can be controlled to select one optical signal to output to the common end of the optical switch. Then, the embodiment of the present application can judge the quality of the optical signal according to the total optical power of multiple wavelength segments of the optical signal.

[0089] Based on the above, refer to Fig. 9As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can obtain the spectral inclination of the first optical signal and the spectral inclination of the second optical signal according to the optical power in each wavelength segment of the detected first optical signal and the second optical signal, and obtain a first detection result and a second detection result. The first detection result includes the spectral inclination of the first optical signal, and the second detection result includes the spectral inclination of the second optical signal. Fig. 9 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0090] based on Figure 7 The architecture shown, refer to Fig. 9 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0091] Step 801: Obtain a spectral slope of a first optical signal and a spectral slope of a second optical signal.

[0092] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the spectral inclination of the first optical signal and the spectral inclination of the second optical signal. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the spectral inclination of the first optical signal; the signal processing device 10 includes a second detection circuit 702, which is used to obtain the spectral inclination of the second optical signal.

[0093] Step 802: Obtain a first detection result and a second detection result.

[0094] Reference Figure 7 As shown, the signal processing device 10 is used to obtain a first detection result and a second detection result according to the spectral inclination of the first optical signal and the spectral inclination of the second optical signal. Specifically, the signal processing device 10 includes a processor 703, which is used to obtain the first detection result according to the spectral inclination of the first optical signal; and obtain the second detection result according to the spectral inclination of the second optical signal.

[0095] Step 803: judge the first detection result and the second detection result.

[0096] Reference Figure 7 As shown, the signal processing device 10 is used to judge the first detection result and the second detection result. Specifically, the signal processing device 10 includes a processor 703, which is used to judge the first detection result and the second detection result.

[0097] Step 804: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0098] If it is determined that the spectral inclination corresponding to the first detection result is less than the spectral inclination corresponding to the second detection result, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if it is determined that the spectrum inclination corresponding to the first detection result is less than the spectrum inclination corresponding to the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0099] Step 805: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0100] If it is determined that the spectral inclination corresponding to the first detection result is greater than the spectral inclination corresponding to the second detection result, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if it is determined that the spectrum inclination corresponding to the first detection result is greater than the spectrum inclination corresponding to the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0101] Then, the first detection result in the embodiment of the present application includes the spectral inclination of the first optical signal, and the second detection result includes the spectral inclination of the second optical signal. Figure 7 As shown in the dashed box in FIG, the spectral slope can be determined by the optical power corresponding to the maximum wavelength band included in the optical signal ( Figure 7 P2 in ) and the optical power corresponding to the minimum wavelength segment included in the optical signal ( Figure 7 Specifically, first calculate the difference between the optical power corresponding to the maximum wavelength segment and the optical power corresponding to the minimum wavelength segment (i.e., P1-P2), and then divide it by the central wavelength of the maximum wavelength segment ( Figure 7 λ2) and the center wavelength of the minimum wavelength segment ( Figure 7 By calculating the difference between λ1 and λ2 in the optical signal spectrum (i.e., λ1-λ2), the spectral inclination of the optical signal can be obtained, which is (P1-P2) / (λ1-λ2). In this way, through the optical power of the optical signal in each wavelength segment, the detection result including the spectral inclination of the optical signal can be obtained by calculation; the quality of the optical signal is judged according to the detection result, and the optical switch is controlled to select one optical signal to output to the common end of the optical switch. Since the optical signal will be interfered by irrelevant wavelength optical signals and ASE noise during the optical fiber transmission process, the quality of the optical signal will be affected. Therefore, it is difficult to directly and accurately judge the quality of the optical signal only by the optical power. The embodiments of the present application can judge the quality of the optical signal according to the spectral inclination of the optical signal, and the accuracy of the judgment is higher.

[0102] Based on the above, refer to Fig.10 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can obtain a first detection result based on the acquired spectral inclination of the first optical signal and the total optical power of multiple wavelength segments, and obtain a second detection result based on the acquired spectral inclination of the second optical signal and the total optical power of multiple wavelength segments. A first comparison value is generated based on the first detection result, and a second comparison value is generated based on the second detection result. The first detection result includes the spectral inclination of the first optical signal and the total optical power of multiple wavelength segments, and the second detection result includes the spectral inclination of the second optical signal and the total optical power of multiple wavelength segments. Fig.10 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0103] based on Figure 7 The architecture shown, refer to Fig.10 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0104] Step 901: Obtain the spectrum slope of a first optical signal and the total optical power of multiple wavelength segments.

[0105] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the spectral tilt of the first optical signal and the total optical power of multiple wavelength segments. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the spectral tilt of the first optical signal and the total optical power of multiple wavelength segments.

[0106] Step 902: Obtain the spectrum slope of the second optical signal and the total optical power of multiple wavelength segments.

[0107] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the spectrum tilt of the second optical signal and the total optical power of multiple wavelength segments. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to obtain the spectrum tilt of the second optical signal and the total optical power of multiple wavelength segments.

[0108] Step 903: Obtain a first detection result.

[0109] Reference Figure 7 As shown, the signal processing device 10 is used to obtain a first detection result based on the spectral inclination of the acquired first optical signal and the total optical power of multiple wavelength segments. Specifically, the signal processing device 10 includes a processor 703, which is used to obtain a first detection result based on the spectral inclination of the acquired first optical signal and the total optical power of multiple wavelength segments.

[0110] Step 904: Obtain a second detection result.

[0111] Reference Figure 7 As shown, the signal processing device 10 is used to obtain a second detection result based on the spectral inclination of the acquired second optical signal and the total optical power of multiple wavelength segments. Specifically, the signal processing device 10 includes a processor 703, which is used to obtain a second detection result based on the spectral inclination of the acquired second optical signal and the total optical power of multiple wavelength segments.

[0112] Step 905: Generate a first comparison value according to the first detection result, and generate a second comparison value according to the second detection result.

[0113] Reference Figure 7 As shown, the signal processing device 10 is used to generate a first comparison value according to the first detection result, and to generate a second comparison value according to the second detection result. Specifically, the signal processing device 10 includes a processor 703, which is used to perform a weighted summation of the spectral inclination of the first optical signal and the total optical power of the first optical signal to generate the first comparison value; and is also used to perform a weighted summation of the spectral inclination of the second optical signal and the total optical power of the second optical signal to generate the second comparison value.

[0114] Step 906: Compare the first comparison value, the second comparison value and the comparison threshold.

[0115] Reference Figure 7 As shown, the signal processing device 10 is used to compare the first comparison value, the second comparison value and the comparison threshold. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the first comparison value, the second comparison value and the comparison threshold.

[0116] Step 907: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0117] If it is determined that the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if it is determined that the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0118] Step 908: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0119] If it is determined that the difference between the first comparison value and the comparison threshold is less than the difference between the second comparison value and the comparison threshold, refer to Figure 7As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if it is determined that the difference between the first comparison value and the comparison threshold is less than the difference between the second comparison value and the comparison threshold, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0120] It should be noted that the above step 906 is to compare the first comparison value, the second comparison value and the comparison threshold. In a possible implementation, step 906 can also be to judge the first comparison value and the second comparison value. Then, combined with Fig.10 As shown, another possible implementation of the above steps 906 to 908 is described.

[0121] Step 906: judge the first comparison value and the second comparison value.

[0122] Reference Figure 7 As shown, the signal processing device 10 is used to judge the first comparison value and the second comparison value. Specifically, the signal processing device 10 includes a processor 703, which is used to judge the first comparison value and the second comparison value.

[0123] Step 907: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0124] If it is determined that the first comparison value is greater than the second comparison value, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if it is determined that the first comparison value is greater than the second comparison value, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0125] Step 908: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0126] If it is determined that the first comparison value is less than the second comparison value, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if it is determined that the first comparison value is less than the second comparison value, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0127] Then, the embodiments of the present application can judge the quality of the optical signal based on the generated comparison value, that is, comprehensively judge the quality of the optical signal in combination with the spectral slope and the total optical power of multiple wavelength segments, and the reliability of the judgment is higher.

[0128] In addition, the embodiment of the present application can judge the quality of the optical signal according to the difference between the generated comparison value and the comparison threshold, that is, referring to the comparison threshold, combining the spectral inclination and the total optical power of multiple wavelength segments, and comprehensively judging the quality of the optical signal. It is understandable that a person skilled in the art can pre-set a reasonable comparison threshold according to actual needs. Specifically, a person skilled in the art can preset the comparison threshold through the processor 703.

[0129] Based on the above, refer to Fig.11 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can generate a first detection result based on the comparison of the optical power of the first optical signal acquired in each wavelength band with the first reference optical power, and generate a second detection result based on the comparison of the optical power of the second optical signal acquired in each wavelength band with the second reference optical power. The first detection result includes the optical power of the first optical signal in each wavelength band, and the second detection result includes the optical power of the second optical signal in each wavelength band. Fig.11 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0130] based on Figure 7 The architecture shown, refer to Fig.11 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0131] Step 1001: Obtain the optical power of a first optical signal in each wavelength band.

[0132] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the optical power of the first optical signal in each wavelength band. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the optical power of the first optical signal in each wavelength band.

[0133] Step 1002: Obtain the optical power of the second optical signal in each wavelength band.

[0134] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the optical power of the second optical signal in each wavelength band. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to obtain the optical power of the second optical signal in each wavelength band.

[0135] Step 1003: Compare with the first reference optical power to generate a first detection result, and compare with the second reference optical power to generate a second detection result.

[0136] Reference Figure 7 As shown, the signal processing device 10 is used to compare the optical power of the acquired first optical signal in each wavelength band with the first reference optical power to generate a first detection result; and compare the optical power of the acquired second optical signal in each wavelength band with the second reference optical power to generate a second detection result. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the optical power of the acquired first optical signal in each wavelength band with the first reference optical power to generate a first detection result; and compare the optical power of the acquired second optical signal in each wavelength band with the second reference optical power to generate a second detection result.

[0137] Step 1004: Compare the first detection result and the second detection result with the threshold.

[0138] Reference Figure 7 As shown, the signal processing device 10 is used to compare the first detection result and the second detection result with a threshold. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the first detection result and the second detection result with a threshold.

[0139] Step 1005: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0140] If it is determined that the first test result is greater than the second test result, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if it is determined that the first detection result is greater than the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0141] Step 1006: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0142] If it is determined that the first test result is less than the second test result, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if it is determined that the first detection result is less than the second detection result, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0143] Then, the embodiment of the present application can judge the quality of the optical signal by the optical power in each wavelength segment of the optical signal, that is, combining the reference optical power and the optical power in each wavelength segment of the optical signal. It is understandable that those skilled in the art can pre-set reasonable reference optical powers (first reference optical power, second reference optical power) according to actual needs.

[0144] Based on the above, refer to Fig.12 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can obtain the change value of the optical power of each wavelength segment of the first optical signal and the change value of the optical power of each wavelength segment of the second optical signal, and select the first wavelength segment and the second wavelength segment. Among them, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the first optical signal. Among them, Fig.12 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0145] based on Figure 7 The architecture shown, refer to Fig.12 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0146] Step 1101: Obtain a change value of the optical power of each wavelength band of a first optical signal.

[0147] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the first optical signal. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the change value of the optical power of each wavelength segment of the first optical signal.

[0148] Step 1102: Obtain a change value of the optical power of each wavelength segment of the second optical signal.

[0149] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the second optical signal. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to obtain the change value of the optical power of each wavelength segment of the second optical signal.

[0150] Step 1103: Select a first wavelength range and a second wavelength range.

[0151] Reference Figure 7 As shown, the signal processing device 10 is used to select a first wavelength segment and a second wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to select the first wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal; and is also used to select the second wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal.

[0152] It should be noted that the first wavelength segment is a wavelength segment in which the optical power change value is the largest in the first optical signal; the second wavelength segment is a wavelength segment in which the optical power change value is the largest in the second optical signal; or, the first wavelength segment is a wavelength segment specified in the first optical signal; the second wavelength segment is a wavelength segment specified in the second optical signal.

[0153] Step 1104: Compare the first wavelength range with the second wavelength range.

[0154] Reference Figure 7 As shown, the signal processing device 10 is used to compare the first wavelength segment with the second wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the change value of the optical power of the first wavelength segment with the change value of the optical power of the second wavelength segment.

[0155] Step 1105: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0156] If the change value of the optical power in the first wavelength range is greater than the change value of the optical power in the second wavelength range, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if it is determined that the change value of the optical power in the first wavelength range is greater than the change value of the optical power in the second wavelength range, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0157] Step 1106: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0158] If the change value of the optical power in the first wavelength range is smaller than the change value of the optical power in the second wavelength range, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if it is determined that the change value of the optical power in the first wavelength range is less than the change value of the optical power in the second wavelength range, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0159] Then, the embodiment of the present application can judge the quality of the optical signal by the change value of the optical power in a wavelength segment of the optical signal, that is, combining the reference optical power and the optical power in a wavelength segment of the optical signal. It can be understood that those skilled in the art can select a wavelength segment in the first optical signal as the first wavelength segment and select a wavelength segment in the second optical signal as the second wavelength segment in advance according to actual needs.

[0160] When the business signal in the transmitted optical signal is mainly concentrated in certain bands (target bands) in the optical signal, since the embodiments of the present application can judge the quality of the optical signal by the change value of the optical power within a wavelength band of the optical signal, by adopting the signal processing method described in the embodiments of the present application, it is possible to judge the quality of the optical signal by the optical power of the optical signal in a wavelength band (target band) with higher accuracy.

[0161] Based on the above, refer to Fig.13 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can obtain the change value of the optical power of each wavelength segment of the first optical signal, and select the first wavelength segment and the second wavelength segment; obtain the change value of the optical power of each wavelength segment of the second optical signal, and select the third wavelength segment and the fourth wavelength segment. Among them, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal. Among them, Fig.13 The signal processing method shown can be Figure 7 The signal processing device shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0162] based on Figure 7 The architecture shown, refer to Fig.13 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0163] Step 1201: Obtain a change value of the optical power of each wavelength band of a first optical signal.

[0164] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the first optical signal. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the change value of the optical power of each wavelength segment of the first optical signal.

[0165] Step 1202: Obtain a change value of the optical power of each wavelength segment of the second optical signal.

[0166] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the second optical signal. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to obtain the change value of the optical power of each wavelength segment of the second optical signal.

[0167] Step 1203: Select a first wavelength range and a second wavelength range.

[0168] Reference Figure 7As shown, the signal processing device 10 is used to select the first wavelength segment and the second wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to select the first wavelength segment and the second wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal.

[0169] It should be noted that the first wavelength range is a wavelength range in which the optical power variation value is the largest in the first optical signal; and the second wavelength range is a specified wavelength range in the first optical signal.

[0170] Step 1204: Select a third wavelength range and a fourth wavelength range.

[0171] Reference Figure 7 As shown, the signal processing device 10 is used to select the third wavelength segment and the fourth wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to select the third wavelength segment and the fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal.

[0172] It should be noted that the third wavelength segment is a wavelength segment in which the optical power variation value is the largest in the second optical signal; and the fourth wavelength segment is a specified wavelength segment in the second optical signal.

[0173] Step 1205: Generate a first comparison value and a second comparison value.

[0174] Reference Figure 7 As shown, the signal processing device 10 is used to generate a first comparison value and a second comparison value. Specifically, the signal processing device 10 includes a processor 703, which is used to perform a weighted summation of the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment to generate the first comparison value; and is also used to perform a weighted summation of the change value of the optical power of the third wavelength segment and the change value of the optical power of the fourth wavelength segment to generate the second comparison value.

[0175] Step 1206: Compare the first comparison value with the second comparison value.

[0176] Reference Figure 7 As shown, the signal processing device 10 is used to compare the first comparison value with the second comparison value. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the first comparison value with the second comparison value.

[0177] Step 1207: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0178] If the first comparison value is greater than the second comparison value, refer to Figure 7As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if the first comparison value is greater than the second comparison value, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0179] Step 1208: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0180] If the first comparison value is less than the second comparison value, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if the first comparison value is less than the second comparison value, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0181] Then, the embodiment of the present application can judge the quality of the optical signal by the change value of the optical power of two wavelength segments (the wavelength segment with the largest change value of the optical power and the specified wavelength segment) in the optical signal. It can be understood that those skilled in the art can select two wavelength segments as the first wavelength segment and the second wavelength segment in the first optical signal in advance according to actual needs, and select two wavelength segments as the third wavelength segment and the fourth wavelength segment in the second optical signal.

[0182] In addition, the embodiment of the present application can generate a comparison value through the change value of the optical power of two wavelength segments (the wavelength segment with the largest change value of the optical power and the specified wavelength segment) in the optical signal, and then compare the generated comparison value with the comparison threshold, that is, combine the generated comparison value with the comparison threshold to judge the quality of the optical signal. Specifically, those skilled in the art can preset the comparison threshold through the processor 703.

[0183] Based on the above, refer to Fig.14 As shown, an embodiment of the present application also provides a signal processing method. The signal processing method can obtain the change value of the optical power of each wavelength segment of the first optical signal, and select the first wavelength segment and the second wavelength segment; obtain the change value of the optical power of each wavelength segment of the second optical signal, and select the third wavelength segment and the fourth wavelength segment. Among them, the first detection result includes the change value of the optical power of each wavelength segment of the first optical signal, and the second detection result includes the change value of the optical power of each wavelength segment of the second optical signal. Among them, Fig.14 The signal processing method shown can be Figure 7 The signal processing device 10 shown here is implemented. Figure 7 The signal processing device 10 shown is not described in detail.

[0184] based on Figure 7 The architecture shown, refer to Fig.14 As shown, the specific steps of the signal processing method provided in the embodiment of the present application are described as follows.

[0185] Step 1301: Obtain a change value of the optical power of each wavelength segment of a first optical signal.

[0186] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the first optical signal. Specifically, the signal processing device 10 includes a first detection circuit 701, which is used to obtain the change value of the optical power of each wavelength segment of the first optical signal.

[0187] Step 1302: Obtain a change value of the optical power of each wavelength segment of the second optical signal.

[0188] Reference Figure 7 As shown, the signal processing device 10 is used to obtain the change value of the optical power of each wavelength segment of the second optical signal. Specifically, the signal processing device 10 includes a second detection circuit 702, which is used to obtain the change value of the optical power of each wavelength segment of the second optical signal.

[0189] Step 1303: Select a first wavelength range and a second wavelength range.

[0190] Reference Figure 7 As shown, the signal processing device 10 is used to select the first wavelength segment and the second wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to select the first wavelength segment and the second wavelength segment according to the change value of the optical power of each wavelength segment of the first optical signal.

[0191] It should be noted that the first wavelength range is a wavelength range in which the optical power variation value is the largest in the first optical signal; and the second wavelength range is a specified wavelength range in the first optical signal.

[0192] Step 1304: Select a third wavelength range and a fourth wavelength range.

[0193] Reference Figure 7 As shown, the signal processing device 10 is used to select the third wavelength segment and the fourth wavelength segment. Specifically, the signal processing device 10 includes a processor 703, which is used to select the third wavelength segment and the fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal.

[0194] It should be noted that the third wavelength segment is a wavelength segment in which the optical power variation value is the largest in the second optical signal; and the fourth wavelength segment is a specified wavelength segment in the second optical signal.

[0195] Step 1305: Generate a first comparison value and a second comparison value.

[0196] Reference Figure 7 As shown, the signal processing device 10 is used to generate a first comparison value and a second comparison value. Specifically, the signal processing device 10 includes a processor 703, which is used to perform a weighted summation of the change value of the optical power of the first wavelength segment and the change value of the optical power of the second wavelength segment to generate the first comparison value; and is also used to perform a weighted summation of the change value of the optical power of the third wavelength segment and the change value of the optical power of the fourth wavelength segment to generate the second comparison value.

[0197] Step 1306: Compare the first comparison value with the comparison threshold, and compare the second comparison value with the comparison threshold.

[0198] Reference Figure 7 As shown, the signal processing device 10 is used to compare the first comparison value with the comparison threshold and the second comparison value with the comparison threshold. Specifically, the signal processing device 10 includes a processor 703, which is used to compare the first comparison value with the comparison threshold and the second comparison value with the comparison threshold.

[0199] It is understandable that those skilled in the art can pre-set a reasonable comparison threshold according to actual needs.

[0200] Step 1307: Control the optical switch to output the first optical signal to the common end of the optical switch.

[0201] If the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the first optical signal to the common end of the optical switch. Specifically, if the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the first optical signal to the common end of the optical switch.

[0202] Step 1308: Control the optical switch to output the second optical signal to the common end of the optical switch.

[0203] If the difference between the first comparison value and the comparison threshold is less than the difference between the second comparison value and the comparison threshold, refer to Figure 7 As shown, the signal processing device 10 is used to control the optical switch to output the second optical signal to the common end of the optical switch. Specifically, if the difference between the first comparison value and the comparison threshold is less than the difference between the second comparison value and the comparison threshold, the signal processing device 10 includes a processor 703, which is used to control the optical switch to output the second optical signal to the common end of the optical switch.

[0204] For example, refer to Fig.15As shown, an embodiment of the present application provides a schematic diagram of a signal processing device. The signal processing device includes: an interface circuit 1401 and a processor 1402; the processor 1402 controls the interface circuit 1401 to execute the signal processing method described in the embodiment of the present application. Figure 7 As shown, the first detection circuit 701 and the second detection circuit 702 can be implemented by the interface circuit 1401 , and the processor 703 can be implemented by the processor 1402 .

[0205] The interface circuit 1401 is also used to perform the following steps: Figure 6 It is understandable that the signal processing device can directly refer to the above-mentioned Figure 6 as well as Figures 8 to 14 The description of the various functions and effects in the signal processing method shown will not be repeated here.

[0206] For example, refer to Fig.16 As shown, an embodiment of the present application provides a schematic diagram of a receiving end device. The receiving end device includes: a signal processing device 10, an optical switch 1504, and a first coupler 1505-1 and a second coupler 1505-2; wherein the signal processing device 10 includes the signal processing device described in the embodiment of the present application (refer to Figure 7 and Fig.15 Specifically, the input end of the first coupler 1505-1 is coupled to the first optical fiber, one output end of the first coupler 1505-1 is coupled to the first detection circuit 1501 of the signal processing device 10, and the other output end of the first coupler 1505-1 is coupled to the first selection end of the optical switch 1504; the input end of the second coupler 1505-2 is coupled to the second optical fiber, one output end of the second coupler 1505-2 is coupled to the second detection circuit 1502 of the signal processing device 10, and the other output end of the second coupler 1505-2 is coupled to the second selection end of the optical switch 1504; the output end of the signal processing device 10 is connected to the control end of the optical switch 1504.

[0207] To facilitate the description of the structure of the receiving device, only Fig.16 The architecture shown is taken as an example, but the number and type of components (such as couplers) included in the receiving device should not be limited by this. Fig.16 The receiving device shown in FIG. 1 shows two couplers (a first coupler and a second coupler). In a possible implementation, Fig.16 The two couplers shown may also be replaced by other components or functional modules that can achieve their functions.

[0208] The embodiment of the present application provides an optical communication network, comprising: a transmitting end device, a receiving end device, a first optical fiber connected between the transmitting end device and the receiving end device, and a second optical fiber connected between the transmitting end device and the receiving end device; wherein the receiving end device comprises the receiving end device described in the embodiment of the present application (refer to Fig.16 shown).

[0209] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0210] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0211] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A signal processing method, applied to a receiving end device of an optical signal, wherein the receiving end device is connected to a first optical fiber and a second optical fiber; the receiving end device comprises an optical switch, wherein the first optical fiber is connected to a first selection end of the optical switch, and the second optical fiber is connected to a second selection end of the optical switch, wherein: The method comprises: Acquire a first optical signal output by the first optical fiber and a second optical signal output by the second optical fiber, wherein the first optical signal and the second optical signal each include a plurality of wavelength segments; Detecting a first optical signal within each of the wavelength bands to obtain a first detection result; Detecting a second optical signal within each of the wavelength bands to obtain a second detection result; The optical switch is controlled to output the first optical signal or the second optical signal to a common end of the optical switch according to the first detection result and the second detection result.

2. The signal processing method according to claim 1, characterized in that: The detecting the first optical signal in each of the wavelength bands to obtain a first detection result includes: Detecting the first optical signal in each of the wavelength bands to obtain the optical power of the first optical signal in each of the wavelength bands; generating the first detection result according to the optical power of the first optical signal in each of the wavelength bands; The detecting the second optical signal in each of the wavelength bands to obtain a second detection result includes: The second optical signal in each of the wavelength bands is detected to obtain the optical power of the second optical signal in each of the wavelength bands; and the second detection result is generated according to the optical power of the second optical signal in each of the wavelength bands.

3. The signal processing method according to claim 2, characterized in that: The first detection result includes the total optical power of multiple wavelength segments of the first optical signal, and the second detection result includes the total optical power of multiple wavelength segments of the second optical signal; If the total optical power corresponding to the first detection result is greater than the total optical power corresponding to the second detection result, controlling the optical switch to output the first optical signal to the common end of the optical switch; If the total optical power corresponding to the first detection result is less than the total optical power corresponding to the second detection result, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

4. The signal processing method according to claim 2, characterized in that: The first detection result includes a spectrum tilt of the first optical signal, and the second detection result includes a spectrum tilt of the second optical signal; If the spectrum inclination corresponding to the first detection result is smaller than the spectrum inclination corresponding to the second detection result, controlling the optical switch to output the first optical signal to the common end of the optical switch; If the spectrum inclination corresponding to the first detection result is greater than the spectrum inclination corresponding to the second detection result, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

5. The signal processing method according to claim 2, characterized in that: The first detection result includes the spectral tilt of the first optical signal and the total optical power of multiple wavelength bands, and the second detection result includes the spectral tilt of the second optical signal and the total optical power of multiple wavelength bands; The controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result includes: Performing a weighted summation on the spectral slope of the first optical signal and the total optical power of the first optical signal to generate a first comparison value; Performing a weighted summation of the spectrum slope of the second optical signal and the total optical power of the second optical signal to generate a second comparison value; If the first comparison value is greater than the second comparison value, controlling the optical switch to output the first optical signal to the common end of the optical switch; If the first comparison value is smaller than the second comparison value, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

6. The signal processing method according to claim 2, characterized in that: The first detection result includes the spectral tilt of the first optical signal and the total optical power of multiple wavelength bands, and the second detection result includes the spectral tilt of the second optical signal and the total optical power of multiple wavelength bands; The controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result includes: performing a weighted summation of the spectrum slope of the first optical signal and the total optical power of the first optical signal to generate a first comparison value; performing a weighted summation of the spectrum slope of the second optical signal and the total optical power of the second optical signal to generate a second comparison value; If the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, controlling the optical switch to output the first optical signal to the common end of the optical switch; If the difference between the first comparison value and the comparison threshold is smaller than the difference between the second comparison value and the comparison threshold, the optical switch is controlled to output the second optical signal to the common end of the optical switch.

7. The signal processing method according to claim 1, characterized in that: The detecting the first optical signal in each of the wavelength bands to obtain a first detection result includes: Detecting the first optical signal in each of the wavelength bands to obtain the optical power of the first optical signal in each of the wavelength bands; comparing the optical power of the first optical signal in each of the wavelength bands with the first reference optical power to generate the first detection result; The detecting the second optical signal in each of the wavelength bands to obtain a second detection result includes: The second optical signal in each of the wavelength bands is detected to obtain the optical power of the second optical signal in each of the wavelength bands; and the optical power of the second optical signal in each of the wavelength bands is compared with the second reference optical power to generate the second detection result.

8. The signal processing method according to claim 7, characterized in that: The first detection result includes a change value of the optical power of each wavelength band of the first optical signal, and the second detection result includes a change value of the optical power of each wavelength band of the second optical signal; The controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result includes: Selecting a first wavelength segment according to a change value of the optical power of each wavelength segment of the first optical signal; Selecting a second wavelength segment according to a change value of the optical power of each wavelength segment of the second optical signal; If the change value of the optical power in the first wavelength band is greater than the change value of the optical power in the second wavelength band, controlling the optical switch to output the second optical signal to the common end of the optical switch; If the change value of the optical power in the first wavelength band is smaller than the change value of the optical power in the second wavelength band, controlling the optical switch to output the first optical signal to the common end of the optical switch; The first wavelength segment is a wavelength segment in which the optical power change value is the largest in the first optical signal; the second wavelength segment is a wavelength segment in which the optical power change value is the largest in the second optical signal; or, the first wavelength segment is a wavelength segment specified in the first optical signal; the second wavelength segment is a wavelength segment specified in the second optical signal.

9. The signal processing method according to claim 7, characterized in that: The first detection result includes a change value of the optical power of each wavelength band of the first optical signal, and the second detection result includes a change value of the optical power of each wavelength band of the second optical signal; The controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result includes: Selecting a first wavelength segment and a second wavelength segment according to a change value of the optical power of each wavelength segment of the first optical signal; Selecting a third wavelength segment and a fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal; Performing a weighted summation on the change value of the optical power in the first wavelength band and the change value of the optical power in the second wavelength band to generate a first comparison value; Performing a weighted summation on the change value of the optical power in the third wavelength band and the change value of the optical power in the fourth wavelength band to generate a second comparison value; If it is determined that the first comparison value is greater than the second comparison value, controlling the optical switch to output the second optical signal to the common end of the optical switch; If it is determined that the first comparison value is less than the second comparison value, controlling the optical switch to output the first optical signal to the common end of the optical switch; Among them, the first wavelength segment is the wavelength segment in which the change value of the optical power in the first optical signal is the largest; the second wavelength segment is the wavelength segment specified in the first optical signal; the third wavelength segment is the wavelength segment in which the change value of the optical power in the second optical signal is the largest; the fourth wavelength segment is the wavelength segment specified in the second optical signal.

10. The signal processing method according to claim 7, characterized in that: The first detection result includes a change value of the optical power of each wavelength band of the first optical signal, and the second detection result includes a change value of the optical power of each wavelength band of the second optical signal; The controlling the optical switch to output the first optical signal or the second optical signal to the common end of the optical switch according to the first detection result and the second detection result includes: Selecting a first wavelength segment and a second wavelength segment according to a change value of the optical power of each wavelength segment of the first optical signal; Selecting a third wavelength segment and a fourth wavelength segment according to the change value of the optical power of each wavelength segment of the second optical signal; Performing a weighted summation on the change value of the optical power in the first wavelength band and the change value of the optical power in the second wavelength band to generate a first comparison value; Performing a weighted summation on the change value of the optical power in the third wavelength band and the change value of the optical power in the fourth wavelength band to generate a second comparison value; If it is determined that the difference between the first comparison value and the comparison threshold is greater than the difference between the second comparison value and the comparison threshold, controlling the optical switch to output the second optical signal to the common end of the optical switch; If it is determined that the difference between the first comparison value and the comparison threshold is smaller than the difference between the second comparison value and the comparison threshold, controlling the optical switch to output the first optical signal to the common terminal of the optical switch; Among them, the first wavelength segment is the wavelength segment in which the change value of the optical power in the first optical signal is the largest; the second wavelength segment is the wavelength segment specified in the first optical signal; the third wavelength segment is the wavelength segment in which the change value of the optical power in the second optical signal is the largest; the fourth wavelength segment is the wavelength segment specified in the second optical signal.

11. A signal processing device, characterized in that: include: Interface circuits and processors; The processor controls the interface circuit to execute the signal processing method according to any one of claims 1 to 10.

12. A receiving device, characterized in that: include: A signal processing device, an optical switch, and a first coupler and a second coupler; wherein the signal processing device comprises the signal processing device according to claim 11; An input end of the first coupler is coupled to the first optical fiber, an output end of the first coupler is coupled to the first detection circuit of the signal processing device, and another output end of the first coupler is coupled to the first selection end of the optical switch; The input end of the second coupler is coupled to the second optical fiber, one output end of the second coupler is coupled to the second detection circuit of the signal processing device, and the other output end of the second coupler is coupled to the second selection end of the optical switch; The output end of the signal processing device is connected to the control end of the optical switch.

13. An optical communication network, characterized in that: include: A transmitting end device, a receiving end device, a first optical fiber connected between the transmitting end device and the receiving end device, and a second optical fiber connected between the transmitting end device and the receiving end device; Wherein, the receiving end device includes the receiving end device described in claim 12.