Detection method for optical network unit, electronic device, and computer readable storage medium

By collecting and comparing the uplink signal intensity of optical network units in passive optical networks, identifying interference from rogue optical network units and taking processing measures, the problem of inaccurate detection results is solved, and detection accuracy and network recovery efficiency are improved.

WO2025007747A1PCT designated stage expired Publication Date: 2025-01-09ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/100111
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-04
Filing Date
2024-06-19
Publication Date
2025-01-09

AI Technical Summary

Technical Problem

When the existing optical network unit detection method faces optical path interference caused by non-long luminescence, the detection results are inaccurate, making it difficult to effectively identify and handle interference from rogue optical network units.

Method used

By collecting and comparing the received signal intensity of the optical network unit in a passive optical network in a passive optical network, determining whether it is disturbed by the rogue optical network unit, using multiple acquisition and comparison methods to improve the accuracy of detection, and Take corresponding measures according to different reasons for interference.

Benefits of technology

It improves the detection accuracy of interference from non-long luminous rogue optical network units, can accurately locate the cause of interference and take effective measures, improves communication efficiency and quickly restores network services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024100111_09012025_PF_FP_ABST
    Figure CN2024100111_09012025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present description provide a detection method for an optical network unit (ONU), an electronic device, and a computer readable storage medium. The method comprises: determining whether a first ONU in a passive optical network (PON) is suspected of being interfered with; if the first ONU is suspected of being interfered with, collecting and processing received signal strengths of a current uplink signal of the first ONU in multiple time periods corresponding to the first ONU itself to obtain multiple first received signal strengths corresponding to the multiple time periods; and correspondingly comparing the multiple first received signal strengths with multiple second received signal strengths to determine whether the first ONU is interfered with by a rogue ONU, wherein the multiple second received signal strengths are received signal strengths of an uplink signal belonging to the first ONU in a normal state in the multiple time periods corresponding to the first ONU itself.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] Cross-references

[0002] The present invention claims priority to a Chinese patent application filed with the Patent Office of China on July 4, 2023, with application number 202310816524.7 and invention name “Optical Network Unit Detection Method, Electronic Device and Computer-Readable Storage Medium”. The entire contents of the application are incorporated herein by reference. Technical Field

[0003] 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

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

[0005] However, in passive optical network (PON) engineering applications, due to various factors, some optical network units (ONUs) may exhibit anomalies, causing conflicts between upstream signals and interfering with the upstream transmission of normal ONUs. ONUs that cause this phenomenon are often called rogue ONUs. While normal ONUs transmit optical signals only during their assigned time slots, rogue ONUs may transmit in unassigned time slots.

[0006] Rogue optical network units (ONUs) exhibit either persistent or non-persistent light patterns. Existing detection methods are relatively mature for optical path interference caused by persistent light patterns. However, existing detection methods for optical path interference caused by non-persistent light patterns can produce inaccurate results.

[0007] Summary of the Invention

[0008] The embodiments of this 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.

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

[0010] In a first aspect, a method for detecting an optical network unit is provided, comprising: determining 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 where the first ONU is suspected of being interfered with, collecting and processing received signal strengths of a 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, wherein the multiple time periods corresponding to an uplink signal include a first protection time, a first time period, multiple light time slots, and a second protection time, wherein 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 a time occupied by a preamble and a delimiter of the uplink signal, and the light time slot is allocated to the first ONU by an optical line terminal (OLT) in the PON; and comparing the multiple first received signal strengths with multiple second received signal strengths to determine whether the first ONU is interfered with by a rogue ONU, wherein 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.

[0011] In a second aspect, an optical network unit detection device is provided, comprising: a first determination module, 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; an acquisition module, 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 when the first ONU is suspected of being interfered with, 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, and the first time period is a plurality of light-emitting time slots. 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 light time slot is allocated to the first ONU by the optical line terminal OLT in the PON; 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 with by a rogue ONU, wherein the multiple second received signal strengths are the received signal strengths of the uplink signal to which the first ONU belongs in a normal state in the multiple time periods corresponding to itself.

[0012] According to a third aspect, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method described in the first aspect.

[0013] In a fourth aspect, a computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 any creative labor.

