Optical module, optical communication method, device, computer program product, and storage medium

WO2026200255A1PCT designated stage Publication Date: 2026-10-01CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/075096
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-26
Filing Date
2026-01-27
Publication Date
2026-10-01

Smart Images

  • Figure CN2026075096_01102026_PF_FP_ABST
    Figure CN2026075096_01102026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide an optical module, an optical communication method, a device, a computer program product, and a storage medium. An anomaly monitoring component and a channel switching component are designed in the optical module. The anomaly monitoring component is capable of sending to the channel switching component, upon detecting that an anomaly exists in a first optical transmission channel connected to a signal processing component, interaction information configured to trigger channel switching. The channel switching component is capable of executing, on the basis of the interaction information, optical transmission channel switching, so that the signal processing component is connected to a second optical transmission channel. Accordingly, inside the optical module, on the basis of mutual cooperation between the anomaly monitoring component and the channel switching component, automatic and prompt channel switching can be implemented when an anomaly is detected in an optical transmission channel, thereby achieving a line protection capability inside the optical module. In this way, a network device in which the optical module provided by the embodiments of the present disclosure is assembled can achieve line protection, without the need to bear hardware modification costs.
Need to check novelty before this filing date? Find Prior Art

Description

An optical module, an optical communication method, an equipment, a computer program product, and a storage medium.

[0001] This disclosure claims priority to Chinese Patent Application No. 2025103699497, filed on March 26, 2025, entitled "An optical module, optical communication method, device, computer program product and storage medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This disclosure relates to the field of optical communication technology, and in particular to an optical module, optical communication method, device, computer program product, and storage medium. Background Technology

[0003] Data centers are infrastructures that provide data storage and processing capabilities. To enable data interconnection between different data centers, Digital Coherent Optical Modules (DCOs) can be installed on network equipment within the data centers to establish optical transmission channels between them.

[0004] During optical transmission, some optical transmission channels may experience line faults or performance degradation, affecting the communication quality between data centers. Currently, some line protection products have emerged in the field, such as optical protection boards. These line protection products can support switching control of optical transmission channels; however, these line protection products rely on the line boards of network equipment to provide control signals, which are not inherently designed into the line boards of network equipment.

[0005] This necessitates hardware modifications to network equipment to adapt to these line protection products, resulting in high hardware modification costs. Summary of the Invention

[0006] This disclosure provides an optical module, optical communication method, device, computer program product, and storage medium to reduce the hardware modification costs required for line protection during optical transmission.

[0007] This disclosure provides an optical module, including a signal processing component, an anomaly monitoring component, and a channel switching component, wherein the optical module is connected to multiple optical transmission channels;

[0008] The anomaly monitoring component is used to send interactive information to the channel switching component to trigger channel switching when an anomaly is detected in the first optical transmission channel connected to the signal processing component.

[0009] The channel switching component is used to perform optical transmission channel switching according to the interaction information, so as to connect the signal processing component with the second optical transmission channel;

[0010] The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

[0011] This disclosure provides an optical communication method applicable to optical modules, wherein the optical module includes a signal processing component and a channel switching component, and the optical module is connected to multiple optical transmission channels. The method includes:

[0012] If an anomaly is detected in the first optical transmission channel connected to the signal processing component, interactive information is generated to trigger channel switching.

[0013] The channel switching component performs optical transmission channel switching based on the interaction information, so that the signal processing component can be connected to the second optical transmission channel;

[0014] The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

[0015] This disclosure also provides an optical communication device, including the optical module described above.

[0016] This disclosure also provides a computer-readable storage medium that, when the computer instructions are executed by one or more processors, causes the one or more processors to perform the aforementioned optical communication method.

[0017] This disclosure also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the processor performs the aforementioned optical communication method.

[0018] In this embodiment, an anomaly detection component and a channel switching component are designed into the optical module. When the anomaly detection component detects an anomaly in the first optical transmission channel connected to the signal processing component, it sends interactive information to the channel switching component to trigger channel switching. The channel switching component then performs optical transmission channel switching based on the interactive information, enabling the signal processing component to connect to the second optical transmission channel. Therefore, within the optical module, based on the cooperation of the anomaly detection component and the channel switching component, automatic and timely channel switching can be achieved when an anomaly in the optical transmission channel is detected, thereby realizing line protection capabilities within the optical module. Thus, line protection can be achieved by equipping network devices with the optical module provided in this embodiment without incurring hardware modification costs. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this disclosure, illustrate exemplary embodiments of the present disclosure and are used to explain the disclosure, but do not constitute an undue limitation of the disclosure. In the drawings:

[0020] Figure 1 is a schematic diagram of the structure of an optical module provided in an exemplary embodiment of the present disclosure;

[0021] Figure 2 is a schematic diagram of an optional structure of an optical module provided in an exemplary embodiment of this disclosure;

[0022] Figure 3 is a schematic diagram of another optional structure of an optical module provided in an exemplary embodiment of this disclosure;

[0023] Figures 4 and 5 are schematic diagrams showing the deployment positions of the beam splitter in two exemplary structural design schemes provided in this disclosure;

[0024] Figure 6 is a flowchart illustrating an optical communication method provided in another exemplary embodiment of this disclosure. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this disclosure clearer, the technical solutions of this disclosure will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0026] It should be noted that, in the cases involving user information in the embodiments of this disclosure, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse. In addition, the various models involved in this disclosure (including but not limited to language models or large models) comply with relevant laws and standards.

[0027] Before proceeding with a detailed description of the technical solutions provided in the various embodiments of this disclosure, the following is a brief explanation of several technical concepts involved in this disclosure.

[0028] An optical module can be understood as a type of hardware product used in optical communication systems to connect optical transmission channels. A typical optical module is a Digital Coherent Optical Module (DCO).

[0029] A digital coherent optical module (DCCO) is an optical module that integrates a coherent digital signal processor and utilizes coherent optical principles for signal transmission and processing. It is primarily used in optical communication systems. By using light waves with the same frequency and fixed phase relationship, DCCO supports complex modulation, demodulation, and signal processing functions, exhibiting a high signal-to-noise ratio and strong anti-interference capabilities, making it suitable for long-distance, high-capacity optical communication systems.

