Optical network unit detection method, electronic equipment and computer readable storage medium

By collecting and comparing the received signal intensity of the uplink signal period of the optical network unit in a passive optical network, the problem of inaccurate detection of optical path interference caused by non-long luminescence is solved, and the accurate identification and processing of rogue ONU interference is achieved, and communication is improved efficiency.

CN119277237APending Publication Date: 2025-01-07ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310816524.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-04
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In passive optical networks, the detection results of optical path interference caused by non-long luminescence are inaccurate, making it difficult to accurately identify abnormal detection of optical network units.

Method used

By collecting and comparing the received signal strengths of multiple periods of uplink signals in the optical network unit, determining whether they are disturbed by the rogue ONU, multiple acquisition and processing methods are used to improve the accuracy of detection, including at the first protection time, The signal intensity comparison of a period of time, multiple luminescence slots and a second protection time.

Benefits of technology

The accuracy of detection of whether the optical network unit is disturbed by rogue ONU can be improved, and the interference can be identified more accurately and the interference causes can be located, thereby taking effective measures to deal with the interference and improving communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277237A_ABST
    Figure CN119277237A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an optical network unit detection method, electronic equipment and a computer readable storage medium. The method comprises the following steps: determining whether a first optical network unit ONU in a passive optical network PON is suspected to be interfered or not; under the condition that the first ONU is suspected to be interfered, receiving signal intensities of a current uplink signal of the first ONU in a plurality of corresponding time periods are collected and processed, and a plurality of first receiving signal intensities corresponding to the plurality of time periods are obtained; the plurality of first received signal intensities are correspondingly compared with a plurality of second received signal intensities, whether the first ONU is interfered by the rogue ONU or not is determined, and the plurality of second received signal intensities are received signal intensities of an uplink signal to which the first ONU belongs in a normal state in the plurality of time periods corresponding to the first ONU. Therefore, the accuracy of detecting whether the ONU is interfered by the rogue ONU can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the technical field of Passive Optical Network (PON), and in particular to an optical network unit detection method, an electronic device and a computer-readable storage medium. Background Art

[0002] Passive Optical Network (PON) is a "point-to-multipoint" topology. In the downstream direction, the Optical Line Terminal (OLT) uses broadcasting to send signals to the Optical Network Unit (ONU); in the upstream direction, the Optical Network Unit uses time division multiplexing (TDM) to send upstream signals to the Optical Line Terminal. Therefore, in the signal transmission in the upstream direction, it is necessary to ensure that different upstream signals do not conflict in time.

[0003] However, in the engineering application of Passive Optical Network (PON), affected by many factors, some optical network units will be abnormal, causing conflicts between uplink signals and interfering with the uplink transmission of normal optical network units. The optical network units that cause this phenomenon are often called rogue optical network units (Rogue ONU). Normal optical network units will only send optical signals in the specific light-emitting time slots allocated to themselves, while rogue optical network units may emit light in light-emitting time slots not allocated to themselves.

[0004] The manifestations of rogue optical network units are divided into long-term light emission and non-long-term light emission. The existing detection methods are relatively mature for the optical path interference caused by long-term light emission. However, the existing detection methods have the problem of inaccurate detection results for the optical path interference caused by non-long-term light emission. Summary of the invention

[0005] The embodiments of the present specification provide an optical network unit detection method, an electronic device, and a computer-readable storage medium, which are used to solve the current problem of inaccurate optical network unit detection results caused by non-long light emission.

[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0007] In a first aspect, a method for detecting an optical network unit is provided, comprising:

[0008] Determine whether a first optical network unit ONU in a passive optical network PON is suspected of being interfered with, wherein the first ONU is a predetermined healthy ONU;

[0009] In the case that the first ONU is suspected of being interfered with, the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself is collected and processed to obtain multiple first received signal strengths corresponding to the multiple time periods, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light-emitting time slots and a second protection time, the first protection time is a protection time located before the uplink signal, the second protection time is a protection time located after the uplink signal, the first time period includes the time occupied by the preamble and delimiter of the uplink signal, and the light-emitting time slot is allocated by the optical line terminal OLT in the PON to the first ONU;

[0010] The multiple first received signal strengths are correspondingly compared with the multiple second received signal strengths to determine whether the first ONU is interfered by the rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal belonging to the first ONU in the multiple time periods corresponding to itself in a normal state.

[0011] In a second aspect, an optical network unit detection device is provided, comprising:

[0012] A first determination module is used to determine whether a first optical network unit ONU in a passive optical network PON is suspected of being interfered with, wherein the first ONU is a predetermined healthy ONU;

[0013] A collection module, used for collecting and processing the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself when the first ONU is suspected of being interfered, so as to obtain multiple first received signal strengths corresponding to the multiple time periods, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light-emitting time slots and a second protection time, the first protection time is the protection time before the uplink signal, the second protection time is the protection time after the uplink signal, the first time period includes the time occupied by the preamble and delimiter of the uplink signal, and the light-emitting time slot is allocated by the optical line terminal OLT in the PON to the first ONU;

[0014] An interference determination module is used to compare the multiple first received signal strengths with the multiple second received signal strengths to determine whether the first ONU is interfered by a rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal belonging to the first ONU in the normal state in the multiple time periods corresponding to itself.

[0015] According to a third aspect, an electronic device is provided, including:

[0016] processor;

[0017] a memory for storing instructions executable by the processor;

[0018] The processor is configured to execute the instructions to implement the method as described in the first aspect.

[0019] According to a fourth aspect, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect.

[0020] In an embodiment of the present specification, when it is determined that a healthy first ONU is suspected of being interfered with, the received signal strength of the current uplink signal of the first ONU is accurately collected in multiple time periods based on the multiple light-emitting time slots corresponding to the current uplink signal of the first ONU, and multiple first received signal strengths corresponding to the multiple time periods are obtained; and the multiple first received signal strengths are respectively compared with the multiple second received signal strengths of the first ONU in a normal state in the multiple time periods, thereby improving the accuracy of detecting whether the first ONU is interfered with by a rogue ONU. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0022] Figure 1 It is a schematic diagram of the system architecture of a passive optical network OPN provided by an embodiment of the present specification.

[0023] Figure 2 It is a flowchart of a preparation phase in an optical network unit detection method provided by an embodiment of the present specification.

[0024] Figure 3 yes Figure 2 Schematic diagram of the sampling principle in the illustrated embodiment.

[0025] Figure 4 It is a flowchart of an optical network unit detection method provided by an embodiment of this specification.

[0026] Figure 5 yes Figure 4 A detailed flowchart of step 402 in the illustrated embodiment.

[0027] Figure 6 yes Figure 4 Schematic diagram of the sampling principle in the illustrated embodiment.

[0028] Figure 7 It is a flowchart of an optical network unit detection method provided by another embodiment of the present specification.

[0029] Figure 8 This is a schematic diagram of the principle that an ONU provided in the embodiment of this specification is interfered by a rogue ONU Figure 1 .

[0030] Fig. 9 This is a schematic diagram of the principle that an ONU provided in the embodiment of this specification is interfered by a rogue ONU Figure 2 .

[0031] Fig.10 This is a schematic diagram of the principle that an ONU provided in the embodiment of this specification is interfered by a rogue ONU Figure 3 .

[0032] Fig.11 yes Figure 7 A schematic diagram of an implementation principle of step 404 in the illustrated embodiment.

[0033] Fig.12 It is a flowchart of an optical network unit detection method provided by another embodiment of the present specification.

[0034] Fig.13 yes Fig.12 A schematic diagram of an implementation principle of step 406 in the illustrated embodiment.

[0035] Fig.14 It is a structural schematic diagram of an electronic device provided by an embodiment of the present description.

[0036] Fig.15 It is a structural schematic diagram of an optical network unit detection device provided by an embodiment of this specification.

[0037] Fig.16 It is a structural schematic diagram of an optical network unit detection device provided by an embodiment of this specification.

