Optical cable fault location method, device, electronic device and non-volatile storage medium

By acquiring alarm information and historical fault data of optical cable equipment, an optical cable fault location method is constructed, which solves the problems of poor location accuracy and long fault repair time caused by reliance on experience in the existing technology, and achieves fast and accurate optical cable fault location and maintenance efficiency. promote.

CN115001573BActive Publication Date: 2024-09-13CHINA TELECOM CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210663402.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-13
Publication Date
2024-09-13
Estimated Expiration
2042-06-13

AI Technical Summary

Technical Problem

Existing optical cable fault location methods rely on the experience of maintenance personnel, resulting in poor location accuracy, long fault repair time, and low line maintenance efficiency, especially when the optical cable GIS routing information is missing or inaccurate.

Method used

By obtaining the alarm information of the target device, the device port information associated with the faulty optical cable is determined, a faulty optical path set is constructed, and the scope of the faulty optical cable is narrowed down based on historical fault information, and the faulty optical cable is determined by using the business impact coefficient and fault grade factor of the optical cable segment.

Benefits of technology

It can quickly and accurately locate optical cable faults to specific optical cable segments, reduce the scope of fault troubleshooting, improve line maintenance efficiency, and reduce fault repair time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115001573B
    Figure CN115001573B
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and non-volatile storage medium for locating optical cable faults. The method comprises: obtaining alarm information generated by a target device, wherein the alarm information includes device port information associated with a faulty optical cable; determining a first fault optical path set based on the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information; determining a first optical cable set based on the first fault optical path set; determining a faulty optical cable from the first optical cable set based on historical fault information of the first target optical cable. The present invention solves the technical problem in the related art that only preliminary positioning can be performed based on the maintenance experience of maintenance personnel, resulting in poor positioning accuracy, long fault repair time and low line maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical fiber communication technology, and in particular to an optical cable fault locating method, device, electronic equipment and non-volatile storage medium. Background Art

[0002] Optical cable resources are the foundation of network development. As a communication medium, optical cable has been widely used in communication networks, telecommunications, power and other fields due to its advantages such as large transmission capacity, low attenuation, long transmission distance, small size, light weight, no electromagnetic interference and low cost. With the continuous expansion of the network scale, the number of optical cable resources continues to surge, and the difficulty of maintaining optical cables and related facilities is also increasing. Since the laying distance of optical cables is usually long, it is of great significance to quickly and accurately locate the geographical location of optical cable fault points during the operation and maintenance or management of optical cables to ensure the safe and stable operation of optical communication networks.

[0003] Optical cable failure is the focus and difficulty of line maintenance work. When a failure occurs, it is difficult to directly locate the fault position. The existing optical cable fault location method often relies on the optical cable GIS (Geographic Information System) routing information to locate the fault. However, for optical cable failures with missing or inaccurate GIS routing information, it is impossible to preliminarily locate the fault point through the optical cable GIS routing and the lighting distance of the breakpoint. The only way is to make a preliminary determination based on the maintenance experience of the maintenance personnel, and then find the fault point through troubleshooting. This method requires a high level of work experience for the maintenance personnel, and has problems such as poor positioning accuracy, long fault repair time, and low line maintenance efficiency.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, electronic device and non-volatile storage medium for locating optical cable faults, so as to at least solve the technical problems in the related art that only preliminary positioning can be performed based on the maintenance experience of maintenance personnel, resulting in poor positioning accuracy, long fault repair time and low line maintenance efficiency.

[0006] According to one aspect of an embodiment of the present invention, a method for locating an optical cable fault is provided, comprising: obtaining alarm information generated by a target device, wherein the alarm information includes device port information associated with a faulty optical cable; determining a first fault optical path set based on the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of optical cables, and between any two first target optical paths in the first fault optical path set there exists an optical cable that is not simultaneously included in any two first target optical paths; determining a first optical cable set based on the first fault optical path set, wherein the first target optical cable in the first optical cable set is an optical cable in the first target optical path; determining the faulty optical cable from the first optical cable set based on historical fault information of the first target optical cable.

