Method and device for detecting fouling of optical module in passive optical network (PON)

By calculating the difference between the transmitting and receiving power detection value of the optical module in the passive optical network PON and the actual value, we can determine whether there is any defilement in the optical module, and solve the problem of difficult and low efficiency in the existing technology of optical module defilement detection, and realize efficient and automatic defilement detection.

CN119697527APending Publication Date: 2025-03-25ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311248668.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In passive optical network PON, optical modules are prone to deterioration during construction or maintenance, resulting in weakening of transmission optical power or worsening of reception sensitivity. It is difficult for existing methods to efficiently determine whether optical modules are deteriorated.

Method used

By obtaining the light transmitting and receiving power detection value and actual value of the optical module, the difference between them is calculated, and abnormal judgment is made on the PON information transmission line based on the difference, thereby determining whether there is defilement in the optical module.

Benefits of technology

It enables easy determination of whether the optical module is defiled without manual judgment, improves detection efficiency and accuracy, and reduces project implementation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697527A_ABST
    Figure CN119697527A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for detecting contamination of an optical module in a passive optical network (PON), and the method comprises the steps: obtaining a receiving and transmitting optical power detection value of the optical module in the PON, and obtaining a receiving and transmitting optical power actual value of the optical module; based on the difference between the receiving and transmitting optical power detection value and the receiving and transmitting optical power actual value, abnormity judgment is carried out on an information transmission line of the PON, and the information transmission line comprises an uplink line and a downlink line; and determining whether the optical module is stained or not according to the result of the abnormality judgment. According to the method and the device, the problems of high difficulty and low efficiency of a method for directly judging whether the optical module is stained or not are solved, and the effect of easily judging whether the optical module is stained or not by judging whether the transmission line of the PON is abnormal or not is further achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular, to a method and device for detecting contamination of an optical module in a passive optical network (PON). Background Art

[0002] In the XPON network of the Passive Optical Network (PON), the common networking system consists of a network management server, an optical line terminal (OLT), an optical distribution network (ODN) and several optical network units (ONU). OLT, as a central office device, connects and aggregates multiple ONU devices through the ODN network with PON ports as units. The ONU device realizes the access of user services, thereby realizing functions such as data services and configuration management.

[0003] The central office equipment OLT sends data through the optical module of the PON line card in the downlink broadcast mode, and multiple terminal equipment ONTs send data in the corresponding time slots through the uplink channel. The uplink and downlink data are all in the form of optical signals. Therefore, the data transmission quality is strongly related to the optical module that sends / receives data and the quality and status of the ODN transmission network. Among them, the network status of the ODN network is generally considered to be a normal state after the construction is completed. The optical power and receiving sensitivity of the optical module will directly affect the quality of the optical signal.

[0004] In practice, in order to ensure the service quality, the luminous power of the corresponding PON port (i.e., the central office optical module) is generally measured on site to ensure that the luminous power reaches a certain intensity. In practice, the central office optical module is easily contaminated during construction or maintenance, resulting in dirty end faces, which leads to weaker transmission optical power or poorer receiving sensitivity. Therefore, it needs to be processed in PON systems and similar systems. At the same time, since the cleanliness inspection of the optical module end face generally requires special instruments (end face inspection mirror), the project implementation efficiency is low and the cost is high. Summary of the invention

[0005] The embodiments of the present application provide a method and device for detecting damage to an optical module in a passive optical network (PON), so as to at least solve the problem that a method for directly determining whether an optical module is damaged is difficult and inefficient.

[0006] According to one embodiment of the present application, a method for detecting damage to an optical module in a passive optical network PON is provided, comprising: obtaining a detection value of the transmit / receive light power of an optical module in the passive optical network PON, and obtaining an actual value of the transmit / receive light power of the optical module; performing an abnormality judgment on an information transmission line of the PON based on a difference between the detection value of the transmit / receive light power and the actual value of the transmit / receive light power, wherein the information transmission line comprises an uplink line and a downlink line; and determining whether the optical module is damaged according to a result of the abnormality judgment.

