A method for detecting an optical transmission state, a controller, and a detection device

By setting up a light generation unit, a beam combining unit, and a signal processing unit within the light source device, the light transmission status can be detected in real time, solving the problem of low safety during light source operation, realizing real-time monitoring and control of the light transmission status, and improving equipment safety.

CN122372071APending Publication Date: 2026-07-10HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-01-10
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing technologies cannot achieve real-time monitoring and control during the operation of the light source. The optical interface is susceptible to contamination, resulting in low safety. Furthermore, fiber breakage or accidental removal may lead to communication interruption or human injury.

Method used

By setting up a detection light generation unit, a multiplexing unit, a multiplexing unit, and a signal processing unit within the light source device, the light transmission status is detected in real time. Using the multiplexing and multiplexing techniques of the detected light signal and the initial light signal, the light transmission status is determined based on the characteristics of the reflected light signal, and real-time control is achieved through a controller.

Benefits of technology

It enables real-time monitoring and control of optical transmission status, improves the safety of light source equipment, reduces hazards during optical signal transmission, and allows for timely detection and repair of abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122372071A_ABST
    Figure CN122372071A_ABST
Patent Text Reader

Abstract

This invention provides a method, controller, and detection device for detecting the optical transmission state. The method can be applied to a controller within a light source device, which further includes a detection light generation unit, a multiplexing unit, a wavelength division unit, and a signal processing unit. The method may include: sending a detection command to the detection light generation unit; receiving signal characteristics of a second reflected light signal from the signal processing unit; and determining the optical transmission state of the light source based on the signal characteristics of the second reflected light signal, wherein the optical transmission state includes normal or abnormal. Specifically, the detection light generation unit generates a detection light signal; the multiplexing unit combines the initial light signal generated by the light source and the detection light signal to obtain a target light signal; the wavelength division unit divides the first reflected light signal generated by the target light signal to obtain a second reflected light signal generated by the detection light signal; and the signal processing unit determines the signal characteristics of the second reflected light signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, controller, and detection device for detecting optical transmission status. Background Technology

[0002] In the field of computer technology, data information is exchanged within and / or between data centers via optical signals generated by light sources. In other words, network devices and / or computing devices in a data center rely on optical signals generated by light sources to communicate with other devices. These optical signals are typically transmitted to network devices and / or computing devices via optical interfaces, but this process presents several security risks. Specifically, the optical endface of the optical interface is susceptible to contamination by oil, dust, and other particles. When the optical signal power is high, this contamination can damage or even burn out the optical endface. When the optical interface is connected to an optical fiber, a break in the fiber can lead to communication interruption. More seriously, if the fiber optic port is accidentally pulled out, the exposed optical interface may expose high-power optical signals that could cause harm to humans. However, current technology is limited to monitoring the light source before use, during replacement, or during maintenance using detection instruments, and cannot achieve real-time monitoring and control during the operation of the light source, resulting in low safety for the light source equipment. Summary of the Invention

[0003] This application provides a method, controller, and detection device for detecting the optical transmission status, which can detect the optical transmission status of a light source in real time and solve the problem of low safety of light source equipment.

[0004] In a first aspect, this application provides a method for detecting the optical transmission state. This method can be applied to a controller disposed within a light source device, which further includes a detection light generation unit, a multiplexing unit, a splitting unit, and a signal processing unit. The method may include: sending a detection command to the detection light generation unit; receiving signal characteristics of a second reflected light signal from the signal processing unit; and determining the optical transmission state of the light source based on the signal characteristics of the second reflected light signal, wherein the optical transmission state includes normal or abnormal.

[0005] The detection light generation unit generates a detection light signal after receiving a detection command; the multiplexing unit combines the initial light signal generated by the light source in the light source device with the detection light signal to obtain the target light signal; the wavelength division unit divides the first reflected light signal to obtain the second reflected light signal, wherein the first reflected light signal is generated by the target light signal during transmission and the second reflected light signal is generated by the detection light signal during transmission; and the signal processing unit determines the signal characteristics of the second reflected light signal and sends the signal characteristics of the second reflected light signal to the controller.

[0006] In the above scheme, the signal characteristics of the detected optical signal change over time, while the signal characteristics of the initial optical signal remain constant. Superimposing the detected optical signal onto the initial optical signal causes the signal characteristics of the target optical signal to also change over time. Furthermore, according to the principle of light reflection, the signal characteristics of the first and second reflected optical signals also change over time. Thus, the controller can determine the light transmission state of the light source based on the signal characteristics in the second reflected optical signal, thereby ensuring that the light source can safely output optical signals.

[0007] In one possible implementation, determining the light transmission state of the light source based on the signal characteristics of the second reflected light signal includes: if the signal characteristics of the second reflected light signal are equal to or greater than a signal characteristic threshold, determining that the light transmission state of the light source is abnormal; if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, determining that the light transmission state of the light source is normal.

[0008] In this scheme, during the optical signal transmission process, significant reflections occur when encountering situations such as fiber breakage or a dirty optical interface end face. Setting a signal characteristic threshold can accurately distinguish and effectively filter out weak reflections caused by conditions such as a normal optical interface end face, thereby improving the accuracy of detecting the optical transmission status.

[0009] In one possible implementation, the target optical signal is output via a first optical interface and transmitted to a second optical interface. If the optical transmission state is abnormal, the method further includes: determining the abnormal location based on the time delay between the signal characteristics of the detected optical signal and the signal characteristics of the second reflected optical signal. The abnormal location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first and second optical interfaces. The first optical interface is located in a light source device, and the second optical interface is located in a network device or a computing device.

[0010] In this scheme, the transmission speed of the optical signal is constant. The controller can determine the transmission distance based on the time delay and transmission speed between the detected optical signal and the second reflected optical signal generated by the transmission of the detected optical signal. This distance allows the controller to locate the reflection point, i.e., the location of the anomaly. The controller determines more specific anomaly information, eliminating the need for maintenance personnel to locate the anomaly on-site, thus helping them to repair the anomaly promptly.

[0011] In one possible implementation, when the optical transmission state is abnormal, the method further includes: sending a shutdown command to the light source.

[0012] In one possible implementation, before sending a detection command to the detection light generation unit, the method further includes: acquiring the historical light transmission status of the light source; and if the historical light transmission status of the light source is normal, sending an activation command to the light source to control the light source to turn on.

[0013] In one possible implementation, the waveform characteristics of the initial optical signal differ from those of the detected optical signal, and the waveform characteristics may include wavelength and / or polarization direction.

[0014] Secondly, this application also provides a method for detecting the optical transmission state. This method can be applied to a light source device, which includes a controller, a detection light generation unit, a multiplexing unit, a wavelength division unit, and a signal processing unit. The method includes: the controller sending a detection command to the detection light generation unit; the detection light generation unit generating a detection light signal after receiving the detection command; the multiplexing unit combining the initial light signal generated by the light source in the light source device and the detection light signal to obtain a target light signal; the wavelength division unit dividing the first reflected light signal generated by the transmission target light signal to obtain a second reflected light signal generated by the transmission detection light signal; the signal processing unit determining the signal characteristics of the second reflected light signal and sending these characteristics to the controller; the controller receiving the signal characteristics of the second reflected light signal from the signal processing unit and determining the optical transmission state of the light source based on the signal characteristics of the second reflected light signal, wherein the optical transmission state includes normal or abnormal.

[0015] In one possible implementation, the initial optical signal and the detection optical signal have different waveform characteristics. These waveform characteristics may include wavelength and / or polarization direction. The wavelength division unit divides the first reflected optical signal generated by the transmission target optical signal to obtain a second reflected optical signal generated by the transmission detection optical signal, including: obtaining the second reflected optical signal from the first reflected optical signal based on the waveform characteristics of the detection optical signal.

[0016] In one possible implementation, the target optical signal is output via a first optical interface and transmitted to a second optical interface. If the optical transmission state of the light source is abnormal, the method further includes: the controller determines the abnormal location based on the time delay between the value of the signal characteristics of the detected optical signal and the value of the signal characteristics of the second reflected optical signal. The abnormal location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