[0007] Optionally, according to the first faulty optical path set, determining the first optical cable set includes: determining a second optical cable set associated with a first target optical path in the first faulty optical path set, wherein the second target optical cable in the second optical cable set is an optical cable associated with the first target optical path in the first faulty optical path set, and the second target optical cable may be associated with multiple first target optical paths; determining a third target optical cable in the second optical cable set, wherein all optical paths associated with the third target optical cable are associated with a fourth target optical cable, and the fourth target optical cable is also associated with other optical paths, wherein the fourth target optical cable is any second target optical cable in the second optical cable set except the third target optical cable; deleting the third target optical cable from the second optical cable set to obtain the first optical cable set. Optionally, according to the historical fault information of the first target optical cable, determining the faulty optical cable from the first optical cable set includes: determining the first target optical path associated with the first target optical cable; determining the fault index of the first target optical cable according to the optical path information and historical fault information of the first target optical path; determining one or more first target optical cables with the largest fault index as the faulty optical cable.

[0008] Optionally, the optical path information includes the number of first target optical paths, wherein the fault index of the first target optical cable is determined based on the optical path information and historical fault information of the first target optical path, including: determining the historical fault information of the first target optical cable, wherein the historical fault information of the first target optical cable includes the number of historical failures of the first target optical cable; determining the business impact coefficient of the first target optical cable, wherein the business impact coefficient is a coefficient set by the target object itself; determining the fault index of the first target optical cable based on the number of first target optical paths, the business impact coefficient, and the number of historical failures.

[0009] Optionally, before obtaining the alarm information generated by the target device, the optical cable fault locating method also includes: determining device identification information of the target device in the target communication network, and optical cable identification information of the optical cable in the target communication network, wherein the device identification information includes device port information of the target device; determining network topology information of the target communication network, wherein the network topology information includes connection information between target devices and target devices, connection information between optical cables and optical cables, and connection information between target devices and target devices; and determining a set of port optical path information corresponding to each port in the target device based on the network topology information, the device identification information and the optical cable identification information.

[0010] Optionally, determining a port optical path information set corresponding to each port in the target device based on the network topology information, the device identification information and the optical cable identification information includes: determining a port optical cable directly connected to each port based on the network topology information; determining a port optical path including the port optical cable based on the network topology information and the port optical cable, wherein one end of the port optical path is connected to each port through the port optical cable, and the other end of the port optical path is connected to a port other than each port in the target communication network through the optical cable; determining port optical path information of the port optical path, wherein the port optical path information includes port identification information of the port to which the port optical path is connected, and optical cable identification information of the optical cable included in the port optical path information; determining a port optical path information set, wherein the port optical path information combination includes port optical path information of all port optical paths corresponding to the ports.

[0011] Optionally, determining the first faulty optical path set based on the device port information includes: determining a port optical path information set corresponding to the port identification information based on the port identification information in the device port information; and determining the first faulty optical path set based on the port optical path information set.

[0012] Optionally, determining a first fault optical path set based on the device port information includes: determining a second fault optical path set based on the device port information, wherein the second target optical path in the second fault optical path set is an optical path connected to a port corresponding to the device port information, and the second target optical path is composed of optical cables; determining a third target optical path in the second fault optical path set, wherein all optical cables included in the third target optical path are included in a fourth target optical path, wherein the fourth target optical path is any second target optical path in the second fault optical path set except the third target optical path; and deleting the third target optical path from the second fault optical path set to obtain the first fault optical path set.

[0013] According to another aspect of an embodiment of the present invention, there is also provided an optical cable fault locating device, including: an acquisition module, used to acquire alarm information generated by a target device, wherein the alarm information includes device port information associated with a faulty optical cable; a retrieval module, used to determine a first fault optical path set based on the device port information, wherein the first target optical path in the first fault optical cable set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of optical cables, and between any two first target optical paths in the first fault optical path set, there is an optical cable that is not simultaneously included in any two first target optical paths; a processing module, used to determine a first optical cable set based on the first fault optical path set, wherein the target optical cables in the first target optical cable set are optical cables in the first target optical path; and a calculation module, used to determine the faulty optical cable from the first optical cable set based on historical fault information of the first target optical cable.

[0014] According to another aspect of an embodiment of the present invention, a nonvolatile storage medium is provided. The nonvolatile storage medium includes a stored program. When the program is executed, a device where the nonvolatile storage medium is located is controlled to execute the optical cable fault locating method.

[0015] According to another aspect of the embodiments of the present invention, an electronic device is provided. The electronic device includes a processor, and the processor is used to run a program. When the program is run, the optical cable fault locating method is executed.