[0007] According to another embodiment of the present application, a device for detecting damage to an optical module in a passive optical network PON is provided, comprising: a processing module, used to obtain a detection value of the transmit / receive light power of an optical module in the passive optical network PON, and obtain an actual value of the transmit / receive light power of the optical module; a judgment module, used to perform an abnormality judgment on an information transmission line of the PON based on a difference between the detection value of the transmit / receive light power and the actual value of the transmit / receive light power, wherein the information transmission line comprises an uplink line and a downlink line; and a determination module, used to determine whether the optical module is damaged according to a result of the abnormality judgment.

[0008] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0009] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0010] Through this application, since the detection value and actual value of the transmit and receive optical power of the optical module in the PON are obtained, it is possible to judge whether there is an abnormality in the uplink and downlink lines of the PON based on the difference between the detection value and the actual value, thereby obtaining the result of the uplink and downlink line abnormality judgment, and finally determining whether the optical module is damaged based on the judgment result. The embodiment of this application uses the acquisition and calculation of the relevant data of the optical module to judge whether the optical module is damaged, and no manual judgment is required. Therefore, the problem that the method of directly judging whether the optical module is damaged is difficult and inefficient is solved, and the effect of easily judging whether the optical module is damaged by judging whether the transmission line of the PON is abnormal is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a hardware structure block diagram of a computer terminal of a method for detecting contamination of an optical module in a passive optical network PON according to an embodiment of the present application;

[0012] Figure 2 A system for detecting contamination of an optical module in a passive optical network PON according to an embodiment of the present application;

[0013] Figure 3 is a flow chart of a method for detecting contamination of an optical module in a passive optical network PON according to an embodiment of the present application;

[0014] Figure 4 It is a structural block diagram of an optical module contamination detection device in a passive optical network PON according to an embodiment of the present application;

[0015] Figure 5 It is a flow chart of a method for detecting optical module contamination in a passive optical network PON according to another embodiment of the present application. DETAILED DESCRIPTION

[0016] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0018] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a method for detecting optical module contamination in a passive optical network PON according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0019] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the optical module contamination detection method in the passive optical network PON in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a 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 a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0020] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0021] The present application embodiment can be run on Figure 2 The passive optical network system shown in Figure 2 As shown, the system includes an Element Management System (EMS) 100 , an Optical Line Terminal (OLT) 200 , an Optical Distribution Network (ODN) 300 , and an Optical Network Unit (ONU) 400 .

[0022] EMS100 is used for configuration, management and maintenance of OLT200 and xPON network. EMS network management maintains and manages historical information of OLT200 and ONU400 as well as related alarm and notification messages. It can also judge the specific abnormal ONU and find its specific physical location based on the related alarm and notification messages.

[0023] OLT200 is used to start the ONU discovery process, allocate link identifiers to ONU400 to complete the registration and authentication of ONU400 on OLT200, and allocate corresponding upstream time slots to ONU400. ONU400 uploads data in the time slots configured and allocated by OLT200. Each time slot in the upstream direction is normally occupied exclusively by the ONU. OLT200 maintains the ONU online history information table based on PON, starts long-light detection through RTT drift or ONU upstream error alarm, and locates the long-light ONU through relevant strategies.

[0024] ODN 300 is used to connect different numbers of ONU 400 under OLT 200, and serves as a direct physical connection channel between OLT 200 and ONU 400, and may be composed of a combination of multiple physical devices;

[0025] ONU 400 is used to play the role of a home user's terminal device, accept the management of OLT 200, accept the link identifier assigned by OLT 200 during the registration process, and upload data in the time slot window uniformly assigned by OLT 200 to complete the service.