[0030] Optical transmission channels refer to the paths or media that use optical signals for data transmission. They have advantages such as high bandwidth, low loss, and strong anti-interference capabilities, and can meet the needs of high-capacity, high-speed data transmission. They are suitable for application scenarios such as building backbone networks, data center interconnection, and long-distance communication links.

[0031] Line protection, in optical communication systems, can be understood as the ability to transfer data transmitted by a channel from the current channel to a backup channel when the optical transmission channel in use fails or needs maintenance. This ensures the continuity and stability of data transmission and is suitable for application scenarios with high requirements for communication reliability, such as data center interconnection scenarios.

[0032] As described in the background section, current line protection systems rely on line protection products for protection, but this comes at a high cost due to hardware modifications. For example, supporting line protection at the Optical Channel Layer (Och) level requires hardware modifications to the network equipment in the data center: configuring an optical protection card for each Och; and modifying the electrical layer circuit boards to enable them to detect line alarms and output control signals to the optical protection card based on the alarms. In other words, the switching control of the optical protection card must be initiated by the electrical layer circuit boards based on alarm outputs. This example demonstrates the high complexity of hardware modifications to network equipment, and the large number of network devices requiring such modifications in data center interconnection scenarios further exacerbates the problem, resulting in prohibitively high hardware costs.

[0033] Therefore, this disclosure proposes a novel optical module. The basic technical concept is to integrate line protection capabilities within the optical module. In this way, by using the optical module provided in this disclosure in network equipment, line protection can be achieved without the need for hardware modifications to the network equipment.

[0034] The embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0035] Figure 1 is a schematic diagram of the structure of an optical module provided in an exemplary embodiment of the present disclosure. Referring to Figure 1, the optical module includes a signal processing component, an anomaly monitoring component, and a channel switching component.

[0036] In this embodiment, the optical module can be installed on network devices, such as routers, switches, and optical transmission equipment. Network devices typically generate data in the form of electrical signals, which have short transmission distances. To support long-distance transmission, an optical module can perform photoelectric signal conversion to connect different network devices using optical transmission channels such as optical fibers. Therefore, the optical module is equipped with an electrical interface for transmitting electrical signals and an optical interface for transmitting optical signals. The optical module can connect to network devices through the electrical interface and to optical transmission channels through the optical interface.

[0037] Specifically, when data transmission is required between different network devices (such as routers located in different data centers), the optical module on one side of the network device can convert electrical signals into optical signals. The optical signals are transmitted through optical fibers to the optical module on the other side of the network device. The optical module on the other side of the network device converts the optical signals into electrical signals and transmits the converted electrical signals to the network device where it is located, so as to realize data interconnection between network devices.

[0038] In this embodiment, the optical module can be designed as a pluggable type. When the optical module fails, it is not necessary to disassemble the entire network device; the optical module can be directly removed from the network device and replaced with a new one. This facilitates the maintenance and replacement of the optical module. Moreover, pluggable optical modules typically adopt a unified interface standard and packaging form, such as Small Form-factor Pluggable (SFP), Quad Small Form-factor Pluggable (QSFP), and Compact Form-factor Pluggable 2 (CFP2). This is compatible with various brands and models of network devices, facilitating the interchangeability and use of optical modules between different network devices and improving the versatility of the optical module.

[0039] In this embodiment, the optical module can use the existing external interfaces (including the aforementioned electrical and optical interfaces) and the existing assembly method to be assembled onto the network device. Therefore, in terms of assembly, this embodiment does not require any hardware modifications to the network device.

[0040] Based on the above-described basic technical concept, this embodiment modifies the internal structure of the optical module to integrate circuit protection capabilities. The internal structure of the optical module in this embodiment is explained below.

[0041] Referring to Figure 1, this embodiment proposes to design an anomaly monitoring component and a channel switching component inside the optical module.

[0042] Unlike traditional solutions, this embodiment connects the optical module to multiple optical transmission channels, rather than a single one. These multiple optical transmission channels are mutually redundant, enabling the optical module to achieve line protection through channel switching.

[0043] Based on this, the abnormal situation of the optical transmission channel accessed by the optical module can be centrally managed by the abnormal monitoring component in this embodiment. Through the interaction between the abnormal monitoring component and the channel switching component, the channel can be switched as needed, thereby supporting automatic protection of the channel when there is an abnormality in the optical transmission channel.

[0044] In this embodiment, the implementation form of the channel switching component is not limited, and various forms of channel switching components can be supported. Therefore, in this embodiment, it is possible to support the selection of a suitable form of channel switching component in the optical module as needed. Exemplary implementation forms of the channel switching component will be described later and will not be detailed here.

[0045] The optical module in this embodiment also includes a signal processing component. This component is a native part of the optical module and is responsible for internal signal processing tasks, such as modulation / demodulation and filtering. In this embodiment, no modification to the signal processing component is required. This embodiment can be understood as switching the optical transmission channel for the signal processing component to ensure that the signal received by the component is normal. The positional relationship between the signal processing component, the anomaly monitoring component, and the channel switching component is not limited here; several optional design methods will be provided later.

[0046] Based on the internal structure described above, the interaction process between the internal components of the optical module in this embodiment will be further explained. The interaction process will be described from the perspective of a single optical transmission channel.

[0047] In this embodiment, the signal processing component inside the optical module can be connected to an optical transmission channel within a single time slice, hereinafter referred to as the first optical transmission channel. This connection can be understood as the signal received by the signal processing component originating from the input signal transmitted into the optical module via the first optical transmission channel. Based on this, the anomaly monitoring component can continuously monitor whether there are any anomalies in the first optical transmission channel. In this embodiment, various methods can be used to monitor whether there are any anomalies in the first optical transmission channel; several exemplary monitoring methods will be presented later.

[0048] Referring again to Figure 1, when the anomaly detection component detects an anomaly in the first optical transmission channel, it can send interactive information to the channel switching component to trigger channel switching. That is, when the anomaly detection component detects a channel anomaly, it can interact with the channel switching component to trigger channel switching. This interactive information can be a control command or reference information used to determine which optical transmission channel to switch to. For example, the interactive information can be a channel switching command, directly indicating which optical transmission channel to switch to. Alternatively, the interactive information can be abnormal status information, prompting the channel switching component that the optical transmission channel currently connected to the signal processing component has an anomaly, thereby triggering the channel switching component to perform channel switching. Further examples are not provided here but will be detailed in subsequent embodiments.