[0017] In one possible implementation, the controller determines the light transmission state of the light source based on the signal characteristics of the second reflected light signal, including: if the signal characteristics of the second reflected light signal are equal to or greater than a signal characteristic threshold, determining that the light transmission state of the light source is abnormal; if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, determining that the light transmission state of the light source is normal.

[0018] In one possible implementation, when the optical transmission state is abnormal, the method further includes: the controller sending a shutdown command to the light source to control the light source to shut down.

[0019] In one possible implementation, before the controller sends a detection command to the detection light generation unit, the method further includes: the controller acquiring the historical light transmission status of the light source; and if the historical light transmission status of the light source is normal, sending an on command to the light source to control the light source to turn on.

[0020] In one possible implementation, the detection light generating unit generates a detection light signal, including: generating a time-domain modulation signal and / or a frequency modulation signal; and generating a detection light signal based on the time-domain modulation signal and / or the frequency modulation signal.

[0021] Thirdly, this application also provides a controller. This controller can be applied within a light source device, which further includes a light generation unit, a multiplexing unit, a demultiplexing unit, and a signal processing unit. The controller may include a transmitting module, a receiving module, and a determining module.

[0022] The transmission module is used to send a detection command to the detection light generation unit; the detection light generation unit is used to generate a detection light signal after receiving the detection command; the multiplexing unit is used to combine the initial light signal generated by the light source in the light source device and the detection light signal to obtain the target light signal; the wavelength division unit is used to divide the first reflected light signal generated by the transmission target light signal to obtain the second reflected light signal generated by the transmission detection light signal; and the signal processing unit is used to determine the signal characteristics of the second reflected light signal.

[0023] The receiving module is used to receive the signal characteristics of the second reflected light signal from the signal processing unit.

[0024] The determining module is used to determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal. The light transmission state includes normal or abnormal.

[0025] In one possible implementation, when the optical transmission state is abnormal, the transmitting module is also used to: send a shutdown command to the light source to control the light source to shut down.

[0026] In one possible implementation, before sending a detection command to the detection light generation unit, the sending module is further configured to: acquire the historical light transmission status of the light source; and, if the historical light transmission status of the light source is normal, send an activation command to the light source to control the light source to turn on.

[0027] In one possible implementation, the initial optical signal has different waveform characteristics from the detected optical signal, including wavelength and / or polarization direction.

[0028] In one possible implementation, the target optical signal is output through the first optical interface and transmitted to the second optical interface. In the case of an abnormal optical transmission state, the determining module is further configured to: determine the abnormal location based on the time delay between the signal characteristics of the detected optical signal and the signal characteristics of the second reflected optical signal. The abnormal location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

[0029] In one possible implementation, the determining module is further configured to: determine that the light transmission state of the light source is abnormal if the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold; and determine that the light transmission state of the light source is normal if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold.

[0030] Fourthly, this application also provides an optical transmission state detection device. The detection device may include a controller, a detection light generation unit, a multiplexing unit, a demultiplexing unit, and a signal processing unit.

[0031] The controller is used to send detection commands to the detection light generation unit;

[0032] The detection light generation unit is used to generate a detection light signal after receiving a detection command.

[0033] Among them, the beam combiner unit is used to combine the initial light signal and the detection light signal generated by the light source in the light source device to obtain the target light signal;

[0034] The wavelength division unit is used to divide the first reflected light signal generated by the transmitted target light signal to obtain the second reflected light signal generated by the transmitted detection light signal.

[0035] The signal processing unit is used to determine the signal characteristics of the second reflected light signal and send the signal characteristics of the second reflected light signal to the controller.

[0036] The controller is also used to receive the signal characteristics of the second reflected light signal from the signal processing unit, and determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal. The light transmission state includes normal or abnormal.

[0037] In one possible implementation, the initial optical signal has different waveform characteristics from the detected optical signal, including wavelength and / or polarization direction. The wavelength division unit is used to obtain a second reflected optical signal from the first reflected optical signal based on the waveform characteristics of the detected optical signal.

[0038] In one possible implementation, when the waveform features include wavelength, the multiplexing unit includes a wavelength division multiplexer, and the demultiplexing unit includes a wavelength demultiplexer. When the waveform features include polarization direction, the multiplexing unit includes a polarization beam combiner, and the demultiplexing unit includes a polarization beam splitter or a polarization polarizer.

[0039] In one possible implementation, the target optical signal is output via the first optical interface and transmitted to the second optical interface. In the event of an abnormal optical transmission state of the light source, the controller is further configured to: determine the abnormal location based on the time delay between the signal characteristics of the detected optical signal and the signal characteristics of the second reflected optical signal. The abnormal location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

[0040] In one possible implementation, the controller is further configured to: determine that the light transmission state of the light source is abnormal if the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold; and determine that the light transmission state of the light source is normal if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold.

[0041] In one possible implementation, the detection light generation unit includes: a first laser, a first driving unit, and an optical modulator; the first driving unit is used to generate a time-domain modulation signal and / or a frequency modulation signal; the optical modulator is used to modulate the optical signal generated by the first laser according to the time-domain modulation signal and / or the frequency modulation signal to obtain a detection light signal.

[0042] In one possible implementation, the detection light generation unit includes: a second laser and a first driving unit; the first driving unit is used to generate a time-domain modulation signal and / or a frequency modulation signal; the second laser is used to generate a detection light signal based on the time-domain modulation signal and / or the frequency modulation signal.

[0043] In one possible implementation, the signal processing unit is used to obtain an electrical signal corresponding to the second reflected light signal based on the second reflected light signal, and to determine the signal characteristics of the second reflected light signal based on the electrical signal corresponding to the second reflected light signal.

[0044] In one possible implementation, in the event of an abnormal optical transmission state, the controller is also configured to send a shutdown command to the light source to control the light source to shut down.

[0045] In one possible implementation, before the controller sends a detection command to the detection light generation unit, the controller is also used to acquire the historical light transmission status of the light source; if the historical light transmission status of the light source is normal, the controller sends an on command to the light source to control the light source to turn on.

[0046] Fifthly, this application also provides a computing device cluster, including at least one computing device, each computing device including a processor and a memory. The processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster performs the method provided by the first aspect or any possible implementation thereof.

[0047] Sixthly, this application also provides a computer program product containing instructions, including computer program instructions that, when executed by a cluster of computing devices, cause the cluster of computing devices to perform the method provided by the first aspect or any possible implementation thereof.

[0048] In a seventh aspect, this application also provides a computer-readable storage medium including computer program instructions, which, when executed by a cluster of computing devices, enable the cluster of computing devices to perform the method provided by the first aspect or any possible implementation thereof.

[0049] Any controller, device, computing equipment cluster, computer storage medium, or computer program product provided above is used to execute the methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding solutions in the corresponding methods provided above, and will not be repeated here. Attached Figure Description

[0050] Figure 1 and Figure 2 This is a schematic diagram of an optical communication scenario provided in an embodiment of this application;

[0051] Figure 3 This is a schematic diagram of the structure of a light source device provided in an embodiment of this application;

[0052] Figure 4 This is a schematic diagram of the structure of a detection device provided in an embodiment of this application;

[0053] Figure 5a and Figure 5b This is a schematic diagram of the detection light generation unit in the detection device provided in the embodiments of this application;

[0054] Figure 6 This is a waveform diagram of the modulation signal used by the detection light generation unit provided in this application embodiment to generate the detection light signal;

[0055] Figure 7a and Figure 7b This is a schematic diagram of the structure of the multiplexing unit in the detection device provided in the embodiments of this application;

[0056] Figure 8 This is a schematic diagram of the loopback unit in the detection device provided in the embodiments of this application;

[0057] Figure 9a and Figure 9b This is a schematic diagram of the structure of the wavelength division unit in the detection device provided in the embodiments of this application;

