Detection method, related device and storage medium

By switching from optical signal detection to target detection module through photoelectric conversion module, the problem of optical module detection module being unable to match changes in application scenario is solved, and the efficiency and accuracy of alarm information acquisition are improved.

WO2026113364A1PCT designated stage Publication Date: 2026-06-04HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-06-24
Publication Date
2026-06-04

AI Technical Summary

Technical Problem

The detection module of the optical module cannot flexibly adapt to changes in application scenarios, resulting in reduced flexibility of detection alarm information.

Method used

The photoelectric conversion module switches to the target detection module via a detection indicator. This module includes multiple detection modules, such as a photodetector, a photoreceiver, and a processor. The target detection module is selected according to requirements to detect optical signals, and the electrical path is configured to obtain alarm information.

Benefits of technology

This improves the efficiency and accuracy of alarm information acquisition for photoelectric conversion modules in different application scenarios, and enables flexible fault information detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025102899_04062026_PF_FP_ABST
    Figure CN2025102899_04062026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a detection method, a related device and a storage medium, which can adapt to changes in an application scenario of an optical module, so as to flexibly select a detection module for detecting alarm information. The method is applied to a photoelectric conversion module, wherein the photoelectric conversion module is connected to a device board. The method comprises: a photoelectric conversion module obtaining a detection instruction, wherein the detection instruction is used for indicating the switching to a target detection module, the photoelectric conversion module comprises a plurality of detection modules, and the plurality of detection modules comprise at least one target detection module; and the photoelectric conversion module detecting, by means of the target detection module, an optical signal received by the photoelectric conversion module, so as to obtain alarm information, wherein the alarm information is used for being acquired by a device board.
Need to check novelty before this filing date? Find Prior Art

Description

A detection method, related equipment, and storage medium

[0001] This application claims priority to Chinese Patent Application No. 202411753355.8, filed on November 28, 2024, entitled "A Detection Method, Related Equipment and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of optical communication technology, and in particular to a detection method, related equipment, and storage medium. Background Technology

[0003] The alarm information of optical modules involves various types, and these alarm information are usually used to indicate whether the working status of the optical module is abnormal.

[0004] Taking a signal loss (LOS) alarm as an example, the optical module has a preset detection module that performs LOS detection. For instance, this detection module could be a clock and data recovery (CDR) module, which recovers the clock signal from received data. By monitoring the CDR's operating status, it's possible to determine if LOS has occurred. Alternatively, the detection module could be an analog-to-digital converter (ADC), which converts analog signals to digital signals. By measuring parameters such as the amplitude and frequency of the digital signal sampled by the ADC, it's possible to determine if LOS has occurred.

[0005] However, the application scenarios of optical modules are constantly changing. For example, the network structure in which the optical module is located may change, or the wavelengths of the received optical signals may change. The preset detection modules of the optical module will not adapt to the changes in the application scenarios of the optical module, reducing the flexibility of detecting alarm information from the optical module. Summary of the Invention

[0006] This application provides a detection method, related equipment, and storage medium that can adapt to changes in the application scenario of the optical module and flexibly select the detection module used to detect alarm information.

[0007] In a first aspect, this application provides a detection method applied to a photoelectric conversion module connected to a device board. The method includes: the photoelectric conversion module receiving a detection indication, the detection indication indicating a switch to a target detection module; the photoelectric conversion module including multiple detection modules, the multiple detection modules including at least one target detection module; the photoelectric conversion module detecting the optical signal received by the photoelectric conversion module through the target detection module to obtain alarm information, the alarm information being acquired by the device board.

[0008] As shown in this aspect, the photoelectric conversion module will detect fault information through the target detection module indicated by the detection indicator. The device board can obtain the fault information detected by the target detection module. The target detection module is specified by the detection indicator according to the requirements (such as accuracy, efficiency, timeliness, reliability, etc.), thereby improving the flexibility of selecting the target detection module, so as to ensure that the photoelectric conversion module can detect fault information and match the changes in the application scenario of the photoelectric conversion module.

[0009] Based on the first aspect, in an optional implementation, after the photoelectric conversion module obtains the detection indication, the method further includes: the photoelectric conversion module configures the electrical path between the target detection module and the device board to be in a conducting state according to the detection indication, and the alarm information is used to be obtained by the device board through the electrical path.

[0010] By adopting this implementation method, the device board obtains the alarm information detected by the target detection module through the electrical path, thereby improving the efficiency of the device board in obtaining alarm information.

[0011] Based on the first aspect, in one optional implementation, the photoelectric conversion module includes a beam splitter, a light detection module, a light receiver, and a processor; the plurality of detection modules include the light detection module, the light receiver, and the processor; the beam splitter receives an optical signal and splits the optical signal to obtain a first optical signal and a second optical signal; the light detection module performs photoelectric conversion on the first optical signal to obtain a first electrical signal and detects the first electrical signal to obtain a first alarm message; the light receiver performs photoelectric conversion on the second optical signal to obtain a second electrical signal and detects the second electrical signal to obtain a second alarm message; the processor performs signal processing on the first electrical signal to obtain a third alarm message.

[0012] By adopting this implementation method, at least one of the optical detection module, optical receiver and processor can be selected as the target detection module according to the requirements, which improves the flexibility of selecting alarm information that can be obtained by the device board.

[0013] Based on the first aspect, in an optional implementation, if the target detection module includes the light detection module, then after the photoelectric conversion module obtains the detection indication, the method further includes: the photoelectric conversion module configures the first electrical path between the light detection module and the device board to be in a conducting state according to the detection indication, and the first alarm information is used to be obtained by the device board through the first electrical path.

[0014] By adopting this implementation method, the device board obtains the first alarm information detected by the optical detection module through the first electrical path, thereby improving the efficiency of the device board in obtaining the first alarm information.

[0015] Based on the first aspect, in an optional implementation, if the target detection module includes the optical receiver, then after the photoelectric conversion module obtains the detection indication, the method further includes: the photoelectric conversion module configures the second electrical path between the optical receiver and the device board to be in a conducting state according to the detection indication, and the second alarm information is used to be obtained by the device board through the second electrical path.

[0016] By adopting this implementation method, the device board obtains the second alarm information detected by the optical receiver through the second electrical path, thereby improving the efficiency of the device board in obtaining the second alarm information.

[0017] Based on the first aspect, in an optional implementation, if the target detection module includes the processor, then after the photoelectric conversion module obtains the detection indication, the method further includes: the photoelectric conversion module configures the third electrical path between the processor and the device board to be in a conducting state according to the detection indication, and the third alarm information is used to be obtained by the device board through the third electrical path.

[0018] By adopting this implementation method, the device board obtains the third alarm information detected by the processor through the third electrical path, thereby improving the efficiency of the device board in obtaining the third alarm information.

[0019] Based on the first aspect, in one optional implementation, the photoelectric conversion module detects the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information, including: the photoelectric conversion module stores the alarm information detected by the target detection module into the register of the photoelectric conversion module.

[0020] Using this implementation method, the device board obtains the registers of the photoelectric conversion module to obtain the alarm information detected by the target detection module, so as to realize the real-time monitoring of the alarm information detected by the photoelectric conversion module and timely detect possible faults or abnormalities in the photoelectric conversion module.

[0021] Based on the first aspect, in one optional implementation, the photoelectric conversion module obtaining the detection indication includes: the photoelectric conversion module receiving the detection indication through an operation interface, the detection indication being used to invoke the register instruction of the photoelectric conversion module, and the register instruction being used to switch to the target detection module.