[0026] The embodiments of the present application relate to any communication technology or system of PON using a point-to-multipoint (PToMP) topology in an access network. The use of a point-to-multipoint topology is a notable feature of a passive optical network system, and according to the working mechanism, it can be divided into Ethernet-based passive optical network equipment (EPON, Ethernet Passive Optical Network), Gigabit passive optical network equipment (G-PON, Gigabit-capable Passive Optical Network) and passive optical network equipment with other working mechanisms; these passive optical network equipment systems have the same architecture, all of which include OLT and ONU, where the OLT device completes the aggregation of multiple ONU devices through the PON port, that is, it constitutes a point (OLT) to multipoint (ONU) topology. The above-mentioned PON technologies are collectively referred to as xPON.

[0027] Figure 3 is a flow chart of a method for detecting contamination of an optical module in a passive optical network PON according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0028] Step S302, obtaining a detection value of the transmit / receive light power of an optical module in a passive optical network PON, and obtaining an actual value of the transmit / receive light power of the optical module;

[0029] In an exemplary embodiment of the present application, a method for obtaining a detection value of the transmitted and received optical power of an optical module in a PON includes obtaining the detection value of the transmitted and received optical power according to multiple monitoring points inside the optical module, and re-detecting after a network change.

[0030] Step S304, based on the difference between the received and received optical power detection value and the received and received optical power actual value, an abnormality determination is performed on the information transmission line of the PON, wherein the information transmission line includes an uplink line and a downlink line;

[0031] In step S304 of this embodiment, the abnormality judgment is performed on the information transmission line of the PON based on the difference between the received and received optical power detection value and the received and received optical power actual value, including: determining whether there is an abnormality in the uplink line based on the difference between the received and received optical power detection value of the uplink line and the received and received optical power actual value of the uplink line, and determining whether there is an abnormality in the downlink line based on the difference between the received and received optical power detection value of the downlink line and the received and received optical power actual value of the downlink line.

[0032] In an exemplary embodiment, determining whether there is an abnormality in the downlink line based on the difference between the received and received optical power detection value of the downlink line and the actual received and received optical power value of the downlink line includes: comparing a third difference value obtained by subtracting the actual value of the transmitted optical power of the downlink line from the transmitted optical power detection value of the downlink line with a third threshold value, and when the third difference value is greater than the third threshold value, determining that there is an abnormality in the downlink line; determining whether there is an abnormality in the downlink line based on the difference between the received and received optical power detection value of the uplink line and the actual value of the received and received optical power of the downlink line includes: comparing a fourth difference value obtained by subtracting the actual value of the received optical power of the uplink line from the received optical power detection value of the uplink line with a fourth threshold value, and when the fourth difference value is greater than the fourth threshold value, determining that there is an abnormality in the uplink line.

[0033] Step S306: determining whether the optical module is damaged according to the result of the abnormality determination.

[0034] Step S306 of this embodiment includes determining whether the optical module is damaged according to whether both the uplink line and the downlink line are abnormal.

[0035] In an exemplary embodiment, judging whether the optical module is damaged according to whether both the uplink and the downlink are abnormal includes: for a multi-channel PON, when the uplink or the downlink of a channel with a transmission rate less than a first threshold is normal and the uplink and the downlink of a channel with a transmission rate greater than the first threshold are both abnormal, judging whether the optical module is damaged by the state of the optical module or the state of a port of the optical module; when both the uplink and the downlink of a channel with a transmission rate less than the first threshold are abnormal and the uplink or the downlink of a channel with a transmission rate greater than the first threshold is normal, terminating the judgment on whether the optical module is damaged; for a single-channel PON, when the uplink or the downlink is normal, determining whether the optical module is not damaged; for the multi-channel PON and the single-channel PON, when both the uplink and the downlink are abnormal, judging whether the optical module is damaged by the state of the optical module or the state of the port of the optical module.

