Abnormality detection method and apparatus for optical access devices, and device and storage medium

By using the optical signal strength value within a time window to determine anomalies in optical access devices, the accuracy problem of optical access device status detection is solved, enabling efficient anomaly detection and timely recovery, and improving network stability and resource utilization efficiency.

WO2025251717A1PCT designated stage Publication Date: 2025-12-11RUIJIE NETWORKS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/081914
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-04
Filing Date
2025-03-11
Publication Date
2025-12-11

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately detect abnormal states in optical access devices, leading to network communication interruptions and performance degradation.

Method used

By acquiring the offline status of optical access devices within a preset time period, the system uses the optical signal strength values ​​within K time windows to determine whether there are any abnormal optical access devices. Combining the changes in signal strength values, the system can determine device abnormalities and avoid errors from a single detection.

Benefits of technology

It improves the accuracy and reliability of anomaly detection in optical access equipment, reduces the impact on bandwidth utilization, restores equipment registration function in a timely manner, and enhances network stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025081914_11122025_PF_FP_ABST
    Figure CN2025081914_11122025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides an abnormality detection method and apparatus for optical access devices, and a device and a storage medium. The method comprises: acquiring offline statuses of optical access devices within a preset time period; in response to the offline statuses satisfying a preset detection condition, instructing one or more online first optical access devices among the optical access devices to suspend a registration process within K time windows, wherein K is a positive integer greater than or equal to 2, the K time windows are in one-to-one correspondence with K discovery gate windows, and the K discovery gate windows are adjacent and used for executing the registration process; separately collecting optical signal intensities within the K time windows to obtain K signal intensity values, wherein the K time windows are in one-to-one correspondence with the K signal intensity values; and on the basis of the K signal intensity values, determining whether there is an abnormal optical access device among the optical access devices.
Need to check novelty before this filing date? Find Prior Art

Description

Abnormality detection method, device and equipment of optical access equipment and storage medium

[0001] Cross-reference of related applications

[0002] The present application claims priority to the Chinese patent application No. 202410718418.X, filed on June 4, 2024, and entitled "Abnormality detection method, device and equipment of optical access equipment and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0003] The present application relates to the field of communication technology, in particular to an abnormality detection method, device and equipment of optical access equipment and storage medium. BACKGROUND

[0004] Ethernet is a computer local area network technology, and the network architecture mainly includes network devices of a core layer, network devices of a convergence layer and network devices of an access layer. The network devices of each layer of the traditional Ethernet can communicate through wired or wireless means.

[0005] Under the background of optical access network replacing copper access network, optical access network is developing rapidly. Passive optical network (PON) is a communication network architecture using optical fiber transmission technology, which uses optical fiber as transmission medium and can provide high-speed and high-bandwidth transmission capability, and has been widely applied in the fields of broadband access, campus network and urban broadband coverage, etc.

[0006] The PON architecture includes an optical line terminal (OLT), an optical distribution network (ODN) and an optical network unit (ONU). The OLT is the core device of the PON, responsible for sending and receiving optical signals, converting data into optical signals and transmitting them to the user end through optical fiber. The ODN is an optical distribution network, responsible for transmitting optical signals from the OLT to the user end. The ONU is a user end device, installed in user homes, offices or campuses, etc., receiving optical signals and converting them into electrical signals to provide network connection to user devices such as computers, telephones, routers, etc.

[0007] The way of realizing optical splitting of Ethernet includes optical splitting based on PON chip (referred to as PON splitting) and optical splitting based on Ethernet device (referred to as Ethernet splitting).

[0008] In the PON splitting manner, the network device in the core layer can be a core network device and an OLT with a PON chip, or a core network device integrated with a PON chip. The network device in the convergence layer can include a passive device optical splitter. The network device in the access layer can be an access network device and an ONU with a PON chip, or an access network device (referred to as ONU for short) integrated with a PON chip.

[0009] In the Ethernet splitting manner, the network device in the core layer can be a core network device with an optical network convergence function (which does not need to be implemented by means of a PON chip). The network device in the convergence layer can include a passive device optical splitter. The network device in the access layer can be an access network device with an optical network convergence function (which does not need to be implemented by means of a PON chip). SUMMARY

[0010] Embodiments of the present application provide an abnormality detection method, device and equipment of an optical access device and a storage medium.

[0011] In a first aspect, embodiments of the present application provide an abnormality detection method of an optical access device, the method comprising:

[0012] obtaining offline conditions of the optical access device within a preset time period;

[0013] in response to the offline conditions meeting a preset detection condition, instructing one or more first optical access devices online in the optical access device to suspend a registration process within K time windows, wherein K is a positive integer greater than or equal to 2, the K time windows correspond one-to-one to K discovery gate windows, and the K discovery gate windows are adjacent and used to perform the registration process;

[0014] collecting optical signal intensities within the K time windows respectively to obtain K signal intensity values, wherein the K time windows correspond one-to-one to the K signal intensity values; and

[0015] determining whether there is an abnormal optical access device in the optical access device based on the K signal intensity values.

[0016] In an embodiment, the determination of whether there is the abnormal optical access device in the optical access device based on the K signal intensity values comprises:

[0017] if at least two signal intensity values in the K signal intensity values are greater than a preset intensity value and the time windows corresponding to the at least two signal intensity values respectively include at least two adjacent time windows, it is determined that there is the abnormal optical access device in the optical access device.

[0018] In an embodiment, the acquiring the offline situation of the optical access device in the preset time period comprises:

[0019] acquiring a first state of the optical access device at a first time and a second state of the optical access device at a second time, wherein the first time is earlier than the second time, and the first state of the optical access device and the second state of the optical access device are adjacent states;

[0020] determining the preset time period according to the first time and the second time; and

[0021] determining the offline situation of the optical access device in the preset time period according to the first state of the optical access device and the second state of the optical access device.

[0022] In an embodiment, the determining the offline situation of the optical access device in the preset time period according to the first state of the optical access device and the second state of the optical access device comprises:

[0023] determining a number of one or more second optical access devices in the optical access device according to the first state of the optical access device and the second state of the optical access device, wherein a first state of the one or more second optical access devices is an online state, and a second state of the one or more second optical access devices is an offline state.

[0024] In an embodiment, the offline situation satisfies a preset detection condition, comprising that the number of the one or more second optical access devices is greater than a preset value.

[0025] In an embodiment, each of the K time windows is included in a corresponding discovery gate window.

[0026] In an embodiment, a start position of a first time window of the K time windows is later than or equal to a start position of a first discovery gate window of the K discovery gate windows, and an end position of the first time window is earlier than or equal to an end position of the first discovery gate window, the first discovery gate window being a discovery gate window corresponding to the first time window.

[0027] In an embodiment, the first information comprises indication information and a first identifier, the indication information being used to indicate the K time windows, and the first identifier being used to indicate that the one or more first optical access devices stop a registration process in the time window.

[0028] In an embodiment, the acquiring the optical signal strength in the K time windows respectively comprises:

[0029] collecting a first signal strength value in a second time window of the K time windows; and

[0030] if the first signal strength value is greater than a preset strength value, collecting a second signal strength value in a third time window of the K time windows, wherein the third time window is a next time window of the second time window; and

[0031] determining, based on the K signal strength values, that the abnormal optical access device exists in the optical access devices, comprising:

[0032] if the first signal strength value and the second signal strength value are both greater than the preset strength value, determining that the abnormal optical access device exists in the optical access devices.

[0033] In an embodiment, the collecting optical signal strengths in the K time windows respectively, and obtaining the K signal strength values, comprises:

[0034] collecting signal strength values in a fourth time window of the K time windows multiple times, and obtaining a third signal strength value of the fourth time window according to the multiple collected signal strength values.

[0035] In an embodiment, the indicating, in response to the offline condition satisfying a preset detection condition, the one or more first optical access devices in the optical access devices that are online to suspend a registration process in the K time windows, comprises:

[0036] broadcasting a first message in response to the offline condition satisfying a preset detection condition, the first message indicating the one or more first optical access devices in the optical access devices that are online to suspend a registration process in the K time windows; and / or

[0037] After determining that the abnormal optical access device exists in the optical access devices, the method further comprises:

[0038] broadcasting second information, the second information indicating the one or more first optical access devices to resume the registration process in the time window.

[0039] In an embodiment, the determining, based on the K signal strength values, whether the abnormal optical access device exists in the optical access devices, comprises:

[0040] determining, in response to the K signal strength values satisfying a first condition, that the abnormal optical access device does not exist in the optical access devices, wherein the first condition indicates that there is no two adjacent signal strength values greater than a preset strength value in the K signal strength values, the two adjacent signal strength values referring to signal strength values corresponding to two adjacent time windows in the K time windows.

[0041] In an embodiment, after determining whether the abnormal optical access device exists in the optical access devices based on the K signal strength values, the method further comprises:

[0042] after determining that the abnormal optical access device does not exist in the optical access devices, broadcasting third information, the third information indicating that the one or more first optical access devices resume the registration process in the time window.

[0043] Embodiments of the present application provide an abnormal detection method of an optical access device, comprising:

[0044] acquiring offline conditions of the optical access device in a preset time period;

[0045] in response to the offline conditions meeting a preset detection condition, broadcasting fourth information, the fourth information indicating that one or more first optical access devices, which are online, suspend a registration process in a plurality of discovery gate windows for registration;

[0046] respectively collecting optical signal strengths in the plurality of discovery gate windows to obtain a plurality of signal strength values;

[0047] determining whether an abnormal optical access device exists in the optical access devices based on the plurality of signal strength values; and

[0048] if the continuous N signal strength values in the plurality of signal strength values are all greater than a preset strength value, it is determined that the abnormal optical access device exists in the optical access devices, wherein N is a positive integer greater than or equal to 2.

[0049] In an embodiment, the method of respectively collecting the optical signal strengths in the plurality of discovery gate windows to obtain the plurality of signal strength values comprises:

[0050] collecting an optical signal strength in a first discovery gate window of the plurality of discovery gate windows to obtain a first signal strength value;

[0051] if the first signal strength value is greater than the preset strength value, collecting an optical signal strength in a second discovery gate window of the plurality of discovery gate windows to obtain a second signal strength value, the second discovery gate window being a next discovery gate window of the first discovery gate window; and

[0052] if the second signal strength value is greater than the preset strength value, it is determined that the abnormal optical access device exists in the optical access devices.

[0053] In an embodiment, after obtaining the first signal strength value, the method further comprises:

[0054] broadcast fifth information if the first signal strength value is less than or equal to the preset strength value, the fifth information being used to instruct the one or more first optical access devices to resume a registration procedure in a discovery gate window for registration; or

[0055] broadcast fifth information if the first signal strength value and the second signal strength value are both less than or equal to the preset strength value, the fifth information being used to instruct the one or more first optical access devices to resume a registration procedure in a discovery gate window for registration.

[0056] In a second aspect, an embodiment of the present application provides an abnormality detection apparatus of an optical access device, comprising:

[0057] a transceiving unit configured to acquire offline conditions of the optical access device within a preset time period;

[0058] a registration suspension unit configured to instruct first optical access devices, which are online, of the optical access device to suspend a registration procedure within K time windows in response to the offline conditions satisfying a preset detection condition, wherein K is a positive integer greater than or equal to 2, the K time windows correspond to K discovery gate windows one by one, and the K discovery gate windows are adjacent and used to perform the registration procedure;

[0059] a collection unit configured to collect optical signal strengths within the K time windows respectively to acquire K signal strength values, wherein the K time windows correspond to the K signal strength values one by one; and

[0060] a judgment unit configured to determine whether there is an abnormal optical access device in the optical access device based on the K signal strength values.

[0061] In a second aspect, an embodiment of the present application provides an abnormality detection apparatus of an optical access device, comprising:

[0062] a transceiving unit configured to acquire offline conditions of the optical access device within a preset time period;

[0063] a registration suspension unit configured to broadcast fourth information to instruct one or more first optical access devices, which are online, of the optical access device to suspend a registration procedure in a plurality of discovery gate windows for registration in response to the offline conditions satisfying a preset detection condition;

[0064] a collection unit configured to collect optical signal strengths within the plurality of discovery gate windows respectively to acquire a plurality of signal strength values; and

[0065] The judging unit is configured to determine whether the optical access device has an abnormal optical access device based on the plurality of signal strength values, and determine that the optical access device has the abnormal optical access device if N consecutive signal strength values in the plurality of signal strength values are greater than a preset strength value, where N is a positive integer greater than or equal to 2.

[0066] An embodiment of the present application provides an abnormality detection method of an optical access device, which comprises the following steps of:

[0067] Obtaining offline conditions of the optical access device in a preset time period;

[0068] When the offline conditions meet preset detection conditions, broadcasting first information, where the first information indicates that the optical access device suspends a registration process in K time windows, K is greater than or equal to 2, and the K time windows correspond to K adjacent discovery gate windows for registration one by one;

[0069] Collecting optical signal strengths in the K time windows respectively to obtain K signal strength values, where the K time windows correspond to the K signal strength values one by one;

[0070] If M signal strength values in the K signal strength values are greater than a preset strength value and adjacent time windows exist in time windows corresponding to the M signal strength values, it is determined that the PON has an abnormal optical access device, M is less than or equal to K and greater than or equal to 2.

[0071] The abnormality detection method of the optical access device provided by the embodiment of the present application can broadcast first information when offline conditions of the optical access device in a preset time period meet preset detection conditions, where the first information is used to indicate that the optical access device suspends a registration process in K time windows, and optical signal strengths are collected in the K time windows respectively, if M signal strength values in K signal strength values are greater than a preset strength value and adjacent time windows exist in time windows corresponding to the M signal strength values, it can be considered that the PON has an abnormal optical access device, since M is greater than or equal to 2, that is, the collection results of optical signal strengths at least twice are greater than the preset strength value, the PON is determined to have an abnormal optical access device, the situation that a judgment error occurs due to a single detection error is avoided, and the accuracy of abnormality detection of the optical access device can be improved. Compared with the situation that a technician's experience is relied on to determine when to perform abnormality detection of the optical access device, the present application monitors and analyzes the state of the optical access device, automatically starts abnormality detection of the optical access device when the offline state of the ONU exceeds a preset value, does not need manual intervention, and can further improve the accuracy of abnormality detection of the optical access device.

[0072] In addition, the discovery gate window for registration can also be referred to as a Discover Gate, and the K time windows correspond to K adjacent discovery gate windows for registration one by one in the present application, that is, the discovery gate window for registration is reused for light intensity collection, and there is no need to additionally divide time windows for light intensity collection, thereby reducing the influence of abnormal detection of the optical access device on bandwidth utilization.

[0073] In an embodiment, the obtaining of the offline condition of the optical access device within the preset time period comprises:

[0074] obtaining states of the plurality of optical access devices at a first time and states of the plurality of optical access devices at a second time; the first time is earlier than the second time, and the states of the plurality of optical access devices at the first time and the states of the plurality of optical access devices at the second time are adjacent states; and the preset time period is determined according to the first time and the second time.

[0075] According to the states of the plurality of optical access devices at the first time and the states of the plurality of optical access devices at the second time, N optical access devices in the plurality of optical access devices are determined to be in an online state at the first time and in an offline state at the second time, and N is a positive integer.

[0076] Since the state change within a long time has no reference significance for triggering abnormal detection of the optical device, the present application determines the offline condition of the optical access device within the preset time period according to the state change of the optical access device from the first time to the second time, and the state of the optical access device at the first time and the state of the plurality of optical access devices at the second time are adjacent states, that is, the present application limits the state change of the optical access device in the time dimension, and can more reasonably trigger the abnormal detection of the optical access device. In other words, adjacent states refer to two or more states that are continuous in the time dimension.

[0077] In an embodiment, the offline condition satisfies a preset detection condition, which comprises that the value of N is greater than a preset value.

[0078] In an embodiment, the preset value is greater than or equal to 2.

[0079] The online and offline of the optical access device is a random and discrete process, and normally, more than two optical access devices will not be offline at the same time within a short time. The preset value is set to be greater than or equal to 2, and when the number of optical access devices changing from an online state to an offline state is greater than the preset value, the detection of the abnormal optical access device is performed, thereby effectively saving resources.

[0080] In an embodiment, a start position of an i-th time window is later than or equal to a start position of an i-th discovery gate window, an end position of the i-th time window is earlier than or equal to an end position of the i-th discovery gate window, the i-th time window is any one of the K time windows, i is a positive integer, and the i-th discovery gate window is a discovery gate window corresponding to the i-th time window.

[0081] The time window can be completely reused for the discovery gate window, or can be freely configured according to the discovery gate window, and application is flexible.

[0082] In an embodiment, the first information includes indication information and a first identifier, the indication information is used to indicate the K time windows, and the first identifier is used to indicate that the optical access device stops a registration process in the discovery gate window.

[0083] In an embodiment, after determining that the abnormal optical access device exists in the PON, second information is broadcasted, the second information indicating that the optical access device resumes the registration process in the discovery gate window.

[0084] After determining that the abnormal optical access device exists, the second information is broadcasted in time, and the registration process of the optical access device in the PON is resumed, so that the registration function of the optical access device is not affected for a long time due to the abnormal detection of the optical access device.

[0085] In an embodiment, after determining that the abnormal optical access device exists in the PON, a user is prompted that the abnormal optical access device exists in the PON.

[0086] After determining that the abnormal optical access device exists, the user is prompted, so that a related technical personnel can quickly carry out troubleshooting and locate the abnormal optical access device in the PON according to the prompt, and the security of the PON is improved.

[0087] In an embodiment, if the K signal strength values satisfy a first condition, it is determined that the abnormal optical access device does not exist in the PON, the first condition indicating that any two adjacent signal strength values in the K signal strength values are not greater than the preset strength value, and the any two adjacent signal strength values refer to signal strength values corresponding to any two adjacent time windows in the K time windows.

[0088] In an embodiment, after determining that the abnormal optical access device does not exist in the PON, third information is broadcasted, the third information indicating that the optical access device resumes the registration process in the discovery gate window.