[0015] FIG1 is a schematic diagram of a system architecture of a passive optical network (OPN) provided by an embodiment of this specification.

[0016] FIG2 is a flow chart of a preparation phase of an optical network unit detection method provided by an embodiment of this specification.

[0017] FIG3 is a schematic diagram of the sampling principle in the embodiment shown in FIG2 .

[0018] FIG4 is a flow chart of an optical network unit detection method provided by an embodiment of this specification.

[0019] FIG. 5 is a detailed flowchart of step 402 in the embodiment shown in FIG. 4 .

[0020] FIG. 6 is a schematic diagram of the sampling principle in the embodiment shown in FIG. 4 .

[0021] FIG7 is a flow chart of an optical network unit detection method provided by another embodiment of this specification.

[0022] FIG8 is a first schematic diagram of the principle of an ONU being interfered with by a rogue ONU according to an embodiment of this specification.

[0023] FIG9 is a second schematic diagram of the principle of an ONU being interfered with by a rogue ONU according to an embodiment of this specification.

[0024] FIG10 is a third schematic diagram of the principle of an ONU being interfered with by a rogue ONU according to an embodiment of this specification.

[0025] FIG. 11 is a schematic diagram showing an implementation principle of step 404 in the embodiment shown in FIG. 7 .

[0026] FIG12 is a flow chart of an optical network unit detection method provided in another embodiment of this specification.

[0027] FIG. 13 is a schematic diagram showing an implementation principle of step 406 in the embodiment shown in FIG. 12 .

[0028] FIG14 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0029] FIG15 is a schematic structural diagram of an optical network unit detection device provided by an embodiment of this specification.

[0030] FIG16 is a schematic structural diagram of an optical network unit detection device provided by an embodiment of this specification.

[0031] FIG17 is a schematic structural diagram of an optical network unit detection device provided in another embodiment of this specification.

[0032] FIG18 is a schematic structural diagram of an optical network unit detection device provided in another embodiment of this specification. DETAILED DESCRIPTION

[0033] In order to help those skilled in the art 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 making creative efforts should fall within the scope of protection of this document.

[0034] The terms "first," "second," and the like in this specification and claims are used to distinguish similar objects and are not intended to describe a particular order or precedence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments of this specification can be implemented in orders other than those illustrated or described herein. Furthermore, the term "and / or" in this specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the connected objects are in an "or" relationship.

[0035] To address the current problem of inaccurate optical network unit detection results caused by non-permanent light emission, this illustrative embodiment proposes an optical network unit detection method, which can be executed by an optical line terminal (OLT) in a passive optical network (PON).

[0036] For ease of understanding, the common networking structure of PON is briefly described below with reference to FIG1 .

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

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

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

[0040] There are many types of rogue ONUs. Based on the time they transmit, they can be divided into long-term rogue ONUs: ONUs that transmit at all times; and non-long-term rogue ONUs: ONUs that transmit in transmission time slots not assigned by the OLT. This may be premature transmission, delayed shutdown, or the ONU software hangs.

[0041] Rogue ONU: An optical network unit that is always on.

[0042] Non-long-transmitting rogue ONU: transmits light in a transmitting time slot not allocated by the optical line terminal. This may be premature transmission, delayed shutdown, or the software of the second optical network unit is hung.

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

[0044] The optical network unit detection method provided in the embodiments 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 below. It should be noted that the preparation stage is not a necessary stage for achieving the implementation stage.

[0045] (1) Preparation stage

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

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

[0048] 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 time slots corresponding to the first ONU is collected (or sampled).

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

[0050] 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 the protection time (GUARD TIME) located before the uplink signal, and the second protection time is the 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.

[0051] 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.

[0052] As shown in Figure 3, 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 multiple light-emitting time slots allocated by the OLT. Among them, the light-emitting time slot changes due to the change of the allocated association identifier (AllocID). The multiple light-emitting time slots can be expressed as AllocID1~AllocIDM.

[0053] In Figure 3, whether it is the first protection time or the second protection time, there is a small 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.