[0038] Fig.17 It is a structural schematic diagram of an optical network unit detection device provided by another embodiment of the present specification.

[0039] Fig.18 It is a structural schematic diagram of an optical network unit detection device provided by another embodiment of the present specification. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0041] The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of this specification can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in this specification and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.

[0042] In order to solve the problem of inaccurate optical network unit detection results caused by non-long-term light emission, the present invention provides an optical network unit detection method, which can be executed by an optical line terminal (OLT) in a passive optical network (PON).

[0043] For ease of understanding, the following is combined Figure 1 The common networking structure of PON is briefly described.

[0044] like Figure 1 As shown, in one embodiment, the PON may include an Element Management Service (EMS) 11, an OLT 12, an Optical Distribution Network (ODN) 13, and a plurality of ONUs 14. The transmission direction from the OLT 12 to the ONU 14 is the downstream direction, and the transmission direction from the ONU 14 to the OLT 12 is the upstream direction, thereby realizing functions such as data services and configuration management.

[0045] PON is a "point-to-multipoint" topology. It uses broadcast in the downstream direction and time division multiplexing (TDM) in the upstream direction. ONU sends upstream burst signals according to the upstream bandwidth time slot (BW map) allocated by OLT. Therefore, OLT and ONU must ensure that there is no conflict at all times in the upstream direction.

[0046] Under normal circumstances, each ONU will send optical signals only in the designated light time slot assigned by the OLT, while a rogue ONU is an ONU that does not transmit light according to the light time slot assigned by the OLT.

[0047] There are many types of rogue ONUs. From the perspective of the time when the rogue ONU is lit, it can be divided into long-lasting rogue ONUs: ONUs that are lit at any time; non-long-lasting rogue ONUs: ONUs that are lit in the lighting time slots not allocated by the OLT, which may be early lighting, delayed shutdown, or the ONU software hangs, etc.

[0048] Rogue ONU: An optical network unit that is always on at all times.

[0049] Non-long-lighting rogue ONU: It lights up in the lighting time slot not allocated by the optical line terminal, which may be early lighting, delayed shutdown, or the software of the second optical network unit is hung, etc.

[0050] An optical network unit detection method provided in an embodiment of this specification is described below.

[0051] The optical network unit detection method provided in the embodiment of this specification may include two stages, the first stage is the preparation stage, and the second stage is the implementation stage, which are described one by one below. It should be noted that the preparation stage is not a necessary stage for implementing the implementation stage.

[0052] 1. Preparation

[0053] like Figure 2 As shown, in the preparation stage, an optical network unit detection method provided by an embodiment of this specification may include:

[0054] Step 201: After the first ONU is activated, the received signal strength of the current uplink signal of the first ONU in the first time period and multiple light-emitting time slots corresponding to the first ONU is collected and processed to obtain multiple third received signal strengths.

[0055] The first ONU may be any ONU in the PON. When the first ONU is activated to the O5 state (OPERATION STATE), the received signal strength of the ONU in the first time period and multiple light-emitting time slots corresponding to the first ONU is collected (or sampled).

[0056] In the embodiments of this specification, the received signal strength may include but is not limited to a received signal strength indication (RSSI).

[0057] In an embodiment of the present specification, the time corresponding to an uplink signal can be divided into multiple time periods: a first protection time, a first time period, multiple luminous time slots, and a second protection time. The first protection time is a protection time (GUARD TIME) located before the uplink signal, and the second protection time is a protection time (GUARD TIME) located after the uplink signal. The first time period includes the time occupied by the preamble (PREAMBLE) and delimiter (DELIMTER) of the uplink signal, and the luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0058] Among them, the first protection time and the second protection time can be represented by Tg; the time occupied by the preamble code in the first time period can be represented by Tp, and the time occupied by the delimiter can be represented by Td; the multiple luminous time slots can be represented by AllocID1~AllocIDM, and M represents the total number of luminous time slots.

[0059] like Figure 3 As shown, for the uplink signal N (BURST N), the interval between the previous and next uplink signals is selected as the protection time. Specifically, the interval between the uplink signal N and the uplink signal N-1 is selected as the first protection time Tg of the uplink signal N, and the interval between the uplink signal N and the uplink signal N+1 is selected as the second protection time Tg of the uplink signal N. The time occupied by the uplink signal N itself includes the time Tp occupied by the preamble code, the time Td occupied by the delimiter, and a plurality of light-emitting time slots allocated by the OLT, wherein the light-emitting time slot changes due to the change of the allocated association identifier (AllocID), and the plurality of light-emitting time slots can be represented as AllocID1~AllocIDM.

[0060] exist Figure 3 In the , no matter it is the first protection time or the second protection time, there is a short period of light-off time (Toff) and light-on time (Ton) corresponding to the beginning and end parts, where Toff is the light-off time of the previous uplink signal, and Ton is the light-on time of the current uplink signal.

[0061] In the preparation stage, the purpose of collecting the received signal strength of the first ONU in the first time period and multiple light-emitting time slots corresponding to itself is to determine the received signal strength of the uplink signal of the first ONU in the first time period and multiple light-emitting time slots corresponding to itself under normal conditions, that is, to determine the second received signal strength used in the implementation stage (that is, the second received signal strength of the first ONU in the first time period and multiple light-emitting time slots corresponding to itself is the third received signal strength of the first ONU in the first time period and multiple light-emitting time slots corresponding to itself). Of course, it is also possible not to determine the second received signal strength in this way, but to set the second received signal strength based on experience. In addition, for an ONU, in the first protection time and the second protection time, except for the shorter time of the light-on time and the light-off time, the remaining time is theoretically no light, therefore, in the preparation stage, the received signal strength of the uplink signal of the first ONU in these two time periods may not be measured, but the second signal received strength of the uplink signal of the first ONU in these two time periods may be set to the no light value, such as -40.0db.

[0062] As an example, step 201 may include: collecting the received signal strength of the current uplink signal of the first ONU in the first time period corresponding to itself and multiple light-emitting time slots n times, wherein n corresponding to different time periods is the same or different; determining the average received signal strength corresponding to any time period in the multiple time periods for the n received signal strengths collected; and using the average received signal strength corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods.

[0063] like Figure 3 As shown, the received signal strength of the uplink signal N of the first ONU in "Tp+Td (first time period)" and "AllocID1-AllocIDM (multiple luminous time slots)" can be collected n times respectively, and the size of n is configurable, which is equivalent to collecting in n segments. Specifically, as Figure 3 As shown:

[0064] 1) For "Tp+Td", the sampling segment is Spd1~Spdn, and the arithmetic mean is calculated as Spd-avg;

[0065] 2) For AllocIDi, the sampling segment is Sai1~Sain, and the calculated arithmetic mean is Sai-avg, where i=1,2,...,M; for example, for AllocID1, the sampling segment is Sa11~Sa1n, and the calculated arithmetic mean is Sa1-avg, and so on, for AllocIDM, the sampling segment is SaM1~SaMn, and the calculated arithmetic mean is SaM-avg.

[0066] As another example, step 201 may include: collecting the received signal strength of the current uplink signal of the first ONU in the first time period corresponding to itself and multiple light-emitting time slots n times respectively, wherein n corresponding to different time periods is the same or different; determining the median of the n received signal strengths collected in any time period of the multiple time periods; and using the median as multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots.

[0067] It should be noted that in addition to averaging and taking the median, the n received signal strengths collected in any of the multiple time periods can be processed in other ways to obtain multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

[0068] Step 202: determine whether the first ONU is healthy according to the strengths of the multiple third received signals and the bit error rate of the first ONU; if yes, execute step 203; otherwise, return to execute step 201, or use other ONUs as the first ONU and return to execute step 201.

[0069] As an example, step 202 may include: if the plurality of third received signal strengths are within a normal received signal strength range of the OLT and a bit error rate of the first ONU is less than or equal to a first threshold, determining that the first ONU is a healthy ONU.

