N-transmitting n-receiving optical multiplex section protection system, optical channel protection system, subnet connection protection system, n-transmitting n-receiving client-side protective optical transmission system and optical signal transmission method
Patent Information
- Application Number
- PCT/IB2025/052159
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-06
- Filing Date
- 2025-02-28
- Publication Date
- 2025-10-02
AI Technical Summary
The existing optical multiplex section protection system adopts a dual-transmit and selective-receive method, which wastes the bandwidth resources of an optical cable, resulting in a doubling of bandwidth transmission costs and failing to effectively guarantee the reliability of the optical transmission system.
The n-transmit n-receive optical multiplex section protection system is adopted. By setting a combiner and a splitter between the optical transceiver and the optical switch, the priority classification and optical path switching of the optical signal are realized, ensuring that the high-priority optical signal transmitted before the faulty optical cable fails is transmitted by the normal optical cable.
When the optical cable is operating normally, the bandwidth resources of the optical transmission system are fully utilized. In the event of a fault, effective protection of high-priority optical signals is achieved, ensuring the reliability of the optical transmission system.
Smart Images

Figure IB2025052159_02102025_PF_FP_ABST
Abstract
Description
[0001] Cross-reference to the present disclosure claims priority to Chinese patent application No. 202410257847.1, filed with the Patent Office of the People's Republic of China on March 6, 2024, entitled "N-Transmit-N-Receive Optical Multiplex Section, Optical Channel, Subnet Connection Protection System, and Related Methods," the entire contents of which are incorporated herein by reference. Technical Field: The present disclosure relates to the field of communications technology, and more particularly to an n-transmit-n-receive optical multiplex section, optical channel, subnet connection protection system, n-transmit-n-receive client-side protection optical transmission system, and optical signal transmission method. Background: With the development of cloud computing, dense wavelength division multiplexing (DWDM) optical transmission systems, featuring high-capacity communications, have been widely used in data center networks. As transmission capacity continues to increase, the reliability of optical transmission systems is becoming increasingly important. Currently, Optical Multiplex Section Protection (OMSP) optical transmission systems employ a dual-transmit selective reception approach for protection. Specifically, the OMSP system's transmitter simultaneously transmits two identical optical signals, which are then transmitted via two different optical cables (a primary optical cable and a backup optical cable). Under normal circumstances, the OMSP system's receiver receives the optical signal transmitted from the primary optical cable. When the primary optical cable fails, the OMSP system's receiver receives the optical signal transmitted from the backup optical cable, thereby providing protection and ensuring the reliability of the OMSP system. However, this dual-transmit selective reception approach wastes the bandwidth resources of one optical cable, doubling the bandwidth transmission cost of the entire OMSP system. SUMMARY OF THE INVENTION Various aspects of the present disclosure provide an n-transmit, n-receive optical multiplex section protection system, an optical channel protection system, a subnet connection protection system, an n-transmit, n-receive client-side protection optical transmission system, and an optical signal transmission method, to improve resource utilization and reliability of the optical transmission system.An embodiment of the present disclosure provides an n-transmit, n-receive optical multiplex section protection system, comprising: a first device and a second device; the first device and the second device both comprising a plurality of optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, wherein n is a positive integer greater than 1; the plurality of optical transceivers in the first device are connected to the input ports of the n×n first optical switch in the first device via the n combiners in the first device; the output ports of the n×n second optical switch in the first device are connected to the plurality of optical transceivers in the first device via the n demultiplexers in the first device; the plurality of optical transceivers in the second device are connected to the input ports of the n×n first optical switch in the second device via the n combiners in the second device; the output ports of the n×n second optical switch in the second device are connected to the plurality of optical transceivers in the second device via the n demultiplexers in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n×n second optical switch in the second device is connected to the plurality of optical transceivers in the second device n output ports of the first optical switch are connected to n input ports of an n×n second optical switch in the first device via n second optical cables; one of the first device and the second device is a transmitting end, and the other is a receiving end; the transmitting end is configured to receive multiple optical signals of different priorities through multiple optical transceivers, combine the multiple optical signals of different priorities into n optical signals of different priorities through n combiners, and transmit the n optical signals of different priorities to the n optical cables through the n×n first optical switch in the transmitting end; the receiving end is configured to receive n optical signals from the n optical cables through the n×n second optical switch in the receiving end, split the n optical signals of different priorities into multiple optical signals through n splitters, and output the multiple optical signals to the outside through the multiple optical transceivers; fault detection is performed on the n optical cables; in response to detecting a faulty optical cable in the n optical cables, and in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable in the n optical cables, the n×n first optical switch in the transmitting end and the n×n first optical switch in the receiving end are controlled. The second optical switch performs optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.The present disclosure also provides an n-transmit, n-receive optical channel protection system, comprising: a first device and a second device; the first device and the second device each comprising n optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, wherein n is a positive integer greater than 1; the n optical transceivers in the first device are connected to an input port of the n×n first optical switch in the first device, and an output port of the n×n second optical switch in the first device is connected to the n optical transceivers in the first device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; a combiner is further provided between the output port of the n×n first optical switch in the first device and the first optical cable; a demultiplexer is further provided between the first optical cable and the input port of the n×n second optical switch in the second device; A combiner is further provided between the output port of the n first optical switch and the second optical cable, and a splitter is further provided between the second optical cable and the input port of the n x n second optical switch in the second device; one of the first device and the second device is a transmitting end, and the other is a receiving end; the transmitting end is configured to receive n optical signals of different priorities through n optical transceivers, and transmit the n optical signals of different priorities to n optical cables respectively through the first optical switch in the transmitting end and the n splitters; the receiving end is configured to receive n optical signals from the n optical cables through the n splitters and the n x n second optical switch in the receiving end, and output the n optical signals externally through the n optical transceivers; fault detection is performed on the n optical cables; in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable among the n optical cables, the n x n first optical switch in the transmitting end and the n x n second optical switch in the receiving end are controlled to perform optical path switching, So that the optical signal transmitted by the faulty optical cable before the failure is transmitted by the normal optical cable.An embodiment of the present disclosure further provides an n-transmit, n-receive subnet connection protection system, comprising: a first device and a second device; the first device and the second device both comprising a switch, n combiners, n splitters, and an optical receiver, wherein n is a positive integer greater than 1, and the optical receiver comprises a client-side port and a line-side port; the switch is connected to the client-side port of the optical receiver, the n line-side first ports of the optical receiver in the first device are connected to the n line-side second ports of the optical receiver in the second device via n first optical cables, and the n line-side first ports of the optical receiver in the second device are connected to the n line-side second ports of the optical receiver in the first device via n second optical cables; one of the first device and the second device is a transmitter, and the other is a receiver; the transmitter is configured to receive n optical signals of different priorities through the switch, and send the n optical signals of different priorities to the n optical cables respectively via the optical receiver and the n combiners in the transmitter; the receiver, The system is configured to receive n optical signals from n optical cables via n wave splitters and an optical receiver at a receiving end, and output the n optical signals externally via a switch; perform fault detection on the n optical cables; and in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, control the optical receiver at the transmitting end and the optical receiver at the receiving end to perform an electrical cross-link operation, so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables.The present disclosure also provides an n-transmit, n-receive client-side protection optical transmission system, comprising: a first device and a second device; each of the first device and the second device comprising n switches, n optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, wherein n is a positive integer greater than 1; the n switches in the first device are respectively connected to the n×n first optical switch and the n×n second optical switch in the first device; the n switches in the second device are respectively connected to the n×n first optical switch and the n×n second optical switch in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; the output ports of the n×n first optical switch in the first device are connected to the n first optical cables via the n optical transceivers and the n combiners in the first device. n first optical cables are connected to an input port of an n×n second optical switch in the second device via n wave splitters in the second device and n optical transceivers in the second device; an output port of the n×n first optical switch in the second device is connected to n second optical cables via n optical transceivers in the second device and n wave combiners in the second device; n second optical cables are connected to an input port of the n×n second optical switch in the first device via n wave splitters in the first device and n optical transceivers in the first device; one of the first device and the second device is a transmitting end, and the other is a receiving end; the transmitting end is configured to receive n optical signals of different priorities through n switches, and transmit the n optical signals of different priorities to the n optical cables via the n×n first optical switch, n optical transceivers, and n wave combiners in the transmitting end; the receiving end is configured to receive n optical signals from the n optical cables via n wave splitters, n optical receivers, and n×n second optical switches in the receiving end, and output the n optical signals externally through the n switches; Fault detection is performed on n optical cables; in response to detecting a faulty optical cable among the n optical cables, and in response to the optical signal transmitted by the faulty optical cable before the fault occurs having a higher priority than the optical signal transmitted by a normal optical cable among the n optical cables, controlling an n×n first optical switch at a transmitting end and an n×n second optical switch at a receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault occurs is transmitted by the normal optical cable.An embodiment of the present disclosure further provides an optical signal transmission method, applied to a transmitting end, the method comprising: receiving multiple optical signals of different priorities via multiple optical transceivers in the transmitting end, combining the multiple optical signals of different priorities into n optical signals of different priorities via n combiners, and transmitting the n optical signals of different priorities to n optical cables via a first optical switch in the transmitting end; and in response to a faulty optical cable among the n optical cables, where the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, controlling the first optical switch in the transmitting end to switch optical paths so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. An embodiment of the present disclosure further provides an optical signal transmission method, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables via a second optical switch at the receiving end, splitting the n optical signals of different priorities into multiple optical signals via n wave splitters, and outputting the multiple optical signals via multiple optical transceivers; performing fault detection on the n optical cables; and in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of an optical signal transmitted by the faulty optical cable before the fault is higher than the priority of an optical signal transmitted by a normal optical cable among the n optical cables, controlling the second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. An embodiment of the present disclosure further provides an optical signal transmission method, applied to a transmitting end, the method comprising: receiving, via n optical transceivers in the transmitting end, n optical signals of different priorities; and transmitting, via a first optical switch and n combiners in the transmitting end, the n optical signals of different priorities to n optical cables, respectively; and, in response to a faulty optical cable among the n optical cables, where the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, controlling the first optical switch in the transmitting end to perform optical path switching, such that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. An embodiment of the present disclosure further provides an optical signal transmission method, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables via n wave splitters and a second optical switch in the receiving end, and outputting the n optical signals via n optical transceivers; performing fault detection on the n optical cables; and, in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, controlling the second optical switch in the receiving end to perform optical path switching so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables.An embodiment of the present disclosure further provides an optical signal transmission method, applied to a transmitter, the method comprising: receiving n optical signals of different priorities via a switch in the transmitter, and sending the n optical signals of different priorities to n optical cables via an optical receiver and n combiners in the transmitter; and in response to a faulty optical cable among the n optical cables, where the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, controlling the optical receiver in the transmitter to perform an electrical cross-link operation so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cables. An embodiment of the present disclosure further provides an optical signal transmission method, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables via n wave splitters and an optical receiver at the receiving end, and outputting the n optical signals via a switch; performing fault detection on the n optical cables; and, in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, controlling the optical receiver at the receiving end to perform an electrical cross-link operation, so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables. The present disclosure also provides an optical signal transmission method, applied to a transmitting end. The method includes: receiving n optical signals of different priorities via a switch, and transmitting the n optical signals of different priorities to n optical cables via a first optical switch, n optical transceivers, and n combiners at the transmitting end. In response to a faulty optical cable among the n optical cables, and in which the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, controlling the first optical switch at the transmitting end to switch optical paths so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. An embodiment of the present disclosure further provides an optical signal transmission method, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables via n wave splitters, n optical receivers, and a second optical switch at the receiving end, and outputting the n optical signals via the switch; performing fault detection on the n optical cables; and, in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, controlling the second optical switch at the receiving end to perform optical path switching so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables.The present disclosure also provides a computer device comprising: a memory and a processor; the memory storing a computer program; and the processor coupled to the memory for executing the computer program to perform the steps of the aforementioned optical signal transmission method. The present disclosure also provides a computer-readable storage medium storing the computer program. When the computer program is executed by the processor, the processor implements the steps of the aforementioned optical signal transmission method. The present disclosure also provides a computer program product comprising a computer program / instructions. When the computer program / instructions is executed by the processor, the processor implements the steps of the aforementioned optical signal transmission method. The present disclosure also provides a computer program product comprising a non-volatile computer-readable storage medium storing the computer program. When the computer program is executed by the processor, the processor implements the steps of the aforementioned optical signal transmission method. The present disclosure also provides a computer program. When the computer program is executed by the processor, the processor implements the steps of the aforementioned optical signal transmission method. The n-transmit, n-receive optical transmission system provided by the embodiments of the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are normal, that is, under normal conditions, n optical signals with different priorities are transmitted through the n optical cables. This avoids wasting optical cable bandwidth resources, fully utilizes the bandwidth resources of the optical transmission system, and improves resource utilization of the optical transmission system. On the other hand, when a faulty optical cable occurs among the n optical cables, that is, under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching causes the optical signal transmitted by the faulty optical cable before the fault to be transmitted by the normal optical cable. This means that the normal optical cable transmitting the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable. This effectively protects the high-priority optical signal and ensures the reliability of the optical transmission system. BRIEF DESCRIPTION OF THE DRAWINGS The drawings described herein are provided to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are provided to explain the present disclosure and are not intended to unduly limit the present disclosure.In the accompanying drawings: Figure 1 is an architectural diagram of an existing optical multiplex section protection system provided by an embodiment of the present disclosure; Figure 2a is an architectural diagram of an n-transmit n-receive optical multiplex section protection system provided by an embodiment of the present disclosure; Figure 2b is an architectural diagram of another n-transmit n-receive optical multiplex section protection system provided by an embodiment of the present disclosure; Figure 2c is an architectural diagram of the optical multiplex section protection system shown in Figure 2a provided by an embodiment of the present disclosure when a faulty optical cable occurs; Figure 3 is an architectural diagram of an existing optical channel protection system provided by an embodiment of the present disclosure; Figure 4a is an architectural diagram of an n-transmit n-receive optical channel protection system provided by an embodiment of the present disclosure; Figure 4b is an architectural diagram of the optical channel protection system shown in Figure 4a provided by an embodiment of the present disclosure when a faulty optical cable occurs; Figure 4c is an architectural diagram of another n-transmit n-receive optical channel protection system provided by an embodiment of the present disclosure; Figure 5 is an architectural diagram of an existing subnet connection protection system provided by an embodiment of the present disclosure; Figure 6a is an architectural diagram of an n-transmit n-receive subnet connection protection system provided by an embodiment of the present disclosure; Figure 6b is an architectural diagram of the subnet connection protection system shown in Figure 6a provided by an embodiment of the present disclosure when a faulty optical cable occurs; Figure 6c is an architectural diagram of another n-transmit, n-receive subnet connection protection system provided by an embodiment of the present disclosure; Figure 7a is an architectural diagram of an n-transmit, n-receive client-side protection optical transmission system provided by an embodiment of the present disclosure; Figure 7b is an architectural diagram of the client-side protection optical transmission system shown in Figure 7a when a faulty optical cable occurs, provided by an embodiment of the present disclosure; Figure 7c is an architectural diagram of another n-transmit, n-receive client-side protection optical transmission system provided by an embodiment of the present disclosure; Figure 8a is a flowchart of an optical signal transmission method provided by an embodiment of the present disclosure; Figure 8b is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8c is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8d is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8e is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8f is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8g is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 8h is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure; Figure 9 is a structural schematic diagram of a computer device provided by an embodiment of the present disclosure. To make the objectives, technical solutions, and advantages of the present disclosure more clearly apparent, the technical solutions of the present disclosure will be described clearly and completely below in conjunction with specific embodiments of the present disclosure and the corresponding drawings. Obviously, the described embodiments are only some of the embodiments of the present disclosure, and are not exhaustive.All other embodiments derived by persons of ordinary skill in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. In the embodiments of this disclosure, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the access relationship between associated objects and indicates that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. A and B can be singular or plural. In the text descriptions of this disclosure, the character " / " generally indicates that the associated objects are in an "or" relationship. Furthermore, in the embodiments of this disclosure, "first," "second," "third," etc., are merely used to distinguish the contents of different objects and have no other special meanings. Depending on the different positions of optical switches in an optical transmission system, common optical transmission systems may include: Optical Multiplex Section Protection (OMSP) systems, Optical Channel Protection (OCHP) systems, Sub-Network Connection Protection (SNCP) systems, etc. First, an existing optical multiplex section protection system will be described with reference to FIG1 . FIG1 is an architecture diagram of an existing optical multiplex section protection system provided in an embodiment of the present disclosure. Referring to FIG1 , the optical multiplex section protection system includes a local end and a peer end. A primary optical cable and a backup optical cable are connected between the local end and the peer end. The primary and backup optical cables may be dual-core fiber cables. The optical signals of the two single-core fiber cables in the dual-core fiber cable are transmitted in different directions. The transmission direction of the optical signal of the single-core optical fiber cable represented by the solid line of the main optical cable in Figure 1 is that the optical signal is sent from the local end to the opposite end; the transmission direction of the optical signal of the single-core optical fiber cable represented by the dotted line of the main optical cable in Figure 1 is that the optical signal is sent from the opposite end to the local end; the transmission direction of the optical signal of the single-core optical fiber cable represented by the solid line of the backup optical cable in Figure 1 is that the optical signal is sent from the local end to the opposite end; the transmission direction of the optical signal of the single-core optical fiber cable represented by the dotted line of the backup optical cable in Figure 1 is that the optical signal is sent from the opposite end to the local end.When an optical signal is transmitted through a single-core optical fiber cable, it passes through an optical power amplifier (Booster Amplifier, BA), an optical line amplifier (LA), and an optical pre-amplifier (PA). The BA increases the optical power entering the fiber. This power refers to the power of the optical signal entering the fiber. Both the local end and the remote end can serve as a transmitter or receiver. Taking the local end as the transmitter and the remote end as the receiver as an example, at the transmitter, multiple optical signals sent by multiple optical transponders (OTs) are aggregated (i.e., combined) by a wavelength division multiplexer / demultiplexer (OMD). The combined optical signals are then split into two identical optical signals by a 1x2 optical splitter in an optical line protection (OLP) device. One optical signal is transmitted to the receiver via a primary optical cable, and the other optical signal is transmitted to the receiver via a backup optical cable. Under normal circumstances, the receiving end selects the optical path through a 2x1 optical switch within the OLP, selecting the primary optical cable from the two. The receiving end then receives the optical signal transmitted by the primary cable. The received optical signal is then split into multiple optical signals by a wavelength division multiplexer / demultiplexer (OMD). These signals are then output via an optical transceiver. Existing OMSP systems employ a dual-transmit / receive protection scheme. This means that the OMSP's transmitting end simultaneously transmits two identical optical signals, which are transmitted via two different optical cables (one for the primary cable and one for the backup cable). Under normal circumstances, the OMSP's receiving end receives the optical signal transmitted from the primary cable. If the primary cable fails, the receiving end receives the optical signal transmitted from the backup cable, thus providing protection and ensuring the reliability of the OMSP system. However, this dual-transmit and selective-receive method wastes the bandwidth resources of an optical cable, doubling the bandwidth transmission cost of the entire OMSP system. FIG2a is an architecture diagram of an n-transmit and n-receive optical multiplex section protection system provided by an embodiment of the present disclosure.2a, the n-transmit, n-receive OMSP system includes: a first device and a second device; the first device and the second device each include a plurality of optical transceivers, n combiners, n splitters, an n×n first optical switch, and an n×n second optical switch, wherein n is a positive integer greater than 1; the plurality of optical transceivers in the first device are connected to the input ports of the n×n first optical switch in the first device via the n combiners in the first device, and the output ports of the n×n second optical switch in the first device are connected to the plurality of optical transceivers in the first device via the n splitters in the first device; the plurality of optical transceivers in the second device are connected to the input ports of the n×n first optical switch in the second device via the n combiners in the second device, and the output ports of the n×n second optical switch in the second device are connected to the plurality of optical transceivers in the second device via the n splitters in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n×n second optical switches in the second device are connected to the plurality of optical transceivers in the second device The n output ports of the n×n first optical switch are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables. In this embodiment, the combiner provided between the optical transceiver and the input port of the first optical switch can be any combiner, and the wavelength splitter provided between the optical transceiver and the output port of the second optical switch can be any wavelength splitter. For example, the combiner can be a multiplexer in an OMD, and the wavelength splitter can be a demultiplexer in an OMD. In Figure 2a, the combiner provided between the optical transceiver and the input port of the first optical switch is shown as an OMD, and the wavelength splitter provided between the optical transceiver and the output port of the second optical switch is shown as an OMD. Of course, the OMD shown in Figure 2a is merely an example. In this embodiment, n first and second optical cables are connected between the first and second devices. The first and second optical cables can be any optical fiber cables, without limitation. In Figure 2a, n dual-core fiber cables are connected between the first device and the second device. Each dual-core fiber cable includes two single-core fiber cables, one of which serves as the first optical cable and the other as the second optical cable. Of course, the dual-core fiber cable shown in Figure 2a is merely an example. Optionally, when an optical signal is transmitted in the first or second optical cable, it may sequentially pass through the BA, LA, and PA. In this embodiment, both the first and second optical switches are n x n optical switches, i.e., have n input ports and n optical switches. The second optical switch n input ports are respectively denoted as d1, d2 dn oIn this embodiment, the n output ports of an n x n first optical switch in a first device are connected to the n input ports of an n x n second optical switch in a second device via n first optical cables. Therefore, when the first device functions as a transmitter and the second device functions as a receiver, the first device transmits n optical signals to the second device via the n first optical cables. In this embodiment, the n output ports of an n x n first optical switch in a second device are connected to the n input ports of an n x n second optical switch in the first device via n second optical cables. Therefore, when the first device functions as a receiver and the second device functions as a transmitter, the second device transmits n optical signals to the first device via the n second optical cables. In this embodiment, each combiner disposed between an optical transceiver and the first optical switch is configured to receive optical signals of different wavelengths transmitted by multiple optical transceivers and combine the multiple optical signals of different wavelengths to generate a combined optical signal (which can be understood as a combined optical signal). The combined optical signal is transmitted via the first optical switch to an optical cable, which is then transmitted to the second optical switch via the optical cable. Each wavelength splitter disposed between the optical transceiver and the second optical switch is configured to split the combined optical signal received from the optical cable to obtain multiple optical signals of different wavelengths. The multiple optical signals of different wavelengths are then output through multiple optical transceivers connected to the wavelength splitter. In this embodiment, each wavelength combiner disposed between the optical transceiver and the first optical switch is connected to an input interface of the first optical switch, and the n wavelength combiners are respectively connected to the n input interfaces of the first optical switch. Each wavelength splitter disposed between the optical transceiver and the second optical switch is connected to an output interface of the second optical switch, and the n wavelength splitters are respectively connected to the n output interfaces of the second optical switch. In this embodiment, one of the first device and the second device is a transmitter, and the other is a receiver. The transmitter is configured to receive multiple optical signals of different priorities via multiple optical transceivers, combine the multiple optical signals of different priorities into n optical signals of different priorities via n wavelength combiners, and transmit the n optical signals of different priorities to n optical cables via the n×n first optical switch in the transmitter. In various embodiments of the present disclosure, there is no limitation on the method for determining the priority of optical signals. For example, the priority of optical signals can be divided according to a service level agreement (SLA). A higher SLA level indicates a higher priority. High-priority optical signals are preferentially placed on links with high SLA levels. High-priority optical signals can also preempt links with lower SLA levels in the event of a link failure.For another example, optical signals can be categorized based on their link availability requirements. The higher the required link availability, the higher the priority of the optical signal. High-priority optical signals are preferentially placed on links with high availability. High-priority optical signals can also preempt links with lower availability in the event of a link failure. Another example is categorized based on optical signals' latency requirements. The lower the required link transmission latency, the higher the priority of the optical signal. High-priority optical signals are preferentially placed on links with lower latency. High-priority optical signals can also preempt links with lower latency in the event of a link failure. In other words, high-priority optical signals are preferentially placed on high-priority links. High-priority optical signals can also preempt links with lower latency in the event of a link failure. In various embodiments of the present disclosure, optical signals carry service data, including, but not limited to, video data, voice data, image data, or text data. Specifically, each combiner receives at least one optical signal of the same priority, and different combiners receive optical signals of different priorities. For example, the priorities are SLA1, SLA2, and SLA3, respectively, from high to low. Combiner 1 combines multiple SLA1 optical signals to obtain a combined SLA1 optical signal; combiner 2 combines multiple SLA2 optical signals to obtain a combined SLA2 optical signal; and combiner 3 combines multiple SLA3 optical signals to obtain a combined SLA3 optical signal. N optical signals of different priorities are sent via a first optical switch to n optical cables, each of which transmits one optical signal. The n optical cables transmit n optical signals. If the transmitting end is a first device, the n optical cables are n first optical cables; if the transmitting end is a second device, the n optical cables are n second optical cables. In this embodiment, the receiving end is configured to receive n optical signals from n optical cables via an n×n second optical switch in the receiving end, split the n optical signals of different priorities into multiple optical signals via n wave splitters, and output the multiple optical signals via multiple optical transceivers; perform fault detection on the n optical cables; and in response to detecting a faulty optical cable among the n optical cables and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, control the n×n first optical switch in the transmitting end and the n×n second optical switch in the receiving end to perform optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.In this embodiment, each splitter splits the combined optical signal into one or more optical signals of different wavelengths, and transmits the one or more optical signals of different wavelengths through one or more optical transceivers connected to the splitter. In this embodiment, in addition to receiving n optical signals transmitted by the transmitting end via n optical cables, the receiving end also performs fault detection on the n optical cables. As an example, the receiving end performs the following steps during fault detection: detecting the received optical power of n input ports of the n×n second optical switch at the receiving end; and in response to the presence of a target input port whose received optical power does not meet the required value among the n×n second optical switches at the receiving end, determining the optical cable connected to the target input port as a faulty optical cable. For example, if the received optical power of an input port of the second optical switch at the receiving end is less than a set power threshold, the input port is considered a target input port that does not meet the required value; if the received optical power of an input port of the second optical switch at the receiving end is greater than or equal to the set power threshold, the input port is considered an input port that meets the required value. For another example, if the received optical power of the input port of the second optical switch at the receiving end does not fall within a set power range, then the input port is considered a target input port whose received optical power does not meet the requirement. If the received optical power of the input port of the second optical switch at the receiving end falls within the set power range, then the input port is considered an input port whose received optical power meets the requirement. In some optional embodiments, referring to FIG2b , the first device and the second device further include n transmitters and n receivers. The n transmitters in the first device are connected to the n receivers in the second device via n first optical cables, and the n transmitters in the second device are connected to the n receivers in the first device via n second optical cables. Optionally, referring to FIG2b , the output port of the n×n first optical switch in the first device is connected to the optical cable inlet of the first optical cable via a combiner. The combiner to which the output port of the n×n first optical switch in the first device is connected is also connected to the transmitter. The optical cable outlet of the first optical cable is connected to the input port of the n×n second optical switch in the second device via a splitter. The splitter to which the input port of the n×n second optical switch in the first device is connected is also connected to the receiver. Optionally, referring to FIG2b , the output port of the n×n first optical switch in the second device is connected to the optical cable inlet of the second optical cable via a combiner. The combiner to which the output port of the n×n first optical switch in the second device is connected is also connected to a transmitter. The optical cable outlet of the second optical cable is connected to the input port of the n×n second optical switch in the first device via a splitter. The splitter to which the input port of the n×n second optical switch in the second device is connected is also connected to a receiver.As another example, when performing fault detection, the receiving end performs the following steps: detecting the received optical power of n receivers in the receiving end; and in response to a target receiver among the n receivers in the receiving end having received optical power that does not meet the required value, determining the optical cable connected to the target receiver as a faulty optical cable. For example, if the received optical power of a receiver in the receiving end is less than a set power threshold, the receiver is a target receiver that does not meet the required value; if the received optical power of a receiver in the receiving end is greater than or equal to the set power threshold, the receiver is a receiver that meets the required value. For another example, if the received optical power of a receiver in the receiving end does not fall within a set power range, the receiver is a target receiver that does not meet the required value; and if the received optical power of a receiver in the receiving end falls within the set power range, the receiver is a receiver that meets the required value. As another example, when performing fault detection, the receiving end performs the following steps: controlling n receivers at the receiving end to respectively perform handshake connections with n transmitters at the transmitting end; and in response to a target receiver among the n receivers at the receiving end failing the handshake, determining the optical cable connected to the target receiver as a faulty optical cable. Specifically, for receivers and transmitters connected to the same optical cable, the receiving end is controlled to send a handshake connection request to the transmitting end's transmitter. If the handshake between the receiving end receiver and the transmitting end's transmitter is successful, the optical cable connected to the receiving end receiver is a normal optical cable. If the handshake between the receiving end receiver and the transmitting end's transmitter fails, the optical cable connected to the receiving end receiver is a faulty optical cable. In this embodiment, if the receiving end detects a faulty optical cable and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, the first optical switch at the transmitting end and the second optical switch at the receiving end are controlled to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In practical applications, if multiple normal optical cables have lower priorities than the faulty optical cable, one normal optical cable is selected from the multiple normal optical cables to replace the faulty optical cable and transmit the optical signal transmitted by the faulty optical cable before the fault. Of course, the normal optical cable with the lowest or highest priority can also be selected from the multiple normal optical cables to replace the faulty optical cable and transmit the optical signal transmitted by the faulty optical cable before the fault. This is not a limitation.Optionally, when the receiving end controls the first optical switch and the second optical switch at the transmitting end to switch optical paths, the receiving end is configured to: control the output port connected to the input port connected to the faulty optical cable and the input port connected to the normal optical cable on the n x n second optical switch at the receiving end to switch between the output port connected to the faulty optical cable and the output port connected to the normal optical cable on the n x n first optical switch at the transmitting end; and send a switching instruction to the transmitting end; wherein the switching instruction controls the output port connected to the output port connected to the faulty optical cable and the output port connected to the normal optical cable on the n x n first optical switch at the transmitting end to switch between the output port connected to the faulty optical cable and the output port connected to the normal optical cable. For example, if the transmitting end is the first device and the receiving end is the second device, and n is 3, the optical signal priorities, from high to low, are: dual-core fiber cable 1, dual-core fiber cable 2, and dual-core fiber cable 3. Figure 2a shows the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end when n optical cables are normal. The a1 input port and the b1 output port of the first optical switch at the transmitting end are connected, the a2 input port and the b2 output port of the first optical switch at the transmitting end are connected, and the a3 input port and the b3 output port of the first optical switch at the transmitting end are connected. The d input port and the d1 output port of the second optical switch at the receiving end are connected, the c2 input port and the d2 output port of the second optical switch at the receiving end are connected, and the c3 input port and the d3 output port of the second optical switch at the receiving end are connected. Figure 2c shows the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end when a faulty optical cable is present in the n optical cables. Specifically, the first optical cable in dual-core fiber cable 1 is faulty, while the first optical cable in dual-core fiber cable 2 is not faulty (i.e., operating normally), and the first optical cable in dual-core fiber cable 3 is not faulty (i.e., operating normally). The b1 output port of the first optical switch at the transmitting end switches from connecting to the a1 input port to connecting to the a2 output port. The b2 output port of the first optical switch at the transmitting end switches from connecting to the a2 input port to connecting to the a1 input port. The a3 input port and the b3 output port of the first optical switch at the transmitting end are connected. The c1 input port of the second optical switch at the receiving end switches from connecting to the d1 output port to connecting to the d2 output port. The c2 input port of the second optical switch at the receiving end switches from connecting to the d2 output port to connecting to the d1 output port. The c3 input port and the d3 output port of the second optical switch at the receiving end are connected.In this embodiment, when all n optical cables are normal, that is, under normal conditions, optical signals are prioritized and transmitted through the n optical cables with different priorities. This avoids wasting cable bandwidth resources, fully utilizes the bandwidth resources of the OMSP system, and improves resource utilization of the OMSP system. If a faulty optical cable occurs among the n optical cables, that is, under normal conditions, and the priority of the optical signals transmitted by the faulty optical cable before the fault is higher than that of the optical signals transmitted by the normal optical cables, protection switching is triggered by optical path switching. The protection switching time remains on the order of several milliseconds, ensuring that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables, effectively protecting the high-priority optical signals. In this embodiment, for any optical cable, the output port of the first optical switch at the transmitting end to which the optical cable is connected and the input port of the first optical switch at the transmitting end to which the output port of the first optical switch at the transmitting end is connected are determined. The input port of the second optical switch at the receiving end to which the optical cable is connected and the output port of the second optical switch at the receiving end to which the input port of the second optical switch at the receiving end is connected are determined. A correspondence is then established between the port identifier of the input port of the first optical switch at the transmitting end, the port identifier of the output port of the first optical switch at the transmitting end, the optical cable identifier, the port identifier of the input port of the second optical switch at the receiving end, and the port identifier of the output port of the second optical switch at the receiving end. It will be appreciated that after the receiving end and the transmitting end switch optical paths, the above correspondence is updated based on the latest port connection status of the optical cable. If the receiving and transmitting ends do not update the aforementioned correspondence after optical path switching, a reversal switch can be implemented. Specifically, the optical signal transmitted by the faulty optical cable before the fault continues to be transmitted by the faulty optical cable, while the functioning optical cable continues to transmit the previous optical signal. The optical signals transmitted by the faulty optical cable and the functioning optical cable are not switched. In this embodiment, the transmitter at the receiving end can send a switching instruction to the receiver at the transmitting end, but this is not a limitation. In this embodiment, there are no restrictions on the timing of optical path switching between the receiving and transmitting ends. The following describes several optical path switching timing design methods.
[0002] (1) The receiving end first performs unidirectional switching and then notifies the transmitting end to perform unidirectional switching. Specifically, the receiving end first controls the second optical switch in the receiving end to perform optical path switching, and then sends a switching instruction to the transmitting end to trigger the first optical switch in the transmitting end to perform optical path switching. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end confirming the completion of the unidirectional switching, so that the receiving end can confirm that the dual-end linkage switching has been completed.
[0003] (2) The transmitter first performs unidirectional switching and then notifies the receiver to perform unidirectional switching. Specifically, the receiver sends a switching command to the transmitter to trigger the first optical switch in the transmitter to switch the optical path. After the transmitter completes the unidirectional switching, it can send a message to the receiver to confirm the completion of the unidirectional switching. Then, the receiver controls the second optical switch in the receiver to switch the optical path, completing the dual-end linkage switching.
[0004] (3) The receiving end switches the input port connected to the faulty optical cable and the input port connected to the normal optical cable in the second optical switch of the receiving end to neutral or blocked. The receiving end sends a switching command to the transmitting end to trigger the first optical switch in the transmitting end to switch the optical path. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end confirming the completion of the unidirectional switching. Then, the receiving end controls the second optical switch in the receiving end to switch the optical path, thus completing the dual-end linkage switching.
[0005] (4) The receiving end does not perform unidirectional switching, but notifies the transmitting end to perform unidirectional switching. Specifically, the receiving end sends a switching instruction to the transmitting end to trigger the first optical switch in the transmitting end to switch the optical path. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end confirming the completion of the unidirectional switching, so that the receiving end can confirm that the switching has been completed. This switching method will cause the interconnection topology to change.
[0006] (5) The receiving end first performs bidirectional switching and then notifies the transmitting end to perform bidirectional switching. Specifically, the receiving end and the transmitting end are connected via n dual-core optical fiber cables. The receiving end first controls the second optical switch and the first optical switch in the receiving end to perform optical path switching, and then sends a switching instruction to the transmitting end to trigger the first optical switch and the second optical switch in the transmitting end to perform optical path switching. After the transmitting end completes the bidirectional switching, it can send a message confirming the completion of the bidirectional switching to the receiving end, so that the receiving end can confirm that the dual-end linkage switching has been completed. It is worth noting that when any single-core optical fiber cable in the dual-core optical fiber cable fails, the dual-core optical fiber cable is regarded as a faulty dual-core optical fiber cable. The output port connected to the input port of the second optical switch in the receiving end connected to the faulty dual-core optical fiber cable is switched with the input port connected to the normal dual-core optical fiber cable. The output port connected to the input port of the first optical switch in the receiving end connected to the faulty dual-core optical fiber cable is switched with the input port connected to the normal dual-core optical fiber cable. In other words, the receiving end performs bidirectional switching. The output port of the first optical switch in the transmitting end connected to the faulty dual-core optical fiber cable is switched with the output port connected to the normal dual-core optical fiber cable, and the output port of the second optical switch in the transmitting end is switched with the output port connected to the faulty dual-core optical fiber cable and the output port connected to the normal dual-core optical fiber cable, that is, the transmitting end performs bidirectional switching. (6) The transmitting end first performs bidirectional switching and then notifies the receiving end to perform bidirectional switching. Specifically, the receiving end and the transmitting end are connected via n dual-core optical fiber cables. The receiving end sends a switching instruction to the transmitting end to trigger the first optical switch and the second optical switch in the transmitting end to perform optical path switching. After the transmitting end completes the bidirectional switching, it can send a message to the receiving end confirming the completion of the bidirectional switching. The receiving end controls the second optical switch and the first optical switch in the receiving end to perform optical path switching to complete the dual-end linkage switching.
[0007] (7) The receiving end does not perform bidirectional switching, but notifies the transmitting end to perform bidirectional switching. Specifically, the receiving end sends a switching instruction to the transmitting end to trigger the first optical switch and the second optical switch in the transmitting end to switch the optical path. After the transmitting end completes the bidirectional switching, it can send a message to the receiving end to confirm the completion of the bidirectional switching. This switching method will cause the interconnection topology to change. In this embodiment, if the dual-end linkage switching is not confirmed to be completed, the current switching status can also be checked. If it is an unexpected state or the two ends are disconnected, an alarm is reported. In this embodiment, the receiving end is also configured to: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, the control of the first optical switch in the transmitting end and the second optical switch in the receiving end to switch the optical path is prohibited. It can be understood that if the priority of the optical signal transmitted by the faulty optical cable before the failure is lower than the priority of the optical signal transmitted by the normal optical cable, optical path switching will not be performed, that is, protection switching will not be triggered, and the low-priority optical signal will not be protected. This effectively prevents the optical cable transmitting the high-priority optical signal from being preempted by protection switching when the optical cable transmitting the low-priority optical signal fails, effectively protecting the high-priority optical signal. Specifically, n optical cables transmit n optical signals of different priorities, and different optical cables have different priorities. The higher the priority, the lower the probability of the corresponding optical cable being preempted, and the lower the priority, the greater the probability of the corresponding optical cable being preempted. Taking four optical cables as an example, assume that optical cable 1 transmits an optical signal of priority 1, optical cable 2 transmits an optical signal of priority 2, optical cable 3 transmits an optical signal of priority 3, and optical cable 4 transmits an optical signal of priority 4. Assuming the priority order is priority 1, priority 2, priority 3, and priority 4, the order in which optical cables are preempted is optical cable 1, optical cable 2, optical cable 3, and optical cable 4. If optical cable 1 fails, optical cables 2, 3, and 4 can be preempted to transmit the priority 1 optical signal transmitted by optical cable 1 before the failure. If optical cable 2 fails, optical cables 3 and 4 can be preempted to transmit the priority 2 optical signal transmitted by optical cable 2 before the failure. If optical cable 3 fails, optical cable 4 can be preempted to transmit the priority 3 optical signal transmitted by optical cable 3 before the failure. If optical cable 4 fails, no other optical cables can be preempted to transmit the priority 4 optical signal transmitted by optical cable 4 before the failure.The n-transmit, n-receive optical multiplex section protection system provided by the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are normal, i.e., under normal conditions, n optical signals with different priorities are transmitted through the n optical cables. This avoids wasting optical cable bandwidth resources, fully utilizes the bandwidth resources of the OMSP system, and improves resource utilization. On the other hand, when a faulty optical cable occurs among the n optical cables, i.e., under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than that of the optical signal transmitted by the normal optical cable, protection switching is triggered through optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. This effectively protects the high-priority optical signal transmitted by the faulty optical cable, ensuring the reliability of the OMSP system. Figure 3 is an architectural diagram of a conventional optical channel protection system provided by the present disclosure. Referring to Figure 3, the optical channel protection system includes a local end and a peer end. The local end and the opposite end are connected via a main optical cable and a backup optical cable. These cables can be dual-core fiber cables. The optical signals of the two single-core fiber cables in the dual-core fiber cable have different transmission directions. In Figure 3, the single-core fiber cable represented by the solid line of the main optical cable transmits optical signals from the local end to the opposite end; the single-core fiber cable represented by the dashed line of the main optical cable transmits optical signals from the opposite end to the local end; the single-core fiber cable represented by the solid line of the backup optical cable transmits optical signals from the local end to the opposite end; and the single-core fiber cable represented by the dashed line of the backup optical cable transmits optical signals from the opposite end to the local end. When transmitting in the single-core fiber cable, the optical signal can sequentially pass through the BA, LA, and PA. (See Figure 3.) Unlike the OMSP system, the OLP device in the OCHP system is located between the OT and OMD to achieve channel-level protection. Both the local end and the remote end can serve as either a transmitter or a receiver. For example, with the local end as the transmitter and the remote end as the receiver, at the transmitter, the optical signal sent by the optical transceiver is split by a 1 x 2 optical splitter in the OLP device into two identical optical signals. One optical signal first undergoes wavelength convergence at the OMD and then is transmitted to the receiver via the primary optical cable. The other optical signal first undergoes wavelength convergence at the OMD and then is transmitted to the receiver via the backup optical cable.Under normal circumstances, at the receiving end, the optical signals transmitted by both the primary and backup optical cables undergo wavelength demultiplexing through the OMD. Optical path selection is then performed based on the 2x1 optical switch within the OLP device. The primary optical cable is selected from the two cables, and the optical signal transmitted by the primary cable is received. The received optical signal is then output via an optical transceiver. Existing OCHP systems employ a dual-transmit and receive selective approach for protection. Specifically, the transmitting end of the OCHP system simultaneously transmits two identical optical signals, which are then transmitted via two different optical cables (one for the primary and one for the backup). Under normal circumstances, the receiving end of the OCHP system receives the optical signal transmitted by the primary optical cable. When the primary optical cable fails, the receiving end of the OCHP system receives the optical signal transmitted by the backup optical cable, thereby providing protection and ensuring the reliability of the OCHP system. However, this dual-transmit and receive selective approach wastes the bandwidth resources of one optical cable, doubling the bandwidth transmission cost of the entire OCHP system. Figure 4a is an architectural diagram of an n-transmit, n-receive optical channel protection system provided in an embodiment of the present disclosure. Referring to FIG4a, the n-transmit, n-receive optical channel protection system includes: a first device and a second device; the first device and the second device each include n optical transceivers, n combiners, n splitters, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the n optical transceivers in the first device are connected to the input ports of the n×n first optical switch in the first device, and the output ports of the n×n second optical switch in the first device are connected to the n optical transceivers in the first device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables, and the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; a combiner is further provided between the output ports of the n×n first optical switch in the first device and the first optical cable, and a splitter is further provided between the first optical cable and the input port of the n×n second optical switch in the second device; the n×n first optical switch in the second device is connected to the n×n second optical switch in the first device. A combiner is further provided between the output port of the n×n first optical switch and the second optical cable, and a demultiplexer is further provided between the second optical cable and the input port of the n×n second optical switch in the second device. In this embodiment, the combiner can be any combiner, and the demultiplexer can be any demultiplexer. For example, the combiner can be a multiplexer in an OMD, and the demultiplexer can be a demultiplexer in the OMD.In Figure 4a, the combiner is shown as an OMD, and the splitter is shown as an OMD. Of course, the OMD shown in Figure 4a is merely an example. It will be understood that n OMDs are equivalent to n combiners and n splitters. In this embodiment, n first and second optical cables are connected between the first and second devices. The first and second optical cables can be any optical fiber cables, without limitation. In Figure 4a, n dual-core fiber cables are connected between the first and second devices. Each dual-core fiber cable includes two single-core fiber cables, one of which serves as the first optical cable and the other as the second optical cable. Of course, the dual-core fiber cables shown in Figure 4a are merely an example. Optionally, when an optical signal is transmitted in the first or second optical cable, it may sequentially pass through the BA, LA, and PA. In this embodiment, both the first and second optical switches are n x n optical switches, i.e., have n input ports and n optical switches. The second optical switch n input ports are respectively denoted as d1, d2 dn oIn this embodiment, the n output ports of an n x n first optical switch in a first device are connected to the n input ports of an n x n second optical switch in a second device via n first optical cables. Therefore, when the first device functions as a transmitter and the second device functions as a receiver, the first device transmits n optical signals to the second device via the n first optical cables. In this embodiment, the n output ports of an n x n first optical switch in a second device are connected to the n input ports of an n x n second optical switch in the first device via n second optical cables. Therefore, when the first device functions as a receiver and the second device functions as a transmitter, the second device transmits n optical signals to the first device via the n second optical cables. In this embodiment, the first optical switch is located between the optical transceiver and the combiner, and the second optical switch is located between the optical transceiver and the demultiplexer. An optical signal received by an optical transceiver is input to an input port of a first optical switch. The optical signal output from the output port of the first optical switch is connected to an optical cable via a combiner. The optical signal output from the optical cable is input to the input port of a second optical switch via a demultiplexer. The optical signal output from the output port of the second optical switch is transmitted by the optical transceiver. In this embodiment, one of the first device and the second device is a transmitting end, and the other is a receiving end. The transmitting end is configured to receive n optical signals of different priorities via n optical transceivers, and to transmit the n optical signals of different priorities to n optical cables via the n x n first optical switches and n combiners in the transmitting end. Specifically, each optical transceiver connected to the input port of the first optical switch of the transmitting end receives at least one optical signal of the same priority, and the n optical transceivers receive n optical signals of different priorities. For example, the priorities are, in descending order, priority 1, priority 2, and priority 3. Optical transceiver 1 receives at least one optical signal of priority 1, optical transceiver 2 receives at least one optical signal of priority 2, and optical transceiver 3 receives at least one optical signal of priority 3. The optical signals output by the n output ports of a first optical switch are respectively input into n combiners. Each combiner outputs one optical signal of one priority. The n combiners output n optical signals of different priorities. The n optical signals of different priorities output by the n combiners are transmitted to a receiving end via n optical cables. If the transmitting end is a first device, the n optical cables are n first optical cables; if the transmitting end is a second device, the n optical cables are n second optical cables.In this embodiment, a receiving end is configured to receive n optical signals from n optical cables via n wave splitters and a second optical switch at the receiving end, and output the n optical signals via n optical transceivers. Fault detection is performed on the n optical cables. In response to detecting a faulty optical cable, and if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, the receiving end controls the first optical switch at the transmitting end and the second optical switch at the receiving end to switch optical paths so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. Specifically, the n optical signals output by the n optical cables are respectively input to n wave splitters, each wave splitter outputting a split optical signal. The optical signal output by the wave splitter is input to an input port of the second optical switch at the receiving end. The n optical signals output by the n output ports of the second optical switch at the receiving end are then transmitted via n optical transceivers. In this embodiment, the receiving end also performs fault detection on the n optical cables. Several exemplary fault detection methods are described below. Method 1: Detect the received optical power of n input ports of an n x n second optical switch at the receiving end; if a target input port among the n x n second optical switches at the receiving end has received optical power that does not meet the required value, determine the optical cable connected to the target input port as a faulty optical cable. Method 2: Detect the received optical power of n optical cables, where the received optical power of the optical cable refers to the received optical power of the optical transceiver connected to the optical cable via the n x n second optical switch at the receiving end; if a cable among the n optical cables has received optical power that does not meet the required value, determine the cable connected to the target input port as a faulty optical cable. Taking the second device in Figure 4a as an example, the optical transceiver in the receiving end connected to the optical cable via the second optical switch is the OTo connected to the output port of the second optical switch in the second device. For example, if the received optical power of the optical cable is less than a set power threshold, the optical cable is a faulty optical cable whose received optical power does not meet the requirement; if the received optical power of the optical cable is greater than or equal to the set power threshold, the optical cable is a normal optical cable whose received optical power meets the requirement. For another example, if the received optical power of the optical cable does not fall within a set power range, the optical cable is a faulty optical cable whose received optical power does not meet the requirement; if the received optical power of the optical cable falls within the set power range, the optical cable is a normal optical cable whose received optical power meets the requirement. Method 3: Detecting bit error rates of n optical cables, where the bit error rate of the optical cables refers to the bit error rate of an optical transceiver at a receiving end connected to the optical cables via an n×n second optical switch; in response to an optical cable among the n optical cables having a bit error rate that does not meet the requirement, determining the optical cable with the bit error rate that does not meet the requirement as a faulty optical cable.For example, if the bit error rate of an optical cable is less than a set bit error rate threshold, the optical cable is considered a faulty optical cable with a bit error rate that does not meet the required bit error rate. If the bit error rate of an optical cable is greater than or equal to the set bit error rate threshold, the optical cable is considered a normal optical cable with a bit error rate that meets the required bit error rate. For another example, if the bit error rate of an optical cable does not fall within a set bit error rate range, the optical cable is considered a faulty optical cable with a bit error rate that does not meet the required bit error rate. If the bit error rate of an optical cable falls within the set bit error rate range, the optical cable is considered a normal optical cable with a bit error rate that meets the required bit error rate. Method 4: Detecting whether n optical cables have maintenance signals indicating a fault, and determining the optical cable with the maintenance signal as a faulty optical cable. The presence of a maintenance signal indicating a fault in an optical cable refers to the presence of a maintenance signal indicating a fault in an optical transceiver at the receiving end connected to the optical cable via an n×n second optical switch. Maintenance signals include, but are not limited to, loss of signal (LOS) alarms, loss of frame (LOF) alarms, and out of frame (OOF) alarms. In practical applications, one or more of methods 1 to 4 may be used simultaneously for fault detection, without limitation. In this embodiment, if a receiving end detects a faulty optical cable and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, the receiving end controls the first optical switch at the transmitting end and the second optical switch at the receiving end to perform optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. Optionally, when the receiving end controls the first optical switch at the transmitting end and the second optical switch at the receiving end to switch optical paths, the following steps are performed: controlling the output port connected to the input port connected to the faulty optical cable and the input port connected to the normal optical cable on the second optical switch at the receiving end to be switched, and sending a switching instruction to the transmitting end; wherein the switching instruction controls the output port connected to the faulty optical cable and the output port connected to the normal optical cable on the first optical switch at the transmitting end to be switched. For example, if the transmitting end is the first device and the receiving end is the second device, and n is 3, the optical signal priorities, from high to low, are: dual-core fiber cable 1, dual-core fiber cable 2, and dual-core fiber cable 3. Figure 4a shows the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end when n optical cables are normal.The a1 input port and the b1 output port of the first optical switch at the transmitting end are connected, the a2 input port and the b2 output port of the first optical switch at the transmitting end are connected, and the a3 input port and the b3 output port of the first optical switch at the transmitting end are connected. The c1 input port and the d1 output port of the second optical switch at the receiving end are connected, the c2 input port and the d2 output port of the second optical switch at the receiving end are connected, and the c3 input port and the d3 output port of the second optical switch at the receiving end are connected. Figure 4b is an architectural diagram of the optical channel protection system shown in Figure 4a in the embodiment of the present disclosure when a faulty optical cable occurs. This architectural diagram shows the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end when a faulty optical cable occurs in one of the optical cables. Specifically, the first optical cable in dual-core fiber cable 1 is faulty, while the first optical cable in dual-core fiber cable 2 is not faulty (i.e., operating normally), and the first optical cable in dual-core fiber cable 3 is not faulty (i.e., operating normally). The b1 output port of the first optical switch at the transmitting end switches from being connected to the a1 input port to being connected to the a2 output port. The b2 output port of the first optical switch at the transmitting end switches from being connected to the a2 input port to being connected to the a1 input port. The a3 input port of the first optical switch at the transmitting end is connected to the b3 output port. The c1 input port of the second optical switch at the receiving end switches from being connected to the d1 output port to being connected to the d2 output port. The c2 input port of the second optical switch at the receiving end switches from being connected to the d2 output port to being connected to the d1 output port. The c3 input port of the second optical switch at the receiving end is connected to the d3 output port. In this embodiment, when all n optical cables are normal, that is, when there is no fault, optical signals are prioritized and n optical signals of different priorities are transmitted through the n optical cables. This avoids wasting cable bandwidth resources, fully utilizes the bandwidth resources of the OCHP system, and improves resource utilization of the OCHP system. If a faulty optical cable occurs among n optical cables, that is, under fault conditions, the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, then protection switching is triggered by optical path switching. The protection switching time is still on the order of several milliseconds, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable, achieving effective protection for the high-priority optical signal.In this embodiment, for any optical cable, the output port of the first optical switch at the transmitting end to which the optical cable is connected and the input port of the first optical switch at the transmitting end to which the output port of the first optical switch at the transmitting end is connected are determined. The input port of the second optical switch at the receiving end to which the optical cable is connected and the output port of the second optical switch at the receiving end to which the input port of the second optical switch at the receiving end is connected are determined. A correspondence is then established between the port identifier of the input port of the first optical switch at the transmitting end, the port identifier of the output port of the first optical switch at the transmitting end, the optical cable identifier, the port identifier of the input port of the second optical switch at the receiving end, and the port identifier of the output port of the second optical switch at the receiving end. It will be appreciated that after the receiving end and the transmitting end switch optical paths, the above correspondence is updated based on the latest port connection status of the optical cable. If the receiving and transmitting ends do not update the aforementioned correspondence after optical path switching, a back-to-back switching can also be implemented. Specifically, the optical signal transmitted by the faulty optical cable before the fault continues to be transmitted by the faulty optical cable, while the normal optical cable continues to transmit the previous optical signal. The optical signal transmitted by the faulty optical cable and the normal optical cable are not switched. In this embodiment, there is no restriction on the timing of optical path switching between the receiving and transmitting ends. For details on the timing design of optical path switching between the receiving and transmitting ends, please refer to the relevant description of the aforementioned embodiment. In this embodiment, the receiving end is further configured to prohibit controlling the first optical switch in the transmitting end and the second optical switch in the receiving end from performing optical path switching in response to the optical signal transmitted by the faulty optical cable before the fault having a lower priority than the optical signal transmitted by the normal optical cable. It is understandable that if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, optical path switching is not performed, that is, protection switching is not triggered, and the low-priority optical signal is not protected. This effectively prevents the optical cable transmitting the low-priority optical signal from being preempted by protection switching when the optical cable transmitting the high-priority optical signal fails, thereby effectively protecting the high-priority optical signal. The n-transmit-n-receive optical channel protection system provided in the embodiments of the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are normal, that is, under non-fault conditions, n optical signals of different priorities are transmitted through n optical cables, thereby avoiding waste of optical cable bandwidth resources, fully utilizing the bandwidth resources of the OCHP system, and improving resource utilization of the OCHP system.On the other hand, if a faulty optical cable occurs among n optical cables, i.e., under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching is triggered by optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In other words, the normal optical cable transmitting the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable. This effectively protects the high-priority optical signal and ensures the reliability of the OCHP system. Figure 4c is an architectural diagram of another n-transmitter, n-receiver optical channel protection system provided by an embodiment of the present disclosure. The OCHP system shown in Figure 4c has a similar structure to the OCHP system shown in Figure 4a, except that in the OCHP system shown in Figure 4c, the optical cable connecting the first device and the second device is segmented, and adjacent optical cable segments are connected via optical receivers. The OCHP system shown in Figure 4c can be referred to as an n-transmitter, n-receiver OCHP system with live relay. In practice, each optical cable can be divided into multiple segments, without limitation. The OCHP system shown in Figure 4c is divided into two segments, which is merely an example. In Figure 4c, dual-core fiber cable 1 is divided into two segments: dual-core fiber cable 1T and dual-core fiber cable 1-2; dual-core fiber cable 2 is divided into two segments: dual-core fiber cable 2T and dual-core fiber cable 2-2; and dual-core fiber cable n is divided into two segments: dual-core fiber cable nT and dual-core fiber cable n-2. For ease of explanation, for each optical cable connecting a first device and a second device, if the cable consists of multiple segments, each segment within the cable is referred to as a cable segment. In other words, an optical cable includes multiple segments, and optical transceivers are provided between adjacent segments. Optionally, referring to Figure 4c, for two adjacent optical cable segments, the optical cable outlet of the upper optical cable segment is connected to the receiving port of the optical transceiver via a combiner, while the transmitting port of the optical transceiver is connected to the optical cable outlet of the lower optical cable segment via a demultiplexer. The combiner can be a multiplexer in an optical fiber distribution device (OMD), and the demultiplexer can be a demultiplexer in an OMD. In Figure 4c, the combiner between adjacent optical cable segments is shown as an OMD, and the demultiplexer between adjacent optical cable segments is shown as an OMD. Of course, the OMD shown in Figure 4c is merely an example. For an n-transmitter, n-receiver OCHP system with powered relays, when the receiving end performs fault detection on n optical cables, the fault detection method of the OCHP system shown in Figure 4a can be used. Furthermore, for an n-transmitter, n-receiver OCHP system with powered relays, when the receiving end performs fault detection on n optical cables, the following exemplary fault detection methods can also be used.Method 1: Detect the received optical power of each cable segment in n optical cables and identify the cable segment with a received optical power that does not meet the requirement as a faulty cable. The received optical power of a cable segment refers to the received optical power of the optical transceivers connected to the cable segment. The optical transceivers connected to a cable segment are the optical transceivers installed in the cable to divide the cable into segments. For example, in Figure 4c, the optical transceivers between dual-core fiber cable 1T and dual-core fiber cable 1-2 are the optical transceivers connected to the cable segment, and the optical transceivers between dual-core fiber cable 2-1 and dual-core fiber cable 2-2 are the optical transceivers connected to the cable segment. If the received optical power of the cable segment is less than a set power threshold, the received optical power of the cable segment does not meet the requirement. If the received optical power of the cable segment is greater than or equal to the set power threshold, the received optical power of the cable segment meets the requirement. For another example, if the received optical power of a fiber optic cable segment does not fall within a set power range, the received optical power of that fiber optic cable segment does not meet the requirement; if the received optical power of that fiber optic cable segment does fall within the set power range, the received optical power of that fiber optic cable segment meets the requirement. Method 2: Detect the bit error rate of each fiber optic cable segment among n fiber optic cables; determine the fiber optic cable segment with a bit error rate that does not meet the requirement as a faulty fiber optic cable. The bit error rate of the fiber optic cable segment refers to the bit error rate of the optical transceiver connected to the fiber optic cable segment. For example, if the bit error rate of the fiber optic cable segment is less than a set bit error rate threshold, the bit error rate of that fiber optic cable segment does not meet the requirement; if the bit error rate of the fiber optic cable segment is greater than or equal to the set bit error rate threshold, the bit error rate of that fiber optic cable segment meets the requirement. For another example, if the bit error rate of the fiber optic cable segment does not fall within the set bit error rate range, the bit error rate of that fiber optic cable segment does not meet the requirement; if the bit error rate of the fiber optic cable segment falls within the set bit error rate range, the bit error rate of that fiber optic cable segment meets the requirement. Method 3: Detect whether each optical cable segment in n optical cables has a maintenance signal indicating a fault, and determine the optical cable segment containing the maintenance signal as a faulty optical cable. The presence of a maintenance signal indicating a fault in an optical cable segment refers to the presence of a maintenance signal indicating a fault in the optical transceiver connected to the optical cable segment. In practical applications, one or more of Methods 1 to 3 can be used simultaneously for fault detection, without limitation. The n-transmitter, n-receiver optical channel protection system provided in the present disclosure prioritizes optical signals. When all n optical cables are normal, i.e., under non-fault conditions, the optical signals are prioritized and transmitted through n optical cables with different priorities. This avoids wasting optical cable bandwidth resources, fully utilizes the bandwidth resources of the OCHP system, and improves resource utilization of the OCHP system.On the other hand, if a faulty optical cable occurs among n optical cables, i.e., under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching is triggered through optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In other words, the normal optical cable transmitting the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable. This effectively protects the high-priority optical signal and ensures the reliability of the OCHP system. Figure 5 is an architectural diagram of a conventional subnet connection protection system provided by an embodiment of the present disclosure. Referring to Figure 5, the subnet connection protection system includes a local end and a peer end. A primary optical cable and a backup optical cable are connected between the local end and the peer end. The primary and backup optical cables can be dual-core fiber cables. The transmission directions of optical signals of the two single-core optical fiber cables in the dual-core optical fiber cable are different. The transmission direction of optical signals of the single-core optical fiber cable represented by the solid line of the main optical cable in Figure 5 is that the optical signal is sent from the local end to the opposite end; the transmission direction of optical signals of the single-core optical fiber cable represented by the dotted line of the main optical cable in Figure 5 is that the optical signal is sent from the opposite end to the local end; the transmission direction of optical signals of the single-core optical fiber cable represented by the solid line of the backup optical cable in Figure 5 is that the optical signal is sent from the local end to the opposite end; the transmission direction of optical signals of the single-core optical fiber cable represented by the dotted line of the backup optical cable in Figure 5 is that the optical signal is sent from the opposite end to the local end. When an optical signal is transmitted in a single-fiber cable, it passes through the BA, LA, and PA in sequence. Both the local and remote ends can serve as transmitters or receivers. For example, with the local end as the transmitter and the remote end as the receiver, at the transmitter, an optical signal is sent from the switch to the client-side port of a 0T. Within the 0T at the transmitter, the optical signal received at the client-side port is replicated into two identical optical signals. One optical signal is first wavelength-aggregated by the OMD before being transmitted via the primary optical cable to the receiver. The other optical signal is first wavelength-aggregated by the OMD before being transmitted via the backup optical cable to the receiver. Under normal circumstances, at the receiver, the optical signals transmitted by the primary and backup optical cables are wavelength-demultiplexed by the OMD before arriving at the two line-side ports of the 0T. Within the 0T at the receiver, one optical signal is selected from the two received line-side ports and sent to the client-side port of the 0T. The optical signal received by the client-side port of the 0T is ultimately sent to the switch. The existing SNCP system uses a dual-transmit and selective-receive method for protection. That is, the transmitter of the SNCP system sends two identical optical signals simultaneously, and transmits the same optical signal through two different optical cables (one for the main optical cable and the other for the backup optical cable).Under normal circumstances, the receiving end of the SNCP system receives optical signals transmitted from the primary optical cable. When the primary optical cable fails, the receiving end of the SNCP system receives optical signals transmitted from the backup optical cable, thereby providing protection and ensuring the reliability of the SNCP system. However, this dual-transmit and selective-receive approach wastes the bandwidth resources of one optical cable, doubling the bandwidth transmission cost of the entire SNCP system. Figure 6a is an architectural diagram of an n-transmit, n-receive subnet connection protection system provided in an embodiment of the present disclosure. Referring to Figure 6a, the n-transmit, n-receive subnet connection protection system includes: a first device and a second device; each of the first device and the second device includes a switch, n combiners, n splitters, and an optical receiver, where n is a positive integer greater than 1; the optical receiver includes a client-side port and a line-side port; the switch is connected to the client-side port of the optical receiver; the n line-side first ports of the optical receiver in the first device are connected to the n line-side second ports of the optical receiver in the second device via n first optical cables; and the n line-side first ports of the optical receiver in the second device are connected to the n line-side second ports of the optical receiver in the first device via n second optical cables. In this embodiment, the combiner can be any combiner, and the splitter can be any splitter. For example, the combiner can be a multiplexer in an optical device (OMD), and the splitter can be a demultiplexer in the OMD. In Figure 6a, the combiner is shown as an OMD, and the demultiplexer is shown as an OMD. Of course, the OMD shown in Figure 6a is merely an example. It will be understood that n OMDs are equivalent to n combiners and n demultiplexers. In this embodiment, n first and second optical cables are connected between the first and second devices. The first and second optical cables can be any optical fiber cables, without limitation. In Figure 6a, n dual-core fiber cables are connected between the first and second devices. Each dual-core fiber cable includes two single-core fiber cables, one of which serves as the first optical cable (solid line in Figure 6a) and the other serves as the second optical cable (dashed line in Figure 6a). Of course, the dual-core fiber cables shown in Figure 6a are merely an example. Optionally, when an optical signal is transmitted in the first or second optical cable, it may sequentially pass through the BA, LA, and PA. In this embodiment, the protection switching function of the n*n optical switch is implemented within the optical receiver based on on-board electrical cross-connection. The optical receiver includes a client-side port and a line-side port, the client-side port includes n first ports and n second ports, and the line-side port includes n first ports and n second ports.Each client-side port can transmit at least one optical signal to a line-side port. It will be appreciated that each client-side port can include multiple sub-ports, which receive multiple optical signals. The n first ports on the client side can communicate with the n first ports on the line side, and the n second ports on the client side can communicate with the n second ports on the line side. Optical signals are input into optical cables from the first ports on the line side, and the optical signals transmitted by the optical cables are input into the second ports on the line side. In this embodiment, one of the first device and the second device is a transmitter, and the other is a receiver. The transmitter is configured to receive n optical signals of different priorities through a switch and transmit the n optical signals of different priorities to n optical cables via an optical receiver and n combiners in the transmitter. For example, a switch inputs n optical signals of different priorities into the first ports of n client-side optical transceivers on a transmitter. The priorities are, in descending order, priority 1, priority 2, and priority 3. The first first port on the client side of the optical transceiver on the transmitter receives at least one optical signal of priority 1 sent by the switch. The second first port on the client side of the optical transceiver on the transmitter receives at least one optical signal of priority 2 sent by the switch. The third first port on the client side of the optical transceiver on the transmitter receives at least one optical signal of priority 3 sent by the switch. The optical signals output by the n first ports on the line side of the optical transceiver on the transmitter are input into n combiners. Each combiner outputs an optical signal of one priority. The n combiners output n optical signals of different priorities. The n optical signals of different priorities output by the n combiners are transmitted to the receiver via n optical cables. If the transmitter is a first device, the n optical cables are n first optical cables; if the transmitter is a second device, the n optical cables are n second optical cables. The receiving end is configured to receive n optical signals from n optical cables via n wave splitters and an optical receiver in the receiving end, and output the n optical signals through a switch. The receiving end performs fault detection on the n optical cables. In response to detecting a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, the receiving end controls the optical receiver in the transmitting end and the optical receiver in the receiving end to perform an electrical cross-link operation, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. For example, the n optical signals output by the n optical cables are respectively input to n wave splitters, each wave splitter outputs a split optical signal, and the optical signals output by the wave splitters are input to the second port on the line side of the optical transceiver at the receiving end. The n optical signals output by the second ports on the n client sides of the optical transceiver at the receiving end are then transmitted through the switch.In this embodiment, the receiving end also performs fault detection on n optical cables. Several exemplary fault detection methods are described below. Method 1: Detecting the received optical power of the second line-side ports of the optical receiver in the receiving end; in response to a situation where one of the second line-side ports of the optical receiver has a received optical power that does not meet the required value, determining the optical cable connected to the second line-side port that does not meet the required value as a faulty optical cable. For example, if the received optical power of the second line-side port is less than a set power threshold, the received optical power of the second line-side port does not meet the required value. If the received optical power of the second line-side port is greater than or equal to the set power threshold, the received optical power of the second line-side port meets the required value. For another example, if the received optical power of the second line-side port does not fall within a set power range, the received optical power of the second line-side port does not meet the required value. If the received optical power of the second line-side port falls within the set power range, the received optical power of the second line-side port meets the required value. Method 2: Detect the bit error rate of the second port on the line side of the optical receiver at the receiving end. If any of the second ports on the line side of the optical receiver has a bit error rate that does not meet the requirement, determine the optical cable connected to the second port with the bit error rate that does not meet the requirement as a faulty optical cable. For example, if the bit error rate of the second port on the line side of the optical receiver is less than a preset bit error rate threshold, the bit error rate of the second port on the line side of the optical receiver does not meet the requirement. If the bit error rate of the second port on the line side of the optical receiver is greater than or equal to the preset bit error rate threshold, the bit error rate of the second port on the line side of the optical receiver meets the requirement. For another example, if the bit error rate of the second port on the line side of the optical receiver does not fall within a preset bit error rate range, the bit error rate of the second port on the line side of the optical receiver does not meet the requirement. If the bit error rate of the second port on the line side of the optical receiver falls within the preset bit error rate range, the bit error rate of the second port on the line side of the optical receiver meets the requirement. Method 3: Detect whether a maintenance signal indicating a fault is present at the second port on the line side of the optical receiver at the receiving end. The optical cable connected to the second port on the line side where the maintenance signal is present is identified as the faulty optical cable. Examples of maintenance signals include, but are not limited to, loss of signal (LOS), loss of frame (LOF), and out of frame (OOF). Method 4: Detect whether a maintenance signal indicating a fault is present at the first port on the client side of the optical receiver at the transmitting end. The optical cable connected to the first port on the client side where the maintenance signal is present is identified as the faulty optical cable.In practical applications, one or more of Modes 1 to 4 can be used simultaneously for fault detection, without limitation. In this embodiment, if a faulty optical cable is detected and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, the optical receiver at the transmitting end and the optical receiver at the receiving end are controlled to perform an electrical cross-connection operation, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. Optionally, when the receiving end controls the optical receiver at the transmitting end and the optical receiver at the receiving end to perform the electrical cross-connection operation, the following steps are performed: controlling the second port of the optical receiver at the receiving end connected to the line connected to the faulty optical cable to be switched to the second port of the line connected to the normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the first port of the optical receiver at the transmitting end connected to the line connected to the faulty optical cable to be switched to the first port of the line connected to the normal optical cable. For example, if the transmitting end is the first device, the receiving end is the second device, and n is 3, the optical signal priorities, from high to low, are: duplex fiber cable 1, duplex fiber cable 2, and duplex fiber cable 3. Figure 6a shows the port connectivity between the optical transceiver in the transmitting end and the optical transceiver in the receiving end when n optical cables are normal. Figure 6b shows the port connectivity between the optical transceiver in the transmitting end and the optical transceiver in the receiving end when one of the n optical cables is faulty. Comparing Figures 6a and 6b, it can be seen that the first optical cable in duplex fiber cable 1 is faulty, while the first optical cable in duplex fiber cable 2 and the first optical cable in duplex fiber cable 3 are not faulty (i.e., normal). The first client-side first port of the optical transceiver in the transmitting end switches from being connected to the first line-side first port of the optical transceiver in the transmitting end to being connected to the second line-side first port of the optical transceiver in the transmitting end. The second client-side first port of the optical transceiver on the transmitting end switches from being connected to the second line-side first port of the optical transceiver on the transmitting end to being connected to the first line-side first port of the optical transceiver on the transmitting end. The first line-side second port of the optical transceiver on the receiving end switches from being connected to the first client-side second port of the optical transceiver on the receiving end to being connected to the second client-side second port of the optical transceiver on the receiving end. The second line-side second port of the optical transceiver on the receiving end switches from being connected to the second client-side second port of the optical transceiver on the receiving end to being connected to the first client-side second port of the optical transceiver on the receiving end.Optionally, when one of the dual-core fiber cables fails, bidirectional switching can be performed. As shown in Figure 6b, the first client-side second port of the optical transceiver at the transmitting end switches from being connected to the first line-side second port of the optical transceiver at the transmitting end to being connected to the second line-side second port of the optical transceiver at the transmitting end. The second client-side second port of the optical transceiver at the transmitting end switches from being connected to the second line-side second port of the optical transceiver at the transmitting end to being connected to the first line-side second port of the optical transceiver at the transmitting end. The first line-side first port of the optical transceiver at the receiving end switches from being connected to the first client-side first port of the optical transceiver at the receiving end to being connected to the second client-side first port of the optical transceiver at the receiving end. The second line-side first port of the optical transceiver at the receiving end switches from being connected to the second client-side first port of the optical transceiver at the receiving end to being connected to the first client-side first port of the optical transceiver at the receiving end. In this embodiment, when all n optical cables are functioning normally (i.e., under normal conditions), optical signals are prioritized and n optical signals of different priorities are transmitted through the n optical cables. This avoids wasting cable bandwidth resources, fully utilizes the bandwidth resources of the SNCP system, and improves resource utilization of the SNCP system. If a faulty optical cable occurs among the n optical cables (i.e., under fault conditions), and the priority of the optical signals transmitted by the faulty optical cable before the fault is higher than that of the optical signals transmitted by the normal optical cables, protection switching is triggered by electrical cross-connection operations at the optical receiver. The protection switching time remains on the order of several milliseconds, ensuring that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cable, effectively protecting the high-priority optical signals. In this embodiment, there is no restriction on the timing of the electrical cross-connection operations between the receiving and transmitting ends. Here are several timing design methods for electrical crossover operations:
[0008] (1) The receiving end first performs unidirectional switching and then notifies the transmitting end to perform unidirectional switching. Specifically, the receiving end first controls the optical transceiver in the receiving end to perform electrical cross-connection operation, and then sends a switching instruction to the transmitting end to trigger the optical transceiver in the transmitting end to perform electrical cross-connection operation. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end to confirm the completion of the unidirectional switching, so that the receiving end can confirm that the dual-end linkage switching has been completed.
[0009] (2) The transmitter first performs unidirectional switching and then notifies the receiver to perform unidirectional switching. Specifically, the receiver sends a switching command to the transmitter to trigger the optical transceiver in the transmitter to perform an electrical cross-connection operation. After the transmitter completes the unidirectional switching, it can send a message to the receiver to confirm the completion of the unidirectional switching. Then, the receiver controls the optical transceiver in the receiver to perform an electrical cross-connection operation to complete the dual-end linkage switching.
[0010] (3) The receiving end switches the second port of the optical transceiver on the line side connected to the faulty optical cable and the second port on the line side connected to the normal optical cable to neutral or blocked positions. The receiving end sends a switching instruction to the transmitting end to trigger the optical transceiver on the transmitting end to perform an electrical cross-connection operation. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end confirming the completion of the unidirectional switching. Then, the receiving end controls the optical transceiver on the receiving end to perform an electrical cross-connection operation to complete the dual-end linkage switching.
[0011] (4) The receiving end does not perform unidirectional switching, but notifies the transmitting end to perform unidirectional switching. Specifically, the receiving end sends a switching instruction to the transmitting end to trigger the optical transceiver in the transmitting end to perform electrical cross-connection operation. After the transmitting end completes the unidirectional switching, it can send a message to the receiving end confirming the completion of the unidirectional switching, so that the receiving end can confirm that the switching has been completed. This switching method will cause the interconnection topology to change.
[0012] (5) The receiving end first performs bidirectional switching and then notifies the transmitting end to perform bidirectional switching. Specifically, the receiving end and the transmitting end are connected via n dual-core optical fiber cables. The receiving end first controls the optical transceiver in the receiving end to perform electrical cross-connection operation, and then sends a switching instruction to the transmitting end to trigger the optical transceiver in the transmitting end to perform electrical cross-connection operation. After the transmitting end completes the bidirectional switching, it can send a message to the receiving end confirming the completion of the bidirectional switching, so that the receiving end can confirm that the dual-end linkage switching has been completed. During bidirectional switching, when one single-core optical fiber cable in the dual-core optical fiber cable fails, it is considered that the other single-core optical fiber cable in the dual-core optical fiber cable is also failed. For the bidirectional switching of the receiving end, the second port on the line side connected to the faulty optical cable in the optical receiver of the receiving end is switched to the second port on the line side connected to the normal optical cable, and the first port on the line side connected to the faulty optical cable in the optical receiver of the receiving end is switched to the first port on the line side connected to the normal optical cable. For bidirectional switching at the transmitting end, the first port on the client side connected to the first port on the line side connected to the faulty optical cable in the optical receiver of the transmitting end is switched with the first port on the line side connected to the normal optical cable; the second port on the client side connected to the second port on the line side connected to the faulty optical cable in the optical receiver of the transmitting end is switched with the second port on the line side connected to the normal optical cable.
[0013] (6) The transmitter first performs bidirectional switching and then notifies the receiver to perform bidirectional switching. For example, the receiver and transmitter are connected via n dual-core optical fiber cables. The receiver sends a switching instruction to the transmitter to trigger the optical transceiver in the transmitter to perform an electrical cross-connection operation. After the transmitter completes the bidirectional switching, it can send a message to the receiver to confirm the completion of the bidirectional switching. The receiver controls the optical transceiver in the receiver to perform an electrical cross-connection operation to complete the bidirectional switching.
[0014] (7) The receiving end does not perform bidirectional switching, but notifies the transmitting end to perform bidirectional switching. For example, the receiving end sends a switching instruction to the transmitting end to trigger the optical transceiver in the transmitting end to perform an electrical cross-connection operation. After the transmitting end completes the bidirectional switching, it can send a message to the receiving end confirming the completion of the bidirectional switching. This switching method will cause the interconnection topology to change. Optionally, the receiving end is further configured to: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibit the control of the optical receiver in the transmitting end and the optical receiver in the receiving end to perform an electrical cross-connection operation. It can be understood that if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, no optical path switching is performed, that is, no protection switching is triggered, and no protection is performed on the optical signal with low priority, thereby effectively avoiding the situation where the optical cable transmitting the optical signal with low priority is preempted by the protection switching when the optical cable transmitting the optical signal with high priority is faulty, thereby effectively protecting the optical signal with high priority. The n-transmit, n-receive subnetwork connection protection system provided by the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are functioning normally (i.e., under normal conditions), n optical signals with different priorities are transmitted through the n optical cables, eliminating waste in terms of optical cable bandwidth resources. This fully utilizes the bandwidth resources of the SNCP system, improving resource utilization. On the other hand, when a faulty optical cable occurs among the n optical cables (i.e., under fault conditions), if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than that of the optical signal transmitted by the normal optical cable, protection switching is triggered through electrical cross-connection operations at the optical receiver, causing the optical signal transmitted by the faulty optical cable before the fault to be transmitted by the normal optical cable. This effectively protects the high-priority optical signal transmitted by the faulty optical cable, ensuring the reliability of the SNCP system. Figure 6c is an architectural diagram of another n-transmit, n-receive subnetwork connection protection system provided by the present disclosure. The SNCP system shown in Figure 6c has a similar structure to the SNCP system shown in Figure 6a . The difference is that the optical cable connecting the first device and the second device in the SNCP system shown in Figure 6c is segmented, with adjacent segments connected via optical receivers. The SNCP system shown in Figure 6c can be referred to as an n-transmitter, n-receiver SNCP system with powered relaying. In practice, each optical cable can be divided into multiple segments, and this is not a limitation. The two-segment configuration in the SNCP system shown in Figure 6c is merely an example.In Figure 6c, duplex fiber cable 1 is divided into two segments: duplex fiber cable 1T and duplex fiber cable 1-2; duplex fiber cable 2 is divided into two segments: duplex fiber cable 2T and duplex fiber cable 2-2; and duplex fiber cable n is divided into two segments: duplex fiber cable nT and duplex fiber cable n-2. For ease of illustration, for each optical cable connecting the first and second devices, if the optical cable consists of multiple segments, each segment in the cable is referred to as a cable segment. That is, an optical cable includes multiple segments, and optical transceivers are provided between adjacent segments. Optionally, as shown in Figure 6c, for two adjacent cable segments, the optical cable outlet of the upper segment is connected to the receiving port of the optical transceiver via a combiner, and the transmitting port of the optical transceiver is connected to the optical cable outlet of the lower segment via a splitter. A combiner can be a multiplexer in an OMD, and a demultiplexer can be a demultiplexer in an OMD. In Figure 6c, the combiner between adjacent optical cable segments is shown as an OMD, and the demultiplexer between adjacent optical cable segments is shown as an OMD. Of course, the OMD shown in Figure 6c is merely an example. For an SNCP system with n transmitters and n receivers and powered relays, the receiving end can use the fault detection method of the OCHP system shown in Figure 6a when performing fault detection on n optical cables. Furthermore, for an SNCP system with n transmitters and n receivers and powered relays, the receiving end can also use the following exemplary fault detection methods when performing fault detection on n optical cables. Method 1: Detect the received optical power of each optical cable segment in the n optical cables and determine that the optical cable segment with a received optical power that does not meet the required value is a faulty optical cable. The received optical power of the optical cable segment refers to the received optical power of the optical transceiver connected to the optical cable segment. If the received optical power of a cable segment is less than a set power threshold, the received optical power of that cable segment does not meet the requirement. If the received optical power of that cable segment is greater than or equal to the set power threshold, the received optical power of that cable segment meets the requirement. For another example, if the received optical power of a cable segment does not fall within the set power range, the received optical power of that cable segment does not meet the requirement. If the received optical power of that cable segment falls within the set power range, the received optical power of that cable segment meets the requirement. Method 2: Detect the bit error rate of each cable segment among n optical cables. Determine the cable segment with a bit error rate that does not meet the requirement as a faulty cable. The bit error rate of the cable segment refers to the bit error rate of the optical transceiver connected to the cable segment. For example, if the bit error rate of the cable segment is less than a set bit error rate threshold, the bit error rate of that cable segment does not meet the requirement. If the bit error rate of the cable segment is greater than or equal to the set bit error rate threshold, the bit error rate of that cable segment meets the requirement.For another example, if the bit error rate of an optical cable does not fall within a set bit error rate range, the bit error rate of that optical cable segment does not meet the requirement; if the bit error rate of an optical cable falls within the set bit error rate range, the bit error rate of that optical cable segment meets the requirement. Method 3: Detect whether each optical cable segment among n optical cables has a maintenance signal indicating a fault, and determine the optical cable segment containing the maintenance signal as a faulty optical cable. The presence of a maintenance signal indicating a fault in an optical cable segment means that the optical transceiver connected to the optical cable segment has a maintenance signal indicating a fault. In practical applications, one or more of Methods 1 to 3 may be used simultaneously for fault detection, without limitation. The n-transmitter, n-receiver subnet connection protection system provided in the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are normal, i.e., under non-fault conditions, n optical signals of different priorities are transmitted through the n optical cables, eliminating cable bandwidth resources waste. The bandwidth resources of the SNCP system are fully utilized, thereby improving resource utilization of the SNCP system. On the other hand, if a faulty optical cable occurs among n optical cables, i.e., under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching is triggered through electrical cross-connection operation at the optical receiver, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In other words, the normal optical cable transmitting the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable. This effectively protects the high-priority optical signal and ensures the reliability of the SNCP system. Currently, the dual-transmit and selective-receive method of existing optical transmission systems wastes the bandwidth resources of one optical cable, doubling the bandwidth transmission cost of the entire optical transmission system. To this end, embodiments of the present disclosure provide a new optical transmission system, which can be referred to as an n-transmit, n-receive client-side protection optical transmission system. Figure 7a is an architectural diagram of an n-transmit, n-receive client-side protection optical transmission system provided by embodiments of the present disclosure.7a , the n-transmit, n-receive client-side protection optical transmission system includes: a first device and a second device; each of the first device and the second device includes n switches, n optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the n switches in the first device are respectively connected to the n×n first optical switch and the n×n second optical switch in the first device; the n switches in the second device are respectively connected to the n×n first optical switch and the n×n second optical switch in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; the output ports of the n×n first optical switch in the first device are connected to the n first optical cables via the n optical transceivers and the n combiners in the first device. N first optical cables are connected to the input ports of an n x n second optical switch in the second device via n wave splitters in the second device and n optical transceivers in the second device. In this embodiment, the wave combiner can be any wave combiner, and the wave splitter can be any wave splitter. For example, the wave combiner can be a multiplexer in an OMD, and the wave splitter can be a demultiplexer in an OMD. In Figure 7a, the wave combiner is shown as an OMD, and the wave splitter is shown as an OMD. Of course, the OMD shown in Figure 7a is merely an example. In this embodiment, n first and second optical cables are connected between the first and second devices. The first and second optical cables can be any optical fiber cables, without limitation. In Figure 7a, n dual-core fiber cables are connected between the first and second devices. Each dual-core fiber cable includes two single-core fiber cables, one of which serves as the first optical cable, and the other serves as the second optical cable. Of course, the dual-core optical fiber cable shown in FIG7a is merely an example. Optionally, when an optical signal is transmitted in the first optical cable or the second optical cable, it may sequentially pass through BA, LA, and PA. In this embodiment, both the first optical switch and the second optical switch are n×n optical switches, i.e., have n input ports and n optical switches. The second optical switch n input ports are respectively denoted as d1, d2 dn oIn this embodiment, one of the first device and the second device serves as a transmitter and the other as a receiver. In this embodiment, the transmitter is configured to receive n optical signals of different priorities through a switch, and transmit the n optical signals of different priorities to n optical cables via an n×n first optical switch, n optical transceivers, and n combiners in the transmitter. The receiver is configured to receive n optical signals from n optical cables via n splitters, n optical receivers, and n×n second optical switches in the receiver, and output the n optical signals through n switches. Fault detection is performed on the n optical cables. In response to detecting a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, the first n×n optical switch in the transmitter and the second n×n optical switch in the receiver are controlled to perform optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In this embodiment, n optical signals output by the switch are input to the n input ports of the first optical switch at the transmitting end. The n output ports of the first optical switch at the transmitting end are input to n combiners via n optical receivers. The n optical signals output by the n combiners are respectively transmitted to n optical cables. The n optical signals output by the n optical cables are input to n splitters. The n optical signals output by the n splitters are input to n optical receivers. The n optical signals output by the n optical receivers are input to the n input ports of the second optical switch at the receiving end. The n optical signals output by the n output ports of the second optical switch at the receiving end are transmitted through the switch. In this embodiment, in addition to receiving the n optical signals sent by the transmitting end via the n optical cables, the receiving end also performs fault detection on the n optical cables. For details on the fault detection method, refer to the fault detection method of the n-transmitter-n-receiver optical multiplex section protection system and will not be described in detail here. Optionally, when the receiving end controls the n x n first optical switch at the transmitting end and the n x n second optical switch at the receiving end to perform optical path switching, the following steps are performed: controlling the n x n second optical switch at the receiving end to switch the output port connected between the input port connected to the faulty optical cable and the input port connected to the normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the n x n first optical switch at the transmitting end to switch the input port connected to the faulty optical cable and the output port connected to the normal optical cable. For details about the optical path switching method, refer to the optical path switching method of the n-transmitter-n-receiver optical multiplex section protection system, and will not be described in detail here.For example, if the transmitting end is the first device, the receiving end is the second device, and n is 3, the optical signal priorities, from highest to lowest, are: dual-core fiber cable 1, dual-core fiber cable 2, and dual-core fiber cable 3. Figure 7a shows the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end under normal conditions. The a1 input port and the b1 output port of the first optical switch at the transmitting end are connected, the a2 input port and the b2 output port of the first optical switch at the transmitting end are connected, and the a3 input port and the b3 output port of the first optical switch at the transmitting end are connected. The c1 input port and the d1 output port of the second optical switch at the receiving end are connected, the c2 input port and the d2 output port of the second optical switch at the receiving end are connected, and the c3 input port and the d3 output port of the second optical switch at the receiving end are connected. Figure 7b is an architectural diagram of the client-side protection optical transmission system shown in Figure 7a, provided by an embodiment of the present disclosure, when a faulty optical cable occurs. This diagram illustrates the connectivity between the input and output ports of the first optical switch at the transmitting end and the second optical switch at the receiving end, when a faulty optical cable occurs in one of the n optical cables. Specifically, the first optical cable in dual-core fiber cable 1 fails, while the first optical cable in dual-core fiber cable 2 and the first optical cable in dual-core fiber cable 3 remain intact (also functioning normally). The b1 output port of the first optical switch at the transmitting end switches from connection with the a1 input port to connection with the a2 output port. The b2 output port of the first optical switch at the transmitting end switches from connection with the a2 input port to connection with the a1 input port. The a3 input port and the b3 output port of the first optical switch at the transmitting end are connected. The C1 input port of the second optical switch at the receiving end switches from being connected to the D1 output port to being connected to the D2 output port. The C2 input port of the second optical switch at the receiving end switches from being connected to the D2 output port to being connected to the D1 output port. The C3 input port and the D3 output port of the second optical switch at the receiving end are connected. Optionally, the receiving end is further configured to: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibit control of the first optical switch at the transmitting end and the second optical switch at the receiving end from performing optical path switching.It is understandable that if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, optical path switching is not performed, that is, protection switching is not triggered, and the low-priority optical signal is not protected. This effectively prevents the optical cable transmitting the low-priority optical signal from being preempted by protection switching when the optical cable transmitting the high-priority optical signal fails, thereby effectively protecting the high-priority optical signal. The n-transmit-n-receive client-side protection optical transmission system provided in the embodiments of the present disclosure prioritizes optical signals. On the one hand, when all n optical cables are normal, that is, under non-fault conditions, n optical signals of different priorities are transmitted through the n optical cables, thereby avoiding wasting cable bandwidth resources, fully utilizing the bandwidth resources of the client-side protection optical transmission system, and improving resource utilization of the client-side protection optical transmission system. On the other hand, if a faulty optical cable occurs among the n optical cables, i.e., under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching is triggered by optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In other words, the normal optical cable transmitting the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable. This effectively protects the high-priority optical signal and ensures the reliability of the client-side protection optical transmission system. Figure 7c is an architectural diagram of another n-transmit, n-receive client-side protection optical transmission system provided by an embodiment of the present disclosure. The SNCP system shown in Figure 7c has a similar structure to the client-side protection optical transmission system shown in Figure 7a. The difference is that in the client-side protection optical transmission system shown in Figure 7c, the optical cable connecting the first device and the second device is segmented, and adjacent optical cable segments are connected via optical receivers. The client-side protection optical transmission system shown in Figure 7c can be referred to as an n-transmit, n-receive client-side protection optical transmission system with live relay. In practice, each optical cable can be divided into multiple segments, and this is not a limitation. The client-side protection optical transmission system shown in Figure 7c, in which each optical cable is divided into two segments, is merely an example. In Figure 7c, dual-core fiber cable 1 is divided into two segments: dual-core fiber cable 1T and dual-core fiber cable 1-2; dual-core fiber cable 2 is divided into two segments: dual-core fiber cable 2T and dual-core fiber cable 2-2; and dual-core fiber cable n is divided into two segments: dual-core fiber cable nT and dual-core fiber cable n-2. For ease of explanation, for each optical cable connecting a first device and a second device, if the cable consists of multiple segments, each segment within the cable is referred to as a cable segment. That is, an optical cable includes multiple segments, and optical transceivers are provided between adjacent segments.Optionally, referring to Figure 7c, for two adjacent optical cable segments, the optical cable outlet of the upper optical cable segment is connected to the receiving port of the optical transceiver via a combiner, while the transmitting port of the optical transceiver is connected to the optical cable outlet of the lower optical cable segment via a demultiplexer. The combiner can be a multiplexer in an optical multiplier-demultiplexer (OMD), and the demultiplexer can be a demultiplexer in an OMD. In Figure 7c, the combiner between adjacent optical cable segments is shown as an OMD, and the demultiplexer between adjacent optical cable segments is shown as an OMD. Of course, the OMD shown in Figure 7c is merely an example. For an n-transmit, n-receive client-side protection optical transmission system with powered relays, when the receiving end performs fault detection on n optical cables, the fault detection method described in the n-transmit, n-receive optical multiplex section protection system can be used. Furthermore, for an n-transmit, n-receive client-side protection optical transmission system with powered relays, when the receiving end performs fault detection on n optical cables, the following exemplary fault detection methods can also be used. Method 1: Detect the received optical power of each segment of n optical cables. Identify any segment with a received optical power that does not meet the required value as a faulty cable. The received optical power of a segment refers to the received optical power of the optical transceiver connected to the segment. Method 2: Detect the bit error rate of each segment of n optical cables. Identify any segment with a bit error rate that does not meet the required value as a faulty cable. The bit error rate of a segment refers to the bit error rate of the optical transceiver connected to the segment. Method 3: Detect whether each segment of n optical cables has a maintenance signal indicating a fault. Identify any segment with a maintenance signal indicating a fault as a faulty cable. The presence of a maintenance signal indicating a fault in a segment refers to the presence of a maintenance signal indicating a fault in the optical transceiver connected to the segment. In practical applications, one or more of Methods 1 to 3 may be used simultaneously for fault detection, without limitation. The n-transmit, n-receive client-side protection optical transmission system provided by the embodiments of the present disclosure performs priority classification on optical signals. On the one hand, when all n optical cables are normal, that is, when there is no fault, n optical signals with different priorities are transmitted through the n optical cables. This avoids wasting cable bandwidth resources, fully utilizes bandwidth resources of the client-side protection optical transmission system, and improves resource utilization of the client-side protection optical transmission system.On the other hand, if a faulty optical cable occurs among the n optical cables, that is, under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, protection switching is triggered through optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In other words, the normal optical cable that transmits the low-priority optical signal is preempted to transmit the high-priority optical signal transmitted by the faulty optical cable, thus achieving effective protection of the high-priority optical signal and ensuring the reliability of the client-side protection optical transmission system. An embodiment of the present disclosure further provides an optical signal transmission method for a client-side protection optical transmission system with n-transmission and n-reception. The system includes: a first device and a second device; the first device and the second device each include n switches, n optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the n switches in the first device are respectively connected to the n×n first optical switch and the n×n second optical switch in the first device; the n switches in the second device are respectively connected to the n×n first optical switch and the n×n second optical switch in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; The output ports of n first optical switches are connected to n first optical cables via n optical transceivers and n combiners in the first device. The n first optical cables are connected to the input ports of n x n second optical switches in the second device via n optical splitters and n optical transceivers in the second device. The output ports of the n x n first optical switches in the second device are connected to n second optical cables via n optical transceivers and n combiners in the second device. The n second optical cables are connected to the input ports of the n x n second optical switches in the first device via n optical splitters and n optical transceivers in the first device. One of the first device and the second device is a transmitter, and the other is a receiver. The method includes the following steps:
[0015] 51. The transmitting end receives n optical signals of different priorities through n switches, and sends the n optical signals of different priorities to n optical cables through the n×n first optical switches, n optical transceivers, and n combiners in the transmitting end;
[0016] 52. The receiving end receives n optical signals from n optical cables via n wave splitters, n optical receivers, and n x n second optical switches at the receiving end, and outputs the n optical signals via n switches; performs fault detection on the n optical cables; and in response to detecting a faulty optical cable, where the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, controls the n x n first optical switch at the transmitting end and the n x n second optical switch at the receiving end to switch optical paths so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. For details and technical effects of each step in the above method embodiment, please refer to the relevant description of the aforementioned embodiment. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, storage, and display, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. The collection, use, and processing of the relevant data must comply with the relevant laws, regulations, and standards of relevant countries and regions, and a corresponding operation interface is provided for the user to select authorization or rejection. FIG8a is a flow chart of an optical signal transmission method provided by an embodiment of the present disclosure. The method is applied to a transmitting end, as shown in FIG8b. The method includes the following steps:
[0017] 101. Receive multiple optical signals of different priorities through multiple optical transceivers in a transmitting end, combine the multiple optical signals of different priorities into n optical signals of different priorities through n combiners, and respectively transmit the n optical signals of different priorities to n optical cables through a first optical switch in the transmitting end.
[0018] 102. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, controlling the first optical switch at the transmitting end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In practical applications, the transmitting end may perform optical path switching upon notification from the receiving end. Optionally, controlling the first optical switch at the transmitting end to perform optical path switching includes: controlling the output port connected to the faulty optical cable and the output port connected to the normal optical cable in the first optical switch at the transmitting end to switch the input port connected thereto according to a switching instruction. Optionally, the above method further includes: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibiting controlling the first optical switch at the transmitting end to perform optical path switching. The above method can be applied to the transmitting end of an n-transmitter, n-receiver optical multiplex section protection system. For details and technical effects of each step in the optical signal transmission method performed by the transmitting end, refer to the description of the related embodiments above. Figure 8b is a flow chart of another optical signal transmission method provided by an embodiment of the present disclosure. The method is applied to the receiving end, as shown in FIG8b , and includes the following steps:
[0019] 201. Receive n optical signals from n optical cables through a second optical switch at a receiving end, split the n optical signals of different priorities into multiple optical signals through n splitters, and output the multiple optical signals through multiple optical transceivers.
[0020] 202. Perform fault detection on n optical cables.
[0021] 203. In response to detecting a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, controlling the second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. Optionally, detecting faults on the n optical cables includes: detecting received optical power at n input ports of the second optical switch at the receiving end; and if a target input port of the second optical switch at the receiving end has received optical power that does not meet a requirement, determining the optical cable connected to the target input port as a faulty optical cable. Optionally, the first device and the second device further include n transmitters and n receivers, the n transmitters in the first device are connected to the n receivers in the second device via n first optical cables, and the n transmitters in the second device are connected to the n receivers in the first device via n second optical cables. Accordingly, the receiving end performs the following steps when performing fault detection: detecting the received optical power of the n receivers in the receiving end; if there is a target receiver among the n receivers in the receiving end whose received optical power does not meet the requirement, determining the optical cable connected to the target receiver as a faulty optical cable; and / or controlling the n receivers at the receiving end to respectively perform handshake connections with the n transmitters at the transmitting end; if there is a target receiver among the n receivers in the receiving end whose handshake fails, determining the optical cable connected to the target receiver as a faulty optical cable. Optionally, controlling the second optical switch at the receiving end to perform optical path switching includes: controlling the second optical switch at the receiving end to switch the output port connected to the faulty optical cable with the input port connected to the normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the output port connected to the faulty optical cable with the output port connected to the normal optical cable in the first optical switch at the transmitting end to switch the input port connected to the faulty optical cable with the output port connected to the normal optical cable. Optionally, the above method further includes: prohibiting controlling the second optical switch at the receiving end to perform optical path switching if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable. The above method can be applied to the receiving end of an n-transmit, n-receive optical multiplex section protection system. For details and technical effects of each step in the optical signal transmission method executed by the receiving end, please refer to the description of the related embodiments above. Figure 8c is a flow chart of another optical signal transmission method provided in an embodiment of the present disclosure. This method is applied to the transmitting end. Referring to Figure 8c, the method includes the following steps:
[0022] 301. Receive n optical signals of different priorities through n optical transceivers in a transmitting end, and respectively send the n optical signals of different priorities to n optical cables through a first optical switch and n combiners in the transmitting end.
[0023] 302. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable, the first optical switch at the transmitting end is controlled to perform optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In practical applications, the transmitting end may perform optical path switching upon notification from the receiving end. Optionally, controlling the first optical switch at the transmitting end to perform optical path switching includes: controlling the output port connected to the faulty optical cable and the output port connected to the normal optical cable in the first optical switch at the transmitting end to switch the input port connected thereto according to a switching instruction. Optionally, the above method further includes: if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibiting controlling the first optical switch at the transmitting end to perform optical path switching. The above method can be applied to the transmitting end of an n-transmitting, n-receiving optical channel protection system. For details and technical effects of each step in the optical signal transmission method performed by the transmitting end, please refer to the description of the related embodiments above. Figure 8d is a flowchart of another optical signal transmission method provided in an embodiment of the present disclosure. The method is applied to the receiving end, as shown in FIG8d , and includes the following steps:
[0024] 401. Receive n optical signals from n optical cables through n wave splitters and a second optical switch in a receiving end, and output the n optical signals to the outside through n optical transceivers.
[0025] 402. Perform fault detection on n optical cables.
[0026] 403. In response to detecting a faulty optical cable among the n optical cables, and in response to the optical signal transmitted by the faulty optical cable before the fault having a higher priority than the optical signal transmitted by the normal optical cable among the n optical cables, controlling the second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault has been transmitted by the normal optical cable. Optionally, the fault detection for the n optical cables includes: detecting received optical powers of n input ports of a second optical switch at the receiving end; if a target input port having received optical power that does not meet a requirement exists in the second optical switch at the receiving end, determining the optical cable connected to the target input port as a faulty optical cable; or, detecting received optical powers of the n optical cables, where the received optical power of the optical cables refers to the received optical power of an optical transceiver at the receiving end connected to the optical cables via the second optical switch; if any of the n optical cables has received optical power that does not meet the requirement, determining the optical cable having the unsatisfactory received optical power as a faulty optical cable; or, detecting bit error rates of the n optical cables, where the bit error rate of the optical cables refers to the bit error rate of the optical transceiver at the receiving end connected to the optical cables via the second optical switch; if any of the n optical cables has a bit error rate that does not meet a requirement, determining the optical cable having the unsatisfactory bit error rate as a faulty optical cable; or, detecting whether maintenance signals indicating faults appear on the n optical cables. An optical cable displaying a maintenance signal is determined as a faulty optical cable, wherein the maintenance signal indicating a fault in the optical cable refers to a maintenance signal indicating a fault in an optical transceiver connected to the optical cable via a second optical switch at the receiving end. Optionally, controlling the second optical switch at the receiving end to perform optical path switching includes: controlling the second optical switch at the receiving end to switch output ports connected between an input port connected to the faulty optical cable and an input port connected to a normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the output port connected to the faulty optical cable and an output port connected to a normal optical cable at the first optical switch at the transmitting end to switch input ports connected to the faulty optical cable and an output port connected to a normal optical cable. Optionally, the method further includes: prohibiting controlling the second optical switch at the receiving end from performing optical path switching if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable.Optionally, at least one optical transceiver is provided on the first optical cable and the second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment whose received optical power does not meet a requirement as a faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of an optical transceiver connected to the optical cable segment; and / or detecting a bit error rate of each optical cable segment among the n optical cables; determining an optical cable including an optical cable segment whose bit error rate does not meet a requirement as a faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of an optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal reflecting a fault appears in each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment including a maintenance signal as a faulty optical cable, wherein the presence of a maintenance signal reflecting a fault in the optical cable segment refers to the presence of a maintenance signal reflecting a fault in the optical transceiver connected to the optical cable segment. The above method can be applied to the receiving end of an n-transmitter, n-receiver optical channel protection system. For details and technical effects of each step in the optical signal transmission method performed by the receiving end, refer to the description of the aforementioned related embodiments. Figure 8e is a flow chart of another optical signal transmission method provided in an embodiment of the present disclosure. This method, applied to the transmitting end, includes the following steps:
[0027] 501. Receive n optical signals of different priorities through a switch in a transmitter, and send the n optical signals of different priorities to n optical cables respectively through an optical receiver and n combiners in the transmitter.
[0028] 502. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, controlling the optical receiver in the transmitting end to perform an electrical cross-connection operation so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. Optionally, controlling the optical receiver in the transmitting end to perform the electrical cross-connection operation includes: controlling the optical receiver in the transmitting end to switch the first port on the client side connected to the first port on the line side connected to the normal optical cable according to a switching instruction. Optionally, the above method further includes: if the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibiting the optical receiver in the transmitting end from performing the electrical cross-connection operation. The above method can be applied to the transmitting end in a subnet connection protection system with n transmitters and n receivers. For details and technical effects of each step in the optical signal transmission method performed by the transmitting end, refer to the description of the related embodiments above. Figure 8f is a flow chart of another optical signal transmission method provided in an embodiment of the present disclosure. The method is applied to the receiving end, as shown in FIG8f , and includes the following steps:
[0029] 601. Receive n optical signals from n optical cables through n wave splitters and an optical receiver at a receiving end, and output the n optical signals to the outside through a switch.
[0030] 602. Perform fault detection on n optical cables.
[0031] 603. In response to detecting a faulty optical cable among the n optical cables, and the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, controlling an optical receiver at the receiving end to perform an electrical cross-connection operation so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables. Optionally, controlling the optical receiver at the receiving end to perform the electrical cross-connection operation includes: controlling the optical receiver at the receiving end to switch a second port on the line side connected to the faulty optical cable with a second port on the line side connected to the normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the optical receiver at the transmitting end to switch a first port on the line side connected to the faulty optical cable with a first port on the line side connected to the normal optical cable. Optionally, the method further includes: in response to the priority of optical signals transmitted by the faulty optical cable before the fault is lower than the priority of optical signals transmitted by the normal optical cables, prohibiting controlling the optical receiver at the receiving end to perform the electrical cross-connection operation. Optionally, at least one optical transceiver is provided on the first optical cable and the second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment whose received optical power does not meet a requirement as a faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of an optical transceiver connected to the optical cable segment; and / or detecting a bit error rate of each optical cable segment among the n optical cables; determining an optical cable including an optical cable segment whose bit error rate does not meet a requirement as a faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of an optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal reflecting a fault appears in each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment including a maintenance signal as a faulty optical cable, wherein the presence of a maintenance signal reflecting a fault in the optical cable segment refers to the presence of a maintenance signal reflecting a fault in the optical transceiver connected to the optical cable segment. The above method can be applied to the receiving end of an n-transmit, n-receive subnet connection protection system. For details and technical effects of each step in the optical signal transmission method performed by the receiving end, please refer to the description of the aforementioned related embodiments. Figure 8g is a flow chart of another optical signal transmission method provided by an embodiment of the present disclosure. This method, applied to the transmitting end, as shown in Figure 8g, includes the following steps:
[0032] 701. Receive n optical signals of different priorities through a switch, and respectively send the n optical signals of different priorities to n optical cables through a first optical switch, n optical transceivers, and n combiners in a transmitting end.
[0033] 702. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cables among the n optical cables, controlling the first optical switch at the transmitting end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. In practical applications, the transmitting end may perform optical path switching upon notification from the receiving end. Optionally, controlling the first optical switch at the transmitting end to perform optical path switching includes: controlling the output port connected to the faulty optical cable and the output port connected to the normal optical cable in the first optical switch at the transmitting end to switch the input port connected thereto according to a switching instruction. Optionally, the above method further includes: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibiting controlling the first optical switch at the transmitting end to perform optical path switching. The above method can be applied to the transmitting end in a client-side protection optical transmission system with n transmitters and n receivers. For details and technical effects of each step in the optical signal transmission method performed by the transmitting end, please refer to the description of the related embodiments above. FIG8h is a flowchart of another optical signal transmission method provided by an embodiment of the present disclosure. The method is applied to a receiving end. Referring to FIG8h , the method includes the following steps:
[0034] 801. Receive n optical signals from n optical cables through n wave splitters, n optical receivers, and a second optical switch at a receiving end, and output the n optical signals externally through the switch.
[0035] 802. Perform fault detection on n optical cables.
[0036] 803. In response to detecting a faulty optical cable among the n optical cables, and the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables, controlling a second optical switch at the receiving end to perform optical path switching so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by normal optical cables. Optionally, controlling the second optical switch at the receiving end to perform optical path switching includes: controlling the second optical switch at the receiving end to switch output ports connected between an input port connected to the faulty optical cable and an input port connected to a normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the first optical switch at the transmitting end to switch input ports connected to the faulty optical cable and an output port connected to a normal optical cable. Optionally, the method further includes: if the priority of optical signals transmitted by the faulty optical cable before the fault is lower than the priority of optical signals transmitted by the normal optical cable, prohibiting controlling the second optical switch at the receiving end to perform optical path switching. Optionally, at least one optical transceiver is provided on the first optical cable and the second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment whose received optical power does not meet a requirement as a faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of an optical transceiver connected to the optical cable segment; and / or detecting a bit error rate of each optical cable segment among the n optical cables; determining an optical cable including an optical cable segment whose bit error rate does not meet a requirement as a faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of an optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal reflecting a fault appears in each optical cable segment among the n optical cables, and determining an optical cable including an optical cable segment including a maintenance signal as a faulty optical cable, wherein the presence of a maintenance signal reflecting a fault in the optical cable segment refers to the presence of a maintenance signal reflecting a fault in the optical transceiver connected to the optical cable segment. The above method can be applied to the receiving end of a client-side protection optical transmission system with n-transmit and n-receive transmission. For details and technical effects of each step in the optical signal transmission method performed by the receiving end, please refer to the description of the aforementioned related embodiments. Figure 9 is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. As shown in Figure 9, the computer device includes: a memory 91 and a processor 92. The memory 91 is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, images, videos, etc.The memory 91 can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random-access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The processor 92 is coupled to the memory 91 and is configured to execute a computer program stored in the memory 91 to perform the steps of the above-described optical signal transmission method. Further optionally, as shown in FIG9 , the computer device also includes: a communication component 93, a display 94, a power supply component 95, an audio component 96, and other components. FIG9 only schematically illustrates some components and does not mean that the computer device only includes the components shown in FIG9 . In addition, the components within the dashed box in FIG9 are optional components, not required components, and the specific requirements may depend on the product form of the computer device. The computer device of this embodiment can be implemented as a terminal device such as a desktop computer, a laptop computer, a smartphone, or an Internet of Things (IoT) device, or as a server-side device such as a conventional server, a cloud server, or a server array. If the computer device of this embodiment is implemented as a terminal device such as a desktop computer, a laptop computer, or a smartphone, it may include the components within the dashed box in FIG9 ; if the computer device of this embodiment is implemented as a server-side device such as a conventional server, a cloud server, or a server array, it may not include the components within the dashed box in FIG9 . The detailed implementation process of the processor performing each action can be found in the relevant descriptions in the aforementioned method embodiments or device embodiments and will not be repeated here. Accordingly, an embodiment of the present disclosure further provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps in the above method embodiments that can be executed by a computer device.Accordingly, embodiments of the present disclosure also provide a computer program product, including a computer program / instructions. When executed by a processor, the computer program / instructions cause the processor to implement the steps that can be performed by a computer device in the above-described method embodiments. The communication component is configured to facilitate wired or wireless communication between the device in which the communication component resides and other devices. The device in which the communication component resides can access a wireless network based on a communication standard, such as Wireless Fidelity (WiFi), 2G (2nd Generation), 3G (3rd Generation), 4G (4th Generation), Long Term Evolution (LTE), 5G (5th Generation), or other mobile communication networks, or combinations thereof. In an exemplary embodiment, the communication component receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IRDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology, and other technologies. The aforementioned display includes a screen, which can include a Liquid Crystal Display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can detect not only the boundaries of a touch or slide action, but also the duration and pressure associated with the touch or slide action. The power supply assembly described above provides power to various components of the device in which the power supply assembly resides. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply assembly resides.The aforementioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC). When the device containing the audio component is in an operating mode, such as call mode, recording mode, or voice recognition mode, the microphone is configured to receive external audio signals. The received audio signals may be further stored in a memory or transmitted via the communication component. In some embodiments, the audio component also includes a speaker configured to output audio signals. Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code. The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, such that the instructions, when executed by the processor of the computer or other programmable data processing device, produce a device for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams. These computer program instructions can also be stored in a computer-readable memory capable of directing the computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device that implements the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams. These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing the computer or other programmable device to execute a series of operational steps to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device with steps for implementing the functions specified in one or more flows in a flowchart and / or one or more blocks in a block diagram. In a typical configuration, a computing device includes one or more processors (Central Processing Unit, referred to as CPU), input / output interfaces, network interfaces, and memory.The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. oMemory is an example of computer-readable media. Computer-readable media includes both permanent and non-permanent, removable and non-removable media, and can be implemented using any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, Phase Change RAM (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves. It should also be noted that the terms "comprise," "include," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, product, or apparatus comprising a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, product, or apparatus. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, product, or apparatus comprising the recited element. The foregoing description is merely an example of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of the present disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, and the like made within the spirit and principles of the present disclosure are intended to be encompassed by the claims of the present disclosure.Industrial Applicability: The solutions provided by the embodiments of the present disclosure can be applied to the transmission of optical signals in an optical transmission system. A system with n transmitters and n receivers is provided, and optical signals are prioritized. On the one hand, when all n optical cables are normal, that is, under normal conditions, n optical signals with different priorities are transmitted through the n optical cables. This avoids wasting optical cable bandwidth resources, fully utilizes the bandwidth resources of the optical transmission system, and improves resource utilization. On the other hand, when a faulty optical cable occurs among the n optical cables, that is, under fault conditions, if the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than that of the optical signal transmitted by the normal optical cable, protection switching is implemented so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable. This means that the normal optical cable, which was transmitting the lower-priority optical signal, is preempted to transmit the higher-priority optical signal transmitted by the faulty optical cable. This effectively protects the higher-priority optical signal and ensures the reliability of the optical transmission system.
Claims
39 Claims 1. An n-transmit-n-receive optical multiplex section protection system, comprising: A first device and a second device; the first device and the second device each include a plurality of optical transceivers, n combiners, n splitters, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the plurality of optical transceivers in the first device are connected to the input ports of the n×n first optical switch in the first device via the n combiners in the first device; the output ports of the n×n second optical switch in the first device are connected to the plurality of optical transceivers in the first device via the n splitters in the first device; the plurality of optical transceivers in the second device are connected to the input ports of the n×n first optical switch in the second device via the n combiners in the second device; the output ports of the n×n second optical switch in the second device are connected to the plurality of optical transceivers in the second device via the n splitters in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n×n second optical switch in the second device n output ports of an n×n first optical switch are connected to n input ports of an n×n second optical switch in the first device via n second optical cables; one of the first device and the second device is a transmitting end, and the other is a receiving end; the transmitting end is configured to receive multiple optical signals of different priorities through multiple optical transceivers, combine the multiple optical signals of different priorities into n optical signals of different priorities through n combiners, and transmit the n optical signals of different priorities to the n optical cables through the n×n first optical switch in the transmitting end; the receiving end is configured to receive n optical signals from the n optical cables through the n×n second optical switch in the receiving end, split the n optical signals of different priorities into multiple optical signals through n splitters, and output the multiple optical signals to the outside through the multiple optical transceivers; fault detection is performed on the n optical cables; in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by the normal optical cable among the n optical cables, the n×n first optical switch in the transmitting end is controlled to be switched off. The n×n first optical switches and the n×n second optical switches at the receiving end perform optical path switching, so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
2. The system according to claim 1, wherein: The receiving end performs the following steps when performing fault detection: detecting received optical powers of n input ports of an n×n second optical switch at the receiving end; and in response to a target input port having received optical power that does not meet requirements among the n×n second optical switches at the receiving end, determining an optical cable connected to the target input port as the faulty optical cable.
3. The system according to claim 1, wherein: The first device and the second device further include n transmitters and n receivers. The n transmitters in the first device are connected to the n receivers in the second device via n first optical cables, and the n transmitters in the second device are connected to the n receivers in the first device via n second optical cables. Accordingly, when the receiving end performs fault detection, the receiving end performs the following steps: detecting received optical power of the n receivers in the receiving end; in response to a target receiver among the n receivers in the receiving end having received optical power that does not meet a requirement, determining the optical cable connected to the target receiver as the faulty optical cable; and / or, 40. Controlling the n receivers at the receiving end to respectively perform handshake connections with the n transmitters at the transmitting end; in response to a target receiver among the n receivers at the receiving end failing in handshake, determining the optical cable connected to the target receiver as the faulty optical cable.
4. The system according to any one of claims 1 to 3, wherein: When the receiving end controls the n x n first optical switch and the n x n second optical switch at the transmitting end to perform optical path switching, the receiving end performs the following steps: controlling the n x n second optical switch at the receiving end to switch the output port connected between the input port connected to the faulty optical cable and the input port connected to the normal optical cable, and sending a switching instruction to the transmitting end; wherein the switching instruction is used to control the n x n first optical switch at the transmitting end to switch the input port connected to the faulty optical cable and the output port connected to the normal optical cable.
5. The system according to claim 4, wherein The receiving end is further configured to: in response to the priority of the optical signal transmitted by the faulty optical cable before the fault is lower than the priority of the optical signal transmitted by the normal optical cable, prohibit control of the n×n first optical switch in the transmitting end and the n×n second optical switch in the receiving end to perform optical path switching.
6. A n-transmit and n-receive optical channel protection system, wherein: include: a first device and a second device; the first device and the second device each include n optical transceivers, n combiners, n demultiplexers, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the n optical transceivers in the first device are connected to the input port of the n×n first optical switch in the first device, and the output port of the n×n second optical switch in the first device is connected to the n optical transceivers in the first device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables, and the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; a combiner is further provided between the output port of the n×n first optical switch in the first device and the first optical cable, and a demultiplexer is further provided between the first optical cable and the input port of the n×n second optical switch in the second device; the n×n first optical switch in the second device A combiner is further provided between the output port of the n x n first optical switch and the second optical cable, and a demultiplexer is further provided between the second optical cable and the input port of the n x n second optical switch in the second device. One of the first device and the second device is a transmitting end, and the other is a receiving end. The transmitting end is configured to receive n optical signals of different priorities through n optical transceivers, and to transmit the n optical signals of different priorities to n optical cables respectively through the n x n first optical switch and the n combiners in the transmitting end. The receiving end is configured to receive n optical signals from n optical cables through the n demultiplexers and the second optical switch in the receiving end, and to output the n optical signals externally through the n optical transceivers. Fault detection is performed on n optical cables; and in response to detecting a faulty optical cable among the n optical cables, and in response to the optical signal transmitted by the faulty optical cable before the fault having a higher priority than the optical signal transmitted by a normal optical cable among the n optical cables, controlling an n×n first optical switch at the transmitting end and an n×n second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
7. The system according to claim 6, wherein: When the receiving end performs fault detection on n optical cables, the following steps are performed:
41. Detecting the received optical powers of n input ports of the n×n second optical switch at the receiving end; in response to a target input port having a received optical power that does not meet a requirement among the n×n second optical switches at the receiving end, determining the optical cable connected to the target input port as the faulty optical cable; Alternatively, the received optical powers of the n optical cables may be detected, where the received optical powers refer to the received optical powers of optical transceivers at the receiving end connected to the optical cables via the n×n second optical switch. In response to an optical cable among the n optical cables having a received optical power that does not meet a requirement, the optical cable having the received optical power that does not meet the requirement is determined as the faulty optical cable. Alternatively, the bit error rates of the n optical cables may be detected, where the bit error rate refers to the bit error rate of optical transceivers at the receiving end connected to the optical cables via the n×n second optical switch. In response to an optical cable among the n optical cables having a bit error rate that does not meet a requirement, the optical cable having the bit error rate that does not meet a requirement is determined as the faulty optical cable. Alternatively, the maintenance signals indicating a fault may be detected in the n optical cables, and the optical cable indicating the maintenance signal may be determined as the faulty optical cable.
8. The system according to claim 6, wherein: At least one optical transceiver is provided on a first optical cable and a second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose received optical power does not meet the requirement as the faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of the optical transceiver connected to the optical cable segment; and / or detecting the bit error rate of each optical cable segment among the n optical cables; determining the optical cable containing an optical cable segment whose bit error rate does not meet the requirement as the faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of the optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal indicating a fault is present in each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose maintenance signal is present as the faulty optical cable, wherein the presence of a maintenance signal indicating a fault in the optical cable segment refers to the presence of a maintenance signal indicating a fault in the optical transceiver connected to the optical cable segment.
9. A n-transmit n-receive subnet connection protection system, comprising: A first device and a second device; each of the first device and the second device includes a switch, n combiners, n splitters, and an optical receiver, where n is a positive integer greater than 1; the optical receiver includes a client-side port and a line-side port; the switch is connected to the client-side port of the optical receiver; the n line-side first ports of the optical receiver in the first device are connected to the n line-side second ports of the optical receiver in the second device via n first optical cables; the n line-side first ports of the optical receiver in the second device are connected to the n line-side second ports of the optical receiver in the first device via n second optical cables; one of the first device and the second device is a transmitter, and the other is a receiver; the transmitter is configured to receive n optical signals of different priorities through the switch, and send the n optical signals of different priorities to n optical cables respectively through the optical receiver in the transmitter and the n combiners; the receiver is configured to receive n optical signals from the n optical cables via the n splitters and the optical receiver in the receiver. and outputting the n optical signals to the outside through the switch; and performing fault detection on the n optical cables. detecting; and in response to detecting a faulty optical cable among the n optical cables, and in which a priority of an optical signal transmitted by the faulty optical cable before the fault occurs is higher than a priority of an optical signal transmitted by a normal optical cable among the n optical cables, controlling an optical receiver in the transmitting end and an optical receiver in the receiving end to perform an electrical cross-link operation so that the optical signal transmitted by the faulty optical cable before the fault occurs is transmitted by the normal optical cable.
10. The system according to claim 9, wherein: At least one optical transceiver is provided on a first optical cable and a second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose received optical power does not meet the requirement as the faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of the optical transceiver connected to the optical cable segment; and / or detecting the bit error rate of each optical cable segment among the n optical cables; determining the optical cable containing an optical cable segment whose bit error rate does not meet the requirement as the faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of the optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal indicating a fault is present in each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose maintenance signal is present as the faulty optical cable, wherein the presence of a maintenance signal indicating a fault in the optical cable segment refers to the presence of a maintenance signal indicating a fault in the optical transceiver connected to the optical cable segment.
11. A client-side protection optical transmission system with n transmit and n receive, comprising: A first device and a second device; each of the first device and the second device includes n switches, n optical transceivers, n combiners, n splitters, an n×n first optical switch, and an n×n second optical switch, where n is a positive integer greater than 1; the n switches in the first device are respectively connected to the n×n first optical switch and the n×n second optical switch in the first device; the n switches in the second device are respectively connected to the n×n first optical switch and the n×n second optical switch in the second device; the n output ports of the n×n first optical switch in the first device are connected to the n input ports of the n×n second optical switch in the second device via n first optical cables; the n output ports of the n×n first optical switch in the second device are connected to the n input ports of the n×n second optical switch in the first device via n second optical cables; the output ports of the n×n first optical switch in the first device are connected to the n first optical cables via the n optical transceivers and the n combiners in the first device; The n first optical cables are connected to an input port of an n×n second optical switch in the second device via n wave splitters and n optical transceivers in the second device; the output port of the n×n first optical switch in the second device is connected to the n second optical cables via n optical transceivers and n combiners in the second device; the n second optical cables are connected to an input port of the n×n second optical switch in the first device via n wave splitters and n optical transceivers in the first device; one of the first device and the second device is a transmitting end, and the other is a receiving end; the transmitting end is configured to receive n optical signals of different priorities through n switches, and send the n optical signals of different priorities to the n optical cables respectively through the n×n first optical switch, n optical transceivers, and n combiners in the transmitting end; the receiving end is configured to receive n optical signals of different priorities through the n wave splitters, n optical receivers, and n×n second optical switches in the receiving end; The switch receives n optical signals from n optical cables and outputs the n optical signals through n switches; performs fault detection on the n optical cables; and in response to detecting a faulty optical cable among the n optical cables and the priority of an optical signal transmitted by the faulty optical cable before the fault is higher than the priority of an optical signal transmitted by a normal optical cable among the n optical cables, controls an n×n first optical switch at the transmitting end and an n×n second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
12. The system according to claim 11, wherein: At least one optical transceiver is provided on a first optical cable and a second optical cable, and the first optical cable and the second optical cable include multiple optical cable segments. When performing fault detection, the receiving end performs the following steps: detecting the received optical power of each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose received optical power does not meet the requirement as the faulty optical cable, wherein the received optical power of the optical cable segment refers to the received optical power of the optical transceiver connected to the optical cable segment; and / or detecting the bit error rate of each optical cable segment among the n optical cables; determining the optical cable containing an optical cable segment whose bit error rate does not meet the requirement as the faulty optical cable, wherein the bit error rate of the optical cable segment refers to the bit error rate of the optical transceiver connected to the optical cable segment; and / or detecting whether a maintenance signal indicating a fault is present in each optical cable segment among the n optical cables, and determining the optical cable containing an optical cable segment whose maintenance signal is present as the faulty optical cable, wherein the presence of a maintenance signal indicating a fault in the optical cable segment refers to the presence of a maintenance signal indicating a fault in the optical transceiver connected to the optical cable segment.
13. A method for transmitting an optical signal, applied to a transmitting end, the method comprising: receiving a plurality of optical signals of different priorities by means of a plurality of optical transceivers in the transmitting end, combining the plurality of optical signals of different priorities into n optical signals of different priorities by means of n combiners, and respectively sending the n optical signals of different priorities to n optical cables by means of a first optical switch in the transmitting end; In response to a faulty optical cable among the n optical cables, and the priority of an optical signal transmitted by the faulty optical cable before the fault is higher than the priority of an optical signal transmitted by a normal optical cable among the n optical cables, controlling a first optical switch in the transmitting end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
14. A method for transmitting an optical signal, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables through a second optical switch at a receiving end, splitting the n optical signals of different priorities into multiple optical signals through n splitters, and outputting the multiple optical signals externally through multiple optical transceivers; performing fault detection on the n optical cables; and in response to detecting a faulty optical cable among the n optical cables, and in response to the detection of an optical signal transmitted by the faulty optical cable before the fault, having a higher priority than an optical signal transmitted by a normal optical cable among the n optical cables, controlling a second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
15. A method for transmitting an optical signal, applied to a transmitting end, the method comprising: Receiving n optical signals of different priorities through n optical transceivers in a transmitting end, and sending the n optical signals of different priorities to n optical cables respectively through a first optical switch and n combiners in the transmitting end; 44. In response to a faulty optical cable appearing among the n optical cables, and the priority of an optical signal transmitted by the faulty optical cable before the fault is higher than the priority of an optical signal transmitted by a normal optical cable among the n optical cables, controlling the first optical switch in the transmitting end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
16. A method for transmitting an optical signal, applied to a receiving end, the method comprising: receiving n optical signals from n optical cables through n wave splitters and a second optical switch in a receiving end, and outputting the n optical signals to the outside through n optical transceivers; Performing fault detection on the n optical cables; In response to detecting a faulty optical cable among the n optical cables, and the priority of an optical signal transmitted by the faulty optical cable before the fault is higher than the priority of an optical signal transmitted by a normal optical cable among the n optical cables, controlling the second optical switch at the receiving end to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
17. A method for transmitting an optical signal, applied to a transmitting end, the method comprising: n optical signals of different priorities are received by a switch in a transmitter, and the n optical signals of different priorities are respectively transmitted to n optical cables via an optical receiver and n combiners in the transmitter. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, the optical receiver in the transmitting end is controlled to perform an electrical cross-connection operation so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
18. A method for transmitting an optical signal, wherein: The method includes: receiving n optical signals from n optical cables via n wave splitters and an optical receiver at a receiving end, and outputting the n optical signals via a switch; performing fault detection on the n optical cables; and, in response to detecting a faulty optical cable among the n optical cables, and in response to the priority of optical signals transmitted by the faulty optical cable before the fault is higher than the priority of optical signals transmitted by normal optical cables among the n optical cables, controlling the optical receiver at the receiving end to perform an electrical cross-connect operation so that the optical signals transmitted by the faulty optical cable before the fault are transmitted by the normal optical cables.
19. A method for transmitting an optical signal, applied to a transmitting end, the method comprising: n optical signals of different priorities are received by a switch, and the n optical signals of different priorities are respectively transmitted to n optical cables through a first optical switch, n optical transceivers, and n combiners in a transmitting end. In response to a faulty optical cable among the n optical cables, and the priority of the optical signal transmitted by the faulty optical cable before the fault is higher than the priority of the optical signal transmitted by a normal optical cable among the n optical cables, the first optical switch in the transmitting end is controlled to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
20. A method for transmitting an optical signal, applied to a receiving end, the method comprising: Receive n optical signals from n optical cables through n wave splitters, n optical receivers and a second optical switch at the receiving end, and output the n optical signals to the outside through the switch; Performing fault detection on the n optical cables; In response to detecting a faulty optical cable among the n optical cables, and the optical signal transmitted by the faulty optical cable before the fault 45. If the priority of the optical signal transmitted by the normal optical cable among the n optical cables is higher than the priority of the optical signal transmitted by the normal optical cable, the second optical switch in the receiving end is controlled to perform optical path switching so that the optical signal transmitted by the faulty optical cable before the fault is transmitted by the normal optical cable.
21. A computer device comprising: memory and processor; The memory is used to store a computer program; the processor is coupled to the memory, and is used to execute the computer program to perform the steps in the method according to any one of claims 13 to 20.
22. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is enabled to implement the steps of the method according to any one of claims 13 to 20.
23. A computer program product, comprising a computer program / instructions, which, when executed by a processor, causes the processor to implement the steps of the method according to any one of claims 13 to 20.
24. A computer program product, wherein The method comprises a non-volatile computer-readable storage medium storing a computer program, wherein the computer program implements the steps of the method according to any one of claims 13 to 20 when executed by a processor.
25. A computer program, wherein When the computer program is executed by a processor, the steps of the method according to any one of claims 13 to 20 are implemented.