A control system and a method of fault diagnosis isolation for a passive optical network

By setting up a diagnostic isolation unit between the optical module and the working card, operational data can be directly acquired and fault isolation can be performed, solving the network paralysis problem caused by long response time in the existing technology, and realizing rapid fault isolation and network stability.

CN122372876APending Publication Date: 2026-07-10SUPCON TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

Existing fault diagnosis and isolation methods for passive optical networks rely on switches and OLTs, which have long response times, leading to the expansion of faults and even network paralysis.

Method used

By setting up a diagnostic isolation unit between the optical module and the working card, the operating data of the optical module can be directly obtained, the fault status can be judged and isolated in a timely manner, and the multi-level information transmission links can be eliminated.

Benefits of technology

It enables rapid fault handling, prevents fault escalation, and meets the needs of industrial control scenarios for rapid network fault location and precise isolation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122372876A_ABST
    Figure CN122372876A_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a control system and a fault diagnosis isolation method of a passive optical network. The control system provided by the embodiment of the application comprises a diagnosis isolation unit and a working card; the working card is used for connecting an optical module, and the diagnosis isolation unit is used for connecting the optical module; wherein the diagnosis isolation unit is configured to: acquire running data of the optical module; the running data comprises running state data and / or running environment data of the optical module; according to the running data of the optical module, the working state of the optical module is determined; if the optical module is in a fault state, the optical module is isolated. The control system directly connects the diagnosis isolation unit of the optical module, acquires the running data of the optical module, judges the fault state in time and completes fault isolation, omits the link of multi-stage information transmission, can realize rapid fault disposal, avoids that the fault is expanded to cause the collapse of the whole passive optical network, and meets the core demand of rapid positioning and accurate isolation of network faults in the industrial control scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical network technology, and in particular to a fault diagnosis and isolation method for control systems and passive optical networks. Background Technology

[0002] With the deep integration of industrial control systems and artificial intelligence and edge computing, passive optical networks (PONs) are gradually replacing traditional communication networks and are increasingly widely used in industrial control systems due to their advantages such as high bandwidth, low-cost cabling, and strong real-time performance. To ensure the stability of industrial control systems, it is necessary to diagnose and maintain the optical modules of PONs.

[0003] Currently, indirect monitoring and fault isolation primarily rely on switches and optical line terminals (OLTs). Specifically, the OLT detects link data from the optical modules to determine if they are malfunctioning. If an anomaly is detected, the OLT reports the anomaly to the switch, which forwards the fault information to the core network. The core network, through the switch and the OLT, issues a disconnect command to the optical module. Upon receiving the disconnect command, the optical module disconnects from the working card.

[0004] However, this fault diagnosis and isolation method has too many interaction layers and a long response link, which can lead to excessively long response times. In some cases, the optical module may not receive a disconnect command before it completely fails, thus failing to disconnect from the working card in time and causing the passive optical network to fail. Summary of the Invention

[0005] Based on the above problems, this application provides a fault diagnosis and isolation method for control systems and passive optical networks. This fault diagnosis and isolation method can quickly disconnect working cards and faulty optical modules, avoid the fault from escalating and causing the entire network to collapse, and meet the high reliability requirements of industrial control scenarios.

[0006] The embodiments of this application disclose the following technical solutions: In a first aspect, embodiments of this application provide a control system, the control system comprising: a diagnostic isolation unit and a working card; the diagnostic isolation unit is used to connect to the optical module; The diagnostic isolation unit is configured to: acquire the operating data of the optical module; the operating data includes operating status data and / or operating environment data of the optical module; determine the working status of the optical module based on the operating data of the optical module; and isolate the optical module from fault if the optical module is in a fault state.

[0007] Optionally, the diagnostic isolation unit includes a main controller and peripheral devices connected to the main controller; the peripheral devices are also connected to the optical module. The peripheral device is configured to: acquire the operating data of the optical module and send the operating data to the main controller; The main controller is configured to: determine the operating status of the optical module based on the operating data of the optical module; and if the optical module is in a fault state, send a disconnect command to the peripheral device. The peripheral device is also configured to cut off the power supply to the optical module in response to the cut-off command.

[0008] Optionally, the diagnostic isolation unit further includes a device monitor for monitoring the operating status of the main controller.

[0009] Optionally, the control system further includes a backup card for the working card, and the main controller is the main chip of the backup card or a programmable device of the backup card's peripheral.