[0058] Figure 10 This is a schematic diagram of the signal processing unit in the detection device provided in the embodiments of this application;

[0059] Figure 11 and Figure 12 This is a schematic diagram of the structure of the light source in the light source device provided in the embodiments of this application;

[0060] Figure 13 This is a flowchart of a method for detecting optical transmission status provided in an embodiment of this application;

[0061] Figure 14 This is a time-domain waveform diagram of the electrical signal corresponding to the detection optical signal and its second reflected optical signal provided in an embodiment of this application;

[0062] Figure 15 This is a frequency domain waveform diagram of the electrical signal corresponding to the detected optical signal and its second reflected optical signal provided in an embodiment of this application;

[0063] Figure 16 This is a flowchart of another method for detecting optical transmission status provided in an embodiment of this application;

[0064] Figure 17 This is a schematic diagram of the structure of a controller provided in an embodiment of this application;

[0065] Figure 18 This is a schematic diagram of the structure of a computing device provided in an embodiment of this application;

[0066] Figure 19 and Figure 20 This application provides a schematic diagram of the structure of a computing device cluster. Detailed Implementation

[0067] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described below with reference to the accompanying drawings.

[0068] In the description of the embodiments of this application, the words "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a specific manner.

[0069] In the description of the embodiments in this application, the term "and / or" is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, B existing alone, and A and B existing simultaneously. Furthermore, unless otherwise stated, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals.

[0070] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.

[0071] Before introducing the embodiments of this application, the terms mentioned in the embodiments of this application will be explained below.

[0072] A light source device is a device that provides optical signals to network devices and / or computing devices. The signal characteristics of the optical signal generated by the light source in the light source device do not change over time. Network devices and / or computing devices modulate the optical signal from the light source device and then use the modulated optical signal to communicate with other devices.

[0073] A detection light generation unit is a device used to generate a detection light signal whose signal characteristics change over time. In this embodiment, the detection light generation unit can generate a detection light signal upon receiving a detection command from the controller. That is, the controller's detection command will trigger the detection light generation unit to generate a detection light signal.

[0074] A beam combiner is a device used to combine two or more optical signals into a single optical signal. In this embodiment, the beam combiner can be used to combine the initial optical signal generated by the light source and the detection optical signal generated by the detection light generation unit into a single optical signal.

[0075] A wavelength division unit (WDM) is the inverse process of a wavelength multiplexing unit, which divides an optical signal into multiple optical signals. In this embodiment, the WDM may include a device that matches the waveform characteristics of the detected optical signal, thereby obtaining a second reflected optical signal with the same waveform characteristics as the detected optical signal from the input first reflected optical signal. The waveform characteristics may include wavelength or polarization direction.

[0076] The signal processing unit converts the input optical signal into an electrical signal and determines the signal characteristics of the optical signal based on the electrical signal. Specifically, the signal processing unit may include a photodetector, an amplifier, and a computing unit. The photodetector performs photoelectric conversion on the optical signal and outputs an electrical signal. The amplifier amplifies the electrical signal output by the photodetector. The computing unit determines the signal characteristics of the optical signal based on the electrical signal output by the amplifier.

[0077] A reflected optical signal is an optical signal generated by reflection during the transmission of an optical signal. For example, an optical signal can be reflected at the end face of an optical interface or at a certain point in an optical fiber, thereby generating a corresponding reflected optical signal.

[0078] Figure 1 This is a schematic diagram of an optical communication scenario provided in an embodiment of this application. For example... Figure 1 As shown, the scenario includes a light source and a data center. The light source and network and / or computing devices in the data center are connected via optical interfaces, allowing the light source to send optical signals to the devices in the data center. For example, the data center includes... Figure 1 The network device 1, network device 2, and computing device 3 shown are connected via optical fiber to the optical interface of a light source device. The light source device can send optical signals to devices 1-3. Therefore, devices 1-3 can communicate with other devices through the optical signals sent by the light source device. In some embodiments, the devices in the data center and the light source device can also be directly connected via optical interfaces. For example... Figure 2 As shown, the light source device is directly connected to network device 1, network device 2, and computing device 3 via an optical interface. The computing device may include a server or other devices with computing capabilities.

[0079] Currently, to avoid the safety hazards mentioned in the background technology regarding the optical signal of light source equipment, inspections are typically conducted before use, during replacement, or during maintenance. For example, manual visual inspection, end-face inspection instruments, or optical time-domain reflectometry (OTDR) are used. Manual visual inspection and end-face inspection instruments examine the morphology of the optical end face to observe for dust particles or other contaminants. End-face inspection instruments, using optical lenses and other devices, magnify the end face, allowing for a clearer view of its details and more accurate identification of contaminants. ORT determines the presence of contaminants or other anomalies based on the magnitude of the reflected signal at the optical end face. However, these inspections rely on manual operation, making automated safety checks of light source equipment impossible, and can also pose a risk of injury to personnel. Furthermore, these inspections cannot achieve real-time monitoring and control during the operation of the light source.

[0080] Therefore, this application provides a light source device that can solve the above-mentioned problems.

[0081] Figure 3 This is a schematic diagram of the structure of a light source device provided in an embodiment of this application. For example... Figure 3 As shown, the light source device may include a light source 301 and a detection device 302. The light source 301 generates an initial light signal. The detection device 302 generates a detection light signal, combines the initial light signal generated by the light source 301 and the detection light signal to obtain a target light signal, then splits the first reflected light signal generated by transmitting the target light signal to obtain a second reflected light signal generated by transmitting the detection light signal, and determines the light transmission state of the light source 301 based on the signal characteristics of the second reflected light signal. If the light transmission state of the light source 301, as determined by the detection device 302, is abnormal, the detection device 302 controls the light source 301 to shut down. This solution allows the detection device 302 to detect in real time whether the light transmission state of the light source 301 is abnormal, thereby promptly identifying safety issues during light signal transmission and reducing the harm caused by the light source 301.

[0082] It should be noted that the signal characteristics of the detected optical signal change over time, while the signal characteristics of the initial optical signal remain constant. The reason for superimposing the detected optical signal onto the initial optical signal is that the initial optical signal generated by light source 301 is provided for communication with equipment in the data center. The equipment in the data center modulates the optical signal generated by light source 301; therefore, the optical signal generated by the light source does not need to carry valid information, meaning the signal characteristics of the initial optical signal do not change over time. This prevents detection device 302 from determining the light transmission state of the light source based on the reflected optical signal of the initial optical signal generated by light source 301. Since the signal characteristics of the detected optical signal change over time, the signal characteristics of the target optical signal generated by superimposing the initial and detected optical signals also change over time. Furthermore, according to the principle of light reflection, the signal characteristics of the first and second reflected optical signals also change over time. Thus, detection device 302 can determine the light transmission state of the light source based on the signal characteristics in the second reflected optical signal.

[0083] The following section, in conjunction with the accompanying drawings, discusses... Figure 3 The structure and function of the detection device 302 in the light source device shown will be described in detail.

[0084] Figure 4 This is a schematic diagram of the detection device 302 provided in an embodiment of this application. Figure 4 As shown, the detection device 302 may include a detection light generation unit 3021, a multiplexing unit 3022, a loopback unit 3023, a wavelength division unit 3024, a signal processing unit 3025, and a controller 3026. Figure 4 The structure and function of each component of the detection device 302 shown can be described below.

[0085] exist Figure 4 In this configuration, the detection light generation unit 3021 generates a detection light signal whose signal characteristics change over time. The signal characteristics may include power and / or frequency.

[0086] Specifically, the light generation unit 3021 may include Figure 5a or Figure 5b The devices. Among them, Figure 5a and Figure 5b The difference between the lasers shown lies in their modulation methods. Figure 5a The first laser is modulated using an external optical modulator. Figure 5b The second laser shown can be modulated using a direct modulation method.