[0054] During the preparation phase, the purpose of collecting the received signal strength of the first ONU during its corresponding first time period and multiple light-emitting time slots is to determine the received signal strength of the first ONU's uplink signal during its corresponding first time period and multiple light-emitting time slots under normal conditions. This is to determine the portion of the second received signal strength used in the implementation phase (i.e., the second received signal strength of the first ONU during its corresponding first time period and multiple light-emitting time slots is the third received signal strength of the first ONU during its corresponding first time period and multiple light-emitting time slots). Of course, this determination of the portion of the second received signal strength can be omitted, and the second received signal strength can be set empirically. Furthermore, since for an ONU, the remaining time during the first and second protection times is theoretically dark, except for the relatively short light-on and light-off times, during these first and second protection times, the received signal strength of the first ONU's uplink signal during these two time periods can be omitted during the preparation phase. Instead, the second received signal strength of the first ONU's uplink signal during these two time periods can be set to a dark value, such as -40.0 dB.

[0055] 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 time slots n times, where n corresponding to different time periods is the same or different; determining the average received signal strength corresponding to any time period of 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.

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

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

[0058] 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.

[0059] 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, where 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.

[0060] 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 luminous time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

[0061] Step 202: Determine whether the first ONU is healthy based on the multiple third received signal strengths and the bit error rate of the first ONU; if yes, execute step 203; otherwise, return to step 201, or use other ONU as the first ONU and return to step 201.

[0062] As an example, step 202 may include: determining 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 a bit error rate of the first ONU is less than or equal to a first threshold.

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

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

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

[0066] 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.

[0067] It can be understood that the optical network unit detection method provided by the embodiment shown in Figure 2 can, on the one hand, accurately obtain the received signal strength of the uplink signal of the first ONU in the 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.

[0068] (2) Implementation phase

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

[0070] Step 400, start.

[0071] Step 401 : Determine whether a first optical network unit (ONU) in a PON is suspected of being interfered with; if so, execute step 402 ; otherwise, return to step 400 .

[0072] The first ONU is a predetermined healthy ONU, that is, an ONU added to the healthy ONU list in the preparation phase. In actual application, the healthy ONU list can be scanned periodically to identify whether any ONU in the list is suspected of being interfered with.

[0073] 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; if 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.

[0074] Step 402: Collect and process the received signal strengths 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.

[0075] 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, and the second protection time is the 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 luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0076] As an example, as shown in FIG5 , step 402 may specifically include:

[0077] Step 501: The received signal strengths of the current uplink signal of the first ONU in the multiple time periods corresponding to the first ONU are respectively collected.

[0078] Step 502 : Determine whether the number of acquisitions for the multiple time periods reaches n; if yes, execute step 503 ; otherwise, return to execute step 501 .

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

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

[0081] 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.

[0082] As shown in FIG6 , the received signal strength of the uplink signal N of the first ONU can be collected n times in the first protection time Tg, "Tp+Td (first period)", "AllocID1 to AllocIDM (a plurality of luminous time slots indicated by an association identifier)" and the second protection time Tg, respectively. The size of n is configurable, which is equivalent to collecting in n segments. Specifically, as shown in FIG6 :

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

[0084] 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'.

[0085] 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 segment is Spreg1~Spregn, and the arithmetic mean is Spreg-avg'; for the second protection time, the sampling segment is Spostg1~Spostgn, and the arithmetic mean is Spostg-avg'.

[0086] 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 is still allocated to the ONU during the received signal strength sampling phase.

[0087] Optionally, to ensure the accuracy of the average value, the sampling process from step 501 to step 502 may be repeated to calculate the arithmetic mean again. Alternatively, the repeatedly sampled data may be averaged together.

[0088] As another example, step 402 may specifically include: collecting the received signal strength 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 of the n received signal strengths collected in any time period of the multiple time periods, and using the median corresponding to the multiple time periods as the multiple first received signal strengths corresponding to the multiple time periods; otherwise, re-collecting the received signal strength of the current uplink signal of the first ONU in the multiple time periods corresponding to itself n times, respectively.

[0089] 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 luminous time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

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

[0091] 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.

[0092] As mentioned above, the second received signal strength of the uplink signal to which the first ONU belongs in a 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 which the first ONU belongs 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 based on experience; the second received signal strength of the uplink signal to which the first ONU belongs in a normal state in the first protection time and second protection time corresponding to itself can be a no-light value (a pre-configured value based on network conditions), such as -40.0db.

