Method and apparatus for determining a failure type of an onu
By acquiring and analyzing alarm information from combined passive optical networks (PONs) and combining verification methods, the fault type of the ONU is automatically determined, solving the problem of long fault handling cycles in existing technologies and achieving fast and accurate fault type identification.
Patent Information
- Application Number
- CN202510123474.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-01-24
AI Technical Summary
Existing technologies lack methods for detecting ONU fault types in combined passive optical networks, resulting in long fault handling cycles and an inability to accurately distinguish between rogue ONUs and PON optical path instability.
By acquiring alarm information and using parameters such as wavelength, average alarm frequency, duration, and channel identifier in the alarm information, combined with verification methods, the fault type of the ONU is automatically determined, including continuous emission fault, random emission fault, unstable optical path fault, and single-channel fault.
It enables rapid and accurate identification of ONU fault types, shortens the fault handling cycle, and improves the accuracy of detection results.
Smart Images

Figure CN119967321B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a method and apparatus for determining the fault type of an ONU. Background Technology
[0002] In passive optical access networks (PONs), the main causes of frequent link failures in a large number of optical network units (ONUs) are: damage to optical fibers by external forces, poor optical path quality, hardware problems in the optical line terminal (OLT), or other human error. In addition to the above-mentioned faults, combined passive optical networks (Combo PONs) also suffer from other serious problems affecting the stable operation of the PON network, such as rogue ONUs (referring to ONUs that do not comply with the PON uplink time-division multiplexing basic protocol and emit light without OLT control) and unstable optical paths in the passive optical network (PON) system. Related technologies lack detection methods for these fault types in combined passive optical networks (Combo PONs), resulting in the inability to determine the fault type of the ONU and leading to long fault handling cycles.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a method and apparatus for determining the fault type of an ONU, thereby at least solving the technical problem that the lack of a method for detecting the fault type of an ONU in a combined passive optical network in related technologies necessitates manual judgment, resulting in a long fault handling cycle in combined passive optical networks.
[0005] According to one aspect of the embodiments of this application, a method for determining the fault type of an ONU is provided, comprising: acquiring alarm information generated within a preset detection period, wherein the alarm information is used to indicate that there are multiple offline optical network units (ONUs) in a ComboPON to be detected, the ComboPON simultaneously supports multiple data transmission channels, and the wavelengths of the optical fiber signals transmitted by the multiple data transmission channels are different; determining the fault type corresponding to each PON port based on the alarm information, wherein a PON port is an interface in the passive optical network that provides resources to ONUs, and each PON port provides resources to multiple ONUs, therefore... The fault types include: continuous emission fault, random emission fault, unstable optical path fault, and rogue ONUs under single-channel fault. A continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. A random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside the authorized time. A single-channel fault indicates that multiple ONUs in the offline state communicate with the PON port through a data transmission channel supported by ComboPON. Rogue ONUs include: continuous emission fault and random emission fault. For each PON port, a verification method corresponding to the fault type is used to verify the fault type of the PON port.
[0006] Optionally, the alarm information includes at least: alarm type information indicating that the ONU is continuously sending data, the average alarm frequency of each PON port, and the average alarm duration of each PON port, wherein the alarm duration is used to indicate the duration of communication interruption between the ONU and the PON port; determining the fault type corresponding to each PON port based on the alarm information includes: for each PON port, if the alarm information includes alarm type information, determining the fault type of the PON port as a continuous emission fault; if the alarm information does not include alarm type information, comparing the average alarm frequency with a preset alarm frequency to obtain a first comparison result, wherein the preset alarm frequency is the signal transmission frequency of the randomly emitting ONU, and the randomly emitting ONU... U is the ONU that sends data outside the authorized time; if the first comparison result indicates that the average alarm frequency is greater than or equal to the preset alarm frequency, the fault type corresponding to the PON port is determined to be random light emission fault; if the first comparison result indicates that the average alarm frequency is less than the preset alarm frequency, the average alarm duration is compared with the first preset duration and the second preset duration to obtain the second comparison result, wherein the second preset duration is greater than the first preset duration; the fault type corresponding to the PON port is determined according to the second comparison result, the fault channel identifier recorded in the alarm information, and the current status of the ONU that is offline, wherein the fault channel identifier is the identifier of the data transmission channel associated with the ONU that is offline.
[0007] Optionally, the fault type corresponding to the PON port is determined based on the second comparison result, the fault channel identifier recorded in the alarm information, and the current status of the ONU that is offline. This includes: if the second comparison result indicates that the average alarm duration is greater than or equal to the first preset duration and less than the second preset duration, the fault type corresponding to the PON port is determined to be an optical path instability fault; if the second comparison result indicates that the average alarm duration is greater than or equal to the second preset duration, and multiple fault channel identifiers are the same, and the current status is offline, the fault type corresponding to the PON port is determined to be a rogue ONU under a single-channel fault.
[0008] Optionally, the alarm information also includes: the target channel identifier of the data transmission channel in the offline state; and the verification result of the PON port is verified using a verification method corresponding to the fault type, including: for a first-type PON port with a fault type of continuous emission fault, obtaining the ONU registration information of the offline ONU under the first-type PON port, and verifying whether the fault type of the first-type PON port is a continuous emission fault based on the target channel identifier and the ONU registration information, wherein the ONU registration information includes at least: the first channel identifier of the data transmission channel used when the first-type PON port and the offline ONU transmit data; for a second-type PON port with a fault type of random emission fault, obtaining the first light reception detection information of the second-type PON port, and the second channel identifier of the data transmission channel associated with the offline ONU under the second-type PON port, and determining whether the fault type of the second-type PON port is a random emission fault based on the first light reception detection information and the second channel identifier, wherein the first light reception detection information includes: the first instantaneous power of the offline ONU at the first moment after the random emission fault is repaired, the second instantaneous power of the offline ONU at the second moment after the random emission fault is repaired, and the second instantaneous power of the data transmission channel associated with the offline ONU under the second-type PON port. The first bit error rate of each data transmission channel associated with the port is set at multiple times. The first time point indicates the time when the offline ONU comes online after the random light emission fault is repaired. The second time point indicates the time when the offline ONU comes online after a preset delay. For the third type PON port with an optical path instability fault, the second receive detection information of the third type PON port and the third channel identifier of the data transmission channel associated with the offline ONU under the third type PON port are obtained. The fault type of the third type PON port is verified based on the second receive detection information and the third channel identifier to determine whether the fault type is optical path instability. Stable, wherein the second optical receiving detection information includes: the third instantaneous power of the offline ONU at the first moment, the fourth instantaneous power of the offline ONU at the second moment, and multiple second bit error rates of each data transmission channel associated with the third type PON port at multiple moments; for the fourth type PON port of the rogue ONU under the fault type of single channel fault, determine the status information of all ONUs under the fourth type PON port, and verify whether the fault type of the fourth type PON port is the rogue ONU under the single channel fault based on the status information, wherein the status information includes: online, offline, authorized, unauthorized.
[0009] Optionally, verifying whether the fault type of the first type of PON port is a continuous emission fault based on the target channel identifier and ONU registration information includes: if multiple first channel identifiers in the ONU registration information indicate the same data transmission channel, and the data transmission channel indicated by the first channel identifier is the same as the data transmission channel indicated by the target channel identifier, then the fault type of the first type of PON port is determined to be a continuous emission fault; if multiple first channel identifiers indicate the same data transmission channel, and the data transmission channel indicated by the first channel identifier is different from the data transmission channel indicated by the target channel identifier, then the fault type of the first type of PON port is determined to be an optical module fault, wherein the optical module is the module used to realize the photoelectric conversion function in ComboPON; if multiple first channel identifiers indicate multiple data transmission channels, then the fault type of the first type of PON port is determined to be an optical module fault.
[0010] Optionally, determining whether the fault type of the second type PON port is a random light emission fault based on the first received light detection information and the second channel identifier includes: comparing the first average value of multiple first instantaneous powers with a preset power value, and comparing the first difference determined based on the second average value of multiple second instantaneous powers with a preset difference value to obtain a third comparison result, wherein the preset power value is the lowest instantaneous received light power under normal ONU operation; if the third comparison result indicates that the first average value is less than or equal to the preset power value, and the first difference is less than or equal to the preset difference value, the fault type of the second type PON port is determined to be poor optical path quality; if the proportion of the following results included in the third comparison result is greater than a preset proportion, the second type PON port is determined to be... The port's fault type is optical path instability: the first average value is less than or equal to the preset power value and the first difference is greater than the preset difference; if the third comparison result indicates that the first average value is greater than the preset power value and the first difference is less than or equal to the preset difference, multiple second channel identifiers are compared; if multiple second channel identifiers are not completely identical, the fault type of the second type of PON port is determined to be an optical module fault. The optical module is the module used in ComboPON to realize photoelectric conversion function; if multiple second channel identifiers are identical, the first bit error rate growth rate determined based on multiple first bit error rates is compared with the preset growth rate. If the first bit error rate growth rate is greater than the preset growth rate, the fault type of the second type of PON port is determined to be random light emission fault.
[0011] Optionally, verifying whether the fault type of the third type PON port is optical path instability based on the second received optical detection information and the third channel identifier includes: comparing the third average value of multiple third instantaneous powers with a preset power value; and comparing the second difference between the fourth average value determined based on multiple fourth instantaneous powers and the third average value with a preset difference to obtain a fourth comparison result, wherein the preset power value is the lowest instantaneous received optical power under normal ONU operation; if the fourth comparison result indicates that the third average value is less than or equal to the preset power value and the second difference is less than or equal to the preset difference, the fault type of the third type PON port is determined to be poor optical path quality; if the proportion of the following results in the fourth comparison result is greater than a preset proportion... In the following cases, the fault type of the third type PON port is determined to be optical path instability: the third average value is less than or equal to the preset power value and the second difference is greater than the preset difference; if the fourth comparison result indicates that the third average value is greater than the preset power value and the second difference is less than or equal to the preset difference, multiple third channel identifiers are compared; if multiple third channel identifiers are the same, the number of times the third type PON port appears in the alarm information within the preset detection period is determined; if the number is greater than the preset number, the second bit error rate growth rate determined based on multiple second bit error rates is compared with the preset growth rate; if the second bit error rate growth rate is greater than the preset growth rate, the fault type of the third type PON port is determined to be a rogue ONU.
[0012] Optionally, verifying whether the fault type of the fourth type PON port is a rogue ONU under a single-channel fault based on the status information includes: determining the target data transmission channel among multiple data transmission channels associated with the fourth type PON port, wherein the target data transmission channel is a data transmission channel with the same channel identifier as the target channel identifier; performing isolation operation on the first target ONU whose status is online under the target data transmission channel, and performing delay detection on the second target ONU whose status is offline under the target data transmission channel to obtain the detection result, wherein the delay detection includes: detecting the status of the second target ONU after the isolation operation is completed and after a preset delay; if the detection result indicates that there is a second target ONU whose status is online, determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault; if the detection result indicates that the status of the second target ONU is offline, obtaining the channel noise value of the target data transmission channel; if the channel noise value is greater than a preset channel noise value, determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault.
[0013] Optionally, an isolation operation is performed on the first target ONU that is online under the target data transmission channel, including: identifying a third target ONU that is unauthorized among multiple first target ONUs, and performing an authorization operation on the third target ONU, wherein the authorization operation includes: adding the serial number of the third target ONU to the authorization list of the fourth type PON port, the authorization list being used to record authorized and authenticated ONUs; after completing the authorization operation, sending a shutdown command to all first target ONUs, wherein the shutdown command is used to instruct to stop sending data to the fourth type PON port.
[0014] Optionally, verifying whether the fault type of the fourth type PON port is a rogue ONU under a single-channel fault based on the status information further includes: obtaining the channel noise value of the target data transmission channel when there is no first target ONU and no ONU in the unauthorized state among the multiple ONUs associated with the target data transmission channel; and determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault when the channel noise value is greater than a preset channel noise value.
[0015] According to another aspect of the embodiments of this application, an apparatus for determining the fault type of an ONU is also provided, comprising: an acquisition module, configured to acquire alarm information generated within a preset detection period, wherein the alarm information is used to indicate that there are multiple optical network units (ONUs) in the ComboPON to be detected that are in an offline state, the ComboPON simultaneously supports multiple data transmission channels, and the wavelengths of the optical fiber signals transmitted by the multiple data transmission channels are different; and a judgment module, configured to determine the fault type corresponding to each PON port based on the alarm information, wherein the PON port is an interface in the passive optical network that provides resources to the ONUs, and each PON port provides resources to multiple ONUs. The resources and fault types include: continuous emission fault, random emission fault, unstable optical path fault, and rogue ONUs under single-channel fault. A continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. A random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside the authorized time. A single-channel fault indicates that multiple ONUs in the offline state communicate with the PON port through a single data transmission channel supported by ComboPON. Rogue ONUs include: continuous emission fault and random emission fault. The verification module is used to verify the fault type corresponding to each PON port using a verification method corresponding to the fault type.
[0016] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, wherein a computer program is stored in the non-volatile storage medium, and the above-described method for determining the fault type of the ONU is executed by running the computer program in the device where the non-volatile storage medium is located.
[0017] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-described method for determining the fault type of the ONU through the computer program.
[0018] According to another aspect of the embodiments of this application, a computer program product is also provided, including computer instructions that, when executed by a processor, implement the steps of the method for determining the fault type of an ONU as described above.
[0019] In this embodiment, alarm information generated within a preset detection period is acquired. This alarm information indicates that multiple Optical Network Units (ONUs) in the ComboPON under test are offline. The ComboPON simultaneously supports multiple data transmission channels, each transmitting fiber optic signals with different wavelengths. The fault type corresponding to each PON port is determined based on the alarm information. A PON port is the interface in the passive optical network that provides resources to ONUs; each PON port provides resources to multiple ONUs. Fault types include: continuous emission fault, random emission fault, unstable optical path fault, and single-channel fault. Rogue ONUs under fault conditions include those with continuous emission faults and those with random emission faults, which continuously send data to the PON port. Other ONUs with offline single-channel fault indicators send data to the PON port outside of authorized times. Multiple ONUs with offline single-channel fault indicators communicate with the PON port through a single data transmission channel supported by ComboPON. Rogue ONUs include those with continuous emission faults and those with random emission faults. For each PON port, a verification method corresponding to the fault type is used to verify the fault type. By collecting and analyzing alarm information in real time, a preliminary judgment is made regarding the Combo PON. This method automates the detection of frequent ONU link outages in Combo PON, identifying the types of ONU link outages based on preliminary assessments. By executing these verification methods, the type of ONU link outage is determined again, achieving the goal of automated detection of ONU link outage types in Combo PON. This improves the speed of ONU fault type determination and shortens the fault handling cycle. Furthermore, the method of verifying the preliminary assessment results improves the accuracy of ONU fault type detection. This solves the problem of long fault handling cycles in Combo PON, which previously required manual intervention due to the lack of methods for detecting ONU fault types. Attached Figure Description
[0020] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0021] Figure 1 This is a hardware structure block diagram of a computer terminal for implementing a method for determining the fault type of an ONU, according to an embodiment of this application.
[0022] Figure 2 This is a flowchart of the steps of a method for determining the fault type of an ONU according to an embodiment of this application;
[0023] Figure 3 This is a structural diagram of an apparatus for determining the fault type of an ONU according to an embodiment of this application;
[0024] Figure 4 This is a flowchart of an apparatus for determining the fault type of an ONU according to an embodiment of this application. Detailed Implementation
[0025] 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, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] To better understand the embodiments of this application, the technical terms involved in the embodiments of this application are explained below:
[0028] Rogue ONU: This refers to an optical network unit (ONU) that does not comply with the uplink time-division multiplexing basic protocol of the PON network, causing it to emit light without the control of the OLT; including continuous emission (i.e., long emission), random emission, etc. When there is a rogue ONU in a Combo PON, it will occupy the uplink signal of other ONUs, causing other ONUs to frequently drop or go online / offline.
[0029] PON optical path instability refers to the instability of the optical distribution network (ODN) in a passive optical network. In the ODN, the attenuation value of the PON port optical signal from the transmitting end to the receiving end through the optical cable, optical branching device (OBD), various optical connectors, etc. is generally fixed. However, if the optical cable through which the optical signal is transmitted in the passive optical access network has problems such as critical bending of the optical path, abnormal optical cable laying duct causing optical cable sinking, aging of optical connectors, or water ingress, it will cause regular or irregular changes in the optical signal (generally, the optical attenuation is too large and then recovers in a short time). The above-mentioned phenomena are PON optical path instability.
[0030] In related technologies, methods for automating ONU fault type identification first analyze system alarms to determine if users frequently experience disconnections. Then, by logging into the device or network management system, they collect ONU performance indicators such as current light reception and bit error rate to determine if light reception is abnormal. If light reception is normal, logging into the device and shutting down the ONU to check if the bit error rate disappears resolves some rogue ONU faults and real-time monitoring of low light reception. This method can handle some abnormal fiber breakage (i.e., fiber interruption) alarms caused by random light emission and poor optical path quality. However, PON optical path instability faults involve several fiber breaks per day, each lasting for a period of time, resulting in frequent batch fiber breaks as observed in network management. Based on existing technology and practical experience, these faults are often easily identified as rogue ONU faults. Some rogue ONU faults also frequently trigger link disconnection alarms daily. Existing technologies only perform routine monitoring of ONU light reception, which cannot accurately distinguish between rogue ONUs and PON optical path instability faults. Therefore, related technologies cannot detect the type of ONU fault in passive optical networks. To address this issue, this application provides a related solution, detailed below.
[0031] According to an embodiment of this application, a method embodiment for determining the fault type of an ONU is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0032] The methods and embodiments provided in this application can be executed on mobile terminals, computer terminals, or similar computing devices. Figure 1 A hardware block diagram of a computer terminal for implementing a method to determine the fault type of an ONU is shown. Figure 1 As shown, the computer terminal 10 may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0033] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10. As involved in the embodiments of this application, the data processing circuits serve as a form of processor control (e.g., selection of a variable resistor termination path connected to an interface).
[0034] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for determining the fault type of the ONU in the embodiments of this application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the aforementioned method for determining the fault type of the ONU. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0035] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0036] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10.
[0037] This application provides a method for determining the fault type of an ONU that can be run under the above-described operating environment. Figure 2 This is a flowchart of the steps of a method for determining the fault type of an ONU according to an embodiment of this application, as shown below. Figure 2 As shown, the method includes the following steps:
[0038] Step S202: Obtain alarm information generated within a preset detection period. The alarm information is used to indicate that there are multiple offline optical network units (ONUs) in the Combo PON to be detected. The Combo PON supports multiple data transmission channels at the same time, and the wavelengths of the optical fiber signals transmitted by the multiple data transmission channels are different.
[0039] The method provided in this application is applicable to Passive Optical Networks (PONs) and is used to determine the specific fault type when a large number of ONU failures occur in a PON. It is particularly suitable for Combo PONs that simultaneously support multiple data transmission channels. Combo PONs integrate Gigabit-Capable Passive Optical Networks (GPONs) and 10 Gigabit-Capable Passive Optical Networks (XG-PON / XGS-PON). In a Combo PON system, one passive optical network unit (OLT) can simultaneously support two different PON technologies. Typically, GPON and XG-PON / XGS-PON use different wavelengths for data transmission when operating on the same optical fiber infrastructure (GPON uplink wavelengths are 1290 nm to 1330 nm, while XGPON and XGSPON uplink wavelengths are 1260 nm to 1280 nm). As described above, Combo PONs... Combo PON (Poly-Optical Network) is a passive network that simultaneously supports multiple data transmission channels for transmitting fiber optic signals of different wavelengths and at different transmission rates. When executing the method provided in this application embodiment, a preset detection period (ΔT1) (e.g., 1 hour 1 day) is pre-set. In step S202, alarm information for each PON port in the Combo PON network is periodically acquired from the alarm acquisition system to preliminarily determine the fault type of each PON port based on the alarm information.
[0040] Step S204: Determine the fault type corresponding to each PON port based on the alarm information. The PON port is the interface that provides resources to ONUs in the passive optical network. Each PON port provides resources to multiple ONUs. The fault types include: continuous emission fault, random emission fault, unstable optical path fault, and rogue ONUs under single-channel fault. Continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. Random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside the authorized time. Single-channel fault indicates that multiple ONUs in the offline state communicate with the PON port through a data transmission channel supported by ComboPON. Rogue ONUs include: continuous emission fault and random emission fault.
[0041] Each alarm message collected in step S202 records an optical network unit (ONU). The ONUs recorded in the alarm messages are all ONUs that have been detected as being offline. In this embodiment, the ONUs that are offline as indicated in the alarm messages are the offline ONUs mentioned below in this embodiment. A passive optical network (PON) architecture includes multiple PON ports located on an optical line terminal unit (OLT) for connecting to an optical distribution network (ODN). Each PON port can connect to multiple optical fibers, which in turn connect to multiple online unit (ONU) units (ONUs) via the ODN. The PON network distributes the optical signal from one PON port to multiple ONUs (i.e., provides resources to these ONUs) through an ODN. These ONUs naturally include offline ONUs. Each PON port can simultaneously provide resources to multiple ONUs. As described above, each PON port connects to multiple ONUs. In this embodiment, the fault type of the ONU under the PON port (i.e., the ONU communicating with the PON network through the PON port) is determined as the fault type corresponding to that PON port. Therefore, when multiple ONUs under a PON port experience various types of faults, the fault type corresponding to that PON port is multiple. In this embodiment, the ONU fault types include the following categories: fault types indicating that the ONU emits light without the control of the OLT (i.e., rogue ONUs), such as a long-lighting fault indicating that the ONU continuously emits light (i.e., continuously transmits data), and a random lighting fault indicating that the ONU emits light outside the specified time (i.e., transmits data outside the protocol time); and ONU fault types also include ONU offline caused by optical path instability in the PON network, such as an unstable data transmission channel (i.e., unstable optical path) for data transmission between the ONU and the PON port. Furthermore, ONU fault types also include single-channel faults, which refer to multiple offline ONUs communicating with the PON port through a single data transmission channel in the Combo PON; single-channel faults may be caused by various reasons such as hardware defects and optical path quality. In this embodiment, only single-channel faults caused by rogue ONUs (i.e., rogue ONUs under single-channel faults) are considered.
[0042] Optionally, the alarm information includes at least: alarm type information indicating that the ONU is continuously sending data, the average alarm frequency of each PON port, and the average alarm duration of each PON port, wherein the alarm duration is used to indicate the duration of communication interruption between the ONU and the PON port; determining the fault type corresponding to each PON port based on the alarm information includes: for each PON port, if the alarm information includes alarm type information, determining the fault type of the PON port as a continuous emission fault; if the alarm information does not include alarm type information, comparing the average alarm frequency with a preset alarm frequency to obtain a first comparison result, wherein the preset alarm frequency is the signal transmission frequency of the randomly emitting ONU, and the randomly emitting ONU... U is the ONU that sends data outside the authorized time; if the first comparison result indicates that the average alarm frequency is greater than or equal to the preset alarm frequency, the fault type corresponding to the PON port is determined to be random light emission fault; if the first comparison result indicates that the average alarm frequency is less than the preset alarm frequency, the average alarm duration is compared with the first preset duration and the second preset duration to obtain the second comparison result, wherein the second preset duration is greater than the first preset duration; the fault type corresponding to the PON port is determined according to the second comparison result, the fault channel identifier recorded in the alarm information, and the current status of the ONU that is offline, wherein the fault channel identifier is the identifier of the data transmission channel associated with the ONU that is offline.
[0043] In this embodiment of the application, if the ONU experiences a continuous light emission fault (i.e., an alarm type information indicating that the ONU continues to send data), it can be detected and identified. After the continuous light emission fault is detected and identified, the alarm type "continuous light emission alarm" (i.e., an alarm type information indicating that the ONU continues to send data) will be recorded in the alarm information. That is, the alarm information will record the alarm type information of continuous light emission fault. In addition, the alarm information also records the average alarm frequency and average alarm duration for each PON port. The average alarm frequency for each PON port is the ratio of the number of ONU disconnection alarms (i.e., offline alarms) occurring under each PON port within the detection period (△T1) to the number of ONUs communicating with that PON port. The average alarm duration for each PON port is used to measure the average duration for which an ONU is in an offline state (disconnection state), and is the ratio of the total alarm duration of that PON port to the number of ONUs supported by that PON port (i.e., the number of ONUs communicating with that PON port). When an ONU disconnects or goes offline, the communication between the ONU and the PON port is interrupted, and the ONU is in a fault state as defined in this application embodiment. Therefore, in this embodiment, when initially determining the fault type of the PON port based on the alarm information, firstly, it is determined whether the alarm type information is recorded in the alarm information. If the alarm type information is recorded in the PON port alarm information, the fault type of the PON port is determined to be the alarm type recorded in the alarm information. Since only continuous light alarms can be directly detected and identified, if the alarm type information is recorded in the alarm information, the fault type of the PON port is initially determined to be a continuous light alarm fault. If the alarm type information is not recorded in the alarm information, it indicates that the fault type of the PON port is not a continuous light alarm fault. In this case, it is necessary to further determine the fault type of the PON port based on the average alarm frequency and the average alarm duration. Specifically, the average alarm frequency is first used to determine the fault type, and then the average alarm duration is used to determine those PON ports whose fault type cannot be determined by the average alarm frequency.The specific process is as follows: First, compare the average alarm frequency recorded in the alarm information with the preset alarm frequency threshold F1 (i.e., the preset alarm frequency). If the comparison result of the alarm frequency (i.e., the first comparison result) indicates that the average alarm frequency is greater than or equal to the preset alarm frequency F1, it is initially determined that the fault type corresponding to the PON port is random light emission fault. If the comparison result of the alarm frequency (i.e., the first comparison result) indicates that the average alarm frequency is less than the preset alarm frequency F1, the fault type is further determined based on the average alarm duration. The average alarm duration is compared with the shortest duration of ONU disconnection / offline when the PON optical path is unstable (i.e., the first preset duration T1) and the shortest duration of ONU disconnection / offline when a single channel fault occurs (i.e., the second preset duration T2). The fault type of the PON port is determined based on the duration comparison result (i.e., the second comparison result), the current state of the ONU indicated as offline in the alarm information (i.e., the current state), and the identifier of the data transmission channel used by the ONU indicated as offline in the alarm information (i.e., the fault channel identifier). Since the duration of ONU disconnection / offline due to PON optical path instability is usually shorter than the duration of ONU disconnection / offline under single-channel fault, in this embodiment of the application, the second preset duration T2 is set to be much longer than the first preset duration. For example, T1 is set to 1 minute and T2 is set to 30 minutes.
[0044] According to some optional embodiments of this application, the fault type corresponding to the PON port is determined based on the second comparison result, the fault channel identifier recorded in the alarm information, and the current status of the ONU that is offline. This includes: if the second comparison result indicates that the average alarm duration is greater than or equal to the first preset duration and less than the second preset duration, the fault type corresponding to the PON port is determined to be an optical path instability fault; if the second comparison result indicates that the average alarm duration is greater than or equal to the second preset duration, and multiple fault channel identifiers are the same, and the current status is offline, the fault type corresponding to the PON port is determined to be a rogue ONU under a single-channel fault.
[0045] In this embodiment, if the duration comparison result (i.e., the second comparison result) indicates that the average alarm duration is greater than or equal to the first preset duration T1 and less than the second preset duration T2, the fault type corresponding to the PON port is initially determined to be an optical path instability fault (i.e., PON optical path instability). If the duration comparison result (i.e., the second comparison result) indicates that the average alarm duration is greater than or equal to the second preset duration T2, then the current state of the ONU indicated as offline in the alarm information (i.e., the current state) and the multiple fault channel identifiers mentioned in the previous embodiment are further considered. If the multiple fault channel identifiers are the same, it indicates that the ONUs indicated as offline in the alarm information are all using the same data transmission channel with Combon. If an ONU indicating an offline status in a PON network is still offline at the current moment, it indicates that the ONU fault has not been recovered. Then, if the following three conditions are met simultaneously: the average alarm duration is greater than or equal to the second preset duration T2, the fault channel identifier is the same, and the ONU indicating an offline status in the alarm message is still offline at the current moment, then it is preliminarily determined that the fault type corresponding to the PON port is a rogue ONU under a single-channel fault.
[0046] Step S206: For each PON port, the corresponding fault type is verified using a verification method that corresponds to the fault type.
[0047] In step S204, the type of ONU fault is initially determined based on the alarm information. After determining the fault type of each PON port based on the fault type of the ONU under each PON port, in step S206, the preliminary judgment result of the fault type of each PON port is verified using the verification method corresponding to the fault type, so as to finally determine which type or types of faults have occurred in the ONU of the PON port. For example, if all offline ONUs under a certain PON port are determined to be of the same fault type in the preliminary judgment, only the verification method corresponding to one fault type is used during verification. If multiple fault types are determined for offline ONUs under a certain PON port in the preliminary judgment, the verification method for each fault type is used to verify the PON port during verification.
[0048] Optionally, the alarm information also includes: the target channel identifier of the data transmission channel in the offline state; and the verification result of the PON port is verified using a verification method corresponding to the fault type, including: for a first-type PON port with a fault type of continuous emission fault, obtaining the ONU registration information of the offline ONU under the first-type PON port, and verifying whether the fault type of the first-type PON port is a continuous emission fault based on the target channel identifier and the ONU registration information, wherein the ONU registration information includes at least: the first channel identifier of the data transmission channel used when the first-type PON port and the offline ONU transmit data; for a second-type PON port with a fault type of random emission fault, obtaining the first light reception detection information of the second-type PON port, and the second channel identifier of the data transmission channel associated with the offline ONU under the second-type PON port, and determining whether the fault type of the second-type PON port is a random emission fault based on the first light reception detection information and the second channel identifier, wherein the first light reception detection information includes: the first instantaneous power of the offline ONU at the first moment after the random emission fault is repaired, the second instantaneous power of the offline ONU at the second moment after the random emission fault is repaired, and the second instantaneous power of the data transmission channel associated with the offline ONU under the second-type PON port. The first bit error rate of each data transmission channel associated with the port is set at multiple times. The first time point indicates the time when the offline ONU comes online after the random light emission fault is repaired. The second time point indicates the time when the offline ONU comes online after a preset delay. For the third type PON port with an optical path instability fault, the second receive detection information of the third type PON port and the third channel identifier of the data transmission channel associated with the offline ONU under the third type PON port are obtained. The fault type of the third type PON port is verified based on the second receive detection information and the third channel identifier to determine whether the fault type is optical path instability. Stable, wherein the second optical receiving detection information includes: the third instantaneous power of the offline ONU at the first moment, the fourth instantaneous power of the offline ONU at the second moment, and multiple second bit error rates of each data transmission channel associated with the third type PON port at multiple moments; for the fourth type PON port of the rogue ONU under the fault type of single channel fault, determine the status information of all ONUs under the fourth type PON port, and verify whether the fault type of the fourth type PON port is the rogue ONU under the single channel fault based on the status information, wherein the status information includes: online, offline, authorized, unauthorized.
[0049] In this embodiment, the accuracy of the fault type judgment result is improved by verifying the preliminary judgment result obtained in step S204. In this embodiment, different verification methods are set for different preliminary judgment results, which is actually setting corresponding verification methods for different fault types. Specifically, in this embodiment, for a PON port suspected of continuous light emission fault (i.e., the first type of PON port), the ONU registration information is obtained through a network management protocol, such as Simple Network Management Protocol (SNMP). Based on the information recorded in the registration information, the identification information of the data transmission channel used by the first type of PON port for data transmission (i.e., the first channel identifier), and the channel identifier recorded in the alarm information (i.e., the target channel identifier), the fault type of the first type of PON port is verified as a continuous light emission fault. The target channel identifier is the identifier of the data transmission channel that generated the alarm information (indicating that the data transmission channel cannot transmit data, etc., a data transmission channel fault). The ONU's registration information records at least the channel identifier of the ONU's registered channel (e.g., channel 1, channel 2, or channel A, channel B, etc.). The data transmission channel used is the one that the ONU registered. For PON ports suspected of erratic light emission (i.e., Type II PON ports), the optical reception detection information (i.e., first optical reception detection information) of the Type II PON port after fault repair and the identification information of the data transmission channel used for data transmission of the Type II PON port (i.e., second channel identification) are collected. The collected optical reception detection information (i.e., first optical reception detection information) of the Type II PON port after fault repair includes: the instantaneous optical power (i.e., first instantaneous power) of the offline ONU under the Type II PON port at the moment when it returns to the online state after fault repair (i.e., the first moment). The first optical reception detection information includes, but is not limited to, the second instantaneous power (i.e., the second moment, which is each detection moment within a certain period of time after the offline ONU under the second type PON port is restored to the online state after the fault is repaired (i.e., a preset delay time, such as 1 hour or 2 hours). Additionally, the first optical reception detection information also includes the bit error rate (i.e., the first bit error rate) of each data transmission channel associated with the second type PON port. In this embodiment, the optical reception fluctuation and bit error rate changes of the second type PON port after fault repair are analyzed using the aforementioned first optical reception detection information and the second channel identifier to verify whether the second type PON port has a random optical emission fault.For PON ports suspected of having unstable optical paths (i.e., Type III PON ports), the identification information of the data transmission channel used for data transmission on the Type III PON port (i.e., the third channel identifier) is obtained. The received optical detection information (i.e., the second received optical detection information) of the Type III PON port is continuously detected and collected, including: the instantaneous power (i.e., the third instantaneous power) of the offline ONU under the Type III PON port at the moment it returns to online status after fault repair (i.e., the first moment); and a period of time (i.e., the preset delay) after the offline ONU under the Type III PON port returns to online status after fault repair. The second optical reception detection information includes the instantaneous power (i.e., the fourth instantaneous power) at each moment within a long period (e.g., 1 hour, 2 hours) (i.e., the second moment, which is each detection moment after the system has returned to the online state; the interval between detection moments can be set to 1 minute, 2 minutes, 5 minutes, etc.); in addition, the second optical reception detection information also includes the bit error rate (i.e., the second bit error rate) of each data transmission channel associated with the third type PON port; by analyzing the optical reception status of the third type PON port through the above second optical reception detection information and the third channel identifier, the stability of the optical path is determined, thereby verifying whether there is an optical path instability fault in the third type PON port. For the PON port (i.e., Type 4 PON port) of a rogue ONU suspected of having a single-channel fault, the presence of an unauthorized ONU is confirmed by analyzing the status (information) of the ONU under the Type 4 PON port. The presence of a single-channel fault in the Type 4 PON port is verified based on the status of the ONU under the Type 4 PON port. The status (information) of the ONU under the Type 4 PON port includes four categories: online, offline, authorized, and unauthorized. Authorized means the ONU has previously registered under the Type 4 PON port, and the Type 4 PON port accepts communication from authorized ONUs. Unauthorized means the ONU has never registered under the Type 4 PON port, and the Type 4 PON port typically does not accept communication from unauthorized ONUs. However, in some cases, an unauthorized ONU may, due to equipment failure or malicious behavior, arbitrarily or continuously send data in unauthorized time slots. This phenomenon is called a rogue ONU fault. In this case, the unauthorized ONU is actually communicating with the network. Therefore, detecting unauthorized ONUs communicating with the Type 4 PON port is achievable in this embodiment of the application.
[0050] According to some optional embodiments of this application, verifying whether the fault type of the first type of PON port is a continuous emission fault based on the target channel identifier and ONU registration information includes: determining the fault type of the first type of PON port as a continuous emission fault when multiple first channel identifiers in the ONU registration information indicate the same data transmission channel, and the data transmission channel indicated by the first channel identifier is the same as the data transmission channel indicated by the target channel identifier; determining the fault type of the first type of PON port as an optical module fault when multiple first channel identifiers indicate the same data transmission channel, and the data transmission channel indicated by the first channel identifier is different from the data transmission channel indicated by the target channel identifier; and determining the fault type of the first type of PON port as an optical module fault when multiple first channel identifiers indicate multiple data transmission channels.
[0051] If, during the preliminary judgment process in step S204, the preliminary judgment result for all ONUs under a certain PON port is a continuous light emission fault, then the preliminary judgment result for the fault type of that PON port is a continuous light emission fault. In this embodiment, the PON port with a preliminary judgment result of continuous light emission fault is denoted as a first-type PON port, and the ONU registration information of the ONUs under the first-type PON port is used as the verification information for the continuous light emission fault. When verifying whether a PON port (i.e., a first-type PON port) initially judged as having a continuous light emission fault exists, the following method is used: Query the registration information of each faulty ONU (i.e., offline ONU) when registering its data transmission channel (i.e., ONU registration information) in the ONU registration information of the offline ONUs under the first-type PON port obtained in the above embodiment. Obtain the identification information of the data transmission channel recorded in the ONU registration information (i.e., the first channel identifier). Each (first) channel identifier refers to a data transmission channel. If these (first) data transmission channel identifiers all point to the same data transmission channel, for example, all point to a GPON channel, or all point to an XGPON / XGSPON channel, and the channel identifiers (i.e., the first channel identifiers) associated with these faulty ONUs are consistent with the channel identifiers (i.e., the target channel identifiers) of the alarm channel, then the fault is judged to be a continuous light emission fault. Otherwise, if the faulty ONU list (including multiple channel identifiers) contains both GPON channel identifiers and XGPON / XGSPON channel identifiers, or if multiple first channel identifiers indicate the same data transmission channel, but the first channel identifier is inconsistent with the (target) channel identifier of the alarm channel, then it is determined that the optical module in the OLT is faulty; the aforementioned optical module is the module used to realize the photoelectric conversion function in the Combo PON.
[0052] According to some optional embodiments of this application, determining whether the fault type of the second type PON port is a random light emission fault based on the first light reception detection information and the second channel identifier includes: comparing a first average value of multiple first instantaneous powers with a preset power value; and comparing a first difference determined based on the second average value of multiple second instantaneous powers and the first average value with a preset difference to obtain a third comparison result, wherein the preset power value is the lowest instantaneous light reception power under normal ONU operation; if the third comparison result indicates that the first average value is less than or equal to the preset power value and the first difference is less than or equal to the preset difference, determining the fault type of the second type PON port as poor optical path quality; if the proportion of the following results included in the third comparison result is greater than a preset proportion, determining the first... The fault type of the Type II PON port is optical path instability: the first average value is less than or equal to the preset power value and the first difference is greater than the preset difference; if the third comparison result indicates that the first average value is greater than the preset power value and the first difference is less than or equal to the preset difference, multiple second channel identifiers are compared; if multiple second channel identifiers are not completely identical, the fault type of the Type II PON port is determined to be an optical module failure. The optical module is the module used to realize photoelectric conversion function in ComboPON; if multiple second channel identifiers are identical, the first bit error rate growth rate determined based on multiple first bit error rates is compared with the preset growth rate. If the first bit error rate growth rate is greater than the preset growth rate, the fault type of the Type II PON port is determined to be random light emission failure.
[0053] If, during the preliminary judgment process in step S204, the preliminary judgment result for all ONUs under a certain PON port is a random light emission fault, then the preliminary judgment result for the fault type of that PON port is a random light emission fault. In this embodiment, the PON port with a preliminary judgment result of random light emission fault is denoted as a second type PON port. In this embodiment, for the PON port whose initial judgment fault type is random light emission fault (i.e., the second type PON port), after the ONU random light emission fault is recovered, continuous light reception detection is performed. The obtained light reception detection information (i.e., the first light reception detection information) and the identifier of the data transmission channel used by the second type PON port when transmitting data (i.e., the second channel identifier) are used as verification information to verify the random light emission fault. When verifying the fault type of the second type PON port, the instantaneous light reception power of the offline ONU under the (second type) PON port after the fault is recovered is used to verify whether the offline ONU has stable light reception and no abnormalities after the fault is recovered. The bit error rate of the data transmission channel associated with the second type PON port is used to assist in judging whether there is a random light emission fault under the fault of a rogue ONU. Specifically, the method for determining whether an offline ONU has stable and normal light reception after fault recovery is as follows: The instantaneous received light power (i.e., the first instantaneous power) at the moment when multiple offline ONUs under the (Type II) PON port return to online status (i.e., the first moment) is used to determine whether the offline ONU has stable light reception after fault recovery. The average of the multiple first instantaneous received light powers of the multiple offline ONUs (i.e., the first average value) is compared with the lowest instantaneous received light power under normal ONU operation (i.e., the preset power value). If the first average value is greater than the preset power value (for example, it can be set to -26 dBm), it indicates that the offline ONU under the Type II PON port has normal light reception after fault recovery; otherwise, if the first average value is less than or equal to the preset power value, it indicates that the offline ONU under the Type II PON port has abnormal light reception after fault recovery. Simultaneously, based on the instantaneous received optical power (i.e., second instantaneous power) at each (second) moment within a certain period (i.e., the preset delay time) after multiple offline ONUs under the (second type) PON port return to the online state, it is determined whether the offline ONUs under the second type PON port have stable optical reception after fault recovery: The average value of multiple second instantaneous received optical power (i.e., second average value) is compared with the difference (i.e., first average value) between the average value of multiple first instantaneous power corresponding to the multiple offline ONUs mentioned above and a preset difference (e.g., 2 dB). This difference (i.e., first difference) is the maximum fluctuation range of instantaneous received optical power under normal ONU operation. If the first difference is less than or equal to the preset difference, it indicates that the offline ONU has stable optical reception after fault recovery; otherwise, if the first difference is greater than the preset difference, it indicates that the offline ONU has unstable optical reception after fault recovery.In this embodiment, the two fault types of poor optical path quality and unstable optical path can be determined solely by judging whether the offline ONU receives light normally and stably after fault recovery. Therefore, when verifying whether the second type of PON port is a random light emission fault, the above two comparisons are first performed: comparing the first average value with the preset power value and comparing the first difference with the preset difference. The final comparison result (i.e., the third comparison result) containing the results of the above two comparisons is output. When the third comparison result contains the following result: abnormal light reception (i.e., the first average value is less than or equal to the preset power value) but stable light reception (i.e., the first difference is less than or equal to the preset difference), the verification result is that the fault type of the second type of PON port is not a random light emission fault, but a poor optical path quality fault. When the third comparison result contains the following result: abnormal light reception (i.e., the first average value is less than or equal to the preset power value) and unstable optical path (the first difference is greater than the preset difference), and the proportion of offline ONUs with unstable optical paths to the total number of offline ONUs is greater than a preset proportion (e.g., 80%), the verification result is that the fault type of the second type of PON port is not a random light emission fault, but an unstable optical path fault. Furthermore, if the third comparison result indicates that the light reception is normal (i.e., the first average value is greater than the preset power value) and the optical path is stable (i.e., the first difference is less than or equal to the preset difference), the second channel identifier is used for auxiliary verification, as follows: If multiple second channel identifiers are not completely identical, it means that multiple second channel identifiers indicate multiple data transmission channels (for example, there is a channel identifier indicating XGPON and also a channel identifier indicating XGSPON). This indicates that the offline ONU uses different data transmission channels to communicate with the second type of PON port. In this case, the verification result is that the fault type of the second type of PON port is not random light emission fault, but a fault in the optical module used to realize the photoelectric conversion function in the Combo PON.If multiple second channel identifiers are identical, it indicates that these second channel identifiers all point to the same data transmission channel (e.g., all pointing to XGPON or XGSPON). This means that the offline ONUs all use the same data transmission channel to communicate with the second type of PON port. In this case, the (first) bit error rate of the data transmission channel used by these offline ONUs to communicate with the second type of PON port at multiple different times is obtained. The bit error rate of the data transmission channel associated with the second type of PON port is used to assist in determining whether it is a random light emission fault. The method is as follows: In this embodiment, the multiple (first) bit error rates obtained are the bit error rates of the data transmission channel associated with the second type of PON port at multiple different times (including multiple times before the fault and multiple times after the fault recovery). The multiple bit error rates are arranged from early to late according to their corresponding detection times, and the (first) bit error rate growth rate is determined based on the bit error rates at these multiple different times. If the bit error rate continues to increase and exceeds the preset growth rate threshold (i.e., the preset growth rate), the verification result is that the fault type of the second type of PON port is a random light emission fault; otherwise, the verification result is that the fault type of the second type of PON port is not a random light emission fault.
[0054] According to some optional embodiments of this application, verifying whether the fault type of the third type PON port is optical path instability based on the second received light detection information and the third channel identifier includes: comparing the third average value of multiple third instantaneous powers with a preset power value; and comparing the second difference between the fourth average value determined based on multiple fourth instantaneous powers and the third average value with a preset difference to obtain a fourth comparison result, wherein the preset power value is the lowest instantaneous received light power under normal ONU operation; if the fourth comparison result indicates that the third average value is less than or equal to the preset power value and the second difference is less than or equal to the preset difference, the fault type of the third type PON port is determined to be poor optical path quality; if the proportion of the following results in the fourth comparison result is greater than the preset value, the fault type of the third type PON port is determined to be poor optical path quality. Under the given ratio, the fault type of the third type PON port is determined to be optical path instability: the third average value is less than or equal to the preset power value and the second difference is greater than the preset difference; if the fourth comparison result indicates that the third average value is greater than the preset power value and the second difference is less than or equal to the preset difference, multiple third channel identifiers are compared; if multiple third channel identifiers are the same, the number of times the third type PON port appears in the alarm information within the preset detection period is determined; if the number is greater than the preset number, the second bit error rate growth rate determined based on multiple second bit error rates is compared with the preset growth rate; if the second bit error rate growth rate is greater than the preset growth rate, the fault type of the third type PON port is determined to be a rogue ONU.
[0055] If, during the preliminary judgment process in step S204, the preliminary judgment result for all ONUs under a certain PON port is optical path instability, then the preliminary judgment result for the fault type of that PON port is optical path instability. In this embodiment, the PON port with the preliminary judgment result of optical path instability is recorded as a third-type PON port. Since, in this embodiment, instantaneous received optical power and bit error rate growth rate are used as verification conditions when verifying random light emission faults and optical path instability faults, in this embodiment, for the PON port whose initial fault type is optical path instability (i.e., the third-type PON port), after the ONU optical path instability is recovered, continuous light reception detection is performed. The obtained light reception detection information (i.e., the second light reception detection information) and the identifier of the data transmission channel used by the third-type PON port when transmitting data (i.e., the third channel identifier) are used as verification information to perform optical path instability verification. Similar to the process of verifying random light emission faults, when verifying the fault type of the third-type PON port, the instantaneous received optical power of the offline ONU under the (third-type) PON port after fault recovery is used to verify whether the offline ONU has stable light reception and no abnormalities after fault recovery. Specifically, the method for determining whether an offline ONU has stable and normal light reception after fault recovery is as follows: The instantaneous received light power (i.e., the third instantaneous power) at the moment when multiple offline ONUs under the (Category III) PON port return to online status (i.e., the first moment) is used to determine whether the offline ONU has stable light reception after fault recovery. The average of the multiple third instantaneous received light powers of the multiple offline ONUs (i.e., the third average value) is compared with the lowest instantaneous received light power under normal ONU operation (i.e., the preset power value). If the third average value is greater than the preset power value (for example, it can be set to -26 dBm), it indicates that the offline ONU under the Category III PON port has normal light reception after fault recovery; otherwise, if the third average value is less than or equal to the preset power value, it indicates that the offline ONU under the Category III PON port has abnormal light reception after fault recovery. Simultaneously, based on the instantaneous received optical power (i.e., the fourth instantaneous power) at each (second) moment within a certain period (i.e., the preset delay time) after multiple offline ONUs under the (third type) PON port return to the online state, it is determined whether the offline ONUs under the third type PON port have stable optical reception after the fault is recovered: The average value of multiple fourth instantaneous received optical power (i.e., the fourth average value) is compared with the difference (i.e., the second difference value) between the average value of multiple third instantaneous power corresponding to the multiple offline ONUs (i.e., the third average value) and the preset difference value (e.g., 2 dB). This difference value (i.e., the second difference value) is the maximum fluctuation range of instantaneous received optical power under normal ONU operation. If the second difference value is less than or equal to the preset difference value, it indicates that the offline ONU has stable optical reception after the fault is recovered; otherwise, if the second difference value is greater than the preset difference value, it indicates that the offline ONU has unstable optical reception after the fault is recovered.Since the two fault types of poor optical path quality and optical path instability can be determined simply by judging whether the offline ONU's light reception is stable or abnormal after fault recovery, the above two comparisons are still performed first when verifying whether the third type of PON port is a random light emission fault. That is, comparing the third average value with the preset power value and comparing the second difference with the preset difference, and outputting the final comparison result containing the results of the above two comparisons (i.e., the fourth comparison result). When the result included in the fourth comparison result is: abnormal light reception (i.e., the third average value is less than or equal to the preset power value) but stable light reception (i.e., the second difference is less than or equal to the preset difference), the verification result is that the fault type of the third type of PON port is not optical path instability, but poor optical path quality. When the fourth comparison result includes the following results: abnormal light reception (i.e., the third average value is less than or equal to the preset power value) and optical path instability (i.e., the second difference is greater than the preset difference), and the proportion of offline ONUs with unstable optical paths is greater than the preset proportion (e.g., 80%), the verification result is that the fault type of the third type of PON port is optical path instability. Furthermore, if the fourth comparison result indicates normal light reception (i.e., the third average value is greater than the preset power value) and stable light reception (i.e., the second difference is less than or equal to the preset difference), the third channel identifier is used for auxiliary verification, as follows: If multiple third channel identifiers are the same, it means that these third channel identifiers all indicate the same data transmission channel (e.g., all indicate XGPON or XGSPON), indicating that the offline ONUs all use the same data transmission channel to communicate with the third type PON port. At this time, the number of times the third type PON port is alarmed within the preset detection period is determined (when the PON port is alarmed, the PON port identifier appears in the alarm information). When the number of times the third type PON port is alarmed within the preset detection period is greater than the preset number, the data transmission between these offline ONUs and the third type PON port is then obtained. The (second) bit error rate of the data transmission channel used for communication by the third-type PON port at multiple different times is used to assist in determining whether it is a rogue ONU. The method is as follows: In this embodiment, the multiple (second) bit error rates are the bit error rates of the data transmission channel associated with the third-type PON port at multiple different times (including multiple times before the fault and multiple times after the fault recovery). The multiple bit error rates are arranged from earliest to latest according to their corresponding detection times, and the (second) bit error rate growth rate is determined based on the bit error rates at these multiple different times. If the bit error rate continues to increase and exceeds the preset growth rate threshold (i.e., the preset growth rate), the verification result is that the fault type of the third-type PON port is a rogue ONU. If the verification result is different from each of the above situations, the fault type corresponding to the PON port does not belong to any of the four fault types that can be judged in this embodiment (rogue ONU under continuous emission fault, random emission fault, unstable optical path, and single-channel fault).
[0056] Furthermore, as mentioned above, when verifying faulty PON ports initially classified as type 2 (i.e., random light emission fault) and type 3 (i.e., unstable optical path fault), it is necessary to use received light detection information (first received light detection information and second received light detection information). This received light detection information is obtained by performing instantaneous continuous received light detection on offline ONUs under different PON ports. In this embodiment, the method for performing instantaneous continuous received light detection on offline ONUs is as follows: First, a link break alarm is detected on the offline ONU. At the same time as detecting the link break fault recovery alarm, its instantaneous received light power (i.e., first instantaneous received light power) is collected. If the collection is successful, the instantaneous received light power of the offline ONU within a time interval (1-2 hours) is collected and recorded via SNMP at minute-level (1-5 minutes) intervals. When performing the method for performing instantaneous continuous received light detection, the monitoring time frequency interval, monitoring time, and low received light setting value (i.e., preset power value) can be set according to the actual requirements for optical path detection and the performance of the equipment.
[0057] According to some optional embodiments of this application, verifying whether the fault type of the fourth type PON port is a rogue ONU under a single-channel fault based on status information includes: determining a target data transmission channel among multiple data transmission channels associated with the fourth type PON port, wherein the target data transmission channel is a data transmission channel with the same channel identifier as the target channel identifier; performing an isolation operation on a first target ONU whose status is online under the target data transmission channel, and performing a delay detection on a second target ONU whose status is offline under the target data transmission channel to obtain a detection result, wherein the delay detection includes: detecting the status of the second target ONU after the isolation operation is completed and a preset delay has elapsed; if the detection result indicates that there is a second target ONU whose status is online, determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault; if the detection result indicates that the status of the second target ONU is offline, obtaining the channel noise value of the target data transmission channel; if the channel noise value is greater than a preset channel noise value, determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault.
[0058] If, during the initial judgment process in step S204, the initial judgment result for all ONUs under a certain PON port is a rogue ONU under a single-channel fault, then the initial judgment result for the fault type of that PON port is a rogue ONU under a single-channel fault. In this embodiment, the PON port with the initial judgment result of a rogue ONU under a single-channel fault is recorded as the fourth type of PON port. In this embodiment, when analyzing the PON port (i.e., the fourth type of PON port) with the initial judgment fault type of a rogue ONU under a single-channel fault, because the average disconnection time of the ONU under this fault has exceeded the set threshold time (i.e., the second preset time T2), and the offline ONUs all belong to the same channel (because the fault channel identifiers are all the same), and have not recovered (because the current state of the ONU indicated as offline in the alarm information is still offline), it indicates that the phenomenon of optical path instability is not satisfied. Therefore, it is only necessary to confirm whether the offline ONU under the fourth type of PON port is caused by a rogue ONU. If it is a rogue ONU, then the fault type of the fourth type of PON port is confirmed as a rogue ONU under a single-channel fault. When confirming whether an ONU is a rogue ONU, the status (information) of all ONUs under the Type 4 PON port is used as the verification condition. Specifically, to avoid affecting the online ONUs (i.e., the first target ONU) under the Type 4 PON port during the verification process, in this embodiment, offline ONUs (i.e., the second target ONUs) communicating with the Type 4 PON port through the fault data transmission channel under the Type 4 PON port are filtered out. Among all ONUs communicating with the Type 4 PON port through the fault data transmission channel (i.e., the target data transmission channel), the online ONUs (i.e., the first target ONUs) and the offline ONUs (i.e., the second target ONUs) are distinguished. First, the online ONUs (i.e., the first target ONUs) are isolated. After the isolation operation is completed and a preset delay (e.g., 5 minutes) has elapsed, the status of the offline ONUs (i.e., the second target ONUs) is detected. Based on the detection results of the offline ONU status detection, it is verified whether the fault type of the Type 4 PON is a rogue ONU under a single-channel fault. Among them, the faulty data transmission channel under the fourth type PON port is determined by the identifier of the data transmission channel whose status is offline (i.e., the target data channel identifier) recorded in the alarm information. The channel identifiers that are the same as the target data channel identifier are matched among all the data transmission channels associated with the fourth type PON port. The data transmission channels indicated by these channel identifiers that are the same as the target data channel identifier are the faulty data transmission channels (i.e., the target data transmission channels) under the fourth type PON port.The specific method for verifying whether the fault type of the fourth type of PON is a rogue ONU under a single-channel fault based on the test results is as follows: After a preset delay (e.g., 5 minutes), the status of the faulty ONU is detected to determine whether the faulty ONU (i.e., the second target ONU) has recovered. If the test results indicate that there is an ONU among the faulty ONUs that has recovered to an online state, then the fault is determined to be a rogue ONU fault. In other words, the verification result indicates that the fault type of the fourth type of PON port is a rogue ONU under a single-channel fault. In addition, in this embodiment of the application, after verifying that the fault type of the fourth type of PON port is a rogue ONU under a single-channel fault, the ONU with the rogue ONU fault can also be located. If, after a preset delay (e.g., 5 minutes), the faulty ONU (i.e., the second target ONU) is checked again to see if it has recovered, and the result indicates that the faulty ONU is still offline, then the OLT is logged in to check if there is an idle time slot (RSSI) under that PON port (i.e., the fourth type PON port). Alternatively, the channel noise value of the faulty channel (i.e., the target data transmission channel) under the fourth type PON port is obtained, and further verification is performed based on the channel noise value. Specifically, if a channel noise value exists and is greater than the preset channel noise value (e.g., -29dBm), it is determined to be a rogue ONU, that is, the fault type of the fourth type PON port is a rogue ONU under a single-channel fault. Otherwise, if the channel noise value is less than or equal to the preset channel noise value (e.g., -29dBm), the fault type of the fourth type PON port is determined to be an optical module fault or an optical path interruption fault.
[0059] Optionally, an isolation operation is performed on the first target ONU that is online under the target data transmission channel, including: identifying a third target ONU that is unauthorized among multiple first target ONUs, and performing an authorization operation on the third target ONU, wherein the authorization operation includes: adding the serial number of the third target ONU to the authorization list of the fourth type PON port, the authorization list being used to record authorized and authenticated ONUs; after completing the authorization operation, sending a shutdown command to all first target ONUs, wherein the shutdown command is used to instruct to stop sending data to the fourth type PON port.
[0060] To avoid affecting the online ONUs (i.e., the first target ONU) under the faulty data transmission channel (i.e., the target data transmission channel), in this embodiment, the online ONUs under the faulty data channel are shut down by issuing a shutdown command (isolate). However, the shutdown command can only control authorized ONUs and cannot control unauthorized ONUs. Therefore, to avoid the presence of unauthorized ONUs among the online ONUs (i.e., the first target ONU), in this embodiment, the unauthorized ONUs (i.e., the third target ONU) among the online ONUs (i.e., the first target ONU) are first determined based on the status information, and then authorized operations are performed on them to ensure that all online ONUs can be isolated. The authorization process for unauthorized ONUs (i.e., the third target ONU) is as follows: First, the unauthorized ONUs are authorized and authenticated. For example, this can be achieved by adding the serial number of the unauthorized ONU to the authorization list of the Type 4 PON port. The authorization list is used to record authorized and authenticated ONUs (representing ONU identifiers). In other words, all ONUs (representing ONU identifiers) recorded in the authorization list are considered authorized and authenticated, allowing compliant communication with the Type 4 PON port. After the authorization operation is performed on the unauthorized ONUs, all online ONUs under the fault data channel are in an authorized state. At this time, a shutdown command (isolate) can be issued to all online ONUs under the fault data channel, shutting down all online ONUs under the fault data channel (i.e., the first target ONU). This reduces the number of ONUs that need to be tested when verifying the fault type of the Type 4 PON port, and reduces the time spent verifying the Type 4 PON port.
[0061] Optionally, verifying whether the fault type of the fourth type PON port is a rogue ONU under a single-channel fault based on the status information further includes: obtaining the channel noise value of the target data transmission channel when there is no first target ONU and no ONU in the unauthorized state among the multiple ONUs associated with the target data transmission channel; and determining that the fault type of the fourth type PON port is a rogue ONU under a single-channel fault when the channel noise value is greater than a preset channel noise value.
[0062] In this embodiment, continuing the above embodiments, if the status (information) of all ONUs associated with the faulty data channel (i.e., the target data transmission channel) under the fourth type PON port is queried, and the result is that there is no online ONU (i.e., the first target ONU) among the ONUs associated with the faulty data channel, and there is no unauthorized ONU among the ONUs associated with the faulty data channel (here, the unauthorized ONU is not distinguished by whether it is online or not, it means that there is no unauthorized ONU among all ONUs communicating with the fourth type PON port through the faulty data channel), then the OLT of the Combo PON network is also logged to check whether there is an idle time slot (RSSI) under the PON port (i.e., the fourth type PON port), or the channel noise value of the faulty data channel (i.e., the target data transmission channel) is obtained, and further verification is performed based on the channel noise value; specifically, if there is a channel noise value and it is greater than the preset channel noise value (e.g., -29dBm), it is judged to be a rogue ONU, that is, the fault type of the fourth type PON port is a single-channel fault. Otherwise, if the channel noise value is less than or equal to the preset channel noise value (e.g., -29dBm), the fault type of the Type 4 PON port is determined to be an optical module fault or an optical path interruption fault. All ONUs associated with the aforementioned faulty data channel (i.e., the target data transmission channel) refer to ONUs that communicate with the Type 4 PON port through the faulty data channel.
[0063] Through the above steps, a highly accurate judgment of the types of ONU link failures in a Combo PON network can be achieved. By automatically collecting and analyzing alarm information, the efficiency of fault diagnosis can be significantly improved, and the time and workload of manual alarm analysis can be reduced. Especially when dealing with a large number and frequent ONU link failures, it is possible to quickly make preliminary judgments and further verify them, reduce manual time for fault handling, lower maintenance costs, improve the user network experience, and reduce the time users are affected by faults.
[0064] Figure 3 This is a structural diagram of a device for determining the fault type of an ONU according to an embodiment of this application, such as... Figure 3As shown, the fault type device includes: an acquisition module 30, used to acquire alarm information generated within a preset detection period, wherein the alarm information indicates that there are multiple offline optical network units (ONUs) in the ComboPON to be tested, and the ComboPON simultaneously supports multiple data transmission channels with different wavelengths of fiber optic signals transmitted through these channels; and a judgment module 32, used to determine the fault type corresponding to each PON port based on the alarm information, wherein the PON port is the interface in the passive optical network that provides resources to the ONUs, and each PON port provides resources to multiple ONUs, and the fault types include... Rogue ONUs are categorized into three types: continuous emission fault, random emission fault, unstable optical path fault, and single-channel fault. A continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. A random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside of the authorized time. A single-channel fault indicates that multiple ONUs in an offline state communicate with the PON port through a single data transmission channel supported by ComboPON. Rogue ONUs include those with continuous emission faults and random emission faults. Verification module 34 is used to verify the fault type corresponding to each PON port using a verification method corresponding to the fault type.
[0065] It should be noted that, Figure 3 Preferred embodiments of the shown examples can be found in [reference needed]. Figure 2 The relevant descriptions of the embodiments shown will not be repeated here.
[0066] Figure 4 This is a flowchart of the process for determining the fault type of the ONU, such as... Figure 4 As shown, the device for determining the fault type of an ONU, when analyzing the fault type of an ONU in a Combo PON, collects alarm information from the acquisition module 30 during the detection period ΔT1, indicating that there are multiple ONU disconnection alarms under each PON port in the Combo PON. The alarm information indicates that the ONU is disconnected and is offline. The acquisition module 30 transmits the alarm information to the judgment module 32, which preliminarily determines the fault type of the ONU under each PON port based on the alarm information. Specifically, for example... Figure 4As shown, if a large number of ONUs disconnect at a certain PON port during a certain period of time, the acquisition module 30 receives alarm information from the Combo PON network and performs periodic analysis with time △T1 as the period; the judgment module 32 judges whether there is a long-light-emitting ONU alarm. If there is a long-light-emitting alarm, the PON port is judged to be of type 1 (long-light-emitting fault). A further proposed solution involves setting a preset alarm frequency F1, a first preset duration T1, and a second preset duration T2 for alarm analysis. For PON ports that do not belong to type 1, further analysis is conducted. If multiple ONUs on the PON port experience frequent link disconnection alarms within the specified period (i.e., the average ONU alarm frequency is greater than or equal to the preset alarm frequency F1), the PON port is classified as type 2 (random light emission fault). Then, all ONU information under the PON port, including actual registered channel information, is collected via SNMP. For PON ports that do not belong to types 1 or 2, if multiple ONUs on the PON port experience link disconnection alarms within the specified period and the average ONU alarm frequency is less than F1, while the average time of the PON port link disconnection ONU alarm is greater than T1, the PON port is classified as type 3 (PON optical path instability fault). Simultaneously, all ONU information and actual registered channel information of the PON port are collected via SNMP. A further step involves analyzing PON ports that do not belong to Type 1, Type 2, or Type 3. If a large number of ONUs on a PON port experience unrecovered link failures for a duration greater than T2 (i.e., the average alarm duration is greater than T2), the resource optical path analysis system collects ODN-related information related to the optical cable where the faulty optical path is located and combines this information with the alarm collection information to determine if there are a large number of fiber break alarms on the same cable or route nearby. If not, SNMP is used to collect all ONU information, actual registered channel information, and online information of the PON port. If the faulty ONUs have the same channel, such as all being GPON or all being XGPON / XGSPON, then the PON port fault is determined to be Type 4 (single-channel fault suspected to be rogue, i.e., single-channel fault). For example, assuming the faulty channel is channel 1, and all online ONUs on the PON port are on channel 2, or only one online ONU is on channel 1 and the rest are on channel 2, then the PON port fault is determined to be Type 4 (single-channel fault suspected to be rogue). After the judgment module 32 initially determines the fault type of the ONU based on the alarm information using the above methods, the verification module 34 verifies the initial judgment result of the judgment module 32. Different verification methods are used for different initial judgment results. For example, when verifying an initial fault type of Type 1 (continuous light emission fault), a comprehensive judgment and analysis is performed based on the previously collected broken link ONU information and ONU channel information to determine whether it is a continuous light emission fault. When verifying an initial fault type of Type 2 (random light emission fault), a comprehensive judgment and analysis is performed combining ONU channel information, PON port error codes, and other information to determine whether it is a random light emission fault.For initial fault type 3 (PON optical path instability fault), a comprehensive analysis is performed, combining channel information, PON port bit error rate, and other information to determine whether it is indeed a PON optical path instability fault. For initial fault type 4 (single-channel fault), a judgment and analysis is performed by automatically logging into the device to collect channel noise or idle time slot light reception of the faulty PON port, or by automatically checking for unauthorized ONUs to determine whether it is a single-channel fault.
[0067] For example, if the device automatically detects a large number of frequent ONU fiber disconnection alarms under a certain PON port, and the average number of ONU disconnections per hour is greater than 6, then it is initially judged to be a faulty light emission. The collection results are as follows:
[0068]
[0069]
[0070] Further analysis revealed that the frequently disconnected ONUs on the Combo PON port were all channel 2 (GPON) ONUs, while the ONUs in channel 1 had no disconnection alarms. Simultaneously with the fault detection, the faulty ONU list was continuously monitored for instantaneous optical reception. Due to the large amount of data, the following are partial ONU results extracted from the monitoring time (e.g., 1:-17.2 is interpreted as ONU ID1 receiving -17.2dBm). Optical power: Instantaneous optical reception recovery: ['1:-17.2dBm]. 2','6:-17.0','29:-21.7','36:-18.1','45:-18.0','54:-17.7','64:-18.8'](This indicates that the ONU received light at ID1 is -17.2dBm, the ONU received light at ID6 is -17.0dBm, the ONU received light at ID29 is -21.7dBm, the ONU received light at ID36 is -18.1dBm, and the ONU received light at ID4 is -18.8dBm.) The received light intensity of ONU ID5 was -18.0dBm, ONU ID54 was -17.7dBm, and ONU ID64 was -18.8dBm. The received light intensity of the ONUs collected from the ONU list of the faulty PON port was stable, and the average received light intensity was -18.4dBm, which is greater than the set -26dBm. Analysis of the bit error rate at this PON port determined that the bit error rate increment of channel 1 per unit time was greater than the preset bit error rate increase (ONU bit error rates for channel 2 had been filtered out). This indicates that the PON port experienced a large number of frequent ONU disconnection alarms, all from channel 1. The large number of uplink bit errors was not caused by optical path instability or poor received light signal (continuous detection after recovery showed a stable optical path with no abnormalities). Therefore, it was determined that the PON port was likely experiencing a rogue ONU fault. On-site investigation confirmed the rogue ONU fault, and the equipment and optical path were normal.
[0071] In another example, if the alarm collection system under the Operations Support Systems (OSS) collects real-time data on a PON port with multiple ONU disconnection alarms lasting longer than 30 minutes, and there are no continuously emitting rogue ONU alarms under the PON port, then the system will combine information from the alarm collection system, resource optical path analysis system, and other systems to analyze whether there are a large number of disconnection alarms with similar times in the same area. If not, then SNMP will be used to collect all ONU information, actual registered channel information, online information, and unauthorized information of the faulty PON port. Below is an example of a PON port with a large number of disconnection alarms and PON port ONU status information collected, but with no large number of alarms nearby:
[0072] Suspected rogue ONU via channel 2: Area A, C600-03 (172.200.38.241) 2-8
[0073] The following ONU IDs are recorded in the online list of the optical modem (ONU) in Channel 1: [4, 6, 8, 9, 10, 13, 14, 15, 17, 19, 20, 21, 22]; No ONU IDs are recorded in the online list of the optical modem in Channel 2 (indicating that there are no online ONUs in Channel 2), and no ONU IDs are recorded in the offline list of the optical modem in Channel 1 (indicating that there are no offline ONUs in Channel 1); The following ONU IDs are recorded in the offline list of the optical modem in Channel 2: [1, 2, 3, 5, 7, 11, 12, 18, 23]; Unauthorized optical modem information: None (indicating that there are no unauthorized ONUs in Area A). The above collected information shows that all ONUs in Channel 2 are offline, and there are no online or unauthorized ONUs in Channel 2. Therefore, the next step is to log in to the OLT to check for any idle time slot RSSI reception in a faulty channel or channel noise in a faulty channel. The results are as follows:
[0074] HJUMBZ01-C600-03#diagnose; #Log in to the command-line interface of the OLT device (HJUMBZ01-C600-03)#
[0075] Enter diagnostic mode. Return with Ctrl+Z; # Display a message informing the user that they have entered diagnostic mode and can exit using Ctrl+Z. #
[0076] Warning: This diagnosis involves the vendor's internal implementation of the product. Perform it under the vendor's guidance.
[0077] HJUMBZ01-C600-01(diag)#diag shell PFU-1 / 3 / 0; #Enter the diagnostic shell environment of a specific Physical Function Unit (PFU) board, here it is PFU-1 / 3 / 0#
[0078] HJUMBZ01-C600-01(diag-shell-PFU-1 / 3 / 0)#exe sh ftm; #Prompt message indicating successful entry into the PFU-1 / 3 / 0 diagnostic shell environment#
[0079] shell ftm, Now switch to FTMPONLP shell...; #Command execution message confirms switching to FTMPONL shell mode#
[0080] HJUMBZ01-C600-01(diag-shell-PFU-1 / 3 / 0)#exediagMacDrv_showMuxOpticalChannelInfo(7, 0xff); # In FTMPONLP shell mode, execute the command to display the internal information of all multiplexed optical channels. Parameter 7 is the device port identifier, and 0xff is the mask value used to select all channels.#
[0081] `diagMacDrv_showMuxOpticalChannelInfo(7, 0xff);` # Query information for all channels under PON port number 7.
[0082] [FTMPONLP]mask:0xff; # Displays the mask parameter for the query command; 0xff indicates querying information for all channels. #
[0083] [FTMPONLP]channel 0: #Start displaying detailed information for channel 0#
[0084] [FTMPONLP]wave_length:1577; #The wavelength of channel 0 is 1577 nanometers, consistent with the uplink wavelength of GPON#
[0085] [FTMPONLP]tx_power:6.951838; #The transmit optical power of channel 0 is 6.951838dBm#
[0086] [FTMPONLP]tx_bias:97.872002; #The bias current for channel 0 is 97.872002 mA#
[0087] [FTMPONLP]channel_rate:100; # Rate information for channel 0, a value of 100% indicates that the channel is at full speed#
[0088] [FTMPONLP]apd_noise:-40; #Channel 0 noise level is -40dBm#
[0089] [FTMPONLP]tx_fault:0; # Transmission fault flag for channel 0, a value of 0 indicates no fault detected#
[0090] [FTMPONLP]los_status:1; # Signal loss status of channel 0, a value of 1 indicates that signal loss exists.#
[0091] [FTMPONLP]TEC current: 0.000000; # Current in the thermoelectric cooler of channel 0, value 0.000000. [FTMPONLP] indicates the laser temperature is stable and no cooling is required.
[0092] [FTMPONLP]support_flags:0x7f; # Support flags for channel 0, value 0x7f indicates support for multiple features or functions#
[0093] After displaying the information for channel 0, begin displaying the detailed information for channel 1.
[0094] [FTMPONLP]channel 1:#channel1#
[0095] [FTMPONLP]wave_length:1490; #wavelength is 1490nm#
[0096] [FTMPONLP]tx_power:6.415931; #The transmit optical power of channel 1 is 6.415931dBm#
[0097] [FTMPONLP]tx_bias:24.080000; #The emitter bias current of channel 1 is 24.080000mA#
[0098] [FTMPONLP]channel_rate:25; #The data transmission rate of channel 1 is 25%#
[0099] [FTMPONLP]apd_noise:-22.062000; #Channel 2 noise level is -22.062dBm, greater than -29dBm# [FTMPONLP]tx_fault:0; #Channel 1's transmit fault flag is 0, indicating the channel is working normally#
[0100] [FTMPONLP]los_status:0; # The signal loss status of channel 1 is 0, indicating that the signal is normal and there is no loss.#
[0101] [FTMPONLP]TEC current: 0.000000; # The current in the thermoelectric cooler of channel 1 is 0.000000, indicating that the laser temperature is stable and no cooling is required.#
[0102] [FTMPONLP]support_flags:0x7f; # Support flag for channel 1, value 0x7f indicates support for multiple features or functions#
[0103] [FTMPONLP]value=0=0x0; # Displays the execution status and return value of the command. A value of 0 indicates success. # [FTMPONLP]ushell command finished. # Ends the execution of the ushell command, indicating that all queries have been completed or the system is preparing to return to the previous shell environment. # The above information shows that the GPON channel under the PON port has a channel noise of approximately -22dBm, but there are no GPON online ONUs or unauthorized ONUs under this PON port. Therefore, the fault type of this PON port is determined to be a rogue ONU fault.
[0104] In another example, the alarm acquisition system collects real-time data on PON ports under Combo PON that currently have multiple ONU disconnection alarms lasting longer than 30 minutes, and there are no continuously emitting rogue ONU alarms under the PON port. Then, by combining information from the alarm acquisition system, resource optical path analysis system, and other systems, it analyzes whether there are a large number of disconnection alarms with similar times in the same area. If not, it then collects all ONU information, actual registered channel information, online information, and unauthorized information of the faulty PON port via SNMP. Below is an example of a PON port with a large number of disconnection alarms and PON port ONU status information collected, but without a large number of alarms nearby:
[0105] Suspected Channel 2 Rogue ONU: Area B C600-01 (172.200.36.13) 2-5:
[0106] The online list of the optical modem (ONU) in Channel 1 contains the following ONU IDs: [3,7,9,10,11,12,13,14,20,24,26]; the online list of the optical modem in Channel 2 does not contain any ONU IDs (indicating that there are no online ONUs in Channel 2), and the offline list of the optical modem in Channel 1 does not contain any ONU IDs (indicating that there are no offline ONUs in Channel 1); the offline list of the optical modem in Channel 2 contains the following ONU IDs: [1,2,4,5,8,17,18,22,23,27,28,30,34,35,36,37,38,39]; the unauthorized optical modem information contains the GPON channel serial number (SN): GPON SN: RTKG11111111. The collected information shows that all channels 2 are offline, and there are no online ONUs in channel 2, but there are unauthorized ONUs with the serial number (SN) RTKG11111111. Then, the ONUs are authorized to go online via their SNs, and a command to shut down the receiving light is issued to the PON port via the OLT login. For example, the following code is used to issue the command to shut down the receiving light: XHZJIA01-C600-01(config-pon)#onu-transceiver off gpon_onu-1 / 2 / 5:40.#Isolate and shut down the ONU with ONU ID 40 on PON port 1 / 2 / 5#. After deleting the authorized data and observing for 5 minutes, it was found that all ONUs on the PON port were online and there were no unauthorized ONUs. Further on-site confirmation indicated that the issue was caused by a rogue ONU due to software anomalies in user C's ONU.
[0107] This application also provides a non-volatile storage medium storing a computer program, wherein the device containing the non-volatile storage medium executes the above-described method for determining the fault type of the ONU by running the computer program.
[0108] This application also provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor is configured to execute the above-described method for determining the fault type of the ONU through the computer program.
[0109] The aforementioned non-volatile storage medium is used to store a program that performs the following functions: acquiring alarm information generated within a preset detection period, wherein the alarm information indicates that multiple Optical Network Units (ONUs) in the ComboPON under test are offline, and the ComboPON simultaneously supports multiple data transmission channels with different wavelengths of fiber optic signals transmitted through these channels; determining the fault type corresponding to each PON port based on the alarm information, wherein the PON port is the interface in the passive optical network that provides resources to the ONUs, and each PON port provides resources to multiple ONUs, and the fault types include: Rogue ONUs are categorized into those exhibiting continuous emission failure, random emission failure, unstable optical path failure, and single-channel failure. A continuous emission failure indicates that the ONU communicating with the PON port is continuously sending data to the PON port. A random emission failure indicates that the ONU communicating with the PON port is sending data to the PON port outside of the authorized time. A single-channel failure indicates that multiple ONUs in an offline state communicate with the PON port through a single data transmission channel supported by ComboPON. Rogue ONUs include those exhibiting continuous emission failure and random emission failure. For each PON port, a verification method corresponding to the fault type is used to verify the fault type of the PON port.
[0110] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the method described above for determining the fault type of an ONU.
[0111] The processor in the aforementioned electronic device is used to run a program that performs the following functions: acquiring alarm information generated within a preset detection period, wherein the alarm information indicates that there are multiple offline optical network units (ONUs) in the ComboPON under test, and the ComboPON simultaneously supports multiple data transmission channels with different wavelengths of fiber optic signals transmitted through these channels; determining the fault type corresponding to each PON port based on the alarm information, wherein the PON port is the interface in the passive optical network that provides resources to the ONUs, and each PON port provides resources to multiple ONUs, and the fault types include: Rogue ONUs are categorized into those exhibiting continuous emission failure, random emission failure, unstable optical path failure, and single-channel failure. A continuous emission failure indicates that the ONU communicating with the PON port is continuously sending data to the PON port. A random emission failure indicates that the ONU communicating with the PON port is sending data to the PON port outside of the authorized time. A single-channel failure indicates that multiple ONUs in an offline state communicate with the PON port through a single data transmission channel supported by ComboPON. Rogue ONUs include those exhibiting continuous emission failure and random emission failure. For each PON port, a verification method corresponding to the fault type is used to verify the fault type of the PON port.
[0112] It should be noted that the modules in the above-mentioned device for determining the fault type of the ONU can be program modules (e.g., a set of program instructions that implement a certain function) or hardware modules. For the latter, they can be in the following forms, but are not limited to these: each of the above modules is in the form of a processor, or the functions of each of the above modules are implemented by a processor.
[0113] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0114] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0118] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0119] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for determining the fault type of an ONU, characterized in that, include: Acquire alarm information generated within a preset detection period, wherein the alarm information is used to indicate that there are multiple optical network units (ONUs) in the Combo PON to be detected that are offline, the Combo PON simultaneously supports multiple data transmission channels, and the wavelengths of the optical fiber signals transmitted by the multiple data transmission channels are different. The fault type corresponding to each PON port is determined based on the alarm information. The PON port is the interface in the passive optical network that provides resources to the ONU. Each PON port provides resources to multiple ONUs. The fault types include: continuous emission fault, random emission fault, optical path instability fault, and rogue ONU fault under single-channel fault. The continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. The random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside the authorized time. The single-channel fault indicates that the multiple offline ONUs communicate with the PON port through one of the data transmission channels supported by the Combo PON. The rogue ONU fault includes: the continuous emission fault and the random emission fault. The alarm information includes at least: the average alarm frequency of each PON port and the average alarm duration of each PON port, wherein the alarm duration is used to indicate the duration of communication interruption between the ONU and the PON port. Determining the fault type corresponding to each PON port based on the alarm information includes: comparing the average alarm frequency with a preset alarm frequency to obtain a first comparison result, wherein the preset alarm frequency is the signal transmission frequency of the randomly emitting ONU, and the randomly emitting ONU is an ONU that sends data outside the authorized time; if the first comparison result indicates that the average alarm frequency is less than the preset alarm frequency, comparing the average alarm duration with a first preset duration and a second preset duration to obtain a second comparison result, wherein the second preset duration is greater than the first preset duration. Determining the fault type corresponding to the PON port based on the second comparison result, the fault channel identifier recorded in the alarm information, and the current status of the offline ONU includes: determining the fault type corresponding to the PON port as the optical path instability fault when the second comparison result indicates that the average alarm duration is greater than or equal to the first preset duration and less than the second preset duration; determining the fault type corresponding to the PON port as the rogue ONU fault under single-channel fault when the second comparison result indicates that the average alarm duration is greater than or equal to the second preset duration, multiple fault channel identifiers are the same, and the current status is offline, wherein the fault channel identifier is the identifier of the data transmission channel associated with the offline ONU; For each PON port, the fault type corresponding to the fault type is verified using a verification method corresponding to the fault type.
2. The method according to claim 1, characterized in that, The alarm information also includes: alarm type information instructing the ONU to continuously send data; and, based on the alarm information, determining the fault type corresponding to each PON port, further includes: For each PON port, if the alarm information includes the alarm type information, the fault type of the PON port is determined to be the continuous light emission fault; If the first comparison result indicates that the average alarm frequency is greater than or equal to the preset alarm frequency, the fault type corresponding to the PON port is determined to be the random light emission fault.
3. The method according to claim 1, characterized in that, The alarm information also includes: the target channel identifier of the data transmission channel whose status is offline; and the verification of the PON port's judgment result using a verification method corresponding to the fault type, including: For a first type of PON port with a fault type of continuous light emission fault, obtain the ONU registration information of the offline ONU under the first type of PON port, and verify whether the fault type of the first type of PON port is the continuous light emission fault according to the target channel identifier and the ONU registration information. The ONU registration information includes at least the first channel identifier of the data transmission channel used when the first type of PON port and the offline ONU transmit data. For a second type of PON port with the fault type of random light emission fault, the first light receiving detection information of the second type of PON port and the second channel identifier of the data transmission channel associated with the offline ONU under the second type of PON port are obtained. Based on the first light receiving detection information and the second channel identifier, it is determined whether the fault type of the second type of PON port is the random light emission fault. The first light receiving detection information includes: the first instantaneous power of the offline ONU at the first moment after the random light emission fault is repaired, the second instantaneous power of the offline ONU at the second moment after the random light emission fault is repaired, and multiple first bit error rates of each data transmission channel associated with the second type of PON port at multiple moments. The first moment is used to indicate the moment when the offline ONU goes online after the random light emission fault is repaired, and the second moment is used to indicate the moment when the offline ONU goes online and is delayed by a preset delay time. For a third type of PON port with the fault type of optical path instability, the second optical receiving detection information of the third type of PON port and the third channel identifier of the data transmission channel associated with the offline ONU under the third type of PON port are obtained. The fault type of the third type of PON port is verified as optical path instability based on the second optical receiving detection information and the third channel identifier. The second optical receiving detection information includes: the third instantaneous power of the offline ONU at the first moment, the fourth instantaneous power of the offline ONU at the second moment, and multiple second bit error rates of each data transmission channel associated with the third type of PON port at multiple moments. For the fourth type of PON port with a fault type of rogue ONU fault under the single-channel fault, determine the status information of all ONUs under the fourth type of PON port, and verify whether the fault type of the fourth type of PON port is a rogue ONU fault under the single-channel fault based on the status information. The status information includes: online, offline, authorized, and unauthorized.
4. The method according to claim 3, characterized in that, Verify whether the fault type of the first type of PON port is the continuous emission fault based on the target channel identifier and the ONU registration information, including: If the data transmission channels indicated by multiple first channel identifiers in the ONU registration information are the same, and the data transmission channel indicated by the first channel identifier is the same as the data transmission channel indicated by the target channel identifier, then the fault type of the first type of PON port is determined to be the continuous light emission fault. If multiple first channel identifiers indicate the same data transmission channel, and the data transmission channel indicated by the first channel identifier is different from the data transmission channel indicated by the target channel identifier, the fault type of the first type of PON port is determined to be an optical module failure, wherein the optical module is the module in the Combo PON used to implement the photoelectric conversion function. In the case where multiple first channel identifiers indicate multiple data transmission channels, the fault type of the first type of PON port is determined to be a fault in the optical module.
5. The method according to claim 3, characterized in that, Based on the first light reception detection information and the second channel identifier, determine whether the fault type of the second type of PON port is the random light emission fault, including: The first average value of multiple first instantaneous powers is compared with a preset power value, and the first difference determined based on the second average value of multiple second instantaneous powers and the first average value is compared with a preset difference to obtain a third comparison result, wherein the preset power value is the lowest instantaneous received optical power under normal ONU operation; If the third comparison result indicates that the first average value is less than or equal to the preset power value, and the first difference is less than or equal to the preset difference, then the fault type of the second type of PON port is determined to be poor optical path quality. If the proportion of the following results included in the third comparison result is greater than a preset proportion, the fault type of the second type of PON port is determined to be optical path instability: the first average value is less than or equal to the preset power value and the first difference is greater than the preset difference. If the third comparison result indicates that the first average value is greater than the preset power value and the first difference is less than or equal to the preset difference, the multiple second channel identifiers are compared. In the case where multiple second channel identifiers are not completely identical, the fault type of the second type of PON port is determined to be a fault in the optical module, wherein the optical module is the module in the Combo PON used to realize the photoelectric conversion function; When multiple second channel identifiers are identical, the first bit error rate growth rate determined based on multiple first bit error rates is compared with a preset growth rate. If the first bit error rate growth rate is greater than the preset growth rate, the fault type of the second type of PON port is determined to be the random light emission fault.
6. The method according to claim 3, characterized in that, Verify whether the fault type of the third type of PON port is optical path instability based on the second received light detection information and the third channel identifier, including: The third average value of the multiple third instantaneous powers is compared with a preset power value, and the second difference between the fourth average value determined based on the multiple fourth instantaneous powers and the third average value is compared with a preset difference to obtain a fourth comparison result, wherein the preset power value is the lowest instantaneous received light power under normal ONU operation. If the fourth comparison result indicates that the third average value is less than or equal to the preset power value, and the second difference is less than or equal to the preset difference, then the fault type of the third type of PON port is determined to be poor optical path quality. If the proportion of the following results in the fourth comparison result is greater than a preset proportion, the fault type of the third type of PON port is determined to be optical path instability: the third average value is less than or equal to the preset power value and the second difference is greater than the preset difference; If the fourth comparison result indicates that the third average value is greater than the preset power value and the second difference is less than or equal to the preset difference, the multiple third channel identifiers are compared. If multiple third channel identifiers are identical, determine the number of times the third type of PON port appears in the alarm information within the preset detection period. If the number of times is greater than the preset number, compare the second bit error rate growth rate determined based on multiple second bit error rates with the preset growth rate. If the second bit error rate growth rate is greater than the preset growth rate, determine the fault type of the third type of PON port as a rogue ONU fault.
7. The method according to claim 3, characterized in that, Verify, based on the status information, whether the fault type of the fourth type of PON port is a rogue ONU fault under the single-channel fault, including: Among the multiple data transmission channels associated with the fourth type of PON port, a target data transmission channel is determined, wherein the target data transmission channel is a data transmission channel whose channel identifier is the same as the target channel identifier; An isolation operation is performed on the first target ONU whose status is online under the target data transmission channel, and a delay detection is performed on the second target ONU whose status is offline under the target data transmission channel to obtain a detection result. The delay detection includes: detecting the status of the second target ONU after the isolation operation is completed and a preset delay has elapsed. If the detection result indicates the presence of the second target ONU in the online state, the fault type of the fourth type of PON port is determined to be a rogue ONU fault under the single-channel fault. If the detection result indicates that the second target ONU is offline, the channel noise value of the target data transmission channel is obtained; if the channel noise value is greater than the preset channel noise value, the fault type of the fourth type of PON port is determined to be a rogue ONU fault under the single-channel fault.
8. The method according to claim 7, characterized in that, Isolation operation is performed on the first target ONU whose status is online under the target data transmission channel, including: Among multiple first target ONUs, a third target ONU in an unauthorized state is identified, and an authorization operation is performed on the third target ONU. The authorization operation includes adding the serial number of the third target ONU to the authorization list of the fourth type PON port, wherein the authorization list is used to record authorized and authenticated ONUs. After the authorization operation is completed, a shutdown command is sent to all the first target ONUs, wherein the shutdown command is used to instruct the cessation of sending data to the fourth type of PON port.
9. The method according to claim 7, characterized in that, Verifying whether the fault type of the fourth type of PON port is a rogue ONU fault under the single-channel fault based on the status information also includes: If the first target ONU is not present among the multiple ONUs associated with the target data transmission channel and there is no ONU in the unauthorized state, the channel noise value of the target data transmission channel is obtained; If the channel noise value is greater than the preset channel noise value, the fault type of the fourth type of PON port is determined to be a rogue ONU fault under the single-channel fault.
10. An apparatus for determining the fault type of an ONU, characterized in that, include: The acquisition module is used to acquire alarm information generated within a preset detection period. The alarm information is used to indicate that there are multiple optical network units (ONUs) in the Combo PON to be detected that are offline. The Combo PON supports multiple data transmission channels at the same time, and the wavelengths of the optical fiber signals transmitted by the multiple data transmission channels are different. The judgment module is used to determine the fault type corresponding to each PON port based on the alarm information. The PON port is an interface in the passive optical network that provides resources to the ONUs. Each PON port provides resources to multiple ONUs. The fault types include: continuous emission fault, random emission fault, unstable optical path fault, and rogue ONU fault under single-channel fault. A continuous emission fault indicates that the ONU communicating with the PON port continuously sends data to the PON port. A random emission fault indicates that the ONU communicating with the PON port sends data to the PON port outside of the authorized time. A single-channel fault indicates that multiple offline ONUs are all communicating through the Combo... One of the data transmission channels supported by the PON communicates with the PON port. The rogue ONU faults include: the continuous light emission fault and the random light emission fault. The alarm information includes at least: the average alarm frequency of each PON port and the average alarm duration of each PON port, wherein the alarm duration is used to indicate the duration of communication interruption between the ONU and the PON port. Determining the fault type corresponding to each PON port based on the alarm information includes: comparing the average alarm frequency with a preset alarm frequency to obtain a first comparison result, wherein the preset alarm frequency is the signal transmission frequency of the random light emission ONU, and the random light emission ONU is an ONU that sends data outside the authorized time; if the first comparison result indicates that the average alarm frequency is less than the preset alarm frequency, the average alarm duration is compared with a first preset duration and a second preset duration to obtain... The second comparison result is obtained, wherein the second preset duration is greater than the first preset duration. Based on the second comparison result, the fault channel identifier recorded in the alarm information, and the current state of the offline ONU, the fault type corresponding to the PON port is determined, including: if the second comparison result indicates that the average alarm duration is greater than or equal to the first preset duration and less than the second preset duration, the fault type corresponding to the PON port is determined to be the optical path instability fault; if the second comparison result indicates that the average alarm duration is greater than or equal to the second preset duration, and multiple fault channel identifiers are the same, and the current state is offline, the fault type corresponding to the PON port is determined to be the rogue ONU fault under a single-channel fault, wherein the fault channel identifier is the identifier of the data transmission channel associated with the offline ONU. The verification module is used to verify the fault type corresponding to each PON port using a verification method corresponding to the fault type.
11. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores a computer program, wherein the device containing the non-volatile storage medium executes the method for determining the fault type of the ONU as described in any one of claims 1 to 9 by running the computer program.
12. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute, through the computer program, the method for determining the fault type of the ONU as described in any one of claims 1 to 9.
13. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the steps of the method for determining the fault type of the ONU as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for detecting and diagnosing abnormal luminous optical network unit ONU
CN105790832A
Fault diagnosis method and device, electronic equipment and computer program product
CN119052136A