Optical path fault positioning method, electronic equipment and computer readable medium

By acquiring and clustering the performance timing data of ONU in the passive optical network PON, the problem of difficulty in optical path fault location is solved, and the accuracy and efficiency of fault location are improved.

CN119030599APending Publication Date: 2024-11-26ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310589315.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In passive optical network PON, optical circuit fault location is difficult. The existing technology relies on manual inspection efficiency and low accuracy of automated positioning systems, making it difficult to load complex expert experience and analyze large amounts of data.

Method used

By obtaining the performance timing data of the ONU, cluster analysis is performed to determine the location of the optical path fault and improve the accuracy of fault location.

Benefits of technology

The accuracy of optical circuit fault positioning is improved, and more efficient fault positioning is achieved through comprehensive comparison and analysis of the time changes of ONU performance data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030599A_ABST
    Figure CN119030599A_ABST
Patent Text Reader

Abstract

The invention provides a PON (Passive Optical Network) optical path fault positioning method, electronic equipment and a computer readable medium. The optical path fault positioning method comprises the following steps: acquiring performance time sequence data of an ONU (Optical Network Unit) under a PON port with an optical path fault; clustering the performance time sequence data of the ONU under the PON port to obtain N groups; wherein N is an integer greater than or equal to 1, and each group comprises at least one ONU under the PON port; and determining an optical path fault position in the PON according to the N groups.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of passive optical network (PON), and in particular to an optical path fault locating method, an electronic device, and a computer-readable medium. Background Art

[0002] PON is composed of an optical line terminal (OLT), an optical distribution network (ODN) and an optical network unit (ONU). Among them, OLT is a terminal device used to connect to the optical fiber backbone, ONU is a device on the user side, and ODN provides an optical transmission channel between OLT and ONU. In the networking mode of PON, the point-to-multipoint (P2MP) networking mode is usually adopted. Multiple ONUs are connected under one OLT, and the ODN in the middle is active or passive. The specific connection topology information between OLT and ONU is unclear, and it is difficult to locate PON weak light faults.

[0003] In the relevant PON fault location technology, the maintenance efficiency of relying on manual inspection of faults is low. The traditional automated expert positioning system programmed based on manual experience, although efficient, is difficult to load complex expert experience and analyze based on large amounts of data, which ultimately leads to low fault location accuracy. Summary of the invention

[0004] Embodiments of the present application provide an optical path fault locating method, an electronic device, and a computer-readable medium.

[0005] In a first aspect, an embodiment of the present application provides a method for locating an optical path fault, comprising: obtaining performance timing data of an optical network unit ONU under a passive optical network PON port where an optical path fault occurs; clustering the performance timing data of the ONU under the PON port to obtain N groups; wherein N is an integer greater than or equal to 1, and each of the groups includes at least one ONU under the PON port; and determining the optical path fault location in the PON based on the N groups.

[0006] In a second aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; a memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any one of the above-mentioned optical path fault locating methods is implemented.

[0007] In a third aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned optical path fault locating methods is implemented.

[0008] The optical path fault locating method provided in the embodiment of the present application performs optical path fault locating based on the performance timing data of the ONU, that is, the optical path fault locating is obtained by performing a comprehensive comparative analysis and summary of the changes in the performance data of the ONU over time, thereby improving the accuracy of optical path fault locating. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A flow chart of an optical path fault location method provided by one embodiment of the present application;

[0010] Figure 2 A flowchart for clustering the performance timing data of the ONU under the PON port to obtain N groups provided in an embodiment of the present application;

[0011] Figure 3 A flowchart for clustering the fluctuation time series data of the ONU under the PON port to obtain N groups provided in an embodiment of the present application;

[0012] Figure 4 A block diagram of the composition of an electronic device provided in accordance with another embodiment of the present application. DETAILED DESCRIPTION

[0013] In order to enable those skilled in the art to better understand the technical solution of the present application, the optical path fault locating method, electronic device, and computer-readable medium provided by the present application are described in detail below in conjunction with the accompanying drawings.

[0014] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make this application thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

[0015] In the absence of conflict, the embodiments of the present application and the features therein may be combined with each other.

[0016] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.

[0017] The terms used herein are only used to describe specific embodiments and are not intended to limit the present application. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component and / or its group is not excluded.