[0089] The embodiment of the present application further provides an abnormal detection method of an optical access device, the method comprising:

[0090] acquiring an offline condition of the optical access device within a preset time period;

[0091] broadcasting fourth information when the offline condition meets a preset detection condition, the fourth information indicating that the optical access device suspends a registration process in a discovery door window for registration;

[0092] collecting optical signal strength within each discovery door window, and determining that there is an abnormal optical access device in the PON when there are N consecutive optical signal strengths greater than a preset strength value; N is a positive integer and N is greater than or equal to 2.

[0093] When the offline condition of the optical access device meets the preset detection condition, the optical access device can be instructed to suspend the registration process in the discovery door window for registration, the number of windows required is determined according to the actual detection condition, and the abnormal detection process of the optical access device is simplified.

[0094] In an embodiment, the collecting of optical signal strength within each discovery door window, and the determining that there is an abnormal optical access device in the PON when there are N consecutive optical signal strengths greater than the preset strength value, comprises:

[0095] collecting optical signal strength within a first discovery door window to obtain a first signal strength value; the first discovery door window is the first discovery door window after the broadcasting time of the fourth information;

[0096] If the first signal strength value is greater than a preset strength value, collecting optical signal strength within a second discovery door window to obtain a second signal strength value; the second discovery door window is the discovery door window after the first discovery door window;

[0097] When the second signal strength value is greater than the preset strength value, it is determined that there is an abnormal optical access device in the PON.

[0098] Compared with determining that there is an abnormal optical access device in the PON only by the first signal strength value being greater than the preset strength value, the application comprehensively judges by combining the first signal strength value and the second signal strength value, and determines that there is an abnormal optical access device in the PON when the first signal strength value and the second signal strength value are both greater than the preset strength value, thereby improving the accuracy and reliability of the detection of the abnormal optical access device.

[0099] In an embodiment, after the first signal strength value is obtained, the method further comprises:

[0100] If the first signal strength value is less than or equal to the preset strength value, broadcasting fifth information, the fifth information being used to instruct the optical access device to resume the registration process in the discovery door window; or,

[0101] if the first signal strength value is less than or equal to the preset intensity value, collecting light signal strength in the second discovery gate window to obtain a second signal strength value; the second discovery gate window is a next discovery gate window of the first discovery gate window;

[0102] if the first signal strength value and the second signal strength value are both less than or equal to the preset intensity value, broadcasting the fifth information.

[0103] After determining the detection result according to the first signal strength value and the second signal strength value, the fifth information is broadcasted in time, avoiding that the registration function of the optical access device is affected for a long time due to abnormal detection of the optical access device.

[0104] In an embodiment, after the second signal strength value is obtained, the method further comprises:

[0105] if the second signal strength value is less than or equal to the preset intensity value, broadcasting the sixth information, the sixth information being used to instruct the optical access device to resume the registration process in the discovery gate window.

[0106] After determining the detection result, the sixth information is broadcasted in time, avoiding that the registration function of the optical access device is affected for a long time due to abnormal detection of the optical access device.

[0107] In an embodiment, the method further comprises:

[0108] if there are continuous L light signal strengths less than or equal to the preset intensity value, broadcasting the seventh information, the seventh information being used to instruct the optical access device to resume the registration process in the discovery gate window; L is a positive integer and L is greater than or equal to 2.

[0109] When there are continuous L light signal strengths less than or equal to the preset intensity value, the seventh information is broadcasted, and the optical access device resumes the registration process in the discovery gate window for registration, avoiding that the detection result is affected due to an error in one-time collection, and improving the accuracy and reliability of abnormal optical access device detection.

[0110] In an embodiment, after determining that there is an abnormal optical access device in the PON, the method further comprises:

[0111] broadcasting the eighth information, the eighth information instructing the optical access device to resume the registration process in the discovery gate window.

[0112] After determining that there is an abnormal optical access device in the PON, the eighth information is broadcasted in time, avoiding that the registration function of the optical access device is affected for a long time due to abnormal detection of the optical access device.

[0113] Embodiments of the present application provide an abnormal detection device of an optical access device, the device comprising a transceiver unit and a processing unit;

[0114] the transceiver unit is configured to acquire offline conditions of the optical access devices within a preset time period;

[0115] the transceiver unit is further configured to broadcast first information when the offline conditions satisfy preset detection conditions, the first information indicating that the optical access devices suspend a registration process within K time windows; K is greater than or equal to 2; and the K time windows correspond to K adjacent discovery gate windows for registration one by one.

[0116] the processing unit is configured to collect optical signal strengths within the K time windows respectively to acquire K signal strength values; the K time windows correspond to the K signal strength values one by one; and if there are M signal strength values greater than a preset strength value in the K signal strength values and there are adjacent time windows for the time windows corresponding to the M signal strength values respectively, it is determined that there is an abnormal optical access device in the PON, M is less than or equal to K and greater than or equal to 2.

[0117] In an embodiment, the transceiver unit is configured to acquire offline conditions of the optical access devices within a preset time period: acquire states of a plurality of optical access devices at a first time and states of the plurality of optical access devices at a second time; the first time is earlier than the second time and the states of the plurality of optical access devices at the first time and the states of the plurality of optical access devices at the second time are adjacent states; the preset time period is determined according to the first time and the second time; and according to the states of the plurality of optical access devices at the first time and the states of the plurality of optical access devices at the second time, it is determined that N optical access devices in the plurality of optical access devices are in an online state at the first time and are in an offline state at the second time, N is a positive integer.

[0118] In an embodiment, the offline conditions satisfy preset detection conditions, including: the value of N is greater than a preset value.

[0119] In an embodiment, the preset value is greater than or equal to 2.

[0120] In an embodiment, a starting position of an i-th time window is later than or equal to a starting position of an i-th discovery gate window, and an ending position of the i-th time window is earlier than or equal to an ending position of the i-th discovery gate window; the i-th time window is any one of the K time windows, i is a positive integer; and the i-th discovery gate window is a discovery gate window corresponding to the i-th time window.

[0121] In an embodiment, the first information comprises indication information and a first identifier, the indication information is used to indicate the K time windows, and the first identifier is used to indicate that the optical access device suspends a registration process in the discovery door window.

[0122] In an embodiment, the transceiver is configured to broadcast second information after determining that the abnormal optical access device exists in the PON, the second information indicating that the optical access device resumes a registration process in the discovery door window.

[0123] In an embodiment, the processing unit is configured to prompt a user that the abnormal optical access device exists in the PON after determining that the abnormal optical access device exists in the PON.

[0124] In an embodiment, if the K signal strength values satisfy a first condition, it is determined that the abnormal optical access device does not exist in the PON, the first condition indicating that none of any two adjacent signal strength values in the K signal strength values is greater than the preset strength value, the any two adjacent signal strength values referring to signal strength values corresponding to any two adjacent time windows in the K time windows.

[0125] In an embodiment, the transceiver is configured to broadcast third information after determining that the abnormal optical access device does not exist in the PON, the third information indicating that the optical access device resumes a registration process in the discovery door window.

[0126] Embodiments of the present application provide an abnormal detection device of an optical access device, which comprises a transceiver and a processing unit.

[0127] The transceiver is configured to acquire offline conditions of the optical access device in a preset time period.

[0128] The transceiver is further configured to broadcast fourth information when the offline conditions satisfy a preset detection condition, the fourth information indicating that the optical access device suspends a registration process in a discovery door window for registration.

[0129] The processing unit is configured to collect optical signal strengths in each discovery door window, and determine that an abnormal optical access device exists in the PON when there are continuous N optical signal strengths greater than a preset strength value, N being a positive integer and greater than or equal to 2.

[0130] In an embodiment, the processing unit is configured to collect light signal intensity in each of the discovery gate windows, and determine that there is an abnormal optical access device in the PON when there are consecutive N light signal intensities greater than the preset intensity value: collect light signal intensity in a first discovery gate window to obtain a first signal intensity value; the first discovery gate window is the first discovery gate window after the broadcast time of the fourth information; if the first signal intensity value is greater than the preset intensity value, collect light signal intensity in a second discovery gate window to obtain a second signal intensity value; the second discovery gate window is the discovery gate window after the first discovery gate window; and when the second signal intensity value is greater than the preset intensity value, determine that there is an abnormal optical access device in the PON.

[0131] In an embodiment, after obtaining the first signal intensity value, if the first signal intensity value is less than or equal to the preset intensity value, the transceiver is further configured to broadcast fifth information, the fifth information being used to instruct the optical access device to resume the registration process in the discovery gate window for registration; or, if the first signal intensity value is less than or equal to the preset intensity value, collect light signal intensity in the second discovery gate window to obtain a second signal intensity value; the second discovery gate window is the discovery gate window after the first discovery gate window; and if both the first signal intensity value and the second signal intensity value are less than or equal to the preset intensity value, broadcast the fifth information.

[0132] In an embodiment, after obtaining the second signal intensity value, when the second signal intensity value is less than or equal to the preset intensity value, the transceiver is further configured to broadcast sixth information, the sixth information being used to instruct the optical access device to resume the registration process in the discovery gate window.