[0016] In the embodiment of the present invention, by acquiring the alarm information generated by the target device, wherein the alarm information includes the device port information associated with the faulty optical cable; determining the first faulty optical path set according to the device port information, wherein the first target optical path in the first faulty optical path set is the optical path connected to the port corresponding to the device port information, the first target optical path is composed of optical cables, and there is an optical cable between any two first target optical paths in the first faulty optical path set that is not simultaneously included by any two first target optical paths; determining the first optical cable set according to the first faulty optical path set, wherein the first target optical cable in the first optical cable set is the optical cable in the first target optical path; determining the faulty optical cable from the first optical cable set according to the historical fault information of the first target optical cable. The purpose of quickly merging the optical cable fault into a specific optical cable segment and narrowing the scope of fault investigation is achieved, thereby achieving the technical effect of quickly locating the optical cable fault to a specific optical cable segment, reducing the number of optical cable fault dispatch orders, and improving the line maintenance efficiency, thereby solving the technical problems in the related art that only preliminary positioning can be performed based on the maintenance experience of the maintenance personnel, resulting in poor positioning accuracy, long fault repair time, and low line maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 It is a flowchart of a method for locating an optical cable fault provided in an embodiment of the present application;

[0019] Figure 2 This is a schematic diagram of an application scenario of an optical cable fault locating method provided according to an embodiment of the present application;

[0020] Figure 3 It is a schematic diagram of another application scenario of an optical cable fault locating method provided according to an embodiment of the present application;

[0021] Figure 4 It is a schematic diagram of another application scenario of an optical cable fault locating method provided according to an embodiment of the present application;

[0022] Figure 5 is a structural diagram of an optical cable fault locating device provided according to an embodiment of the present application;

[0023] Figure 6 It is a hardware structure block diagram of a computer terminal (or electronic device) for implementing a method for locating an optical cable fault according to an embodiment of the present application. DETAILED DESCRIPTION

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

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] In order to facilitate those skilled in the art to better understand the embodiments of the present application, some technical terms or nouns involved in the embodiments of the present application are explained as follows:

[0027] PostgreSQL: A free software object-relational database management system with a very complete set of features, supporting most of the SQL standard and providing many other modern features, such as complex queries, foreign keys, triggers, views, transaction integrity, multi-version concurrency control, etc. Similarly, PostgreSQL can also be extended in many ways, such as by adding new data types, functions, operators, aggregate functions, index methods, procedural languages, etc. In addition, because of the flexibility of the license, anyone can use, modify and distribute PostgreSQL for any purpose for free.

[0028] IPRAN (IP Radio Access Network) is an end-to-end service bearer network based on IP / MPLS protocols and key technologies, mainly for mobile service bearer and providing layer 2 and 3 channel service bearer, with provinces as units and relying on the CN2 backbone layer. The IPRAN network mainly includes the access layer, aggregation layer, and core layer, and the core layer is divided into the metropolitan core layer and the provincial core layer.

[0029] SpringBoot framework: A new open source application framework on the Java platform, which not only inherits the excellent features of the original Spring framework, but also further simplifies the entire construction and development process of Spring applications by simplifying configuration. The framework uses a specific way to configure, so that developers no longer need to define boilerplate configurations.

[0030] According to an embodiment of the present invention, a method embodiment of optical cable fault locating is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0031] Figure 1 is a method for locating an optical cable fault according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0032] Step S102, obtaining alarm information generated by the target device, wherein the alarm information includes device port information associated with the faulty optical cable;

[0033] Before obtaining the alarm information generated by the target device, the optical cable fault locating method also includes: determining the device identification information of the target device in the target communication network, and the optical cable identification information of the optical cable in the target communication network, wherein the device identification information includes the device port information of the target device; determining the network topology information of the target communication network, wherein the network topology information includes the connection information between the target device and the target device, the connection information between the optical cable and the optical cable, and the connection information between the target device and the target device; and determining the port optical path information set corresponding to each port in the target device based on the network topology information, the device identification information and the optical cable identification information. Wherein, determining the port optical path information set corresponding to each port in the target device based on the network topology information, the device identification information and the optical cable identification information includes: determining the port optical cable directly connected to each port based on the network topology information; determining the port optical path including the port optical cable based on the network topology information and the port optical cable, wherein one end of the port optical path is connected to each port through the port optical cable, and the other end of the port optical path is connected to a port other than each port in the target communication network through the optical cable; determining the port optical path information of the port optical path, wherein the port optical path information includes the port identification information of the port connected to the port optical path, and the optical cable identification information of the optical cable included in the port optical path information; determining the port optical path information set, wherein the port optical path information combination includes the port optical path information of all the port optical paths corresponding to the ports.