[0018] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined herein.

[0019] Figure 1 A flowchart of an optical path fault locating method provided by one embodiment of the present application.

[0020] First, refer to Figure 1 An embodiment of the present application provides an optical path fault location method, comprising:

[0021] Step 100, obtaining performance timing data of an ONU under a PON port where an optical path failure occurs.

[0022] In some exemplary embodiments, the performance time series data includes at least one performance data collected at different time points.

[0023] In some exemplary embodiments, the performance data includes at least one of the following: optical power data, service data.

[0024] In some exemplary embodiments, the optical power data includes at least one of the following: received optical power of the ONU, transmitted optical power of the ONU, received optical power of the OLT, transmitted optical power of the OLT, upstream attenuation, and downstream attenuation.

[0025] In some exemplary embodiments, the service data includes at least one of the following: uplink bit error, downlink bit error, uplink traffic, downlink traffic, uplink bit error rate, downlink bit error rate, uplink bit interleaved parity (BIP), and downlink BIP.

[0026] In some exemplary embodiments, the upstream attenuation is the difference between the transmit optical power of the ONU and the receive optical power of the OLT.

[0027] In some exemplary embodiments, the downstream attenuation is the difference between the transmit optical power of the OLT and the receive optical power of the ONU.

[0028] In some exemplary embodiments, the uplink bit error rate is a ratio of the uplink BIP to the uplink traffic.

[0029] In some exemplary embodiments, the downlink bit error rate is a ratio of the downlink BIP to the downlink traffic.

[0030] In some exemplary embodiments, the performance timing data includes at least one of the following: optical power timing data, service timing data.

[0031] In some exemplary embodiments, the optical power timing data includes at least one of the following: ONU received optical power timing data, ONU transmitted optical power timing data, OLT received optical power timing data, OLT transmitted optical power timing data, upstream attenuation timing data, downstream attenuation timing data.

[0032] In some exemplary embodiments, the service timing data includes at least one of the following: uplink bit error timing data, downlink bit error timing data, uplink traffic timing data, and downlink traffic timing data.

[0033] In some exemplary embodiments, the received optical power timing data of the ONU may be a received optical power timing sequence of the ONU, and an element in the received optical power timing sequence of the ONU represents the received optical power of the ONU collected at a corresponding time.

[0034] In some exemplary embodiments, the ONU transmit optical power timing data may be an ONU transmit optical power timing sequence, and an element in the ONU transmit optical power timing sequence represents the ONU transmit optical power collected at a corresponding time.

[0035] In some exemplary embodiments, the OLT received optical power timing data may be an OLT received optical power timing sequence, and an element in the OLT received optical power timing sequence represents the OLT received optical power collected at a corresponding time.

[0036] In some exemplary embodiments, the OLT's transmitted optical power time series data may be an OLT's transmitted optical power time series sequence, and an element in the OLT's transmitted optical power time series sequence represents the OLT's transmitted optical power collected at a corresponding time.

[0037] In some exemplary embodiments, the uplink attenuation timing data may be an uplink attenuation timing sequence, and the raw data in the uplink attenuation timing sequence represents the difference between the transmit optical power of the ONU and the receive optical power of the OLT collected at the corresponding time.

[0038] In some exemplary embodiments, the downlink attenuation timing data may be a downlink attenuation timing sequence, and the original data in the downlink attenuation timing sequence represents the difference between the transmit optical power of the OLT and the receive optical power of the ONU collected at the corresponding time.

[0039] In some exemplary embodiments, the uplink bit error timing data may be an uplink bit error timing sequence, and the elements in the uplink bit error timing sequence represent uplink bit errors collected at corresponding times.

[0040] In some exemplary embodiments, the downlink bit error timing data may be a downlink bit error timing sequence, and the elements in the downlink bit error timing sequence represent downlink bit errors collected at corresponding times.

[0041] In some exemplary embodiments, the uplink traffic time series data may be an uplink traffic time series sequence, and the elements in the uplink traffic time series sequence represent the uplink traffic collected at the corresponding time.

[0042] In some exemplary embodiments, the downlink traffic time series data may be a downlink traffic time series sequence, and the elements in the downlink traffic time series sequence represent the downlink traffic collected at the corresponding time.