[0133] In an embodiment, when there are consecutive L light signal intensities less than or equal to the preset intensity value, the transceiver is further configured to broadcast seventh information, the seventh information being used to instruct the optical access device to resume the registration process in the discovery gate window; L is a positive integer and L is greater than or equal to 2.

[0134] In an embodiment, after determining that there is an abnormal optical access device in the PON, the transceiver is further configured to broadcast eighth information, the eighth information instructing the optical access device to resume the registration process in the discovery gate window.

[0135] In a third aspect, the embodiments of the present application further provide an abnormal detection device of an optical access device, comprising: one or more processors and one or more memories, wherein the one or more memories store one or more programs, and when the programs are executed by the one or more processors, the device performs the method according to any of the above embodiments.

[0136] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which includes a program, and when the program is executed on an apparatus, the apparatus is caused to perform the method according to any one of the above embodiments.

[0137] In a fifth aspect, the embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method according to any one of the above embodiments is implemented. BRIEF DESCRIPTION OF DRAWINGS

[0138] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other drawings obtained by those of ordinary skill in the art based on these drawings without creative effort are within the protection scope of the present application.

[0139] FIG. 1 is a schematic diagram of a PON architecture provided by the embodiments of the present application.

[0140] FIG. 2 is a schematic diagram of a flow of an abnormality detection method of an optical access device provided by the embodiments of the present application.

[0141] FIG. 3 is a schematic diagram of a flow of an abnormality detection method of an optical access device provided by the embodiments of the present application.

[0142] FIG. 4 is a schematic diagram of a structure of an abnormality detection device of an optical access device provided by the embodiment of FIG. 3.

[0143] FIG. 5 is a schematic diagram of a flow of an abnormality detection method of an optical access device provided by the embodiments of the present application.

[0144] FIG. 6 is a schematic diagram of a structure of an abnormality detection device of an optical access device provided by the embodiment of FIG. 5.

[0145] FIG. 7 is a schematic diagram of a structure of an abnormality detection device of an optical access device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0146] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present application.

[0147] The application scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems as new application scenarios appear. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more.

[0148] In the present disclosure, expressions such as "A or B", "at least one of A and / or B", "one or more of A and / or B" and the like can include all possible combinations of the items listed together. For example, "A or B", "at least one of A and B", or "at least one of A or B" can mean all of the following: 1) a case where at least one A is included, 2) a case where at least one B is included, or 3) a case where at least one of both A and B is included.

[0149] The expressions "first", "second", and the like used in the present application will be used only to distinguish one component from other components, and will not limit the order and / or importance of the components. For example, the first user device and the second user device can indicate different user devices regardless of their order or importance. For example, the first component can be named as the second component without departing from the scope of the present application, and the second component can also be similarly named as the first component.

[0150] The terms "module", "unit", "component" and the like used in the present application refer to a component that performs at least one function or operation, and such a component can be implemented in hardware or software, or can be implemented in a combination of hardware and software. In addition, a plurality of "modules", "units", "components" and the like can be integrated into at least one module or chip, and can be implemented in at least one processor, except for cases where they need to be implemented in separate specific hardware.

[0151] Unless otherwise defined in the context, in the exemplary embodiments herein, the network device of the access layer in the Ethernet optical splitting manner is simply referred to as ONU, and the network device of the core layer is simply referred to as OLT.

[0152] Unless otherwise defined in the context, the term "adjacent discovery gate window" or "adjacent time window" in the exemplary embodiments herein refers to two adjacent discovery gate windows or two adjacent time windows in the time dimension.

[0153] As described above, in an Ethernet passive optical network, an OLT broadcasts a schedule of each ONU to the ONUs, and the ONUs emit light in their own time slots according to the schedule. If an ONU does not emit light according to the schedule or emits light for a long time or emits light randomly, the ONU is called an abnormal ONU or a rogue ONU. The abnormal ONU can cause other ONUs to be unable to log in for a long time, repeatedly log in and log out, and lose packets, thereby affecting normal communication of the network.

[0154] An architecture relationship among an OLT, an ODN, and ONUs constituting a PON is shown in FIG. 1. From top to bottom, the OLT, the ODN, and a plurality of ONUs are sequentially arranged. The OLT is a core device of the PON and is responsible for receiving and transmitting optical signals to the ODN. The ODN is an optical distribution network and is responsible for distributing optical signals to each ONU. The ONU is a user-side device and is also an optical access device. The ONU is responsible for converting received optical signals into electrical signals and providing network connection for user devices such as computers, telephones, and routers.

[0155] The PON adopts an optical fiber sharing technology to realize data transmission of multiple users through the same optical fiber, that is, a point-to-multipoint transmission technology. Downlink data is simultaneously transmitted to access terminals after being physically split in a passive optical splitter. For example, the OLT in FIG. 1 can transmit optical signals to a plurality of ONUs via the ODN. Uplink data adopts a time division multiple access (TDMA) technology to separate signals of different terminals through time slicing, share uplink link bandwidth, and for example, the plurality of ONUs in FIG. 1 can transmit data to the OLT via the ODN in mutually independent time windows.

[0156] The TDMA technology has advantages such as strong anti-interference ability, high flexibility, and simple implementation, and is suitable for various wireless communication systems. The TDMA technology is a multiple access technology for communication on a shared medium. The TDMA technology divides communication time into time periods of fixed length, and each time period is allocated to a user (i.e., an ONU). Time period allocation among multiple users is performed according to certain rules to ensure that communication among users does not conflict. Users can independently transmit data in their own time periods, realizing simultaneous communication among multiple users, and thereby improving capacity and efficiency of the wireless communication system.

[0157] As described in the background section, an abnormal ONU in the PON can cause packet loss. Therefore, detection of the abnormal ONU is very important.

[0158] In the prior art, the detection of abnormal ONUs is usually performed by collecting optical intensity in a time window in which no data is transmitted by the ONUs. There are two ways to select the time window in which no data is transmitted by the ONUs.

[0159] The first way is to set a reserved gap.

[0160] The reserved gap refers to a time interval for separating the transmission of data by different ONUs. For example, there are two ONUs, ONU1 and ONU2, in a PON. The time window for ONU1 to transmit data is 1-2 s (i.e., 1 s and 2 s), and the time window for ONU2 to transmit data is 4-5 s (i.e., 4 s and 5 s). Then, 2-3 s, 3-4 s or 2-4 s can be selected as the reserved gap, in which the optical intensity is collected.

[0161] The second way is to reserve a detection gap.

[0162] The reserved detection gap refers to a special gap reserved for the detection of abnormal ONUs after the transmission of data by the ONUs. For example, for the example in the first way, the transmission of data by the ONUs is completed at 5 s. Then, 5-6 s or 6-7 s, which is the time period in which the transmission of data by the ONUs is completed, can be selected as the detection gap, in which the optical intensity is collected.

[0163] Both the above two ways have disadvantages. For the first way, as the number of ONUs in the PON increases and the bandwidth utilization rate increases, the reserved gap is shortened, which cannot meet the time requirement of optical intensity collection, affects the accuracy of the optical intensity collection result, and further affects the accuracy of the detection of abnormal ONUs. For the second way, a detection gap is always reserved for the detection of abnormal ONUs, which means that the time for the ONUs to transmit data is reduced, and the bandwidth utilization rate is reduced.

[0164] The present application provides an abnormal detection method of an optical access device, i.e., an abnormal detection method of an ONU. The execution subject of the method can be an OLT with a PON chip or an OLT integrated with a PON chip (hereinafter referred to as an OLT). The present application does not limit this.

[0165] The abnormal detection method of the optical access device provided in the present application includes the following steps.

[0166] In step 200, the OLT acquires the offline situation of the optical access device in a preset time period.

[0167] Exemplarily, the acquiring the offline situation of the plurality of optical access devices in the preset time period comprises: firstly acquiring a state of the plurality of optical access devices at a first time and a state of the plurality of optical access devices at a second time, wherein the first time is earlier than the second time, and the state of the plurality of optical access devices at the first time and the state of the plurality of optical access devices at the second time are adjacent states; and then determining that N optical access devices of the one or more optical access devices are in an online state at the first time and in an offline state at the second time according to the state of the plurality of optical access devices at the first time and the state of the plurality of optical access devices at the second time, N being a positive integer. The preset time period is determined according to the first time and the second time, for example, the preset time period can be the same as the time interval between the first time and the second time.

[0168] The OLT can acquire the state of the optical access device through a keep-alive packet or a keep-alive mechanism packet such as a heartbeat packet. For example, the optical access device in the PON periodically sends a keep-alive packet to the OLT, and the state of the optical access device sending the keep-alive packet is an online state, and the state of the optical access device not sending the keep-alive packet is an offline state.

[0169] For example, 10 optical access devices are accessed in the PON, and the OLT in the PON receives keep-alive packets of 10 optical access devices at a first time and receives keep-alive packets of 6 optical access devices at a second time, that is, 10 optical access devices are in an online state at the first time, and 6 optical access devices are in an online state at the second time, wherein 4 optical access devices are in an online state at the first time and in an offline state at the second time, that is, the offline situation of the optical access devices in the preset time period is that 4 optical access devices are offline in the preset time period, and N is 4.