[0034] In addition, determining the first faulty optical path set based on the device port information includes: determining the port optical path information set corresponding to the port identification information based on the port identification information in the device port information; and determining the first faulty optical path set based on the port optical path information set.

[0035] Specifically, by comprehensively considering the alarm information of the equipment port and the optical fiber path information associated with the alarm, the connection relationship between the fiber core and the terminal at the production site is maintained in the back-end database management system, and the RECURSIVE attribute of the WITH query in PostgreSQL is introduced to realize the recursive query of the relationship between the terminal and the fiber core until the two end points of the optical fiber path are calculated. The steps of automatic calculation of the optical fiber path of this algorithm include:

[0036] (1) Determine all the fiber core information data sets in the t_fiber database table with the target terminal number anyport as the endpoint and add them to the candidate fiber optical path information database table t_way, where t_fiber represents the database table used to represent the fiber core information in the database management system, anyport represents the numerical ID used to represent the unique information of the terminal in the database management system, and t_way represents the database table used to represent the fiber optical path information in the database management system;

[0037] (2) Determine a set of invalid terminal numbers that have no association with the fiber core in the fiber core information data set contained in the above-mentioned candidate optical fiber optical path information database table t_way, where fiber_a_port and fiber_z_port in the above-mentioned fiber core information data respectively represent the terminal information IDs associated with the two ends of the fiber core. When the values ​​of fiber_a_port and fiber_z_port are 0, it means that there is no association between the fiber core and the terminal;

[0038] (3) determining in the t_fiber database table the fiber core information data set with the terminal numbers other than the invalid terminal number set in the current candidate fiber optical path information database table t_way as endpoints and adding them to the current candidate fiber optical path information database table to obtain an updated candidate fiber optical path information database table, wherein when adding a new fiber core information data set to the current candidate fiber optical path information database table, duplicate data will be automatically merged;

[0039] (4) recursively performing the above steps (2) and (3) on the updated candidate optical fiber optical path information database table until the candidate optical fiber optical path information database table is no longer updated, thereby obtaining a target optical fiber optical path information database table;

[0040] (5) Obtain all fiber core information data from the target optical fiber optical path information database table to obtain the target optical fiber optical path Opticalway, where Opticalway represents the ID of the optical fiber optical path recursively calculated through any terminal on the optical fiber optical path.

[0041] Step S104, determining a first fault optical path set according to the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of optical cables, and between any two first target optical paths in the first fault optical path set there exists an optical cable that is not simultaneously included in any two first target optical paths;

[0042] Specifically, a time length T is used as a statistical period, wherein the statistical period T can be manually set, and the optical fiber optical paths associated with the line alarms generated by the equipment ports of various professions such as transmission, IPRAN, and wireless in the current statistical period are counted and calculated, and all these optical fiber optical paths are marked as faulty optical fiber optical paths, that is, the first faulty optical path set;

[0043] In addition, in some embodiments of the present application, determining the first fault optical path set according to the device port information includes: determining the second fault optical path set according to the device port information, wherein the second target optical path in the second fault optical path set is an optical path connected to the port corresponding to the device port information, and the second target optical path is composed of optical cables; determining the third target optical path in the second fault optical path set, wherein all optical cables included in the third target optical path are included in the fourth target optical path, wherein the fourth target optical path is any second target optical path in the second fault optical path set except the third target optical path; deleting the third target optical path from the second fault optical path set to obtain the first fault optical path set step S106, determining the first optical cable set according to the first fault optical path set, wherein the first target optical cable in the first optical cable set is the optical cable in the first target optical path;