[0010] Optionally, if the diagnostic isolation unit is a first diagnostic isolation unit, the main controller of the diagnostic isolation unit is a first programmable chip, the peripheral device of the main controller is a first peripheral device, and the control system further includes a spare card of the working card and a second diagnostic isolation unit, wherein the second isolation unit is connected to the spare card and is used to perform fault diagnosis and fault isolation on the optical module of the spare card; The second isolation unit includes a second programmable chip deployed externally to the backup card and a second peripheral device of the second programmable chip. The second peripheral device is configured to: acquire the operating data of the backup optical module of the optical module and send the operating data of the backup optical module to the second programmable chip; the second programmable chip is configured to: determine the operating status of the backup optical module based on the operating data of the backup optical module; if the operating status of the backup optical module is a fault state, send a cut-off command to the second peripheral device; the second peripheral device is configured to: cut off the power supply to the backup optical module in response to the cut-off command.

[0011] Optionally, the first diagnostic isolation unit further includes a first device monitor, and the second diagnostic isolation unit further includes a second device monitor; The working card is connected to the second device monitor, and the backup card is connected to the first device monitor; the second device monitor is configured to: receive the dog feed signal from the working card, determine whether the working card is abnormal based on the dog feed signal from the working card; if the working card is abnormal, shut down the working card and turn on the backup card; The first device monitor is configured to: receive the dog feed signal from the backup card; determine whether the backup card is abnormal based on the dog feed signal from the backup card; if the backup card is abnormal, shut down the backup card and turn on the working card.

[0012] Optionally, the main controller is the main chip or programmable device of the backup card, and the main controller is connected in series on the data lines of the microcontroller (MCU) of the working card and the optical module.

[0013] Optionally, the diagnostic isolation unit is an optical module adapter sleeve with an embedded programmable chip, the optical module adapter sleeve is located on the optical port of the working card, and the optical module is located on the optical module adapter sleeve.

[0014] Secondly, embodiments of this application provide a fault diagnosis and isolation method for a passive optical network, applied to a control system. The control system includes: a diagnostic isolation unit and a working card; the working card is used to connect to an optical module, and the diagnostic isolation unit is used to connect to the optical module; the method includes: The diagnostic isolation unit acquires the operating data of the optical module; the operating data includes operating status data and / or the operating environment data of the optical module; The operating status of the optical module is determined based on its operating data. If the optical module is in a faulty state, the optical module is isolated from the fault.

[0015] Optionally, if the optical module is in a faulty state, the step of isolating the optical module from the fault includes: If the optical module is in a third fault state, disconnect the power supply to the optical module and / or switch the working card to the backup card; The method further includes: If the optical module is in a first fault state, an alert message will be output. If the optical module is in a second fault state, a reset command is output to the optical module; the reset command instructs the optical module to return to its initial state.

[0016] Compared with the prior art, this application has the following beneficial effects: This application provides a fault diagnosis and isolation method for a control system and a passive optical network. The control system provided in this application includes a diagnostic isolation unit and a working card; the working card is used to connect to an optical module, and the diagnostic isolation unit is used to connect to the optical module; wherein, the diagnostic isolation unit is configured to: acquire the operating data of the optical module; the operating data includes operating status data and / or operating environment data of the optical module; determine the operating status of the optical module based on the operating data of the optical module; and if the optical module is in a fault state, isolate the optical module from the fault.

[0017] This control system acquires the operating data of the optical modules by setting up a diagnostic isolation unit that is directly connected to the optical modules, promptly judges the fault status and completes fault isolation, eliminating the need for multi-level information transmission. This enables rapid fault handling, prevents the fault from escalating and causing the entire passive optical network to collapse, and meets the core requirements of industrial control scenarios for rapid location and precise isolation of network faults. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This application provides a schematic diagram of the structure of a control system according to an embodiment of the present application; Figure 2 This is a schematic diagram of the structure of a diagnostic isolation unit provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of another diagnostic isolation unit provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of another diagnostic isolation unit provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of another control system provided in an embodiment of this application; Figure 6 A flowchart of a fault diagnosis and isolation method provided for the implementation of this application. Detailed Implementation

