Optical signal switching method and related device

By adjusting pixels in the optical switching engine of the wavelength selection switch, the stable power transfer during optical signal switching is achieved, and the problem of unstable power transfer during optical signal switching is solved, and the transmission stability and switching efficiency of combined optical signals are improved.

CN119628750APending Publication Date: 2025-03-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311184603.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-14
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

During the optical fiber transmission of combined light signals, the stimulated Raman scattering effect causes unstable power transfer of the optical signal, especially when the optical signal is switched, which affects the transmission stability of the combined light signals.

Method used

By adjusting pixels in the optical switching engine of the wavelength selection switch, the output power of the first optical signal is reduced and the output power of the second optical signal is increased, and the switching of the optical signal is achieved, while ensuring that the power fluctuations of the optical signal output from the output port are small.

Benefits of technology

It effectively improves the transmission stability of combined optical signals, shortens the optical signal switching time, improves the efficiency of optical signal switching, and avoids the problem of excessive power fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628750A_ABST
    Figure CN119628750A_ABST
Patent Text Reader

Abstract

The invention discloses an optical signal switching method and a related device, and belongs to the technical field of optical communication. The method comprises the following steps: receiving an optical signal switching instruction, adjusting pixels in an optical switching engine to reduce the output power of a first optical signal output by an output port and increase the output power of a second optical signal so as to realize the switching of the first optical signal and the second optical signal, and in the switching process, switching the first optical signal to the second optical signal. The optical signals output by the output port comprise a first optical signal and a second optical signal. In the switching process of the first optical signal and the second optical signal, the pixels in the optical switching engine are adjusted, so that the output power of the first optical signal output by the output port is reduced, and the output power of the second optical signal is increased, and therefore, the switching efficiency of the first optical signal and the second optical signal is improved while the switching of the first optical signal and the second optical signal is improved. The power fluctuation of the optical signal output by the output port is small, and the transmission stability of the combined optical signal is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to a method for switching optical signals and related devices. Background Art

[0002] In the field of optical communication technology, in order to transmit as many data services as possible in optical fibers, different wavelengths of light are usually used as carriers of data services to increase transmission capacity based on the principle of wavelength division multiplexing (WDM). As the demand for transmission capacity continues to increase, the number of different wavelengths of light transmitted in optical fibers is increasing. For example, the original 120 wavelengths of the C band are evolved to 240 wavelengths of the C+L band. For the sake of ease of description, the optical signals of multiple wavelengths transmitted in the optical fiber are subsequently referred to as combined wavelength optical signals.

[0003] However, in the process of optical fiber transmission of combined optical signals, there is a stimulated Raman scattering (SRS) effect, that is, the transmission power will be transferred from the short-wavelength optical signal to the long-wavelength optical signal, and in practical applications, optical signal switching is usually performed according to business needs, that is, at least one wavelength of the combined optical signal in a link is switched to other links. When the optical signal is not switched, the power transfer between optical signals of different wavelengths caused by the SRS effect is stable, and when the optical signal is switched, the energy of the combined optical signal and the number of wavelengths in the combined optical signal will change, so that the distribution and position of optical signals of different wavelengths in the optical fiber will change randomly, resulting in an enhanced SRS effect, thereby reducing the transmission stability of the combined optical signal. Therefore, there is an urgent need for a switching method of optical signals, which can ensure that when the optical signal is switched, the power transfer between optical signals of different wavelengths in the combined optical signal is stable, so as to achieve stable transmission of the combined optical signal. Summary of the invention

[0004] The present application provides a method and a related device for switching optical signals, which can solve the problem of unstable transmission of multiplexed optical signals in the related art. The technical solution is as follows:

[0005] In a first aspect, a method for switching an optical signal is provided, which is applied to a wavelength selective switch, wherein the wavelength selective switch includes an optical switching engine; the method includes: receiving an optical signal switching instruction, wherein the optical signal switching instruction instructs the wavelength selective switch to switch a first optical signal and a second optical signal, wherein the first optical signal and the second optical signal are both optical signals of a target wavelength, and the first optical signal and the second optical signal have different input ports but the same output ports; adjusting pixels within the optical switching engine to reduce the output power of the first optical signal output by the output port and increase the output power of the second optical signal, so as to achieve switching between the first optical signal and the second optical signal; wherein, during the switching process, the optical signal output by the output port includes the first optical signal and the second optical signal.

[0006] Since the input ports of the first optical signal and the second optical signal are different but the output ports are the same, during the switching process between the first optical signal and the second optical signal, the wavelength selective switch can adjust the pixels in the optical switching engine so that the first optical signal and the second optical signal are diffracted to the output port, ensuring that the optical signal output by the output port includes the first optical signal and the second optical signal, and the output power of the first optical signal output by the output port is reduced, and the output power of the second optical signal is increased, so that while the switching between the first optical signal and the second optical signal is realized, the power fluctuation of the optical signal output by the output port is small, effectively improving the transmission stability of the combined optical signal.

[0007] Optionally, the adjusting the pixels in the optical switching engine includes: adjusting the pixels in the optical switching engine based on an input port of the first optical signal, an input port of the second optical signal, the output port, and the target wavelength.

[0008] Since the output port of the first optical signal is the same as the output port of the second optical signal, the output port may be referred to as the output port of the first optical signal or the output port of the second optical signal.

[0009] Optionally, the target wavelength includes at least one wavelength, and the optical switching engine includes at least one optical switching area, and the at least one optical switching area corresponds one-to-one to the at least one wavelength; adjusting the pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the target wavelength includes: adjusting the pixels in the first optical switching area based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the first wavelength being any one of the at least one wavelength, and the first optical switching area being the optical switching area corresponding to the first wavelength.

[0010] Optionally, the adjusting of pixels within the first optical exchange area based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength includes: determining the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the first corresponding relationship indicating the corresponding relationship between the input port of the first optical signal, the input port of the second optical signal, the output port, the first wavelength and the grayscale value; adjusting the pixels within the first optical exchange area according to the pixel grayscale.

[0011] Optionally, the determining of the pixel grayscale corresponding to the first optical exchange area from a first correspondence based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength includes: determining from the first correspondence the grayscale values ​​corresponding to the target pixel at multiple moments within a target switching duration based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the target pixel being any pixel within the first optical exchange area, and the target switching duration being the duration required to switch the first optical signal to the second optical signal.

[0012] When optical signals of multiple wavelengths need to be switched, that is, when the target wavelength includes multiple wavelengths, the optical signal switching method provided in the present application does not need to switch the optical signals in batches. It can achieve the switching of optical signals of multiple wavelengths at a single time while ensuring that the power fluctuation of the optical signal output from the output port of the first optical signal is small, thereby improving the transmission stability of the combined optical signal, shortening the switching time of the optical signal, and improving the efficiency of the optical signal switching.

[0013] Optionally, the wavelength selective switch is any wavelength selective switch on the first transmission path or any wavelength selective switch on the second transmission path, the first transmission path is the transmission path before the optical signal is switched, and the second transmission path is the transmission path after the optical signal is switched; if the wavelength selective switch is the wavelength selective switch on the first transmission path, the first optical signal is an optical signal carrying service data, and the second optical signal is an optical signal not carrying service data; if the wavelength selective switch is the wavelength selective switch on the second transmission path, the first optical signal is an optical signal not carrying service data, and the second optical signal is an optical signal carrying service data.

[0014] That is to say, if the wavelength selective switch on the first transmission path uses the method provided by the present application to switch the optical signal, the wavelength selective switch can switch the signal light carrying service data originally located on the first transmission path to the signal light not carrying service data. If the wavelength selective switch on the second transmission path uses the method provided by the present application to switch the optical signal, the wavelength selective switch can switch the signal light not carrying service data originally located on the second transmission path to the signal light carrying service data originally located on the first transmission path.