[0022] In this implementation, the operation interface receives a detection instruction, which is translated into a register instruction that the processor (e.g., CPU) of the photoelectric conversion module can recognize. This register instruction controls the processor of the photoelectric conversion module to switch the detection module used for detecting alarm information to the target detection module. Inputting the detection instruction through the operation interface improves the flexibility of the photoelectric conversion module in selecting the target detection module, better matching the user's needs for the target detection module.

[0023] Based on the first aspect, in one optional implementation, the detection indication is related to at least one of the following: the network structure to which the photoelectric conversion module is connected, and the optical signal received by the photoelectric conversion module.

[0024] By adopting this implementation method, since the detection indication is related to the network structure to which the photoelectric conversion module is connected, and / or the optical signal received by the photoelectric conversion module, the flexibility of the photoelectric conversion module in selecting the target detection module is improved.

[0025] Based on the first aspect, in one optional implementation, the network structure to which the photoelectric conversion module is connected includes a wavelength division multiplexer (WDM) connected to the photoelectric conversion module via an optical fiber, and the detection indication is used to indicate that the target detection module includes an optical receiver and / or a processor.

[0026] In this implementation, when the photoelectric conversion module is connected to the wavelength division multiplexer (WDM) via optical fiber, the target detection module includes an optical receiver and / or a processor, which improves the accuracy and efficiency of the device board in acquiring alarm information.

[0027] Based on the first aspect, in one optional implementation, the network structure to which the photoelectric conversion module is connected includes a photoelectric conversion module connected to another communication device via an optical fiber, and the detection indication is used to indicate that the target detection module includes a light detection module.

[0028] In this implementation, when the photoelectric conversion module is connected to another communication device via optical fiber, the target detection module includes a photodetector module, which improves the accuracy and efficiency of the device board in acquiring alarm information.

[0029] Based on the first aspect, in one optional implementation, if the optical signal received by the photoelectric conversion module includes light of multiple different wavelengths, the detection indication is used to indicate that the target detection module includes an optical receiver and / or a processor.

[0030] With this implementation, when the optical signal received by the photoelectric conversion module includes light of various wavelengths, the target detection module includes an optical receiver and / or a processor, which improves the accuracy and efficiency of the device board in acquiring alarm information.

[0031] Based on the first aspect, in one optional implementation, if the optical signal received by the photoelectric conversion module includes light of a certain wavelength, then the detection indication is used to indicate that the target detection module includes a photodetector module.

[0032] With this implementation, when the optical signal received by the photoelectric conversion module includes light of one wavelength, the target detection module includes a photodetector module, which improves the accuracy and efficiency of the device board in obtaining alarm information.

[0033] Based on the first aspect, in one optional implementation, the photoelectric conversion module has a configuration interface for storing a target configuration in a non-volatile memory. When the photoelectric conversion module is connected to the device board, the target detection module executes the target configuration to obtain the alarm information.

[0034] By adopting this implementation method, the target configuration in the non-volatile memory of the photoelectric conversion module can flexibly select the target detection module. Thus, the target configuration can be set in the non-volatile memory according to the requirements (such as accuracy, efficiency, timeliness, reliability, etc.), thereby improving the flexibility of selecting the target detection module, ensuring the photoelectric conversion module can detect fault information and match the changes in the application scenario of the photoelectric conversion module.

[0035] Based on the first aspect, in one optional implementation, the photoelectric conversion module detects the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information, including: the photoelectric conversion module obtains feature design DFx information through the target detection module, and the DFx information is used to be acquired by the device board.

[0036] By adopting this implementation method, DFx information can improve the efficiency of detecting abnormalities or faults in the photoelectric conversion module, reduce the probability of fault occurrence, and improve the reliability of the photoelectric conversion module.

[0037] Based on the first aspect, in one optional implementation, the alarm information is at least one of the following:

[0038] Signal loss alarm (LOS), frame loss alarm (LOF), frame out of synchronization alarm (OOF), multiplex section alarm indication signal (MS-AIS), multiplex section remote failure indication alarm (MS-FERF), remote defect indication (RDI), signal degradation alarm, and multiframe loss alarm (LOM).

[0039] Using this implementation method, the photoelectric conversion module can detect various types of alarm information through the target detection module, thereby improving the diversity and flexibility of obtaining alarm information.

[0040] Secondly, this application provides a photoelectric conversion module connected to a device board. The photoelectric conversion module includes multiple detection modules and a processor. The processor is used to obtain a detection indication, which is used to instruct switching to a target detection module. The multiple detection modules include at least one target detection module. The target detection module is used to detect the optical signal received by the photoelectric conversion module to obtain alarm information, which is acquired by the device board. For an explanation of the beneficial effects of this aspect, please refer to the first aspect; specific details will not be repeated here.

[0041] Based on the second aspect, in one optional implementation, after obtaining the detection indication, the processor is further configured to:

[0042] According to the detection indication, the electrical path between the target detection module and the device board is configured to be in a conductive state, and the alarm information is used to be obtained by the device board through the electrical path.

[0043] Based on the second aspect, in an optional implementation, the target detection module is used to detect the optical signal received by the photoelectric conversion module to obtain alarm information. Then, the processor is further used to store the alarm information detected by the target detection module into the register of the processor so that it can be acquired by the device board.

[0044] Based on the second aspect, in one optional implementation, the processor, during the process of obtaining the detection indication, is specifically used for:

[0045] The detection instruction is received through the operation interface. The detection instruction is used to invoke the register instruction of the photoelectric conversion module. The register instruction is used to switch to the target detection module.

[0046] Thirdly, this application provides a communication device, including a device board and one or more photoelectric conversion modules connected to the device board; the photoelectric conversion module is used to obtain a detection indication, the detection indication is used to indicate switching to a target detection module, the photoelectric conversion module includes multiple detection modules, the multiple detection modules include at least one of the target detection modules; the photoelectric conversion module is further used to detect the optical signal received by the photoelectric conversion module through the target detection module to obtain alarm information; the device board is used to obtain the alarm information.

[0047] Fourthly, this application provides a photoelectric conversion module, including a unit for performing any of the methods described in the first aspect.

[0048] Fifthly, this application provides a computer program product comprising computer program code that, when executed on a computer, causes the computer to perform the method described in any of the first aspects above.

[0049] In a sixth aspect, this application provides a computer-readable storage medium including computer program instructions that, when executed by a processor, perform the method as described in any of the first aspects above.

[0050] In a seventh aspect, this application provides a radar, including a processor and a photoelectric conversion module connected to the processor, the photoelectric conversion module being as described in any of the first aspects above; the processor is configured to send a detection electrical signal to the photoelectric conversion module, the photoelectric conversion module is configured to process the detection electrical signal into an optical signal, and transmit the optical signal through an optical fiber; the photoelectric conversion module is configured to receive an echo optical signal, the echo optical signal being an optical signal reflected by a detection object to the photoelectric conversion module according to the optical signal; the photoelectric conversion module is configured to process the echo optical signal into an echo electrical signal; the processor is configured to obtain relevant information about the detection object based on the echo electrical signal. Attached Figure Description

[0051] Figure 1 is a first example diagram of the structure of the optical network provided in this application;

[0052] Figure 2 is a second example diagram of the optical network structure provided in this application;

[0053] Figure 3 is a structural example diagram of the first embodiment of the photoelectric conversion module provided in this application;

[0054] Figure 4 is a structural example of the photoelectric conversion module shown in Figure 3;

[0055] Figure 5 is a flowchart of the steps of the first embodiment of the detection method provided in this application;

[0056] Figure 6 shows an example of a third structure of the optical network provided in this application;

[0057] Figure 7 shows an example of a fourth structure of the optical network provided in this application;