[0020] As described earlier, in existing passive optical networks (PONs), fault diagnosis and isolation of optical modules mainly rely on switch software and OLT (Optical Line Terminal) for command control. When an optical module malfunctions, it needs to be reported to the OLT, which then reports it to the switch. The switch then sends the fault information to the core network, which in turn sends a disconnect command to the faulty optical module via the switch and OLT. The faulty optical module responds to the disconnect command and disconnects from the working card. This fault reporting and disconnect command transmission requires a relatively long link, resulting in a long diagnosis and isolation time. Furthermore, since the faulty optical module can only perform the disconnect operation after receiving the disconnect command, there is a possibility that the faulty optical module will completely fail and be unable to receive commands, thus paralyzing the PON.

[0021] In view of this, the present application provides a control system including a diagnostic isolation unit directly connected to the optical module. The diagnostic isolation unit can determine the working status of the optical module in a timely manner through the optical module's operating data, and isolate the optical module when it is in a fault state. This method eliminates the need for multi-level information transmission, enables rapid fault handling, avoids the expansion of faults or even the collapse of the entire passive optical network, and thus meets the core requirements of rapid network fault location and accurate isolation in industrial control scenarios.

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0023] Appendix Figure 1 This is a schematic diagram of the structure of a control system provided in an embodiment of this application. For example... Figure 1 As shown, the control system includes a diagnostic isolation unit 101 and a working card 102.

[0024] In this context, the working card 102 refers to a hardware board that carries service processing functions and interacts with the optical module 103 for data exchange. The working card 102 is used to connect to the optical module 103 to achieve service data transmission. It should be noted that the connection described in this embodiment can be a direct connection or an indirect connection.

[0025] The diagnostic isolation unit 101 is also configured to connect to the optical module 103, to acquire the operating data of the optical module 103, and to perform fault diagnosis based on the operating data of the optical module 103. When it is determined that the optical module 103 is in a fault state, the optical module 103 is isolated from the fault.

[0026] The operational data of the optical module 103 includes operational status data and / or operational environment data. Operational status data reflects the internal electrical or optical performance of the optical module 103. For example, operational status data includes, but is not limited to, parameters such as transmitted optical power, received optical power, operating temperature, supply voltage, bias current, and bit error rate. Operational environment data reflects the external physical conditions of the optical module 103. For example, operational environment data includes, but is not limited to, information such as temperature, humidity, vibration intensity, or electromagnetic interference level around the optical module 103. In this embodiment, the diagnostic isolation unit 101 can integrate a sensor, through which information such as temperature, humidity, vibration intensity, or electromagnetic interference level around the optical module 103 can be acquired.

[0027] After acquiring the operating data of the optical module 103, the diagnostic isolation unit 101 is further configured to determine the operating status of the optical module 103 based on this data. For example, the diagnostic isolation unit 101 can compare the currently acquired operating status data with a preset normal operating threshold range. If one or more operating status data exceed the normal operating threshold range, it can be determined that the optical module 103 is abnormal. As another example, the diagnostic isolation unit 101 can analyze the operating environment data. If one or more operating environment data exceed the normal operating threshold range, it can be determined that the optical module 103 is abnormal.

[0028] As one implementation, the diagnostic isolation unit 101 can have a built-in diagnostic algorithm used to determine whether the optical module 103 is faulty based on operating status data and / or operating environment data. Alternatively, the diagnostic isolation unit 101 can employ a rule-based expert system to comprehensively evaluate the operating data according to a predefined set of rules, thereby determining the current operating status of the optical module 103, such as normal or faulty status.

[0029] When the diagnostic isolation unit 101 determines that the optical module 103 is in a faulty state, the diagnostic isolation unit 101 is also configured to isolate the module from the fault. The purpose of fault isolation is to limit the impact of the faulty optical module 103 on the entire passive optical network and prevent the fault from spreading. As one implementation, the diagnostic isolation unit 101 can interrupt the data transmission path between the optical module 103 and the working card 102, thereby preventing the faulty optical module 103 from continuing to send abnormal data. As another implementation, the diagnostic isolation unit 101 can send a fault alarm message to the control system and simultaneously mark the faulty optical module 103 as unavailable, thereby guiding the control system to avoid using the faulty optical module 103. For example, the diagnostic isolation unit 101 can send a preset signal to the main microcontroller unit (MCU) of the working card 102, the preset signal indicating that the optical module 103 has entered a fault isolation state, at which time the working card 102 interrupts data communication with the optical module 103.