[0036] The multi-channel PON in this embodiment includes 1GPON, 10GPON and higher-speed PON. For the multi-channel PON, it is necessary to judge whether the uplink and downlink of different speeds (PON wavelength) are normal. When the result of the low-speed PON is normal and the result of the high-speed PON is abnormal, it means that the high-speed channel is abnormal. Whether the optical module is damaged is judged by the status of the optical module or the status of the port of the optical module; when the result of the low-speed PON is abnormal and the result of the high-speed PON is normal, it is not judged to be damaged.

[0037] It should be noted that the method for determining whether an optical module is contaminated in the embodiment of the present application can be applied to OLT and ONU, and the determination method is similar.

[0038] In an exemplary embodiment, whether the optical module is damaged is determined by the state of the optical module or the state of the port of the optical module, including: comparing the difference between the physical online time of the optical module and the online time of the optical network unit ONU associated with the optical module with a second threshold, and determining that the optical module is damaged when the difference is greater than the second threshold; or comparing the average distance difference of the link between the optical module and the ONU associated with the optical module with a third threshold, and determining that the optical module is damaged when the average distance difference is less than the third threshold.

[0039] In an exemplary embodiment, obtaining the received and received optical power detection value of the optical module in the PON and obtaining the actual value of the received and received optical power of the optical module include: obtaining the received optical power detection value of the downlink line through a remote management channel, and calculating the actual value of the transmitted optical power of the downlink line; wherein, the actual value of the transmitted optical power of the optical line terminal OLT of the downlink line = the received optical power detection value of the ONU of the downlink line + the downlink line attenuation; wherein, the downlink line attenuation = splitter insertion loss + line distance * downlink line loss coefficient.

[0040] In an exemplary embodiment, the transmit / receive optical power detection value of the optical module in the PON is obtained, and the receive / receive optical power actual value of the optical module is obtained, including: obtaining the transmit optical power detection value of the uplink line through a remote management channel, and calculating the receive optical power actual value of the uplink line; wherein, the receive optical power actual value of the OLT of the uplink line = the transmit optical power detection value of the ONU of the uplink line - uplink line attenuation; wherein, the uplink line attenuation = splitter insertion loss + line distance * uplink line loss coefficient.

[0041] In an exemplary embodiment, when it is determined that the optical module is damaged, the damage information of the optical module is reported to a network management via an alarm or notification message.

[0042] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0043] In this embodiment, a device for detecting contamination of an optical module in a passive optical network PON is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0044] Figure 4 is a structural block diagram of an optical module contamination detection device in a passive optical network PON according to an embodiment of the present application, such as Figure 4 As shown, the network intelligent monitoring device 400 includes: a processing module 10 , a judgment module 20 , and a determination module 30 .

[0045] The processing module 10 is used to obtain the detection value of the optical power of the optical module in the passive optical network PON, and obtain the actual value of the optical power of the optical module;

[0046] A judgment module 20, configured to judge an abnormality of an information transmission line of the PON based on a difference between the received and received optical power detection value and the received and received optical power actual value, wherein the information transmission line includes an uplink line and a downlink line;

[0047] The determination module 30 is used to determine whether the optical module is damaged according to the result of the abnormality determination.

[0048] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0049] To facilitate the understanding of the technical solution provided by the present application, a detailed explanation will be given below in combination with embodiments of specific scenarios.

[0050] Figure 5 FIG. 1 is a flow chart of a method for detecting contamination of an optical module in a passive optical network PON according to another embodiment of the present application. Figure 5 As shown, the method comprises the following steps:

[0051] Step S502, the OLT obtains the optical module information and the PON port status information;

[0052] The optical module information includes, but is not limited to, the optical module model, serial number (SN), optical module receiving / emitting power index (for a multi-channel optical module, the receiving / emitting power index of each channel is obtained), the first online time of the optical module, and other information.

[0053] The PON port status information includes but is not limited to the generation and recovery time of a PON port alarm (such as PON LOS), and ONU registration information (including ONU type, number of online ONUs, registration distance of each ONU, etc.).

[0054] Step S504, the OLT measures the transmit and receive optical power of the PON port;