[0170] Step 201: When the offline situation meets the preset detection condition, the OLT broadcasts first information, and the first information indicates that the optical access device suspends the registration process in K time windows. K is greater than or equal to 2.

[0171] Exemplarily, the offline situation meeting the preset detection condition can mean that the value of N is greater than a preset value, wherein the preset value can be greater than or equal to 2. For example, the preset value is 2 or 3.

[0172] Under normal circumstances, more than 2 optical access devices will not be offline at the same time, that is, change from an online state to an offline state, but when there is an abnormal optical access device in the PON, it may cause more than 2 optical access devices to be offline at the same time.

[0173] For example, if N is 1 and is less than the preset value 2, it indicates that the current offline condition does not meet the preset detection condition; if N is 4 and is greater than the preset value 2, it indicates that the current offline condition meets the preset detection condition.

[0174] Exemplarily, the OLT broadcasts the first information, and correspondingly, the optical access devices in the PON receive the first information. The optical access devices in the PON include registered optical access devices and unregistered optical access devices, and the first information indicates that the optical access devices in the PON suspend the registration process within K time windows, that is, the first information is used to instruct the unregistered optical access devices to suspend the registration within the K time windows. When the unregistered optical access devices perform registration, the optical signal needs to be sent, that is, the laser in the unregistered optical access device needs to emit light. Since the first information indicates that the optical access devices in the PON suspend the registration process within the K time windows, the unregistered optical access devices do not perform registration within the K time windows, and the registered optical access devices also do not emit light within the K time windows, that is, the normal optical access devices do not emit light within the K time windows. If there is an abnormal optical access device, the abnormal optical access device may still perform registration within the K time windows, that is, there is an optical access device emitting light within the K time windows.

[0175] Exemplarily, the K time windows correspond to K adjacent discovery gate windows for registration one by one. For example, the i-th time window is any one of the K time windows, i is a positive integer, and the i-th discovery gate window is the discovery gate window corresponding to the i-th time window. The starting position of the i-th time window is later than or equal to the starting position of the i-th discovery gate window, and the ending position of the i-th time window is earlier than or equal to the ending position of the i-th discovery gate window. That is, the i-th time window can be the same as the time length of the i-th discovery gate window, or can be contained in the i-th discovery gate window.

[0176] It can be understood that the discovery gate window is a time window for registration of the optical access device in the PON.

[0177] Exemplarily, the first information includes indication information and a first identifier, the indication information is used to indicate the K time windows, and the first identifier is used to indicate that the optical access device suspends the registration process in the discovery gate window.

[0178] The OLT includes a Multi-Point Control Protocol (MPCP) module, the MPCP module is preconfigured with discovery gate windows for registration, the duration of each discovery gate window is the same, and the interval time between every two adjacent discovery gate windows is the same.

[0179] For example, assume that the OLT pre-configures a discovery gate window for registration with a duration of 2 minutes, and the interval between any two adjacent discovery gate windows is 10 minutes, for example, one discovery gate window is discovery gate window ①: 10:00-10:02, and the next discovery gate window adjacent to the discovery gate window ① is discovery gate window ②: 10:12-10:14. The time window corresponding to the discovery gate window ① can be 10:00-10:02, or the time window corresponding to the discovery gate window ① can also be contained in 10:00-10:02, for example, the time window corresponding to the discovery gate window ① is 10:00-10:01.

[0180] Exemplarily, the indication information included in the first information has multiple cases. Exemplarily, the indication information can be one of the following cases.

[0181] ① If the K time windows are completely identical to the time periods of the K discovery gate windows for registration, the indication information indicates that the K time windows are completely identical to the configuration of the K discovery gate windows for registration, i.e., the K discovery gate windows for registration are completely multiplexed.

[0182] ② If each of the K time windows is completely identical to the start position of the corresponding discovery gate window for registration, the indication information can include the end position of each time window or the offset of the end position of each time window relative to the end position of the corresponding discovery gate window for registration.

[0183] ③ If each of the K time windows is completely identical to the end position of the corresponding discovery gate window for registration, the indication information can include the start position of each time window or the offset of the start position of each time window relative to the start position of the corresponding discovery gate window for registration.

[0184] ④ If each of the K time windows is not identical to the start position or the end position of the corresponding discovery gate window for registration, the indication information should contain at least two of the start position, the end position, and the duration of each of the K time windows.

[0185] In an embodiment, the first information indicates that the optical access device in the PON suspends the registration process in two time windows. If the indication information included in the first information is the above case ③, the indication information can be: time window ①: start position: 10:01; time window ②: start position: 10:13; first identifier: unregistered.

[0186] The embodiment of the present application actively monitors and analyzes the state information of the optical access device, automatically triggers the abnormality detection of the optical access device when the offline condition of the optical access device meets the preset detection condition, and does not depend on manual experience, thereby improving the automation degree of the abnormality detection of the optical access device.

[0187] Step 202: The OLT respectively collects optical signal strengths in K time windows to obtain K signal strength values; the K time windows correspond to the K signal strength values in a one-to-one manner.

[0188] Exemplarily, the OLT further includes a Received Signal Strength Indicator (RSSI) module, and the optical signal strength is collected through the RSSI module. In wireless communication, the collection result of the RSSI is usually used to measure the strength of the signal received by the receiving end, and the collection result is a negative number with a unit of dBm. The numerical value of the collection result is in a positive correlation with the optical signal strength. The larger the numerical value of the collection result is, the stronger the optical signal strength is. The smaller the numerical value of the collection result is, the weaker the optical signal strength is. For example, the optical signal strength represented by -5 dBm is stronger than the optical signal strength represented by -15 dBm.

[0189] For example, the first information indicates that the optical access device in the PON suspends the registration process in two time windows, that is, time window ①: 10:01-10:02 and time window ②: 10:13-10:14. The optical signal strength is collected in the time window ① to obtain a signal strength value ①, and the optical signal strength is collected in the time window ② to obtain a signal strength value ②.

[0190] It should be noted that the collection can be performed only once (for example, the collection can last for a preset time length) in each time window according to the preset collection time length, and the collection result is used as the signal strength value corresponding to the current time window; or the collection can be performed multiple times in the time window, and the average of the multiple collection results is used as the signal strength value corresponding to the current time window. For example, the collection is performed three times in a certain time window, and the collection results are -36 dBm, -40 dBm and -38 dBm. Then, the signal strength value corresponding to the time window is (-36 dBm-40 dBm-38 dBm) / 3=-38 dBm.

[0191] The embodiment of the present application multiplexes the discovery window for registration to collect the optical signal strength, does not need to additionally divide the time window for optical signal strength collection, and reduces the influence of the abnormality detection of the optical access device on the bandwidth utilization rate.

[0192] Step 203: If there are M signal strength values greater than the preset signal strength value in the K signal strength values, and there are adjacent time windows corresponding to the M signal strength values, the OLT determines that there is an abnormal optical access device in the PON, M is less than or equal to K and greater than or equal to 2.

[0193] Exemplarily, the preset signal strength value is usually -40 dBm, and the preset signal strength value can also be set to other values according to actual business needs, which is not limited in the present application.

[0194] Exemplarily, the value of K can be any one of 2-5, the first indication information can first indicate K time windows, and the optical signal strength is collected in the K time windows. Further, according to the K collection results, one or more time windows can be indicated again, and whether there is an abnormal optical access device can be determined in combination with the multiple collection results, so as to ensure the reliability of the collection results and improve the accuracy of the detection results.

[0195] In an embodiment, K is equal to 2, that is, the indicated time windows are time window ① and time window ②. Time window ① and time window ② are adjacent. The signal strength value corresponding to time window ① is signal strength value ①, and the signal strength value corresponding to time window ② is signal strength value ②. If signal strength values ① and ② are both greater than the preset signal strength value, it is determined that there is an abnormal optical access device in the PON.

[0196] In an embodiment, K is equal to 3, that is, the indicated time windows are time window ①, time window ② and time window ③. Time windows ①-③ are adjacent windows. The signal strength value corresponding to time window ① is signal strength value ①, the signal strength value corresponding to time window ② is signal strength value ②, and the signal strength value corresponding to time window ③ is signal strength value ③. If signal strength values ① and ② are both greater than the preset signal strength value, or signal strength values ② and ③ are both greater than the preset signal strength value, it is determined that there is an abnormal optical access device in the PON.

[0197] In an embodiment, K is equal to 4, that is, the indicated time windows are time window ①, time window ②, time window ③ and time window ④. Time windows ①-④ are adjacent windows. The signal strength value corresponding to time window ① is signal strength value ①, the signal strength value corresponding to time window ② is signal strength value ②, the signal strength value corresponding to time window ③ is signal strength value ③, and the signal strength value corresponding to time window ④ is signal strength value ④. If signal strength values ① and ② are both greater than the preset signal strength value, or signal strength values ② and ③ are both greater than the preset signal strength value, or signal strength values ③ and ④ are both greater than the preset signal strength value, it is determined that there is an abnormal optical access device in the PON.