[0043] In some exemplary embodiments, the uplink bit error rate timing data may be an uplink bit error rate timing sequence, and the elements in the uplink bit error rate timing sequence represent the ratio of the uplink BIP and the uplink traffic collected at the corresponding time.

[0044] In some exemplary embodiments, the downlink bit error rate timing data may be a downlink bit error rate timing sequence, and the elements in the downlink bit error rate timing sequence represent the ratio of the downlink BIP and the downlink traffic collected at the corresponding time.

[0045] In some exemplary embodiments, the uplink BIP timing data may be an uplink BIP timing sequence, and the elements in the uplink BIP timing sequence represent the uplink BIPs collected at the corresponding time.

[0046] In some exemplary embodiments, the downstream BIP timing data may be a downstream BIP timing sequence, and an element in the downstream BIP timing sequence represents a downstream BIP collected at a corresponding time.

[0047] In some exemplary embodiments, when the performance timing data includes at least two timing data, the performance timing data may be multi-dimensional timing data composed of timing sequences corresponding to the at least two timing data. For example, when the performance timing data includes: ONU received optical power timing data and downstream traffic timing data, the performance timing data is two-dimensional timing data, the first dimension of the two-dimensional timing data is the ONU received optical power timing sequence, and the second dimension is the downstream traffic timing sequence. Other situations are analogous.

[0048] In some exemplary embodiments, before obtaining the performance timing data of all ONUs under the PON port where the optical path failure occurs, the method further includes: determining a list of PON ports where the optical path failure occurs; and obtaining the performance timing data of all ONUs under all PON ports in the list of PON ports where the optical path failure occurs.

[0049] In some exemplary embodiments, determining a list of PON ports where optical path failures occur includes: obtaining device information of each OLT, ODN, and ONU in the PON, as well as connection topology relationship information between the OLT and the ONU; obtaining an alarm log, and determining a list of ONUs where optical path failures occur based on the alarm log; determining a list of PON ports where optical path failures occur based on device information of each OLT, ODN, and ONU in the PON, as well as connection topology relationship information between the OLT and the ONU, and a list of ONUs where optical path failures occur.

[0050] In some exemplary embodiments, when the list of PON ports where optical path failure occurs includes two or more PON ports, the performance timing data of the ONU under each PON port where optical path failure occurs is acquired respectively.

[0051] In some exemplary embodiments, when obtaining the performance timing data of the ONU under each PON port where an optical path failure occurs, the performance timing data of all ONUs under the PON port where the optical path failure occurs can be obtained; or, the performance timing data of the ONU that generates alarm information under the PON port where the optical path failure occurs can be obtained.

[0052] In some exemplary embodiments, obtaining performance timing data of an ONU under a PON port in a list of PON ports having optical path failures includes: obtaining performance timing data of the ONU under the PON port; and obtaining performance timing data of the ONUs under all PON ports in the list of PON ports having optical path failures from the performance timing data of the ONU under the PON port.

[0053] In some exemplary embodiments, the device information includes at least one of the following: device manufacturer, model, Internet Protocol (IP) address, etc.

[0054] Step 101 , clustering the performance time series data of the ONUs under the PON port to obtain N groups; wherein N is an integer greater than or equal to 1, and each group includes at least one ONU under the PON port.

[0055] In some exemplary embodiments, the performance time series data of the ONUs under the same PON port are clustered to obtain N groups, wherein each group includes at least one ONU under the same PON port. The subsequent clustering process is performed based on the performance time series data of the ONUs under the same PON port.

[0056] In some exemplary embodiments, the performance timing data of all ONUs under the same PON port are clustered to obtain N groups.

[0057] In some exemplary embodiments, the performance time series data of the ONUs generating alarm information under the same PON port are clustered to obtain N groups.

[0058] In some exemplary embodiments, the performance timing data of the ONU is not processed in any way, and the performance timing data of the ONU under the PON port is directly clustered to obtain N groups.

[0059] In some exemplary embodiments, each group obtained by grouping the performance timing data of the ONU includes the ONU corresponding to the performance timing data in the group.

[0060] In some exemplary embodiments, Figure 2 As shown, the performance timing data of the ONU under the PON port is clustered to obtain N groups including:

[0061] Step 200: for each ONU under the PON port, determine the fluctuation timing data of the ONU according to the performance timing data of the ONU.