[0055] Specifically, the PON device obtains the transmit and receive optical power of the relevant optical module based on the internal monitoring point of the optical module (central office / terminal); and re-detects after the corresponding ODN network changes. For example, for the central office optical module, re-detects after detecting that the PON LOS alarm is restored; for the terminal optical module, re-detects after detecting that the PON LOSi is restored or comes back online.

[0056] Further, after the ODN network changes, a counter Counter1 is set, wherein Counter1 can be set manually, and the default value is 3.

[0057] It should be noted that for OLT equipment, the equipment detects the optical power Toltx (downstream direction) sent by the optical module based on the PON port, and the optical power Roltx (upstream direction) received by the OLT side of each ONUx under the PON port.

[0058] For a multi-channel optical module, the sending optical power and receiving optical power of each channel involved in the central office are measured, wherein the multiple channels include but are not limited to 1GPON / 10GPON / 50GPON and the like.

[0059] For the ONT device, the device detects the transmit optical power Tonux (upstream direction) and receive optical power Ronux (downstream direction) of its PON port optical module.

[0060] Step S506, the OLT calculates the actual transmit and receive optical power of the PON port;

[0061] Specifically, the optical power transmitted and received by the opposite-end device is obtained, and the actual optical power transmitted / received by the local-end device is calculated in combination with the ODN information.

[0062] The OLT obtains the transmit and receive optical power on the ONU side and calculates the actual transmit and receive optical power of the OLT / ONU based on the ODN information.

[0063] It should be noted that this embodiment only describes the calculation method of the actual transmitted optical power and the actual received optical power of the OLT, and the calculation method of the actual transmitted optical power and the actual received optical power of the ONU is similar to that of the OLT.

[0064] The OLT obtains the received optical power Ronux of the ONU under each PON port through the remote management channel, and reversely calculates the actual transmitted optical power T'oltx = Ronux + downstream line attenuation based on the ONU registration information.

[0065] Among them, downlink line attenuation = splitter insertion loss + downlink line loss = splitter insertion loss + line distance * downlink line loss coefficient.

[0066] The remote management channel includes but is not limited to: an extended OAM channel of EPON and an OMCI channel of GPON.

[0067] OLT obtains the transmit optical power Tonux of the ONU under the corresponding PON port through the remote management channel (including but not limited to: extended OAM channel of EPON, OMCI channel of GPON), and reversely calculates the actual receive optical power R'oltx = Tonux-upstream line attenuation based on the ONU registration information.

[0068] Among them, uplink line attenuation = splitter insertion loss + uplink line loss = splitter insertion loss + line distance * uplink line loss coefficient;

[0069] Step S508, setting a threshold and determining whether the downlink direction is normal;

[0070] Specifically, a threshold is set based on the actual optical power of the local end, and whether the downlink direction is normal is determined according to the threshold.

[0071] The threshold is calculated based on the nominal transmit and receive optical power range of different optical module types. The method includes but is not limited to:

[0072] Static setting, set for the entire optical module according to the nominal value of the optical module type: sending threshold = (current measured average optical power - the nominal value of the minimum sending optical power of this type of optical module) * N, where N is a percentage, the default is 50%.

[0073] Receiving threshold = (current measured average optical power - the nominal value of the minimum receiving optical power of the optical module of this type) * N, where N is a percentage, and the default value is 50%.

[0074] Dynamic setting is set for each terminal according to the corresponding optical path attenuation of the PON port, that is, the OLT's receiving and sending thresholds for different ONUs are dynamically set: threshold = corresponding optical path full line attenuation * M, where M is a percentage, the default is 10%.

[0075] The OLT determines whether there is an abnormality in the downstream direction (or each channel) based on the optical power measured by the OLT and the actual optical power. The method of determining whether the ONU is abnormal is similar to that of the OLT. The specific determination method is as follows:

[0076] (1) Set and maintain the threshold Threshold1 and the counter Nab (Nab is initialized to 0). When Toltx-T'oltx>Threshold1, it is considered that there is an abnormality in the downstream direction of branch X, and Nab=Nab+1.

[0077] Traverse all ONUx under the corresponding PON port, update and assign Nab.

[0078] Furthermore, when the optical module corresponding to the PON port of the OLT is online for the first time, Nab is initialized to 0. The system detects the optical module presence information based on the PON port. When the optical module is offline, the OLT starts the timer T based on the PON port. opti , and set the timeout period. After the optical module comes back online, stop the timer T opti The timing is initialized and matched according to the optical module SN and other information. If the optical module information does not match (i.e. the optical module is replaced), Nab is reinitialized to 0.

[0079] When the optical module information matches, according to the timer T opti Whether Nab is reinitialized to 0 after timeout: opti When the timer T opti If it does not time out, the current Nab value is maintained.

[0080] Furthermore, the above optical power difference calculation is performed according to the channel type supported by the PON module and the downstream ONU type, and a corresponding threshold Threshold1n and counter Nabn are set and maintained for each channel.

[0081] (2) Thresholds Threshold 2 and Threshold 3 are set. When Nab>Threshold 2 or the number of online ONUs at the Nab / PON port>Threshold 3, it is determined that there is an abnormality in the downstream of the OLT trunk fiber of the corresponding PON port;

[0082] Specifically, the multi-channel thresholds Threshold2n and Threshold3n are set. When Nabn>Threshold2n or the number of online ONUs of the corresponding channel under the Nabn / PON port>Threshold3n, it is judged that there is an abnormality in the downstream of the OLT trunk optical fiber in this channel; further, when there are abnormalities in the downstream of all channels (or it is judged that there are abnormalities in the downstream of multiple channels based on the ratio), it is judged that there is an abnormality in the downstream of the OLT trunk optical fiber corresponding to the PON port.

[0083] Step S510, setting a threshold and determining whether the uplink direction is normal;

[0084] Specifically, the threshold is calculated based on the nominal transmit and receive optical power ranges of different optical module types. The calculation method includes but is not limited to:

[0085] Static setting, set for the entire optical module according to the nominal value of the optical module type: sending threshold = (current measured average optical power - the nominal value of the minimum sending optical power of this type of optical module) * N, where N is a percentage, the default is 50%.

[0086] Receiving threshold = (current measured average optical power - the nominal value of the minimum receiving optical power of the optical module of this type) * N, where N is a percentage, and the default value is 50%.

[0087] Dynamic setting is set for each terminal according to the corresponding optical path loss of the PON port, that is, the OLT's receiving and sending thresholds for different ONUs are dynamically set.

[0088] Threshold = corresponding optical path attenuation*M, where M is a percentage, and the default value is 10%.

[0089] It should be noted that this embodiment only describes the calculation method of the threshold value related to the OLT, and the calculation method of the threshold value related to the ONU is similar to that of the OLT.

[0090] The OLT determines whether there is an abnormality in the upstream direction (or each channel) based on the OLT measured optical power and actual optical power. The methods include but are not limited to:

[0091] (1) Set and maintain the threshold Threshold4 and the counter Mab (Mab is initialized to 0). When R'oltx-Roltx>Threshold4, it is considered that there is an abnormality in the upstream direction of branch X, and Mab=Mab+1, and Mab is initialized to 0.

[0092] Traverse all ONUx under the corresponding PON port, update and assign Mab.

[0093] Furthermore, when the optical module corresponding to the PON port of the OLT is online for the first time, Mab is initialized to 0. The system detects the optical module presence information based on the PON port. When the optical module is offline, the OLT starts the timer T based on the PON port. opti , and set the timeout period. After the optical module comes back online, stop the timer T opti Timing and initialization, matching according to the optical module SN and other information. If the optical module information does not match (i.e. the optical module is replaced), Mab is reinitialized to 0;