[0030] In this embodiment, the control system sets up a diagnostic isolation unit 101 directly connected to the optical module 103. The diagnostic isolation unit 101 obtains the operating data of the optical module 103, judges the fault status in a timely manner, and completes fault isolation. This eliminates the need for multi-level information transmission, enables rapid fault handling, avoids the fault from escalating and causing the entire passive optical network to collapse, and meets the core requirements of the control system for rapid location and accurate isolation of network faults.

[0031] In some of the solutions described above in this application, a diagnostic isolation unit 101 is proposed to acquire the operating data of the optical module 103, determine the working status of the optical module 103, and isolate the optical module 103 when it malfunctions. The following is in conjunction with the appendix... Figure 2 The specific structure of the diagnostic isolation unit 101 is described below. (See attached document.) Figure 2 This is a schematic diagram of the structure of a diagnostic isolation unit provided in an embodiment of this application, as shown below. Figure 2 As shown, the diagnostic isolation unit 101 includes a main controller 201 and peripheral devices 202 connected to the main controller. The peripheral devices 202 are connected to the optical module 103.

[0032] In this embodiment, the peripheral device 202 is configured to: acquire the operating data of the optical module 103 and send the operating data to the main controller 201. In one example, continuing... Figure 2The peripheral device 202 includes an environmental sensing module 202-1, a data monitoring module 202-2, and a power control module 202-3. These modules are connected to the main controller 201. The environmental sensing module 202-1 acquires the operating environment data of the optical module 103 and sends this data to the main controller 201. The data monitoring module 202-2 monitors the operating status data of the optical module 103 and sends the acquired data to the main controller 201.

[0033] The main controller 201 is configured to: determine the operating status of the optical module 103 based on its operating data; if the optical module 103 is in a fault state, send a disconnect command to the peripheral device 202; the peripheral device 202 is also configured to: disconnect the power supply to the optical module 103 in response to the disconnect command. For example, continue to... Figure 2 As shown, the main controller 201 sends a cut-off command to the power control module 202-3. After receiving the cut-off command, the power control module 202-3 cuts off the power supply to the optical module 103 (hereinafter referred to as the optical module power supply).

[0034] In one specific implementation, the peripheral device 202 may further include a main MCU interface 202-4. The main controller 201 can establish a communication connection with the main MCU in the working card 102 through the main MCU interface. In one implementation, the main controller 201 can interface with the main MCU of the working card 102 through a high-speed serializer and / or deserializer interface to meet the communication requirements of high bandwidth and low latency. In another possible implementation, the main controller 201 can also select a target interface for interface matching through the interface resources of the main MCU on the working card 102.

[0035] In another specific implementation, the peripheral device 202 may also include a protocol conversion module 202-5. The protocol conversion module 202-5 is used to provide industrial protocol conversion functions. The main controller 201 can be directly connected to the industrial bus of the control system through the protocol conversion module 202-5 to achieve seamless connection with the control system.

[0036] In practical use, the main controller 201 of the diagnostic isolation unit 101 may also malfunction. If the main controller 201 malfunctions, it cannot accurately detect and isolate the optical module 103 fault. This can lead to the optical module 103 failing to be detected and isolated in time, affecting the stable and reliable operation of the passive optical network. To address the above problems, this application also provides another diagnostic isolation unit 101. See also... Figure 2As shown, the diagnostic isolation unit 101 also includes a device monitor 202-6, which is used to monitor the operating status of the main controller 201.

[0037] In one possible implementation, the device monitor 202-6 can be a standalone hardware circuit, such as a watchdog circuit, which determines whether the main controller 201 is operating normally by periodically receiving a "feed" signal from the main controller 201. Alternatively, the device monitor 202-6 can be a software module embedded within the diagnostic isolation unit 101, which can determine the operating status of the main controller 201 by obtaining the state of its internal registers. In yet another implementation, the device monitor 202-6 can be a standalone programmable device, specifically responsible for executing monitoring logic and communicating with the main controller 201 through a specific communication interface to obtain its status information.

[0038] By adding a device monitor to the diagnostic isolation unit, anomalies in the main control can be detected promptly, and corresponding measures can be taken to avoid the risk of optical module diagnostic and isolation functions failing or malfunctioning due to main controller failure. This significantly improves the reliability and stability of the entire passive optical network fault diagnosis and isolation mechanism.

[0039] In this embodiment of the application, the main controller 201 can be an MCU, a field-programmable gate array (FPGA), or an application-specific integrated circuit (ASIC), or other computing devices with programmable capabilities. This embodiment of the application is not limited to any particular type.