[0087] exist Figure 5a In this configuration, the detection light generation unit 3021 may include a first laser, an optical modulator, and a first driving unit. The first driving unit generates a time-domain modulation signal and / or a frequency-domain modulation signal, and the optical modulator modulates the optical signal generated by the first laser according to the time-domain modulation signal and / or the frequency-domain modulation signal, thereby enabling the detection light generation unit to generate a detection light signal.

[0088] exist Figure 5b In this embodiment, the detection light generation unit 3021 may include a second laser and a first driving unit. The first driving unit is used to generate a time-domain modulation signal and / or a frequency-domain modulation signal, and the second laser is used to generate a detection light signal based on the time-domain modulation signal and / or the frequency-domain modulation signal.

[0089] exist Figure 5a and Figure 5b In this context, the signal characteristics of the time-domain modulated signal and the frequency-domain modulated signal change over time. Therefore, the signal characteristics of the detection optical signal generated based on the time-domain modulated signal and / or the frequency-domain modulated signal also change over time. For example... Figure 6 As shown in Figure a, the signal characteristics in the time-domain modulated signal can include power. The power in the time-domain modulated signal changes over time, and the power of the detection optical signal generated based on this time-domain modulated signal also changes over time. For example... Figure 6 As shown in Figure b, the signal characteristics in the frequency domain modulation signal can include frequency. The frequency in the frequency domain modulation signal changes with time, and the frequency of the detection optical signal generated based on the frequency domain modulation signal also changes with time.

[0090] In addition to the differences in signal characteristics, the initial optical signal and the detected optical signal also have different waveform characteristics. Therefore, the multiplexing unit 3022 and the demultiplexing unit 3024 can perform multiplexing and demultiplexing based on the waveform characteristics. These waveform characteristics may include wavelength and / or polarization direction.

[0091] exist Figure 4 In this configuration, the multiplexing unit 3022 is used to combine the detection optical signal and the initial optical signal to obtain the target optical signal. The multiplexing unit 3022 can be implemented using different devices depending on the waveform characteristics. Specifically, the multiplexing unit 3022 may include... Figure 7a The wavelength division multiplexer shown is Figure 7b The polarization combiner shown. Figure 7a The wavelength division multiplexer shown can combine the detection optical signal and the initial optical signal into a target optical signal output when the wavelengths of the detection optical signal and the initial optical signal are different. Figure 7b The polarization beam combiner shown can combine the detection optical signal and the initial optical signal into a target optical signal output when the polarization directions of the detection optical signal and the initial optical signal are different.

[0092] exist Figure 4 In this configuration, the loopback unit 3023 is used to output the target optical signal and receive the first reflected optical signal generated by transmitting the target optical signal. Specifically, the loopback unit 3023 can be configured as follows: Figure 8 The structure shown. (As illustrated) Figure 8 As shown, the loopback unit 3023 may include three ports, namely ports 1 to 3. The target optical signal generated by the multiplexing unit 3022 can be input through port 1 and output through port 2. The first reflected optical signal is input through port 2 and output to the demultiplexing unit 3024 through port 3.

[0093] exist Figure 4 In this process, the wavelength division unit 3024 is used to divide the first reflected optical signal into two wavelengths to obtain the second reflected optical signal generated by the transmission detection optical signal. The wavelength division unit 3024 can be implemented using different devices depending on the waveform characteristics. Specifically, the wavelength division unit 3024 may include... Figure 9a The wave demultiplexer and shown Figure 9b The polarization beam splitter shown. Figure 9a The wave demultiplexer shown can obtain a second reflected light signal with the same wavelength as the detected light signal from the first reflected light signal when the wavelengths of the detected light signal and the initial light signal are different. Figure 9b The polarization beam splitter shown can obtain a second reflected light signal with the same polarization direction as the detected light signal from the first reflected light signal when the polarization directions of the detected light signal and the initial light signal are different.

[0094] exist Figure 4 In this context, the signal processing unit 3025 is used to obtain the electrical signal corresponding to the second reflected light signal based on the second reflected light signal. Specifically, the signal processing unit 3025 can employ... Figure 10 The structure shown. (As illustrated) Figure 10As shown, the signal processing unit 3025 may include a photodetector, an amplifier, and a computing unit. The photodetector performs photoelectric conversion on the second reflected light signal, converting it into an electrical signal. The amplifier amplifies the electrical signal obtained from the photodetector to obtain the electrical signal corresponding to the second reflected light signal. The computing unit determines the signal characteristics of the second reflected light signal based on the electrical signal corresponding to the second reflected light signal. The signal characteristics of the second reflected light signal are provided to the controller for analysis and processing to determine the light transmission state of the light source 301.

[0095] Taking signal characteristics including power and / or frequency as an example, the computing unit can specifically perform time-domain analysis on the electrical signal corresponding to the second reflected light signal to obtain the power of the second reflected light signal at various times, and / or perform frequency analysis on the electrical signal corresponding to the second reflected light signal to obtain the frequency of the second reflected light signal at various times. The time-domain analysis and frequency analysis processes of the computing unit on the electrical signal corresponding to the second reflected light signal are not specifically limited in the embodiments of this application.

[0096] Furthermore, when the detection device 302 is applied Figure 1 In the scenario shown, since the target optical signal is output through the first optical interface of the light source device and transmitted to the second optical interface of the device in the data center, if the optical transmission state of the light source 301 is abnormal, the computing unit can also determine the abnormal location based on the time delay between the value of the signal characteristic of the detected optical signal and the value of the signal characteristic of the second reflected optical signal. This process can be referred to the description in the method embodiment below, and will not be repeated here. The abnormal location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

[0097] In some embodiments, the signal processing unit may further include a photodetector and an amplifier. The electrical signal corresponding to the second reflected light signal obtained by the amplifier is provided to the controller for processing. Specifically, the controller may first determine the signal characteristics of the second reflected light signal based on the electrical signal corresponding to the second reflected light signal, and then determine the light transmission state of the light source 301 based on the signal characteristics of the second reflected light signal. The process by which the controller determines the signal characteristics of the second reflected light signal based on the electrical signal corresponding to the second reflected light signal can refer to the processing process of the calculation unit described above.

[0098] exist Figure 4In this system, the controller 3026 is used to control the light source 301 to turn on or off, and to control the detection light generation unit 3021 to generate a detection light signal. Specifically, the controller 3026 can send an on command or a off command to the light source 301, controlling the light source 301 to turn on via the on command and the light source 301 to turn off via the off command. When the light source 301 is on, the controller 3026 can also send a detection command to the detection light generation unit 3021, controlling the detection light generation unit 3021 to generate a detection light signal, and receive signal characteristics from the signal processing unit 3025 to determine the light transmission state of the light source 301 based on these signal characteristics. If the controller 3026 determines that the light transmission state of the light source 301 is abnormal, it can also send a off command to the light source 301, controlling the light source 301 to turn off via the off command.

[0099] Specifically, after obtaining the signal characteristics of the second reflected light signal, the controller 3026 can determine the light transmission state of the light source 301 based on the signal characteristics and the signal characteristic threshold of the second reflected light signal. For example, if the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold, the controller 3026 determines that the light transmission state of the light source 301 is abnormal; if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, the controller 3026 determines that the light transmission state of the light source is normal.

[0100] The following section, in conjunction with the accompanying drawings, discusses... Figure 3 The structure and function of the light source 301 in the light source device shown will be described in detail.

[0101] Figure 11 and Figure 12 This is a schematic diagram of the structure of the light source 301 provided in an embodiment of this application. The light source 301 may include a controllable device, which is used to receive control commands from the controller 3026 in the detection device 302. The control commands may include an on command and an off command.

[0102] exist Figure 11 In the light source 301 shown, the controllable device is an optical switch. For example... Figure 11 As shown in Figure a, the light source 301 may specifically include a laser and an optical switch connected to the laser. For example... Figure 11 As shown in Figure b, the light source 301 may specifically include multiple lasers and optical switches connected to each laser. Figure 11 In Figures a and b shown, the laser is used to generate the initial optical signal, and the optical switch is used to control the output of the initial optical signal according to the control command of the controller 3026. When the control command is an "on" command, the initial optical signal can be output through the optical switch. When the control command is a "off" command, the initial optical signal cannot be output through the optical switch.