[0094] When the optical module information matches (i.e. the optical module has not changed), according to the timer T opti Whether it times out, determine whether Mab is reinitialized to 0: When the timer T opti When the timer T opti If it does not time out, the current Mab value is maintained.

[0095] (2) Set thresholds Threshold 5 and Threshold 6. When Mab>Threshold 5 or the number of online ONUs under the Mab / PON port>Threshold 6, it is determined that there is an abnormality in the upstream of the OLT trunk fiber;

[0096] Furthermore, multi-channel thresholds Threshold5n and Threshold6n are set. When Mabn>Threshold5n or the number of online ONUs of the corresponding channel under Mabn / PON port>Threshold6n, it is judged that there is an abnormality in the upstream of the OLT trunk optical fiber corresponding to the PON port; further, when there are abnormalities in the upstream direction of all channels (or according to certain strategies, such as judging that there are abnormalities in multiple channels according to the ratio), it is judged that there is an abnormality in the upstream of the OLT trunk optical fiber corresponding to the PON port.

[0097] Step S512, determining whether the optical module is damaged;

[0098] (1) If the upstream / downstream of the OLT trunk optical fiber is not judged to be abnormal at the same time, it is judged that the non-OLT optical module is contaminated;

[0099] (2) When the upstream / downstream of the OLT trunk optical fiber is abnormal, the corresponding PON port / optical module status is combined to determine whether the corresponding optical module is damaged. The PON port / optical module status includes but is not limited to:

[0100] Set and maintain the threshold Threshold 7. If the difference between the time of the corresponding PON port optical module and the time when the first ONU under the PON port goes online is greater than Threshold 7, the corresponding OLT optical module is considered to be damaged.

[0101] Set and maintain the threshold Threshold 8. When a PON LOS alarm occurs at the corresponding PON port and after recovery, and the ONU distance at the PON port does not change significantly (including but not limited to the average distance difference between the online ONU and OLT before and after the PON LOS occurs is less than Threshold 8), the corresponding OLT optical module is considered to be damaged.

[0102] It should be noted that this embodiment only describes whether the OLT side optical module is damaged. The determination method of whether the ONU side optical module is damaged is similar to that of the OLT.

[0103] Step S514: reporting an alarm or notification.

[0104] Specifically, the above optical module contamination is reported to the network management or other operation and maintenance platform through an alarm or notification message. According to a certain strategy and combined with user account information, the installation of new users (ONU) is actively restricted or the specific location is found and processed on site.

[0105] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0106] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0107] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0108] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0109] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0110] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0111] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for detecting contamination of an optical module in a passive optical network PON, characterized in that: include: Obtaining a detection value of the transmit / receive light power of an optical module in a passive optical network PON, and obtaining an actual value of the transmit / receive light power of the optical module; Based on the difference between the received and received optical power detection value and the received and received optical power actual value, an abnormality judgment is made on the information transmission line of the PON, wherein the information transmission line includes an uplink line and a downlink line; Determine whether the optical module is contaminated according to the result of the abnormality judgment.

2. The method according to claim 1, characterized in that: Determining whether the optical module is damaged according to the result of the abnormality judgment includes: Whether the optical module is damaged is determined according to whether both the uplink line and the downlink line are abnormal.

3. The method according to claim 2, characterized in that Judging whether the optical module is damaged according to whether the uplink line and the downlink line are abnormal at the same time includes: For a multi-channel PON, when the uplink or downlink of the channel with a transmission rate less than a first threshold is normal, and the uplink and downlink of the channel with a transmission rate greater than the first threshold are both abnormal, determine whether the optical module is damaged by the state of the optical module or the state of the port of the optical module; when the uplink and downlink of the channel with a transmission rate less than the first threshold are both abnormal, and the uplink or downlink of the channel with a transmission rate greater than the first threshold is normal, the determination of whether the optical module is damaged is terminated; For a single-channel PON, when the uplink or the downlink is normal, determining that the optical module is not damaged; For the multi-channel PON and the single-channel PON, when both the uplink and the downlink are abnormal, it is determined whether the optical module is contaminated by the state of the optical module or the state of the port of the optical module.