[0015] Optionally, the wavelength selective switch includes a first wavelength selective switch and a second wavelength selective switch; the first wavelength selective switch is located on a first transmission path, the first transmission path is the transmission path before the optical signal is switched, the first optical signal input to the first wavelength selective switch is an optical signal carrying service data, and the second optical signal input to the first wavelength selective switch is an optical signal not carrying service data; the second wavelength selective switch is located on a second transmission path, the second transmission path is the transmission path after the optical signal is switched, the first optical signal input to the second wavelength selective switch is an optical signal not carrying service data, and the second optical signal input to the second wavelength selective switch is an optical signal carrying service data.

[0016] Optionally, during the switching process between the first optical signal and the second optical signal, a power fluctuation value of the optical signal output by the output port is within a target power fluctuation range.

[0017] Optionally, it is characterized in that the target power fluctuation range is -1db to 1db.

[0018] It should be noted that the power fluctuation value can be the difference between the powers of the optical signal output by the output port of the first optical signal at any two moments in the switching process between the first optical signal and the second optical signal, or the difference between the power of the optical signal output by the output port of the first optical signal at any moment in the switching process between the first optical signal and the second optical signal and the power baseline, where the power baseline refers to the power of the optical signal output by the output port of the first optical signal before the switching between the first optical signal and the second optical signal.

[0019] Optionally, during the switching process between the first optical signal and the second optical signal, a decrease in the power of the first optical signal outputted from the output port of the first optical signal is equal to an increase in the power of the second optical signal outputted from the output port of the first optical signal.

[0020] In a second aspect, a wavelength selective switch is provided, which has the function of implementing the optical signal switching method in the first aspect. The wavelength selective switch includes at least one module, which is used to implement the optical signal switching method provided in the first aspect.

[0021] In a third aspect, a switching system for an optical signal is provided, the switching system for an optical signal comprising a management node, a wavelength selective switch, and an optical amplifier, the management node being connected to the wavelength selective switch, the management node being used to send the optical signal switching instruction to the wavelength selective switch, the optical amplifier being used to amplify the optical signal output from the output port of the wavelength selective switch, and the wavelength selective switch having the function of implementing the optical signal switching method behavior in the above-mentioned first aspect.

[0022] In a fourth aspect, a single board is provided, the single board comprising at least one wavelength selective switch, the wavelength selective switch having a function of implementing the switching method behavior of the optical signal in the first aspect.

[0023] In a fifth aspect, an optical layer sub-rack is provided, wherein the optical layer sub-rack includes at least one single board, the single board includes at least one wavelength selective switch, and the wavelength selective switch has the function of implementing the switching method behavior of the optical signal in the first aspect above.

[0024] In a sixth aspect, a computer-readable storage medium is provided, wherein the storage medium stores instructions, and when the instructions are executed on a wavelength selective switch, the wavelength selective switch executes the steps of the optical signal switching method described in the first aspect.

[0025] In a seventh aspect, a computer program product comprising instructions is provided, and when the instructions are executed on a wavelength selective switch, the wavelength selective switch executes the steps of the optical signal switching method described in the first aspect. In other words, a computer program is provided, and when the computer program is executed on a wavelength selective switch, the wavelength selective switch executes the steps of the optical signal switching method described in the first aspect.

[0026] The technical effects obtained in the above-mentioned second to seventh aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0028] Figure 2 is a flow chart of a method for switching an optical signal provided in an embodiment of the present application;

[0029] Figure 3 is a schematic diagram of a first transmission path and a second transmission path provided in an embodiment of the present application;

[0030] Figure 4 This is a light path diagram inside a wavelength selective switch provided by an embodiment of the present application;

[0031] Figure 5 is a schematic diagram of a power change provided by an embodiment of the present application;

[0032] Figure 6 is a schematic diagram of another first transmission path and a second transmission path provided in an embodiment of the present application;

[0033] Figure 7 It is a structural schematic diagram of an optical signal switching system provided in an embodiment of the present application;

[0034] Figure 8 is a schematic diagram of the structure of another optical signal switching system provided in an embodiment of the present application;

[0035] Fig. 9 It is a schematic diagram of the structure of a wavelength selection switch provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0037] For ease of understanding, before explaining in detail the optical signal switching method provided in the embodiment of the present application, the terms, application scenarios and implementation environment involved in the embodiment of the present application are first introduced.

[0038] First, the terms involved in the embodiments of the present application are explained.

[0039] Optical network: generally refers to a wide area network, metropolitan area network or a newly built large-scale local area network that uses optical fiber as the main transmission medium. Optical network has the characteristics of high transmission speed and long transmission distance.

[0040] Wavelength division multiplexing (WDM) is a technology that combines two or more optical signals of different wavelengths at the transmitting end through a multiplexer (also called a combiner) and couples them into the same optical fiber of the optical line for transmission.

[0041] Stimulated Raman scattering: refers to the strong interaction between high-intensity laser and material molecules, which makes the scattering process have the properties of stimulated emission. This scattered light is Raman scattered light. Therefore, this nonlinear optical effect is called stimulated Raman scattering.

[0042] True light: optical signal that carries business data.

[0043] Dummy light (DL): refers to an optical signal that does not carry service data.

[0044] Old wavelength: refers to the wavelength where no optical signal switching is performed in the link system.

[0045] Wavelength selective switch (WSS): A wavelength selective switch includes a dispersion component and an optical switching engine. The dispersion component can disperse a beam of optical signals with different wavelengths to obtain multiple optical signals with different wavelengths. Then, the optical switching engine propagates the optical signal of a specified wavelength among the multiple optical signals with different wavelengths in a specified direction according to demand.

[0046] In some embodiments, the above-mentioned dispersion component can be a diffraction grating or an arrayed waveguide grating, etc., which is not limited in the embodiments of the present application. The optical switching engine can be an optical switching engine based on a micro-electro-mechanical system (MEMS), an optical switching engine based on liquid crystal (LC), or an optical switching engine based on liquid crystal on silicon (LCoS). In the embodiments of the present application, the optical switching engine can be an optical switching engine based on LCoS.

[0047] Next, the application scenarios involved in the embodiments of the present application are introduced.

[0048] In the field of optical communication technology, in order to transmit as many data services as possible in optical fibers, different wavelengths of light are usually used as carriers of data services to increase transmission capacity based on the WDM principle. As the demand for transmission capacity continues to increase, the number of different wavelengths of light transmitted in optical fibers is increasing. For example, the original 120 wavelengths of the C band are evolved to 240 wavelengths of the C+L band. For the sake of ease of description, the optical signals of multiple wavelengths transmitted in the optical fiber are subsequently referred to as combined wavelength optical signals.

[0049] However, in the process of optical fiber transmission of combined optical signals, there is an SRS effect, that is, the transmission power will be transferred from the short-wavelength optical signal to the long-wavelength optical signal, and in practical applications, optical signal switching is usually performed according to business needs, that is, at least one wavelength of the combined optical signal in a link is switched to other links. When there is no optical signal switching, the power transfer between optical signals of different wavelengths caused by the SRS effect is stable, and when the optical signal switching is performed, the energy of the combined optical signal and the number of wavelengths in the combined optical signal will change, so that the distribution and position of optical signals of different wavelengths in the optical fiber will change randomly, resulting in an enhanced SRS effect, thereby reducing the transmission stability of the combined optical signal.

[0050] At present, the power fluctuation of the combined optical signal can be suppressed by DL technology. That is, after adding (or deleting) an optical signal of a certain wavelength, the DL of the corresponding wavelength is quickly deleted (or filled), so that the number of wavelengths in the combined optical signal remains unchanged and contains optical signals of all wavelength bands, thereby ensuring the stability of the combined optical signal transmission. However, in this method, if there are optical signals of multiple wavelengths that need to be switched, at the moment of switching, the combined optical signal will have a large band of energy loss, and under the influence of SRS, it will also cause the power of other optical signals in the combined optical signal that have not been switched to fluctuate.