[0093] As an example, step 403 may include: determining that the first ONU is interfered with 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).

[0094] The corresponding threshold (reference threshold) is pre-configured based on network conditions.

[0095] The embodiment shown in Figure 4 provides an optical network unit detection method. 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 these 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.

[0096] Optionally, relative to FIG4 , as shown in FIG7 , in another embodiment, the optical network detection method provided in this specification may further include:

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

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

[0099] There may be three reasons why the first ONU is interfered with 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.

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

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

[0102] The first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain and interferes with the current uplink signal.

[0103] 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 with by the rogue ONU includes the first reason.

[0104] Assume (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 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.0 dB); then, the first judgment rule can be expressed as:

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

[0106] Correspondingly, if it is determined that the reason why the first ONU is interfered with 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.

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

[0108] ① The previous uplink signal is offset backward in the time domain and there is a risk of interfering with the current uplink signal.

[0109] 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.

[0110] The first rule can be expressed as:

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

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

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

[0114] 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 is shifted backward in the time domain and has caused interference to the current uplink signal.

[0115] The second rule can be expressed as:

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

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

[0118] As shown in Figure 8, the previous uplink signal N-1 of uplink signal N is shifted backward in the time domain, causing uplink signal N-1 to overlap with 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 delimiter: Tp + Td). This increases the strength of the collected received signal. The overlap of uplink signal N-1 and uplink signal N poses a risk of affecting uplink signal N at best, and at worst, interferes with uplink signal N.

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

[0120] 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.

[0121] The second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and interferes with the current uplink signal.

[0122] 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 with by the rogue ONU includes the second reason.

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

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

[0125] Correspondingly, if it is determined that the reason why the first ONU is interfered with by the rogue ONU is the second reason, step 405 may include: determining 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.

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

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

[0128] The third 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 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.

[0129] The third rule can be expressed as:

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

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

[0132] ② The next uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal

[0133] 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.

[0134] The fourth rule can be expressed as:

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

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

[0137] As shown in Figure 9, the next uplink signal N+1 of uplink signal N is shifted forward in the time domain, causing uplink signal N+1 to overlap with uplink signal N during the last emission timeslot of 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 overlap of uplink signal N+1 with uplink signal N poses a risk of affecting uplink signal N at best, and can even cause interference to uplink signal N at worst.

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

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

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

[0141] 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.

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

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

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

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

[0146] Where, i=1, 2,...M.

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

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

[0149] As shown in FIG10 , the received signal strength of the uplink signal N in the transmission timeslot AllocID1 increases, indicating that the uplink signal N is interfered with in the transmission timeslot and the uplink signal of the rogue ONU is superimposed on the uplink signal N.

[0150] Figure 11 is a schematic diagram showing the principle of an optical network unit detection method provided by an embodiment of the present specification for identifying the interference cause of the first ONU. As shown in Figure 11, the optical network unit detection method provided by 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 interference cause of the first ONU is "the previous uplink signal is offset backward (first cause)", "the next uplink signal is offset forward (second cause)", and "the offline ONU occupies the light time slot (third cause)", and provide the consequences of the first two causes: there is a risk or interference has occurred.

[0151] It can be understood that the optical network unit detection method provided by the embodiment shown in Figure 7 can not only accurately identify whether the first ONU is interfered with by a rogue ONU, but also subdivide the reason why the first ONU is interfered with by the rogue ONU and accurately locate which rogue ONU is interfering.

[0152] Optionally, as shown in FIG12 , an optical network unit detection method provided in an embodiment of this specification may further include:

[0153] Step 406: Process the interference experienced by the first ONU based on an interference processing measure corresponding to the cause.

[0154] The following describes the treatment measures for the three situations mentioned above.

[0155] 1) The previous uplink signal is offset backward in time domain, interfering with the current uplink signal (the first reason)

[0156] ① 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:

[0157] A first processing measure is adopted to process the interference suffered by the first ONU, wherein the first processing measure includes: increasing the time interval between a current uplink signal of the first ONU and a previous uplink signal of the current uplink signal by a first duration.

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

[0159] If 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.

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

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

[0162] Using a second processing measure to process the interference suffered by the first ONU, wherein the second processing measure includes: 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;

[0163] If 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.

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

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