[0049] Referring again to Figure 1, the channel switching component can perform optical transmission channel switching according to the interaction information, so that the signal processing component can be connected to the second optical transmission channel. The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

[0050] In this embodiment, the channel switching component can disconnect the signal processing component from the malfunctioning first optical transmission channel and instead connect it to the second optical transmission channel. This allows for stable data transmission through the backup channel (i.e., the second optical transmission channel) even in the event of a channel malfunction. Since different types of channel switching components can perform channel switching actively or passively, the methods for switching optical transmission channels can also differ. Here, the method of optical transmission channel switching is not limited; several optional implementation methods for optical transmission channel switching will be presented later.

[0051] As can be seen, in this embodiment, the multiple optical transmission channels accessed by the optical module provide redundant paths for optical communication, thereby effectively supporting the optical module itself to switch channels. Moreover, through the collaborative work between the anomaly monitoring component and the channel switching component, real-time monitoring and rapid switching of the optical transmission channels can be achieved, thereby improving the reliability and stability of optical communication and ensuring the continuity of data transmission.

[0052] In summary, as described above, the optical module in this embodiment includes a signal processing component, an anomaly detection component, and a channel switching component. The anomaly detection component, upon detecting an anomaly in the first optical transmission channel connected to the signal processing component, sends interactive information to the channel switching component to trigger channel switching. The channel switching component, based on the interactive information, performs optical transmission channel switching to connect the signal processing component to a second optical transmission channel. The first and second optical transmission channels are different optical transmission channels accessed by the optical module. Therefore, within the optical module, based on the cooperation of the anomaly detection component and the channel switching component, automatic and timely channel switching can be achieved when an anomaly in the optical transmission channel is detected, thereby realizing line protection capabilities within the optical module. Thus, network devices equipped with the optical module provided in this embodiment can achieve line protection without incurring hardware modification costs.

[0053] In the above or below embodiments, a design concept is proposed for the anomaly monitoring link: the anomaly monitoring component can determine whether there is an anomaly in the first optical transmission channel based on the electrical signal corresponding to the input optical signal transmitted from the first optical transmission channel to the optical module.

[0054] In this embodiment, after the first optical transmission channel transmits the input optical signal to the optical module, the optical module can convert the input optical signal into an electrical signal. The anomaly monitoring component can make an anomaly judgment on the electrical signal to determine whether there is an anomaly in the optical transmission channel.

[0055] To address this, the anomaly monitoring component can be pre-configured with monitoring rules to identify electrical signal anomalies. One exemplary monitoring rule can preset and monitor multiple signal parameters, such as signal strength, signal frequency, or waveform characteristics, and set corresponding normal value ranges for each of these parameters. Thus, when the anomaly monitoring component detects that the signal parameters corresponding to the electrical signal transmitted to the signal processing component exceed the normal value range, it can determine that the electrical signal is abnormal, and consequently, it can determine that the first optical transmission channel connected to the signal processing component is abnormal.

[0056] Accordingly, in this embodiment, the anomaly monitoring component can detect whether there is an anomaly in the first optical transmission channel by monitoring the electrical signal corresponding to the input optical signal transmitted from the first optical transmission channel to the optical module. This can efficiently and accurately identify the abnormal channel.

[0057] This technical concept further proposes an alternative implementation scheme:

[0058] The optical module also includes a photoelectric conversion component, which can convert the optical signal received in the optical transmission channel it is connected to into an electrical signal. Based on this, the anomaly monitoring component can determine whether there is an anomaly in the optical transmission channel connected to the photoelectric conversion component based on the electrical signal obtained from the photoelectric conversion component, so as to know whether there is an anomaly in the first optical transmission channel. The number of optical transmission channels connected to the photoelectric conversion component is at least one, and it includes at least the first optical transmission channel.

[0059] In this embodiment, when an optical signal enters the optical module from the optical transmission channel, the photoelectric conversion component converts the received optical signal into an electrical signal. This conversion process provides the data basis for the anomaly monitoring component, which can then obtain the converted electrical signal from the photoelectric conversion component. In this way, the anomaly monitoring component transforms its original anomaly monitoring work for the optical transmission channel connected to the signal processing component into anomaly monitoring for the optical transmission channel connected to the photoelectric conversion component. Since the photoelectric conversion component is at least connected to the aforementioned first optical transmission channel, it can be ensured that the anomaly monitoring component can at least obtain the electrical signal corresponding to the first optical transmission channel from the photoelectric conversion component, thereby determining whether an anomaly has occurred in the first optical transmission channel.

[0060] Here, the photoelectric conversion component may include a tunable laser emitter, a driver, a modulator, a transimpedance amplifier, and a receiver. The photoelectric conversion component can be divided into a photoelectric conversion section and an electro-optical conversion section. The photoelectric conversion section may include a transimpedance amplifier and a receiver, etc., while the electro-optical conversion section may include a tunable laser emitter, a driver, and a modulator, etc. In this embodiment, the photoelectric conversion component may also include other components, which will not be further exemplified here.

[0061] Therefore, in this embodiment, anomaly monitoring can be performed by an anomaly monitoring component before the signal transmitted through the optical transmission channel enters the signal processing component. This effectively simplifies the monitoring process and improves the timeliness of monitoring. Furthermore, it effectively reduces the number of abnormal signals entering the signal processing component, thereby effectively ensuring the signal processing quality within the optical module.

[0062] In response to the above-mentioned optional implementation schemes, several exemplary structural design schemes are provided below.

[0063] The first structural design proposes that when the photoelectric conversion component is not connected to any other optical transmission channel besides the first optical transmission channel, the anomaly monitoring component can obtain an electrical signal from the photoelectric conversion component; if the electrical signal is abnormal, it is determined that there is an anomaly in the first optical transmission channel.

[0064] Figure 2 is a schematic diagram of an optional structure of an optical module provided by an exemplary embodiment of the present disclosure. Referring to Figure 2, in this structural design, the photoelectric conversion component can be connected to the first optical transmission channel but not to other optical transmission channels. That is, in terms of hardware structure, the photoelectric conversion component and the first optical transmission channel have a one-to-one connection relationship. In this case, the optical signal received by the photoelectric conversion component comes only from the first optical transmission channel.