[0058] Figure 8 is an example diagram of the operation interface of the photoelectric conversion module provided in this application;

[0059] Figure 9 is a structural example diagram of an embodiment of the communication device provided in this application;

[0060] Figure 10 is a flowchart of the steps of a second embodiment of the detection method provided in this application;

[0061] Figure 11 is a schematic block diagram of an embodiment of the photoelectric conversion module provided in this application;

[0062] Figure 12 is a structural example diagram of an embodiment of the radar provided in this application;

[0063] Figure 13 is a structural example diagram of an embodiment of the vehicle provided in this application. Detailed Implementation

[0064] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0065] Figure 1 is a first structural example of the optical network provided in this application. The optical network 100 shown in this example is a passive optical network (PON). The optical network 100 includes a first communication device 101, an optical distribution network (ODN) 110, and at least one second communication device 102. The first communication device 101 is connected to at least one second communication device 102 through the ODN 110. This example does not limit the number of second communication devices 102 included in the optical network. The ODN 110 includes a passive splitter, a backbone fiber (Feeder) connecting the first communication device 101 and the passive splitter, and a drop fiber (Drop) connecting the second communication device 102 and the passive splitter. The second communication device 102 shown in this example can be an optical network unit (ONU) or an optical network terminal (ONT), and the first communication device 101 is an optical line terminal (OLT). The first communication device 101 connects to upper-layer network-side devices (such as switches, routers, etc.). The second communication device 102 can connect to user terminals. For example, the second communication device 102 provides an Ethernet user port or a plain old telephone service (POTS) user port to connect to user terminals.

[0066] Figure 1 is an example of an optical network structure provided in this application embodiment, and is not intended to limit the scope. For example, Figure 2 is a second example of an optical network structure provided in this application. Fiber to the home (FTTH) is a fiber optic communication transmission method that achieves wider coverage of the optical network. In addition, fiber to the office (FTTO) and fiber to the building (FTTB) are also proposed as similar or identical communication transmission methods, which can also be the application architecture of the detection method provided in this application. Based on FTTH, to solve the problem of home network WiFi coverage, the optical fiber can be further extended into the residents' rooms. Installing user terminals inside the rooms is called fiber to the room (FTTR). Specifically, Figure 2 is a schematic diagram of the FTTR system architecture. The FTTR network and the FTTH network can be considered as a cascaded PON system. In FTTH, the OLT is deployed in the center office (CO), and the ONU is deployed in the home's information box. The first communication device in an FTTR can replace the ONU in an FTTH scenario. This first communication device possesses similar functions to the OLT in an FTTH scenario, and can also function similarly to the ONU in an FTTH scenario. In other words, the first communication device in an FTTR is a device that combines the functions of both an OLT and an ONU, acting as a bridge between FTTH and FTTR. For example, this first communication device can specifically be a main FTTR unit (MFU). The second communication device in an FTTR can be deployed in each room of the home to connect to user terminals (stations). This second communication device is essentially a network device similar to the ONU in an FTTH scenario. The second communication device enters each room in the FTTR and can also function as an access point (AP), directly connecting to user terminals via WiFi. For example, the second communication device can specifically be a sub FTTR unit (SFU). User terminals can connect to the second communication device to establish a connection for data transmission. For example, the user terminal and the second communication device can be connected via either a wired or wireless connection. Wired connections can use telephone lines, network cables, or coaxial cables, etc. Wireless connections can use WiFi, Bluetooth, Wi-Fi, Near Field Communication (NFC), infrared, or ZigBee, etc. It should be understood that multiple second communication devices can be deployed in FTTR.When the first communication device is an MFU and the second communication device is an SFU, the MFU interacts with the SFU through a Wi-Fi management and control channel (WMCC) and a Wi-Fi management and control interface (WMCI). Specifically, the MFU and SFU can establish a WMCC management channel based on the WMCI protocol, enabling the MFU and SFU to exchange WMCI messages through the WMCC management channel, thereby realizing the management or control of the wireless local area network (WLAN) function.

[0067] It should be clarified that the descriptions of optical network types shown in Figures 1 and 2 are optional examples and are not limited. For instance, an optical network can be applied to an optical transport network (OTN), in which case both the first and second communication devices are OTN devices. If an optical network is applied to a wireless mesh network, it is also called a multi-hop network. This mesh includes multiple transmission devices with mesh functionality. The first and second communication devices are any two connected devices from among these transmission devices. The optical network shown in this example can also be applied to any one or more combinations of data center networks (DCN), metropolitan area networks (MAN), optical access networks (OAN), synchronous digital hierarchy (SDH), Gigabit-capable PON (GPON), Ethernet passive optical network (EPON), evolved GPON (10-Gigabit-capable symmetric passive optical network, XGS-PON), Ethernet, or flexible Ethernet (FlexE), wavelength division multiplexing (WDM) networks, etc., without any specific limitations.

[0068] Taking Figure 1 as an example, the structure of the communication device will be described. Specifically, taking the first communication device 101 as an example, this example does not limit the device type of the first communication device 101. Depending on the different application scenarios of the optical network, the device type of the first communication device 101 may also be different. For example, the first communication device 101 may be an optical transmission device, an optical communication device, a router, a switch, a wireless base station, a wireless remote communication device, a wireless baseband signal processing device, etc., or it may be a computing server (usually referred to as a server), a high-performance computer (HPC), a storage server, or a memory resource pool, etc. This example does not limit the type of the first communication device 101, as long as the first communication device 101 has an electro-optical conversion function and an optical interface that can connect to optical fibers. For the description of the type of the second communication device 102, please refer to the description of the first communication device 101, which will not be repeated here. The first communication device 101 includes a device board 121 and one or more optoelectronic conversion modules 122. The optoelectronic conversion module 122 may also be called an optical transceiver, an optical transceiver module, or an optical module, etc. This example does not limit the type and packaging form of the photoelectric conversion module 122. This example does not limit the number of device boards 121 included in the first communication device 101. The device boards 121 may be integrated with the first communication device 101, or they may be independent pluggable boards. This example does not limit the number of photoelectric conversion modules 122 included in the first communication device 101. The photoelectric conversion module 122 may be integrated with the device board 121 or pluggable onto the device board 121, etc., without specific limitations. Specifically, the device board 121 encapsulates a controller and a connector, which is used to connect the controller and the photoelectric conversion module 122. The controller may be one or more chips, or one or more integrated circuits.For example, the controller can be one or more optical digital signal processors (oDSPs), digital signal processors (DSPs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), system-on-chips (SoCs), central processing units (CPUs), network processors (NPs), microcontroller units (MCUs), programmable logic devices (PLDs), network interface cards (NICs), storage interface chips, or other integrated chips, or any combination of the above chips or processing modules, etc., which will not be elaborated further. The second communication device 102 includes a device board and one or more photoelectric conversion modules. For details, please refer to the description of the first communication device 101, which will not be elaborated further.

[0069] It is understood that Figures 1 and 2 are only schematic diagrams. The optical network may also include other devices, such as wavelength division multiplexing (WDM) devices, optical amplifiers, and more secondary communication devices, which are not shown in Figures 1 and 2.

