A fault detection method, device, apparatus and storage medium
By detecting optical signal parameters and switching mechanisms in a multi-wavelength passive optical network (PON) system, the complex problem of locating faulty ONUs in a G/EPON communication system is solved, achieving simple and efficient faulty ONU location and service continuity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN YANGTZE OPTICAL TECH
- Filing Date
- 2022-11-23
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, G/EPON communication systems are complex and inaccurate in identifying faulty optical network units (ONUs), especially when the ONU emits abnormal light for a long time, the detection process is prone to failure, leading to service interruption.
By detecting the optical signal parameters of each wavelength channel in a multi-wavelength passive optical network (PON) system, including the duration of continuous reception of valid optical signals and the effectiveness of received optical signals, and combining preset thresholds and switching mechanisms, faulty ONUs can be accurately located.
It enables precise location of faulty ONUs, is simple to operate and has low cost, and avoids business interruption and detection complexity.
Smart Images

Figure CN115767329B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical network communication technology, and in particular to a method, apparatus, device, and storage medium for fault detection. Background Technology
[0002] In related technologies, the method for identifying faulty Optical Network Units (ONUs) in Gigabit Passive Optical Network (G / EPON) communication systems is relatively complex. It involves analyzing the signal interaction of each ONU in its allocated time slot, conducting multiple rounds of checks and comparisons, filtering out ONUs corresponding to normal time slot signals, and finally locating the abnormal ONU. When the abnormal emission time of an ONU is long, and the number of interleaved and interfered ONUs increases, the above-mentioned operation of detecting and filtering normal ONUs becomes more complex and inaccurate, potentially leading to detection failure. Therefore, finding a simple and accurate way to locate ONUs is a problem that needs to be solved. Summary of the Invention
[0003] To address the existing technical problems, the main objective of this invention is to provide a fault detection method, apparatus, device, and storage medium.
[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0005] In a first aspect, the present invention provides a fault detection method applied to a multi-wavelength passive optical network (PON) system comprising multiple optical network units (ONUs); the system supports a first wavelength channel and at least one second wavelength channel; the method includes:
[0006] Detect the first parameter of the received optical signal in each of the second wavelength channels;
[0007] Determine the third wavelength channel corresponding to the first parameter that meets the preset conditions;
[0008] In the at least one second wavelength channel, a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel is detected;
[0009] Based on the second parameter, determine whether the ONU corresponding to the third wavelength channel is a faulty ONU.
[0010] In the above scheme, determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter includes:
[0011] If the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals, then the ONU corresponding to the third wavelength channel is determined to be a faulty ONU.
[0012] When the second parameter indicates that no valid signal is received in the other wavelength channels, the fourth wavelength channel corresponding to the non-received valid signal is switched to the first wavelength channel; based on the switched first wavelength channel and the third wavelength channel, the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is determined to be a faulty ONU.
[0013] In the above scheme, determining the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the third wavelength channel includes:
[0014] The third parameter of the optical signal received by the first wavelength channel after switching and the fourth parameter of the optical signal received by the third wavelength channel are detected.
[0015] Based on the third parameter and the fourth parameter, the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is determined to be a faulty ONU.
[0016] In the above scheme, determining that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the third parameter and the fourth parameter includes:
[0017] If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal, then the ONU corresponding to the third wavelength channel is determined to be a faulty ONU.
[0018] If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal, and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal, then the ONUs corresponding to the third wavelength channel and the fourth wavelength channel are determined to be faulty ONUs.
[0019] If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal, and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal, then the ONU corresponding to the fourth wavelength channel is determined to be a faulty ONU.
[0020] In the above scheme, the first parameter includes a first duration for continuously receiving valid optical signals; determining the third wavelength channel corresponding to the first parameter that satisfies the preset conditions includes:
[0021] Determine whether the first duration is greater than a preset threshold;
[0022] If the first duration is greater than the preset threshold, it is determined that there is a first parameter that satisfies the preset condition;
[0023] Determine the third wavelength channel corresponding to the first parameter that meets the preset conditions.
[0024] In the above scheme, the method further includes:
[0025] The optical power received by each of the second wavelength channels is obtained, and the first duration is determined based on the received optical power.
[0026] In the above scheme, the method further includes:
[0027] If the first duration is less than or equal to the preset threshold, it is determined that there is no first parameter that meets the preset condition.
[0028] In the above scheme, the method further includes:
[0029] When the number of third wavelength channels corresponding to the first parameter that satisfies the preset condition is multiple, in the at least one second wavelength channel, the second parameter of the optical signal received by other wavelength channels besides the multiple third wavelength channels is detected.
[0030] Based on the second parameter, determine whether the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs.
[0031] In the above scheme, determining whether the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs based on the second parameter includes:
[0032] If the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals, then the ONUs corresponding to the plurality of third wavelength channels are determined to be faulty ONUs.
[0033] When the second parameter indicates that no valid signal is received in the other wavelength channels, the fourth wavelength channel corresponding to the non-received valid signal is switched to the first wavelength channel; based on the switched first wavelength channel and the plurality of third wavelength channels, the ONUs corresponding to the plurality of third wavelength channels and / or the fourth wavelength channel are determined to be faulty ONUs.
[0034] Secondly, the present invention also provides a fault detection device, which is applied to a multi-wavelength passive optical network (PON) system including multiple optical network units (ONUs); the system supports a first wavelength channel and at least one second wavelength channel; the device includes: a first detection unit, a first determination unit, a second detection unit, and a second determination unit, wherein,
[0035] The first detection unit is used to detect a first parameter of the optical signal received by each of the second wavelength channels;
[0036] The first determining unit is used to determine the third wavelength channel corresponding to the first parameter that meets the preset conditions;
[0037] The second detection unit is further configured to detect, in the at least one second wavelength channel, a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel;
[0038] The second determining unit is further configured to determine, based on the second parameter, whether the ONU corresponding to the third wavelength channel is a faulty ONU.
[0039] In the above scheme, the second determining unit is further configured to determine that the ONU corresponding to the third wavelength channel is a faulty ONU when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals;
[0040] In the above scheme, the device further includes a control unit, which is used to control the fourth wavelength channel corresponding to the non-received valid signal to switch to the first wavelength channel when the second parameter indicates that the other wavelength channels have not received a valid signal; and to determine that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the switched first wavelength channel and the third wavelength channel.
[0041] In the above scheme, the second detection unit is further used to detect the third parameter of the optical signal received by the first wavelength channel after switching and the fourth parameter of the optical signal received by the third wavelength channel; and to determine the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the third parameter and the fourth parameter.
[0042] In the above scheme, the second determining unit is further configured to: determine that the ONU corresponding to the third wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal; determine that both the ONUs corresponding to the third wavelength channel and the fourth wavelength channel are faulty ONUs when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal; and determine that the ONU corresponding to the fourth wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal.
[0043] In the above scheme, the device further includes a judgment unit, used to judge whether the first duration is greater than a preset threshold; if the first duration is greater than the preset threshold, to determine that there is a first parameter that satisfies the preset condition; and to determine the third wavelength channel corresponding to the first parameter that satisfies the preset condition.
[0044] In the above scheme, the device further includes an acquisition unit for acquiring the optical power received by each of the second wavelength channels and determining the first duration based on the received optical power.
[0045] In the above scheme, the first determining unit is further configured to determine that there is no first parameter that satisfies the preset condition when the first duration is less than or equal to the preset threshold.
[0046] In the above scheme, the second detection unit is further configured to, when the number of third wavelength channels corresponding to the first parameter that satisfies the preset condition is multiple, detect the second parameter of the optical signal received by other wavelength channels besides the multiple third wavelength channels in the at least one second wavelength channel; and determine whether the ONUs corresponding to the multiple third wavelength channels are faulty ONUs based on the second parameter.
[0047] In the above scheme, the second determining unit is further configured to determine that the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals.
[0048] In the above scheme, the control unit is further configured to control the fourth wavelength channel corresponding to the non-received valid signal to switch to the first wavelength channel when the second parameter indicates that the other wavelength channels have not received a valid signal; and to determine the ONU corresponding to the multiple third wavelength channels and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the multiple third wavelength channels.
[0049] Thirdly, embodiments of the present invention provide a storage medium storing a computer program; when the computer program is executed by a processor, it implements the steps of the method described in any one of the claims.
[0050] Fourthly, embodiments of the present invention provide a fault detection device, the fault detection device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor, when running the computer program, performs the steps of the method according to any one of the claims.
[0051] This invention provides a fault detection method, apparatus, device, and storage medium. It is applied to a multi-wavelength passive optical network (PON) system comprising multiple optical network units (ONUs); the system supports a first wavelength channel and at least one second wavelength channel; the method includes: detecting a first parameter of the optical signal received by each second wavelength channel; determining a third wavelength channel corresponding to the first parameter that satisfies preset conditions; detecting second parameters of the optical signals received by other wavelength channels besides the third wavelength channel in the at least one second wavelength channel; and determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameters. By employing the technical solution of this invention, and determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameters, faulty ONUs can be accurately located, with simple operation and low cost. Attached Figure Description
[0052] Figure 1 This is a flowchart illustrating a fault detection method provided in an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a wavelength channel provided in an embodiment of the present invention;
[0054] Figure 3 This is a schematic diagram of the structure of a fault detection device provided in an embodiment of the present invention;
[0055] Figure 4 This is a schematic diagram of the hardware structure of a fault detection device provided in an embodiment of the present invention. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the specific technical solutions of the invention will be further described in detail below with reference to the accompanying drawings of the embodiments of the present invention. The following embodiments are used in the present invention, but are not intended to limit the scope of the present invention.
[0057] Fiber to the Home (FTTH) access network operations have achieved large-scale commercialization. This ever-expanding commercial scale places higher quality and faster turnaround requirements on operators' operations and maintenance. Existing G / EPON access network communication systems primarily use a single fiber to transmit services at different wavelengths for uplink and downlink. In uplink unicast systems, all ONUs share the uplink channel. To prevent data transmission conflicts, the Optical Line Terminal (OLT) uses time-division multiplexing to precisely control the service transmission time of each ONU. If an ONU fails to transmit according to the time slot allocated by the OLT, uplink optical path interference will occur, resulting in a faulty ONU. For example, if the optical signal emitted by the uplink laser of ONU1 emits abnormally in time slot T1, it will inevitably interfere with the optical signal emitted by the laser of another normal ONU2 in time slot T1. This interleaving interference prevents the OLT from identifying valid information from the uplink optical path, causing service interruption. If the abnormal light emission of ONU1 cannot be relieved for a long time, it will completely occupy all the allocated time slots of the OLT, causing a large number of ONU signals to be interfered with, resulting in registration dropout / service interruption and other behaviors.
[0058] Based on the above principles, the standard E / GPON method for identifying faulty ONUs in PON networks is quite complex. A common approach is to analyze the signal interaction of each ONU within its allocated time slots, performing multiple rounds of checks and comparisons to filter out ONUs corresponding to signals in normal time slots, ultimately pinpointing the abnormal ONU. When the abnormal emission time of an ONU is long, and the number of interleaved and interfering ONUs increases, the above-mentioned operation of detecting and filtering normal ONUs becomes more complex and inaccurate, potentially leading to detection failure. Therefore, industry implementations of this function largely rely on chip technology, resulting in low accuracy and high cost.
[0059] Figure 1 This is a flowchart illustrating a fault detection method provided in an embodiment of the present invention. Figure 1 As shown, the method is applied to a multi-wavelength passive optical network (PON) system comprising multiple optical network elements; the system supports a first wavelength channel and at least one second wavelength channel; the method includes:
[0060] The first wavelength channel can be any wavelength channel described in the G / EPON IEEE / ITU-T standard, and is not limited here. As an example, the first wavelength channel can be a wavelength channel compatible with the 1310nm and 1490nm wavelengths described in the G / EPON IEEE / ITU-T standard, denoted as P0. The second wavelength channel refers to all other wavelength channels in the system besides the first wavelength channel. As an example, other wavelength channels supported in a coarse wavelength division multiplexing (CDM) system can be described as P1, P2…Pn, where n describes the maximum number of wavelength channels that can be supported in a multi-wavelength PON system. Figure 2 As shown, Figure 2 This is a schematic diagram of wavelength channels provided in an embodiment of the present invention. In the figure, 201 represents the first wavelength channel, and 202 represents the at least one second wavelength channel. The system includes an OLT and an ONU.
[0061] S101: Detect the first parameter of the received optical signal for each of the second wavelength channels.
[0062] In this embodiment, the first parameter is information about the received wavelength channel, and is not limited thereto. As an example, the first parameter can be a first duration of continuous reception of valid optical signals.
[0063] To facilitate understanding, here is an example application scenario: the duration for which all wavelength channels other than the first wavelength channel in an OLT detection system receive valid optical signals.
[0064] S102: Determine the third wavelength channel corresponding to the first parameter that meets the preset conditions;
[0065] In this embodiment, the preset condition is that the first parameter is greater than a preset threshold. As an example, the preset condition can be that the first duration of continuously receiving a valid optical signal exceeds 1 second. The third wavelength channel can be a wavelength channel that continuously receives a valid optical signal for a first duration exceeding 1 second in at least one second wavelength channel, and is not limited here. As an example, the third wavelength channel can be denoted as Px.
[0066] To facilitate understanding, here's an example scenario: if the duration of valid optical signal reception by wavelength channel Px exceeds 1 second, then a fault is determined in wavelength channel Px, indicating a problem with the ONU's emission behavior.
[0067] S103: In the at least one second wavelength channel, detect a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel.
[0068] In this embodiment, the second parameter is the signal parameter of the received wavelength channel, and is not limited thereto. As an example, the second parameter can be a valid parameter indicating whether other wavelength channels besides the third wavelength channel have received optical signals.
[0069] S104: Determine whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter.
[0070] In this embodiment, determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter can be as follows: if the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals, the ONU corresponding to the third wavelength channel is determined to be a faulty ONU; if the second parameter indicates that the optical signals received by the other wavelength channels do not receive valid signals, the fourth wavelength channel corresponding to the one that did not receive valid signals is controlled to switch to the first wavelength channel; and the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is determined to be a faulty ONU based on the switched first wavelength channel and the third wavelength channel.
[0071] In an optional embodiment of the present invention, determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter includes: determining the ONU corresponding to the third wavelength channel as a faulty ONU when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals; controlling the fourth wavelength channel corresponding to the one that did not receive a valid signal to switch to the first wavelength channel when the second parameter indicates that the optical signals received by the other wavelength channels are not valid signals; and determining the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the third wavelength channel.
[0072] In this embodiment, the fourth wavelength channel can be any wavelength channel that has not received a valid signal, and is not limited thereto. As an example, the fourth wavelength channel can be any channel that has not received a valid signal for more than 1 second, denoted as P. yThe first wavelength channel can be any wavelength channel described in the G / EPON IEEE / ITU-T standard, and is not limited here. As an example, the first wavelength channel can be a wavelength channel compatible with the 1310nm and 1490nm wavelengths described in the G / EPON IEEE / ITU-T standard, denoted as P0. The switching of the fourth wavelength channel corresponding to the channel that did not receive a valid signal to the first wavelength channel is achieved by the OLT sending a channel message between the OLT and the ONU to the ONU of the fourth wavelength channel for switching. This is not limited here; as an example, the OLT can send an Operation Administration and Maintenance (OAM) / ONU Management Control Channel (OMCC) message between the OLT and the ONU to the ONU corresponding to the fourth wavelength channel. Upon receiving the message, the ONU will switch the fourth wavelength channel to the first wavelength channel.
[0073] To facilitate understanding, here's an example application scenario: The OLT re-detects other non-Px wavelength channels. If all channel signals are normal, the ONU corresponding to the Px wavelength channel is determined to be the only faulty ONU. If no valid signal is received for more than 1 second on another wavelength channel Py, the OLT sends an extended OAM / OMCC message to the ONU corresponding to the Py wavelength channel to switch the Py wavelength channel to P0.
[0074] In an optional embodiment of the present invention, determining that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the switched first wavelength channel and the third wavelength channel includes: detecting a third parameter of the optical signal received by the switched first wavelength channel and a fourth parameter of the optical signal received by the third wavelength channel; and determining that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the third parameter and the fourth parameter.
[0075] In this embodiment, the third parameter refers to the situation where the first wavelength channel receives an optical signal after the switch, and is not limited here. As an example, the third parameter can be whether the first wavelength channel receives a valid optical signal or not. The fourth parameter refers to the situation where the third wavelength channel receives an optical signal, and is not limited here. As an example, the fourth parameter can be whether the third wavelength channel receives a valid optical signal or not.
[0076] The step of determining the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the third parameter and the fourth parameter can be as follows: If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal, the ONU corresponding to the third wavelength channel is determined to be a faulty ONU; if both the third and fourth wavelength channels are faulty ONUs, the ONU corresponding to the third wavelength channel is determined to be a faulty ONU, and the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal; if the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal, and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal, the ONU corresponding to the fourth wavelength channel is determined to be a faulty ONU.
[0077] In an optional embodiment of the present invention, determining that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the third parameter and the fourth parameter includes: determining that the ONU corresponding to the third wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal; determining that both the ONU corresponding to the third wavelength channel and the ONU corresponding to the fourth wavelength channel are faulty ONUs when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal; and determining that the ONU corresponding to the fourth wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal.
[0078] In this embodiment, the first wavelength channel after switching can be a wavelength channel described in the G / EPON IEEE / ITU-T standard, and is not limited here. As an example, the first wavelength channel can be a wavelength channel compatible with the 1310nm and 1490nm wavelengths described in the G / EPON IEEE / ITU-T standard, denoted as P0. The third wavelength channel can be a wavelength channel that continuously receives a valid optical signal for a first duration exceeding 1s in the at least one second wavelength channel, and is not limited here. As an example, the third wavelength channel can be denoted as Px. The fourth wavelength channel can be a wavelength channel that has not received a valid signal, and is not limited here. As an example, the fourth wavelength channel can be a channel that has not received a valid signal for more than 1s, denoted as Py.
[0079] To facilitate understanding, here is an example application scenario: if the P0 channel continuously receives a valid optical signal for more than 1 second and the Px channel returns to normal, then the ONU corresponding to the Py channel is determined to be the only faulty ONU; if the P0 channel does not continuously receive a valid optical signal for more than 1 second, then the ONU corresponding to the Px channel is determined to be the only faulty ONU; if both the P0 and Px channels normally receive and transmit optical signals, then the ONUs corresponding to both the Px and Py channels are determined to be faulty ONUs.
[0080] In an optional embodiment of the present invention, the first parameter includes a first duration of continuously receiving a valid optical signal; determining the third wavelength channel corresponding to the first parameter that satisfies the preset conditions includes: determining whether the first duration is greater than a preset threshold; if the first duration is greater than the preset threshold, determining that there exists a first parameter that satisfies the preset conditions; and determining the third wavelength channel corresponding to the first parameter that satisfies the preset conditions.
[0081] In this embodiment, the preset threshold is the maximum value of the first duration for which the at least one second wavelength channel continuously receives an effective optical signal. This is not limited here. As an example, the preset threshold can be a duration of 1 second for which an effective optical signal is continuously received.
[0082] To facilitate understanding, here is an example of an application scenario: when the OLT detects that the wavelength channel Px has been continuously receiving a valid optical signal for more than 1 second, it determines that the wavelength channel Px has malfunctioned and the ONU is emitting light.
[0083] In an optional embodiment of the present invention, the method further includes: acquiring the optical power received by each of the second wavelength channels, and determining the first duration based on the received optical power.
[0084] In this embodiment, obtaining the optical power received by each of the second wavelength channels and determining the first duration based on the received optical signal can be achieved by detecting the optical power received in each of the second wavelength channels and detecting the first duration of the received optical signal after receiving the optical power.
[0085] In an optional embodiment of the present invention, the method further includes: determining that there is no first parameter that satisfies the preset condition when the first duration is less than or equal to the preset threshold.
[0086] In this embodiment, if the first duration is less than or equal to the preset threshold, it can be determined that if the first parameter that does not meet the preset condition is not received, then each second wavelength channel emits light normally.
[0087] In an optional embodiment of the present invention, the method further includes: when the number of third wavelength channels corresponding to the first parameter that satisfies the preset condition is multiple, detecting the second parameter of the optical signal received by other wavelength channels besides the multiple third wavelength channels in the at least one second wavelength channel; and determining whether the ONUs corresponding to the multiple third wavelength channels are faulty ONUs based on the second parameter.
[0088] In this embodiment, the plurality of third wavelength channels are all defined by a first parameter that satisfies a preset condition. The second parameter is defined as the optical signal received by all wavelength channels other than the plurality of third wavelength channels in the at least one second wavelength channel. The second parameter is a valid parameter for determining whether other wavelength channels besides the plurality of third wavelength channels receive optical signals.
[0089] To facilitate understanding, here is an example scenario: when the OLT detects that multiple wavelength channels have been continuously receiving valid optical signals for more than 1 second, indicating a faulty ONU emission behavior, it then detects the optical signals received by other wavelength channels besides the aforementioned multiple wavelength channels.
[0090] In an optional embodiment of the present invention, determining whether the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs based on the second parameter includes: determining the ONUs corresponding to the plurality of third wavelength channels as faulty ONUs when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals; controlling the fourth wavelength channel corresponding to the one that did not receive a valid signal to switch to the first wavelength channel when the second parameter indicates that the optical signals received by the other wavelength channels do not receive a valid signal; and determining the ONUs corresponding to the plurality of third wavelength channels and / or the fourth wavelength channel as faulty ONUs based on the switched first wavelength channel and the plurality of third wavelength channels.
[0091] In this embodiment, the fourth wavelength channel can be any wavelength channel that has not received a valid signal, and this is not limited. As an example, the fourth wavelength channel can be any channel that has not received a valid signal for more than 1 second, denoted as Py.
[0092] To facilitate understanding, an application scenario is illustrated here. When the OLT detects multiple wavelength channels exhibiting faulty ONU emission behavior while other wavelength channels transmit and receive signals normally, all ONUs in the abnormal wavelength channels are determined to be faulty ONUs. If a certain wavelength channel fails to receive a valid signal for more than 1 second, that wavelength channel is switched to the P0 channel, and the same switching analysis method is used to finally locate the ONU exhibiting faulty emission behavior. Specifically, if the P0 channel exhibits faulty ONU behavior and the multiple third wavelength channels return to normal, the ONU corresponding to the Py channel is determined to be the only faulty ONU. If the P0 channel does not exhibit faulty ONU behavior, then the ONUs corresponding to each of the multiple third wavelength channels are determined to be faulty ONUs. If both the P0 channel and the multiple third wavelength channels receive optical signals normally, then the ONUs corresponding to the Py channel and the multiple third wavelength channels are determined to be faulty ONUs.
[0093] The fault detection method provided by the present invention can accurately locate faulty ONUs by determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter. The method is simple to operate and has low cost.
[0094] To understand the embodiments of the present invention, a specific application scenario of a fault detection method based on a fault ONU detection method in an access network multi-wavelength PON system is described below:
[0095] The first wavelength channel can be any wavelength channel described in the G / EPON IEEE / ITU-T standard, and is not limited here. As an example, the first wavelength channel can be a wavelength channel compatible with the 1310nm and 1490nm wavelengths described in the G / EPON IEEE / ITU-T standard, denoted as P0. The at least one second wavelength channel can be other wavelength channels supported in the coarse wavelength division multiplexing system, described as P1, P2…Pn, where n describes the maximum number of wavelength channels that can be supported in the multi-wavelength PON system.
[0096] The first parameter is the first duration of continuously receiving a valid optical signal, and the second parameter is whether a valid optical signal is received after a duration of more than 1 second.
[0097] Step 1: When the OLT enables fault ONU detection, the OLT monitors the received optical power in each non-P0 wavelength channel and detects the duration of the received optical signal in that channel.
[0098] Step 2: When the OLT detects that the received optical signal of wavelength channel Px lasts for more than 1 second, it determines that the ONU is malfunctioning and emitting light in wavelength channel Px. After detecting the above situation, the OLT will continue with the following steps to accurately locate the corresponding ONU.
[0099] Step 3: The OLT will re-detect other non-Px wavelength channels. If all channel signals are normal, then ONU1 is determined to be the only faulty ONU.
[0100] Step 4: If no valid signal is received from other wavelength channels Py for more than 1 second, the OLT sends an extended OAM / OMCC message to switch the wavelength channel of that ONU to P0, and then checks all wavelength channels again.
[0101] Step 5: If the OLT detects the following behavior after step 4:
[0102] (1) If the ONU behavior of the P0 channel is faulty and the Px channel returns to normal, then the ONU corresponding to the Py channel is determined to be the only faulty ONU.
[0103] (2) If no faulty ONU behavior occurs in channel P0, then the ONU corresponding to channel Px is determined to be the only faulty ONU;
[0104] (3) If both P0 and Px channels are normal, then the ONUs corresponding to Px and Py channels are both faulty ONUs.
[0105] Step 6: The above principle also applies to situations where multiple wavelength channels malfunction, affecting the ONU's light emission behavior.
[0106] (1) When the OLT detects that multiple wavelength channels have faulty ONUs emitting light while other wavelength channels are transmitting and receiving signals normally, it determines that all ONUs in the abnormal wavelength channels are faulty ONUs.
[0107] (2) If, when (1) above occurs, a certain wavelength channel does not receive a valid signal for more than 1 second, the ONU with faulty light emission behavior can be finally located by the auxiliary switching analysis method of the P0 channel above.
[0108] Based on the same inventive concept as described above Figure 3 This is a schematic diagram of a fault detection device provided in an embodiment of the present invention. The device 300 is applied to a multi-wavelength passive optical network (PON) system including multiple optical network units. The device 300 includes:
[0109] The first detection unit 301 is used to detect a first parameter of the optical signal received by each of the second wavelength channels;
[0110] The first determining unit 302 is used to determine the third wavelength channel corresponding to the first parameter that meets the preset conditions;
[0111] The second detection unit 303 is further configured to detect, in the at least one second wavelength channel, a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel;
[0112] The second determining unit 304 is further configured to determine, based on the second parameter, whether the ONU corresponding to the third wavelength channel is a faulty ONU.
[0113] In some embodiments, the second determining unit 304 is further configured to determine that the ONU corresponding to the third wavelength channel is a faulty ONU when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals.
[0114] In some embodiments, the device further includes a control unit, configured to control the fourth wavelength channel corresponding to the non-received valid signal to switch to the first wavelength channel when the second parameter indicates that the other wavelength channels have not received a valid signal; and to determine that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the switched first wavelength channel and the third wavelength channel.
[0115] In some embodiments, the second detection unit 303 is further configured to detect a third parameter of the optical signal received by the first wavelength channel after switching and a fourth parameter of the optical signal received by the third wavelength channel; and determine, based on the third parameter and the fourth parameter, that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU.
[0116] In some embodiments, the second determining unit 304 is further configured to: determine that the ONU corresponding to the third wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal; determine that both the ONUs corresponding to the third wavelength channel and the fourth wavelength channel are faulty ONUs when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal; and determine that the ONU corresponding to the fourth wavelength channel is a faulty ONU when the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal.
[0117] In some embodiments, the apparatus further includes a determination unit, configured to determine whether the first duration is greater than a preset threshold; if the first duration is greater than the preset threshold, determine that there exists a first parameter that satisfies a preset condition; and determine the third wavelength channel corresponding to the first parameter that satisfies the preset condition.
[0118] In some embodiments, the apparatus further includes an acquisition unit for acquiring the optical power received by each of the second wavelength channels and determining the first duration based on the received optical power.
[0119] In some embodiments, the first determining unit 302 is further configured to determine that there is no first parameter that satisfies the preset condition when the first duration is less than or equal to the preset threshold.
[0120] In some embodiments, the second detection unit 303 is further configured to, when the number of third wavelength channels corresponding to the first parameter that satisfies the preset condition is multiple, detect the second parameter of the optical signal received by other wavelength channels besides the multiple third wavelength channels in the at least one second wavelength channel; and determine whether the ONUs corresponding to the multiple third wavelength channels are faulty ONUs based on the second parameter.
[0121] In some embodiments, the second determining unit 304 is further configured to determine that the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs when the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals.
[0122] In some embodiments, the control unit is further configured to, when the second parameter indicates that no valid signal is received in the optical signal received by the other wavelength channels, control the fourth wavelength channel corresponding to the non-received valid signal to switch to the first wavelength channel; and determine the ONU corresponding to the multiple third wavelength channels and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the multiple third wavelength channels.
[0123] It should be noted that the fault detection device provided in the embodiments of the present invention and the fault detection method provided in the aforementioned embodiments of the present invention belong to the same inventive concept. The meanings of the terms appearing here have been explained in detail above and will not be repeated here.
[0124] This invention also provides a storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0125] This invention also provides a fault detection device, which includes a processor and a memory for storing a computer program that can run on the processor, wherein when the processor runs the computer program, it executes the steps of the method embodiments described above stored in the memory.
[0126] Figure 4This is a schematic diagram of the hardware structure of a fault detection device provided in an embodiment of the present invention. The fault detection device 40 includes at least one processor 401 and a memory 402. Optionally, the fault detection device 40 may further include at least one communication interface 403. The various components in the fault detection device 40 are coupled together through a bus system 404. It can be understood that the bus system 404 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 4 The general designated all buses as Bus System 404.
[0127] It is understood that memory 402 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Sync Link Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 402 described in this embodiment of the invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0128] In this embodiment of the invention, the memory 402 is used to store various types of data to support the operation of the fault detection device 40. Examples of such data include any computer program for operation on the fault detection device 40, and programs implementing the methods of this embodiment of the invention may be included in the memory 402.
[0129] The methods disclosed in the above embodiments of the present invention can be applied to processor 401, or implemented by processor 401. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory. The processor reads information from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method.
[0130] In an exemplary embodiment, the fault detection device 40 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the methods described above.
[0131] In the several embodiments provided by this invention, it should be understood that the disclosed devices and methods 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, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described above as separate components may or may not be physically separated, and 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. In addition, all functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0132] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.
Claims
1. A fault detection method, characterized in that, Applied to multi-wavelength passive optical network (PON) systems that include multiple optical network units (ONUs); The system supports a first wavelength channel and at least one second wavelength channel; the method includes: Detect the first parameter of the received optical signal in each of the second wavelength channels; Determine the third wavelength channel corresponding to the first parameter that meets the preset conditions; In the at least one second wavelength channel, a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel is detected; Based on the second parameter, determine whether the ONU corresponding to the third wavelength channel is a faulty ONU; The step of determining whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter includes: If the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals, then the ONU corresponding to the third wavelength channel is determined to be a faulty ONU. When the second parameter indicates that no valid signal is received in the other wavelength channels, the fourth wavelength channel corresponding to the non-received valid signal is switched to the first wavelength channel; based on the switched first wavelength channel and the third wavelength channel, the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is determined to be a faulty ONU.
2. The method according to claim 1, characterized in that, The step of determining the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the third wavelength channel includes: The third parameter of the optical signal received by the first wavelength channel after switching and the fourth parameter of the optical signal received by the third wavelength channel are detected. Based on the third parameter and the fourth parameter, the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is determined to be a faulty ONU.
3. The method according to claim 2, characterized in that, The step of determining that the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel is a faulty ONU based on the third parameter and the fourth parameter includes: If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal, then the ONU corresponding to the third wavelength channel is determined to be a faulty ONU. If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is a valid signal, and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal, then the ONUs corresponding to the third wavelength channel and the fourth wavelength channel are determined to be faulty ONUs. If the third parameter indicates that the optical signal received by the first wavelength channel after the switch is not a valid signal, and the fourth parameter indicates that the optical signal received by the third wavelength channel is a valid signal, then the ONU corresponding to the fourth wavelength channel is determined to be a faulty ONU.
4. The method according to claim 1, characterized in that, The first parameter includes a first duration for continuously receiving valid optical signals; The process of determining the third wavelength channel corresponding to the first parameter that meets the preset conditions includes: Determine whether the first duration is greater than a preset threshold; If the first duration is greater than the preset threshold, it is determined that there is a first parameter that satisfies the preset condition; Determine the third wavelength channel corresponding to the first parameter that meets the preset conditions.
5. The method according to claim 4, characterized in that, The method further includes: The optical power received by each of the second wavelength channels is obtained, and the first duration is determined based on the received optical power.
6. The method according to claim 4, characterized in that, The method further includes: If the first duration is less than or equal to the preset threshold, it is determined that there is no first parameter that meets the preset condition.
7. The method according to claim 1, characterized in that, The method further includes: When the number of third wavelength channels corresponding to the first parameter that satisfies the preset condition is multiple, in the at least one second wavelength channel, the second parameter of the optical signal received by other wavelength channels besides the multiple third wavelength channels is detected. Based on the second parameter, determine whether the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs.
8. The method according to claim 7, characterized in that, The step of determining whether the ONUs corresponding to the plurality of third wavelength channels are faulty ONUs based on the second parameter includes: If the second parameter indicates that the optical signals received by the other wavelength channels are all valid signals, then the ONUs corresponding to the plurality of third wavelength channels are determined to be faulty ONUs. When the second parameter indicates that no valid signal is received in the other wavelength channels, the fourth wavelength channel corresponding to the non-received valid signal is switched to the first wavelength channel; based on the switched first wavelength channel and the plurality of third wavelength channels, the ONUs corresponding to the plurality of third wavelength channels and / or the fourth wavelength channel are determined to be faulty ONUs.
9. A fault detection device, characterized in that, The device is applied to a multi-wavelength passive optical network (PON) system that includes multiple optical network units (ONUs). The system supports a first wavelength channel and at least one second wavelength channel; the device includes: a first detection unit, a first determination unit, a second detection unit, and a second determination unit, wherein, The first detection unit is used to detect a first parameter of the optical signal received by each of the second wavelength channels; The first determining unit is used to determine the third wavelength channel corresponding to the first parameter that meets the preset conditions; The second detection unit is further configured to detect, in the at least one second wavelength channel, a second parameter of the optical signal received in other wavelength channels besides the third wavelength channel; The second determining unit is further configured to determine whether the ONU corresponding to the third wavelength channel is a faulty ONU based on the second parameter; The second determining unit is further configured to: determine the ONU corresponding to the third wavelength channel as a faulty ONU when the second parameter indicates that all optical signals received by the other wavelength channels are valid signals; control the fourth wavelength channel corresponding to the one that did not receive a valid signal to switch to the first wavelength channel when the second parameter indicates that there are optical signals received by the other wavelength channels that did not receive a valid signal; and determine the ONU corresponding to the third wavelength channel and / or the fourth wavelength channel as a faulty ONU based on the switched first wavelength channel and the third wavelength channel.
10. A storage medium, characterized in that, The storage medium stores a computer program; when the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
11. A fault detection device, characterized in that, The fault detection device includes: a processor and a memory for storing a computer program that can run on the processor, wherein the processor, when running the computer program, performs the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Troubleshooting method, device, system and equipment and storage medium
CN114866139A