[0166] A fourth processing measure is used to process the interference suffered by 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 duration.

[0167] When the fourth processing measure is invalid, the fifth processing measure is adopted to process the interference suffered by the first ONU, wherein the fifth processing measure includes: sending a first message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the first message is used to deactivate the ONU to which the next uplink signal belongs.

[0168] If 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.

[0169] ② The next uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal

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

[0171] A fifth processing measure is used to process the interference suffered by the first ONU, wherein the fifth processing measure includes: sending a first message to the ONU to which the next uplink signal of the 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.

[0172] If 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.

[0173] 3) After going offline, the rogue ONU does not release the association identifier of the luminous timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

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

[0175] A seventh processing measure is used to process the interference received 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 assigned to the rogue ONU, or the third message is used to release the association identifier of the at least one light-emitting time slot assigned to the rogue ONU, and assign a new association identifier of the light-emitting time slot to the rogue ONU.

[0176] If the seventh processing measure is ineffective, 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 assigning the isolated association identifier to any ONU. In a 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.

[0177] Optionally, after step 406, an optical network unit detection method provided in an embodiment of this 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 measures.

[0178] Figure 13 illustrates the principles for handling interference and reporting alarms. As shown in Figure 13, different interference causes (the first, second, and third causes discussed above) can be addressed using different measures. These include, but are not limited to, increasing Tplo (the guard time and the time occupied by the preamble and delimiter), deactivating interfering ONUs (rogue ONUs), shutting down interfering ONUs, and reporting alarms. Furthermore, interference caused by the third cause can be addressed by releasing or isolating the associated identifiers (such as AllocID) of the luminous timeslots.

[0179] It should be noted that the first treatment measure, second treatment measure, third treatment measure, fourth treatment measure, fifth treatment measure, sixth treatment measure and 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 the treatment must be carried out in accordance with these treatment measures and in such an order.

[0180] It can be understood that the optical network unit detection method provided by the embodiment shown in Figure 12 can not only accurately identify whether the first ONU is interfered with by a rogue ONU, subdivide the reasons why the first ONU is interfered with 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.

[0181] In addition, compared with related technologies, the optical network unit detection method provided in the embodiment of this specification does not rely on hardware, does not require hardware modifications, 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.

[0182] The above describes an optical network unit detection method provided by the embodiments of this specification.

[0183] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0184] FIG14 is a schematic diagram of the structure of an electronic device according to an embodiment of the present specification. Referring to FIG14 , 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 device. Of course, the electronic device may also include hardware required for other services.

[0185] The processor, network interface, and memory can be interconnected via an internal bus, such as an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, FIG14 shows only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

[0186] The memory is used to store programs. Specifically, the program may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0187] The processor reads the corresponding computer program from the non-volatile memory into the internal 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:

[0188] It is determined 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.

[0189] In the event that the first ONU is suspected of being interfered with, the received signal strengths of the current uplink signal of the first ONU in multiple time periods corresponding to the first ONU are 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 luminous 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 luminous time slot is allocated to the first ONU by the optical line terminal OLT in the PON.

[0190] Compare the multiple first received signal strengths with the multiple second received signal strengths to determine whether the first ONU is interfered with 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 normal state in the multiple time periods corresponding to themselves.

[0191] The method performed by the optical network unit detection device disclosed in the embodiment shown in FIG14 of this specification can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor or by software instructions. 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 gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this specification. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of this specification can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0192] The electronic device can also execute the method of Figure 2, Figure 4, Figure 7 or Figure 12, and realize the functions of the optical network unit detection device in the embodiment shown in Figure 2, Figure 4, Figure 7 or Figure 12, and the embodiments of this specification will not be repeated here.

[0193] Of course, in addition to software implementation, the electronic device in 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.

[0194] The embodiments of this specification also provide a computer-readable storage medium, which stores one or more programs. The one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple application programs, the portable electronic device can execute the method of the embodiment shown in Figure 2, Figure 4, Figure 7, or Figure 12, and are specifically used to perform the following operations:

[0195] It is determined 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.

[0196] In the event that the first ONU is suspected of being interfered with, the received signal strengths of the current uplink signal of the first ONU in multiple time periods corresponding to the first ONU are 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 luminous 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 luminous time slot is allocated to the first ONU by the optical line terminal OLT in the PON.