[0103] exist Figure 12 In the light source 301 shown, the controllable device is a driving unit. For example... Figure 12 As shown in Figure a, the light source 301 may specifically include a driving unit and a laser connected to the driving unit. For example... Figure 12 As shown in Figure b, the light source 301 may specifically include multiple driving units and lasers connected to each driving unit. Figure 12 As shown in Figures a and b, the driving unit is used to drive the laser to output an initial optical signal according to the control command of the controller 3026. When the control command is an "on" command, the driving unit drives the laser to output the initial optical signal. When the control command is a "off" command, the driving unit cannot drive the laser to output the initial optical signal.

[0104] based on Figure 4 In addition to the function of the detection device 302 shown, this application embodiment also provides a method for detecting the optical transmission state.

[0105] Figure 13 This is a flowchart of a method for detecting the optical transmission state provided in an embodiment of this application. Figure 13 As shown, the method may include S1301 to S1304. The following uses... Figure 4 Taking the detection device 302 as an example, the steps in this method are described.

[0106] S1301, generates a detection optical signal. The signal characteristics of the detection optical signal change over time, and the signal characteristics may include power and / or frequency.

[0107] by Figure 4 Taking the detection device 302 as an example, the controller 3026 can send a detection command to the detection light generation unit 3021 after the light source 301 generates the initial light signal, thereby controlling the detection light generation unit 3021 to generate a detection light signal. Figure 5a and Figure 5b Taking the detection light generating unit 3021 shown as an example, the driving unit can output according to the detection command. Figure 6 The time-domain modulated signal and / or shown in Figure a Figure 6 The frequency domain modulated signal shown in Figure b. Figure 5a In the detection light generation unit 3021 shown, the light modulator according to Figure 6 The time-domain modulated signal and / or shown in Figure a Figure 6 The frequency-domain modulation signal shown in Figure b modulates the optical signal generated by the laser, thereby outputting a detection optical signal. Figure 5b In the detection light generation unit 3021 shown, the laser is in Figure 6 The time-domain modulated signal and / or shown in Figure a Figure 6The output detection optical signal is generated under the action of the frequency domain modulation signal shown in Figure b.

[0108] In addition to the differences in signal characteristics, the initial optical signal and the detected optical signal also have different waveform characteristics. Therefore, the multiplexing unit 3022 and the demultiplexing unit 3024 can perform multiplexing and demultiplexing based on the waveform characteristics. These waveform characteristics may include wavelength and / or polarization direction.

[0109] In some embodiments, prior to this step, the controller 3026 may send an activation command to the light source 301 to activate the light source 301 and generate an initial light signal if it determines that the historical light transmission status of the light source 301 is normal.

[0110] S1302 combines the initial light signal generated by the light source and the detection light signal to obtain the target light signal, while the signal characteristics of the initial light signal remain constant.

[0111] by Figure 4 Taking the detection device 302 as an example, the initial light signal output by the light source 301 and the detection light signal output by the detection light generation unit 3021 are input to the multiplexing unit 3022. The multiplexing unit 3022 combines the initial light signal and the detection light signal to obtain the target light signal. When the wavelengths of the initial light signal and the detection light signal are different, the multiplexing unit 3022 can... Figure 7a The wavelength division multiplexer shown combines the detection optical signal and the initial optical signal into a target optical signal output. When the polarization directions of the initial optical signal and the detection optical signal are different, the multiplexing unit 3022 can... Figure 7b The polarization beam combiner shown combines the X-polarized detection light signal and the Y-polarized initial light signal into a target light signal output.

[0112] exist Figure 4 In the process, the loopback unit 3023 outputs the target optical signal obtained by the multiplexing unit 3022, and the target optical signal is transmitted to the equipment in the data center via the optical transmission device. During the transmission process, the target optical signal is reflected by the optical transmission device, generating a first reflected optical signal, which is then output to the demultiplexing unit 3024 via the loopback unit 3023.

[0113] When the detection device 302 is applied Figure 1 In the scenario shown, Figure 8Taking the loopback unit 3023 shown as an example, port 2 of the loopback unit 3023 can be connected to the optical interface (i.e., the first optical interface) of the light source device. The target optical signal can be output through the optical interface (i.e., the second optical interface) of the light source device and transmitted through optical fiber to the optical interface of the device in the data center. Simultaneously, the first reflected optical signal generated by transmitting the target optical signal can be input through port 2 and output through port 3 to the wavelength division unit 3024. Wherein, in Figure 1 In the scenario shown, the first reflected optical signal can be a superposition of one or more of the following: the signal reflected back from the optical end face of the first optical interface, the signal reflected back from the optical fiber, and the signal reflected back from the optical end face of the second optical interface.

[0114] When the detection device 302 is applied Figure 2 In the scenario shown, Figure 8 Taking the loopback unit 3023 shown as an example, port 2 of the loopback unit 3023 can be connected to... Figure 2 The optical interface is connected in the data center. The target optical signal can be output to the equipment in the data center through this optical interface. At the same time, the first reflected optical signal reflected back from the optical end face of this optical interface can be input through port 2 and output to the wavelength division unit 3024 through port 3.

[0115] S1303, the first reflected light signal generated by the transmission target light signal is divided into wavelengths to obtain the second reflected light signal generated by the transmission detection light signal.

[0116] by Figure 4 Taking the detection device 302 as an example, after the first reflected light signal is input to the wavelength division unit 3024, the wavelength division unit 3024 divides the first reflected light signal to obtain a second reflected light signal with the same waveform characteristics as the detected light signal. The wavelength division unit 3024 can be implemented using different devices depending on the waveform characteristics. The following description uses wavelength or polarization direction as examples of waveform characteristics.

[0117] When the wavelengths of the initial optical signal and the detected optical signal are different, the wavelength division unit 3024 can provide... Figure 9a The wave demultiplexer shown can obtain a second reflected light signal with the same wavelength as the detected light signal from the first reflected light signal, based on the wavelength of the detected light signal.

[0118] When the polarization directions of the initial optical signal and the detected optical signal are different, the wavelength division unit 3024 can provide... Figure 9b The polarization beamsplitter shown can obtain a second reflected light signal with the same polarization direction as the detected light signal from the first reflected light signal, based on the polarization direction of the detected light signal. For example, if the polarization direction of the detected light signal is X-polarized, the polarization beamsplitter can obtain an X-polarized second reflected light signal from the first reflected light signal.

[0119] by Figure 4 Taking the detection device 302 as an example, the second reflected light signal obtained by the wavelength division unit 3024 is input to the signal processing unit 3025, and the signal processing unit 3025 obtains the electrical signal corresponding to the second reflected light signal based on the second reflected light signal. Figure 10 Taking the signal processing unit 3025 as an example, the photodetector performs photoelectric conversion on the second reflected light signal, converting it into an electrical signal. The amplifier amplifies the electrical signal obtained by the photodetector to obtain the electrical signal corresponding to the second reflected light signal. Then, the calculation unit determines the signal characteristics of the second reflected light signal based on the electrical signal corresponding to the second reflected light signal.

[0120] S1304, determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal, the transmission state includes normal or abnormal.

[0121] Specifically, the controller 3026 can determine the optical transmission state of the light source 301 based on the signal characteristics and signal characteristic threshold of the second reflected light signal. For example, if the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold, the controller can determine that the optical transmission state of the light source 301 is abnormal; if the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, the controller can determine that the optical transmission state of the light source 301 is normal. Figure 14 The time-domain waveforms of the electrical signals corresponding to the detected optical signal and the second reflected optical signal are shown. Figure 14 As shown, the maximum power of the electrical signal corresponding to the detected optical signal is P0, and the maximum power of the electrical signals corresponding to the second reflected optical signals A to C are P1, P2, and P3, respectively. P1, P2, and P3 are all less than P0. The signal processing unit 3025 outputs... Figure 14 Taking the electrical signal corresponding to the second reflected light signal A as an example, if the maximum power P1 of the electrical signal corresponding to the second reflected light signal A is equal to or greater than the power threshold Pmax, the controller can determine that the light transmission state of the light source 301 is abnormal; if the maximum power P1 of the electrical signal corresponding to the second reflected light signal A is less than the power threshold Pmax, the controller can determine that the light transmission state of the light source 301 is normal.