[0070] Generally speaking, the normal received signal strength range is the rated received signal strength range of the OLT.

[0071] The first threshold can be flexibly set based on experience, and is not limited in the embodiments of this specification.

[0072] Step 203: Add the first ONU to the healthy ONU list.

[0073] In actual applications, each activated ONU in the PON can be scanned periodically to identify whether it is healthy. If it is healthy, it is added to the healthy ONU list.

[0074] Understandably, through Figure 2 The illustrated embodiment provides an optical network unit detection method, which can, on the one hand, accurately obtain the received signal strength of the uplink signal of the first ONU in a normal state in the first time period and multiple light-emitting time slots, so as to prepare for accurately identifying the interference of rogue ONUs in the future; on the other hand, it can accurately identify healthy ONUs, so as to purposefully monitor whether the healthy ONUs are interfered with during the implementation stage.

[0075] 2. Implementation

[0076] like Figure 4 As shown, in the implementation stage, an optical network unit detection method provided by an embodiment of this specification may include:

[0077] Step 400, start.

[0078] Step 401, determine whether a first optical network unit ONU in a PON is suspected of being interfered; if yes, execute step 402, otherwise return to step 400.

[0079] The first ONU is a predetermined healthy ONU, that is, an ONU added to the healthy ONU list in the preparation stage. In practical applications, the healthy ONU list can be scanned periodically to identify whether the ONU in the list is suspected of being interfered.

[0080] As an example, step 401 may specifically include: determining whether the specified operating parameters of the first ONU in the PON exceed the corresponding threshold, wherein the specified operating parameters include at least one of parameters such as bit error rate, bit error rate growth rate, and number of offline times within a specified time; when the specified operating parameters of the first ONU exceed the corresponding threshold, determining that the first ONU is suspected of being interfered with; otherwise, determining that the first ONU is not suspected of being interfered with.

[0081] Step 402: collect and process the received signal strengths of the current uplink signal of the first ONU in multiple time periods corresponding to itself, and obtain multiple first received signal strengths corresponding to the multiple time periods.

[0082] As described above, the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple luminous time slots and a second protection time, the first protection time is the protection time located before the uplink signal, the second protection time is the protection time located after the uplink signal, the first time period includes the time occupied by the preamble code and delimiter of the uplink signal, and the luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0083] As an example, Figure 5 As shown, step 402 may specifically include:

[0084] Step 501: respectively collect the received signal strengths of the current uplink signal of the first ONU in the multiple time periods corresponding to the first ONU.

[0085] Step 502 , determine whether the number of collection times for the multiple time periods reaches n; if yes, execute step 503 ; otherwise, return to execute step 501 .

[0086] Among them, n corresponding to different time periods in the multiple time periods may be the same or different.

[0087] Step 503: for n received signal strengths collected in any time period among the multiple time periods, determine an average received signal strength corresponding to the time period.

[0088] Step 504: Use the average received signal strengths corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods.

[0089] like Figure 6 As shown, the received signal strength of the uplink signal N of the first ONU in the first protection time Tg, "Tp+Td (first time period)", "AllocID1~AllocIDM (multiple luminous time slots represented by association identifiers)" and the second protection time Tg can be collected n times respectively, and the size of n is configurable, which is equivalent to collecting in n segments. Specifically, as Figure 6 As shown:

[0090] 1) For "Tp+Td", the sampling segment is Spd1~Spdn, and the arithmetic mean is calculated as Spd-avg';

[0091] 2) For AllocIDi, the sampling segment is Sai1~Sain, and the calculated arithmetic mean is Sai-avg', where i=1,2,...,M; for example, for AllocID1, the sampling segment is Sa11~Sa1n, and the calculated arithmetic mean is Sa1-avg', and so on, for AllocIDM, the sampling segment is SaM1~SaMn, and the calculated arithmetic mean is SaM-avg'.

[0092] 3) Compared with the preparation stage, in the implementation stage, sampling is added during the first protection time and the second protection time. Specifically, for the first protection time, the sampling section is Spreg1~Spregn, and the arithmetic mean is Spreg-avg'; for the second protection time, the sampling section is Spostg1~Spostgn, and the arithmetic mean is Spostg-avg'.

[0093] It should be noted that, in order to ensure that the sampling timing is fixed and to facilitate comparison of received signal strengths, when the first ONU is offline, the time slot allocated to the ONU is still maintained during the received signal strength sampling phase.

[0094] Optionally, in order to ensure the accuracy of the above average value, the sampling process from step 501 to step 502 may be repeated to calculate the arithmetic mean again. The repeatedly sampled data may also be averaged together.

[0095] As another example, step 402 may specifically include: collecting the received signal strengths of the current uplink signal of the first ONU in the multiple time periods corresponding to itself, respectively; determining whether the number of collection times for the multiple time periods reaches n; if so, determining the median for the n received signal strengths collected in any time period of the multiple time periods, and using the medians corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods; otherwise, re-collecting the received signal strengths of the current uplink signal of the first ONU in the multiple time periods corresponding to itself n times, respectively.

[0096] It should be noted that in addition to averaging and taking the median, the n received signal strengths collected in any of the multiple time periods can be processed in other ways to obtain multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

[0097] Step 403: Compare the multiple first received signal strengths with the multiple second received signal strengths to determine whether the first ONU is interfered by a rogue ONU.

[0098] The multiple second received signal strengths are received signal strengths of the uplink signal to which the first ONU belongs in a normal state in the multiple time periods corresponding to the first ONU.

[0099] As mentioned above, the second received signal strength of the uplink signal to the first ONU in the normal state in the first time period and multiple light-emitting time slots corresponding to itself can be the third received signal strength of the uplink signal to the first ONU in the first time period and multiple light-emitting time slots corresponding to itself measured in the preparation stage, or it can be a value set according to experience; the second received signal strength of the uplink signal to the first ONU in the normal state in the first protection time and the second protection time corresponding to itself can be a no-light value (a pre-configured value based on network conditions), such as -40.0db.

[0100] As an example, step 403 may include: when a difference between at least one first received signal strength among the multiple first received signal strengths and a corresponding second received signal strength exceeds a corresponding threshold (reference threshold), determining that the first ONU is interfered by a rogue ONU.

[0101] The corresponding threshold (reference threshold) is pre-configured based on the network situation.

[0102] Figure 4The illustrated embodiment provides an optical network unit detection method, which, when it is determined that a healthy first ONU is suspected of being interfered with, uses a plurality of luminous time slots corresponding to the current uplink signal of the first ONU as a reference, accurately collects the received signal strength of the current uplink signal of the first ONU in a plurality of time periods, and obtains a plurality of first received signal strengths corresponding to the plurality of time periods; and compares the plurality of first received signal strengths with a plurality of second received signal strengths of the first ONU in a normal state in the plurality of time periods, thereby improving the accuracy of detecting whether the first ONU is interfered with by a rogue ONU.

[0103] Optional, relative to Figure 4 ,like Figure 7 As shown, in another embodiment, an optical network detection method provided in this specification may also include:

[0104] Step 404: When the first ONU is interfered by the rogue ONU, determine the reason why the first ONU is interfered by the rogue ONU according to the multiple first received signal strengths, the multiple second received signal strengths and a preset judgment rule.

[0105] Step 405: Locate the rogue ONU that interferes with the first ONU based on the cause.

[0106] There may be three reasons why the first ONU is interfered by the rogue ONU. Accordingly, the preset judgment rules may include three types (the first judgment rule, the second judgment rule and the third judgment rule described below). The located rogue ONU is also divided into three situations, which are explained one by one below.

[0107] 1) The previous uplink signal is shifted backward in the time domain and interferes with the current uplink signal (the first reason).

[0108] In this case, the first judgment rule is used for judgment. If the first judgment rule is met, it means that the cause of interference to the first ONU is the first cause.