[0065] In this way, when the anomaly detection component acquires an electrical signal from the photoelectric conversion component, this hardware structure eliminates the need for the component to distinguish which optical transmission channel the signal corresponds to. This is because the source of the signal is definite—namely, the first optical transmission channel. Therefore, if the anomaly detection component detects an anomaly in the acquired electrical signal, it can directly determine that an anomaly has occurred in the first optical transmission channel.

[0066] Therefore, when the photoelectric conversion component and the first optical transmission channel are connected one-to-one, the anomaly monitoring component does not need to distinguish which optical transmission channel the electrical signal corresponds to. It can focus on whether the electrical signal itself is abnormal, thereby reducing the complexity of the monitoring logic and accurately locating the abnormal channel, thus effectively improving the efficiency of anomaly monitoring.

[0067] Referring to Figure 2, the structural design further proposes that the channel switching component adopts a physical switch, which is located between the photoelectric conversion component and the multiple optical interfaces provided by the optical module. The physical switch connects the photoelectric conversion component and the optical interface used to access the first optical transmission channel, so that the photoelectric conversion component and the first optical transmission channel are connected one-to-one.

[0068] As can be seen, in this structural design scheme, the photoelectric conversion component and the first optical transmission channel can be connected one-to-one through the above hardware design, thereby enabling the abnormality monitoring component to directly determine whether there is an abnormality in the first optical transmission channel based on the acquired electrical signal without having to distinguish which optical transmission channel the electrical signal corresponds to.

[0069] Based on this hardware design, the "interaction information" transmitted between the anomaly monitoring component and the channel switching component can be implemented using a channel switching command. Therefore, when the anomaly is detected in the first optical transmission channel, the anomaly monitoring component can send a channel switching command to the physical switch to trigger it to perform an optical transmission channel switch. This channel switching command controls the physical switch to perform the channel switching operation. Upon receiving the channel switching command, the physical switch will disconnect from the first optical transmission channel and switch to connect to the second optical transmission channel. Referring to Figure 2, the physical switch is sequentially connected to the photoelectric conversion component and the anomaly monitoring component. Therefore, through the bridging of the anomaly monitoring component, a one-to-one connection between the signal processing component and the optical transmission channel can be achieved. Thus, when the physical switch switches to connect to the second optical transmission channel, the signal processing component will also switch to connect to the second optical transmission channel.

[0070] For example, when the optical module is connected to two optical transmission channels, a 2:1 switch can be used as the physical switch. A 2:1 switch allows selection between the two optical transmission channels. When optical transmission channel A experiences an anomaly, the signal source can be switched to the other optical transmission channel B, thus achieving the optical channel switching function. Further examples of the specific implementation of the physical switch will not be provided here.

[0071] Therefore, based on the above hardware design, it is only necessary to determine whether to perform a switching operation according to whether there is an abnormality in the first optical transmission channel, thereby effectively improving the channel switching efficiency.

[0072] The second structural design proposes that, when the photoelectric conversion component is connected to multiple optical transmission channels, the anomaly monitoring component can deploy multiple monitoring sub-modules, with each monitoring sub-module connected to one of the multiple optical transmission channels connected to the photoelectric conversion component. Based on this, any monitoring sub-module can acquire the electrical signal converted by the photoelectric conversion component for the optical transmission channel connected to the monitoring sub-module, and determine whether there is an anomaly in the optical transmission channel connected to the monitoring sub-module based on the acquired electrical signal. Among them, the monitoring sub-module connected to the first optical transmission channel is used to determine whether there is an anomaly in the first optical transmission channel.

[0073] Figure 3 is a schematic diagram of another optional structure of an optical module provided by an exemplary embodiment of this disclosure. Referring to Figure 3, in this structural design, the optical transmission channels connected to the photoelectric conversion component can be multiple, and the anomaly monitoring component adopts a distributed design, that is, multiple monitoring sub-modules are split inside the anomaly monitoring component. Each monitoring sub-module has a one-to-one connection with each optical transmission channel, and each monitoring sub-module is responsible for monitoring the optical transmission channel connected to it, so as to perform anomaly monitoring on each optical transmission channel connected to the photoelectric conversion component.

[0074] Each monitoring submodule acquires the electrical signal converted by the corresponding photoelectric conversion component. For example, the monitoring submodule connected to the first optical transmission channel is specifically responsible for acquiring the electrical signal converted by the photoelectric conversion component in the first optical transmission channel. The monitoring submodule will determine whether there is any abnormality in the electrical signal based on its own monitoring mechanism, thereby determining whether there is any abnormality in the corresponding optical transmission channel.

[0075] As can be seen, in this structural design, the anomaly monitoring component distinguishes the optical transmission channels corresponding to the electrical signals. This distinction is achieved by equipping each optical transmission channel with a monitoring submodule.

[0076] Referring to Figure 3, in order to achieve this distinction more efficiently, the structural design further proposes that: the photoelectric conversion component may contain multiple conversion sub-components, and the multiple conversion sub-components are connected one-to-one with multiple optical interfaces provided by the optical module for accessing optical transmission channels. The multiple conversion sub-components are also connected one-to-one with multiple monitoring sub-modules in the anomaly monitoring component, so that the multiple monitoring sub-modules are connected one-to-one with the multiple optical transmission channels accessed by the photoelectric conversion component.

[0077] In this further scheme, the optical interface and the conversion sub-component form a one-to-one connection. Each optical interface receives the optical signal transmitted through its optical transmission channel, and a corresponding conversion sub-component is responsible for converting the optical signal into an electrical signal. Furthermore, the conversion sub-component is also connected one-to-one with the monitoring sub-module. The electrical signal converted by the conversion sub-component is transmitted along this connection path to the corresponding monitoring sub-module. This dual one-to-one connection architecture allows the monitoring sub-module to achieve one-to-one communication with the optical transmission channel. This enables independent monitoring of each channel simultaneously when multiple optical transmission channels are involved, resulting in more efficient channel anomaly monitoring.