[0198] In an embodiment, K is equal to 5, i.e. the indicated time windows are time window 1, time window 2, time window 3, time window 4 and time window 5. Time windows 1-5 are adjacent windows. The signal strength value corresponding to time window 1 is signal strength value 1, the signal strength value corresponding to time window 2 is signal strength value 2, the signal strength value corresponding to time window 3 is signal strength value 3, the signal strength value corresponding to time window 4 is signal strength value 4, and the signal strength value corresponding to time window 5 is signal strength value 5. If signal strength value 1 and signal strength value 2 are both greater than the preset strength value, or if signal strength value 2 and signal strength value 3 are both greater than the preset strength value, or if signal strength value 3 and signal strength value 4 are both greater than the preset strength value, or if signal strength value 4 and signal strength value 5 are both greater than the preset strength value, it is determined that there is an abnormal optical access device in the PON.

[0199] In an embodiment, the signal strength value 1 corresponding to time window 1 is -30 dBm, the signal strength value 2 corresponding to time window 2 is -32 dBm, and time window 1 and time window 2 are adjacent. Since both of the signal strength values are greater than the preset strength value -40 dBm, it can be determined that there is an abnormal optical access device in the PON.

[0200] In an embodiment, the signal strength value 1 corresponding to time window 1 is -42 dBm, the signal strength value 2 corresponding to time window 2 is -32 dBm, and the signal strength value 3 corresponding to time window 3 is -41 dBm. Time window 1 and time window 2 are adjacent, and time window 2 and time window 3 are adjacent. Since signal strength value 1 is less than the preset strength value, signal strength value 2 is greater than the preset strength value, and signal strength value 3 is less than the preset strength value, the condition for determining the existence of an abnormal optical access device is not met, and then signal strength value 4 can be acquired by continuing to collect optical signal strength in the next discovery gate window, or signal strength values 4 and 5 can be acquired by continuing to collect optical signal strength in the next two discovery gate windows, and the existence of an abnormal optical access device can be determined in combination with the subsequent collection results.

[0201] Further exemplarily, if the K signal strength values satisfy a first condition, it is determined that there is no abnormal optical access device in the PON; wherein the first condition means that there is no any two adjacent signal strength values greater than the preset strength value in the K signal strength values, and the any two adjacent signal strength values refer to the signal strength values corresponding to any two adjacent time windows in the K time windows.

[0202] In an embodiment, the signal strength value ① corresponding to the time window ① is -42dBm, and the signal strength value ② corresponding to the time window ② is -32dBm. The time window ① and the time window ② are adjacent. Since the signal strength value ① is less than the preset strength value, and the signal strength value ② is greater than the preset strength value, that is, the signal strength values corresponding to adjacent time windows are not all greater than the preset strength value, that is, the signal strength values ① and ② satisfy the first condition, it can be determined that there is no abnormal optical access device in the PON; or the subsequent discovery gate window is instructed to collect the optical signal strength, and whether there is an abnormal optical access device is determined in combination with the subsequent collection result.

[0203] In an embodiment, the signal strength value ① corresponding to the time window ① is -42dBm, and the signal strength value ② corresponding to the time window ② is -45dBm. The time window ① and the time window ② are adjacent. Since the signal strength values corresponding to adjacent time windows, that is, the signal strength values ① and ② are all less than the preset strength value, it can be determined that there is no abnormal optical access device in the PON, and the detection is stopped; or, for the purpose of improving the reliability of the detection result, the optical signal strength can be collected in the next discovery gate window, and whether there is an abnormal optical access device in the PON is determined in combination with the subsequent collection result.

[0204] Exemplarily, after it is determined that there is an abnormal optical access device in the PON, the second information is broadcasted, and the second information instructs the optical access device to resume the registration process in the discovery gate window, so as to avoid that the registration function of the optical access device is affected for a long time due to the abnormal detection of the optical access device. Similarly, after it is determined that there is no abnormal optical access device in the PON, the third information is broadcasted, and the third information is used to instruct the optical access device to resume the registration process in the discovery gate window.

[0205] After it is determined that there is an abnormal optical access device in the PON, the user is prompted that there is an abnormal optical access device in the PON, and the prompt form can be a page pop-up window or an alarm prompt sound, etc. The form of the prompt is not limited in the present application, and the technical personnel or relevant staff can troubleshoot the abnormal optical access device according to the prompt, so as to improve the security of the PON.

[0206] The abnormal detection method of the optical access device provided in the embodiments of the present application can automatically trigger the abnormal detection of the optical access device when it is determined that the offline condition of the optical access device satisfies the preset detection condition, without the participation of manual work, and the degree of automation is high. In the detection process, whether there is an abnormal optical access device in the PON is comprehensively judged in combination with the multiple light intensity collection results, so as to improve the accuracy and reliability of the detection result.

[0207] The embodiments of the present application also provide an abnormal detection method of an optical access device, as shown in FIG. 3.

[0208] In step 300, the OLT acquires the offline condition of the optical access device in a preset time period.

[0209] Exemplarily, the acquisition of the offline condition of the optical access device within the preset time period can refer to the step 200, which will not be described herein again.

[0210] Step 301: When the offline condition meets the preset detection condition, the OLT broadcasts the fourth information, which indicates that the optical access device suspends the registration process in the discovery gate window for registration.

[0211] Exemplarily, the preset detection condition is the same as the preset detection condition in the step 201, and the difference between the step 201 and the present method is that the fourth information of the present method only indicates that the optical access device suspends the registration process in the discovery gate window for registration, and does not indicate the number of time windows for suspension of registration.

[0212] Step 302: Collect the optical signal strength in each discovery gate window, and when there are N continuous optical signal strengths greater than the preset strength value, the OLT determines that there is an abnormal optical access device in the PON.

[0213] Exemplarily, the optical signal strength is first collected in the first discovery gate window to obtain a first signal strength value, the first discovery gate window is the first discovery gate window after the broadcast time of the fourth information, if the first signal strength value is greater than the preset strength value, the optical signal strength is collected in the second discovery gate window to obtain a second signal strength value, the second discovery gate window is the discovery gate window after the first discovery gate window, if the second signal strength value is also greater than the preset strength value, the OLT determines that there is an abnormal optical access device in the PON; after determining that there is an abnormal optical access device in the PON, the OLT broadcasts the eighth information to indicate that the optical access device resumes the registration process in the discovery gate window; if the second signal strength value is less than or equal to the preset strength value, the sixth information is broadcasted to indicate that the optical access device resumes the registration process in the discovery gate window.

[0214] For example, the first signal strength value collected in the first discovery gate window is -30dBm, and the preset strength value is still -40dBm. Since the first signal strength value is greater than the preset strength value, the second signal strength value is collected in the discovery gate window after the first discovery gate window, i.e., the second time window. If the second signal strength value is -32dBm, which is still greater than the preset strength value, the OLT can determine that there is an abnormal optical access device in the PON, and broadcast the eighth information to indicate that the optical access device resumes the registration process in the discovery gate window. If the second signal strength value is -42dBm, the sixth information is broadcasted to indicate that the optical access device resumes the registration process in the discovery gate window.

[0215] Exemplarily, if the first signal strength value is less than or equal to the preset strength value, the OLT broadcasts the fifth information for indicating the optical access device to resume the registration flow in the discovery gate window; or, the second signal strength value can also be collected in the second discovery gate window, and if both the first signal strength value and the second signal strength value are less than or equal to the preset strength value, it can be determined that there is no abnormal optical access device in the PON, and the fifth information is broadcasted for indicating the optical access device to resume the registration flow in the discovery gate window.

[0216] For example, if the first signal strength value is -41 dBm, the fifth information can be broadcasted for indicating the optical access device to resume the registration flow in the discovery gate window, or the second signal strength value can also be collected in the second discovery gate window, and if the second signal strength value is -41 dBm, since both the first signal strength value and the second signal strength value are less than the preset strength value, the fifth information is broadcasted for indicating the optical access device to resume the registration flow in the discovery gate window.

[0217] Exemplarily, if the first signal strength value is less than or equal to the preset strength value and the second signal strength value is greater than the preset strength value, the collection of the optical signal strength can be continued in the next discovery gate window of the second discovery gate window, and the subsequent collection results are combined to determine whether there is an abnormal optical access device, and when there are continuous L optical signal strengths less than or equal to the preset strength value, the seventh information is broadcasted for indicating the optical access device to resume the registration flow in the discovery gate window, L is a positive integer and L is greater than or equal to 2.

[0218] For example, if the first signal strength value is -41 dBm and the second signal strength value is -31 dBm, the collection of the optical signal strength can be continued in the next discovery gate window (the third discovery gate window) of the second discovery gate window to obtain a third signal strength value, and if the third signal strength value is -41 dBm, the collection can be continued in the fourth discovery gate window to obtain a fourth signal strength value until there are continuous two or more optical signal strengths less than or equal to the preset strength value, and the seventh information is broadcasted for indicating the optical access device to resume the registration flow in the discovery gate window for registration.