[0062] Step 201: cluster the fluctuation time series data of the ONUs under the PON port to obtain the N groups.

[0063] In some exemplary embodiments, each group obtained by grouping the fluctuation timing data of the ONU includes the ONU corresponding to the fluctuation timing data in the group.

[0064] In some exemplary embodiments, clustering the performance timing data of the ONU under the PON port to obtain N groups includes: determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the performance timing data of the ONU under the PON port; clustering the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port to obtain N groups.

[0065] In some exemplary embodiments, each group obtained by grouping the backbone fault timing characteristics and non-backbone fault timing characteristics of the ONU includes the ONU corresponding to the backbone fault timing characteristics and / or non-backbone fault timing characteristics in the group.

[0066] It should be noted here that a trunk fault timing feature and a non-trunk fault timing feature corresponding to an ONU may be divided into different groups, so the ONU may belong to the group where the trunk fault timing feature is located and the group where the non-trunk fault timing feature is located.

[0067] In some exemplary embodiments, the fluctuation time series data includes: first-order difference time series information.

[0068] In some exemplary embodiments, when determining the first-order differential time series information of one-dimensional performance time series data of length T, the length of the obtained first-order differential time series information is T-1. The value of the time point t of the first-order differential time series information is the difference between the value of the performance time series data at time point t+1 and the value at time point t.

[0069] In some exemplary embodiments, when determining the first-order differential time series information of a multidimensional time series with a length of T and a dimension of M, the length of the obtained first-order differential time series information is T-1 and the dimension is M. The value of the time point t of the mth dimension of the first-order differential time series information is the difference between the value of the time point t+1 of the mth dimension performance time series data and the value of the time point t of the mth dimension performance time series data.

[0070] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port based on the performance timing data of the ONU under the PON port includes: calculating the difference in the values ​​of the time point t of all dimensions in the performance timing data of any two ONUs under the PON port; determining the value of the time point t of the trunk fault timing characteristic and the value of the time point t of the non-trunk fault timing characteristic based on the difference in the values ​​of the time point t of all dimensions in the performance timing data of any two ONUs under the PON port.

[0071] In some exemplary embodiments, determining the value of the time point t of the trunk fault timing feature and the value of the time point t of the non-trunk fault timing feature according to the difference of the values ​​of the time point t of all dimensions in the performance timing data of any two ONUs under the PON port includes: when the ratio of the number of differences less than or equal to the third preset threshold to the total number of differences calculated under the PON port is greater than or equal to the fourth preset threshold, determining the value of the time point t of the trunk fault timing feature of the ONU under the PON port as information characterizing that the ONU is a trunk fault, and determining the value of the time point t of the non-trunk fault timing features of all ONUs under the PON port as a special character; when the ratio of the number of differences less than or equal to the third preset threshold to the total number of differences calculated under the PON port is less than the fourth preset threshold, determining the value of the time point t of the trunk fault timing feature of the ONU under the PON port as a special character, and determining the value of the time point t of the non-trunk fault timing features of all ONUs under the PON port as information characterizing that the ONU is a non-trunk fault.

[0072] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port based on the performance timing data of the ONU under the PON port includes: clustering the values ​​of the time points t of all dimensions in the performance timing data of the ONU under the PON port to obtain A groups; wherein A is an integer greater than or equal to 1, and the group includes at least one ONU under the PON port; determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port based on the number of ONUs in the group containing the largest number of ONUs.

[0073] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONUs under the PON port according to the number of ONUs in the group containing the largest number of ONUs includes: when the number of ONUs in the group containing the largest number of ONUs is greater than or equal to a fourth preset threshold, determining that the value of the time point t of the trunk fault timing characteristics of the ONUs under the PON port is information characterizing that the ONU is a trunk fault, and determining that the value of the time point t of the non-trunk fault timing characteristics of all ONUs under the PON port is a special character; when the number of ONUs in the group containing the largest number of ONUs is less than the fourth preset threshold, determining that the value of the time point t of the trunk fault timing characteristics of the ONUs under the PON port is a special character, and determining that the value of the time point t of the non-trunk fault timing characteristics of all ONUs under the PON port is information characterizing that the ONU is a non-trunk fault.