[0078] Referring to Figure 3, this structural design also proposes that the channel switching component can be a logic switch, which is logically connected to multiple monitoring submodules. That is, multiple monitoring submodules can simultaneously maintain logical connections with the logic switch. This logical connection can be understood as a communication connection.

[0079] The logic switches here can be crossbar switches or cross-bar and switch logic. Cross-bar and switch logic includes a switch matrix and logic rules. Each switch in the switch matrix represents an electrical transmission channel, and the logic rules control the opening or closing of the switches to achieve the switching function of the electrical channels. Further examples of the specific implementation of the physical switches are not provided here. Furthermore, since logic switches can achieve the switching function of electrical channels, they can be placed inside the signal processing components or integrated separately into a chip inside the optical module; this is not limited to these options.

[0080] Based on this structural design, the interaction information transmitted between the anomaly monitoring component and the channel switching component can be implemented as anomaly status information. Therefore, in this structural design: any monitoring submodule can send anomaly status information to the logic switch when it detects an anomaly in its corresponding optical transmission channel; the logic switch can perform optical transmission channel switching upon receiving the anomaly status information sent by the monitoring submodule corresponding to the first optical transmission channel. This anomaly status information can be used to characterize abnormal channel conditions; for example, it may include, but is not limited to, abnormal optical signal strength, a bit error rate exceeding the normal range in the optical transmission channel, and excessive transmission delay.

[0081] In this structural design, the monitoring submodule only needs to focus on independently monitoring its own corresponding optical transmission channel, without having to pay attention to whether other optical transmission channels are abnormal. The logic switch determines whether channel switching needs to be performed, instead of the first structural design where the anomaly monitoring component determines whether channel switching needs to be performed.

[0082] In this structural design, processing logic can be designed inside the logic switch to allow the logic switch to autonomously determine whether channel switching is needed. Alternatively, in other design approaches, the relevant processing logic can be designed within the signal processing component of the optical module. The signal processing component then determines whether channel switching is needed and sends a control signal to the logic switch based on the determined result, thereby controlling the logic switch to perform the channel switching.

[0083] An exemplary application scenario could be as follows: If the optical module receives two optical signals at the receiving side, and these two signals pass through two sets of monitoring submodules, the DSP chip (which can be understood as a signal processing component) also has two sets of receiving-side task logic (ZR or OTN) for framing, frame structure overhead processing, and error checking. A high-speed crossbar (i.e., a logic switch) mentioned above can be designed after the task logic to switch between the two monitoring submodules. Based on this, after receiving the two signals that have undergone optical-to-electrical conversion, the DSP chip will perform framing, frame structure overhead processing, and error checking on these two signals (OTN or ZR signals). When the DSP chip detects an alarm signal (which can be understood as abnormal status information) on one of the signals (e.g., RX1 or RX2), it can control the crossbar to switch to the other signal without an alarm. If both signals have alarms, the current signal remains unchanged.

[0084] Accordingly, in this structural design, the logic switch can have a more global perspective on anomaly monitoring. Each monitoring submodule independently performs anomaly monitoring according to a parallel mechanism and actively submits anomaly status information. Through the anomaly status information submitted by each monitoring submodule, the logic switch can conveniently and quickly decide whether channel switching is required. This can effectively ensure the efficiency of channel switching and reduce hardware costs.

[0085] In this structural design, one optimization scheme is as follows: any monitoring submodule can send normal status information to the logic switch if it detects that there is no abnormality in its corresponding optical transmission channel; the logic switch can select a target monitoring submodule from the monitoring submodules that have sent normal status information after receiving abnormal status information from the monitoring submodule corresponding to the first optical transmission channel; and connect the signal processing component and the target monitoring submodule to make the optical transmission channels corresponding to the signal processing component and the target monitoring submodule connected; wherein, the optical transmission channel corresponding to the target monitoring submodule serves as the second optical transmission channel.

[0086] In this optimized scheme, when the monitoring submodule detects that the optical transmission channel is normal, it can actively send normal status information to the logic switch. The monitoring submodule can send the normal status information at a preset transmission frequency, which can be set as needed according to the actual application scenario. For example, for applications with high real-time requirements, a higher transmission frequency can be set; if the optical transmission channel itself has good stability, the transmission frequency can be appropriately reduced.

[0087] In this way, if an anomaly occurs in the first optical transmission channel, the logic switch will execute the channel switching procedure. The logic switch can select the target monitoring submodule from the monitoring submodules that sent the normal status information based on the normal status information fed back by each monitoring submodule. This can effectively ensure that the optical transmission channel corresponding to the selected target monitoring submodule is normal.

[0088] After identifying the target monitoring submodule, the logic switch will activate both the signal processing component and the target monitoring submodule, connecting the signal processing component to a new optical transmission channel—the optical transmission channel corresponding to the target monitoring submodule. This newly connected optical transmission channel, also known as the second optical transmission channel, will replace the malfunctioning first optical transmission channel and continue the data transmission process.

[0089] Here, the conduction method used when the logic switch activates the signal processing component and the second optical transmission channel can be as follows: From the input electrical signals transmitted to the logic switch by multiple monitoring submodules, the input electrical signal corresponding to the second optical transmission channel is selected and sent to the signal processing component. Referring to Figure 3, it can be understood that the multiple monitoring submodules and the logic switch maintain a logical connection at all times. Moreover, each monitoring submodule can transmit two types of signals to the logic switch: the first is the aforementioned input electrical signal corresponding to the optical transmission channel, and the second is the aforementioned abnormal state information or normal state information. Based on this, the logic switch can decide whether channel switching is needed and which optical transmission channel to switch to based on the second type of signal transmitted by each of the multiple monitoring submodules. The logic switch can also achieve channel switching through signal selection. Specifically, the logic switch can select the input electrical signal corresponding to the switched optical transmission channel from the first type of signal transmitted by each of the multiple monitoring submodules to switch the input electrical signal transmitted by the logic switch to the signal processing component, thereby achieving channel switching.

[0090] Of course, the above-mentioned conduction method is preferred and is not limited here. Other conduction methods can also be used, but no further examples will be given here.