[0070] Figure 3 is a structural example diagram of the first embodiment of the photoelectric conversion module provided in this application. The photoelectric conversion module includes an optical fiber 301, which is used to receive optical signals carrying service data. The service data shown in this embodiment can carry various types of services, such as synchronous digital hierarchy (SDH) services, packet services, Ethernet services, flexible Ethernet (FlexE) services, fronthaul services, optical transport network (OTN) services, storage services, data center services, or supercomputing services. This embodiment does not limit the number or specific type of services carried by the service signal. The photoelectric conversion module also includes a beam splitter 302, an optical receiver 303, a processor 304, and a light detection module 305. The optical fiber 301, beam splitter 302, optical receiver 303, and processor 304 are connected in sequence, and the beam splitter 302 is also connected to the light detection module 305. Optical splitter 302 receives the optical signal from optical fiber 301 and splits the optical signal to obtain a first optical signal and a second optical signal. Optical splitter 302 sends the first optical signal to optical detection module 305 and also sends the second optical signal to optical receiver 303. In this embodiment, the optical power of the first optical signal is less than the optical power of the second optical signal, but the specific implementation is not limited. Optical detection module 305 is used to perform photoelectric conversion (demodulation) on the first optical signal to obtain a first electrical signal. Optical detection module 305 may include a photodiode (positive intrinsic-negative, PIN) or an avalanche photodiode (APD) for photoelectric conversion, but the specific implementation is not limited.

[0071] Optical receiver 303 receives a second optical signal from beam splitter 302 and performs photoelectric conversion (demodulation) on the second optical signal to output a second electrical signal. Specifically, the optical receiver 303 shown in this embodiment may include a waveguide detector (WDM). The WDM is used to extract the optical signal that needs to be processed by the photoelectric conversion module from the second optical signal. The optical receiver 303 includes a photodetector connected to the WDM, which performs photoelectric conversion on the optical signal output by the WDM. For example, the second optical signal sent from beam splitter 302 to optical receiver 303 includes λ1, λ2, and λ3. The WDM extracts λ3 (the wavelength that needs to be processed by the photoelectric conversion module) from the second optical signal (including λ1, λ2, and λ3). The photodetector is used to perform photoelectric conversion on λ3 to output a second electrical signal. The photodetector may be an APD or a PIN. As can be seen from the comparison of the optical detection module 305, the optical detection module 305 performs photoelectric conversion on each wavelength (e.g., λ1, λ2 and λ3) transmitted by the first optical fiber 301, while the optical receiver 303 is used to perform photoelectric conversion on the wavelength (e.g., λ3) that needs to be processed by this photoelectric conversion module.

[0072] Processor 304 receives a second electrical signal from optical receiver 303 and processes it. For a description of the type of processor 304, please refer to the description of the controller type in Figure 1; details are omitted here. Specifically, processor 304 includes a digital signal processor (DSP), which may include an analog-to-digital converter (ADC) and a demapping module. The ADC performs analog-to-digital conversion on the second electrical signal from optical receiver 303 to obtain a digital signal. The demapping module of the DSP demaps the digital signal to obtain a demapped signal. This embodiment uses the demapping module in conjunction with hard-decision forward error correction (FEC) to perform constellation demapping on the digital signal as an example. Constellation demapping refers to demapping the demapped signal from the constellation diagram. It should be noted that the description of the DSP processing in this embodiment is an optional example and is not limited. For example, the DSP may also perform clock recovery, channel compensation, multiple-in multiple-out (MIMO) equalization, carrier phase recovery, dispersion estimation, etc. The processor 304 sends the obtained demapping signal to the controller of the device board. For a detailed description of the controller, please refer to Figure 1. Further details will not be provided here.

[0073] Figure 4 is a structural example of the photoelectric conversion module shown in Figure 3. The processor 304, optical receiver 303, and optical detection module 305 of the photoelectric conversion module are connected to the gold fingers 400 of the photoelectric conversion module through pins (also called pins). Then, the processor 304, optical receiver 303, and optical detection module 305 are connected to the controller of the device board through pins and the gold fingers 400.

[0074] Based on Figures 3 and 4, and in conjunction with Figure 5, the detection method provided by the embodiments of this application is described, wherein Figure 5 is a flowchart of the first embodiment of the detection method provided by this application.

[0075] Step 501: The photoelectric conversion module obtains a detection indication.

[0076] The detection indication is used to indicate switching to the target detection module. The photoelectric conversion module includes multiple detection modules, including at least one target detection module. This embodiment does not limit the number of detection modules included in the photoelectric conversion module or the number of target detection modules. For example, the multiple detection modules of the photoelectric conversion module specifically include a processor 304, an optical receiver 303, and a light detection module 305. The target detection module can be at least one of the processor 304, optical receiver 303, and light detection module 305. If the target detection module is the light detection module 305, then the light detection module 305 performs photoelectric conversion on the first optical signal to obtain a first electrical signal, and detects the first electrical signal to obtain first alarm information. Specifically, the light detection module 305 detects the first electrical signal to obtain parameters such as photocurrent, optical signal amplitude, pre-correction bit error rate, post-correction bit error rate, electro-eye amplitude, optical signal phase, or optical signal spectrum. Then, based on the detected parameters, the light detection module 305 obtains the corresponding first alarm information. This embodiment does not limit the description of the parameter types detected by the optical detection module 305, nor the types of alarm information detected. For example, the first alarm information can be LOS (Loss of Optical Current). Specifically, if the photocurrent detected by the optical detection module 305 drops from a normal value to a state with no light signal input within a specific time period, then a first alarm information indicating LOS is detected. As another example, if the target detection module is an optical receiver 303, then the optical receiver 303 performs photoelectric conversion on the second optical signal to obtain a second electrical signal, and detects the second electrical signal to obtain a second alarm information, for example, the second alarm information is also LOS. As yet another example, if the target detection module is a processor 304, then the processor 304 performs signal processing on the second electrical signal from the optical receiver 303 to obtain a third alarm information, for example, the third alarm information can also be LOS.

[0077] This embodiment uses the example where the first, second, and third alarm messages are all LOS (Loss of Frame), but this is not a limitation. Taking the first alarm message as an example, in other examples, the first alarm message can also be a loss of frame (LOF), out of frame (OOF), multiplex section-alarmindication signal (MS-AIS), multiplex section-far end receive failure (MS-FERF), remote defect indication (RDI), signal degradation alarm, loss of multiframe (LOM), etc., without specific limitations. For the description of the second and third fault messages, please refer to the description of the first fault message, which will not be repeated here. It should also be noted that the information types of different fault messages can be different. For example, the information type of the first fault message can be LOS, and the information type of the second fault message can be LOF.

[0078] The photoelectric conversion module can obtain detection indications through the following optional examples:

[0079] Example 1

[0080] The photoelectric conversion module obtains a detection indication based on the network structure to which it is connected. It is understood that the detection indication described in this example is related to the network structure to which the photoelectric conversion module is connected. The network structure to which the photoelectric conversion module is connected includes a wavelength division multiplexing (WDM) unit connected to the photoelectric conversion module via optical fiber. For example, Figure 6 shows a third example structure of the optical network provided in this application. The optical network shown in Figure 6 includes multiple communication devices, such as communication device 601, communication device 602, and communication device 603. For a description of each communication device shown in Figure 6, please refer to the corresponding description in Figure 1; details will not be repeated here. The optical network shown in Figure 6 also includes a WDM 600, and communication devices 601, 602, and 603 are respectively connected to the WDM 600. For example, the optical signal emitted by the photoelectric conversion module of communication device 601 includes an optical signal with wavelength λ1 and an optical signal with wavelength λ2. The WDM 600 demultiplexes the optical signal from the photoelectric conversion module of communication device 601 to obtain the optical signal with wavelength λ1 and the optical signal with wavelength λ2. WDM600 sends an optical signal with wavelength λ1 to the photoelectric conversion module of communication device 602, and WDM600 sends an optical signal with wavelength λ2 to the photoelectric conversion module of communication device 603. If the communication device performing the detection method shown in this embodiment is communication device 602, then communication device 602 can detect the network structure to which communication device 602 is connected.