[0074] In some exemplary embodiments, no processing is performed on the fluctuation timing data of the ONU, and clustering is performed directly according to the fluctuation timing of the ONU under the PON port to obtain N groups.

[0075] In some exemplary embodiments, Figure 3 As shown, the N groups obtained by clustering the fluctuation time series data of the ONU under the PON port include:

[0076] Step 300, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the fluctuation timing data of the ONU under the PON port.

[0077] Step 301 , clustering the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONUs under the PON port into N groups.

[0078] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the fluctuation timing data of the ONU under the PON port includes: calculating the difference of the values ​​of the time point t including all dimensions in the fluctuation timing data of any two ONUs under the PON port; determining the value of the time point t of the trunk fault timing characteristic and the value of the time point t of the non-trunk fault timing characteristic according to the difference of the values ​​of the time point t including all dimensions in the fluctuation timing data of any two ONUs under the PON port.

[0079] In some exemplary embodiments, determining the value of the time point t of the trunk fault timing feature and the value of the time point t of the non-trunk fault timing feature according to the difference of the values ​​of the time point t of all dimensions in the fluctuation timing data of any two ONUs under the PON port includes: when the ratio of the number of differences less than or equal to the third preset threshold to the total number of differences calculated under the PON port is greater than or equal to the fourth preset threshold, determining the value of the time point t of the trunk fault timing feature of the ONU under the PON port as information characterizing that the ONU is a trunk fault, and determining the value of the time point t of the non-trunk fault timing features of all ONUs under the PON port as a special character; when the ratio of the number of differences less than or equal to the third preset threshold to the total number of differences calculated under the PON port is less than the fourth preset threshold, determining the value of the time point t of the trunk fault timing feature of the ONU under the PON port as a special character, and determining the value of the time point t of the non-trunk fault timing features of all ONUs under the PON port as information characterizing that the ONU is a non-trunk fault.

[0080] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the fluctuation timing data of the ONU under the PON port includes: clustering the values ​​of the time point t of all dimensions in the fluctuation timing data of the ONU under the PON port to obtain A groups; wherein A is an integer greater than or equal to 1, and the group includes at least one ONU under the PON port; determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the number of ONUs in the group containing the largest number of ONUs.

[0081] In some exemplary embodiments, determining the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONUs under the PON port according to the number of ONUs in the group containing the largest number of ONUs includes: when the number of ONUs in the group containing the largest number of ONUs is greater than or equal to a fourth preset threshold, determining that the value of the time point t of the trunk fault timing characteristics of the ONUs under the PON port is information characterizing that the ONU is a trunk fault, and determining that the value of the time point t of the non-trunk fault timing characteristics of all ONUs under the PON port is a special character; when the number of ONUs in the group containing the largest number of ONUs is less than the fourth preset threshold, determining that the value of the time point t of the trunk fault timing characteristics of the ONUs under the PON port is a special character, and determining that the value of the time point t of the non-trunk fault timing characteristics of all ONUs under the PON port is information characterizing that the ONU is a non-trunk fault.

[0082] In some exemplary embodiments, the difference between the t-th time point in the fluctuation time series data of any two ONUs may be any one of the city distance, Euclidean distance, Minkowski distance, etc., at the t-th time point in the fluctuation time series data of the two ONUs.

[0083] In some exemplary embodiments, when clustering the time series, the difference between the fluctuation time series data of any two ONUs can be any one of the city distance, Euclidean distance, Minkowski distance, cos distance, dynamic time warping (DTW) distance, Spearman correlation coefficient, Pearson correlation coefficient, Kendall correlation coefficient, etc. between the two ONU fluctuation time series data.

[0084] In some exemplary embodiments, the clustering algorithm may be a hierarchical clustering algorithm, a k-means algorithm based on partitioning clustering, a DBSCAN algorithm based on density clustering, and an unsupervised clustering algorithm such as a spectral clustering algorithm and a kernel clustering algorithm.

[0085] Step 102: Determine the optical path fault location in the PON according to the N groups.

[0086] In some exemplary embodiments, when the performance timing data of all ONUs under the same PON port are clustered to obtain N groups, determining the optical path fault position in the PON according to the N groups includes: determining the optical path fault position corresponding to the ONU in the group according to the number of ONUs in the group.