[0219] Compared with the abnormal detection method of the optical access device shown in FIG. 2, the method shown in FIG. 3 does not need to indicate to suspend the registration flow of the optical access device in several time windows, and the number of required windows is determined according to the actual detection situation, and the detection flow is more concise and rapid, and the method shown in FIG. 2 or the method shown in FIG. 3 can be selected for detection according to actual business needs.

[0220] In addition to the above automatic triggering of the optical access device anomaly detection, the embodiment of the present application also provides a manual triggering of the optical access device anomaly detection method: if a technician or a relevant staff member finds a network disconnection or other network anomaly phenomenon, the technician can manually trigger the optical access device anomaly detection through an operation interface of a computing device running the OLT, for example, click a detection button of the interface. After clicking the button, the first information or the fourth information is broadcast. If the first information is broadcast, the subsequent process is the same as steps 201-203 above. If the fourth information is broadcast, the subsequent steps are the same as steps 301-303 above, which will not be repeated here.

[0221] FIG. 4 is a structural schematic diagram of a possible optical access device anomaly detection apparatus provided by the embodiment of the present application. The optical access device anomaly detection apparatus can be used to implement the function of the OLT in the above method embodiment, and thus can also achieve the beneficial effects of the above method embodiment.

[0222] As shown in FIG. 4, the optical access device anomaly detection apparatus 400 includes a transceiver unit 410 and a processing unit 420. The optical access device anomaly detection apparatus 400 is used to implement the function of the OLT or a certain functional module in the OLT in the above method embodiment shown in FIG. 2.

[0223] When the optical access device anomaly detection apparatus 400 is used to implement the function of the OLT in the method embodiment shown in FIG. 2, the transceiver unit 410 is configured to acquire offline situations of the optical access device in a preset time period.

[0224] The transceiver unit 410 is configured to broadcast the first information when the offline situations meet a preset detection condition, where the first information indicates that the optical access device suspends a registration process in K time windows; K is greater than or equal to 2; and the K time windows correspond to K adjacent discovery window for registration one by one.

[0225] The processing unit 420 is configured to collect optical signal strengths in the K time windows respectively to obtain K signal strength values; the K time windows correspond to the K signal strength values one by one; and if there are M signal strength values greater than a preset strength value in the K signal strength values and there are adjacent time windows in the time windows corresponding to the M signal strength values, it is determined that there is an abnormal optical access device in the PON, where M is less than or equal to K and greater than or equal to 2.

[0226] The processing unit 420 is configured to collect optical signal strengths in the K time windows respectively to obtain K signal strength values; the K time windows correspond to the K signal strength values one by one; and if there are M signal strength values greater than a preset strength value in the K signal strength values and there are adjacent time windows in the time windows corresponding to the M signal strength values, it is determined that there is an abnormal optical access device in the PON, where M is less than or equal to K and greater than or equal to 2.

[0227] In a possible design, the transceiver 410 is configured to, when it is determined that the abnormal optical access device exists in the PON, broadcast second information, where the second information indicates that the optical access device resumes the registration process in the discovery gate window.

[0228] In a possible design, the offline condition satisfies a preset detection condition, and the preset detection condition includes that the value of N is greater than a preset value.

[0229] In a possible design, the preset value is greater than or equal to 2.

[0230] In a possible design, a start position of an i th time window is later than or equal to a start position of an i th discovery gate window, and an end position of the i th time window is earlier than or equal to an end position of the i th discovery gate window, where i is a positive integer, the i th time window is any one of the K time windows, and the i th discovery gate window is a discovery gate window corresponding to the i th time window.

[0231] In a possible design, the first information includes indication information and a first identifier, the indication information is used to indicate the K time windows, and the first identifier is used to indicate that the optical access device stops the registration process in the discovery gate window.

[0232] In a possible design, the transceiver 410 is configured to, after it is determined that the abnormal optical access device exists in the PON, broadcast second information, where the second information indicates that the optical access device resumes the registration process in the discovery gate window.

[0233] In a possible design, the processing unit 420 is configured to, after it is determined that the abnormal optical access device exists in the PON, prompt a user that the abnormal optical access device exists in the PON.

[0234] In a possible design, if the K signal strength values satisfy a first condition, it is determined that the abnormal optical access device does not exist in the PON; the first condition indicates that none of any two adjacent signal strength values in the K signal strength values is greater than the preset strength value, and the any two adjacent signal strength values refer to signal strength values corresponding to any two adjacent time windows in the K time windows.

[0235] In a possible design, the transceiver 410 is configured to broadcast third information after it is determined that the abnormal optical access device does not exist in the PON, where the third information indicates that the optical access device resumes a registration procedure in the discovery gate window.

[0236] For more details of the transceiver 410 and the processing unit 420, refer to the related description in the method embodiment shown in FIG. 2.

[0237] When the abnormal detection apparatus 400 of the optical access device is configured to implement the function of the OLT in the method embodiment shown in FIG. 3, the transceiver 410 is configured to:

[0238] The transceiver 410 is configured to acquire offline situations of the optical access device in a preset time period.

[0239] The transceiver 410 is further configured to broadcast fourth information when the offline situations satisfy a preset detection condition, where the fourth information indicates that the optical access device suspends a registration procedure in a discovery gate window for registration.

[0240] The processing unit 420 is configured to collect optical signal strengths in each discovery gate window, and determine that an abnormal optical access device exists in the PON when there are N continuous optical signal strengths greater than a preset strength value, where N is a positive integer and N is greater than or equal to 2.

[0241] In a possible design, the processing unit 420 is configured to, when it is determined that the abnormal optical access device exists in the PON when there are N continuous optical signal strengths greater than the preset strength value in the collection of the optical signal strengths in each discovery gate window: collect optical signal strengths in a first discovery gate window to obtain a first signal strength value; the first discovery gate window is the first discovery gate window after a time point of broadcasting the fourth information; if the first signal strength value is greater than the preset strength value, collect optical signal strengths in a second discovery gate window to obtain a second signal strength value; the second discovery gate window is a discovery gate window subsequent to the first discovery gate window; and when the second signal strength value is greater than the preset strength value, it is determined that the abnormal optical access device exists in the PON.

[0242] In a possible design, after the first signal strength value is acquired, if the first signal strength value is less than or equal to the preset signal strength value, the transceiver 410 is further configured to broadcast fifth information, where the fifth information is used to instruct the optical access device to resume the registration procedure in the discovery gate window.

[0243] In a possible design, after the second signal strength value is acquired, when the second signal strength value is less than or equal to the preset signal strength value, the transceiver 410 is further configured to broadcast sixth information, where the sixth information is used to instruct the optical access device to resume the registration procedure in the discovery gate window.

[0244] In a possible design, when there are L consecutive optical signal strengths less than or equal to the preset signal strength value, the transceiver 410 is further configured to broadcast seventh information, where the seventh information is used to instruct the optical access device to resume the registration procedure in the discovery gate window; L is a positive integer and L is greater than or equal to 2.

[0245] In a possible design, after it is determined that there is an abnormal optical access device in the PON, the transceiver 410 is further configured to broadcast eighth information, where the eighth information instructs the optical access device to resume the registration procedure in the discovery gate window.

[0246] For more details about the transceiver 410 and the processing unit 420, refer to the related description in the method embodiment shown in FIG. 3.

[0247] As shown in FIG. 5, an abnormal detection method of an optical access device is provided, including the following steps.

[0248] In step 500, the offline situation of the optical access device in a preset time period is acquired.

[0249] In step 501, in response to the offline situation satisfying a preset detection condition, one or more first optical access devices that are online in the optical access device are instructed to suspend a registration procedure in K time windows, where K is a positive integer greater than or equal to 2, the K time windows correspond to K discovery gate windows one by one, and the K discovery gate windows are adjacent and used to perform the registration procedure.

[0250] At step 502, light signal intensities are collected in the K time windows respectively to obtain K signal intensity values, wherein the K time windows correspond to the K signal intensity values one by one.

[0251] At step 503, it is determined whether there is an abnormal optical access device in the optical access devices based on the K signal intensity values.

[0252] Based on the abnormality detection method of the embodiment, other embodiments can be obtained in combination with the additional or alternative steps or features of the foregoing embodiments, which will not be described herein again.

[0253] As shown in FIG. 6, an abnormality detection apparatus of an optical access device is provided. The apparatus includes the following units.

[0254] The transceiver unit 610 is configured to obtain offline conditions of the optical access device in a preset time period.

[0255] The registration suspension unit 620 is further configured to instruct a first optical access device that is online in the optical access device to suspend a registration process in K time windows in response to the offline conditions meeting preset detection conditions, wherein K is a positive integer greater than or equal to 2, the K time windows correspond to K discovery gate windows one by one, and the K discovery gate windows are adjacent and used for performing the registration process.

[0256] The collection unit 630 is configured to collect light signal intensities in the K time windows respectively to obtain K signal intensity values, wherein the K time windows correspond to the K signal intensity values one by one.

[0257] The judgment unit 640 is configured to determine whether there is an abnormal optical access device in the optical access devices based on the K signal intensity values.

[0258] Based on the abnormality detection apparatus of the embodiment, other embodiments can be obtained in combination with the additional or alternative steps or features of the foregoing embodiments, which will not be described herein again.