[0122] The controller 3026 controls the light source 301 to turn on or off based on the light transmission state of the light source 301. Figure 11 Taking the light source 301 as an example, when the light transmission state of the light source 301 is abnormal, the controller 3026 can send a shutdown command to the light switch of the light source 301, thereby shutting down the light source 301 and preventing it from outputting the initial light signal. Figure 12Taking the light source 301 as an example, when the light transmission state of the light source 301 is abnormal, the controller 3026 can send a shutdown command to the driving circuit of the light source 301, thereby shutting down the light source 301 and preventing the light source 301 from outputting the initial light signal.

[0123] Compared to normal transmission, contaminated optical interfaces and / or fiber optic defects can lead to increased power in reflected optical signals.

[0124] exist Figure 1 In the scenario shown, the target optical signal is output through the first optical interface of the light source device and transmitted to the second optical interface of the device in the data center. If the optical transmission status of the light source is abnormal, the reasons may include, but are not limited to, one or more of the following: the first optical interface connected to the light source device is dirty, the second optical interface connected to the device in the data center is dirty, and the optical fiber connecting the first and second optical interfaces is faulty. Therefore, when the optical transmission status of the light source is abnormal, the controller 3026 can also determine the abnormal location based on the time delay between the value of the signal characteristic of the detected optical signal and the value of the signal characteristic of the second reflected optical signal. Specifically, the controller 3026 can calculate the transmission distance S of the second reflected optical signal according to the formula S = v·T / 2 based on the time delay T and the propagation speed v of the optical signal in the optical fiber. Then, the controller 3026 can determine the abnormal location by comparing the transmission distance S, the distance S01 between the light source device and the first optical interface, and the distance S02 between the light source device and the second optical interface. The difference between distance S02 and distance S01 is the length of the optical fiber.

[0125] exist Figure 1 In the scenario shown, the abnormal location may include one of the first optical interface, the second optical interface, and / or the optical fiber connecting the first and second optical interfaces. In a specific implementation, the abnormal location can be determined by the signal characteristics of the electrical signals corresponding to the second reflected optical signals A to C. These signal characteristics may include power and / or frequency.

[0126] The following is based on Figure 14 Taking the time-domain diagrams of the electrical signals corresponding to the second reflected light signals A to C as an example, this section explains how to determine... Figure 1 The abnormal location in the scene shown.

[0127] Output by signal processing unit 3025 Figure 14Taking the time-domain diagram of the electrical signal a corresponding to the second reflected light signal A as an example, the controller 3026 can analyze the time-domain diagrams of the electrical signal r corresponding to the detected light signal and the electrical signal a corresponding to the second reflected light signal A to obtain the time delay T1 between the electrical signal r corresponding to the detected light signal and the electrical signal a corresponding to the second reflected light signal A. Then, the controller 3026 obtains the transmission distance S1 of the second reflected light signal A according to the formula S = v·T / 2. If S1 is equal to the distance S01 between the light source device 300 and the first optical interface, the controller 3026 can determine that the abnormal position is the first optical interface, indicating that the first optical interface is dirty or exposed.

[0128] Output by signal processing unit 3025 Figure 14 Taking the time-domain diagram of the electrical signal b corresponding to the second reflected optical signal B as an example, the controller 3026 can analyze the time-domain diagrams of the electrical signal r corresponding to the detected optical signal and the electrical signal b corresponding to the second reflected optical signal B to obtain the time delay T2 between the electrical signal r corresponding to the detected optical signal and the electrical signal b corresponding to the second reflected optical signal B. Then, the controller 3026 obtains the transmission distance S2 of the second reflected optical signal B according to the formula S = v·T / 2. If S2 is greater than the distance S01 between the light source device 300 and the first optical interface and less than the distance S02 between the light source device 300 and the second optical interface, the controller 3026 can determine that the abnormal location is the optical fiber connecting the first optical interface and the second optical interface, indicating that the optical fiber may be interrupted.

[0129] Output by signal processing unit 3025 Figure 14 Taking the time-domain diagram of the electrical signal c corresponding to the second reflected light signal C as an example, the controller 3026 can analyze the time-domain diagrams of the electrical signal r corresponding to the detected light signal and the electrical signal c corresponding to the second reflected light signal C to obtain the time delay T2 between the electrical signal r corresponding to the detected light signal and the electrical signal c corresponding to the second reflected light signal C. Then, the controller 3026 obtains the transmission distance S3 of the second reflected light signal C according to the formula S = v·T / 2. If S3 is equal to the distance S02 between the light source device 300 and the second optical interface, the controller 3026 can determine that the abnormal position is the connection of the second optical interface, that is, it indicates that the second optical interface is dirty or exposed.

[0130] The following is based on Figure 15 Taking the frequency domain diagrams of the electrical signals corresponding to the second reflected light signals A to C as an example, we will explain how to determine them. Figure 1 The abnormal location in the scene shown.

[0131] Output by signal processing unit 3025 Figure 15Taking the frequency domain diagram of the electrical signal a corresponding to the second reflected light signal A as an example, the controller 3026 can analyze the frequency domain diagrams of the electrical signal r corresponding to the detected light signal and the electrical signal a corresponding to the second reflected light signal A to obtain the time delay T1 between the electrical signal r corresponding to the detected light signal and the electrical signal a corresponding to the second reflected light signal A. Then, the controller 3026 obtains the transmission distance S1 of the second reflected light signal A according to the formula S = v·T / 2. If S1 is equal to the distance S01 between the light source device 300 and the first optical interface, the controller 3026 can determine that the abnormal position is the first optical interface, indicating that the first optical interface is dirty or exposed.

[0132] Output of signal processing unit 3025 Figure 15 Taking the frequency domain diagram of the electrical signal b corresponding to the second reflected optical signal B as an example, the controller 3026 can analyze the frequency domain diagrams of the electrical signal r corresponding to the detected optical signal and the electrical signal b corresponding to the second reflected optical signal B to obtain the time delay T2 between the electrical signal r corresponding to the detected optical signal and the electrical signal b corresponding to the second reflected optical signal B. Then, the controller 3026 obtains the transmission distance S2 of the second reflected optical signal B according to the formula S = v·T / 2. If S2 is greater than the distance S01 between the light source device 300 and the first optical interface and less than the distance S02 between the light source device 300 and the second optical interface, the controller 3026 can determine that the abnormal location is the optical fiber connecting the first optical interface and the second optical interface, indicating that the optical fiber may be interrupted.

[0133] Output by signal processing unit 3025 Figure 15 Taking the frequency domain diagram of the electrical signal c corresponding to the second reflected light signal C as an example, the controller 3026 can analyze the frequency domain diagrams of the electrical signal r corresponding to the detected light signal and the electrical signal c corresponding to the second reflected light signal C to obtain the time delay T2 between the electrical signal r corresponding to the detected light signal and the electrical signal c corresponding to the second reflected light signal C. Then, the controller 3026 obtains the transmission distance S3 of the second reflected light signal C according to the formula S = v·T / 2. If S3 is equal to the distance S02 between the light source device 300 and the second optical interface, the controller 3026 can determine that the abnormal position is the connection of the second optical interface, that is, it indicates that the second optical interface is dirty or exposed.

[0134] exist Figure 2 In the scenario shown, the target optical signal is directly transmitted to the equipment in the data center via an optical interface. If the light transmission status of the light source is abnormal, the abnormal location is the optical interface. Specific reasons may include dirt or exposed surfaces on the optical interface.