[0197] Compare the multiple first received signal strengths with the multiple second received signal strengths to determine whether the first ONU is interfered with 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 normal state in the multiple time periods corresponding to themselves.

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

[0199] FIG15 is a schematic diagram of the structure of an optical network unit detection device 1500 provided in an embodiment of this specification. Referring to FIG15 , in a software implementation, the optical network unit detection device 1500 may include: a collection module 1501 , a judgment module 1502 , and a table entry module 1503 .

[0200] 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.

[0201] 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 time slots corresponding to the first ONU is collected (or sampled).

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

[0203] 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 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.

[0204] 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 luminous time slots n times respectively, where n corresponding to different time periods is the same or different; for the n received signal strengths collected in any time period of the multiple time periods, determine the average received signal strength corresponding to the time period; 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.

[0205] 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 n times respectively, 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.

[0206] 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 luminous time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

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

[0208] As an example, the judgment module 1502 may be configured to determine that the first ONU is a healthy ONU when the plurality of 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.

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

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

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

[0212] 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.

[0213] The optical network unit detection device 1500 provided in FIG15 can also execute the method of FIG2 to realize the functions of the optical network unit detection device 1500 in the embodiment shown in FIG2 and achieve the same technical effect, which will not be repeated in this embodiment of the specification.

[0214] FIG16 is a schematic diagram of the structure of an optical network unit detection device 1600 provided in another embodiment of this specification. Referring to FIG16 , in 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 .

[0215] The first determining module 1601 is configured to determine whether a first optical network unit ONU in the PON is suspected of being interfered with; if so, the collecting module 1602 is triggered.

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

[0217] 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; if 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.

[0218] The collecting module 1602 is configured to collect and process the received signal strengths 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.

[0219] 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, and the second protection time is the 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 luminous time slot is allocated by the optical line terminal OLT in the PON to the first ONU.

[0220] 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; 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.

[0221] 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 of the n received signal strengths collected in any time period of the multiple time periods, and use the median corresponding to the multiple time periods as the 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.

[0222] 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 luminous time slots, such as taking the maximum value, or removing the maximum and minimum values, and taking the average value.

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

[0224] 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.

[0225] As mentioned above, the second received signal strength of the uplink signal to which the first ONU belongs in a 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 which the first ONU belongs 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 based on experience; the second received signal strength of the uplink signal to which the first ONU belongs in a normal state in the first protection time and second protection time corresponding to itself can be a no-light value (a pre-configured value based on network conditions), such as -40.0db.

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

[0227] The corresponding threshold (reference threshold) is pre-configured based on network conditions.

[0228] The optical network unit detection device 1600 provided in FIG16 can also execute the method of FIG4 to realize the functions of the optical network unit detection device 1600 in the embodiment shown in FIG4 and achieve the same technical effects, which will not be described in detail in this specification.

[0229] FIG17 is a schematic diagram of the structure of an optical network unit detection device 1600 provided in another embodiment of this specification. Referring to FIG17 , in a software implementation, the optical network unit detection device 1600 may include, in addition to a first determination module 1601, a collection module 1602, and an interference determination module 1603, a cause determination module 1604, and a positioning module 1605.

[0230] The cause determination module 1604 is configured to determine, when the first ONU is interfered with by the rogue ONU, a cause of the interference to the first ONU based on the multiple first received signal strengths, the multiple second received signal strengths, and a preset judgment rule.

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

[0232] There may be three reasons why the first ONU is interfered with 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.

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

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

[0235] The first reason includes: the previous uplink signal of the current uplink signal is shifted backward in the time domain and interferes with the current uplink signal.

[0236] 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 with by the rogue ONU includes the first reason.

[0237] Correspondingly, if it is determined that the reason why the first ONU is interfered with 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.

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

[0239] ① The previous uplink signal is offset backward in the time domain and there is a risk of interfering with the current uplink signal.

[0240] 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.

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

[0242] 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 is shifted backward in the time domain and has caused interference to the current uplink signal.

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

[0244] 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.

[0245] The second reason includes: the next uplink signal of the current uplink signal is shifted forward in the time domain and interferes with the current uplink signal.