[0109] The first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain to interfere with the current uplink signal.

[0110] The first judgment rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, it is determined that the reason why the ONU is interfered by the rogue ONU includes the first reason.

[0111] Assumption (the same below): the threshold (first threshold) corresponding to the first protection time or the second protection time is THRg; the threshold (reference threshold) corresponding to the first time period and the light-emitting time slot (Tp / Td / AllocId) is THRs; the second received signal strength Spreg-avg corresponding to the first protection time is the no-light value (-40.0db); then, the first judgment rule can be expressed as:

[0112] Spreg-avg'-Spreg-avg>=THRg

[0113] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the first reason, step 405 may include: determining the ONU corresponding to the previous uplink signal of the current uplink signal of the first ONU as the rogue ONU interfering with the first ONU.

[0114] More specifically, the first judgment rule may include: a first rule and a second rule.

[0115] ① The previous uplink signal is shifted backward in the time domain, which may interfere with the current uplink signal.

[0116] The first rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the first time period is less than the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain and there is a risk of interfering with the current uplink signal.

[0117] The first rule can be expressed as:

[0118] Spreg-avg'-Spreg-avg>=THRg

[0119] Spd-avg'-Spd-avg <THRs

[0120] ② The previous uplink signal is shifted backward in the time domain and has caused interference to the current uplink signal

[0121] The second rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the first time period is greater than or equal to the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal has been shifted backward in the time domain and has caused interference to the current uplink signal.

[0122] The second rule can be expressed as:

[0123] Spreg-avg'-Spreg-avg>=THRg

[0124] Spd-avg'-Spd-avg>=THRs

[0125] like Figure 8 As shown, the previous uplink signal N-1 of the uplink signal N is shifted backward in the time domain, so that the uplink signal N-1 is superimposed with the uplink signal N at the end of the first protection time Tg and the beginning of the first time period (the time occupied by the preamble and the delimiter: Tp+Td), resulting in an increase in the strength of the collected received signal. The superposition of the uplink signal N-1 and the uplink signal N has the risk of affecting the uplink signal N at best, and has caused interference to the uplink signal N at worst.

[0126] 2) The next uplink signal is shifted forward in the time domain and interferes with the current uplink signal (the second reason).

[0127] In this case, the second judgment rule is used for judgment. If the second judgment rule is met, it means that the cause of interference to the first ONU is the second cause.

[0128] The second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain to interfere with the current uplink signal.

[0129] The second judgment rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, it is determined that the reason why the ONU is interfered by the rogue ONU includes the second reason.

[0130] The second judgment rule can be expressed as:

[0131] Spostg-avg'-Spostg-avg>=THRg

[0132] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the second reason, step 405 may include: determining an ONU corresponding to the next uplink signal of the current uplink signal of the first ONU as the rogue ONU interfering with the first ONU.

[0133] More specifically, the second judgment rule may include: a third rule and a fourth rule.

[0134] ① The next uplink signal shifts forward in the time domain and there is a risk of interfering with the current uplink signal

[0135] The third rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the last allocated luminous time slot is less than the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and there is a risk of interfering with the current uplink signal.

[0136] The third rule can be expressed as:

[0137] Spostg-avg'-Spostg-avg>=THRg

[0138] SaM-avg'-SaM-avg <THRs

[0139] ② The next uplink signal shifts forward in the time domain and interferes with the current uplink signal

[0140] The fourth rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second signal received strength of the current uplink signal in the last allocated luminous time slot is greater than or equal to the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal.

[0141] The fourth rule can be expressed as:

[0142] Spostg-avg'-Spostg-avg>=THRg

[0143] SaM-avg'-SaM-avg>=THRs

[0144] like Fig. 9 As shown, the next uplink signal N+1 of the uplink signal N is shifted forward in the time domain, so that the uplink signal N+1 is superimposed with the uplink signal N in the last luminous time slot of the uplink signal N and the beginning of the second protection time Tg, resulting in an increase in the strength of the collected received signal. The superposition of the uplink signal N+1 and the uplink signal N has the risk of affecting the uplink signal N at best, and has interfered with the uplink signal N at worst.

[0145] 3) After the rogue ONU goes offline, it does not release the association identifier of the light-emitting timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

[0146] In this case, the third judgment rule is used for judgment. If the third judgment rule is met, it means that the cause of interference to the first ONU is the third cause.

[0147] The third reason includes: after the rogue ONU goes offline, it does not release the association identifier (ALLOCID) of the at least one luminous time slot configured for itself, thereby interfering with the current uplink signal.

[0148] Among them, the third judgment rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the first protection time is less than the first threshold, the difference between the first received signal strength and the second signal received strength of the current uplink signal in the second protection time is less than the second threshold, and the difference between the first received signal strength and the second signal received strength of the current uplink signal in at least one luminous time slot is greater than or equal to the third threshold, then it is determined that the reason why the ONU is interfered with by the rogue ONU includes the third reason.

[0149] The third judgment rule can be expressed as:

[0150] Spostg-avg'-Spostg-avg <THRg

[0151] Spreg-avg'-Spreg-avg <THRg

[0152] Sai-avg'-Sai-avg>=THRs

[0153] Among them, i=1, 2,...M.

[0154] It can be understood that since the received signal strength of the current uplink signal is normal during the first protection time and the second protection time, and the received signal strength in a certain light time slot i increases, it means that the current signal is interfered by the rogue ONU in the light time slot.

[0155] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the third reason, step 405 may include: determining an ONU that has been offline and has not released the associated identifier of the at least one light emitting time slot as a rogue ONU interfering with the first ONU.

[0156] like Fig.10 As shown, the received signal strength of the uplink signal N in the emitting timeslot AllocID1 is enhanced, indicating that the uplink signal N is interfered in the emitting timeslot, and the uplink signal of the rogue ONU is superimposed on the uplink signal N.

[0157] Fig.11 The schematic diagram of the principle of an optical network unit detection method provided in an embodiment of this specification to identify the interference cause of the first ONU is shown. Fig.11As shown, an optical network unit detection method provided in an embodiment of the present specification can first sample the received signal strength of the current uplink signal of the first ONU in the multiple time periods, and then identify based on the above three judgment rules whether the cause of interference to the first ONU is "the previous uplink signal shifts backward (first reason)", "the next uplink signal shifts forward (second reason)" and "the offline ONU occupies the luminous time slot (third reason)", and give the consequences caused by the first two reasons: there is a risk or interference has been caused.

[0158] Understandably, Figure 7 The optical network unit detection method provided by the illustrated embodiment can not only accurately identify whether the first ONU is interfered by a rogue ONU, but also subdivide the reason why the first ONU is interfered by the rogue ONU, and accurately locate which rogue ONU interferes.

[0159] Optional, such as Fig.12 As shown, an optical network unit detection method provided in an embodiment of this specification may also include:

[0160] Step 406: Based on the interference handling measures corresponding to the cause, the interference received by the first ONU is handled.

[0161] The following introduces the treatment measures for the three situations mentioned above.

[0162] 1) The previous uplink signal is shifted backward in the time domain and interferes with the current uplink signal (the first reason)

[0163] ① The previous uplink signal is shifted backward in the time domain and there is a risk of interfering with the current uplink signal. In this case, step 406 may specifically include:

[0164] The interference to the first ONU is processed by a first processing measure, wherein the first processing measure includes: increasing a time interval between a current uplink signal of the first ONU and a previous uplink signal of the current uplink signal by a first time length;

[0165] In the case where the first processing measure is invalid, a second processing measure is adopted to process the interference to the first ONU, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs;

[0166] When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

[0167] ② The previous uplink signal is shifted backward in the time domain and has caused interference to the current uplink signal

[0168] At this time, step 406 may specifically include:

[0169] The interference to the first ONU is processed by a second processing measure, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs;

[0170] When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

[0171] 2) The next uplink signal is shifted forward in the time domain and interferes with the current uplink signal (the second reason).

