Optical module, data center, optical module alarm method, and electronic device
By incorporating control circuits and alarm devices into the optical module, real-time detection and alarm functions are implemented, solving the problems of low monitoring efficiency and high cost of optical modules, and achieving fast and accurate detection of dirt on the fiber end face.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
- Filing Date
- 2025-09-25
- Publication Date
- 2026-05-15
AI Technical Summary
Optical modules have low monitoring efficiency and accuracy in data centers, and the monitoring cost is high. It is also difficult to quickly and timely detect fiber end-face contamination problems.
The optical module incorporates built-in control circuitry and alarm devices, which monitor operating parameters to detect anomalies in real time and issue alarm signals, thus avoiding software programming and manual intervention.
It enables rapid and accurate monitoring of optical modules, reduces monitoring difficulty and cost, and improves monitoring efficiency and accuracy.
Smart Images

Figure CN2025124184_15052026_PF_FP_ABST
Abstract
Description
Optical modules, data centers, alarm methods for optical modules, and electronic devices Technical Field
[0001] This disclosure relates to the fields of cloud networks and optical communications, and more specifically, to an optical module, a data center, an alarm method for the optical module, and an electronic device. Background Technology
[0002] The core application scenarios for optical communication are mainly traditional telecommunications and data center scenarios. The primary function of optical modules is to perform photoelectric and electro-optical conversion in optical communication. For fiber optic transmission, severe contamination on the "end face" of the fiber optic ferrule can affect the optical signal transmission path, leading to packet loss or network device port jitter. With the rapid pace of data center construction, it's difficult to achieve zero contamination on fiber optic end faces when dealing with tens or hundreds of thousands of optical modules delivered simultaneously. In many cases, substandard data center environments or improper construction procedures result in contamination on both the fiber optic cable and module end faces. Currently, it's difficult to quickly identify contamination issues during the construction phase. Typically, only after network production and delivery are completed can back-end personnel log into network devices to check the optical module's light reception and conduct a preliminary assessment of contamination. This hinders rapid, timely, and accurate monitoring of optical modules, further contributing to low efficiency and accuracy in monitoring.
[0003] Furthermore, current monitoring of optical modules requires customized software programming of some internal chip components. This software program then reports information to provide early warnings. Optical modules are used in network devices and servers in data centers, which contain multiple network devices and servers, each with multiple optical modules. This means that programming and burning software into optical modules requires significant manpower and time. Moreover, using this function also requires background operation and control of the network devices and servers, resulting in high monitoring costs for optical modules.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This disclosure provides an optical module, a data center, an alarm method for the optical module, and an electronic device to at least solve the technical problems of low monitoring efficiency and accuracy, as well as high monitoring cost in related technologies for monitoring optical modules.
[0006] According to one aspect of the present disclosure, an optical module is provided, comprising: a control circuit configured to monitor whether the optical module malfunctions based on the operating parameters of the optical module, and to send an alarm control command when the optical module malfunctions; and an alarm device connected to the control circuit configured to issue an alarm signal upon receiving the alarm control command.
[0007] According to another aspect of the present disclosure, a data center is also provided, comprising: an optical module of any of the above embodiments, plugged into at least one network device of the data center, and configured to transmit data between at least one network device.
[0008] According to another aspect of the embodiments of this disclosure, an alarm method for an optical module is also provided, which is applied to the optical module of any of the above embodiments. The method includes: monitoring the operating parameters of the optical module; determining whether the optical module is abnormal based on the operating parameters; and, if it is determined that the optical module is abnormal, controlling the alarm device inside the optical module to issue an alarm signal.
[0009] According to another aspect of the present disclosure, an electronic device is also provided, including: a memory storing an executable program; and a processor configured to run the program, wherein the program executes the methods of various embodiments of the present disclosure when it runs.
[0010] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the methods of the various embodiments of the present disclosure.
[0011] According to another aspect of the embodiments of this disclosure, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of this disclosure.
[0012] According to another aspect of the embodiments of this disclosure, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods of various embodiments of this disclosure.
[0013] According to another aspect of the embodiments of this disclosure, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of this disclosure.
[0014] In this embodiment, an optical module is provided, including: a control circuit configured to monitor whether the optical module malfunctions based on its operating parameters, and to send an alarm control command when an malfunction occurs; and an alarm device connected to the control circuit, configured to issue an alarm signal upon receiving the alarm control command. It is noteworthy that the control circuit, built into the optical module, can quickly and accurately monitor whether the optical module malfunctions based on its operating parameters, and promptly issue an alarm via the alarm device when an anomaly is detected. This eliminates the need for technicians to log into a backend device to individually determine whether multiple optical modules are malfunctioning, achieving more accurate monitoring of the optical module. Furthermore, the control circuit and alarm device are physical hardware; by adding physical hardware to the optical module, monitoring can be achieved, avoiding the time and manpower required for special software programming, burning, and implementation. This reduces the difficulty, complexity, and cost of monitoring the optical module, thus achieving more efficient and accurate monitoring and lower monitoring costs. This solves the technical problems of low monitoring efficiency and accuracy, and high monitoring costs in related technologies for optical modules.
[0015] It is worth noting that the above general description and the following detailed description are merely for illustrative and explanatory purposes and do not constitute a limitation thereof. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this disclosure, illustrate exemplary embodiments of the present disclosure and are used to explain the disclosure, but do not constitute an undue limitation of the disclosure. In the drawings:
[0017] Figure 1 is a schematic diagram of an optical module according to an embodiment of the present disclosure;
[0018] Figure 2 is a schematic diagram of the internal packaging of an optional optical module according to an embodiment of the present disclosure;
[0019] Figure 3 is a schematic diagram of an optional buzzer according to an embodiment of the present disclosure;
[0020] Figure 4 is a schematic diagram of a data center according to an embodiment of the present disclosure;
[0021] Figure 5 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing an alarm method for an optical module according to an embodiment of the present disclosure.
[0022] Figure 6 is a structural block diagram of a computing environment according to an embodiment of the present disclosure;
[0023] Figure 7 is a structural block diagram of a service mesh according to an embodiment of the present disclosure;
[0024] Figure 8 is a flowchart of an alarm method for an optical module according to an embodiment of the present disclosure;
[0025] Figure 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0026] To enable those skilled in the art to better understand the present disclosure, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present disclosure.
[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0028] First, some nouns or terms that appear in the description of the embodiments of this disclosure shall be interpreted as follows:
[0029] Optical module: an optoelectronic transceiver. The transmitting end converts electrical signals into optical signals, and the receiving end converts optical signals back into electrical signals.
[0030] Active optical cable (AOC): This type of cable typically uses optical fibers to interconnect multiple optical modules and does not support fiber optic plugging / unplugging.
[0031] Microcontroller Unit (MCU): The microcontroller unit inside the optical module.
[0032] According to an embodiment of this disclosure, an optical module is provided. FIG1 is a schematic diagram of an optical module according to an embodiment of this disclosure. As shown in FIG1, the optical module 10 includes: a control circuit 12 and an alarm device 14, wherein the control circuit 12 is connected to the alarm device 14.
[0033] In one optional embodiment, in the construction or delivery of a data center, optical modules and optical cables are crucial for optical signal transmission. However, contamination of the fiber end faces at the connection points between the optical modules and optical cables can affect optical signal transmission and, further, optical communication. To address the current technical problems of low monitoring efficiency and accuracy, as well as high monitoring costs, for monitoring contamination in optical modules, this disclosure provides an optical module including a control circuit and an alarm device. Both the control circuit and the alarm device are physical hardware that can be directly soldered into the optical module, offering advantages such as miniaturization, greater flexibility, low installation cost, simple installation method, and wide application range. As shown in Figure 1 (Figure 1 only shows one optical module 10, but is not limited to this), the control circuit 12 is configured to monitor whether the optical module 10 is abnormal based on its operating parameters. Specifically, it is configured to monitor whether there is dirt on the fiber end face of the optical module and send an alarm control command when the optical module 10 is abnormal (i.e., dirty). The alarm device 14 is connected to the control circuit 12 and is configured to issue an alarm signal upon receiving the alarm control command, thus proactively reporting the optical module abnormality to technicians so that technicians can clean the abnormal optical module in a timely, efficient, and accurate manner. The alarm device may include, but is not limited to, a buzzer, an optical power alarm, and an environmental monitoring alarm. The alarm control command is used to control the alarm device to issue an alarm, proactively alerting staff that the optical module is dirty. There may be one or more operating parameters, which can be determined based on different application scenarios. For example, in a delivery scenario, the operating parameters may be received optical power and emitted optical power, while in a data center internal connection scenario, the operating parameters may be data rate, bit error rate, wavelength, and operating temperature.
[0034] The aforementioned optical module can be a module in a data center that connects network devices to optical cables, or connects servers to optical cables. It is configured to convert electrical signals to optical signals or vice versa. Servers or network devices connect to the optical module via high-speed network interfaces to achieve high-speed optical communication. The optical module is responsible for converting the electrical signals generated by the server into optical signals for transmission through the optical cable. The optical cable connects the optical module via optical fibers, transmitting optical signals from one node to another. Optical fibers can connect devices within the same data center or different data centers. Application scenarios for the optical module include, but are not limited to: internal data center connections, remote data center interconnections, broadband access, connections between cloud service providers and customers, network infrastructure, intelligent transportation systems, medical equipment, scientific research and education, energy and resources, industrial automation, enterprise network connections, and data center delivery. In this embodiment, a data center delivery scenario is selected as an example because it is more relevant to data center scenarios, but it is not limited to this. It should be noted that the number of optical modules in this embodiment is not limited; the specific number can be determined by the number of network devices or servers in the data center that require optical communication.
[0035] A data center can be a single facility or a group of facilities configured to store, process, manage, and distribute large amounts of data. Data centers typically include physical servers, virtual servers, storage systems, network equipment, and other related hardware to ensure the secure, reliable, and efficient operation of data. Data centers can be local or cloud-based. Network equipment may include, but is not limited to, network switches, routers, and load balancers. Optical fiber cable is a communication cable that uses optical signals to transmit information. It mainly consists of optical fibers, a sheath, and a protective layer. The optical fiber is the core of the cable, made of glass or plastic. Surrounding the core is a layer of glass or plastic with a low refractive index, called the cladding. Light is repeatedly reflected between the core and the cladding, thus enabling the transmission of optical signals.
[0036] In this embodiment, an optical module is provided, including: a control circuit configured to monitor whether the optical module malfunctions based on its operating parameters, and to send an alarm control command when an malfunction occurs; and an alarm device connected to the control circuit, configured to issue an alarm signal upon receiving the alarm control command. It is noteworthy that the control circuit, built into the optical module, can quickly and accurately monitor whether the optical module malfunctions based on its operating parameters, and promptly issue an alarm via the alarm device when an anomaly is detected. This eliminates the need for technicians to log into a backend device to individually determine whether multiple optical modules are malfunctioning, achieving more accurate monitoring of the optical module. Furthermore, the control circuit and alarm device are physical hardware; by adding physical hardware to the optical module, monitoring can be achieved, avoiding the time and manpower required for special software programming, burning, and implementation. This reduces the difficulty, complexity, and cost of monitoring the optical module, thus achieving more efficient and accurate monitoring and lower monitoring costs. This solves the technical problems of low monitoring efficiency and accuracy, and high monitoring costs in related technologies for optical modules.
[0037] In the above embodiments of this disclosure, the alarm device includes: a buzzer, the signal terminal of the buzzer is connected to the control circuit through a digital signal line, the ground terminal of the buzzer is connected to the ground wire of the optical module, the power terminal of the buzzer is connected to the power wire of the optical module, and the buzzer is configured to sound when an alarm control command is received.
[0038] A buzzer is an electronic device primarily used to emit sound signals to alert, warn, or notify technicians. They are widely used in various electronic devices and systems, such as alarm systems, home appliances, medical equipment, and computer peripherals. Specifically, the received optical power threshold for the buzzer alarm can be set in the reserved area of the optical module's EEPROM (the register value can be set manually or determined by the target device to which the optical module is plugged in, but is not limited to these). The optical module's MCU compares the real-time received optical power read from the DDM with the set threshold in real time. When the received optical power of the optical module is less than or equal to the set threshold, the MCU inputs a high level to the buzzer module, and the buzzer sounds an alarm (i.e., it begins to sound). When the received optical power of the optical module is greater than the set threshold, the MCU inputs a low level to the buzzer module, and the buzzer does not sound or cancels the sound. Furthermore, the set received optical power threshold can be preset at the factory or adjusted online after the optical module is put into service, facilitating use in various scenarios.
[0039] Figure 2 is a schematic diagram of the internal packaging of an optional optical module according to an embodiment of the present disclosure. As shown in Figure 2, the optical module 10 internally includes: a high-speed electrical interface 21, multiple digital signal processors (DSPs) and a clock and data recovery (CDR) module 22, a local data distribution (LDD) module 23, a transmitter optical sub-assembly (TOSA) module 24, a control circuit 12, a buzzer (i.e., an alarm device) 14, a transimpedance amplifier (TIA) / linear amplifier (LA) module 25, and a receiver optical sub-assembly (ROSA) module 26. The control circuit 12 is the MCU control circuit of the optical module 10, and the control circuit 12 includes an electrically erasable programmable read-only memory (EEPROM) (not shown in Figure 2).
[0040] As shown in Figure 2, the high-speed electrical interface 10-1 is connected to multiple DSP / CDR modules 22 and the control circuit 12 via digital signal lines. The multiple DSP / CDR modules 22 are connected to the high-speed electrical interface 21, the control circuit 12, the LDD module 23, and the TIA / LA module 25 via digital signal lines. The LDD module 23 is connected to one of the multiple DSP / CDR modules 22, the control circuit 12, and the TOSA module 24 via digital signal lines. The TOSA module 24 is connected to the LDD module 23 via digital signal lines. The control circuit 10-1... 2. The optical module 10 is connected to the high-speed electrical interface 21, multiple DSP / CDR modules 22, LDD module 23, buzzer 14, and TIA / LA module 25 via digital signal lines. The signal terminal of buzzer 14 is connected to the control circuit 12 via digital signal lines. The ground terminal of buzzer 14 is connected to the ground wire of optical module 10, and the power terminal of buzzer 14 (not shown in Figure 2) is connected to the power line of optical module (not shown in Figure 2). Buzzer 14 is set to sound upon receiving an alarm control command to actively remind technicians that the optical module is dirty, so that technicians can clean the optical module in a timely manner. TIA / LA module 25 is connected to one of the multiple DSP / CDR modules 22, control circuit 12, and ROSA module 26 via digital signal lines.
[0041] It should be noted that the optical module is packaged in the embodiment of this disclosure using a quad small form-factor pluggable (QSFP) package format, but it is not limited to this. It can also be a small form-factor pluggable (SFP) package format, an enhanced small form-factor pluggable (SFP+) package format, or an enhanced quad small form-factor pluggable (QSFP+) package format. All of the above-mentioned package formats are high-speed serial optical module package formats.
[0042] Figure 3 is a schematic diagram of an optional buzzer according to an embodiment of the present disclosure. As shown in Figure 3, the buzzer 14 includes: a buzzer module 14-1, a power supply negative (GND) pin 14-2, a power supply positive (VCC) pin 14-3, and a digital signal line (SIGNAL) pin 14-4. The GND pin 14-2 is connected to the ground wire of the optical module (not shown in Figure 3), the VCC pin is connected to the power supply line of the optical module (not shown in Figure 3), and the SIGNAL pin 14-4 is connected to the control circuit (not shown in Figure 3).
[0043] It should be noted that the MCU control circuit in the optical module controls whether the buzzer sounds. Therefore, the buzzer can be controlled by inputting different signals to the control circuit. For example, inputting an "on" or "1" control signal will make the buzzer sound, while inputting an "off" or "0" control signal will make the buzzer stop sounding. As another example, when using digital signals to control the buzzer module, inputting a high level to the control circuit will make the buzzer sound, and inputting a low level will make the buzzer stop sounding. The buzzer can also be manually turned off; that is, if technicians find a faulty optical module, they can manually turn off the buzzer.
[0044] In the above embodiments of this disclosure, the alarm device further includes: an indicator light, which is disposed at the optical signal transmission port of the optical module, connected to the control circuit, and configured to display the target color when an alarm control command is received.
[0045] The target color mentioned above can be a color set in advance by the technicians to remind them that the optical module is dirty. The specific color is not limited in this embodiment and can be red, orange, or yellow, etc.
[0046] In one optional embodiment, the alarm device further includes an indicator light. The indicator light is located at the optical signal transmission port of the optical module and connected to the control circuit. It is configured to actively display a target color (e.g., flashing red, or solid red, but not limited to this) upon receiving an alarm control command, to proactively alert technicians that the optical module is dirty, allowing technicians to clean the optical module promptly.
[0047] In the above embodiments of this disclosure, the control circuit is further configured to generate an alarm log through network device software when the optical module malfunctions, and to send the alarm log to the target device upon receiving an alarm read command from the target device, wherein the optical module is plugged into the target device.
[0048] The aforementioned alarm logs are used for backup, enabling technicians to accurately locate the optical modules that experienced anomalies when troubleshooting them. The alarm log content may include, but is not limited to: the ID of the optical module that malfunctioned, the time the malfunction occurred, and the duration of the malfunction. The target device can be any device to which the optical module is plugged, such as a server or router, but is not limited to these.
[0049] In one optional embodiment, in the field of optical communication, the optical module is plugged into the target device. The control circuit is further configured to generate an alarm log through the network device software of the control circuit when the optical module malfunctions, and to send the alarm log to the target device upon receiving an alarm read command from the target device. For example, after detecting an anomaly in the optical module, the control circuit can generate and store an alarm log. When technicians need to troubleshoot the optical module that has malfunctioned, they can generate an alarm read command through the target device and send the command to the control circuit. Upon receiving the alarm read command from the target device, the control circuit can send the alarm log to the target device so that technicians can subsequently determine the specific optical module that malfunctioned based on the alarm log.
[0050] It should be noted that while generating alarm logs, the control circuit can also automatically switch the color of the indicator lights, for example, from the normal green to red, to indicate the location of the abnormal port (i.e., the port where the abnormal optical module is plugged in), which is convenient for technicians to clean the site.
[0051] In the above embodiments of this disclosure, the alarm device further includes: a radio frequency identification (RFID) chip, connected to the control circuit, configured to operate when an alarm control command is received, and to send a second radio frequency signal containing the location information of the optical module to the RFID reader when a first radio frequency signal is received from the RFID reader.
[0052] The first radio frequency signal mentioned above is used to determine the location of the abnormal optical module to the RFID chip. The second radio frequency signal mentioned above is used to send the location of the abnormal optical module to the RFID reader.
[0053] In one optional embodiment, the alarm device further includes a Radio Frequency Identification (RFID) chip. The RFID chip is connected to a control circuit and operates upon receiving an alarm control command from the control circuit; that is, the RFID chip is automatically enabled after the optical module detects that the received light power is below a set threshold. Furthermore, the RFID chip is configured to send a second radio frequency signal containing the location information of the optical module to the RFID reader upon receiving a first radio frequency signal from the reader. This allows technicians to locate the abnormal optical module using the RFID reader, facilitating on-site cleaning.
[0054] In the above embodiments of this disclosure, the control circuit includes: a storage device configured to store a first preset threshold corresponding to the operating parameters; and a controller connected to the storage device and the alarm device, configured to send an alarm control command when the operating parameters are less than or equal to the first preset threshold.
[0055] The aforementioned first preset threshold can be set in advance by technicians to determine the minimum received optical power threshold for whether the optical module is dirty. The specific value is not limited in this embodiment; technicians can set it according to actual monitoring needs. Specifically, if the received optical power of the optical module is less than or equal to the first preset threshold, it indicates that the optical module is dirty; conversely, if it is greater than or equal to the first preset threshold, it indicates that the optical module is not dirty.
[0056] In one optional embodiment, the control circuit includes a storage device and a controller. The storage device is configured to store a first preset threshold corresponding to the received optical power in the operating parameters. The controller is connected to the storage device and an alarm device, and is configured to send an alarm control command when the operating parameters are less than or equal to the first preset threshold. That is, when the received optical power is less than or equal to the first preset threshold, it indicates that the optical module is dirty, and an alarm control command can be sent.
[0057] In the above embodiments of this disclosure, the storage device is further configured to store the enable state of the alarm device, the enable state being used to indicate whether the alarm device is allowed to operate, wherein the controller is further configured to send an alarm control command when the enable state indicates that the alarm device is allowed to operate.
[0058] It should be noted that the enable / disable status of the buzzer function can also be set in the reserved area of the optical module's EEPROM. The enable status allows you to select whether the buzzer function should be enabled by default, either at the factory or during online use. For example, a register value of 0 represents "off," indicating that the alarm device is not allowed to operate (e.g., the buzzer is not allowed to sound), while a register value of 1 represents "on," indicating that the alarm device is allowed to operate (e.g., the buzzer is allowed to sound).
[0059] In an alternative embodiment, the storage device is further configured to store the enable state of the alarm device, and the controller is further configured to send an alarm control command when it is determined that the enable state indicates that the alarm device is allowed to operate.
[0060] In the above embodiments of this disclosure, the optical module is plugged into the target device, and the controller is also configured to parse the first setting instruction sent by the target device to obtain the second preset threshold corresponding to the working parameters, and replace the first preset threshold stored in the storage device with the second preset threshold.
[0061] The aforementioned first setting instruction can be issued by a technician to change a first preset threshold to a second preset threshold. The content of the first setting instruction may include at least the value of the second preset threshold.
[0062] In one optional embodiment, the optical module is plugged into the target device. When the technician needs to change the first preset threshold, the technician can first generate a first setting instruction through the target device. Then, the target device can send the first setting instruction to the controller. After receiving the first setting instruction, the controller parses the first setting instruction to obtain the second preset threshold corresponding to the working parameters, and replaces the first preset threshold stored in the storage device with the second preset threshold.
[0063] In the above embodiments of this disclosure, the controller is further configured to parse the second setting command sent by the target device to obtain the updated operating parameters and the target preset threshold corresponding to the updated operating parameters, monitor whether the optical module is abnormal based on the updated operating parameters, and store the target preset threshold in the storage device.
[0064] The aforementioned second setting instruction can be issued by a technician to instruct the control module to acquire new operating parameters of the optical module and to provide the control module with a target preset threshold corresponding to the new operating parameters. The second instruction may include at least: the new operating parameters and the target preset threshold corresponding to the new operating parameters.
[0065] In one optional embodiment, when a technician needs to change the operating parameters of the optical module, the technician can first generate a second setting instruction through the target device. Then, the target device can send the second setting instruction to the controller. Upon receiving the second setting instruction, the controller can first parse the second setting instruction to re-acquire the operating parameters of the optical module and obtain the updated operating parameters. At the same time, the controller can also parse the second setting instruction to obtain the target preset threshold corresponding to the updated operating parameters and store the target preset threshold in the storage device. Then, the controller can monitor the updated operating parameters based on the target preset threshold and determine whether the optical module is malfunctioning based on the updated operating parameters.
[0066] To improve the efficiency of repairing optical module contamination issues during the construction and delivery process, this disclosure proposes a novel optical module anomaly alarm reporting scheme. A buzzer module is added inside the optical module. After the optical module is powered on, the MCU continuously monitors the optical module's light reception. When the received light power is higher than a set threshold, the optical module will not buzz, and on-site personnel do not need to pay attention to link contamination issues. If the received light power is lower than the set threshold, the optical module will start buzzing, notifying on-site construction personnel that there are contaminated links that need to be cleaned promptly, greatly improving the speed of contamination problem detection and repair efficiency. If most links are buzzing, it indicates an anomaly in the on-site construction plan that needs timely adjustment; if only a few links are buzzing, then only those few links need repair. This scheme is flexible in its usage, allowing users to customize whether to use the buzzer function during the delivery phase or routine maintenance. Furthermore, the optical module alarm threshold setting can be flexibly adjusted for convenient use during the delivery phase or routine maintenance; one threshold can be used for delivery, and another for routine maintenance.
[0067] This disclosure adds a small buzzer module to the existing optical module design, implementing a novel alarm reporting scheme for optical modules without affecting the existing hardware design. This significantly improves the efficiency of problem location and repair speed. The added buzzer module has a wide range of applications. When monitoring the received optical power is not required, it can also be used to report alarms for other optical modules, such as optical module voltage, current, transmitted optical power, and operating temperature. The implementation method is consistent with the received optical power scheme; only the alarm threshold needs to be pre-set in the optical module's EEPROM, and the buzzer alarm will be activated when an anomaly occurs.
[0068] According to an embodiment of this disclosure, a data center is also provided. FIG4 is a schematic diagram of a data center according to an embodiment of this disclosure. As shown in FIG4, the data center 40 includes: a plurality of optical modules 10 in the above embodiments and at least one network device 42 (only one network device is shown in FIG4, but it is not limited thereto). As shown in FIG4, the plurality of optical modules 10 in the above embodiments are plugged into at least one network device 42 of the data center 40 and are configured to perform data transmission between at least one network device.
[0069] It should be noted that the preferred embodiments involved in the above embodiments of this disclosure are the same as the solutions, application scenarios and implementation processes provided in the above embodiments, but are not limited to the solutions provided in the above embodiments.
[0070] According to embodiments of this disclosure, an alarm method for an optical module is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0071] The method embodiments provided in this disclosure can be executed in a mobile terminal, computer terminal, or similar computing device. Figure 5 is a hardware structure block diagram of a computer terminal (or mobile device) configured to implement an alarm method for an optical module according to an embodiment of this disclosure. As shown in Figure 5, the computer terminal 50 (or mobile device) may include one or more processors 502 (shown as 502a, 502b, ..., 502n in the figure) (processor 502 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 504 configured to store data, and a transmission device 506 configured for communication functions. In addition, it may also include: a cursor control device, a keyboard, a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that the structure shown in Figure 5 is merely illustrative and does not limit the structure of the above-described electronic device. For example, the computer terminal 50 may also include more or fewer components than shown in Figure 5, or have a different configuration than shown in Figure 5.
[0072] It should be noted that the aforementioned one or more processors 502 and / or other data processing circuitry are generally referred to herein as "data processing circuitry". This data processing circuitry may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuitry may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 50 (or mobile device). As involved in embodiments of this disclosure, the data processing circuitry serves as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0073] The memory 504 may be configured to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the method in the embodiments of this disclosure. The processor 502 executes various functional applications and data processing by running the software programs and modules stored in the memory 504, thereby implementing the method in the above embodiments. The memory 504 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 504 may further include memory remotely located relative to the processor 502, and these remote memories can be connected to the computer terminal 50 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0074] The transmission device 506 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired and / or wireless network connections provided by the communication provider of the computer terminal 50. In one example, the transmission device 506 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. The transmission device 506 may also include a network interface. In one example, the transmission device 506 may be a Radio Frequency (RF) module, configured to communicate with the Internet wirelessly.
[0075] The display can be, for example, a touchscreen liquid crystal display (LCD), which allows the user to interact with the user interface of the computer terminal 50 (or mobile device).
[0076] The hardware structure block diagram shown in Figure 5 can serve as an exemplary block diagram not only for the aforementioned computer terminal 50 (or mobile device) but also for the aforementioned server. In an optional embodiment, Figure 6 illustrates an example of using the computer terminal 50 (or mobile device) shown in Figure 5 as a computing node in the computing environment 601. Figure 6 is a structural block diagram of a computing environment according to an embodiment of the present disclosure. As shown in Figure 6, the computing environment 601 includes multiple computing nodes (such as servers) running on a distributed network (shown as 610-1, 610-2, ... in the figure). Each computing node contains local processing and memory resources, and the end user 602 can remotely run applications or store data in the computing environment 601. Applications can be provided as multiple services 620-1, 620-2, 620-3, and 620-4 in the computing environment 601, representing services "A", "D", "E", and "H", respectively.
[0077] End user 602 can provide and access services through a web browser or other software application on a client. In some embodiments, the provisioning and / or requests of end user 602 can be provided to ingress gateway 630. Ingress gateway 630 may include a corresponding agent to handle the provisioning and / or requests for services (one or more services provided in computing environment 601).
[0078] The service is provided or deployed based on various virtualization technologies supported by the computing environment 601. In some embodiments, the service may be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar methods. Virtual machine-based virtualization can simulate a real computer by initializing a virtual machine, executing programs and applications without directly accessing any actual hardware resources. While the machine is virtualized by a virtual machine, container-based virtualization can launch containers to virtualize an entire operating system (OS), allowing multiple workloads to run on a single OS instance.
[0079] In one embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). For example, as shown in Figure 6, service 620-2 can be equipped with one or more Pods 640-1, 640-2, ..., 640-N (collectively referred to as Pods). A Pod can include a proxy 645 and one or more containers 642-1, 642-2, ..., 642-M (collectively referred to as containers). One or more containers in a Pod handle requests related to one or more corresponding functions of the service. The proxy 645 typically controls service-related network functions such as routing and load balancing. Other services can also be equipped with similar Pods.
[0080] During operation, executing a user request from end user 602 may require calling one or more services in computing environment 601, and executing one or more functions of one service may require calling one or more functions of another service. As shown in Figure 6, service "A" 620-1 receives a user request from end user 602 from ingress gateway 630. Service "A" 620-1 can call service "D" 620-2, and service "D" 620-2 can request service "E" 620-3 to execute one or more functions.
[0081] The aforementioned computing environment can be a cloud computing environment, where resource allocation is managed by cloud services, allowing functionality development without needing to consider implementation, adjustment, or server scaling. This computing environment allows developers to execute event-responsive code without building or maintaining complex infrastructure. Services can be partitioned into a set of functions that can automatically and independently scale, rather than scaling a single hardware device to handle potential loads.
[0082] In another alternative embodiment, FIG7 illustrates, in block diagram, an example of using the computer terminal 50 (or mobile device) shown in FIG5 above as a service mesh. FIG7 is a structural block diagram of a service mesh according to an embodiment of the present disclosure. As shown in FIG7, the service mesh 700 is mainly configured to facilitate secure and reliable communication between multiple microservices. Microservices refer to decomposing an application into multiple smaller services or instances and distributing them across different clusters / machines.
[0083] As shown in Figure 7, a microservice may include application service instance A and application service instance B, which together form the functional application layer of service mesh 700. In one implementation, application service instance A runs as a container / process 708 on machine / workload container group 714 (Pod), and application service instance B runs as a container / process 710 on machine / workload container group 716 (Pod).
[0084] In one implementation, application service instance A can be an optical module dirt monitoring service, and application service instance B can be an optical module dirt alarm service.
[0085] As shown in Figure 7, application service instance A and grid proxy (sidecar) 703 coexist in machine / workload container group 714, and application service instance B and grid proxy 705 coexist in machine / workload container group 716. Grid proxy 703 and grid proxy 705 form the data plane layer of service mesh 700. Grid proxy 703 and grid proxy 705 run as containers / processes 704 and 706 respectively, and can receive requests 712 to be configured for product query services. Grid proxy 703 and application service instance A can communicate bidirectionally, and grid proxy 705 and application service instance B can also communicate bidirectionally. Furthermore, grid proxy 703 and grid proxy 705 can also communicate bidirectionally with each other.
[0086] In one implementation, traffic from application service instance A is routed to the appropriate destination via mesh proxy 703, and network traffic from application service instance B is routed to the appropriate destination via mesh proxy 705. It should be noted that the network traffic mentioned here includes, but is not limited to, Hypertext Transfer Protocol (HTTP), Representational State Transfer (REST), high-performance, general-purpose open-source frameworks (Google Remote Procedure Call, gRPC), and open-source in-memory data structure storage systems (Redis).
[0087] In one implementation, the functionality of the extended data plane layer can be achieved by writing custom filters for the proxy (Envoy) in service mesh 700. The service mesh proxy configuration can enable the service mesh to correctly proxy service traffic, achieving service interoperability and service governance. Mesh proxies 703 and 705 can be configured to perform at least one of the following functions: service discovery, health checking, routing, load balancing, authentication and authorization, and observability.
[0088] As shown in Figure 7, the service mesh 700 also includes a control plane layer. This control plane layer can consist of a set of services running in a dedicated namespace, managed by a managed control plane component 701 within machine / workload container groups (machine / Pods) 702. As shown in Figure 7, the managed control plane component 701 communicates bidirectionally with mesh agents 703 and 705. The managed control plane component 701 is configured to perform control and management functions. For example, it receives telemetry data from mesh agents 703 and 705 and can further aggregate this telemetry data. The managed control plane component 701 can also provide a user-facing Application Programming Interface (API) for easier manipulation of network behavior and provision of configuration data to mesh agents 703 and 705.
[0089] Under the above operating environment, this disclosure provides an alarm method for an optical module as shown in Figure 8. Figure 8 is a flowchart of an alarm method for an optical module according to an embodiment of this disclosure. As shown in Figure 8, the method includes the following steps:
[0090] Step S802: Monitor the operating parameters of the optical module;
[0091] Step S804: Determine whether the optical module is malfunctioning based on the operating parameters;
[0092] Step S806: If it is determined that the optical module is malfunctioning, control the alarm device inside the optical module to issue an alarm signal.
[0093] In an optional embodiment, to address the technical problems of low monitoring efficiency and accuracy, as well as high monitoring costs, in current methods for monitoring the dirtiness of optical modules, this disclosure provides an optical module with a built-in control circuit and alarm device. When monitoring this optical module, the control circuit can first acquire the operating parameters of the optical module and monitor them. Secondly, the control circuit can determine whether the optical module is abnormal based on the operating parameters. For example, the received light power in the acquired operating parameters of the optical module can be compared with a first preset threshold. If the received light power is determined to be less than or equal to the first preset threshold, it indicates that the optical module is dirty (i.e., the optical module is abnormal). If the optical module is determined to be abnormal, the control circuit can control the alarm device inside the optical module to issue an alarm signal. For example, it can issue a buzzer or display a red indicator light, but it is not limited to these.
[0094] In the above embodiments of this disclosure, determining whether an optical module is malfunctioning based on operating parameters includes: reading a first preset threshold corresponding to the operating parameters stored internally in the optical module; determining that the optical module is malfunctioning if the operating parameters are less than or equal to the first preset threshold; and determining that the optical module is not malfunctioning if the operating parameters are greater than the first preset threshold.
[0095] In one optional embodiment, after the control circuit obtains the operating parameters of the optical module, it can first read the first preset threshold corresponding to the operating parameters stored inside the optical module, and then compare the received optical power in the operating parameters with the first preset threshold. If the operating parameters are less than or equal to the first preset threshold, it can be determined that the optical module is abnormal, that is, the optical module is dirty. If the operating parameters are greater than the first preset threshold, it can be determined that the optical module is not abnormal.
[0096] In the above embodiments of this disclosure, the method further includes: in response to receiving a first setting instruction sent by the target device, updating the first setting instruction to obtain a second preset threshold corresponding to the working parameters, wherein an optical module is plugged into the target device; and replacing the first preset threshold inside the optical module with the second preset threshold.
[0097] In one optional embodiment, the optical module is plugged into the target device. When the technician needs to change the first preset threshold, the technician can first generate a first setting instruction through the target device. Then, the target device can send the first setting instruction to the controller. After receiving the first setting instruction, the controller parses the first setting instruction to obtain the second preset threshold corresponding to the working parameters, and replaces the first preset threshold stored in the storage device with the second preset threshold.
[0098] In the above embodiments of this disclosure, the method further includes: responding to receiving a second setting instruction sent by the target device, updating the second setting instruction to obtain updated operating parameters and a target preset threshold corresponding to the updated operating parameters, wherein an optical module is plugged into the target device; storing the target preset threshold inside the optical module; monitoring the updated operating parameters of the optical module, and determining whether the optical module is malfunctioning based on the updated operating parameters.
[0099] In one optional embodiment, the optical module is plugged into the target device. When a technician needs to change the operating parameters of the optical module, the technician can first generate a second setting command through the target device. Then, the target device can send the second setting command to the controller. Upon receiving the second setting command, the controller can first parse the second setting command to re-acquire the operating parameters of the optical module and obtain the updated operating parameters. At the same time, it can also parse the second setting command to obtain the target preset threshold corresponding to the updated operating parameters and store the target preset threshold inside the optical module. Then, it can monitor the updated operating parameters based on the target preset threshold and determine whether the optical module is malfunctioning based on the updated operating parameters.
[0100] In the above embodiments of this disclosure, when it is determined that the optical module is malfunctioning, the alarm device inside the optical module is controlled to issue an alarm signal, including: when it is determined that the optical module is malfunctioning, obtaining the enable state of the alarm device, wherein the enable state is used to indicate whether the alarm device is allowed to work; and when the enable state indicates that the alarm device is allowed to work, controlling the alarm device to issue an alarm signal.
[0101] In one alternative embodiment, when it is determined that the optical module is malfunctioning, the control circuit can first obtain the enable status of the alarm device. If the enable status is that the alarm device is allowed to work, that is, the buzzer is allowed to sound, the control circuit can control the alarm device to issue an alarm signal.
[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0103] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this disclosure.
[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. Based on this understanding, the technical solutions of this disclosure, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.
[0105] Embodiments of this disclosure can provide an electronic device, which can be any one of a group of electronic devices. Optionally, in this embodiment, the aforementioned electronic device can also be replaced with a terminal device such as a mobile terminal.
[0106] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0107] In this embodiment, the electronic device described above can execute the program code in the method.
[0108] Optionally, FIG9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG9, the electronic device A may include: one or more (only one is shown in the figure) processors 902, memory 904, memory controller, and peripheral interface, wherein the peripheral interface is connected to a radio frequency module, an audio module, and a display.
[0109] The memory may be configured to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the methods in the above embodiments. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to terminal A via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0110] The processor can access the information and application programs stored in the memory via the transmission device to perform the following steps: monitor the operating parameters of the optical module; determine whether the optical module is malfunctioning based on the operating parameters; and, if the optical module is malfunctioning, control the alarm device inside the optical module to issue an alarm signal.
[0111] Optionally, the processor may also execute program code that performs the following steps: reads a first preset threshold corresponding to the operating parameters stored inside the optical module; determines that the optical module is malfunctioning if the operating parameters are less than or equal to the first preset threshold; and determines that the optical module is not malfunctioning if the operating parameters are greater than the first preset threshold.
[0112] Optionally, the processor may also execute program code that performs the following steps: in response to receiving a first setting instruction sent by the target device, updating the first setting instruction to obtain a second preset threshold corresponding to the working parameters, wherein an optical module is plugged into the target device; and replacing the first preset threshold inside the optical module with the second preset threshold.
[0113] Optionally, the processor may also execute program code for the following steps: in response to receiving a second setting instruction sent by the target device, updating the second setting instruction to obtain updated operating parameters and a target preset threshold corresponding to the updated operating parameters, wherein an optical module is plugged into the target device; storing the target preset threshold inside the optical module; monitoring the updated operating parameters of the optical module, and determining whether the optical module is malfunctioning based on the updated operating parameters.
[0114] Optionally, the processor may also execute program code that performs the following steps: when it is determined that the optical module is malfunctioning, it acquires the enable state of the alarm device, wherein the enable state is used to indicate whether the alarm device is allowed to work; when the enable state indicates that the alarm device is allowed to work, it controls the alarm device to issue an alarm signal.
[0115] In this embodiment, an optical module is provided, including: a control circuit configured to monitor whether the optical module malfunctions based on its operating parameters, and to send an alarm control command when an malfunction occurs; and an alarm device connected to the control circuit, configured to issue an alarm signal upon receiving the alarm control command. It is noteworthy that the control circuit, built into the optical module, can quickly and accurately monitor whether the optical module malfunctions based on its operating parameters, and promptly issue an alarm via the alarm device when an anomaly is detected. This eliminates the need for technicians to log into a backend device to individually determine whether multiple optical modules are malfunctioning, achieving more accurate monitoring of the optical module. Furthermore, the control circuit and alarm device are physical hardware; by adding physical hardware to the optical module, monitoring can be achieved, avoiding the time and manpower required for special software programming, burning, and implementation. This reduces the difficulty, complexity, and cost of monitoring the optical module, thus achieving more efficient and accurate monitoring and lower monitoring costs. This solves the technical problems of low monitoring efficiency and accuracy, and high monitoring costs in related technologies for optical modules.
[0116] It will be understood by those skilled in the art that the structure shown in the figure is merely illustrative, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal device. This figure does not limit the structure of the aforementioned electronic device. For example, electronic device A may include more or fewer components (such as a network interface, a display device, etc.) than shown in the figure, or may have a different configuration than shown in the figure.
[0117] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0118] Embodiments of this disclosure also provide a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium may be configured to store program code executed by the method provided in the above embodiments.
[0119] Optionally, in this embodiment, the storage medium may be located in any one of the electronic devices in the group of electronic devices in the computer network, or in any one of the mobile terminals in the group of mobile terminals.
[0120] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code configured to perform the following steps: monitoring the operating parameters of the optical module; determining whether the optical module is malfunctioning based on the operating parameters; and, if the optical module is determined to be malfunctioning, controlling the alarm device inside the optical module to issue an alarm signal.
[0121] Optionally, the computer-readable storage medium is further configured to store program code configured to perform the following steps: reading a first preset threshold corresponding to the operating parameters stored internally in the optical module; determining that the optical module is malfunctioning if the operating parameters are less than or equal to the first preset threshold; and determining that the optical module is not malfunctioning if the operating parameters are greater than the first preset threshold.
[0122] Optionally, the computer-readable storage medium is further configured to store program code configured to perform the following steps: in response to receiving a first setting instruction sent by the target device, updating the first setting instruction to obtain a second preset threshold corresponding to the operating parameters, wherein an optical module is plugged into the target device; and replacing the first preset threshold inside the optical module with the second preset threshold.
[0123] Optionally, the computer-readable storage medium is further configured to store program code configured to perform the following steps: in response to receiving a second setting instruction sent by the target device, updating the second setting instruction to obtain updated operating parameters and a target preset threshold corresponding to the updated operating parameters, wherein an optical module is plugged into the target device; storing the target preset threshold inside the optical module; monitoring the updated operating parameters of the optical module, and determining whether the optical module is malfunctioning based on the updated operating parameters.
[0124] Optionally, the computer-readable storage medium is further configured to store program code configured to perform the following steps: upon determining that an optical module malfunctions, acquiring the enable state of the alarm device, wherein the enable state is used to characterize whether the alarm device is allowed to operate; and if the enable state characterizes that the alarm device is allowed to operate, controlling the alarm device to issue an alarm signal.
[0125] Embodiments of this disclosure also provide a computer program product. Optionally, in this embodiment, the computer program product may include a computer program that, when executed by a processor, implements the methods provided in the embodiments described above.
[0126] Embodiments of this disclosure also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium configured to store a computer program that, when executed by a processor, implements the methods provided in the embodiments described above.
[0127] Embodiments of this disclosure also provide a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, it implements the method provided in the above embodiments.
[0128] In the above embodiments of this disclosure, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0129] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0131] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0133] The above description is only a preferred embodiment of this disclosure. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles of this disclosure, and these improvements and modifications should also be considered within the scope of protection of this disclosure. Industrial applicability
[0134] The control circuit built into the optical module enables rapid and accurate monitoring of its operational parameters to detect anomalies. In cases of anomaly, an alarm is promptly triggered, eliminating the need for technicians to log into a backend system to individually verify anomalies in multiple optical modules. This achieves more accurate monitoring. Furthermore, the control circuit and alarm device are physical hardware components. Monitoring the optical module is achieved simply by adding physical hardware, avoiding the time and manpower required for specialized software programming, flashing, and implementation. This reduces the difficulty, complexity, and cost of monitoring, resulting in more efficient and accurate monitoring and lower monitoring costs. Ultimately, this addresses the technical challenges of low monitoring efficiency and accuracy, as well as high monitoring costs, in related technologies for optical module monitoring.
Claims
1. An optical module, comprising: The control circuit is configured to monitor whether the optical module malfunctions based on the operating parameters of the optical module, and send an alarm control command if the optical module malfunctions. An alarm device, connected to the control circuit, is configured to issue an alarm signal upon receiving the alarm control command.
2. The optical module according to claim 1, wherein, The alarm device includes: A buzzer is provided, wherein the signal terminal of the buzzer is connected to the control circuit via a digital signal line, the ground terminal of the buzzer is connected to the ground wire of the optical module, and the power terminal of the buzzer is connected to the power wire of the optical module. The buzzer is configured to sound when the alarm control command is received.
3. The optical module according to claim 1 or 2, wherein, The alarm device also includes: An indicator light, located at the optical signal transmission port of the optical module and connected to the control circuit, is configured to display a target color upon receiving the alarm control command.
4. The optical module according to claim 1 or 2, wherein, The control circuit is also configured to generate an alarm log through network device software when the optical module malfunctions, and to send the alarm log to the target device upon receiving an alarm read command from the target device, wherein the optical module is plugged into the target device.
5. The optical module according to claim 1 or 2, wherein, The alarm device also includes: The radio frequency identification (RFID) chip, connected to the control circuit, is configured to operate when the alarm control command is received, and to send a second radio frequency signal containing the location information of the optical module to the RFID reader when the first radio frequency signal is received from the RFID reader.
6. The optical module according to claim 1 or 2, wherein, The control circuit includes: The storage device is configured to store a first preset threshold corresponding to the operating parameters; The controller, connected to the storage device and the alarm device, is configured to send the alarm control command when the operating parameter is less than or equal to the first preset threshold.
7. The optical module according to claim 6, wherein, The storage device is also configured to store the enable state of the alarm device, which indicates whether the alarm device is allowed to operate. The controller is also configured to send the alarm control command when the enable state indicates that the alarm device is allowed to operate.
8. The optical module according to claim 6, wherein, The optical module is plugged into the target device, and the controller is also configured to parse the first setting command sent by the target device, obtain the second preset threshold corresponding to the working parameters, and replace the first preset threshold stored in the storage device with the second preset threshold.
9. The optical module according to claim 6, wherein, The controller is also configured to parse the second setting command sent by the target device to obtain the updated operating parameters and the target preset threshold corresponding to the updated operating parameters, monitor whether the optical module is abnormal based on the updated operating parameters, and store the target preset threshold in the storage device.
10. A data center, comprising: The optical module according to any one of claims 1 to 9 is plugged into at least one network device in a data center and configured to transmit data between the at least one network device.
11. An alarm method for an optical module, applied to the optical module according to any one of claims 1 to 9, the method comprising: Monitor the operating parameters of the optical module; Determine whether the optical module is malfunctioning based on the aforementioned operating parameters; If an abnormality is detected in the optical module, the alarm device inside the optical module is controlled to issue an alarm signal.
12. The method according to claim 11, wherein, The step of determining whether the optical module is malfunctioning based on the operating parameters includes: Read the first preset threshold corresponding to the operating parameters stored inside the optical module; If the operating parameters are less than or equal to the first preset threshold, it is determined that the optical module is malfunctioning. If the operating parameters are greater than the first preset threshold, it is determined that the optical module is not malfunctioning.
13. The method according to claim 12, wherein, The method further includes: In response to receiving a first setting instruction sent by a target device, the first setting instruction is updated to obtain a second preset threshold corresponding to the working parameters, wherein the optical module is plugged into the target device; Replace the first preset threshold inside the optical module with the second preset threshold.
14. The method according to claim 12, wherein, The method further includes: In response to receiving a second setting instruction sent by the target device, the second setting instruction is updated to obtain updated operating parameters and a target preset threshold corresponding to the updated operating parameters, wherein the optical module is plugged into the target device; The target preset threshold is stored inside the optical module; Monitor the updated operating parameters of the optical module and determine whether the optical module is malfunctioning based on the updated operating parameters.
15. The method according to claim 11, wherein, The step of controlling the alarm device inside the optical module to issue an alarm signal when it is determined that the optical module has malfunctioned includes: If it is determined that the optical module is malfunctioning, the enable state of the alarm device is obtained, wherein the enable state is used to characterize whether the alarm device is allowed to work; When the enabled state indicates that the alarm device is allowed to operate, the alarm device is controlled to issue the alarm signal.
16. An electronic device comprising: Memory, which stores executable programs; A processor is configured to run the program, wherein the program, when running, performs the method according to any one of claims 11 to 15.
17. A computer-readable storage medium comprising a stored executable program, wherein, When the executable program is executed, it controls the device containing the storage medium to perform the method described in any one of claims 11 to 15.
18. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 11 to 15.