[0135] based on Figure 13 The present application provides another method for detecting optical transmission status, in addition to the method shown for detecting optical transmission status.

[0136] Figure 16 This is a flowchart illustrating a control method for a light source device 300 according to an embodiment of this application. This control method is executed by a controller 3026 in the light source device 300. Figure 16 As shown, the control method may include S1601 to S1603.

[0137] In S1601, the controller 3026 sends a detection command to the detection light generation unit 3021.

[0138] by Figure 4 Taking the detection device 302 as an example, after the light source 301 generates the initial light signal, the controller 3026 can send a detection command to the detection light generation unit 3021 to control the detection light generation unit 3021 to generate the detection light signal.

[0139] In some embodiments, prior to this step, the controller 3026 may send an activation command to the light source 301 to activate the light source 301 and generate an initial light signal if it determines that the historical light transmission status of the light source 301 is normal.

[0140] exist Figure 4 In the process, after receiving the detection command, the detection light generation unit 3021 generates a detection light signal. The beam combining unit 3022 combines the detection light signal and the initial light signal to output the target light signal. The loopback unit 3023 outputs the target light signal and receives the first reflected light signal. The beam splitting unit 3024 obtains the second reflected light signal based on the first reflected light signal. The signal processing unit 3025 determines the signal characteristics of the second reflected light signal and provides them to the controller 3026. The specific processing procedures of the detection light generation unit 3021, beam combining unit 3022, loopback unit 3023, beam splitting unit 3024, and signal processing unit 3025 can be referred to the above. Figure 4 The introduction describes each unit and Figure 13 The description of the detection method shown will not be repeated here.

[0141] In some embodiments, the controller 3026 may also send a detection command before controlling the light source 3021 to turn on. In this case, since the light source 301 is not turned on and does not output an initial light signal, the target light signal output by the multiplexing unit of the detection device 302 is actually the detection light signal. At the same time, the first reflected light signal is the second reflected light signal.

[0142] In S1602, the controller 3026 receives the signal characteristics of the second reflected light signal from the signal processing unit 3025.

[0143] In S1603, the controller 3026 determines the light transmission state of the light source 301 based on the signal characteristics of the second reflected light signal.

[0144] In this step, the specific process of controller 3026 can be referred to the above. Figure 13 The description of step S1304 in the illustrated embodiment will not be repeated here.

[0145] If the light transmission status of the light source 301 is normal and the light source 301 is turned on, the controller 3026 may not perform any operation; if the light source 301 is not turned on, the controller 3026 may send an on command to the light source 301.

[0146] If the light transmission status of the light source 301 is abnormal, and the light source 301 is already turned on, the controller 3026 can send a shutdown command to the light source 301 and also issue an alarm.

[0147] In some embodiments, after the light source 301 is turned on, the controller 3026 can also periodically send detection commands to the detection light generation unit 3021 according to the detection cycle, thereby periodically monitoring the light transmission status of the light source 301 in real time.

[0148] based on Figure 16 The method embodiments shown in this application also provide a controller.

[0149] Figure 17 This is a schematic diagram of the structure of a controller 1700 provided in an embodiment of this application. The controller 1700 can be used to implement... Figure 13 and Figure 16 The function of controller 3026 in the method shown.

[0150] like Figure 17 As shown, the controller 1700 may include a transmitting module 1701, a receiving module 1702, and a determining module 1703.

[0151] The sending module 1701 is used to send a detection command to the detection light generating unit 3021.

[0152] The receiving module 1702 is used to receive the signal characteristics of the second reflected light signal from the signal processing unit.

[0153] The determining module 1703 is used to determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal.

[0154] It should be noted that, Figure 17The controller 1700 provided in the illustrated embodiment, when executing the control method of the light source device 300, is only illustrating the division of the above-described functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the optical transmission state detection device provided in the above embodiment and... Figure 16 The control method embodiments of the light source device 300 shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0155] The transmitting module 1701, receiving module 1702, and determining module 1703 can be implemented in software or in hardware. For example, the implementation of the transmitting module 1701 will be described below. Similarly, the implementation of the receiving module 1702 and determining module 1703 can be referenced from the implementation of the transmitting module 1701.

[0156] When the above-described module is used as an example of a software functional unit, the sending module 1701 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, or a container. Further, the computing instance may be one or more. For example, the sending module 1701 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Further, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one or more geographically proximate data centers. Typically, a region may include multiple AZs.

[0157] Similarly, multiple hosts / virtual machines / containers used to run this code can be distributed within the same Virtual Private Cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Communication between two VPCs within the same region, as well as between VPCs in different regions, requires a communication gateway to be set up within each VPC to enable interconnection between VPCs.

[0158] As an example of a hardware functional unit, the transmitting module 1701 may include at least one computing device, such as a server. Alternatively, the transmitting module 1701 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be implemented using a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), generic array logic (GAL), or any combination thereof.

[0159] The multiple computing devices included in the sending module 1701 can be distributed in the same region or in different regions. Similarly, the multiple computing devices included in the sending module 1701 can be distributed in the same Availability Zone (AZ) or in different AZs. Likewise, the multiple computing devices included in the sending module 1701 can be distributed in the same Virtual Private Cloud (VPC) or in multiple VPCs. These multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0160] It should be noted that, in other embodiments, the sending module 1701, the receiving module 1702, and the determining module 1703 can be used to perform... Figure 16 In the control method shown, any step implemented by the sending module 1701, receiving module 1702, and determining module 1703 can be specified as needed and implemented by the sending module 1701, receiving module 1702, and determining module 1703 respectively. Figure 16 The different steps in the control method shown are used to achieve all the functions of the controller 1700.

[0161] This application also provides a computing device 1800. For example... Figure 18 As shown, the computing device 1800 includes a bus 1801, a processor 1802, a memory 1803, and a communication interface 1804. The processor 1802, the memory 1803, and the communication interface 1804 communicate with each other via the bus 1801. The computing device 1800 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in the computing device 1800. Figure 18 The computing device 1800 shown can be used for Figure 4 The function and / or implementation of the controller 3026 in the detection device 302 shown Figure 3 The controller 3026 shown has the following functions. When the computing device 1800 is used to implement the functions of the controller 3026, the computing device 1800 can be used to execute... Figure 16 The illustrated method embodiments may include some or all of the steps. When the computing device 1800 is used to implement the functions of the controller 3026, the computing device 1800 may be used to execute... Figure 16 Some or all of the steps in the method embodiments shown.

[0162] The 1801 bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 18 The bus 104 may be represented by a single line, but this does not mean that there is only one bus or one type of bus. The bus 104 may include a path for transmitting information between various components of the computing device 1800 (e.g., memory 1803, processor 1802, communication interface 1804).

[0163] Processor 1802 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0164] The memory 1803 may include volatile memory, such as random access memory (RAM). The processor 1802 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0165] The memory 1803 stores executable program code. The processor 1802 can execute this executable program code to implement the functions of the transmitting module 1701, receiving module 1702, and determining module 1703 in the aforementioned controller 1700, thereby achieving... Figure 16The control method shown. That is, the memory 1803 stores the control method for execution. Figure 16 The instructions for the detection method shown.

[0166] Alternatively, the memory 1803 stores executable code, and the processor 1802 executes this executable code to implement the functions of the aforementioned controller 1700, thereby achieving... Figure 16 The detection method shown. That is, the memory 1803 stores the information for executing... Figure 16 The instructions for the detection method shown.

[0167] The communication interface 1804 uses transceiver modules such as, but not limited to, network interface cards and transceivers to enable communication between the computing device 1800 and other devices or communication networks.

[0168] This application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.

[0169] like Figure 19 As shown, the computing device cluster includes at least one computing device 1800. The memory 1803 of one or more computing devices 1800 in the computing device cluster may store the same memory for executing... Figure 16 The instructions for the detection method shown.

[0170] In some possible implementations, the memory 1803 of one or more computing devices 1800 in the computing device cluster may also store memory for execution. Figure 16 The instructions for the detection method shown are partial. In other words, a combination of one or more computing devices 1800 can jointly execute instructions for performing... Figure 16 The instructions for the detection method shown.