[0044] In some embodiments of the present application, determining the first optical cable set according to the first faulty optical path set includes: determining a second optical cable set associated with a first target optical path in the first faulty optical path set, wherein the second target optical cable in the second optical cable set is an optical cable associated with the first target optical path in the first faulty optical path set, and the second target optical cable may be associated with multiple first target optical paths; determining a third target optical cable in the second optical cable set, wherein all optical paths associated with the third target optical cable are associated with a fourth target optical cable, and the fourth target optical cable is also associated with other optical paths, wherein the fourth target optical cable is any second target optical cable in the second optical cable set except the third target optical cable; and deleting the third target optical cable from the second optical cable set to obtain the first optical cable set.

[0045] The above-mentioned association between the optical path and the optical cable means that the optical path passes through the optical cable segment, and the optical cable segment contains the optical path, wherein one optical fiber optical path passes through at least one optical cable segment, and in most cases passes through multiple optical cable segments; one optical cable segment contains at least one optical fiber optical path, and in most cases contains multiple optical fiber optical paths.

[0046] Specifically, the optical cable segment information associated with all faulty optical fiber optical paths in the current statistical period is calculated, and all these optical cable segments are marked as predicted faulty optical cable segments, i.e., the first faulty optical path set, and the association relationship between the predicted faulty optical cable segments (i.e., the second optical cable set) and the faulty optical fiber optical paths is saved;

[0047] When the faulty optical fiber optical paths associated with some predicted faulty optical cable segments are true subsets of the faulty optical fiber optical paths associated with other predicted faulty optical cable segments, it is determined that these predicted faulty optical cable segments are not real faulty optical cable segments, and the predicted fault marks of these predicted faulty optical cable segments are cancelled, that is, the third target optical cable is deleted from the second optical cable set;

[0048] Step S108: determining a faulty optical cable from the first optical cable set according to the historical fault information of the first target optical cable.

[0049] In some embodiments of the present application, a faulty optical cable is determined from a first optical cable set based on historical fault information of the first target optical cable, including: determining a first target optical path associated with the first target optical cable; determining a fault index of the first target optical cable based on optical path information and historical fault information of the first target optical path; and determining one or more first target optical cables with the largest fault index as faulty optical cables.

[0050] The optical path information includes the number of first target optical paths, wherein the fault index of the first target optical cable is determined based on the optical path information and historical fault information of the first target optical path, including: determining the historical fault information of the first target optical cable, wherein the historical fault information of the first target optical cable includes the number of historical faults of the first target optical cable; determining the service impact coefficient of the first target optical cable, wherein the service impact coefficient is a coefficient set by the target object itself; determining the fault index of the first target optical cable based on the number of the first target optical paths, the service impact coefficient, and the number of historical faults.

[0051] Specifically, for the case where the faulty optical fiber optical paths associated with different predicted faulty optical cable segments are exactly the same, by introducing the optical cable segment fault level factor, a real faulty optical cable segment is located among these predicted faulty optical cable segments with exactly the same faulty optical fiber optical paths. The optical cable segment with the largest optical cable segment fault level factor is the real faulty optical cable segment, and the predicted fault marks of the remaining predicted faulty optical cable segments are canceled; if there are still multiple predicted faulty optical cable segments at this time, all of these predicted faulty optical cable segments are faulty optical cable segments.

[0052] Among them, the fault level factor is obtained by analyzing the historical data of optical cable faults. The calculation formula for the fault level factor affecting the optical cable section is summarized as follows:

[0053] A=C+mlg 10+n

[0054] In the formula, C represents the service impact coefficient, and the default initial value is 0; this parameter is manually maintained by the line maintenance personnel on the auxiliary information of the optical cable segment, and can be reset by the line maintenance personnel at any time based on maintenance experience, so that the optical cable fault level factor automatically generated by the system can be manually corrected;

[0055] m represents the number of fiber optical paths associated with the current cable segment;

[0056] n represents the number of faults that occurred in the history of the current optical cable segment;

[0057] A represents the optical cable segment fault level factor;

[0058] The optical cable fault location method provided in some embodiments of the present application can be applied to the following application scenarios:

[0059] like Figure 2As shown in the figure, six optical fiber paths are composed of six devices and five optical cable segments. When a line alarm is generated at one port on each of the four devices A1, A2, B1, and B2, the system automatically locates optical path 2 and optical path 3 as faulty optical fiber paths. The two faulty optical fiber paths are associated with the optical cable segments A1, A2, B1, B2, and C, respectively. Therefore, the five optical cable segments are all predicted faulty optical cable segments. Since the faulty optical fiber paths associated with the optical cable segments A1, A2, B1, and B2 are all true subsets of the faulty optical fiber paths associated with the optical cable segment C, the predicted fault marks of the optical cable segments A1, A2, B1, and B2 are cancelled, and the optical cable segment C is automatically merged as the faulty optical cable segment.