[0091] Accordingly, in this optimized scheme, when channel switching is required, the logic switch determines which monitoring submodule the signal processing component should be connected to. Furthermore, based on the normal status information actively sent by each monitoring submodule, the logic switch has a more comprehensive understanding of the operational status of each optical transmission channel. Compared to the blind switching mechanism in the first exemplary scheme, this allows for more efficient switching to the normal channel, further improving the stability of data transmission.

[0092] Furthermore, in this optimization scheme, an exemplary selection method for selecting the target monitoring submodule may be: if there are multiple monitoring submodules that have sent normal status information, the logic switch may select the monitoring submodule connected to the optical transmission channel with the highest priority as the target monitoring submodule according to the priority of the optical transmission channel connected to each monitoring submodule.

[0093] In this exemplary selection scheme, priorities can be preset for each optical transmission channel based on its transmission performance and stability; no specific limitations are imposed here. Thus, when multiple monitoring submodules transmit normal status information, the optical transmission channel with higher priority can be preferentially selected as the second optical transmission channel. This effectively improves the efficiency and quality of data transmission.

[0094] In summary, this embodiment provides a design concept for the anomaly monitoring stage and also incorporates an adaptive design for the channel switching stage. Through these design concepts, the accuracy and timeliness of anomaly monitoring can be effectively improved, enabling more efficient and timely channel switching within the optical module, thereby effectively ensuring the quality of optical communication.

[0095] Of course, other design concepts can be adopted in the anomaly monitoring stage in this embodiment. For example, in this embodiment, the anomaly monitoring component can also detect channel anomalies directly based on the input optical signal transmitted by the first optical transmission channel, rather than based on electrical signals. Structurally, the anomaly monitoring component can be directly connected to the first optical transmission channel, rather than connected to the photoelectric conversion component. For another example, the anomaly monitoring component can test whether the first optical transmission channel can transmit normally by sending a test signal to it. Specifically, the anomaly monitoring components in the two optical modules can process the test signal according to a feedback mechanism. After sending a test signal through the first optical transmission channel, if the anomaly monitoring component can normally receive the feedback signal returned by the anomaly monitoring component on the other side, it indicates that the first optical transmission channel is normal; otherwise, it is abnormal. Here, the design concept in the anomaly monitoring stage is not limited, nor are further examples provided.

[0096] In the above or following embodiments, the optical module may further include a beam splitter, which is used to divide the optical signal corresponding to the electrical signal generated by the signal processing component into multiple identical output optical signals; and to transmit the multiple output optical signals one-to-one to the multiple optical transmission channels into which the optical module is connected. A beam splitter is a passive optical device used to realize the function of splitting or combining optical signals. It can perform uniform beam splitting: distributing the input optical signal evenly to each output port so that the optical power obtained by each output port is basically equal; it can also perform non-uniform beam splitting: distributing the optical signal to different output ports according to different needs in a specific ratio.

[0097] Figures 4 and 5 are schematic diagrams showing the deployment positions of the beam splitter in two exemplary structural design schemes provided in this disclosure. Figure 4 corresponds to the first structural design scheme described above, and Figure 5 corresponds to the second structural design scheme described above. Referring to Figures 4 and 5, the photoelectric conversion component connected to the beam splitter is used for electro-optical conversion. As mentioned above, this photoelectric conversion component may include a tunable laser emitter, a driver, and a modulator. The photoelectric conversion component connected to the physical switch in Figure 4 is used for photoelectric conversion. This photoelectric conversion component may include a transimpedance amplifier and a receiver. The specific functions of each component can be found above.

[0098] In this embodiment, the beam splitter can be selected with a uniform beam splitting ratio, such as 50:50, or a non-uniform beam splitting ratio. For example, in scenarios where the optical modules are close together, a strong optical signal is not required for normal transmission, while in scenarios where the distance is far, a stronger optical signal is needed to compensate for the loss during transmission. In this case, a non-uniform beam splitting ratio can be selected to split the optical signal with different signal intensities.

[0099] To ensure normal optical signal transmission, a beam splitter can split the signal into multiple identical paths as data backup, and then transmit each path one-to-one to multiple optical transmission channels. This way, if one optical transmission channel fails, the others can still transmit data normally, effectively ensuring data integrity and improving the fault tolerance of the optical transmission channels. The number of paths split by the beam splitter is matched to the number of optical transmission channels.

[0100] In this embodiment, the beam splitter can be connected to the photoelectric conversion component. Of course, this is only optional. The beam splitter can also be set in other positions inside the optical module as long as it can realize the signal splitting function. There are no further restrictions on the deployment position of the beam splitter.

[0101] In summary, by deploying a splitter inside the optical module in this embodiment, the signal output by the signal processing module can be divided into multiple output optical signals, which are then transmitted to the next optical communication node (such as a network device) through the optical transmission channel accessed by the optical module. This ensures that the next optical communication node can receive multiple input optical signals, thereby continuing to support the line protection capability implemented inside the optical module deployed on the next optical communication node.

[0102] Figure 6 is a schematic flowchart of an optical communication method provided in another exemplary embodiment of this disclosure. This method is applicable to an optical module, which includes a signal processing component, an anomaly monitoring component, and a channel switching component. The optical module is connected to multiple optical transmission channels. Referring to Figure 6, the method includes:

[0103] Step S601: If an anomaly is detected in the first optical transmission channel connected to the signal processing component, generate interactive information to trigger channel switching;

[0104] Step S602: The optical module's built-in channel switching component performs optical transmission channel switching based on the interaction information, so that the signal processing component is connected to the second optical transmission channel;

[0105] The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

[0106] In an optional embodiment, the method may further include:

[0107] Based on the electrical signal corresponding to the input optical signal transmitted from the first optical transmission channel to the optical module, it is determined whether there is an abnormality in the first optical transmission channel.

[0108] In an optional embodiment, the optical module further includes a photoelectric conversion component, which is used to convert the optical signal received in the optical transmission channel to which it is connected into an electrical signal;

[0109] Based on the electrical signal obtained from the photoelectric conversion component, it is determined whether there is an abnormality in the optical transmission channel to which the photoelectric conversion component is connected, so as to know whether there is an abnormality in the first optical transmission channel;

[0110] The number of optical transmission channels connected to the photoelectric conversion component is at least one, and includes at least the first optical transmission channel.