[0040] In this application embodiment, the main controller can be a programmable device (e.g., a programmable chip) deployed externally to the working card, or it can be the main MCU of the backup card, or a programmable device independently deployed externally to the backup card; this application is not limited to any particular type. The backup card refers to a hardware circuit board in the control system that provides redundant backup for the working card. The function of the backup card is to quickly take over the working state of the working card and continue operation when the working card fails, thereby ensuring the continuity and reliability of the control system.

[0041] The main controller can be connected in series on the data lines of the main MCU and the optical module of the working card. For example, see attached... Figure 3 This is a schematic diagram of the structure of another diagnostic isolation unit provided in an embodiment of this application. Figure 3As shown, the main controller 201 is connected in series on the data lines of the main MCU of the working card 102 and the optical module 103. Specifically, the main controller 201 is configured with two data interfaces: one interface is connected to the MCU of the working card (A card), and the other interface is connected to the optical module 103. The main controller 201 includes a data pass-through and forwarding module, through which data can be transmitted between the MCU of the A card and the optical module 103. The main controller 201 also includes a data diagnostic module, a control module, and a power control module 202-3 for the optical module 103. The data diagnostic module can copy and analyze the transmitted data in real time. For example, when the data diagnostic module detects an abnormal data flag in the transmitted data, it determines that the optical module 103 is abnormal. The control module can perform fault isolation operation on the abnormal optical module 103. This series arrangement ensures that the programmable chip can monitor and control all data streams transmitted bidirectionally between the MCU of the working card and the optical module in real time.

[0042] In one possible implementation, the diagnostic isolation unit can also be configured as an optical module adapter. For example, as shown... Figure 4 The diagram shows a schematic of another diagnostic isolation unit provided in this application embodiment. Specifically, this diagnostic isolation unit is an optical module adapter sleeve. The optical module adapter sleeve includes two optical module interfaces, one of which can be directly inserted into the existing optical port of the working card. This means that the optical module interface of the optical module adapter sleeve matches the optical port of the working card. In this embodiment, the optical module 103 is no longer directly inserted into the optical port of the working card 102, but is directly inserted into the other optical module interface of the optical module 103 adapter sleeve. This connection method allows the optical module adapter sleeve to be connected in series between the working card and the optical module, forming an intermediate link. The optical module adapter sleeve can intercept, analyze, and control the data flow and power supply between the optical module and the working card, thereby realizing the diagnostic and isolation functions of the optical module.

[0043] In some of the solutions described above in this application, the diagnostic isolation unit includes a main controller and peripheral devices connected to the main controller. The main controller performs fault diagnosis and isolation control of the optical modules to achieve active detection and isolation of faulty optical modules in the passive optical network. Furthermore, embodiments of this application also provide another control system, which includes a working card and a backup card. The working card is configured with an independent diagnostic isolation unit (hereinafter referred to as the first diagnostic isolation unit), and the backup card is simultaneously configured with an independent diagnostic isolation unit (hereinafter referred to as the second diagnostic isolation unit).

[0044] For example, see Figure 5The diagram shown is a structural schematic of another control system provided in an embodiment of this application. In this control system, the working card is also called card A, and the backup card is also called card B. The redundant data interface of card A is connected to the redundant data interface of card B to establish a dedicated redundant communication channel between card A and card B, transmitting redundancy switching signals such as heartbeat signals, working status information, and optical module diagnostic data, so as to realize dual-card cross-monitoring and redundancy switching decisions.

[0045] Card A is configured with a first diagnostic isolation unit 501. The first diagnostic isolation unit 501 includes a first programmable chip 501-1 deployed externally to Card A, and a first peripheral device 501-2 externally connected to the first programmable chip 501-1. The first peripheral device 501-2 is configured to: acquire the operating data of the optical module and send the operating data to the first programmable chip 501-1; the first programmable chip 501-1 is configured to: determine the operating status of the optical module based on the operating data of the optical module; if the optical module is in a fault state, send a disconnect command to the first peripheral device 501-2; the first peripheral device 501-2 is also configured to: disconnect the power supply to the optical module in response to the disconnect command.