[0087] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the group according to the number of ONUs in the group includes: when the ratio of the number of ONUs in the group to the total number of ONUs under the PON port is greater than or equal to a first preset threshold, determining that the optical path fault position corresponding to the ONU in the group includes the trunk segment.

[0088] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the group based on the number of ONUs in the group includes: when the ratio of the number of ONUs in the group to the total number of ONUs under the PON port is less than a first preset threshold, and the number of ONUs in the group is greater than or equal to a second preset threshold, determining that the optical path fault position corresponding to the ONU in the group includes a branch segment.

[0089] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the group according to the number of ONUs in the group includes: when the number of ONUs in the group is less than a second preset threshold, determining that the optical path fault position of the ONU in the group includes an entrance segment.

[0090] In some exemplary embodiments, determining the optical path fault location in the PON based on N groups includes: determining the optical path fault location corresponding to the ONU in the target group based on the number of ONUs in the target group; wherein the target group is the group in which the ONU in the N groups has an optical path fault.

[0091] In some exemplary embodiments, the optical path fault location includes any one of the following: a trunk segment, a branch segment, and an entrance segment.

[0092] In some exemplary embodiments, the trunk segment includes: a trunk optical fiber and a primary optical splitter.

[0093] In some exemplary embodiments, the branch segment includes: a branch optical fiber and a secondary optical splitter.

[0094] In some exemplary embodiments, the home drop section includes: a home drop optical fiber.

[0095] In some exemplary embodiments, the target group may be a group in which the ratio of the number of ONUs generating alarm information to the total number of ONUs in the group is greater than or equal to a fifth preset threshold.

[0096] In some exemplary embodiments, the target group may be a group in which the ratio of the maximum absolute value of at least one dimension of data in the fluctuation time series data to the mean of the dimension of data is greater than or equal to a sixth preset threshold and the ratio of the total number of ONUs in the group is greater than or equal to a seventh preset threshold.

[0097] In some exemplary embodiments, the target group may be a group in which the ratio of the maximum absolute value of at least one dimension of data to the mean of the dimension of data in the fluctuation time series data is greater than or equal to the sixth preset threshold and the number of ONUs is greater than or equal to the eighth preset threshold.

[0098] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the target group based on the number of ONUs in the target group includes: when the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is greater than or equal to a first preset threshold, determining that the optical path fault position corresponding to the ONU in the target group includes the trunk segment.

[0099] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the target group based on the number of ONUs in the target group includes: when the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is less than a first preset threshold, and the number of ONUs in the target group is greater than or equal to a second preset threshold, determining that the optical path fault position corresponding to the ONU in the target group includes a branch segment.

[0100] In some exemplary embodiments, determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: when the number of ONUs in the target group is less than a second preset threshold, determining that the optical path fault position of the ONU in the target group includes the entrance segment.

[0101] In some exemplary embodiments, when the ONU belongs to two or more different groups at the same time, the optical path fault position of the ONU includes the optical path fault position obtained according to the number of ONUs in the two or more different groups where the ONU is located, that is, it includes two or more different optical path fault positions.

[0102] In some exemplary embodiments, when the performance timing data is the received optical power timing data of the ONU, determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: when the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is greater than or equal to a first preset threshold, determining that the optical path fault position corresponding to the ONU in the target group includes the trunk segment.

[0103] In some exemplary embodiments, when the performance timing data is the received optical power timing data of the ONU, determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: when the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is less than a first preset threshold, and the number of ONUs in the target group is greater than or equal to a second preset threshold, determining that the optical path fault position corresponding to the ONU in the target group includes a branch segment.

[0104] In some exemplary embodiments, when the performance timing data is the received optical power timing data of the ONU, determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: when the number of ONUs in the target group is less than a second preset threshold, determining that the optical path fault position of the ONU in the target group includes the entrance segment.

[0105] The optical path fault locating method provided in the embodiment of the present application performs optical path fault locating based on the performance timing data of the ONU, that is, the optical path fault locating is obtained by performing a comprehensive comparative analysis and summary of the changes in the performance data of the ONU over time, thereby improving the accuracy of optical path fault locating.

[0106] In some exemplary embodiments, a clustering algorithm is used to perform clustering analysis on the changes in the performance data of the ONU over time, thereby obtaining optical path fault location, further improving the accuracy of optical fault location.