[0172] ① The next uplink signal shifts forward in the time domain and there is a risk of interfering with the current uplink signal

[0173] At this time, step 406 may specifically include:

[0174] Using a fourth processing measure to process the interference to the first ONU, wherein the fourth processing measure includes: increasing the time interval between a current uplink signal of the first ONU and a next uplink signal of the current uplink signal by a second time length;

[0175] In the case where the fourth processing measure is invalid, a fifth processing measure is adopted to process the interference suffered by the first ONU, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs;

[0176] When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

[0177] ② The next uplink signal shifts forward in the time domain and interferes with the current uplink signal

[0178] At this time, step 406 may specifically include:

[0179] The interference to the first ONU is processed by a fifth processing measure, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs;

[0180] When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

[0181] 3) After the rogue ONU goes offline, it does not release the association identifier of the light-emitting timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

[0182] At this time, step 406 may specifically include:

[0183] Adopting a seventh processing measure to process the interference suffered by the first ONU, wherein the seventh processing measure includes: sending a third message to the rogue ONU, wherein the third message is used to release the association identifier of the at least one light-emitting time slot allocated to the rogue ONU, or the third message is used to release the association identifier of the at least one light-emitting time slot allocated to the rogue ONU, and allocate a new association identifier of the light-emitting time slot to the rogue ONU;

[0184] In the case where the seventh processing measure is invalid, an eighth processing measure is adopted to process the interference received by the first ONU, wherein the eighth processing measure includes: isolating the association identifier (such as AllocID) of the at least one light-emitting time slot, and not allocating the isolated association identifier to any ONU. In specific implementation, the association identifier (such as AllocID) of the at least one light-emitting time slot can be added to an isolation list to isolate the association identifier (such as AllocID) of the at least one light-emitting time slot.

[0185] Optionally, after step 406, an optical network unit detection method provided in an embodiment of the present specification may further include: constructing alarm information for the first ONU and reporting it to the network management server EMS, wherein the alarm information includes the cause and the interference handling measure.

[0186] Fig.13 The schematic diagram of the principle of processing interference and reporting alarm information is shown in FIG. Fig.13 As shown, different interference causes (the first cause, the second cause, and the third cause) can be handled by different processing measures, including but not limited to: increasing Tplo (i.e., the protection time and the time occupied by the preamble and the delimiter), deactivating the interfering ONU (i.e., the rogue ONU), shutting down the interfering ONU, and reporting an alarm, etc. In addition, the interference caused by the third cause can also be handled by measures such as releasing or isolating the associated identifier (such as AllocID) of the light-emitting time slot.

[0187] It should be noted that the first treatment measure, the second treatment measure, the third treatment measure, the fourth treatment measure, the fifth treatment measure, the sixth treatment measure and the sixth treatment measure given in the above text, as well as the order in which these treatment measures are adopted are merely examples, and do not mean that they must be handled in accordance with these treatment measures and in such an order.

[0188] Understandably, Fig.12 The optical network unit detection method provided by the illustrated embodiment can not only accurately identify whether the first ONU is interfered by a rogue ONU, subdivide the reasons why the first ONU is interfered by the rogue ONU, and accurately locate which rogue ONU is interfering, but also take effective measures to deal with the interference, thereby avoiding the recurrence of such interference and improving communication efficiency.

[0189] In addition, compared with the related art, the optical network unit detection method provided in the embodiment of this specification does not rely on hardware, does not require hardware changes, and has good universality; does not affect the normal business of the ONU, does not occupy additional bandwidth resources, and tries not to interrupt or interfere with the business of the ONU, ensuring the rapid recovery of network services; can realize automatic detection and identification of rogue ONUs, and perform classification processing, greatly improving the accuracy and efficiency of fault location, and has high practical value in engineering operation and maintenance.

[0190] The above is an introduction to an optical network unit detection method provided in an embodiment of this specification.

[0191] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0192] Fig.14 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Fig.14 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0193] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0194] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0195] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an optical network unit detection device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0196] Determine whether a first optical network unit ONU in a passive optical network PON is suspected of being interfered with, wherein the first ONU is a predetermined healthy ONU;

[0197] In the case that the first ONU is suspected of being interfered with, the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself is collected and processed to obtain multiple first received signal strengths corresponding to the multiple time periods, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light-emitting time slots and a second protection time, the first protection time is a protection time located before the uplink signal, the second protection time is a protection time located after the uplink signal, the first time period includes the time occupied by the preamble and delimiter of the uplink signal, and the light-emitting time slot is allocated by the optical line terminal OLT in the PON to the first ONU;

[0198] The multiple first received signal strengths are correspondingly compared with the multiple second received signal strengths to determine whether the first ONU is interfered by the rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal belonging to the first ONU in the multiple time periods corresponding to itself in a normal state.

[0199] The above is as in this manual Fig.14 The method performed by the optical network unit detection device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in software form. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this specification can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0200] The electronic device may also perform Figure 2 , Figure 4 , Figure 7 or Fig.12 The method and the optical network unit detection device are implemented in Figure 2 , Figure 4 , Figure 7 or Fig.12 The functions in the illustrated embodiments will not be described in detail in this specification.

[0201] Of course, in addition to software implementation, the electronic device of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0202] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 2 , Figure 4 , Figure 7 or Fig.12 The method of the embodiment shown is specifically used to perform the following operations:

[0203] Determine whether a first optical network unit ONU in a passive optical network PON is suspected of being interfered with, wherein the first ONU is a predetermined healthy ONU;

[0204] In the case that the first ONU is suspected of being interfered with, the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself is collected and processed to obtain multiple first received signal strengths corresponding to the multiple time periods, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light-emitting time slots and a second protection time, the first protection time is a protection time located before the uplink signal, the second protection time is a protection time located after the uplink signal, the first time period includes the time occupied by the preamble and delimiter of the uplink signal, and the light-emitting time slot is allocated by the optical line terminal OLT in the PON to the first ONU;

[0205] The multiple first received signal strengths are correspondingly compared with the multiple second received signal strengths to determine whether the first ONU is interfered by the rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal belonging to the first ONU in the multiple time periods corresponding to itself in a normal state.

[0206] Corresponding to the above method embodiment, this specification provides an optical network unit detection device, which is described below.

[0207] Fig.15 This is a schematic diagram of the structure of an optical network unit detection device 1500 provided by an embodiment of this specification. Fig.15 In a software implementation, the optical network unit detection device 1500 may include: a collection module 1501, a judgment module 1502 and an entry module 1503.

[0208] The collection module 1501 is used to collect and process the received signal strength of the current uplink signal of the first ONU in the first time period and multiple light time slots corresponding to the first ONU after the first ONU is activated, so as to obtain multiple third received signal strengths.

[0209] The first ONU may be any ONU in the PON. When the first ONU is activated to the O5 state (OPERATION STATE), the received signal strength of the ONU in the first time period and multiple light-emitting time slots corresponding to the first ONU is collected (or sampled).

[0210] In the embodiments of this specification, the received signal strength may include but is not limited to a received signal strength indication (RSSI).

[0211] In an embodiment of the present specification, the time corresponding to an uplink signal can be divided into multiple time periods: a first protection time, a first time period, multiple luminous time slots, and a second protection time. The first protection time is a protection time (GUARD TIME) located before the uplink signal, and the second protection time is a protection time (GUARD TIME) located after the uplink signal. The first time period includes the time occupied by the preamble code and delimiter of the uplink signal, and the luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0212] As an example, the acquisition module 1501 can be used to: collect the received signal strength of the current uplink signal of the first ONU in the first time period corresponding to itself and multiple light-emitting time slots for n times, where n corresponding to different time periods is the same or different; determine the average received signal strength corresponding to any time period in the multiple time periods for the n received signal strengths collected; and use the average received signal strength corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods.