[0060] The optical cable fault location method provided in some embodiments of the present application can also be applied to the following application scenarios:

[0061] like Figure 3 As shown in the figure, six optical fiber optical paths are composed of six devices and six optical cable segments. When a line alarm is generated on one port of each of the four devices A1, A2, B1, and B2, the system automatically locates optical path 2 and optical path 3 as faulty optical fiber optical paths. The two faulty optical fiber optical paths are associated with the optical cable segments A1, A2, B1, B2, C1, and C2, respectively. Therefore, the six optical cable segments are all predicted faulty optical cable segments. All of them are true subsets of the faulty optical fiber paths associated with the optical cable segments C1 and C2, so the pre-judgment fault marks of the optical cable segments A1, A2, B1, and B2 are cancelled. Since the faulty optical fiber paths associated with the optical cable segments C1 and C2 are exactly the same, the optical cable segment fault level factor is introduced. The fault level factor of the optical cable segment C1 is large, so the optical cable segment C1 is automatically merged as the faulty optical cable segment. If the fault level factors of C1 and C2 are the same, then the merged optical cable segments C1 and C2 are both faulty optical cable segments.

[0062] The optical cable fault location method provided in some embodiments of the present application can also be applied to the following application scenarios:

[0063] like Figure 4 As shown in the figure, seven optical fiber optical paths are composed of six devices and six optical cable segments. When a line alarm is generated at one port on each of the five devices A1, A2, B1, B2, and C1, the system automatically locates optical path 2, optical path 3, and optical path 7 as faulty optical fiber optical paths. Optical path 2 and optical path 3 are associated with optical cable segments A1, A2, B1, B2, and C, so the five optical cable segments are all predicted faulty optical cable segments. Optical path 7 is associated with optical cable segment D, so optical cable segment D is also a predicted faulty optical cable segment. Since the faulty optical fiber optical paths associated with optical cable segments A1, A2, B1, and B2 are all true subsets of the faulty optical fiber optical paths associated with optical cable segment C, the faulty optical fiber optical paths associated with optical cable segments C and D are not true subsets of each other, so optical cable segments C and D are automatically merged as faulty optical cable segments.

[0064] This embodiment provides an optical cable resource maintenance system. Maintenance personnel can maintain optical cable information, optical cable segment information, optical terminal facility information, and fiber core and terminal connection relationship information through the system. The system automatically completes the calculation of the optical fiber path. When an optical cable fault occurs, the device port associated with the optical fiber path related to the faulty optical cable will report line alarm information. The system automatically completes the merging of optical cable faults based on the optical fiber path information, optical cable segment information, and line alarm information, and accurately locates the fault point between two optical terminal facilities in a specific optical cable segment, thereby reducing the scope of optical cable fault investigation, providing convenience for emergency repair of optical cable faults, and saving time. The implementation process is as follows:

[0065] Based on the SpringBoot framework, a Web service system with basic information maintenance functions such as optical cables, cable segments, optical terminal facilities, optical fibers, and optical terminals is built;

[0066] The system completes the entry and update of basic data such as optical cable information, optical cable segment information, optical terminal facility information, fiber core and terminal connection relationship information, and the system automatically completes the calculation of optical fiber optical path;

[0067] The basic data such as the optical cable information, optical cable segment information, optical terminal facility information, fiber core and terminal connection relationship information in the integrated system platform are used to implement the optical cable fault location method proposed in this patent through the system function, and the optical cable fault is accurately assigned to a specific optical cable segment;

[0068] Figure 5 is a structural diagram of an optical cable fault locating device provided according to an embodiment of the present application;

[0069] An acquisition module 50 is used to acquire alarm information generated by a target device, wherein the alarm information includes device port information associated with the faulty optical cable;

[0070] The retrieval module 52 is used to determine the first fault optical path set according to the device port information, wherein the first target optical path in the first fault optical cable set is an optical path connected to the port corresponding to the device port information, the first target optical path is composed of optical cables, and there is an optical cable between any two first target optical paths in the first fault optical path set that is not included in any two first target optical paths at the same time;