[0107] Second, refer to Figure 4 Another embodiment of the present application provides an electronic device, including: at least one processor 401; a memory 402, wherein at least one program is stored in the memory 402, and when the at least one program is executed by the at least one processor 401, any one of the above-mentioned optical path fault locating methods is implemented.

[0108] In some exemplary embodiments, the electronic device further includes: one or more I / O interfaces 403 connected between the processor 401 and the memory 402 , and configured to implement information interaction between the processor 401 and the memory 402 .

[0109] Among them, the processor 401 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 402 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 403 is connected between the processor 401 and the memory 402, and can realize information interaction between the processor 401 and the memory 402, including but not limited to a data bus (Bus), etc.

[0110] In some embodiments, the processor 401 , the memory 402 , and the I / O interface 403 are connected to each other via a bus 404 , and further connected to other components of the computing device.

[0111] In a third aspect, another embodiment of the present application provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, any one of the above-mentioned optical path fault locating methods is implemented.

[0112] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0113] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.

Claims

1. A method for locating an optical path fault, comprising: Obtaining the performance timing data of the optical network unit ONU under the passive optical network PON port where the optical path failure occurs; Clustering the performance timing data of the ONU under the PON port to obtain N groups; wherein N is an integer greater than or equal to 1, and each of the groups includes at least one ONU under the PON port; An optical path fault location in the PON is determined according to the N packets.

2. The optical path fault location method according to claim 1, wherein: The performance time series data includes at least one of the following: optical power time series data, service time series data; Wherein, the optical power timing data includes at least one of the following: the received optical power timing data of the optical network unit, the transmitted optical power timing data of the optical network unit, the received optical power timing data of the optical line terminal, the transmitted optical power timing data of the optical line terminal, the uplink attenuation timing data, and the downlink attenuation timing data; Among them, the service timing data includes at least one of the following: uplink bit error timing data, downlink bit error timing data, uplink traffic timing data, downlink traffic timing data, uplink bit error rate timing data, downlink bit error rate timing data, uplink bit interleaving parity check timing data, downlink bit interleaving parity check timing data.

3. The optical path fault location method according to claim 1, wherein: The optical path fault location includes any one of the following: Trunk section, branch section, and entrance section.

4. The optical path fault location method according to any one of claims 1 to 3, wherein: The clustering of the performance timing data of the ONU under the PON port to obtain N groups includes: For each of the ONUs under the PON port, determining the fluctuation timing data of the ONU according to the performance timing data of the ONU; The fluctuation time series data of the ONU under the PON port is clustered to obtain the N groups.

5. The optical path fault location method according to claim 4, wherein: The clustering of the fluctuation time series data of the ONU under the PON port to obtain the N groups includes: Determine the trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port according to the fluctuation timing data of the ONU under the PON port; The trunk fault timing characteristics and non-trunk fault timing characteristics of the ONU under the PON port are clustered to obtain the N groups.

6. The optical path fault location method according to any one of claims 1 to 3, wherein: Determining the optical path fault position in the PON according to the N groups comprises: The optical path fault position corresponding to the ONU in the target group is determined according to the number of ONUs in the target group; wherein the target group is a group in which an optical path fault occurs in at least one ONU in the N groups.

7. The optical path fault location method according to claim 6, wherein: Determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: When the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is greater than or equal to a first preset threshold, it is determined that the optical path fault position corresponding to the ONU in the target group includes a trunk segment.

8. The optical path fault location method according to claim 6, wherein: Determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: When the ratio of the number of ONUs in the target group to the total number of ONUs under the PON port is less than the first preset threshold, and the number of ONUs in the target group is greater than or equal to the second preset threshold, it is determined that the optical path fault position corresponding to the ONU in the target group includes a branch segment.

9. The optical path fault location method according to claim 6, wherein: Determining the optical path fault position corresponding to the ONU in the target group according to the number of ONUs in the target group includes: When the number of ONUs in the target group is less than a second preset threshold, it is determined that the optical path fault position of the ONUs in the target group includes an entrance segment.

10. An electronic device, comprising: at least one processor; A memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, the optical path fault locating method according to any one of claims 1 to 9 is implemented.

11. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the optical path fault location method according to any one of claims 1 to 9.