4. The method according to claim 3, characterized in that Judging whether the optical module is damaged according to the state of the optical module or the state of the port of the optical module includes: Compare the difference between the physical online time of the optical module and the online time of the optical network unit ONU associated with the optical module with a second threshold, and determine that the optical module is damaged if the difference is greater than the second threshold; or The average distance difference of the link between the optical module and the ONU associated with the optical module is compared with a third threshold, and when the average distance difference is smaller than the third threshold, it is determined that the optical module is damaged.

5. The method according to claim 1, characterized in that The abnormality judgment is performed on the information transmission line of the PON based on the difference between the received and received optical power detection value and the received and received optical power actual value, including: Based on the difference between the received and received optical power detection value of the uplink line and the actual value of the received and received optical power of the uplink line, it is determined whether the uplink line has an abnormality, and based on the difference between the received and received optical power detection value of the downlink line and the actual value of the received and received optical power of the downlink line, it is determined whether the downlink line has an abnormality.

6. The method according to claim 5, characterized in that Determining whether there is an abnormality in the downlink based on the difference between the transmitted and received optical power detection value of the downlink and the actual value of the transmitted and received optical power of the downlink, comprising: comparing a third difference value obtained by subtracting the actual value of the transmitted optical power of the downlink from the transmitted optical power detection value of the downlink with a third threshold value, and determining that there is an abnormality in the downlink when the third difference value is greater than the third threshold value; Determining whether there is an abnormality in the downlink line based on the difference between the received and received optical power detection value of the uplink line and the received and received optical power actual value of the downlink line includes: comparing a fourth difference value obtained by subtracting the received optical power detection value of the uplink line from the actual received optical power value of the uplink line with a fourth threshold value, and when the fourth difference value is greater than the fourth threshold value, determining that there is an abnormality in the uplink line.

7. The method according to any one of claims 1 to 6, characterized in that Obtaining the detected value of the transmitted and received optical power of the optical module in the PON, and obtaining the actual value of the transmitted and received optical power of the optical module, including: Obtaining a received optical power detection value of the downlink line through a remote management channel, and calculating an actual value of a transmitted optical power of the downlink line; Wherein, the actual value of the transmitted optical power of the optical line terminal OLT of the downlink line = the detected value of the received optical power of the ONU of the downlink line + the downlink line attenuation; Wherein, the downlink line attenuation=splitter insertion loss+line distance*downlink line loss coefficient.

8. The method according to any one of claims 1 to 6, characterized in that Obtaining the detected value of the optical power of the optical module in the PON, and obtaining the actual value of the optical power of the optical module, including: Obtaining a transmission optical power detection value of the uplink line through a remote management channel, and calculating an actual value of the reception optical power of the uplink line; Wherein, the actual value of the received optical power of the OLT of the uplink line = the detected value of the sent optical power of the ONU of the uplink line - the uplink line attenuation; The uplink line attenuation=splitter insertion loss+line distance*uplink line loss coefficient.

9. The method according to claim 1, characterized in that: Also includes: When it is determined that the optical module is damaged, the damage information of the optical module is reported to the network management through an alarm or a notification message.

10. A device for detecting contamination of an optical module in a passive optical network PON, characterized in that: include: A processing module, used to obtain a detection value of the transmit / receive light power of an optical module in a passive optical network PON, and obtain an actual value of the transmit / receive light power of the optical module; A judgment module, configured to judge an abnormality of an information transmission line of the PON based on a difference between the detected value of the received and received optical power and the actual value of the received and received optical power, wherein the information transmission line includes an uplink line and a downlink line; The determination module is used to determine whether the optical module is damaged according to the result of the abnormality judgment.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 6 when executed by a processor.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 6 are implemented.