[0213] As another example, the acquisition module 1501 can be used to: collect the received signal strength of the current uplink signal of the first ONU in the first time period corresponding to itself and multiple light-emitting time slots for n times, where n corresponding to different time periods is the same or different; determine the median of the n received signal strengths collected in any time period of the multiple time periods; and use the median as multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots.

[0214] It should be noted that in addition to averaging and taking the median, the n received signal strengths collected in any of the multiple time periods can be processed in other ways to obtain multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

[0215] The judgment module 1502 is used to determine whether the first ONU is healthy according to the strengths of the multiple third received signals and the bit error rate of the first ONU; if yes, trigger the table entry module 1503; otherwise, return to trigger the collection module 1501.

[0216] As an example, the judgment module 1502 may be used to determine that the first ONU is a healthy ONU when the multiple third received signal strengths are within a normal received signal strength range of the OLT and the bit error rate of the first ONU is less than or equal to a first threshold.

[0217] Generally speaking, the normal received signal strength range is the rated received signal strength range of the OLT.

[0218] The first threshold can be flexibly set based on experience, and is not limited in the embodiments of this specification.

[0219] The entry module 1503 is used to add the first ONU to the healthy ONU list.

[0220] In actual applications, each activated ONU in the PON can be scanned periodically to identify whether it is healthy. If it is healthy, it is added to the healthy ONU list.

[0221] Fig.15 The optical network unit detection device 1500 provided can also perform Figure 2 The method is used to implement the optical network unit detection device 1500 in Figure 2 The functions of the embodiments shown in the figure are the same and the same technical effects are achieved, so the embodiments of this specification will not be repeated here.

[0222] Fig.16 1 is a schematic diagram of a structure of an optical network unit detection device 1600 provided in another embodiment of the present specification. Fig.16In a software implementation, the optical network unit detection device 1600 may include: a first determination module 1601, a collection module 1602 and an interference determination module 1603.

[0223] The first determination module 1601 is used to determine whether a first optical network unit ONU in the PON is suspected of being interfered; if yes, the collection module 1602 is triggered.

[0224] The first ONU is a predetermined healthy ONU, that is, an ONU added to the healthy ONU list in the above preparation phase.

[0225] As an example, the first determination module 1601 can be used to: determine whether the specified operating parameters of the first ONU in the PON exceed the corresponding threshold, wherein the specified operating parameters include at least one of parameters such as bit error rate, bit error rate growth rate, and number of offline times within a specified time; when the specified operating parameters of the first ONU exceed the corresponding threshold, determine that the first ONU is suspected of being interfered with; otherwise, determine that the first ONU is not suspected of being interfered with.

[0226] The collection module 1602 is used to collect and process the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself, and obtain multiple first received signal strengths corresponding to the multiple time periods.

[0227] As described above, the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple luminous time slots and a second protection time, the first protection time is the protection time located before the uplink signal, the second protection time is the protection time located after the uplink signal, the first time period includes the time occupied by the preamble code and delimiter of the uplink signal, and the luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0228] As an example, the acquisition module 1602 can be used to: collect the received signal strength of the current uplink signal of the first ONU in the multiple time periods corresponding to itself n times respectively; determine the average received signal strength corresponding to any time period in the multiple time periods for the n received signal strengths collected in the multiple time periods; and use the average received signal strength corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods.

[0229] As another example, the acquisition module 1602 can be used to: respectively collect the received signal strength of the current uplink signal of the first ONU in the multiple time periods corresponding to itself; determine whether the number of collection times for the multiple time periods reaches n; if so, determine the median for the n received signal strengths collected in any time period of the multiple time periods, and use the medians corresponding to the multiple time periods as multiple first received signal strengths corresponding to the multiple time periods; otherwise, re-collect the received signal strength of the current uplink signal of the first ONU in the multiple time periods corresponding to itself n times respectively.

[0230] It should be noted that in addition to averaging and taking the median, the n received signal strengths collected in any of the multiple time periods can be processed in other ways to obtain multiple third received signal strengths corresponding to the first time period and the multiple light-emitting time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

[0231] The interference determination module 1603 is used to compare the multiple first received signal strengths with the multiple second received signal strengths to determine whether the first ONU is interfered by a rogue ONU.

[0232] The multiple second received signal strengths are received signal strengths of the uplink signal to which the first ONU belongs in a normal state in the multiple time periods corresponding to the first ONU.

[0233] As mentioned above, the second received signal strength of the uplink signal to the first ONU in the normal state in the first time period and multiple light-emitting time slots corresponding to itself can be the third received signal strength of the uplink signal to the first ONU in the first time period and multiple light-emitting time slots corresponding to itself measured in the preparation stage, or it can be a value set according to experience; the second received signal strength of the uplink signal to the first ONU in the normal state in the first protection time and the second protection time corresponding to itself can be a no-light value (a pre-configured value based on network conditions), such as -40.0db.

[0234] As an example, the interference determination module 1603 may be used to determine that the first ONU is interfered by a rogue ONU when a difference between at least one first received signal strength among the multiple first received signal strengths and a corresponding second received signal strength exceeds a corresponding threshold (reference threshold).

[0235] The corresponding threshold (reference threshold) is pre-configured based on the network situation.

[0236] Fig.16 The optical network unit detection device 1600 provided can also perform Figure 4The method is used to implement the optical network unit detection device 1600 in Figure 4 The functions of the embodiments shown in the figure are the same and the same technical effects are achieved, so the embodiments of this specification will not be repeated here.

[0237] Fig.17 1 is a schematic diagram of a structure of an optical network unit detection device 1600 provided in another embodiment of the present specification. Fig.17 In a software implementation, the optical network unit detection device 1600 may include a cause determination module 1604 and a positioning module 1605 in addition to the first determination module 1601 , the acquisition module 1602 and the interference determination module 1603 .

[0238] The cause determination module 1604 is used to determine the cause of the first ONU being interfered by the rogue ONU according to the multiple first received signal strengths, the multiple second received signal strengths and a preset judgment rule when the first ONU is interfered by the rogue ONU.

[0239] The positioning module 1605 is used to locate the rogue ONU that interferes with the first ONU based on the cause.

[0240] There may be three reasons why the first ONU is interfered by the rogue ONU. Accordingly, the preset judgment rules may include three types (the first judgment rule, the second judgment rule and the third judgment rule described below). The located rogue ONU is also divided into three cases, which are briefly described below. For details, please refer to the description of the method embodiment above.

[0241] 1) The previous uplink signal is shifted backward in the time domain and interferes with the current uplink signal (the first reason).

[0242] In this case, the first judgment rule is used for judgment. If the first judgment rule is met, it means that the cause of interference to the first ONU is the first cause.

[0243] The first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain to interfere with the current uplink signal.

[0244] The first judgment rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, it is determined that the reason why the ONU is interfered by the rogue ONU includes the first reason.

[0245] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the first reason, the positioning module 1605 can be used to: determine the ONU corresponding to the previous uplink signal of the current uplink signal of the first ONU as the rogue ONU interfering with the first ONU.

[0246] More specifically, the first judgment rule may include: a first rule and a second rule.

[0247] ① The previous uplink signal shifted backward in the time domain and there is a risk of interfering with the current uplink signal. The first rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second signal received strength of the current uplink signal in the first time period is less than the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal shifted backward in the time domain and there is a risk of interfering with the current uplink signal.

[0248] ② The previous uplink signal is shifted backward in the time domain and has caused interference to the current uplink signal

[0249] The second rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the first time period is greater than or equal to the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal has been shifted backward in the time domain and has caused interference to the current uplink signal.

[0250] 2) The next uplink signal is shifted forward in the time domain and interferes with the current uplink signal (the second reason).

[0251] In this case, the second judgment rule is used for judgment. If the second judgment rule is met, it means that the cause of interference to the first ONU is the second cause.

[0252] The second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain to interfere with the current uplink signal.

[0253] The second judgment rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, it is determined that the reason why the ONU is interfered by the rogue ONU includes the second reason.