[0081] For example, communication device 602 detects the received optical signal to obtain the network structure to which the photoelectric conversion module is connected. Alternatively, communication device 602 receives a topology indication message, which indicates the network structure to which communication device 602 is connected. Communication device 602 determines the network structure to which the photoelectric conversion module is connected based on this topology indication message. This embodiment does not limit the source of the topology indication message; for example, the topology indication message may come from a network management device or another communication device.

[0082] The network structure shown in this example can be such that the photoelectric conversion module of communication device 602 is connected to WDM 600 via optical fiber. In this case, the detection indication is used to indicate that the target detection module includes the optical receiver and / or the processor, thereby improving the accuracy of alarm information detection. The network structure shown in this example can also be as shown in Figure 7, which is a fourth structural example of the optical network provided in this application. The optical network shown in Figure 7 includes multiple communication devices, such as communication device 701 and communication device 702. For a description of each communication device shown in Figure 7, please refer to the corresponding description in Figure 1; specific details will not be repeated here. Taking the detection method shown in this embodiment executed by communication device 701 as an example, if communication device 701 detects that its photoelectric conversion module is not connected to the WDM but is in a point-to-point communication state with another communication device 702, then the detection indication is used to indicate that the target detection module includes a light detection module. It should be clarified that the description of the target detection module type obtained by the photoelectric conversion module in this example according to the network structure to which the photoelectric conversion module is connected is an optional example and is not limited. As long as the photoelectric conversion module can flexibly select the corresponding target detection module according to the requirements of the accuracy, efficiency and timeliness of obtaining alarm information, it is acceptable.

[0083] Example 2

[0084] The detection indication shown in this example is related to the optical signal received by the photoelectric conversion module. If the optical signal received by the photoelectric conversion module includes light of multiple different wavelengths, then the target detection module indicated by the obtained detection indication includes an optical receiver and / or a processor. Alternatively, if the optical signal received by the photoelectric conversion module includes light of only one wavelength, then the detection indication is used to indicate that the target detection module includes a photodetector module. It should be noted that the wavelengths included in the optical signal received by the photoelectric conversion module in this example, and the specific type of target detection module corresponding to them, are optional examples and not limited. The photoelectric conversion module can flexibly select the corresponding target detection module based on requirements such as the accuracy, efficiency, and timeliness of obtaining alarm information.

[0085] Example 3

[0086] This example illustrates a photoelectric conversion module configuration operation interface. This interface can take various forms, such as a command-line interface, a graphical user interface (GUI), or an application programming interface (API). The operation interface receives detection instructions, which are translated into register instructions recognizable by the photoelectric conversion module's processor (e.g., CPU). Specifically, the detection instructions invoke the photoelectric conversion module's register instructions, which control the processor to switch the detection module used for detecting alarm information to the target detection module. Inputting detection instructions through the operation interface enhances the flexibility of the photoelectric conversion module in selecting the target detection module, better matching the user's needs for the target detection module.

[0087] For example, Figure 8 is an example diagram of the operation interface of the photoelectric conversion module provided in this application. The operation interface 800 provided in this example can be a GUI. The operation interface 800 can include multiple sub-operation interfaces. For example, sub-operation interface 801 is used to perform total light detection to obtain a first alarm information, sub-operation interface 802 is used to perform light detection on this module to obtain a second alarm information, and sub-operation interface 803 is used to detect electrical signals to obtain a third alarm information. For a description of the first, second, and third alarm information, please refer to the above embodiments, which will not be repeated here. The operation interface 800 is used to receive a detection instruction input by the user through operating the operation interface 800. The detection instruction is used to select the sub-operation interface included in the operation interface 800. For example, if the detection instruction received by the operation interface 800 is used to select sub-operation interface 801, then the target detection module indicated by the detection instruction obtained by the photoelectric conversion module is the light detection module. As another example, if the detection instruction received by the operation interface 800 is used to indicate sub-operation interface 802, then the target detection module indicated by the detection instruction obtained by the photoelectric conversion module is the optical receiver. For example, if the detection indication received by the operation interface 800 is used to instruct the sub-operation interface 803, then the target detection module indicated by the detection indication obtained by the photoelectric conversion module is the processor. This example uses the user inputting the detection indication via a touch event on the operation interface 800; this example does not limit the specific method by which the operation interface receives the detection indication. Furthermore, the photoelectric conversion module can be connected to a terminal device (such as a smartphone or tablet) via wired or wireless means, and the user can send the detection indication to the photoelectric conversion module through the terminal device.

[0088] Example 4

[0089] Figure 9 is a structural example diagram of an embodiment of the communication device provided in this application. The communication device shown in this embodiment includes a device board and a photoelectric conversion module 900 connected to the device board. The photoelectric conversion module 900 includes a beam splitter 902, a photodetector module 903, and a WDM 904. For a description of the beam splitter 902 and the photodetector module 903, please refer to the above embodiment; specific details will not be repeated here. The photoelectric conversion module 900 shown in this embodiment includes multiple receive (RX) channels, for example, RX channels 905, 906, and 907, which are respectively connected to the WDM 904. Taking RX channel 905 as an example, this RX channel 905 includes an optical receiver connected to the WDM 904. For a description of the optical receiver, please refer to the above embodiment; specific details will not be repeated here. For a description of RX channels 906 and 907, please refer to the description of RX channel 905; specific details will not be repeated here. Optionally, the photoelectric conversion module 900 may include a processor, to which optical receivers for different RX channels are connected. Alternatively, different RX channels may include different processors; no specific limitation is made. The processor is connected to the controller 908 on the device board. The WDM 904 receives the second optical signal from the splitter 902 and demultiplexes the second optical signal to obtain a first sub-optical signal, a second sub-optical signal, and a third sub-optical signal. The WDM 904 sends the first sub-optical signal to RX channel 905, the second sub-optical signal to RX channel 906, and the third sub-optical signal to RX channel 907. For a description of the processing of the received sub-optical signals for each RX channel, please refer to the description of the optical receiver's optical signal processing shown above; details will not be repeated here.

[0090] In this example, if the photoelectric conversion module detects WDM904, it is determined that the target detection module indicated by the detection indicator includes each optical receiver and / or processor. It should be clarified that the description of the photoelectric conversion module's structure and the specific type of target detection module obtained in this embodiment is optional and not limited. The photoelectric conversion module can flexibly select the corresponding target detection module based on requirements such as the accuracy, efficiency, and timeliness of obtaining alarm information.

[0091] Step 502: The photoelectric conversion module connects the electrical path between the target detection module and the equipment board according to the detection indication.