[0071] The processing module 54 is used to determine the first optical cable set according to the first fault optical path set, wherein the target optical cables in the first target optical cable set are the optical cables in the first target optical path;

[0072] The calculation module 56 is used to determine the faulty optical cable from the first optical cable set according to the historical fault information of the first target optical cable.

[0073] It should be noted that Figure 5The optical cable fault locating device shown is used to perform Figure 1 The method for locating an optical cable fault is shown in the figure, so the relevant explanations in the above optical cable fault locating method are also applicable to the optical cable fault locating device, which will not be repeated here.

[0074] The optical cable fault location method embodiment provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 6 The hardware structure block diagram of a computer terminal (or electronic device) for implementing a method for locating an optical cable fault is shown. Figure 6 As shown, the computer terminal 60 (or electronic device 60) may include one or more (602a, 602b, ..., 602n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 604 for storing data, and a transmission module 606 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown.

[0075] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 60 (or electronic device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0076] The memory 604 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for locating optical cable faults in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 1004, that is, the method for locating optical cable faults described above is realized. The memory 604 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 604 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 60 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

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

[0078] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 60 (or electronic device).

[0079] It should be noted that, in some optional embodiments, the above Figure 6 The computer device (or electronic device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 6 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or electronic device).

[0080] It should be noted that Figure 6 The optical cable fault location electronic device shown is used to perform Figure 1 The method for locating an optical cable fault is shown in the figure, so the relevant explanations in the above optical cable fault locating method are also applicable to the optical cable fault locating device, which will not be repeated here.

[0081] An embodiment of the present application also provides a non-volatile storage medium, which includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the following method for locating an optical cable fault: obtaining alarm information generated by a target device, wherein the alarm information includes device port information associated with a faulty optical cable; determining a first fault optical path set based on the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of optical cables, and between any two first target optical paths in the first fault optical path set, there is an optical cable that is not included in any two first target optical paths at the same time; determining a first optical cable set based on the first fault optical path set, wherein the first target optical cable in the first optical cable set is an optical cable in the first target optical path; determining the faulty optical cable from the first optical cable set based on the historical fault information of the first target optical cable.

[0082] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0083] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0086] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0088] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for locating an optical cable fault, characterized in that: include: Acquire alarm information generated by a target device, wherein the alarm information includes device port information associated with the faulty optical cable; Determine a first fault optical path set according to the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of an optical cable, and there is an optical cable between any two first target optical paths in the first fault optical path set that is not included in the any two first target optical paths at the same time; Determine a first optical cable set according to the first fault optical path set, wherein a first target optical cable in the first optical cable set is an optical cable in the first target optical path; Determining a faulty optical cable from the first optical cable set according to historical fault information of the first target optical cable; Determining a first optical cable set according to the first faulty optical path set includes: Determine a second optical cable set associated with the first target optical path in the first fault optical path set, wherein the second target optical cable in the second optical cable set is an optical cable associated with the first target optical path in the first fault optical path set, and the second target optical cable may be associated with multiple first target optical paths; Determine a third target optical cable in the second optical cable set, wherein all optical paths associated with the third target optical cable are associated with a fourth target optical cable, and the fourth target optical cable is also associated with other optical paths, wherein the fourth target optical cable is any second target optical cable in the second optical cable set except the third target optical cable; The third target optical cable is deleted from the second optical cable set to obtain the first optical cable set.

2. The optical cable fault locating method according to claim 1, characterized in that: Determining a faulty optical cable from the first optical cable set according to historical fault information of the first target optical cable includes: determining the first target optical path associated with the first target optical cable; Determining a fault index of the first target optical cable according to the optical path information of the first target optical path and the historical fault information; One or more of the first target optical cables having the largest fault indicators are determined as the faulty optical cables.

3. The optical cable fault locating method according to claim 2, characterized in that: The optical path information includes the number of the first target optical paths, wherein determining the fault index of the first target optical cable according to the optical path information of the first target optical path and the historical fault information includes: Determining historical fault information of the first target optical cable, wherein the historical fault information of the first target optical cable includes the number of historical faults of the first target optical cable; Determining a service impact coefficient of the first target optical cable, wherein the service impact coefficient is a coefficient set by the target object itself; The fault index of the first target optical cable is determined according to the number of the first target optical paths, the service impact coefficient, and the number of historical faults.