[0254] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the second reason, the positioning module 1605 can be used to: determine the ONU corresponding to the next uplink signal of the current uplink signal of the first ONU as the rogue ONU interfering with the first ONU.

[0255] More specifically, the second judgment rule may include: a third rule and a fourth rule.

[0256] ① The next uplink signal shifts forward in the time domain and there is a risk of interfering with the current uplink signal

[0257] The third rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the last allocated luminous time slot is less than the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and there is a risk of interfering with the current uplink signal.

[0258] ② The next uplink signal shifts forward in the time domain and interferes with the current uplink signal

[0259] The fourth rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second signal received strength of the current uplink signal in the last allocated luminous time slot is greater than or equal to the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal.

[0260] 3) After the rogue ONU goes offline, it does not release the association identifier of the light-emitting timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

[0261] In this case, the third judgment rule is used for judgment. If the third judgment rule is met, it means that the cause of interference to the first ONU is the third cause.

[0262] The third reason includes: after the rogue ONU goes offline, it does not release the association identifier (ALLOCID) of the at least one luminous time slot configured for itself, thereby interfering with the current uplink signal.

[0263] Among them, the third judgment rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the first protection time is less than the first threshold, the difference between the first received signal strength and the second signal received strength of the current uplink signal in the second protection time is less than the second threshold, and the difference between the first received signal strength and the second signal received strength of the current uplink signal in at least one luminous time slot is greater than or equal to the third threshold, then it is determined that the reason why the ONU is interfered with by the rogue ONU includes the third reason.

[0264] Correspondingly, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the third reason, the positioning module 1605 can be used to: determine the ONU that has been offline and has not released the association identifier of the at least one light emitting time slot as the rogue ONU interfering with the first ONU.

[0265] Fig.17 The optical network unit detection device 1600 provided can also perform Figure 7 The method is used to implement the optical network unit detection device 1500 in Figure 2 The functions of the embodiments shown in the figure are the same and the same technical effects are achieved, so the embodiments of this specification will not be repeated here.

[0266] Fig.18 1 is a schematic diagram of a structure of an optical network unit detection device 1600 provided in another embodiment of the present specification. Fig.18 In a software implementation, the optical network unit detection device 1600 may include an interference processing module 1606 in addition to the first determination module 1601, the acquisition module 1602, the interference determination module 1603, the cause determination module 1604 and the positioning module 1605.

[0267] The interference processing module 1606 is used to process the interference suffered by the first ONU based on the interference processing measures corresponding to the cause.

[0268] The following introduces the treatment measures for the three situations mentioned above.

[0269] 1) The previous uplink signal is shifted backward in the time domain and interferes with the current uplink signal (the first reason)

[0270] ① The previous uplink signal is shifted backward in the time domain, which may interfere with the current uplink signal.

[0271] At this time, the interference processing module 1606 may be used to:

[0272] The interference to the first ONU is processed by a first processing measure, wherein the first processing measure includes: increasing a time interval between a current uplink signal of the first ONU and a previous uplink signal of the current uplink signal by a first time length;

[0273] In the case where the first processing measure is invalid, a second processing measure is adopted to process the interference to the first ONU, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs;

[0274] When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

[0275] ② The previous uplink signal is shifted backward in the time domain and has caused interference to the current uplink signal

[0276] At this time, the interference processing module 1606 may be used to:

[0277] The interference to the first ONU is processed by a second processing measure, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs;

[0278] When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

[0279] 2) The next uplink signal is shifted forward in the time domain and interferes with the current uplink signal (the second reason).

[0280] ① The next uplink signal shifts forward in the time domain and there is a risk of interfering with the current uplink signal

[0281] At this time, the interference processing module 1606 may be used to:

[0282] Using a fourth processing measure to process the interference to the first ONU, wherein the fourth processing measure includes: increasing the time interval between a current uplink signal of the first ONU and a next uplink signal of the current uplink signal by a second time length;

[0283] In the case where the fourth processing measure is invalid, a fifth processing measure is adopted to process the interference suffered by the first ONU, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs;

[0284] When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

[0285] ② The next uplink signal shifts forward in the time domain and interferes with the current uplink signal

[0286] At this time, the interference processing module 1606 may be used to:

[0287] The interference to the first ONU is processed by a fifth processing measure, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs;

[0288] When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

[0289] 3) After the rogue ONU goes offline, it does not release the association identifier of the light-emitting timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

[0290] At this time, the interference processing module 1606 may be used to:

[0291] The interference to the first ONU is processed by adopting a seventh processing measure, wherein the seventh processing measure comprises: sending a third message to the rogue ONU, wherein the third message is used to release the ALLOCID corresponding to the at least one light-emitting time slot allocated to the rogue ONU, or the third message is used to release the association identifier of the at least one light-emitting time slot allocated to the rogue ONU, and allocate a new association identifier of the light-emitting time slot to the rogue ONU;

[0292] When the seventh processing measure is invalid, an eighth processing measure is adopted to process the interference suffered by the first ONU, wherein the eighth processing measure includes: isolating the association identifier of the at least one luminous time slot, and not allocating the isolated association identifier to any ONU.

[0293] Optionally, an optical network unit detection device 1600 provided in an embodiment of the present specification may further include: a reporting module, used to construct alarm information for the first ONU and report it to the network management server EMS, wherein the alarm information includes the cause and the interference handling measure.

[0294] It should be noted that the first treatment measure, the second treatment measure, the third treatment measure, the fourth treatment measure, the fifth treatment measure, the sixth treatment measure and the sixth treatment measure given in the above text, as well as the order in which these treatment measures are adopted are merely examples, and do not mean that they must be handled in accordance with these treatment measures and in such an order.

[0295] Fig.18 The optical network unit detection device 1600 provided can also perform Fig.12 The method is used to implement the optical network unit detection device 1600 in Fig.12 The functions of the embodiments shown in the figure are the same and the technical effects are achieved, so the embodiments of this specification will not be described in detail here.

[0296] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the protection scope of this specification.

[0297] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0298] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0299] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0300] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A method for detecting an optical network unit, comprising: Determine whether a first optical network unit ONU in a passive optical network PON is suspected of being interfered with, wherein the first ONU is a predetermined healthy ONU; In the case that the first ONU is suspected of being interfered with, the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to itself is collected and processed to obtain multiple first received signal strengths corresponding to the multiple time periods, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light-emitting time slots and a second protection time, the first protection time is a protection time located before the uplink signal, the second protection time is a protection time located after the uplink signal, the first time period includes the time occupied by the preamble and delimiter of the uplink signal, and the light-emitting time slot is allocated by the optical line terminal OLT in the PON to the first ONU; The multiple first received signal strengths are correspondingly compared with the multiple second received signal strengths to determine whether the first ONU is interfered by the rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal belonging to the first ONU in the multiple time periods corresponding to itself in a normal state.

2. The method according to claim 1, wherein the first ONU is from a healthy ONU list, and before determining whether the first ONU in the PON is suspected of being interfered, the method further comprises: After the first ONU is activated, the received signal strength of the current uplink signal of the first ONU in the first time period and the multiple light-emitting time slots corresponding to the first ONU is collected and processed to obtain multiple third received signal strengths; Determine whether the first ONU is healthy according to the plurality of third received signal strengths and the bit error rate of the first ONU; When the first ONU is healthy, the first ONU is added to the healthy ONU list.

3. The method according to claim 2, wherein determining whether the first ONU is healthy according to the plurality of third received signal strengths and the bit error rate of the first ONU comprises: When the plurality of third received signal strengths are within a normal received signal strength range of the OLT and a bit error rate of the first ONU is less than or equal to a first threshold, it is determined that the first ONU is a healthy ONU.