[0111] In an optional embodiment, if the photoelectric conversion component is not connected to any other optical transmission channel besides the first optical transmission channel, the method further includes:

[0112] Obtain electrical signals from the photoelectric conversion component;

[0113] If the electrical signal is abnormal, then it is determined that the first optical transmission channel is abnormal.

[0114] In an optional embodiment, the channel switching component employs a physical switch, which is located between the photoelectric conversion component and multiple optical interfaces provided by the optical module. The physical switch connects the photoelectric conversion component and the optical interface for accessing the first optical transmission channel. The method further includes:

[0115] If an anomaly is detected in the first optical transmission channel, a channel switching command is sent to the physical switch to trigger the physical switch to perform optical transmission channel switching.

[0116] In an optional embodiment, the photoelectric conversion component turns on the physical switch and the signal processing component so that the signal processing component is connected to the first optical transmission channel.

[0117] In an optional embodiment, when the photoelectric conversion component is connected to multiple optical transmission channels, the anomaly monitoring component deploys multiple monitoring sub-modules, and the multiple monitoring sub-modules are connected one-to-one with the multiple optical transmission channels connected to the photoelectric conversion component; the method further includes:

[0118] Any monitoring submodule acquires the electrical signal converted by the photoelectric conversion component as an optical transmission channel connected to the monitoring submodule;

[0119] Based on the acquired electrical signals, determine whether there is any abnormality in the optical transmission channel connected to the monitoring submodule;

[0120] The monitoring submodule connected to the first optical transmission channel is used to determine whether there is an abnormality in the first optical transmission channel.

[0121] In one optional embodiment, the photoelectric conversion component includes multiple conversion sub-components, which are connected one-to-one with multiple optical interfaces provided by the optical module for accessing optical transmission channels. The multiple conversion sub-components are also connected one-to-one with multiple monitoring sub-modules in the anomaly monitoring component, so that the multiple monitoring sub-modules are connected one-to-one with the multiple optical transmission channels accessed by the photoelectric conversion component.

[0122] In an optional embodiment, the channel switching component employs a logic switch, and the logic switch is logically connected to the plurality of monitoring submodules; the method further includes:

[0123] If any monitoring submodule detects an abnormality in its corresponding optical transmission channel, it sends an abnormality status information to the logic switch.

[0124] When the logic switch receives abnormal status information sent by the monitoring submodule corresponding to the first optical transmission channel, it performs optical transmission channel switching.

[0125] In an optional embodiment, the method further includes:

[0126] If any monitoring submodule detects that there is no abnormality in its corresponding optical transmission channel, it sends normal status information to the logic switch at a preset transmission frequency.

[0127] When the logic switch receives abnormal status information sent by the monitoring submodule corresponding to the first optical transmission channel, it selects the target monitoring submodule from the monitoring submodules that have sent normal status information; and turns on the signal processing component and the target monitoring submodule so that the optical transmission channels corresponding to the signal processing component and the target monitoring submodule are connected.

[0128] The optical transmission channel corresponding to the target monitoring submodule serves as the second optical transmission channel.

[0129] In an optional embodiment, the method further includes:

[0130] If there are multiple monitoring submodules that have sent normal status information, the logic switch selects the monitoring submodule connected to the optical transmission channel with the highest priority as the target monitoring submodule according to the priority of the optical transmission channel connected to each monitoring submodule.

[0131] The signal processing component and the target monitoring submodule are connected so that the optical transmission channel corresponding to the signal processing component and the target monitoring submodule are connected, and the optical transmission channel corresponding to the target monitoring submodule serves as the second optical transmission channel.

[0132] In an optional embodiment, the optical module further includes a beam splitter, and the method further includes:

[0133] The optical signal corresponding to the electrical signal generated by the signal processing component is divided into multiple identical output optical signals;

[0134] The divided multi-channel output optical signals are transmitted one-to-one to the multiple optical transmission channels connected to the optical module.

[0135] It is worth noting that the technical details of the above embodiments of the optical communication method can be found in the description of the optical module in the foregoing embodiments. To save space, they will not be repeated here, but this should not cause any loss of the scope of protection of this disclosure.

[0136] This disclosure also provides an optical communication device that includes the above-mentioned optical module. Other structures in the optical communication device besides the optical module are not limited or exemplified herein.

[0137] Accordingly, this disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to implement the steps in the above-described method embodiments. The computer-readable storage medium includes volatile or non-volatile or a combination thereof, and may be removable or non-removable. Examples of computer-readable storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), flash memory or other memory technologies, CD-ROM, Digital Video Disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium.

[0138] Accordingly, this disclosure also provides a computer program product, which includes a computer program or instructions that, when executed by a processor, cause the processor to implement the steps in the above-described method embodiments. It should be understood that each step or combination of steps in the above-described method flow can be implemented by the computer program or instructions. Furthermore, these computer programs or instructions can be applied to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device, enabling the processor of the general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to function as an apparatus for implementing the corresponding functions in the above-described method embodiments.

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

[0140] 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 used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0141] The above description is merely an embodiment of this disclosure and is not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. An optical module, characterized in that, The optical module includes signal processing components, anomaly monitoring components, and channel switching components, and the optical module is connected to multiple optical transmission channels. The anomaly monitoring component is used to send interactive information to the channel switching component to trigger channel switching when an anomaly is detected in the first optical transmission channel connected to the signal processing component. The channel switching component is used to perform optical transmission channel switching according to the interaction information, so as to connect the signal processing component with the second optical transmission channel; The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

2. The optical module according to claim 1, characterized in that, The anomaly monitoring component is also used for: Based on the electrical signal corresponding to the input optical signal transmitted from the first optical transmission channel to the optical module, it is determined whether there is an abnormality in the first optical transmission channel.

3. The optical module according to claim 2, characterized by The optical module also includes a photoelectric conversion component for converting the optical signal received by the optical module from the accessed optical transmission channel into an electrical signal; The anomaly monitoring component is used to determine whether there is an anomaly in the optical transmission channel to which the photoelectric conversion component is connected, based on the electrical signal obtained from the photoelectric conversion component. If the optical transmission channel to which the photoelectric conversion component is connected is abnormal, then it is determined that the first optical transmission channel is abnormal; The number of optical transmission channels connected to the photoelectric conversion component is at least one, and includes at least the first optical transmission channel.