[0092] Referring to Figure 4, taking the target detection module as the photodetector module 305 as an example, to obtain the first alarm information detected by the photodetector module 305, pin 401 between the photodetector module 305 and the gold finger 400 is connected to establish a first electrical path between the photodetector module 305 and the controller on the device board. The controller on the device board can obtain the first alarm information detected by the photodetector module 305 through the first electrical path. For example, the first alarm information can be LOS, etc. For a description of the first alarm information, please refer to the above description, which will not be repeated here. This embodiment does not limit the way the pin 401 between the photodetector module 305 and the gold finger 400 is connected. For example, the connection can be achieved by configuring and changing the level transition of the input to pin 401. Specifically, for example, the level of the input to pin 401 changes from high level to low level to achieve connection, or the level of the input to pin 401 changes from low level to high level to achieve connection. The first electrical path can be quickly activated by switching the level of pin 401. It should be noted that the method of activating pin 401 is an optional example and is not limited. For example, activation can also be achieved by adjusting the magnitude of the analog signal input to pin 401. Alternatively, the on / off state of pin 401 can be changed by setting a jumper, or by using a DIP switch. Another example is writing a specific value to a register to change the on / off state of pin 401. Furthermore, the on / off state can be controlled by a mechanical switch (such as a slide switch or push-button switch) connected between the photodetector module 305 and the gold finger 400. If the target detection module indicated by the detection indicator is a photodetector, the explanation of activating the second electrical path between the photodetector and the device board should refer to the explanation of activating the first electrical path between the photoelectric conversion module and the photodetector module and the device board; details will not be elaborated here. It is understood that when the second electrical path is active, the controller of the device board can obtain the second alarm information detected by the optical receiver through the second electrical path. If the target detection module indicated by the detection indicator is the processor, the explanation of establishing the third electrical path between the processor and the device board is provided in the explanation of establishing the electrical path between the processor and the device board by the photoelectric conversion module; details will not be repeated here. It is understood that when the third electrical path is active, the controller of the device board can obtain the third alarm information detected by the processor through the third electrical path.

[0093] Step 503: The target detection module detects the light signal received by the photoelectric conversion module to obtain alarm information.

[0094] If the target detection module is a light detection module, the light detection module detects the first light signal to obtain the first alarm information, the light receiver detects the second light signal to obtain the second alarm information, and the processor detects the electrical signal from the light receiver to obtain the third alarm information. For an explanation of the first alarm information, the second alarm information, and the third alarm information, please refer to the above embodiment, which will not be elaborated further.

[0095] Step 504: The device board obtains the alarm information of the target detection module through the electrical path.

[0096] When the photoelectric conversion module establishes an electrical path between the target detection module and the controller of the device board, the device board can obtain alarm information detected by the target detection module through this electrical path. For example, if the target detection module is a photodetector, the device board's controller obtains the first alarm information through the established first electrical path. Similarly, if the target detection module is an optical receiver, the device board's controller obtains the second alarm information through the established second electrical path. Furthermore, if the target detection module is a processor, the device board's controller obtains the third alarm information through the established third electrical path.

[0097] The above example uses optical receiver 303, processor 304 and optical detection module 305 as the detection module. In other examples, the detection module may also be an independent hardware unit that is separate from optical receiver 303, processor 304 and optical detection module 305. No specific limitation is made.

[0098] Optionally, when the controller of the device board shown in this embodiment obtains alarm information, it can detect whether a fault has occurred based on the alarm information. If a fault occurs, it can also obtain the corresponding fault type based on the alarm information. For example, the fault type can be a power failure fault, a fiber optic patch cord detachment fault (e.g., when the fiber optic patch cord has poor contact or is manually pulled out), a fiber optic cable breakage fault (e.g., when it is broken or damaged by external force), a fiber optic patch cord damage fault, a fiber optic patch cord vibration fault, etc., and there is no specific limitation.

[0099] Optionally, the controller of the device board can acquire the design for X (DFx) information detected by the target detection module during the detection of alarm information. For example, the DFx signal includes design for reliability (DFR), design for testability (DFT), design for manufacturing (DFM), maintainability, etc., without being specifically limited.

[0100] Using the method shown in this embodiment, the photoelectric conversion module detects fault information through the target detection module indicated by the detection indicator. The device board can obtain the fault information detected by the target detection module. The target detection module is specified by the detection indicator according to requirements (such as accuracy, efficiency, timeliness, reliability, etc.), thereby improving the flexibility of selecting the target detection module and ensuring that the photoelectric conversion module can detect fault information to match changes in the application scenario of the photoelectric conversion module. Moreover, the controller of the device board obtains the alarm information detected by the target detection module through the electrical path, improving the efficiency of the device board controller in obtaining alarm information.

[0101] Figure 10 is a flowchart of the steps of the second embodiment of the detection method provided in this application.

[0102] Step 1001: The photoelectric conversion module obtains a detection indication.

[0103] For an explanation of the execution process of step 1001 shown in this embodiment, please refer to step 501 in Figure 5, which will not be elaborated further.

[0104] Step 1002: The target detection module detects the light signal received by the photoelectric conversion module to obtain alarm information.

[0105] For an explanation of the execution process of step 1002 shown in this embodiment, please refer to step 503 in Figure 5, which will not be elaborated further.

[0106] Step 1003: The photoelectric conversion module stores the alarm information detected by the target detection module into the register according to the detection instruction.

[0107] For a description of the target detection module, please refer to step 502 in Figure 5; details will not be repeated here. For example, if the target detection module is a photodetector module, the photoelectric conversion module stores the first alarm information detected by the photodetector module into its register. Similarly, if the target detection module is an optical receiver, the photoelectric conversion module stores the second alarm information detected by the optical receiver into its register. Furthermore, if the target detection module is a processor, the photoelectric conversion module stores the third alarm information detected by the processor into its register.

[0108] Step 1004: The device board retrieves the alarm information from the register.

[0109] The controller of the device board shown in this embodiment can obtain alarm information from the registers via the system bus. The communication bus can be a serial peripheral interface (SPI) bus or an inter-integrated circuit (I2C) serial communication bus, etc. To improve the transmission rate, the above-mentioned communication bus can also be a high-speed communication bus, such as a management data input output interface (MDIO) bus. Of course, the above-mentioned communication bus can also be other types of buses, as long as the controller of the device board can successfully obtain the alarm information from the registers via the system bus.

[0110] Using the method shown in this embodiment, the controller of the device board obtains the registers of the photoelectric conversion module to obtain the alarm information detected by the target detection module, so as to realize the real-time monitoring of the alarm information detected by the photoelectric conversion module by the device board, timely detection of possible faults or abnormalities in the photoelectric conversion module, and improvement of the stability and reliability of the communication equipment, as well as optimization of the performance and resource utilization of the communication equipment.

[0111] In the embodiments shown in Figures 5 and 10, taking the photoelectric conversion module connected to the device board as an example, the photoelectric conversion module obtains alarm information and is acquired by the device board. This is not limited to any particular embodiment. For example, the photoelectric conversion module has a configuration interface used to store the target configuration in non-volatile memory (NVM). Non-volatile memory refers to memory whose stored target configuration will not disappear when the current is turned off, possessing the characteristic of persistent storage of the target configuration. This embodiment does not limit the type of non-volatile memory, but may include read-only memory (ROM), flash memory, ferromagnetic random access memory (FRAM), phase-change memory (PRAM), magnetic random access memory (MRAM), etc. When the photoelectric conversion module is connected to the device board, the photoelectric conversion module is powered on. The target detection module executes the target configuration so that the target detection module obtains alarm information. For an explanation of the target detection module obtaining alarm information and the device board obtaining alarm information, please refer to the descriptions corresponding to Figure 5 or Figure 10 above. Specific details will not be repeated here.

[0112] This application provides a communication device, including a device board and one or more photoelectric conversion modules connected to the device board. For a description of the communication device structure, please refer to Figures 1, 2 and 9. For a description of the photoelectric conversion module structure, please refer to the descriptions corresponding to Figures 3 and 4. Detailed explanations will not be repeated here.

[0113] Figure 11 is a schematic block diagram of an embodiment of the photoelectric conversion module provided in this application. Figure 11 illustrates the structure of the photoelectric conversion module from the perspective of the software module. Specifically, the photoelectric conversion module 1100 includes a processing unit 1101 and a detection unit 1102. The processing unit 1101 is used to implement corresponding processing functions.

[0114] Optionally, the photoelectric conversion module 1100 further includes a storage unit, which can be used to store instructions and / or data. The processing unit 1101 can obtain the instructions and / or data in the storage unit to execute corresponding processing control actions.