4. The method according to claim 1, wherein determining whether the first ONU in the PON is suspected of being interfered with comprises: Determine whether a specified operating parameter of a first ONU in the PON exceeds a corresponding threshold, wherein the specified operating parameter includes at least one of a bit error rate, a bit error rate increase, and a number of offline times within a specified time; When the specified operating parameter of the first ONU exceeds the corresponding threshold, it is determined that the first ONU is suspected of being interfered.

5. The method according to claim 1, wherein collecting and processing the received signal strength of the current uplink signal of the first ONU in multiple time periods corresponding to the first ONU to obtain multiple first received signal strengths corresponding to the multiple time periods comprises: The received signal strength of the current uplink signal of the first ONU in the multiple time periods corresponding to the first ONU is collected n times respectively, wherein n corresponding to different time periods in the multiple time periods are the same or different; For n received signal strengths collected in any time period of the multiple time periods, determine an average received signal strength corresponding to the time period; The average received signal strengths corresponding to the multiple time periods are used as multiple first received signal strengths corresponding to the multiple time periods.

6. The method according to claim 1, wherein the comparing the plurality of first received signal strengths with the plurality of second received signal strengths to determine whether the first ONU is interfered by a rogue ONU comprises: When a difference between at least one first received signal strength among the multiple first received signal strengths and a corresponding second received signal strength exceeds a corresponding threshold, it is determined that the first ONU is interfered by a rogue ONU.

7. The method according to claim 1, further comprising: In the case where the first ONU is interfered by a rogue ONU, determining a reason why the first ONU is interfered by the rogue ONU according to the multiple first received signal strengths, the multiple second received signal strengths and a preset judgment rule; A rogue ONU interfering with the first ONU is located based on the cause.

8. The method according to claim 7, further comprising: Based on the interference handling measures corresponding to the cause, the interference suffered by the first ONU is handled.

9. The method according to claim 8, wherein the preset judgment rule comprises at least one of a first judgment rule, a second judgment rule and a third judgment rule: The first judgment rule includes: If the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU at the first protection time is greater than or equal to the first threshold, it is determined that the reason why the ONU is interfered by the rogue ONU includes the first reason, wherein the first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain to interfere with the current uplink signal; The second judgment rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU at the second protection time is greater than or equal to the second threshold, then determining that the reason why the ONU is interfered by the rogue ONU includes the second reason, wherein the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain to interfere with the current uplink signal; The third judgment rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is less than the first threshold, the difference between the first received signal strength and the second received signal strength of the current uplink signal in the second protection time is less than the second threshold, and the difference between the first received signal strength and the second received signal strength of the current uplink signal in at least one luminous time slot is greater than or equal to the third threshold, then it is determined that the reason why the ONU is interfered with by the rogue ONU includes the third reason, wherein the third reason includes: the rogue ONU does not release the association identifier of the at least one luminous time slot configured for itself after going offline, thereby interfering with the current uplink signal.

10. The method according to claim 9, If it is determined that the reason why the first ONU is interfered by the rogue ONU is the first reason, then locating the rogue ONU that interferes with the first ONU based on the reason includes: Determine an ONU corresponding to a previous uplink signal of a current uplink signal of the first ONU as a rogue ONU interfering with the first ONU; If it is determined that the reason why the first ONU is interfered by the rogue ONU is the second reason, then locating the rogue ONU interfering with the first ONU based on the reason includes: determining an ONU corresponding to a next uplink signal of a current uplink signal of the first ONU as the rogue ONU interfering with the first ONU; If it is determined that the reason why the first ONU is interfered with by the rogue ONU is the third reason, then locating the rogue ONU that interferes with the first ONU based on the reason includes: determining an ONU that has been offline and has not released the associated identifier of the at least one light emitting time slot as the rogue ONU that interferes with the first ONU.

11. The method according to claim 9 or 10, wherein the first judgment rule specifically comprises a first rule and a second rule; The first rule includes: If the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the first time period is less than the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain and there is a risk of interfering with the current uplink signal; The second rule includes: if the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the first protection time is greater than or equal to the first threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the first time period is greater than or equal to the fourth threshold, then the first reason includes: the previous uplink signal of the current uplink signal has been shifted backward in the time domain and has caused interference to the current uplink signal.

12. The method according to claim 11, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the first reason, and the first reason is the first reason corresponding to the first rule, then the interference processing measure corresponding to the reason is used to process the interference to the first ONU, comprising: The interference to the first ONU is processed by a first processing measure, wherein the first processing measure includes: increasing a time interval between a current uplink signal of the first ONU and a previous uplink signal of the current uplink signal by a first time length; In the case where the first processing measure is invalid, a second processing measure is adopted to process the interference to the first ONU, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs; When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

13. The method according to claim 11, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the first reason, and the first reason is the first reason corresponding to the second rule, then the interference processing measure corresponding to the reason is used to process the interference to the first ONU, comprising: The interference to the first ONU is processed by a second processing measure, wherein the second processing measure comprises: sending a first message to an ONU to which a previous uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the previous uplink signal belongs; When the second processing measure is invalid, a third processing measure is adopted to process the interference suffered by the first ONU, wherein the third processing measure includes: sending a second message to the ONU to which the previous uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the previous uplink signal belongs.

14. The method according to claim 9 or 10, wherein the second judgment rule specifically includes a third rule and a fourth rule; The third rule includes: If the difference between the first received signal strength and the second received signal strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second received signal strength of the current uplink signal in the last allocated light-emitting time slot is less than the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and there is a risk of interfering with the current uplink signal; The fourth rule includes: if the difference between the first received signal strength and the second signal received strength of the current uplink signal of an ONU in the second protection time is greater than or equal to the second threshold, and the difference between the first received signal strength and the corresponding second signal received strength of the current uplink signal in the last allocated luminous time slot is greater than or equal to the fifth threshold, then the second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal.

15. The method according to claim 14, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the second reason, and the first reason is the second reason corresponding to the third rule, then the interference processing measure corresponding to the reason is used to process the interference to the first ONU, comprising: Using a fourth processing measure to process the interference to the first ONU, wherein the fourth processing measure includes: increasing the time interval between a current uplink signal of the first ONU and a next uplink signal of the current uplink signal by a second time length; In the case where the fourth processing measure is invalid, a fifth processing measure is adopted to process the interference suffered by the first ONU, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs; When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

16. The method according to claim 14, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the second reason, and the first reason is the second reason corresponding to the fourth rule, then the interference processing measure corresponding to the reason is used to process the interference to the first ONU, comprising: The interference to the first ONU is processed by a fifth processing measure, wherein the fifth processing measure comprises: sending a first message to an ONU to which a next uplink signal of a current uplink signal of the first ONU belongs, wherein the first message is used to deactivate the ONU to which the next uplink signal belongs; When the fifth processing measure is invalid, the sixth processing measure is adopted to process the interference suffered by the first ONU, wherein the sixth processing measure includes: sending a second message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the second message is used to turn off the uplink light of the ONU to which the next uplink signal belongs.

17. The method according to claim 9 or 10, if it is determined that the reason why the first ONU is interfered by the rogue ONU is the third reason, then the interference processing measure corresponding to the reason is used to process the interference to the first ONU, comprising: Adopting a seventh processing measure to process the interference suffered by the first ONU, wherein the seventh processing measure includes: sending a third message to the rogue ONU, wherein the third message is used to release the association identifier of the at least one light-emitting time slot allocated to the rogue ONU, or the third message is used to release the association identifier of the at least one light-emitting time slot allocated to the rogue ONU, and allocate a new association identifier of the light-emitting time slot to the rogue ONU; When the seventh processing measure is invalid, an eighth processing measure is adopted to process the interference suffered by the first ONU, wherein the eighth processing measure includes: isolating the association identifier of the at least one luminous time slot, and not allocating the isolated association identifier to any ONU.

18. The method according to claim 8, further comprising: Construct alarm information for the first ONU and report it to the network management server, wherein the alarm information includes the cause and the interference handling measure.

19. An electronic device comprising: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 18.

20. A computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 18.