[0051] In order to avoid the above situation, when optical signals of multiple wavelengths need to be switched, the switching of optical signals is usually carried out in batches, and each batch only switches a small part of optical signals with discontinuous wavelengths, thereby avoiding the problem of excessive power fluctuation caused by a single switch. However, the time required for batch switching is too long and the operation is cumbersome, which will result in a long service recovery time. Based on this, an embodiment of the present application provides a method for switching optical signals, which can adjust the pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port and the target wavelength. During the switching process of the first optical signal and the second optical signal, the optical switching engine can diffract the first optical signal and the second optical signal to the output port, so that the optical signal output by the output port includes the first optical signal and the second optical signal, and the output power of the first optical signal output by the output port is reduced, and the output power of the second optical signal is increased, so that while realizing the switching of the first optical signal and the second optical signal, the power fluctuation of the optical signal output by the output port is ensured to be small, and the transmission stability of the combined optical signal is effectively improved.

[0052] Next, the implementation environment involved in the embodiments of the present application is introduced.

[0053] Please refer to Figure 1 , Figure 1A schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment includes at least one wavelength selection switch 101 ( Figure 1 8 wavelength selective switches are used to schematically represent the at least one wavelength selective switch), and the specification of each wavelength selective switch is M×N, that is, each wavelength selective switch includes M input ports and N output ports ( Figure 1 4 wavelength selective switches of 1×N1 specification and 4 wavelength selective switches of N2×1 specification are used as an illustration), M, N, N1 and N2 are all positive integers greater than or equal to 1. The at least one wavelength selective switch 101 is deployed in any node of the optical network, and the optical signals of different wavelengths in the node are dispatched to different transmission paths through the at least one wavelength selective switch 101.

[0054] exist Figure 1 In the figure, the eight wavelength selective switches are WSSA1, WSSA2, WSSB1, WSSB2, WSSC1, WSSC2, WSSD1 and WSSD2. Taking WSSA1 as an example, WSSA1 is a 1×3 wavelength selective switch. A combined optical signal containing all wavelength bands is input from port i1 of WSSA1, and then the dispersion component included in WSSA1 disperses the optical signals of different wavelengths to obtain multiple optical signals with different wavelengths. The multiple optical signals with different wavelengths fall in different areas of the optical switching engine. In the case where the optical switching engine is an LCoS-based optical switching engine, the optical switching engine loads corresponding phase diffraction gratings in different areas according to needs, and then diffracts the optical signals of each wavelength to the corresponding output port. Figure 1 In the figure, the optical signal output from the output port o1 of WSSA1 is input from the input port of WSSB2, and the optical signal output from the output port o3 is input from the input port of WSSD2. Similarly, for WSSA2, WSSA2 is a 1×4 wavelength selection switch. When optical signals from different directions are input from different input ports of WSSA2, the optical switching engine loads corresponding phase diffraction gratings in different areas according to the needs, and then diffracts the optical signals of each wavelength to the corresponding output port, and finally generates a combined optical signal for transmission.

[0055] In some embodiments, the wavelengths of the optical signals in different directions may not cover all wavelength bands, which may affect the stability of the combined optical signal transmission. Figure 1 In the embodiment, a certain input port of WSSA2 can be connected to a DL light source to fill in the optical signal of the vacant wavelength band in the combined optical signal.

[0056] In actual applications, due to service rerouting and other reasons, the optical signal with wavelength A originally output from the output port o1 of WSSA1 and input from the input port of WSSB2 needs to be switched to be input from the input port of WSSC2. In this case, the input port of WSSB2 needs to supplement the optical signal with wavelength A to replace the optical signal with wavelength A output from the o1 port of WSSA1, and the input port of WSSC2 needs to replace the signal light with wavelength A that existed before the switch with the signal light with wavelength A output from the o1 port of WSSA1.

[0057] It should be noted that the optical signal with wavelength A supplemented by the input port of WSSB2 and the signal light with wavelength A existing in WSSC2 before switching can be provided by a DL light source or input from other links, which is not limited in this embodiment of the present application.

[0058] Both the above-mentioned WSSB2 and WSSC2 can be used as wavelength selective switches in the embodiment of the present application to switch optical signals. Next, WSSB2 will be used as a wavelength selective switch in the embodiment of the present application for explanation. The wavelength selective switch is used to switch the optical signal with a wavelength A (i.e., the first signal light) output from the o1 port of WSSA1 originally transmitted to the optical signal with a wavelength A (i.e., the newly added second optical signal) that needs to be supplemented by the input port of WSSB2, and the wavelength selective switch includes an optical switching engine. In this case, the wavelength selective switch can receive an optical signal switching instruction and adjust the pixels in the optical switching engine included in the wavelength selective switch to reduce the output power of the first optical signal output from the output port and increase the output power of the second optical signal, thereby realizing the switching between the first optical signal and the second optical signal, and, during the switching process, the optical signal output from the output port includes the first optical signal and the second optical signal.

[0059] Those skilled in the art should understand that the above-mentioned wavelength selective switch is only an example, and other existing or future wavelength selective switches that are applicable to the embodiments of the present application should also be included in the protection scope of the embodiments of the present application and are included here by reference.

[0060] It should be noted that the application scenarios and implementation environments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0061] Figure 2This is a flow chart of a method for switching an optical signal provided by an embodiment of the present application. The method is applied to a wavelength selective switch, which is used to switch an originally transmitted first optical signal to a newly added second optical signal. The wavelength selective switch includes an optical switching engine. Please refer to Figure 2 , the method comprises the following steps.

[0062] Step 201: receiving an optical signal switching instruction, the optical signal switching instruction instructing a wavelength selective switch to switch a first optical signal and a second optical signal, the first optical signal and the second optical signal are both optical signals of the target wavelength, the first optical signal and the second optical signal have different input ports but the same output ports.

[0063] In some embodiments, the wavelength selective switch is connected to a management node, and the management node sends an optical signal switching instruction to the wavelength selective switch, and the wavelength selective switch receives the optical signal switching instruction. Of course, in practical applications, the optical signal switching instruction can also be sent by other devices, and the embodiments of the present application do not limit this.

[0064] In practical applications, the first signal light and the second signal light may be optical signals carrying business data, or may be signal lights not carrying business data, which is not limited in the embodiments of the present application.

[0065] In some embodiments, the wavelength selective switch that uses the method provided in the embodiments of the present application to switch the optical signal can be any wavelength selective switch on the first transmission path or any wavelength selective switch on the second transmission path, the first transmission path is the transmission path before the optical signal is switched, and the second transmission path is the transmission path after the optical signal is switched. If the wavelength selective switch on the first transmission path uses the method provided in the embodiments of the present application to switch the optical signal, the first optical signal can be an optical signal carrying service data, and the second optical signal can be an optical signal that does not carry service data; if the wavelength selective switch on the second transmission path uses the method provided in the embodiments of the present application to switch the optical signal, the first optical signal can be an optical signal that does not carry service data, and the second optical signal can be an optical signal that carries service data.

[0066] That is to say, if the wavelength selective switch on the first transmission path uses the method provided in the embodiment of the present application to switch the optical signal, the wavelength selective switch can switch the signal light carrying service data originally located on the first transmission path to the signal light not carrying service data. If the wavelength selective switch on the second transmission path uses the method provided in the embodiment of the present application to switch the optical signal, the wavelength selective switch can switch the signal light not carrying service data originally located on the second transmission path to the signal light carrying service data originally located on the first transmission path.