[0171] In some possible implementations, one or more computing devices in a computing device cluster can be connected via a network. This network can be a wide area network (WAN) or a local area network (LAN), etc. Figure 20 One possible implementation is shown. For example... Figure 20 As shown, two computing devices 1800A and 1800B are connected via a network. Specifically, they are connected to the network through communication interfaces in each computing device. In this possible implementation, the memory 1803 in computing device 1800A stores instructions for performing the functions of the sending module 1701 and the receiving module 1702. Simultaneously, the memory 1803 in computing device 1800B stores instructions for performing the functions of the determining module 1703.

[0172] It should be understood that Figure 20 The functions of the computing device 1800A shown can also be performed by multiple computing devices 1800. Similarly, the functions of the computing device 1800B can also be performed by multiple computing devices 1800.

[0173] This application also provides a computing device cluster. The computing device cluster may include the aforementioned data center. The computing device cluster includes at least one computing device and light source devices connected to each computing device. The computing device may be a server or switch, etc., and the server may be a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device may also be a desktop computer, a laptop computer, or a smartphone, etc., a terminal device. The computing device and the light source device can be connected via... Figure 1 The connection method shown can also be used via... Figure 2 Connect as shown.

[0174] This application also provides a computer program product containing instructions. The computer program product may be a software or program product containing instructions, capable of running on a computing device or stored on any usable medium. When the computer program product is run on at least one computing device, it causes the at least one computing device to perform... Figure 16 The detection method shown.

[0175] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute... Figure 16 The detection method shown, or the instruction to the computing device to perform... Figure 16 The detection method shown.

[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting optical transmission state, characterized in that, The method is applied to a controller, which is disposed within a light source device. The light source device includes a light generation unit, a beam combining unit, a beam splitting unit, and a signal processing unit. The method includes: A detection command is sent to the detection light generation unit; wherein, the detection light generation unit is used to generate a detection light signal after receiving the detection command; the multiplexing unit is used to combine the initial light signal generated by the light source in the light source device and the detection light signal to obtain a target light signal; the wavelength division unit is used to divide the first reflected light signal to obtain a second reflected light signal, wherein the first reflected light signal is generated by the target light signal during transmission, and the second reflected light signal is generated by the detection light signal during transmission; the signal processing unit is used to determine the signal characteristics of the second reflected light signal; Signal characteristics of receiving the second reflected light signal from the signal processing unit; The light transmission state of the light source is determined based on the signal characteristics of the second reflected light signal.

2. The method according to claim 1, characterized in that, Determining the light transmission state of the light source based on the signal characteristics of the second reflected light signal includes: If the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold, the light transmission state of the light source is determined to be abnormal. If the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, the light transmission state of the light source is determined to be normal.

3. The method according to claim 1 or 2, characterized in that, The target optical signal is output through the first optical interface and transmitted to the second optical interface. In the event of an abnormal optical transmission state, the method further includes: An anomaly location is determined based on the time delay between the signal characteristics of the detected optical signal and the signal characteristics of the second reflected optical signal. The anomaly location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

4. The method according to any one of claims 1-3, characterized in that, In the event of an abnormal optical transmission state, the method further includes sending a shutdown command to the light source to control the light source to shut down.

5. The method according to any one of claims 1-4, characterized in that, Before sending a detection command to the detection light generating unit, the method further includes: Obtain the historical light transmission state of the light source; If the historical light transmission status of the light source is normal, an activation command is sent to the light source to control the light source to turn on.

6. The method according to any one of claims 1-5, characterized in that, The initial optical signal has different waveform characteristics from the detected optical signal, and the waveform characteristics include wavelength and / or polarization direction.

7. A method for detecting optical transmission state, characterized in that, The method is applied to a light source device, which includes a controller, a light generation unit, a beam combining unit, a beam splitting unit, and a signal processing unit. The method includes: The controller sends a detection command to the detection light generating unit; After receiving the detection command, the detection light generating unit generates a detection light signal; The beam combiner unit combines the initial light signal generated by the light source in the light source device and the detection light signal to obtain the target light signal; The wavelength division unit divides the first reflected light signal into two wavelengths to obtain a second reflected light signal. The first reflected light signal is generated by the target light signal during transmission, and the second reflected light signal is generated by the detection light signal during transmission. The signal processing unit determines the signal characteristics of the second reflected light signal; The controller receives the signal characteristics of the second reflected light signal from the signal processing unit and determines the light transmission state of the light source based on the signal characteristics of the second reflected light signal.

8. A controller, characterized in that, The controller is applied within a light source device, which further includes a light generation detection unit, a beam combining unit, a beam splitting unit, and a signal processing unit. The controller includes: A transmitting module is used to send a detection command to the detection light generating unit; wherein, the detection light generating unit is used to generate a detection light signal after receiving the detection command; the combining unit is used to combine the initial light signal generated by the light source in the light source device and the detection light signal to obtain a target light signal; the wave splitting unit is used to split the first reflected light signal to obtain a second reflected light signal, wherein the first reflected light signal is generated by the target light signal during transmission, and the second reflected light signal is generated by the detection light signal during transmission; the signal processing unit is used to determine the signal characteristics of the second reflected light signal; A receiving module is configured to receive signal characteristics of the second reflected light signal from the signal processing unit; The determining module is used to determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal.

9. The controller according to claim 8, characterized in that, The determining module is also used for: If the signal characteristics of the second reflected light signal are equal to or greater than the signal characteristic threshold, the light transmission state of the light source is determined to be abnormal. If the signal characteristics of the second reflected light signal are less than the signal characteristic threshold, the light transmission state of the light source is determined to be normal.

10. The controller according to claim 8 or 9, characterized in that, The target optical signal is output through the first optical interface and transmitted to the second optical interface. In the event of an abnormal optical transmission state, the determining module is further configured to: An anomaly location is determined based on the time delay between the signal characteristics of the detected optical signal and the signal characteristics of the second reflected optical signal. The anomaly location includes the first optical interface, the second optical interface, and / or the optical fiber connecting the first optical interface and the second optical interface.

11. The controller according to any one of claims 8-10, characterized in that, In the event of an abnormal optical transmission state, the transmitting module is further configured to: send a shutdown command to the light source to control the light source to shut down.

12. The controller according to any one of claims 8-11, characterized in that, Before sending the detection command to the detection light generating unit, the sending module is further configured to: Obtain the historical light transmission state of the light source; If the historical light transmission status of the light source is normal, an activation command is sent to the light source to control the light source to turn on.

13. The controller according to any one of claims 8-12, characterized in that, The initial optical signal has different waveform characteristics from the detected optical signal, and the waveform characteristics include wavelength and / or polarization direction.

14. A device for detecting the optical transmission state, characterized in that, The detection device includes a controller, a detection light generation unit, a beam combining unit, a beam splitting unit, and a signal processing unit; The controller is used to send detection commands to the detection light generating unit; The detection light generating unit is used to generate a detection light signal after receiving the detection command; The beam combiner unit is used to combine the initial light signal generated by the light source in the light source device and the detection light signal to obtain the target light signal; The wavelength division unit is used to divide the first reflected light signal into two wavelengths to obtain a second reflected light signal, wherein the first reflected light signal is generated by the target light signal during transmission, and the second reflected light signal is generated by the detection light signal during transmission. The signal processing unit is used to determine the signal characteristics of the second reflected light signal; The controller is also configured to receive signal characteristics of the second reflected light signal from the signal processing unit, and determine the light transmission state of the light source based on the signal characteristics of the second reflected light signal.

15. A computing device cluster, characterized in that, It includes at least one computing device, each computing device including a processor and memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device to cause the cluster of computing devices to perform the method as described in any one of claims 1-6.

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

17. A computer program product, characterized in that, It includes computer program instructions, which, when executed by a computing device, cause the computing device to perform the method as described in any one of claims 1-6.