[0115] In the embodiment corresponding to Figure 5, the processing unit 1101 is used to execute steps 501 and 502, and the detection unit 1102 is used to execute step 503.

[0116] In the embodiment corresponding to Figure 10, the processing unit 1101 is used to execute steps 1001 and 1003, and the detection unit 1102 is used to execute step 1002.

[0117] It should be understood that the specific process of each unit performing the above-mentioned corresponding steps has been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.

[0118] This application also provides a computer-readable storage medium storing computer instructions for implementing the methods executed by the photoelectric conversion module in the above-described method embodiments.

[0119] For example, when the computer program is executed by the computer, it enables the computer to implement the methods executed by the photoelectric conversion module in the various embodiments of the above methods.

[0120] This application also provides a computer program product containing instructions that, when executed by a computer, implement the methods performed by the photoelectric conversion module in the above-described method embodiments.

[0121] This application also provides a communication network, which includes a first communication device and a second communication device connected to the first communication device via an optical fiber. For a description of the first communication device and the second communication device, please refer to Figures 1 and 2, which will not be repeated here.

[0122] Figure 12 is a structural example diagram of one embodiment of the radar provided in this application. This embodiment uses a lidar (Light Detection Radar) as an example. Lidar is a target detection technology. The lidar emits a detection light signal, which undergoes diffuse reflection upon encountering the target object. The distance, azimuth, altitude, speed, attitude, shape, and other characteristics of the target object are determined by the reflected echo light signal. Lidar is applied to fields such as intelligent driving vehicles, intelligent aircraft, 3D printing, virtual reality (VR), augmented reality (AR), and service robots. The intelligent driving in this embodiment can be unmanned driving, autonomous driving, or assisted driving.

[0123] The lidar 1200 shown in this embodiment includes a controller 1201 and a photoelectric conversion module 1202 connected to the controller 1201. The photoelectric conversion module 1202 specifically includes a light emitting component and a light receiving component. The light emitting component is connected to a first optical fiber for emitting detection light signals, and the light receiving component is connected to a second optical fiber for receiving echo light signals. The light receiving component specifically includes a beam splitter, a light detection module, a light receiver, and a processor. For detailed descriptions, please refer to the above embodiment; further details will not be repeated here. The light emitting component includes a laser diode (LD). This embodiment does not limit the type of laser, as long as the laser can convert electrical signals into optical signals. For example, the laser can be a direct modulation laser (DML), an electro-absorption modulated laser (EML), a vertical cavity surface emitting laser (VCSEL), a distributed bragg reflector (DBR), a fabric-pérot laser, a distributed feedback laser, a modulated grating y-branch (MG-Y) laser, a multi-channel interference (MCI) laser, a V-cavity laser, and a chirped sampled grating-distributed reflector laser (CSG-DR), etc. For example, a laser can also adopt a structure of laser and modulator, and the modulator can be a Mach-Zehnder modulator (MZM) or a micro ring modulator (MRM), etc.

[0124] Specifically, the controller 1201 sends a detection electrical signal to the laser of the light emitting component in the photoelectric conversion module 1202, and the laser emits a detection optical signal based on the detection electrical signal. The intensity, frequency, and phase of the detection optical signal are modulated to adapt to detection requirements, improving detection accuracy and efficiency. When the detection optical signal encounters a detection object, it is reflected on the surface of the object, and the reflected echo signal is received by the photoelectric conversion module 1202 of the lidar 1200. For example, the detection optical signal is reflected on the surface of the detection object, and the reflected echo signal is received by the light receiving component of the photoelectric conversion module 1202. The light receiving component detects the echo signal to obtain alarm information, which can be acquired by the controller 1201. For a detailed explanation of the process, please refer to the descriptions corresponding to Figures 5 or 10, which will not be elaborated further. The light receiving component performs photoelectric conversion on the echo optical signal to obtain an echo electrical signal, and the controller 1201 obtains relevant information about the detection object based on the echo electrical signal. Meanwhile, the lidar 1200 can also obtain the position information of each point on the surface of the object by emitting detection light signals with different spatial orientations to the object being detected, thereby generating a point cloud image of the object.

[0125] The LiDAR 1200 shown in Figure 12 can be applied to vehicles as an example. In other examples, the LiDAR 1200 can also be applied to fixed radar (such as radar fixed on highways, monitoring radar, radar in industrial scenarios, etc.). The LiDAR 1200 can also be applied to radar of unmanned transport vehicles in logistics warehouses or radar of smart home appliances in smart homes (such as automatic cleaning robots), etc., without specific limitations.

[0126] This embodiment also provides a vehicle, the specific structure of which is illustrated in Figure 13, which is a structural example of an embodiment of the vehicle provided in this application. The vehicle shown in this example can be a car, truck, motorcycle, public vehicle, lawnmower, recreational vehicle, amusement park vehicle, tram, golf cart, train, handcart, or drone, etc. This embodiment configures the vehicle 1300 in a fully or partially automated driving mode. The vehicle shown in this embodiment includes a vehicle body, which is used to fix a sensor system 1320, an advanced driving assistance system (ADAS) 1310, peripheral equipment 1330, and a computer system 1340.

[0127] Sensing system 1320 includes one or more sensors that sense environmental information about the vicinity of vehicle 1300. For example, sensing system 1320 may include a positioning system, such as a Global Positioning System (GPS) or BeiDou Navigation Satellite System. Sensing system 1320 also includes an inertial measurement unit (IMU), a lidar sensor, and a camera. For an illustration of the lidar sensor, please refer to the embodiment corresponding to Figure 12; specific implementation is not limited. Sensing system 1320 may also include sensors for monitoring internal systems of vehicle 1300 (e.g., in-vehicle air quality monitor, fuel gauge, oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding characteristics (position, shape, orientation, speed, etc.). The positioning system can be used to estimate the geographic location of vehicle 1300. The IMU is used to sense changes in the position and orientation of vehicle 1300 based on inertial acceleration. The IMU may be a combination of an accelerometer and a gyroscope. LiDAR can use radio signals to detect objects in the environment surrounding a vehicle 1300, such as pedestrians, vehicles, or buildings.

[0128] The ADAS1310 continuously senses the surrounding environment during vehicle operation, collecting data to identify, detect, and track static and dynamic objects. It then combines this data with navigation map data for system calculations and analysis, allowing the driver to anticipate potential hazards and effectively increasing driving comfort and safety. For example, the ADAS1310 can control the vehicle using data acquired by its sensor system. Furthermore, the ADAS1310 can control the vehicle based on driving-related information, such as key data displayed on the vehicle's dashboard (fuel consumption, engine speed, temperature, etc.), vehicle speed, steering wheel angle, or vehicle attitude data.

[0129] Vehicle 1300 interacts with external sensors, other vehicles, other computer systems, or users via peripheral device 1330. Peripheral device 1330 may include a wireless communication system, an onboard computer, a microphone, and / or a speaker. For example, the onboard computer may provide information to the user of vehicle 1300. A user interface may also operate the onboard computer to receive user input. The onboard computer may be operated via a touchscreen. In other cases, peripheral device 1330 may provide a means for vehicle 1300 to communicate with other devices located within the vehicle. For example, a microphone may receive audio (e.g., voice commands or other audio input) from the user of vehicle 1300. A speaker may output audio to the user of vehicle 1300. The wireless communication system may communicate wirelessly with one or more devices directly or via a communication network.

[0130] Some or all of the functions of the vehicle 1300 are controlled by a computer system 1340. The computer system 1340 can control the functions of the vehicle 1300 based on input received from various systems (e.g., sensor system 1320, ADAS 1310, peripheral devices 1330) and from a user interface. The computer system 1340 may include at least one processor that executes instructions stored in memory.

[0131] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0132] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A detection method, characterized in that, The method is applied to a photoelectric conversion module, which is connected to a device board, and the method includes: The photoelectric conversion module receives a detection indication, which is used to indicate switching to the target detection module. The photoelectric conversion module includes multiple detection modules, and the multiple detection modules include at least one of the target detection modules. The photoelectric conversion module detects the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information, which is then acquired by the device board.