[0067] In other words, the wavelength selective switch for performing optical signal switching using the method provided in the embodiment of the present application may include a first wavelength selective switch and a second wavelength selective switch, the first wavelength selective switch is located on a first transmission path, the first transmission path is a transmission path before the optical signal is switched, the first optical signal input to the first wavelength selective switch is an optical signal carrying service data, and the second optical signal input to the first wavelength selective switch is an optical signal not carrying service data. The second wavelength selective switch is located on a second transmission path, the second transmission path is a transmission path after the optical signal is switched, the first optical signal input to the second wavelength selective switch is an optical signal not carrying service data, and the second optical signal input to the second wavelength selective switch is an optical signal carrying service data.

[0068] For example, see Figure 3 The first transmission path is input from the A0 port of WSSA, output from the A1 port, input from the B1 port of WSSB, output from the B0 port, and then input from the D0 port of WSSD, output from the D1 port, input from the E1 port of WSSE, and output from the E0 port. The second transmission path is input from the A0 port of WSSA, output from the A2 port, input from the C1 port of WSSC, output from the C0 port, and then input from the F0 port of WSSF, output from the F1 port, input from the G1 port of WSSG, and output from the G0 port.

[0069] If the WSSB on the first transmission path uses the method provided in the embodiment of the present application to switch the optical signal, the optical signal of the target wavelength output by the B0 port of the WSSB is switched from the optical signal originally input from the B1 port to the optical signal input from the B2 port emitted by the dummy light source DL1. If the WSSC on the second transmission path uses the method provided in the embodiment of the present application to switch the optical signal, the optical signal of the target wavelength output by the C0 port of the WSSC is switched from the optical signal input from the C2 port emitted by the dummy light source DL3 to the optical signal input from the C1 port.

[0070] Step 202: Adjust the pixels in the optical switching engine to reduce the output power of the first optical signal output by the output port and increase the output power of the second optical signal to achieve switching between the first optical signal and the second optical signal. During the switching process, the optical signal output by the output port includes the first optical signal and the second optical signal.

[0071] In some embodiments, pixels within the optical switching engine may be adjusted based on an input port of the first optical signal, an input port of the second optical signal, an output port of the first optical signal, and a target wavelength.

[0072] Since the output port of the first optical signal is the same as the output port of the second optical signal, the above-mentioned output port can be referred to as the output port of the first optical signal or the output port of the second optical signal. However, for the convenience of description, the output port of the first optical signal and the output port of the second optical signal are both referred to as the output port of the first optical signal in the following.

[0073] Optionally, the target wavelength includes at least one wavelength, and the optical switching engine includes at least one optical switching area, and the at least one optical switching area corresponds to the at least one wavelength. In this case, the pixels in the first optical switching area can be adjusted based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength to reduce the output power of the optical signal of the first wavelength in the first optical signal and increase the output power of the optical signal of the first wavelength in the second optical signal, the first wavelength is any one of the at least one wavelength, and the first optical switching area is the optical switching area corresponding to the first wavelength.

[0074] Please refer to Figure 4 , Figure 4 The optical path diagram of a wavelength selective switch includes a dispersion component, an optical switching engine based on LCoS, a lens, an input port 1, and output ports 1-2, wherein the optical switching engine based on LCoS is divided into five regions, namely regions 1-5. An optical signal A with two wavelengths is incident on the dispersion component from input port 1, and is dispersed by the dispersion component to obtain an optical signal with a wavelength of λ1 and an optical signal with a wavelength of λ2. The optical signal with a wavelength of λ1 propagates along the optical path and falls on region 2 of the optical switching engine based on LCoS, and region 2 can diffract the optical signal with a wavelength of λ1 to output port 1 as required. The optical signal with a wavelength of λ2 propagates along the optical path and falls on region 5 of the optical switching engine based on LCoS, and region 5 can diffract the optical signal with a wavelength of λ2 to output port 2 as required.