4. The optical module according to claim 3, characterized in that, When the photoelectric conversion component is not connected to any optical transmission channel other than the first optical transmission channel, the anomaly monitoring component is used to: Obtain electrical signals from the photoelectric conversion component; If the electrical signal is abnormal, then it is determined that the first optical transmission channel is abnormal.

5. The optical module according to claim 4, characterized by The channel switching component includes a physical switch, which is located between the photoelectric conversion component and multiple optical interfaces provided by the optical module. The physical switch connects the photoelectric conversion component and the optical interface of the optical transmission channel that needs to be connected to the signal processing component. The anomaly monitoring component is used to: send a channel switching command to the physical switch when an anomaly is detected in the first optical transmission channel, so as to trigger the physical switch to perform optical transmission channel switching.

6. The optical module according to claim 5, characterized by The photoelectric conversion component turns on the physical switch and the signal processing component, so that the signal processing component is connected to the first optical transmission channel.

7. The optical module according to claim 3, characterized by When the photoelectric conversion component is connected to multiple optical transmission channels, the anomaly monitoring component is equipped with multiple monitoring sub-modules, and the multiple monitoring sub-modules are connected one-to-one with the multiple optical transmission channels connected to the photoelectric conversion component. Any monitoring submodule is used to acquire the electrical signal converted by the photoelectric conversion component as an optical transmission channel connected to the monitoring submodule; Based on the acquired electrical signals, determine whether there is any abnormality in the optical transmission channel connected to the monitoring submodule; The monitoring submodule connected to the first optical transmission channel is used to determine whether there is an abnormality in the first optical transmission channel.

8. The optical module according to claim 7, characterized in that, The photoelectric conversion component includes multiple conversion sub-components, which are connected one-to-one with multiple optical interfaces provided by the optical module for accessing optical transmission channels. The multiple conversion sub-components are also connected one-to-one with multiple monitoring sub-modules in the anomaly monitoring component, so that the multiple monitoring sub-modules are connected one-to-one with the multiple optical transmission channels accessed by the photoelectric conversion component.

9. The optical module of claim 7, wherein, The channel switching component uses a logic switch, and the logic switch is logically connected to the plurality of monitoring sub-modules; Any monitoring submodule is used to: send abnormal status information to the logic switch when it detects an abnormality in its corresponding optical transmission channel; The logic switch is used to perform optical transmission channel switching when receiving abnormal status information sent by the monitoring submodule corresponding to the first optical transmission channel.

10. The optical module according to claim 9, characterized in that, Any monitoring submodule is also used for: If no abnormality is detected in the optical transmission channel corresponding to itself, it sends normal status information to the logic switch according to the preset transmission frequency; The logic switch is used to: select a target monitoring submodule from the monitoring submodules that have sent normal status information when receiving abnormal status information sent by the monitoring submodule corresponding to the first optical transmission channel; And connect the signal processing component and the target monitoring submodule to make the optical transmission channels corresponding to the signal processing component and the target monitoring submodule connected; The optical transmission channel corresponding to the target monitoring submodule serves as the second optical transmission channel.

11. The optical module according to claim 10, characterized in that, The logic switch is used for: If there are multiple monitoring submodules that have sent normal status information, then the monitoring submodule connected to the optical transmission channel with the highest priority is selected as the target monitoring submodule according to the priority of the optical transmission channel connected to each monitoring submodule. The signal processing component and the target monitoring submodule are connected so that the optical transmission channel corresponding to the signal processing component and the target monitoring submodule are connected, and the optical transmission channel corresponding to the target monitoring submodule serves as the second optical transmission channel.

12. The optical module of claim 1, wherein, The optical module also includes a beam splitter, which is used for: The optical signal corresponding to the electrical signal generated by the signal processing component is divided into multiple identical output optical signals; The divided multi-channel output optical signals are transmitted one-to-one to the multiple optical transmission channels connected to the optical module.

13. An optical communication method, characterized in that, Applicable to optical modules, the optical modules including signal processing components and channel switching components, the optical modules being connected to multiple optical transmission channels, the method including: If an anomaly is detected in the first optical transmission channel connected to the signal processing component, interactive information is generated to trigger channel switching. The channel switching component performs optical transmission channel switching based on the interaction information, so that the signal processing component can be connected to the second optical transmission channel; The first optical transmission channel and the second optical transmission channel are different optical transmission channels accessed by the optical module.

14. The method of claim 13, wherein, The method further includes: Based on the electrical signal corresponding to the input optical signal transmitted by the first optical transmission channel, determine whether there is an abnormality in the first optical transmission channel.

15. The method of claim 14, wherein, The optical module further includes a photoelectric conversion component for converting the optical signal received in the optical transmission channel it is connected to into an electrical signal; the method further includes: Based on the electrical signal obtained from the photoelectric conversion component, it is determined whether there is an abnormality in the optical transmission channel to which the photoelectric conversion component is connected, so as to know whether there is an abnormality in the first optical transmission channel; The number of optical transmission channels connected to the photoelectric conversion component is at least one, and includes at least the first optical transmission channel.

16. The method of claim 15, wherein, When the photoelectric conversion component is not connected to any optical transmission channel other than the first optical transmission channel, the method further includes: Obtain electrical signals from the photoelectric conversion component; If the electrical signal is abnormal, then it is determined that the first optical transmission channel is abnormal.

17. The method of claim 13, wherein, The channel switching component employs a physical switch, which is located between the photoelectric conversion component and multiple optical interfaces provided by the optical module. The physical switch connects the photoelectric conversion component and the optical interface used to access the first optical transmission channel. The method further includes: If an anomaly is detected in the first optical transmission channel, a channel switching command is sent to the physical switch to trigger the physical switch to perform optical transmission channel switching.

18. An optical communication device, comprising: Includes the optical module according to any one of claims 1-12.

19. A computer readable storage medium storing computer instructions, wherein, When the computer instructions are executed by one or more processors, the one or more processors perform the optical communication method according to any one of claims 13-17.

20. A computer program product, characterised in that, Includes a computer program, wherein when the computer program is executed by a processor, it causes the processor to perform the optical communication method according to any one of claims 13-17.