4. The optical cable fault locating method according to claim 1, characterized in that: Before obtaining the alarm information generated by the target device, the optical cable fault locating method further includes: Determine device identification information of the target device in the target communication network and optical cable identification information of the optical cable in the target communication network, wherein the device identification information includes the device port information of the target device; Determining network topology information of the target communication network, wherein the network topology information includes connection information between the target devices, connection information between the optical cables, and connection information between the target devices; A port optical path information set corresponding to each port in the target device is determined according to the network topology information, the device identification information and the optical cable identification information.

5. The optical cable fault locating method according to claim 4, characterized in that: Determining a port optical path information set corresponding to each port in the target device according to the network topology information, the device identification information and the optical cable identification information includes: Determine the port optical cable directly connected to each port according to the network topology information; Determine a port optical path including the port optical cable according to the network topology information and the port optical cable, wherein one end of the port optical path is connected to each of the ports through the port optical cable, and the other end of the port optical path is connected to a port other than each of the ports in the target communication network through an optical cable; Determine the port optical path information of the port optical path, wherein the port optical path information includes the port identification information of the port connected to the port optical path and the optical cable identification information of the optical cable contained in the port optical path information; The port optical path information set is determined, wherein the port optical path information set includes the port optical path information of all the port optical paths corresponding to the ports.

6. The optical cable fault locating method according to claim 4, characterized in that: Determine the first fault optical path set according to the device port information, including: Determine, according to the port identification information in the device port information, a port optical path information set corresponding to the port identification information; The first fault optical path set is determined according to the port optical path information set.

7. The optical cable fault locating method according to claim 1, characterized in that: Determine the first fault optical path set according to the device port information, including: Determine a second fault optical path set according to the device port information, wherein a second target optical path in the second fault optical path set is an optical path connected to a port corresponding to the device port information, and the second target optical path is composed of an optical cable; Determine a third target optical path in the second fault optical path set, wherein all optical cables included in the third target optical path are included in a fourth target optical path, wherein the fourth target optical path is any second target optical path in the second fault optical path set except the third target optical path; The third target optical path is deleted from the second faulty optical path set to obtain the first faulty optical path set.

8. An optical cable fault locating device, characterized in that: include: An acquisition module, used for acquiring alarm information generated by a target device, wherein the alarm information includes device port information associated with the faulty optical cable; A retrieval module is used to determine a first fault optical path set according to the device port information, wherein a first target optical path in the first fault optical path set is an optical path connected to a port corresponding to the device port information, the first target optical path is composed of an optical cable, and there is an optical cable between any two first target optical paths in the first fault optical path set that is not included in the any two first target optical paths at the same time; A processing module is used to determine a first optical cable set according to the first fault optical path set, wherein a first target optical cable in the first optical cable set is an optical cable in the first target optical path; determining the first optical cable set according to the first fault optical path set includes: determining a second optical cable set associated with the first target optical path in the first fault optical path set, wherein the second target optical cable in the second optical cable set is an optical cable associated with the first target optical path in the first fault optical path set, and the second target optical cable may be associated with multiple first target optical paths; determining a third target optical cable in the second optical cable set, wherein all optical paths associated with the third target optical cable are associated with a fourth target optical cable, and the fourth target optical cable is also associated with other optical paths, wherein the fourth target optical cable is any second target optical cable in the second optical cable set except the third target optical cable; deleting the third target optical cable from the second optical cable set to obtain the first optical cable set; The calculation module is used to determine the faulty optical cable from the first optical cable set according to the historical fault information of the first target optical cable.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the optical cable fault locating method according to any one of claims 1 to 7.

10. An electronic device, comprising a processor, characterized in that: The processor is used to run a program, wherein the program executes the optical cable fault locating method according to any one of claims 1 to 7 when running.

Citation Information

Patent Citations

  • Method for detecting OTDR curve tail end event and locating optical fiber breaking point under online mode

    CN104052542A

  • Multi-fault-point optical cable positioning method and device and terminal equipment

    CN110417461A

  • Optical cable interruption judgment method and device

    CN110493670A

  • Optical communication fault detection device, system and method

    CN113904716A

  • Optical access network fault positioning method, device, equipment and medium

    CN114025260A