[0075] For example, the wavelength selective switch further includes an input port 2 ( Figure 4 (not shown in the figure), the other optical signal with a wavelength of λ1 can be incident from input port 2, the other optical signal with a wavelength of λ1 can propagate along the optical path and fall on area 2 of the LCoS-based optical switching engine, and the area 2 can diffract the optical signal with a wavelength of λ1 as required. In other words, if two optical signals with the same wavelength are incident from different input ports, the two optical signals with the same wavelength can fall on the same area of ​​the optical switching engine.

[0076] The implementation process of adjusting the pixels in the first optical exchange area based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength includes: determining the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength, the first corresponding relationship indicating the correspondence between the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, the first wavelength and the grayscale value, and adjusting the pixels in the first optical exchange area according to the pixel grayscale corresponding to the first optical exchange area.

[0077] The wavelength selection switch determines the grayscale values ​​corresponding to the target pixel at multiple moments within the target switching duration from the first corresponding relationship based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength. The target pixel is any pixel in the first optical exchange area. The target switching duration is the duration required to switch the first optical signal to the second optical signal. Each pixel in the first optical exchange area is processed in the same way to obtain the grayscale value corresponding to each pixel in the first optical exchange area at the current moment.

[0078] In some embodiments, the grayscale value in the first corresponding relationship is the grayscale value corresponding to each pixel in the first optical exchange area at multiple moments within the target switching duration. In this case, the wavelength selection switch can determine the grayscale value corresponding to the target pixel at multiple moments within the target switching duration from the first corresponding relationship.

[0079] Optionally, the wavelength selective switch may also determine the grayscale value corresponding to the target pixel at the current moment from the grayscale values ​​corresponding to the multiple moments based on a first moment, where the first moment is the switching start moment of the first optical signal and the second optical signal.

[0080] The implementation process of determining the grayscale value corresponding to the target pixel at the current moment from the grayscale values ​​corresponding to multiple moments based on the first moment includes: determining the difference between the first moment and the current moment as the target difference, and taking the grayscale value corresponding to the moment with the same target difference among the grayscale values ​​corresponding to multiple moments as the grayscale value corresponding to the target pixel at the current moment.

[0081] Since the target difference is the difference between the first moment and the current moment, the target difference can indicate the stage of the current moment in the target switching duration. Therefore, the grayscale value corresponding to the moment with the same target difference among the grayscale values ​​corresponding to the multiple moments can be used as the corresponding grayscale value of the target pixel at the current moment.

[0082] For example, the target switching duration may be 200 milliseconds, 250 milliseconds, or 300 milliseconds, etc., which is not limited in the embodiments of the present application.

[0083] The above method of determining the pixel grayscale corresponding to the first optical exchange area from the first corresponding relationship is only an example. In practical applications, the pixel grayscale corresponding to the first optical exchange area can also be determined by other methods. For example, the first adjustment ratio and the second adjustment ratio corresponding to the current moment can be determined, the first adjustment ratio being the adjustment ratio of the optical signal of the first wavelength in the first optical signal, and the second adjustment ratio being the adjustment ratio of the optical signal of the second wavelength in the second optical signal; based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, the first adjustment ratio, and the second adjustment ratio, the pixel grayscale corresponding to the first optical exchange area at the current moment, that is, the grayscale value corresponding to each pixel in the first optical exchange area is determined.

[0084] In some embodiments, there are multiple implementation methods for determining the first adjustment ratio and the second adjustment ratio corresponding to the current moment, two of which are introduced below.

[0085] The first method is to determine the first adjustment ratio and the second adjustment ratio corresponding to the current moment based on the first moment and the target switching duration, wherein the target switching duration is the duration required to switch the first optical signal to the second optical signal, and the first moment is the switching start moment between the first optical signal and the second optical signal.

[0086] Optionally, the value obtained by dividing the difference between the first moment and the current moment by the target switching duration is used as the first adjustment ratio corresponding to the current moment, and the difference between the first adjustment ratio corresponding to the current moment and 1 is used as the second adjustment ratio corresponding to the current moment.

[0087] The second method: based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal and the first wavelength, determine the proportional adjustment parameter corresponding to the first wavelength, and based on the proportional adjustment parameter, the first moment and the target switching duration, determine the first adjustment ratio and the second adjustment ratio corresponding to the current moment.

[0088] In some embodiments, the wavelength selective switch stores the correspondence between the input port of the first optical signal, the input port of the second optical signal, the output port, the wavelength and a plurality of proportional adjustment parameters. The wavelength selective switch determines the candidate proportional adjustment parameter corresponding to the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal and the first wavelength from the correspondence between the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal and the plurality of candidate proportional adjustment parameters, and uses the candidate proportional adjustment parameter as the proportional adjustment parameter corresponding to the first wavelength.

[0089] The value obtained by dividing the difference between the first moment and the current moment by the target switching duration is taken as the first candidate ratio, the product of the first candidate ratio and the ratio adjustment parameter corresponding to the first wavelength is taken as the first adjustment ratio corresponding to the current moment, and the difference between the first adjustment ratio corresponding to the current moment and 1 is taken as the second adjustment ratio corresponding to the current moment.

[0090] In practical applications, there may be some processing errors in the wavelength selection switch during the processing, which may lead to inaccurate first adjustment ratio and second adjustment ratio. Therefore, the product of the first candidate ratio and the ratio adjustment parameter corresponding to the first wavelength can be used as the first adjustment ratio corresponding to the current moment, thereby reducing the impact of the processing errors and making the final first adjustment ratio and second adjustment ratio more accurate.

[0091] In some embodiments, the implementation process of determining the grayscale value corresponding to each pixel in the first optical exchange area at the current moment based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, the first adjustment ratio, and the second adjustment ratio includes: based on the input port of the first optical signal and the output port of the first optical signal, according to the relevant algorithm, determining the period of the first phase diffraction grating corresponding to the optical signal of the first wavelength in the first optical signal, the first phase diffraction grating is used to diffract the optical signal of the first wavelength in the first optical signal; based on the input port of the second optical signal and the output port of the first optical signal, according to the relevant algorithm, determining the period of the second phase diffraction grating corresponding to the optical signal of the first wavelength in the second optical signal, the second phase diffraction grating is used to diffract the optical signal of the first wavelength in the second optical signal; based on the period of the first phase diffraction grating, the period of the second phase diffraction grating, the first adjustment ratio, and the second adjustment ratio, determining the grayscale value corresponding to each pixel in the first optical exchange area at the current moment.

[0092] In some embodiments, the grayscale value corresponding to each pixel in the first light exchange area at the current moment can be determined based on the period of the first phase diffraction grating, the period of the second phase diffraction grating, the first light adjustment ratio, and the second adjustment ratio according to the following formula (1).

[0093] phase i,a =ratio1×f(period1,a,B1)+ratio2×f(period2,a,B2) (1)

[0094] In the above formula (1), i refers to the current moment, a refers to the ath pixel in the first light exchange area, and phase i,aIt refers to the gray value corresponding to the ath pixel in the first light exchange area at the current moment, ratio1 refers to the first adjustment ratio corresponding to the current moment, ratio2 refers to the second adjustment ratio corresponding to the current moment, f() is a function used to determine the gray value corresponding to the pixel, period1 refers to the period of the first phase diffraction grating, period2 refers to the period of the second phase diffraction grating, B1 and B2 are parameters used to adjust the diffraction efficiency of the phase diffraction grating.

[0095] In practical applications, before adjusting the pixels in the first optical exchange area based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength, the wavelength selection switch can also determine the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength.

[0096] In some embodiments, the optical signal switching instruction carries a first wavelength, and the wavelength selection switch can determine the input port of the first optical signal, the input port of the second optical signal, and the output port of the first optical signal based on the first wavelength.

[0097] Since the first optical signal is the optical signal originally transmitted in the wavelength selective switch, the wavelength selective switch stores the second correspondence between the wavelength, input port and output port of the originally transmitted optical signal. The wavelength selective switch can determine the input port and output port corresponding to the first wavelength from the second correspondence based on the first wavelength, and use the input port corresponding to the first wavelength as the input port of the first optical signal and the output port corresponding to the first wavelength as the output port of the first optical signal.

[0098] Since the input port of the second optical signal may be fixed or not fixed, in different situations, the implementation methods for determining the input port of the second optical signal are different, which will be introduced below respectively.

[0099] In the first case, the input port of the second optical signal is fixed. In this case, the wavelength selective switch stores the input port of the second optical signal, and the wavelength selective switch can directly determine the input port of the second optical signal.

[0100] For example, the second optical signal is an optical signal emitted by a dummy light source a, which is input from an input port A of the wavelength selective switch and remains fixed. In this case, the wavelength selective switch stores the correspondence between the dummy light source a and the input port A, and then uses the input port A corresponding to the dummy light source as the input port of the second optical signal.

[0101] In the second case, the input port of the second optical signal is not fixed. In this case, the optical signal switching instruction also indicates the input port of the second optical signal. The wavelength selective switch can determine the input port of the second optical signal based on the optical signal switching instruction.

[0102] The above-mentioned method of determining the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength is only an example. In practical applications, the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength can also be determined by other methods. For example, the optical signal switching instruction can also carry the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength. In this case, the wavelength selection switch receives the optical signal switching instruction and determines the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength. In other words, the optical signal instruction can carry all the information required by the wavelength selection switch, namely, the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength. In this way, the wavelength selection switch can directly determine the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the first wavelength. The embodiment of the present application does not limit this.

[0103] It should be noted that the specification of the wavelength selective switch may be N×1, that is, there is only one output port. In this case, the output port may be directly used as the output port of the first optical signal.

[0104] In some embodiments, during the switching process between the first optical signal and the second optical signal, a power fluctuation value of an optical signal outputted from an output port of the first optical signal is within a target power fluctuation range.

[0105] Optionally, the target power fluctuation range may be -1 db to 1 db.

[0106] It should be noted that the power fluctuation value can be the difference between the powers of the optical signal output by the output port of the first optical signal at any two moments in the switching process between the first optical signal and the second optical signal, or the difference between the power of the optical signal output by the output port of the first optical signal at any moment in the switching process between the first optical signal and the second optical signal and the power baseline, where the power baseline refers to the power of the optical signal output by the output port of the first optical signal before the switching between the first optical signal and the second optical signal.

[0107] In some embodiments, during the switching process between the first optical signal and the second optical signal, the power reduction value of the first optical signal outputted from the output port of the first optical signal is equal to the power increase value of the second optical signal outputted from the output port of the first optical signal.

[0108] For example, the power of the first optical signal outputted from the output port of the first optical signal can be gradually reduced from 100% to 0%, and at the same time, the power of the second optical signal outputted from the output port of the first optical signal can be gradually increased from 0% to 100%. When the power of the first optical signal outputted from the output port of the first optical signal is reduced from 100% to 90%, the power of the second optical signal outputted from the output port of the first optical signal can be increased from 0% to 10%.

[0109] Next, it will be passed Figure 5 To introduce the power change in the embodiment of this application. Please refer to Figure 5 , T0 is the start time of switching between the first optical signal and the second optical signal, T2 is the end time of switching between the first optical signal and the second optical signal, Figure 5 It is not difficult to see that in the technology of quickly deleting (or filling) the DL of the corresponding wavelength after adding (or deleting) an optical signal of a certain wavelength, that is, in the related art, the power fluctuation of the optical signal output from the output port of the first optical signal caused by the switching of the optical signal is large. However, when the embodiment of the present application is used to switch the optical signal, the power fluctuation range of the optical signal output from the output port of the first optical signal is much smaller than the power fluctuation range of the optical signal switching in the related art, and is within the power fluctuation range that the system can tolerate.

[0110] Next, Figure 6 Taking the optical signal switching method provided in the embodiment of the present application as an example, the optical signal switching method provided in the embodiment of the present application is introduced again.

[0111] First, take the optical signal with wavelength λ1-λ115 as an example. Figure 6 As shown, the first transmission path of the optical signal with a wavelength of λ1-λ115 (i.e., the first optical signal) is input from the A0 port of WSSA, output from the A1 port, input from the B1 port of WSSB, output from the B0 port, and then input from the D0 port of WSSD, output from the D1 port, input from the E1 port of WSSE, and output from the E0 port. The second transmission path is input from the A0 port of WSSA, output from the A2 port, input from the C1 port of WSSC, output from the C0 port, and then input from the F0 port of WSSF, output from the F2 port, input from the G1 port of WSSG, and output from the G0 port. The wavelength selective switch that uses the method provided in the embodiment of the present application to switch optical signals can be WSSB, WSSE on the first transmission path, and WSSC, WSSG on the second transmission path.

[0112] Taking the WSSB on the first transmission path as an example of a wavelength selection switch for switching optical signals using the method provided in the embodiment of the present application, the optical signal with a wavelength of λ1-λ115 (i.e., the target wavelength) output by the B0 port of the WSSB is switched from the optical signal originally input from the B1 port to the optical signal input from the B2 port emitted by the false light source DL1. The WSSB receives the optical signal switching instruction sent by the management node, and then adjusts the pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the target wavelength, so that during the switching process between the first optical signal and the second optical signal, the optical signal output by the output port of the first optical signal includes the first optical signal and the second optical signal, and the power reduction value of the first optical signal output by the output port of the first optical signal is equal to the power increase value of the second optical signal output by the output port of the first optical signal. After the WSSB optical signal switching is completed, the WSSA adjusts the pixels in the optical switching engine included in the WSSA so that the first optical signal input from the A0 port is output from the A2 port. Furthermore, taking the WSSC on the second transmission path as an example of a wavelength selection switch for switching optical signals using the method provided in the embodiment of the present application, the optical signal of the target wavelength output by the C0 port of the WSSC is switched from the optical signal input from the C2 port emitted by the false light source DL3 to the optical signal input from the C1 port. The process of switching optical signals by WSSC, WSSE and WSSG is similar to that of WSSB, which will not be repeated here.

[0113] Next, take the optical signal with wavelength λ116-λ120 as an example. Figure 6 As shown, the first transmission path of the optical signal (i.e., the first optical signal) with a wavelength of λ116-λ120 is input from the A0 port of WSSA, output from the A1 port, input from the B1 port of WSSB, output from the B0 port, and then input from the D0 port of WSSD, output from the D1 port, input from the E1 port of WSSE, and output from the E0 port. The second transmission path is input from the A0 port of WSSA, output from the A2 port, input from the C1 port of WSSC, output from the C0 port, and then input from the F0 port of WSSF, output from the F1 port, input from the E4 port of WSSE, and output from the E0 port. In this case, the wavelength selective switch for switching optical signals using the method provided in the embodiment of the present application can be WSSB, WSSE on the first transmission path, and WSSC on the second transmission path.

[0114] Taking the WSSB on the first transmission path as an example of a wavelength selection switch for switching optical signals using the method provided in the embodiment of the present application, the optical signal of λ116-λ120 (i.e., the target wavelength) output from the B0 port of the WSSB is switched from the optical signal originally input from the B1 port to the optical signal input from the B2 port emitted by the dummy light source DL1. The WSSB receives the optical signal switching instruction sent by the management node, and then adjusts the pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the target wavelength, so that during the switching process between the first optical signal and the second optical signal, the optical signal output from the output port of the first optical signal includes the first optical signal and the second optical signal, and the power reduction value of the first optical signal output from the output port of the first optical signal is equal to the power increase value of the second optical signal output from the output port of the first optical signal. After the WSSB optical signal switching is completed, the WSSA adjusts the pixels in the optical switching engine included in the WSSA so that the first optical signal input from the A0 port is output from the A2 port. Furthermore, taking the WSSC on the second transmission path as an example of a wavelength selection switch that uses the method provided in the embodiment of the present application to switch optical signals, the optical signal of the target wavelength output by the C0 port of the WSSC is switched from the optical signal input from the C2 port emitted by the false light source DL3 to the optical signal input from the C1 port. The process of optical signal switching by WSSC is similar to that of WSSB and will not be repeated here. After the WSSC optical signal switching is completed, WSSF adjusts the pixels in the optical switching engine included in WSSF so that the first optical signal input from the F0 port is output from the F1 port. The process of optical signal switching by WSSE is similar to that of WSSB and will not be repeated here.

[0115] It should be noted that the method provided in the embodiment of the present application is compatible with related technologies to jointly realize the switching of optical signals. For example, in the above example, when the optical signal with a wavelength of λ1-λ115 is switched, the method provided in the embodiment of the present application can be adopted, and when the optical signal with a wavelength of λ116-λ120 is switched, the method provided in the embodiment of the present application can be adopted, and related technologies can also be adopted, that is, after adding (or deleting) an optical signal of a certain wavelength, the DL of the corresponding wavelength is quickly deleted (or filled). The embodiment of the present application does not limit this.

[0116] In an embodiment of the present application, during the switching process of the first optical signal and the second optical signal, the optical switching engine can diffract the first optical signal and the second optical signal to the output port of the first optical signal, so that the optical signal output by the output port of the first optical signal includes the first optical signal and the second optical signal, and the output power of the first optical signal output by the output port of the first optical signal is reduced, and the output power of the second optical signal is increased, so that while realizing the switching of the first optical signal and the second optical signal, it is ensured that the power fluctuation of the optical signal output by the output port of the first optical signal is small, thereby effectively improving the transmission stability of the combined optical signal.

[0117] In addition, when optical signals of multiple wavelengths need to be switched, that is, when the target wavelength includes multiple wavelengths, the optical signal switching method provided in the embodiment of the present application does not need to switch the optical signals in batches. It can achieve the switching of optical signals of multiple wavelengths at a single time while ensuring that the power fluctuation of the optical signal output from the output port of the first optical signal is small, thereby improving the transmission stability of the combined optical signal, shortening the switching time of the optical signal, and improving the efficiency of the optical signal switching.

[0118] Figure 7 This is a schematic diagram of the structure of an optical signal switching system provided in an embodiment of the present application. The optical signal switching system includes a management node, a wavelength selection switch that performs optical signal switching using the method provided in an embodiment of the present application, and an optical amplifier. The management node is connected to the wavelength selection switch. The management node is used to send an optical signal switching instruction to the wavelength selection switch. The optical amplifier is used to amplify the optical signal output from the output port of the wavelength selection switch. It should be noted that the connection between the management node and the target selector can be a wired connection or a wireless connection, which is not limited in the embodiment of the present application.

[0119] For example, see Figure 8 , Figure 8After the combined optical signal is amplified by optical amplifier 1, it is input from the A0 port of WSSA. WSSA disperses a beam of optical signals with different wavelengths to obtain multiple optical signals with different wavelengths, and outputs the optical signal of the specified wavelength from ports A1 and A2 according to the requirements. The optical signal output from port A1 of WSSA is input from port B1 of WSSB, and the optical signal output from port A2 of WSSA is input from port B2 of WSSB. The optical transform unit (OTU) converts the client-side signal to a standard wavelength and inputs it from port B3 of WSSB. The optical signal emitted by the optical light source DL1 is input from port B4 of WSSB. The combined optical signal output from port B0 of WSSB is amplified by optical amplifier 2. The management node sends an optical signal switching instruction to WSSB, WSSB receives the optical signal switching instruction, and adjusts the pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port of the first optical signal, and the target wavelength, so as to reduce the output power of the first optical signal outputted from the output port of the first optical signal and increase the output power of the second optical signal, thereby realizing the switching between the first optical signal and the second optical signal.

[0120] In an embodiment of the present application, during the switching process of the first optical signal and the second optical signal, the optical switching engine can diffract the first optical signal and the second optical signal to the output port of the first optical signal, so that the optical signal output by the output port of the first optical signal includes the first optical signal and the second optical signal, and the output power of the first optical signal output by the output port of the first optical signal is reduced, and the output power of the second optical signal is increased, so that while realizing the switching of the first optical signal and the second optical signal, it is ensured that the power fluctuation of the optical signal output by the output port of the first optical signal is small, thereby effectively improving the transmission stability of the combined optical signal.

[0121] In addition, when optical signals of multiple wavelengths need to be switched, that is, when the target wavelength includes multiple wavelengths, the optical signal switching method provided in the embodiment of the present application does not need to switch the optical signals in batches. It can achieve the switching of optical signals of multiple wavelengths at a single time while ensuring that the power fluctuation of the optical signal output from the output port of the first optical signal is small, thereby improving the transmission stability of the combined optical signal, shortening the switching time of the optical signal, and improving the efficiency of the optical signal switching.

[0122] Fig. 9 is a schematic diagram of the structure of a wavelength selective switch provided by an embodiment of the present application. Fig. 9 The device includes: a receiving module 901 and an adjusting module 902.

[0123] The receiving module 901 is used to receive an optical signal switching instruction, which instructs the wavelength selection switch to switch the first optical signal and the second optical signal, the first optical signal and the second optical signal are both optical signals of the target wavelength, and the first optical signal and the second optical signal have different input ports but the same output ports. The detailed implementation process refers to the corresponding content in the above embodiments, which will not be repeated here.

[0124] The adjustment module 902 is used to adjust the pixels in the optical switching engine to reduce the output power of the first optical signal output by the output port and increase the output power of the second optical signal to achieve the switching between the first optical signal and the second optical signal; wherein, during the switching process, the optical signal output by the output port includes the first optical signal and the second optical signal. The detailed implementation process refers to the corresponding content in the above embodiments, which will not be repeated here.

[0125] Optionally, the adjustment module 902 is specifically configured to:

[0126] Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the target wavelength, pixels within the optical switching engine are adjusted.

[0127] Optionally, the target wavelength includes at least one wavelength, and the optical switching engine includes at least one optical switching area, and the at least one optical switching area corresponds one-to-one with the at least one wavelength;

[0128] The adjustment module 902 is specifically used for:

[0129] Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the pixels in the first optical exchange area are adjusted. The first wavelength is any one of at least one wavelength, and the first optical exchange area is the optical exchange area corresponding to the first wavelength.

[0130] Optionally, the adjustment module 902 is specifically used for:

[0131] Based on the input port of the first optical signal, the input port and the output port of the second optical signal, and the first wavelength, determine the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship, the first corresponding relationship indicating the corresponding relationship between the input port of the first optical signal, the input port and the output port of the second optical signal, the first wavelength and the grayscale value;

[0132] The pixels in the first light exchange region are adjusted according to the pixel grayscale.

[0133] Optionally, the adjustment module 902 is specifically used for:

[0134] Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the grayscale values ​​corresponding to the target pixel at multiple moments within the target switching duration are determined from the first corresponding relationship. The target pixel is any pixel in the first optical exchange area, and the target switching duration is the duration required to switch the first optical signal to the second optical signal.

[0135] Optionally, the wavelength selective switch is any wavelength selective switch on the first transmission path or any wavelength selective switch on the second transmission path, the first transmission path is the transmission path before the optical signal is switched, and the second transmission path is the transmission path after the optical signal is switched;

[0136] If the wavelength selective switch is a wavelength selective switch on the first transmission path, the first optical signal is an optical signal carrying service data, and the second optical signal is an optical signal not carrying service data;

[0137] If the wavelength selective switch is a wavelength selective switch on the second transmission path, the first optical signal is an optical signal not carrying service data, and the second optical signal is an optical signal carrying service data.

[0138] Optionally, the wavelength selective switch comprises a first wavelength selective switch and a second wavelength selective switch;

[0139] The first wavelength selective switch is located on a first transmission path, the first transmission path being the transmission path before the optical signal is switched, the first optical signal input to the first wavelength selective switch is an optical signal carrying service data, and the second optical signal input to the first wavelength selective switch is an optical signal not carrying service data;

[0140] The second wavelength selective switch is located on the second transmission path, which is the transmission path after the optical signal is switched. The first optical signal input to the second wavelength selective switch is an optical signal that does not carry service data, and the second optical signal input to the second wavelength selective switch is an optical signal that carries service data.

[0141] Optionally, during the switching process between the first optical signal and the second optical signal, a power fluctuation value of the optical signal output by the output port is within a target power fluctuation range.

[0142] Optionally, the target power fluctuation range is -1db to 1db.

[0143] In an embodiment of the present application, during the switching process of the first optical signal and the second optical signal, the optical switching engine can diffract the first optical signal and the second optical signal to the output port of the first optical signal, so that the optical signal output by the output port of the first optical signal includes the first optical signal and the second optical signal, and the output power of the first optical signal output by the output port of the first optical signal is reduced, and the output power of the second optical signal is increased, so that while realizing the switching of the first optical signal and the second optical signal, it is ensured that the power fluctuation of the optical signal output by the output port of the first optical signal is small, thereby effectively improving the transmission stability of the combined optical signal.

[0144] In addition, when optical signals of multiple wavelengths need to be switched, that is, when the target wavelength includes multiple wavelengths, the optical signal switching method provided in the embodiment of the present application does not need to switch the optical signals in batches. It can achieve the switching of optical signals of multiple wavelengths at a single time while ensuring that the power fluctuation of the optical signal output from the output port of the first optical signal is small, thereby improving the transmission stability of the combined optical signal, shortening the switching time of the optical signal, and improving the efficiency of the optical signal switching.

[0145] It should be noted that: the wavelength selective switch provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when switching optical signals. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the wavelength selective switch is divided into different functional modules to complete all or part of the functions described above. In addition, the wavelength selective switch provided in the above embodiment and the optical signal switching method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0146] The embodiment of the present application also provides a single board, which includes at least one wavelength selective switch that uses the method provided in the embodiment of the present application to switch optical signals.