[0046] The B-card is equipped with a second diagnostic isolation unit 502. The second diagnostic isolation unit 101 includes a second programmable chip 502-1 externally deployed on the B-card and a second peripheral device 502-2 for the second programmable chip 502-1. The second peripheral device 502-2 is configured to: acquire the operating data of the backup optical module of the optical module and send the operating data of the backup optical module to the second programmable chip 502-1. The second programmable chip 502-1 is configured to: determine the operating status of the backup optical module based on the operating data of the backup optical module; if the operating status of the backup optical module is a fault state, send a cut-off command to the second peripheral device 502-2; the second peripheral device 502-2 is configured to: cut off the power supply to the backup optical module in response to the cut-off command.

[0047] The first programmable chip is an integrated circuit with programmable logic functions deployed externally to the working card. This chip can perform specific data processing, logical judgment, and control operations according to a preset program or configuration. The second programmable chip is an integrated circuit with programmable logic functions deployed externally to the backup card. Its function and implementation are similar to the first programmable chip, but it is specifically used to monitor and manage the optical modules connected to the backup card.

[0048] This application achieves parallel and independent monitoring and fault isolation of the working and backup optical modules by configuring independent diagnostic isolation units for the working and backup optical modules respectively. This design avoids the fault propagation problem that may be caused by traditional single-point control, and significantly improves the stability and availability of the entire network.

[0049] Further, see also Figure 5 As shown, the first diagnostic isolation unit 501 also includes a first device monitor 501-2-1, and the second diagnostic isolation unit 101 also includes a second device monitor 502-2-1.

[0050] In one possible implementation, a first device monitor 501-1-1 is used to monitor the operating status of the first programmable chip, and a second device monitor 501-2-1 is used to monitor the operating status of the second programmable chip. The first device monitor 501-1-1 and the second device monitor 501-2-1 are independent units for monitoring and managing the operating status of the programmable chips and corresponding cards connected to them. They can be dedicated hardware watchdog circuits, such as chips with integrated watchdog timer functions, which determine the activity of the monitored object by receiving heartbeat signals; or they can be independent microcontrollers running dedicated monitoring programs that obtain operating status information by reading the status register of the monitored chip, monitoring power supply voltage or current, or parsing specific communication protocols.

[0051] In another possible implementation, a cross-monitoring architecture can be used to avoid the risk of single-point monitoring failure. Specifically, such as... Figure 5 As shown, card A is connected to the second device monitor 501-2-1, and card B is connected to the first device monitor 501-1-1. That is, the working status of each card is detected by the device monitor on the other end of the card.

[0052] The second device monitor 501-2-1 receives the watchdog signal from card A and determines whether card A is malfunctioning based on this signal. The watchdog signal is a common mechanism used to detect system crashes or abnormal states. Card A's MCU periodically sends a watchdog signal to the second device monitor 501-2-1, indicating that it is still operating normally. If the second device monitor 501-2-1 does not receive a watchdog signal within a preset time period or receives an abnormal watchdog signal, it considers card A to be malfunctioning. For example, card A's MCU can periodically output a pulse signal with varying high and low levels as the watchdog signal. For instance, the level might toggle every 500 milliseconds, and the second device monitor 501-2-1 receives these pulse signals through its watchdog input pin. If no pulse signal toggle is detected within a preset timeout period (e.g., 1 second), the corresponding programmable chip or card is considered malfunctioning.

[0053] If card A malfunctions, the connection between card A's optical module and card A can be severed, or card A can be shut down, allowing card B to take over card A's tasks, thus achieving seamless switching.

[0054] Similarly, the first device monitor 501-1-1 receives the watchdog signal from the B card and determines whether the B card is malfunctioning based on the watchdog signal. The MCU of the B card periodically sends a watchdog signal to the first device monitor 501-1-1, indicating that it is still operating normally. If the first device monitor 501-1-1 does not receive a watchdog signal within a preset time period or the received watchdog signal is abnormal, it considers the B card to be malfunctioning. For example, the MCU of the B card can periodically output a pulse signal with high and low level changes as the watchdog signal. For example, the level toggles once every 500 milliseconds, and the first device monitor 501-1-1 receives these pulse signals through its watchdog input pin. If no pulse signal toggle is detected within a preset timeout period (e.g., 1 second), the corresponding programmable chip or card is considered malfunctioning.

[0055] If card B malfunctions, the connection between card B's optical module and card B can be severed, or card B can be shut down, allowing card A to take over the tasks of card B, thus achieving seamless switching.