2. The method according to claim 1, characterized in that, After the photoelectric conversion module receives the detection indication, the method further includes: According to the detection indication, the photoelectric conversion module configures the electrical path between the target detection module and the device board to be in a conductive state, and the alarm information is used to be obtained by the device board through the electrical path.

3. The method according to claim 1, characterized in that, The photoelectric conversion module includes a beam splitter, a photodetector module, a photodetector, and a processor; the plurality of detection modules include the photodetector module, the photodetector, and the processor. The beam splitter receives the optical signal and splits the optical signal to obtain a first optical signal and a second optical signal; The optical detection module performs photoelectric conversion on the first optical signal to obtain a first electrical signal, and detects the first electrical signal to obtain a first alarm message; The optical receiver performs photoelectric conversion on the second optical signal to obtain a second electrical signal, and detects the second electrical signal to obtain a second alarm message; The processor performs signal processing on the first electrical signal to obtain a third alarm message.

4. The method according to claim 3, characterized in that, If the target detection module includes the light detection module, then after the photoelectric conversion module obtains the detection indication, the method further includes: According to the detection indication, the photoelectric conversion module configures the first electrical path between the photodetector module and the device board to be in a conductive state, and the first alarm information is used to be obtained by the device board through the first electrical path.

5. The method according to claim 3 or 4, characterized in that, If the target detection module includes the optical receiver, then after the photoelectric conversion module obtains the detection indication, the method further includes: According to the detection indication, the photoelectric conversion module configures the second electrical path between the optical receiver and the device board to be in a conducting state, and the second alarm information is used to be obtained by the device board through the second electrical path.

6. The method according to any one of claims 3 to 5, characterized in that, If the target detection module includes the processor, then after the photoelectric conversion module receives the detection indication, the method further includes: According to the detection indication, the photoelectric conversion module configures the third electrical path between the processor and the device board to be in a conductive state, and the third alarm information is used to be obtained by the device board through the third electrical path.

7. The method according to claim 1, characterized in that, The photoelectric conversion module detects the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information including: The photoelectric conversion module stores the alarm information detected by the target detection module into the register of the photoelectric conversion module.

8. The method according to any one of claims 1 to 7, characterized in that, The photoelectric conversion module obtains detection indications including: The photoelectric conversion module receives the detection instruction through an operation interface. The detection instruction is used to invoke the register instruction of the photoelectric conversion module, and the register instruction is used to switch to the target detection module.

9. The method according to any one of claims 1 to 7, characterized in that, The detection indication is related to at least one of the following: The network structure to which the photoelectric conversion module is connected, and the optical signal received by the photoelectric conversion module.

10. The method according to claim 9, characterized in that, The network structure connected to the photoelectric conversion module includes a wavelength division multiplexer (WDM) connected to the photoelectric conversion module via optical fiber. The detection indication is used to indicate that the target detection module includes an optical receiver and / or a processor.

11. The method according to claim 9, characterized in that, The network structure to which the photoelectric conversion module is connected includes a photoelectric conversion module connected to another communication device via optical fiber. The detection indication is used to indicate that the target detection module includes a light detection module.

12. The method according to claim 9, characterized in that, If the optical signal received by the photoelectric conversion module includes light of multiple different wavelengths, the detection indication is used to indicate that the target detection module includes an optical receiver and / or a processor.

13. The method according to claim 9, characterized in that, If the optical signal received by the photoelectric conversion module includes light of a certain wavelength, then the detection indication is used to indicate that the target detection module includes a photodetector module.

14. The method according to any one of claims 1 to 7, characterized in that, The photoelectric conversion module has a configuration interface for storing target configuration in non-volatile memory. When the photoelectric conversion module is connected to the device board, the target detection module executes the target configuration to obtain the alarm information.

15. The method according to any one of claims 1 to 14, characterized in that, The photoelectric conversion module detects the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information including: The photoelectric conversion module obtains the feature design DFx information through the target detection module, and the DFx information is used to be acquired by the device board.

16. The method according to any one of claims 1 to 15, characterized in that, The alarm information is at least one of the following: Signal loss alarm (LOS), frame loss alarm (LOF), frame out of synchronization alarm (OOF), multiplex section alarm indication signal (MS-AIS), multiplex section remote failure indication alarm (MS-FERF), remote defect indication (RDI), signal degradation alarm, and multiframe loss alarm (LOM).

17. A photoelectric conversion module, characterized in that, The photoelectric conversion module is connected to the device board, and the photoelectric conversion module includes multiple detection modules and a processor. The processor is used to obtain a detection indication, the detection indication being used to instruct switching to the target detection module, the plurality of detection modules including at least one of the target detection modules; The target detection module is used to detect the optical signal received by the photoelectric conversion module to obtain alarm information, which is then acquired by the device board.

18. The photoelectric conversion module according to claim 17, characterized in that, After obtaining the detection indication, the processor is further configured to: According to the detection indication, the electrical path between the target detection module and the device board is configured to be in a conductive state, and the alarm information is used to be obtained by the device board through the electrical path.

19. The photoelectric conversion module according to claim 17, characterized in that, The target detection module is used to detect the light signal received by the photoelectric conversion module to obtain alarm information. The processor is also used to store the alarm information detected by the target detection module into the register of the processor so that it can be obtained by the device board.

20. The photoelectric conversion module according to any one of claims 17 to 19, characterized in that, The processor is used in the process of obtaining the detection indication, specifically for: The detection instruction is received through the operation interface. The detection instruction is used to invoke the register instruction of the photoelectric conversion module. The register instruction is used to switch to the target detection module.

21. A communication device, characterized in that, Includes a device board and one or more photoelectric conversion modules connected to the device board; The photoelectric conversion module is used to obtain a detection indication, which is used to indicate switching to the target detection module. The photoelectric conversion module includes multiple detection modules, and the multiple detection modules include at least one of the target detection modules. The photoelectric conversion module is also used to detect the light signal received by the photoelectric conversion module through the target detection module to obtain alarm information; The device board is used to acquire the alarm information.

22. A photoelectric conversion module, characterized in that, Includes a unit for performing the method of any one of claims 1 to 16.

23. A computer program product, characterized in that, The computer program product includes computer program code that, when run on a computer, causes the computer to perform the method as described in any one of claims 1 to 16.

24. A computer-readable storage medium, characterized in that, It includes computer program instructions, which, when executed by a processor, cause the processor to perform the method as described in any one of claims 1 to 16.

25. A radar, characterized in that, Includes a processor and a photoelectric conversion module connected to the processor, the photoelectric conversion module being as described in any one of claims 1 to 16; The processor is used to send a detection electrical signal to the photoelectric conversion module, and the photoelectric conversion module is used to process the detection electrical signal into an optical signal and emit the optical signal through an optical fiber; The photoelectric conversion module is used to receive echo light signals, which are light signals reflected by the probe object to the photoelectric conversion module according to the light signal. The photoelectric conversion module is used to process the echo optical signal into an echo electrical signal; The processor is used to obtain relevant information about the probed object based on the echo electrical signal.