[0147] The embodiment of the present application further provides an optical layer sub-rack, which includes at least one single board, and the single board includes at least one wavelength selective switch that performs optical signal switching using the method provided in the embodiment of the present application.

[0148] It should be noted that those skilled in the art usually refer to a device including at least one single board as a sub-rack, but in order to distinguish it from sub-racks in other fields, the sub-rack is referred to as an optical layer sub-rack in the embodiment of the present application, and the optical layer sub-rack does not constitute a limitation of the embodiment of the present application.

[0149] The embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores instructions, and when the instructions are executed on a wavelength selective switch, the wavelength selective switch executes the steps of the optical signal switching method described in the above embodiment.

[0150] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a wavelength selective switch, enables the wavelength selective switch to execute the steps of the optical signal switching method described in the above embodiment. In other words, a computer program is provided, which, when executed on a wavelength selective switch, enables the wavelength selective switch to execute the steps of the optical signal switching method described in the above embodiment.

[0151] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0152] It should be understood that the "multiple" mentioned herein refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.

[0153] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the optical signal switching instructions involved in the embodiments of the present application are all obtained with full authorization.

[0154] The above-mentioned embodiments are provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for switching an optical signal, characterized in that: Applied to a wavelength selective switch, the wavelength selective switch includes an optical switching engine; the method includes: receiving an optical signal switching instruction, wherein the optical signal switching instruction instructs the wavelength selective switch to switch between a first optical signal and a second optical signal, wherein the first optical signal and the second optical signal are both optical signals of a target wavelength, and the first optical signal and the second optical signal have different input ports but the same output ports; The pixels within the optical switching engine are adjusted to reduce the output power of the first optical signal output by the output port and increase the output power of the second optical signal to achieve switching between the first optical signal and the second optical signal; wherein, during the switching process, the optical signal output by the output port includes the first optical signal and the second optical signal.