[0056] This embodiment of the application achieves cross-interconnection between the primary and backup cards and the monitoring unit by connecting the working card to the second device monitor and the backup card to the first device monitor. This cross-connection provides the hardware foundation for mutual monitoring between the primary and backup cards, effectively avoiding the failure risk that may arise from "self-monitoring".

[0057] The above describes a control system. This application also provides a fault diagnosis and isolation method using the control system.

[0058] Appendix Figure 6 A flowchart illustrating a fault diagnosis and isolation method provided for the implementation of this application. Figure 6 As shown, the method includes the following steps: S610, the diagnostic isolation unit acquires the operating data of the optical module, wherein the operating data includes operating status data and / or the operating environment data of the optical module.

[0059] S620, the diagnostic isolation unit determines the working status of the optical module based on the operating data of the optical module.

[0060] S630: If the optical module is in a faulty state, the optical module is isolated from the fault.

[0061] Furthermore, in this embodiment, the fault status is also classified according to its severity in order to avoid adopting a uniform fault handling method, which may result in either over-processing of minor faults, affecting the normal operation of the passive optical network, or failure to take sufficiently effective isolation measures for serious faults, leading to the expansion of the fault's impact.

[0062] In one specific implementation, the fault levels can be divided into a first fault state, a second fault state, and a third fault state. The severity of the first fault state is less than that of the second fault state, and the severity of the second fault state is less than that of the third fault state. If the optical module is in the third fault state, the power supply to the optical module is cut off and / or the working card is switched to the backup card. The method further includes: if the optical module is in the first fault state, outputting a prompt message; if the optical module is in the second fault state, outputting a reset command to the optical module; the reset command instructs the optical module to return to its initial state.

[0063] If the optical module is in the third fault state, it indicates a serious malfunction that cannot be resolved by simple reset or prompts, potentially leading to network paralysis or data transmission interruption. Examples include internal hardware damage, optical power significantly deviating from the normal range and failing to recover, or a complete breakdown of critical communication links. Disconnecting the power supply to the optical module means stopping the supply of power to the faulty module, causing it to completely cease operation and physically isolating the source of the fault. This can be achieved through the power control module in the diagnostic isolation unit. Furthermore, the working card can be switched to a backup card to ensure service continuity.

[0064] If the optical module is in the first fault state, it indicates that the optical module has a minor abnormality or potential risk, but it has not yet affected its normal operation. For example, the optical module temperature is slightly higher than the threshold, the optical power fluctuates but is still within an acceptable range, and the bit error rate increases slightly. In this embodiment, the diagnostic isolation unit can output prompt information to alert maintenance personnel that the optical module has an abnormality. Specifically, the diagnostic isolation unit can achieve this by displaying alarms on the network management system interface, sending SMS or emails to maintenance personnel, or displaying specific status codes on local indicator lights.

[0065] If the optical module is in the second fault state, it indicates that the optical module has a recoverable fault, which may be caused by a temporary error or software anomaly. A reset operation is expected to restore normal operation. Examples include internal register errors, communication protocol stack freezes, and temporary data transmission interruptions. The diagnostic isolation unit can output a reset command to the optical module, notifying it to perform a reset operation and return to its initial operating state.

[0066] Furthermore, if the optical module is found to be fault-free, the diagnostic module does not intervene in the business data flow, but only maintains periodic monitoring of the optical module status, ambient temperature, and power supply quality, and uploads the health status information to the industrial bus through the protocol conversion module for unified operation and maintenance and status visualization management by the industrial cloud platform.

[0067] The fault diagnosis and isolation method provided in this application embodiment allows the diagnosis and isolation unit to promptly determine the fault status and complete fault isolation by acquiring the optical module's operating data. This eliminates the need for multi-level information transmission, enabling rapid fault handling and preventing the fault from escalating and causing the entire passive optical network to collapse. This meets the core requirements of the control system for rapid location and precise isolation of network faults.

[0068] According to the method provided in the embodiments of this application, this application also provides a computer program product, which includes: computer program code, which, when run on a computer, causes the computer to execute the various steps or processes performed in any of the foregoing method embodiments.

[0069] According to the method provided in the embodiments of this application, this application also provides a computer-readable storage medium storing program code, which, when run on a computer, causes the computer to execute the various steps or processes performed in any of the foregoing method embodiments.

[0070] The computer-readable storage medium may be the aforementioned volatile memory or non-volatile memory, or it may include both volatile memory and non-volatile memory.