[0259] As shown in FIG. 7, the abnormality detection apparatus 500 of the optical access device includes a processor 510 and an interface circuit 520. The processor 510 and the interface circuit 520 are coupled to each other. It can be understood that the interface circuit 520 can be a transceiver or an input / output interface. Optionally, the abnormality detection apparatus 500 of the optical access device can further include a memory 530 for storing instructions executed by the processor 510 or storing input data required by the processor 510 for running instructions or storing data generated after the processor 510 runs instructions.

[0260] When the anomaly detection device 500 of the optical access device is used to implement the method shown in Figure 2 or Figure 3, the processor 510 is used to implement the function of the processing unit 420, and the interface circuit 520 is used to implement the function of the transceiver unit 410.

[0261] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method shown in FIG2 or FIG3.

[0262] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the method shown in FIG2 or FIG3.

[0263] The unit division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into a single processor, exist as separate physical units, or be integrated into a single unit. The integrated units described above can be implemented in hardware or as software functional units.

[0264] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0265] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. An abnormality detection method of an optical access device, the method comprising: obtaining an offline condition of the optical access device within a preset time period; in response to the offline condition satisfying a preset detection condition, instructing one or more first optical access devices of the optical access device that are online to suspend a registration procedure within K time windows, wherein K is a positive integer greater than or equal to 2, the K time windows correspond to K discovery gate windows one by one, the K discovery gate windows are adjacent and used to perform the registration procedure; collecting optical signal strengths within the K time windows respectively to obtain K signal strength values, wherein the K time windows correspond to the K signal strength values one by one; and determining whether there is an abnormal optical access device in the optical access device based on the K signal strength values. The determination of whether there is the abnormal optical access device in the optical access device based on the K signal strength values comprises:

2. The method of claim 1, wherein, if at least two signal strength values of the K signal strength values are greater than a preset strength value and the time windows corresponding to the at least two signal strength values respectively include at least two adjacent time windows, it is determined that there is the abnormal optical access device in the optical access device. The obtaining of the offline condition of the optical access device within the preset time period comprises:

3. The method of claim 1 or 2, wherein, obtaining a first state of the optical access device at a first time and a second state of the optical access device at a second time, wherein the first time is earlier than the second time, and the first state of the optical access device and the second state of the optical access device are adjacent states; determining the preset time period according to the first time and the second time; and determining the offline condition of the optical access device within the preset time period according to the first state of the optical access device and the second state of the optical access device. The determination of the offline condition of the optical access device within the preset time period according to the first state of the optical access device and the second state of the optical access device comprises:

4. The method of claim 3, wherein, determining a number of one or more second optical access devices in the optical access device according to the first state of the optical access device and the second state of the optical access device, wherein a first state of the one or more second optical access devices is an online state, and a second state of the one or more second optical access devices is an offline state. The offline condition satisfying the preset detection condition comprises that the number of the one or more second optical access devices is greater than a preset value.

5. The method of claim 4, wherein, Each of the K time windows is included in a corresponding discovery gate window.

6. The method of any one of claims 1 to 5, wherein, A start position of a first time window of the K time windows is later than or equal to a start position of a first discovery gate window of the K discovery gate windows, an end position of the first time window is earlier than or equal to an end position of the first discovery gate window, and the first discovery gate window is a discovery gate window corresponding to the first time window.

7. The method of claim 6, wherein, ​ 8. The method of any one of claims 1 to 7, wherein, The first information includes indication information and a first identifier, the indication information is used to indicate the K time windows, and the first identifier is used to indicate that the one or more first optical access devices suspend a registration process in the time window.

9. The method of any one of claims 1 to 8, wherein, The collecting the optical signal strength in the K time windows respectively includes: collecting a first signal strength value in a second time window of the K time windows; and if the first signal strength value is greater than a preset strength value, collecting a second signal strength value in a third time window of the K time windows, wherein the third time window is a next time window of the second time window; and determining that the abnormal optical access device exists in the optical access devices based on the K signal strength values includes: if the first signal strength value and the second signal strength value are both greater than the preset strength value, determining that the abnormal optical access device exists in the optical access devices.

10. The method of any one of claims 1 to 9, wherein, The collecting the optical signal strength in the K time windows respectively and obtaining the K signal strength values include: collecting signal strength values in a fourth time window of the K time windows multiple times, and obtaining a third signal strength value of the fourth time window according to the multiple collected signal strength values.

11. The method of any one of claims 1 to 10, wherein, The response to the offline condition satisfying a preset detection condition and the indication that the one or more first optical access devices in the optical access devices suspend a registration process in the K time windows include: in response to the offline condition satisfying a preset detection condition, broadcasting a first message, the first message indicating that the one or more first optical access devices in the optical access devices suspend a registration process in the K time windows; and / or After determining that the abnormal optical access device exists in the optical access devices, the method further includes: broadcasting second information, the second information indicating that the one or more first optical access devices resume a registration process in the time window.

12. The method of any one of claims 1 to 11, wherein, The determination of whether the abnormal optical access device exists in the optical access devices based on the K signal strength values includes: in response to the K signal strength values satisfying a first condition, determining that the abnormal optical access device does not exist in the optical access devices, wherein the first condition means that there are no two adjacent signal strength values greater than a preset strength value in the K signal strength values, and the two adjacent signal strength values refer to signal strength values corresponding to two adjacent time windows in the K time windows.

13. The method of claim 12, wherein, After the determination of whether the abnormal optical access device exists in the optical access devices based on the K signal strength values, the method further includes: after determining that the abnormal optical access device does not exist in the optical access devices, broadcasting third information, the third information indicating that the one or more first optical access devices resume a registration process in the time window.

14. An abnormality detection method of an optical access device, comprising: obtaining an offline condition of the optical access device in a preset time period; in response to the offline condition meeting a preset detection condition, broadcast fourth information, the fourth information indicating that one or more first optical access devices, which are online, of the optical access devices suspend a registration process in a plurality of discovery gate windows for registration; collect optical signal strengths in the plurality of discovery gate windows respectively, to obtain a plurality of signal strength values; determine, based on the plurality of signal strength values, whether there is an abnormal optical access device in the optical access devices; and if the first signal strength value is greater than the preset strength value, collect optical signal strengths in a second discovery gate window of the plurality of discovery gate windows, to obtain a second signal strength value, the second discovery gate window being a next discovery gate window of the first discovery gate window. The method further includes, after the first signal strength value is obtained:

15. The method of claim 14, wherein, if the first signal strength value is less than or equal to the preset strength value, broadcast fifth information, the fifth information being used to indicate that the one or more first optical access devices resume the registration process in the discovery gate window for registration; or if the first signal strength value and the second signal strength value are both less than or equal to the preset strength value, broadcast fifth information, the fifth information being used to indicate that the one or more first optical access devices resume the registration process in the discovery gate window for registration. 17.An abnormality detection apparatus of an optical access device, comprising: a transceiving unit configured to obtain an offline condition of the optical access device in a preset time period; 16. The method of claim 15, wherein, a suspension registration unit configured to instruct a first optical access device, which is online, of the optical access device to suspend a registration process in K time windows in response to the offline condition meeting a preset detection condition, K being a positive integer greater than or equal to 2, the K time windows corresponding to K discovery gate windows one by one, the K discovery gate windows being adjacent and used to perform the registration process; a collection unit configured to collect optical signal strengths in the K time windows respectively, to obtain K signal strength values, the K time windows corresponding to the K signal strength values one by one; and a judgment unit configured to determine, based on the K signal strength values, whether there is an abnormal optical access device in the optical access device. 18.An abnormality detection apparatus of an optical access device, comprising: a transceiving unit configured to obtain an offline condition of the optical access device in a preset time period; ​ ​ ​ ​ ​ The suspension registration unit is configured to broadcast fourth information in response to the offline condition meeting preset detection conditions, the fourth information indicating that one or more first optical access devices, which are online with the optical access device, suspend a registration process in a plurality of discovery gate windows for registration. The acquisition unit is configured to acquire optical signal intensities in the plurality of discovery gate windows respectively, and obtain a plurality of signal intensity values. The determination unit is configured to determine whether there is an abnormal optical access device in the optical access device based on the plurality of signal intensity values. If N consecutive signal intensity values in the plurality of signal intensity values are greater than a preset intensity value, it is determined that there is the abnormal optical access device in the optical access device, where N is a positive integer greater than or equal to 2. The apparatus includes one or more processors and one or more memories, wherein the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the apparatus performs the method according to any one of claims 1 to 13.

19. An abnormality detection device of an optical access device, wherein The computer readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, the computer execution instructions are used to implement the method according to any one of claims 1 to 13. ​ 20. A computer readable storage medium, wherein, ​

Citation Information

Patent Citations

  • Method, device and system for detecting rogue optical network unit

    CN106464356A

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

    CN106936626A

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

    CN109039444A

  • Method and device for positioning ONU (Optical Network Unit) with burst long light emission interference

    CN111107449A

  • Alarm detection method, electronic device and computer-readable storage medium

    WO2023142469A1