2. The method according to claim 1, characterized in that The adjusting the pixels in the optical switching engine includes: Pixels within the optical switching engine are adjusted based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the target wavelength.

3. The method according to claim 2, characterized in that The target wavelength includes at least one wavelength, the optical switching engine includes at least one optical switching area, and the at least one optical switching area corresponds to the at least one wavelength in a one-to-one manner; The adjusting of pixels in the optical switching engine based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the target wavelength includes: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the pixels in the first optical exchange area are adjusted, the first wavelength is any one of the at least one wavelength, and the first optical exchange area is the optical exchange area corresponding to the first wavelength.

4. The method according to claim 3, characterized in that The adjusting of pixels in the first optical exchange area based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength includes: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, determine the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship, wherein the first corresponding relationship indicates a corresponding relationship between the input port of the first optical signal, the input port of the second optical signal, the output port, the first wavelength and the grayscale value; The pixels in the first light exchange area are adjusted according to the pixel grayscale.

5. The method according to claim 4, characterized in that The determining, based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship includes: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the grayscale values ​​corresponding to the target pixel at multiple moments within the target switching duration are determined from the first corresponding relationship, the target pixel is any pixel in the first optical exchange area, and the target switching duration is the duration required to switch the first optical signal to the second optical signal.

6. The method according to claim 1, characterized in that The wavelength selective switch is any wavelength selective switch on the first transmission path or any wavelength selective switch on the second transmission path, the first transmission path is the transmission path before the optical signal is switched, and the second transmission path is the transmission path after the optical signal is switched; If the wavelength selective switch is a wavelength selective switch on the first transmission path, the first optical signal is an optical signal carrying service data, and the second optical signal is an optical signal not carrying service data; If the wavelength selective switch is a wavelength selective switch on the second transmission path, the first optical signal is an optical signal not carrying service data, and the second optical signal is an optical signal carrying service data.