[0246] 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 with by the rogue ONU includes the second reason.

[0247] Correspondingly, if it is determined that the reason why the first ONU is interfered with 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.

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

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

[0250] The third 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 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.

[0251] ② The next uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal

[0252] 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.

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

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

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

[0256] 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.

[0257] Correspondingly, if it is determined that the reason why the first ONU is interfered with 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 timeslot as the rogue ONU interfering with the first ONU.

[0258] The optical network unit detection device 1600 provided in FIG17 can also execute the method of FIG7 to realize the function of the optical network unit detection device 1500 in the embodiment shown in FIG2 and achieve the same technical effect, which will not be repeated in this embodiment of the present specification.

[0259] FIG18 is a schematic diagram of the structure of an optical network unit detection device 1600 provided in another embodiment of this specification. Referring to FIG18 , in a software implementation, the optical network unit detection device 1600 may include, in addition to a first determination module 1601, a collection module 1602, an interference determination module 1603, a cause determination module 1604, and a positioning module 1605, an interference processing module 1606.

[0260] 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.

[0261] The following describes the treatment measures for the three situations mentioned above.

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

[0263] ① There is a risk that the previous uplink signal, which is shifted backward in the time domain, will interfere with the current uplink signal.

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

[0265] A first processing measure is adopted to process the interference suffered by the first ONU, wherein the first processing measure includes: increasing the time interval between a current uplink signal of the first ONU and a previous uplink signal of the current uplink signal by a first duration.

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

[0267] If 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.

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

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

[0270] Using a second processing measure to process the interference suffered by the first ONU, wherein the second processing measure includes: 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;

[0271] If 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.

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

[0273] ① There is a risk that the next uplink signal will interfere with the current uplink signal if it shifts forward in the time domain.

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

[0275] A fourth processing measure is used to process the interference suffered by 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 duration.

[0276] When the fourth processing measure is invalid, the fifth processing measure is adopted to process the interference suffered by the first ONU, wherein the fifth processing measure includes: sending a first message to the ONU to which the next uplink signal of the current uplink signal of the first ONU belongs, and the first message is used to deactivate the ONU to which the next uplink signal belongs.

[0277] If 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.

[0278] ② The next uplink signal is shifted forward in the time domain and has caused interference to the current uplink signal.

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

[0280] A fifth processing measure is used to process the interference suffered by the first ONU, wherein the fifth processing measure includes: sending a first message to the ONU to which the next uplink signal of the 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.

[0281] If 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.

[0282] 3) After going offline, the rogue ONU does not release the association identifier of the luminous timeslot configured for itself, thereby interfering with the current uplink signal (the third reason).

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

[0284] A seventh processing measure is adopted to process the interference received 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 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.

[0285] 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.

[0286] Optionally, an optical network unit detection device 1600 provided in an embodiment of this 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 measures.

[0287] It should be noted that the first treatment measure, second treatment measure, third treatment measure, fourth treatment measure, fifth treatment measure, sixth treatment measure and 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 the treatment must be carried out in accordance with these treatment measures and in such an order.

[0288] The optical network unit detection device 1600 provided in FIG18 can also execute the method of FIG12 to realize the functions of the optical network unit detection device 1600 in the embodiment shown in FIG12 and achieve the same technical effects, which will not be described in detail in this specification.

[0289] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the scope of protection of this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in the scope of protection of this specification.

[0290] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having 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 smartphone, 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.

[0291] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The 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 disc read-only memory (CD-ROM), digital versatile disc (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 transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0292] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0293] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

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 at 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 at the second protection time is less than the first threshold. If 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 current If the difference between the first received signal strength of the uplink signal in the first time period and the corresponding second received signal strength is greater than or equal to the fourth threshold, the first reason includes: the previous uplink signal of the current uplink signal is 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; In the case where the second processing measure is invalid, a third processing measure is adopted to treat the first ONU The interference received is processed, 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.

Citation Information

Patent Citations

  • Fault solution method and system for rogue ONU in GPON system

    CN106936626A

  • ONU anomaly detection method, device, OLT, and optical network

    CN109039444A

  • Uplink bandwidth allocation and distribution method and device for gigabit passive optical network, and medium

    CN115942163A

  • Detecting presence of rogue onu

    US20090123154A1