[0071] In the embodiments of this application, the terms and English abbreviations are exemplary examples given for ease of description and should not be construed as limiting the application in any way. This application does not preclude the possibility of defining other terms that can achieve the same or similar functions in existing or future agreements.

[0072] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated.

[0073] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and equipment embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components indicated 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 modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0074] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control system, characterized in that, The control system includes: a diagnostic isolation unit and a working card; the diagnostic isolation unit is used to connect to the optical module; The diagnostic isolation unit is configured to: acquire the operating data of the optical module; the operating data includes operating status data and / or operating environment data of the optical module; determine the working status of the optical module based on the operating data of the optical module; and isolate the optical module from fault if the optical module is in a fault state.

2. The control system according to claim 1, characterized in that, The diagnostic isolation unit includes a main controller and peripheral devices connected to the main controller; the peripheral devices are also connected to the optical module. The peripheral device is configured to: acquire the operating data of the optical module and send the operating data to the main controller; The main controller is configured to: determine the operating status of the optical module based on the operating data of the optical module; and if the optical module is in a fault state, send a disconnect command to the peripheral device. The peripheral device is also configured to cut off the power supply to the optical module in response to the cut-off command.

3. The control system according to claim 1, characterized in that, The diagnostic isolation unit also includes a device monitor, which is used to monitor the operating status of the main controller.

4. The control system according to claim 2, characterized in that, The control system also includes a backup card for the working card, and the main controller is the main chip of the backup card or a programmable device peripheral of the backup card.

5. The control system according to claim 2, characterized in that, If the diagnostic isolation unit is a first diagnostic isolation unit, the main controller of the diagnostic isolation unit is a first programmable chip, the peripheral device of the main controller is a first peripheral device, and the control system further includes a spare card of the working card and a second diagnostic isolation unit, the second isolation unit being connected to the spare card and used to perform fault diagnosis and fault isolation on the optical module of the spare card; The second isolation unit includes a second programmable chip deployed externally to the backup card and a second peripheral device of the second programmable chip. The second peripheral device is configured to: acquire the operating data of the backup optical module of the optical module and send the operating data of the backup optical module to the second programmable chip; the second programmable chip is configured to: determine the operating status of the backup optical module based on the operating data of the backup optical module; if the operating status of the backup optical module is a fault state, send a cut-off command to the second peripheral device; the second peripheral device is configured to: cut off the power supply to the backup optical module in response to the cut-off command.

6. The control system according to claim 5, characterized in that, The first diagnostic isolation unit further includes a first device monitor, and the second diagnostic isolation unit further includes a second device monitor; The working card is connected to the second device monitor, and the backup card is connected to the first device monitor; the second device monitor is configured to: receive the dog feed signal from the working card, determine whether the working card is abnormal based on the dog feed signal from the working card; if the working card is abnormal, shut down the working card and turn on the backup card; The first device monitor is configured to: receive the dog feed signal from the backup card; determine whether the backup card is abnormal based on the dog feed signal from the backup card; if the backup card is abnormal, shut down the backup card and turn on the working card.

7. The control system according to claim 2, characterized in that, The main controller is the main chip or programmable device of the backup card, and the main controller is connected in series on the data line of the microcontroller (MCU) of the working card and the optical module.

8. The control system according to claim 2, characterized in that, The diagnostic isolation unit is an optical module adapter sleeve with an embedded programmable chip. The optical module adapter sleeve is located on the optical port of the working card, and the optical module is located on the optical module adapter sleeve.

9. A fault diagnosis and isolation method for a passive optical network, characterized in that, The method is applied to a control system, which includes a diagnostic isolation unit and a working card; the working card is used to connect to an optical module, and the diagnostic isolation unit is used to connect to the optical module; the method includes: The diagnostic isolation unit acquires the operating data of the optical module; the operating data includes operating status data and / or the operating environment data of the optical module; The operating status of the optical module is determined based on its operating data. If the optical module is in a faulty state, the optical module is isolated from the fault.

10. The method according to claim 9, characterized in that, If the optical module is in a faulty state, the fault isolation of the optical module includes: If the optical module is in a third fault state, disconnect the power supply to the optical module and / or switch the working card to the backup card; The method further includes: If the optical module is in a first fault state, an alert message will be output. If the optical module is in a second fault state, a reset command is output to the optical module; the reset command instructs the optical module to return to its initial state.