7. The method according to claim 1, characterized in that The wavelength selective switch comprises a first wavelength selective switch and a second wavelength selective switch; The first wavelength selective switch is located on a first transmission path, the first transmission path is a transmission path before the optical signal is switched, the first optical signal input to the first wavelength selective switch is an optical signal carrying service data, and the second optical signal input to the first wavelength selective switch is an optical signal not carrying service data; The second wavelength selective switch is located on a second transmission path, which is a transmission path after the optical signal is switched. The first optical signal input to the second wavelength selective switch is an optical signal that does not carry service data, and the second optical signal input to the second wavelength selective switch is an optical signal that carries service data.

8. The method according to claim 1, characterized in that During the switching process between the first optical signal and the second optical signal, the power fluctuation value of the optical signal output by the output port is within a target power fluctuation range.

9. The method according to claim 8, characterized in that The target power fluctuation range is from -1db to 1db.

10. A wavelength selective switch, characterized in that: The wavelength selective switch comprises an optical switching engine; the wavelength selective switch further comprises: a receiving module, configured to receive an optical signal switching instruction, wherein the optical signal switching instruction instructs the wavelength selective switch to switch between a first optical signal and a second optical signal, wherein the first optical signal and the second optical signal are both optical signals of a target wavelength, and the first optical signal and the second optical signal have different input ports but the same output ports; An adjustment module is used to adjust the pixels in the optical switching engine to reduce the output power of the first optical signal output by the output port and increase the output power of the second optical signal to achieve switching between the first optical signal and the second optical signal; wherein, during the switching process, the optical signal output by the output port includes the first optical signal and the second optical signal.

11. The wavelength selective switch according to claim 10, characterized in that: The adjustment module is specifically used for: Pixels within the optical switching engine are adjusted based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the target wavelength.

12. The wavelength selective switch according to claim 11, characterized in that: The target wavelength includes at least one wavelength, the optical switching engine includes at least one optical switching area, and the at least one optical switching area corresponds to the at least one wavelength in a one-to-one manner; The adjustment module is specifically used for: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the pixels in the first optical exchange area are adjusted, the first wavelength is any one of the at least one wavelength, and the first optical exchange area is the optical exchange area corresponding to the first wavelength.

13. The wavelength selective switch according to claim 12, characterized in that: The adjustment module is specifically used for: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, determine the pixel grayscale corresponding to the first optical exchange area from a first corresponding relationship, wherein the first corresponding relationship indicates a corresponding relationship between the input port of the first optical signal, the input port of the second optical signal, the output port, the first wavelength and the grayscale value; The pixels in the first light exchange area are adjusted according to the pixel grayscale.

14. The wavelength selective switch according to claim 13, characterized in that: The adjustment module is specifically used for: Based on the input port of the first optical signal, the input port of the second optical signal, the output port, and the first wavelength, the grayscale values ​​corresponding to the target pixel at multiple moments within the target switching duration are determined from the first corresponding relationship, the target pixel is any pixel in the first optical exchange area, and the target switching duration is the duration required to switch the first optical signal to the second optical signal.

15. The wavelength selective switch according to claim 10, characterized in that: The wavelength selective switch is any wavelength selective switch on the first transmission path or any wavelength selective switch on the second transmission path, the first transmission path is the transmission path before the optical signal is switched, and the second transmission path is the transmission path after the optical signal is switched; If the wavelength selective switch is a wavelength selective switch on the first transmission path, the first optical signal is an optical signal carrying service data, and the second optical signal is an optical signal not carrying service data; If the wavelength selective switch is a wavelength selective switch on the second transmission path, the first optical signal is an optical signal not carrying service data, and the second optical signal is an optical signal carrying service data.

16. The wavelength selective switch according to claim 10, characterized in that: The wavelength selective switch comprises a first wavelength selective switch and a second wavelength selective switch; The first wavelength selective switch is located on a first transmission path, the first transmission path is a transmission path before the optical signal is switched, the first optical signal input to the first wavelength selective switch is an optical signal carrying service data, and the second optical signal input to the first wavelength selective switch is an optical signal not carrying service data; The second wavelength selective switch is located on a second transmission path, which is a transmission path after the optical signal is switched. The first optical signal input to the second wavelength selective switch is an optical signal that does not carry service data, and the second optical signal input to the second wavelength selective switch is an optical signal that carries service data.

17. The wavelength selective switch according to claim 10, characterized in that: During the switching process between the first optical signal and the second optical signal, the power fluctuation value of the optical signal output by the output port is within a target power fluctuation range.

18. The wavelength selective switch according to claim 17, characterized in that: The target power fluctuation range is from -1db to 1db.

19. A switching system for optical signals, characterized in that: The optical signal switching system comprises a management node, a wavelength selective switch according to any one of claims 1 to 9, and an optical amplifier, wherein the management node is connected to the wavelength selective switch, the management node is used to send the optical signal switching instruction to the wavelength selective switch, and the optical amplifier is used to amplify the optical signal output from the output port of the wavelength selective switch.

20. A single board, characterized in that: The single board comprises at least one wavelength selective switch according to any one of claims 1-9.

21. An optical layer sub-rack, characterized in that: The optical layer sub-rack comprises at least one single board as claimed in claim 20.