Optical cable fault positioning method and device, and related products

CN122660740APending Publication Date: 2026-08-28CHINA MOBILE GRP BEIJING +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610816021.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-08
Publication Date
2026-08-28

AI Technical Summary

Technical Problem

[0003]相关技术中,当光缆出现物理破损时,可能触发大量告警信息,告警信息杂乱且关联性弱,故障定位难度较大

Benefits of technology

[0009] Fifthly, embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the method described in the first aspect above.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122660740A_ABST
    Figure CN122660740A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a method and device for locating faults of an optical cable, and related products. The method comprises: if first alarm information of a first alarm type for an optical link is detected, and a reporting time point of the first alarm information is not in a time period corresponding to any first alarm set that has been created, constructing a first time period according to the reporting time point and a preset time length, and creating a first alarm set according to alarm information of each first alarm type reported in the first time period; determining a corresponding first optical cable set according to the first alarm set; for each optical cable in the first optical cable set, counting a number of alarms corresponding to the optical cable in the first time period; and determining a faulty optical cable from the optical cables according to the number of alarms corresponding to each optical cable in the first time period. Embodiments of the present disclosure can improve the efficiency of locating faults of an optical cable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of communication transmission technology, and in particular to a method, device, and related products for locating optical cable faults. Background Technology

[0002] Optical fiber cable is a communication cable made of optical fiber as the transmission medium, with an outer sheath, reinforcing members, and filling materials. It is mainly used for long-distance, high-capacity optical signal transmission and is the core transmission carrier of optical communication networks.

[0003] In related technologies, when optical cables experience physical damage, a large number of alarm messages may be triggered. These alarm messages are often disorganized and lack strong correlation, making fault location difficult. Therefore, improving the efficiency of optical cable fault location has become an urgent technical problem to be solved in this field. Summary of the Invention

[0004] This disclosure provides a method, apparatus, and related products for locating optical cable faults, which can improve the efficiency of optical cable fault location.

[0005] In a first aspect, embodiments of this disclosure provide a method for locating optical cable faults, including: If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time point and a preset duration, and a first alarm set is created based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. Based on the first alarm set, a corresponding first optical cable set is determined; wherein, alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of optical cables mapped to each of the target ports; For each optical cable in the first set of optical cables, count the number of alarms corresponding to that optical cable within the first time period; Based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is identified among the optical cables.

[0006] Secondly, embodiments of this disclosure provide an optical cable fault location device, comprising: An alarm set creation unit is configured to, if a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, construct a first time period based on the reporting time and a preset duration, and create a first alarm set based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. The optical cable set determination unit is used to determine the corresponding first optical cable set based on the first alarm set; wherein, the alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set is composed of the optical cables mapped by each of the target ports; The alarm count unit is used to count the number of alarms corresponding to each optical cable in the first optical cable set during the first time period. The faulty optical cable determination unit is used to determine the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable within the first time period.

[0007] Thirdly, embodiments of this disclosure provide an electronic device, including: a memory and a processor, wherein the memory stores computer-executable instructions, which, when executed on the processor, can implement the method described in the first aspect above.

[0008] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, can implement the method described in the first aspect above.

[0009] Fifthly, embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the method described in the first aspect above.

[0010] In one or more embodiments of this disclosure, firstly, if a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time and a preset duration, and a first alarm set is created based on the alarm messages of each first alarm type reported within the first time period; the alarm messages of each first alarm type include the first alarm message; then, a corresponding first optical cable set is determined based on the first alarm set; wherein, the alarm messages of each first alarm type in the first alarm set are reported by the corresponding target port; the first optical cable set consists of the optical cables mapped by each target port; then, for each optical cable in the first optical cable set, the number of alarms corresponding to the optical cable within the first time period is counted; finally, based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is determined among the optical cables. As can be seen, through the embodiments of this disclosure, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated collection of alarm messages into multiple first alarm sets, thereby reducing the workload of repeated calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm message and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in one or more embodiments of this disclosure, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments recorded in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 A flowchart illustrating a method for locating optical cable faults according to an embodiment of this disclosure; Figure 2 This is a schematic diagram of the structure of an optical cable fault location device provided in an embodiment of the present disclosure; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0013] To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this disclosure, the technical solutions in one or more embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of the embodiments. Based on one or more embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this document.

[0014] It should be understood that the training and prediction processes of the AI ​​models involved in the various embodiments of this specification all adhere to multiple legal and compliant principles, including legal data sources, compliant data content, compliant data governance, compliant training objectives and schemes, compliant training processes, compliant training environments and tools, and compliant ethical verification of training results, and comply with the requirements of Article 5 of the Patent Law. Among them: Data source legitimacy: All datasets used for AI model training were obtained through legal means, covering three categories: publicly authorized data, data authorized by partners, and self-collected compliant data. Publicly authorized data comes from compliant data sources following open-source licenses such as Apache 2.0, with complete copyright attribution and authorization scope clearly marked, and no unauthorized open-source code or data reuse. Data authorized by partners has been subject to formal data usage agreements, clearly defining the scope, duration, and confidentiality obligations, and possessing a complete authorization chain. For self-collected data involving personal information, strict informed consent procedures have been followed, and anonymization processes (including but not limited to field masking, feature anonymization, and differential privacy technology applications) have been implemented to remove personally identifiable information, fully complying with the requirements of relevant laws and regulations such as the "Interim Measures for the Administration of Generative Artificial Intelligence Services" and the "Personal Information Protection Law."

[0015] Data content compliance: The AI ​​model's dataset undergoes multiple screenings and cleaning processes to remove all content that may violate social morality or harm public interests, and to ensure that it does not involve the illegal acquisition or use of genetic resources. For data in sensitive fields (such as healthcare and finance), an additional privacy-preserving computation module (including federated learning and secure multi-party computation technologies) is used to ensure that the data is "usable but not visible," avoiding compliance risks during the original data transmission process and ensuring that the data application scenarios and uses comply with public order and good morals and industry regulatory requirements.

[0016] Data governance norms: A complete data traceability system is established during the AI ​​model training process to automatically record the source, collection time, annotation process, cleaning rules, and permission allocation of training data, generating traceable compliance reports to ensure that the data is verifiable throughout its entire lifecycle. The dataset annotation process for AI models is completed by a professional human R&D team, clearly defining the proportion of human creative contributions and avoiding reliance on AI-generated data that has not undergone substantial human modification, thus meeting the examination requirements for "human main contributions" in AI patent applications.

[0017] Training objectives and plans are compliant: The AI ​​model training objective focuses on data processing in the field of communication transmission technology. The training scheme and the final output results do not violate any mandatory provisions of laws and administrative regulations, do not harm the public interest or the legitimate rights and interests of others, and do not pose any potential risks of being used for illegal activities, infringing on privacy, or undermining public safety. The training strictly adheres to the ethical principle of "intelligent for good".

[0018] Training process compliance: A closed-loop training framework is adopted to ensure compliance and controllability of the training process. The specific process is as follows: First, training samples are obtained through compliant data sources. After the aforementioned data cleaning and desensitization, they are input into the neural network model to generate preliminary training results. Second, an expert system is introduced to verify the preliminary results. Based on preset rules and human expert experience, the feasibility of the results is evaluated, and outputs that may pose ethical risks or compliance hazards are corrected (such as removing decision-making logic that violates public order and good morals, and adjusting model parameters that do not comply with safety regulations). Finally, the loss function weights are dynamically optimized based on expert system feedback to strengthen the model's learning of compliant results, avoid overfitting errors or non-compliant labels, and form a closed-loop control of "data input - model training - expert verification - parameter optimization - result feedback" to ensure that the entire training process complies with A5 ethical review requirements.

[0019] Training environment and tool compliance: AI model training is implemented using nationally licensed chips and a compliant training platform. All open-source frameworks and components used in the training process have obtained their corresponding licenses, and copyright statements and patent citation information are fully retained, with no instances of infringement or reuse. The training environment is built using virtual devices (containers / virtual machines) with fixed random seeds and initial parameter configurations to ensure the reproducibility of the training process. Furthermore, through access control and operation log recording, risks such as data leakage and parameter tampering during training are prevented, ensuring the security and compliance of the training process.

[0020] Training results ethical verification compliance: After the model is trained, it undergoes additional third-party ethical compliance assessment and algorithm filing review to verify that the model output does not violate social morality or harm public interests. For potentially sensitive scenarios (such as public services and intelligent decision-making), a special result verification mechanism is established to ensure that the model always complies with Article 5 of the Patent Law and relevant laws and regulations in practical applications.

[0021] In summary, the data and training process used in the AI ​​model of this specification strictly comply with the relevant provisions of Article 5 of the Patent Law and the Patent Examination Guidelines (2023 Edition), and there are no violations of laws, social ethics, public interests, or illegal use of genetic resources. It fully meets the compliance requirements for patent authorization.

[0022] Figure 1 This is a flowchart illustrating a method for locating optical cable faults according to an embodiment of this disclosure.

[0023] The optical cable fault location method provided in this disclosure can be applied to a server or other electronic devices. The following description uses a server as the executing entity for the optical cable fault location method; other electronic devices are similar to the server and will not be repeated.

[0024] Step S102: If a first alarm message for a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time and a preset duration, and a first alarm set is created based on the alarm messages of each first alarm type reported within the first time period; the alarm messages of each first alarm type include the first alarm message.

[0025] Step S104: Determine the corresponding first optical cable set based on the first alarm set; wherein, the alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of the optical cables mapped by each target port.

[0026] Step S106: For each optical cable in the first optical cable set, count the number of alarms corresponding to the optical cable in the first time period.

[0027] Step S108: Based on the number of alarms corresponding to each optical cable in the first time period, identify the faulty optical cable among the optical cables.

[0028] Through this embodiment, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm information and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location.

[0029] In step S102 above, if a first alarm message for a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time and a preset duration, and a first alarm set is created based on the alarm messages of each first alarm type reported within the first time period; the alarm messages of each first alarm type include the first alarm message.

[0030] Alarm information refers to the abnormal prompts and corresponding information generated when a device or link malfunctions, used to characterize a fault or performance degradation state. There can be one or more alarm messages. For example, each alarm message includes, but is not limited to, at least one of the following fields: alarm generation time, alarm recovery time, alarm type, alarm level, network element identifier that generated the alarm, port identifier that generated the alarm, and alarm description.

[0031] The first alarm type can characterize the corresponding alarm information as being related to the optical link connectivity. For example, the first alarm type includes: a first subtype characterizing optical link interruption, a second subtype characterizing optical signal loss, a third subtype characterizing transmission channel failure, and so on.

[0032] The aforementioned optical link refers to a complete physical transmission channel for transmitting optical signals, consisting of optical transmitting devices, optical fiber transmission media, passive optical devices, optical receiving devices, and related active optical equipment. It includes the entire optical path that the optical signal travels from the transmitting end to the receiving end.

[0033] The first alarm message can be any alarm message of any first alarm type.

[0034] The reporting time of the first alarm message can be determined by the "alarm generation time" field in the first alarm message, or it can be the time when the first alarm message is reported to the NMS (Network Management System).

[0035] If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time and a preset duration, and a first alarm set is created based on the alarm messages of each first alarm type reported within the first time period; if a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is within the time period corresponding to any of the created first alarm sets, then no additional processing is performed.

[0036] By setting the condition that "the reporting time of the first alarm information does not fall within the time period corresponding to any of the created first alarm sets" as the condition for triggering the creation of the first alarm set, the overlap between the newly created first time period and the existing time period can be effectively reduced, thereby reducing the probability that alarm information is repeatedly collected into multiple first alarm sets.

[0037] Constructing the first time period based on the reporting time and preset duration can be done as follows: Determine the start and end times based on the reporting time and preset duration; construct the first time period based on the start and end times. For example, if the reporting time is t0 and the preset duration is T, the start time is determined as (t0-T) based on t0 and T, and the end time is determined as (t0+T) based on t0 and T, thus constructing the first time period [t0-T, t0+T].

[0038] The first time period can be constructed based on the reporting time point and the preset duration. Alternatively, the reporting time point can be determined as the start time point; the end time point can be determined based on the reporting time point and the preset duration; and the first time period can be constructed based on the start time point and the end time point. For example, if the reporting time point is t0 and the preset duration is T, t0 can be determined as the start time point, and the end time point can be determined as (t0+T) based on t0 and T, thereby constructing the first time period [t0, t0+T].

[0039] Creating a first alarm set based on alarm information of each first alarm type reported within the first time period can be achieved by: obtaining at least one alarm information whose reporting time point is within the first time period; filtering at least one alarm information according to the first alarm type; and creating a first alarm set based on the filtering results.

[0040] In communication transmission scenarios, a physical break in an optical cable can cause all or part of the optical fibers carried by that cable to be interrupted simultaneously. This triggers a large number of alarm messages related to optical link connectivity to be generated simultaneously from multiple ports of the relevant transmission equipment within a very short period of time (e.g., within seconds to minutes). By constructing a first time period and creating a first alarm set based on the alarm messages of various first alarm types reported within the first time period, it is possible to cover a large range of batch alarm messages caused by optical cable faults, providing sufficient data support for subsequent optical cable fault location.

[0041] In one embodiment, before constructing the first time period based on the reporting time point and the preset duration, the optical cable fault location method further includes: extracting the device identifier of the network element device to which the port that reported the first alarm information belongs from the first alarm information; and obtaining the preset duration configured for the corresponding network element device based on the device identifier.

[0042] The first alarm information may include the field value of "Network element identifier that generated the alarm", where the network element device identified by this field value is the network element device to which the port that reported the first alarm information belongs. Extracting the device identifier of the network element device to which the port that reported the first alarm information belongs can be done by extracting the field value of "Network element identifier that generated the alarm" from the first alarm information to obtain the device identifier.

[0043] Based on the device identifier, the preset duration configured for the corresponding network element device is obtained. This can be achieved by: determining the preset duration corresponding to the device identifier based on the correspondence between device identifier and duration, and the device identifier itself. For example, the preset correspondence between device identifier and duration might include: network element device "001" corresponding to duration 1, network element device "002" corresponding to duration 2, and network element device "003" corresponding to duration 3. Based on the correspondence between device identifier and duration, and device identifier "001", the duration 1 corresponding to device identifier "001" is determined. The first time period is then constructed based on the reported time point and duration 1.

[0044] In transmission networks, alarm propagation caused by optical cable faults exhibits a distinct hierarchical characteristic. For example, based on a typical transmission network architecture (core layer, aggregation layer, access layer), when an optical cable fault occurs, the alarm information may first be reported from higher-level devices (backbone transmission equipment) and then propagate down to lower-level devices (aggregation and access devices). Alternatively, when an optical cable fault occurs, the alarm information may also first be reported from lower-level devices and then propagate down to higher-level devices. Depending on the network topology, this propagation may take several seconds to tens of seconds.

[0045] Network elements can be divided into multiple layers, including but not limited to: core layer network elements, aggregation layer network elements, and access layer network elements. Core layer network elements are backbone transmission equipment, such as core wavelength division multiplexing (WDM) and core cross-connects. Aggregation layer network elements are transmission equipment at regional aggregation nodes. Access layer network elements are access terminal equipment or remote site equipment. The system can pre-maintain a mapping table of (network element identifier, layer label).

[0046] Based on the device identifier, the preset duration configured for the corresponding network element device can be obtained. Alternatively, based on the device identifier, the target level to which the network element device belongs can be identified; based on the correspondence between the level and the duration and the target level, the preset duration corresponding to the target level can be determined.

[0047] In this embodiment, the target level determined by the first alarm information can be approximated as the highest level covered by the optical cable fault.

[0048] In one example, a "fault hierarchy propagation model" of a transport network can be used: If the first alarm message comes from a core layer network element, it can be considered that the source of the fault is in the core network. The first alarm message will quickly spread to the aggregation layer and the access layer. Considering that the propagation delay between core network devices is small, the duration T1 corresponding to the core layer network element can be set to 3 minutes.

[0049] If the first alarm message comes from the aggregation layer network element, it can be regarded as the source of the fault in the aggregation network. There is a difference in the propagation delay between the aggregation layer and the access layer. Considering that the propagation time from aggregation to access needs to be reserved, the duration T2 corresponding to the aggregation layer network element can be set to 5 minutes.

[0050] If the first alarm message comes from an access layer network element, it can be considered that the fault source is in the access network. The first alarm message may also need to be propagated to the aggregation layer and the core layer. Considering the complete propagation chain consisting of the access layer, aggregation layer and core layer, the duration T3 corresponding to the access layer network element can be set to 7 minutes.

[0051] In another example, alarm information for each alarm type can be collected and preprocessed in real time first, and then the alarm information for the first alarm type can be intelligently aggregated based on ATW (Adaptive Time Window).

[0052] In one example, the optical cable fault location method can be applied to an optical cable fault location system, which includes at least a network management alarm acquisition module and a time aggregation module. This network management alarm acquisition module can obtain various alarm information reported by transmission devices in real time from the NMS. The preprocessing process filters the acquired alarms, removing alarm types clearly unrelated to the optical cable fault (such as temperature alarms, power alarms, etc.), retaining only alarm information of the first alarm type. Furthermore, the filtered alarm information of the first alarm type is stored in an alarm cache queue in chronological order.

[0053] The time collection module adopts the ATW mechanism and combines artificial intelligence algorithms to dynamically adjust the preset duration. When a first alarm message of the first alarm type is detected and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, the time window [t0-T, t0+T] is expanded forward and backward based on the reporting time t0 of the first alarm message, and all alarm messages of the first alarm type generated within the time window are extracted to form an alarm set A1.

[0054] As can be seen, this embodiment configures a corresponding preset duration for each network element device and obtains the corresponding preset duration using the device identifier extracted from the first alarm information. This allows for dynamic adjustment of the duration of the first time period during the process of aggregating various alarm information into the first alarm set. Compared to a uniform processing method with a fixed time window, this effectively reduces the risk of alarm omissions or incorrect inclusions in the first alarm set.

[0055] In another embodiment, before constructing the first time period based on the reporting time point and the preset duration, the optical cable fault location method further includes: constructing an initial time period based on the reporting time point and the specified duration; determining the alarm information of the first alarm type reported within the initial time period as the second alarm information; extracting the device identifier of the network element device to which the port that reported the second alarm information belongs from the second alarm information; and obtaining the preset duration configured for the corresponding network element device based on the device identifier.

[0056] For example, if a first alarm is detected at t0, an initial time period [t0-T1, t0+T1] is first determined based on t0 and a specified duration T1. The first alarm of the first alarm type reported within this initial time period is determined as the second alarm. The device identifier of the network element device to which the port that reported the second alarm is located is extracted from the second alarm. Based on the device identifier, the corresponding preset duration T2 is determined, and a time window [t0-T2, t0+T2] is constructed.

[0057] As can be seen, in this embodiment, an initial time period is first constructed, and the first alarm message of the first alarm type reported within the initial time period is identified as the second alarm message. The device identifier extracted from the second alarm message is used to obtain the corresponding preset duration, thereby dynamically adjusting the duration of the first time period during the process of aggregating various alarm messages into the first alarm set. Extracting the device identifier from the second alarm message can further improve the accuracy of determining the preset duration; compared with the uniform processing method of fixed time windows, this scheme can effectively reduce the risk of alarm omission or incorrect inclusion in the first alarm set.

[0058] In one embodiment, creating a first alarm set based on alarm information of each first alarm type reported within a first time period includes: combining alarm information of each first alarm type reported within the first time period to obtain an initial alarm set; matching alarm information of each first alarm type in the initial alarm set with a pre-built alarm propagation graph to obtain a first matching result; matching alarm information of each first alarm type in the initial alarm set with a pre-built transmission topology propagation graph to obtain a second matching result; determining evaluation information of alarm information of each first alarm type in the initial alarm set based on the first matching result and the second matching result; and filtering the initial alarm set based on the evaluation information to obtain the first alarm set.

[0059] The alarm information of each first alarm type reported within the first time period is combined to obtain the initial alarm set. For example, if n alarm messages of the first alarm type are reported to NMS within the first time period, then these n alarm messages of the first alarm type are combined together to obtain the initial alarm set A_initial. n is an integer greater than 0.

[0060] An alarm propagation graph is used to describe the logical relationship of alarm propagation between network elements during physical faults. An alarm propagation graph can be represented by a directed graph, where nodes represent network elements and edges indicate the alarm propagation path and time delay range. For example, a directed edge between L0 and L1 represents the alarm propagation path between L0 and L1, and the delay time is between 10 and 30 seconds.

[0061] The transmission topology propagation diagram is used to describe the physical connections of a network, including internal logical relationships, external optical cable relationships, and duct-related relationships. Internal logical relationships can be: device ports, internal optical fibers, and ODF (Optical Distribution Frame) frames connected in sequence; external optical cable relationships can be: ODF frames, external optical cables, and the peer ODF frame connected in sequence; and duct-related relationships can be shared duct optical cables.

[0062] The alarm information of each first alarm type in the initial alarm set is matched with the pre-constructed alarm propagation graph to obtain a first matching result; the alarm information of each first alarm type in the initial alarm set is matched with the pre-constructed transmission topology propagation graph to obtain a second matching result; based on the first matching result and the second matching result, the evaluation information of the alarm information of each first alarm type in the initial alarm set is determined.

[0063] In practice, the earliest reported alarm of the first alarm type can be identified from the initial alarm set A_initial, denoted as the alarm base Alarm_Base, and its source network element can be represented as Ne_Base. For the alarm base, the mapping relationship between its corresponding network element port, internal fiber optic cable, and external optical cable is queried to determine the preliminary candidate set of faulty optical cables Cable_Candidate and its two end network element candidate sets Element_Candidate.

[0064] For each alarm message Alert_j of the first alarm type in A_initial, calculate the comprehensive score Match_Score_j: Match_Score_j =0.4×APG_Match+0.4×TTPG_Match+0.2×Time_Coherence (1) APG_Match indicates whether the source network element of the alarm information of the first alarm type has a path connection with the network element in Element_Candidate in the alarm propagation graph. The value of APG_Match can be 0 or 1, where 0 indicates that there is no path connection and 1 indicates that there is a path connection.

[0065] TTPG_Match indicates whether the optical cable corresponding to the alarm information of this first alarm type is topologically related to Cable_Candidate, such as having a common end device or a common conduit. The value of TTPG_Match can be 0 or 1, where 0 indicates no topological relationship and 1 indicates a topological relationship.

[0066] Time_Coherence indicates whether the corresponding alarm timestamp meets the expected propagation delay. The value of Time_Coherence can be a continuous value between 0 and 1.

[0067] For each alarm message of the first alarm type in the initial alarm set, its comprehensive score Match_Score_j can be determined as the evaluation information for that alarm message.

[0068] Based on the evaluation information, the initial alarm set is filtered to obtain the first alarm set.

[0069] For example, the evaluation information includes the comprehensive score Match_Score_j of the alarm information Alert_j for each first alarm type in A_initial. During filtering, a special judgment rule is prioritized: if APG_Match=0 and TTPG_Match=0, it is directly judged as an irrelevant alarm and removed; the rest are judged according to the comprehensive score: Match_Score_j≥0.6 is retained as a relevant alarm, and Match_Score_j<0.6 is removed. Finally, all retained alarm information is aggregated to form the first alarm set.

[0070] This embodiment adopts a two-dimensional comprehensive matching and scoring mechanism. By setting the weight as shown in the above formula (1), the three dimensions of topological relationship, alarm propagation relationship and time characteristics are balanced to ensure that alarms without topological relationship can be filtered out and alarms that are actually related can be avoided.

[0071] Additionally, if the number of removed alarms exceeds a specified threshold (e.g., 10% of the total number of alarms in the initial alarm set), the system can cluster the removed alarm information of the first alarm type to find new baseline alarms and initiate a new round of comprehensive matching until all alarm information of the first alarm type is effectively classified, ultimately resulting in a high-quality alarm set, i.e., the first alarm set. Alarm information of each first alarm type in the first alarm set can simultaneously satisfy the following conditions: (a1) It has a physical or logical connection with the faulty optical cable in the transmission topology; (a2) The alarm propagation relationship conforms to the expected cascading pattern; (a3) It conforms to the expected propagation delay characteristics in terms of time distribution.

[0072] This mechanism avoids both the incorrect retention of alarms without topological association or propagation relationship and the mistaken removal of truly relevant alarms. When the number of relevant alarms collected exceeds a preset threshold N (e.g., N=10), it can be identified as a suspected fiber optic cable fault event, triggering subsequent steps.

[0073] As can be seen, this embodiment makes full use of the pre-constructed alarm propagation graph and transmission topology propagation graph to complete alarm screening from multiple dimensions, which can filter out topology-irrelevant interference alarms and effectively improve the data validity of the first alarm set.

[0074] In step S104 above, the corresponding first optical cable set is determined according to the first alarm set; wherein, the alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set is composed of the optical cables mapped by each target port.

[0075] The first alarm set may include alarm information of one or more first alarm types. Each alarm information of a first alarm type in the first alarm set may correspond to a target port, and each alarm information may be reported to the NMS by the corresponding target port.

[0076] The first set of optical cables may include one or more optical cables, each of which can be mapped from a target port.

[0077] Determining the corresponding first optical cable set based on the first alarm set can be achieved by: determining the corresponding target ports based on the alarm information of each first alarm type in the first alarm set; determining the mapped optical cables based on each target port; and summarizing the optical cables to obtain the first optical cable set. Furthermore, through the above process, a mapping relationship can be established between the alarm information in the first alarm set and the optical cables in the first optical cable set. In this mapping relationship, each alarm information may map to one or more optical cables, and each optical cable may map to one or more alarm information.

[0078] In one embodiment, determining the corresponding first optical cable set based on the first alarm set includes: extracting the corresponding port identifier from the alarm information of each first alarm type in the first alarm set; determining the optical cable corresponding to the alarm information of each first alarm type based on the port identifier and the preset mapping relationship between the port identifier and the optical cable; and combining the optical cables corresponding to the alarm information of each first alarm type to obtain the first optical cable set.

[0079] Extract the corresponding port identifier from the alarm information of each alarm type in the first alarm set. For example, the first alarm set includes k alarm information, each alarm information carrying a corresponding port identifier, and extract the corresponding port identifier from each alarm information. k is an integer greater than 0.

[0080] Based on the port identifier and the preset mapping relationship between the port identifier and the optical cable, the optical cable corresponding to the alarm information of each first alarm type is determined; the optical cables corresponding to the alarm information of each first alarm type are combined to obtain the first optical cable set.

[0081] In one example, the optical cable fault location method can be applied to an optical cable fault location system, which includes at least a resource correlation analysis module. This resource correlation analysis module can obtain the following data from the optical cable external resource management system: (b1) Port-internal mapping table characterizing the connection relationship between device ports and internal fiber optic cables; (b2) Inner-outer line mapping table characterizing the splicing relationship between inner optical fiber and outer optical cable fiber; (b3) External optical cable resource table, which represents the routing information, number of optical fiber cores, GIS (Geographic Information System) coordinates, pipelines, etc. of external optical cables; (b4) Pipeline resource table representing the route of pipelines and GIS information; (b5) Optical path-optical cable mapping table representing the correspondence between optical paths and optical cables.

[0082] For each alarm information of the first alarm type in the first alarm set, the internal fiber optic cable number connected to the port is found in the resource data by using the network element identifier and port identifier carried in the alarm information, and is denoted as F_inside_i.

[0083] Using the inside-outside mapping table, find the outside optical cable spliced ​​by F_inside_i and the fiber core number of the outside optical cable, and record the outside optical cable number as C_outside_i.

[0084] This establishes a mapping link from alarm information to the external optical cable, which is sequentially: alarm information, port, internal optical fiber, and external optical cable. The external optical cable is the same concept as "optical cable" in this manual.

[0085] The mapping relationships between the various levels of the above mapping link are not unique: alarm information and port, port and internal fiber optic cable, internal fiber optic cable and external fiber optic cable can all present a one-to-one, one-to-many or many-to-one correspondence.

[0086] Through the aforementioned mapping link from alarm information to external optical cables, a mapping relationship can be established between alarm information in the first alarm set and optical cables in the first optical cable set. In this mapping relationship, each alarm information may map to one or more optical cables, and each optical cable may map to one or more alarm information.

[0087] As can be seen, this embodiment utilizes the mapping relationship between port identifiers and optical cables to accurately associate alarm information with optical cables, enabling rapid tracing of alarm information to faulty optical cables.

[0088] In step S106 above, for each optical cable in the first optical cable set, the number of alarms corresponding to the optical cable in the first time period is counted.

[0089] By executing step S104 above, a mapping relationship can be established between alarm information in the first alarm set and optical cables in the first optical cable set. For each optical cable in the first optical cable set, the number of alarms corresponding to that optical cable in the first time period is counted. This can be done by determining at least one alarm information mapped to that optical cable based on the optical cable and the mapping relationship, counting the number of alarms corresponding to that at least one alarm information, and obtaining the number of alarms corresponding to that optical cable in the first time period.

[0090] By performing a reverse mapping from optical fiber to alarm information based on the established mapping relationship from alarm information to optical fiber, we can ensure that the alarm count statistics are strongly correlated with optical fiber faults and improve the accuracy of the statistics. The reasons are as follows: If we directly count the number of alarms associated with optical fiber, the various alarm information associated with optical fiber may include alarm information that is not related to optical fiber faults, which is difficult to filter. However, this solution performs reverse matching based on pre-processed valid alarms, which greatly reduces the filtering cost and ensures the reliability of the statistical results.

[0091] For each optical cable in the first set of optical cables, the number of alarms corresponding to that optical cable in the first time period can be counted. Alternatively, the count can be: count the initial number of alarms corresponding to that optical cable in the first time period; if the initial number of alarms is less than a first number threshold, it is determined that the optical cable is not related to the optical cable fault, and a preset null value is determined as the number of alarms for that optical cable; if the initial number of alarms is greater than or equal to the first number threshold, the initial number of alarms is determined as the number of alarms for that optical cable.

[0092] Considering that in real-world scenarios, fiber optic cable faults may trigger a large number of alarms, for any given fiber optic cable, if the number of alarms associated with that cable is too small, the probability of a fault is low, and it can be directly ruled out.

[0093] In one example, for each external optical cable C_outside_i identified in step S104, a reverse correlation analysis is performed to find all alarm information corresponding to that external optical cable: (c1) Query the external optical cable resource table to obtain all optical fiber cores contained in C_outside_i (e.g., an optical cable has 144 optical fiber cores).

[0094] (c2) For each fiber in C_outside_i, find all the internal fibers that it is spliced ​​with through the internal-external mapping table to form an internal fiber set F_inside_set_i.

[0095] (c3) For each inner fiber in F_inside_set_i, look up the device port it is connected to through the port-inside mapping table to form a port set P_set_i.

[0096] (c4) Check whether each port in P_set_i has generated an alarm message of the first alarm type within the time window [t0-T, t0+T]. Count the total number of alarms corresponding to P_set_i within this time window, and denote it as Alarm_Count_i.

[0097] Through the above end-to-end correlation analysis, the number of alarms (Alarm_Count_i) associated with each external optical cable C_outside_i in the fault events involved in the first alarm set can be calculated. The higher the number of alarms, the greater the probability of a fault in that external optical cable.

[0098] In step S108 above, the faulty optical cable is identified among the optical cables based on the number of alarms corresponding to each optical cable in the first time period.

[0099] The faulty optical cable can be identified by determining the number of alarms for each optical cable within the first time period. This can be done by sorting the optical cables according to the number of alarms for each optical cable within the first time period, and then selecting a preset number of optical cables with the most alarms as the faulty optical cables based on the sorting results.

[0100] Based on the number of alarms corresponding to each optical cable in the first time period, the faulty optical cable can be identified among the optical cables. Alternatively, the optical cable with a number of alarms corresponding to each optical cable in the first time period that is greater than a second threshold number can be identified as the faulty optical cable.

[0101] In one embodiment, determining the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable within a first time period includes: selecting the optical cable with the most alarms and an alarm number greater than a preset threshold from the optical cables included in the current optical cable set as a faulty optical cable; marking the internal fiber and port associated with the faulty optical cable; and removing the alarm information of each first alarm type corresponding to the faulty optical cable from the current alarm set to obtain a remaining alarm set; the current optical cable set includes the first optical cable set; determining the second optical cable set corresponding to the remaining alarm set based on the remaining alarm set, the marked internal fiber, and the marked port; determining the second optical cable set as the current optical cable set, and returning to execute the step of selecting the optical cable with the most alarms and an alarm number greater than a preset threshold from the optical cables included in the current optical cable set as a faulty optical cable, until the number of alarms is less than or equal to the preset threshold.

[0102] The current optical cable set refers to the dataset of optical cables to be detected and involved in fault screening during the current iteration process; it is a dynamically updated temporary set. For any first optical cable set, when the iteration starts, the current optical cable set is initialized to that first optical cable set.

[0103] Each optical cable can have one or more alarms within the first time period. From all the optical cables included in the current optical cable set, the optical cable with the most alarms and an alarm count greater than a preset threshold is selected as a faulty optical cable.

[0104] The marking of the internal fiber and port associated with the faulty optical cable can be achieved in the following way: use a hash set data structure to store the used internal fiber number and port identifier, achieve a query complexity of O(1), and support efficient traversal without repetition or omission.

[0105] Remove the alarm information of each first alarm type corresponding to the faulty optical cable from the current alarm set to obtain the remaining alarm set.

[0106] Based on the remaining alarm set, the marked internal fiber optic cables, and the marked ports, the second set of optical cables corresponding to the remaining alarm set can be determined as follows: Based on each alarm information in the remaining alarm set, determine each corresponding first port; remove the marked ports from each first port to obtain at least one second port; based on each second port, determine each corresponding first internal fiber optic cable; remove the marked internal fiber optic cables from the first internal fiber optic cables to obtain at least one second internal fiber optic cable; combine all the second internal fiber optic cables to obtain the second set of optical cables.

[0107] The second set of optical cables is determined as the current set of optical cables. The process then returns to the step of selecting the optical cable with the most alarms and whose alarm count is greater than a preset threshold from the optical cables included in the current set as a faulty optical cable, until the alarm count is less than or equal to the preset threshold.

[0108] The alarm count being less than or equal to a preset threshold means that, among the remaining alarm sets, the optical cable with the highest alarm count is identified, and the alarm count of that optical cable is less than or equal to the preset threshold.

[0109] In one example, the first alarm set contains alarm set A1. The following uses alarm set A1 as an example to illustrate the process for determining the faulty optical cable in its corresponding first optical cable set: (d1) Sort all external optical cables and their alarm counts included in the first optical cable set, select the external optical cable with the most alarms as the TOP1 faulty optical cable, denoted as C_fault_1, and its alarm count is denoted as Max_Alarm_Count_1.

[0110] (d2) Add C_fault_1 to the faulty cable list Fault_Cable_List, and mark all the internal fiber (refer to F_inside_set_1) and port (refer to P_set_1) associated with C_fault_1 as "used" so that they will not be associated again in subsequent traversals.

[0111] (d3) Remove the alarm information corresponding to C_fault_1 from the alarm set A1 to form the remaining alarm set A2.

[0112] (d4) For each alarm information in the remaining alarm set A2, establish a mapping between the alarm information and the external optical cable. For details, please refer to the corresponding description of step S104 above.

[0113] (d5) For the identified external optical cables, perform reverse correlation analysis to obtain the number of alarms corresponding to the external optical cables. For details, please refer to the corresponding explanation of step S106 above. It should be noted that during the reverse correlation analysis, internal optical path connections marked as "used" are excluded. That is, the alarm count only includes alarm information associated with internal optical fibers / ports that are not marked as "used".

[0114] (d6) Find the new TOP alarm number of external optical cable C_fault_2, add it to Fault_Cable_List, and mark its associated internal optical fiber and port as "used".

[0115] (d7) Remove the alarm corresponding to C_fault_2 from the remaining alarm set A2 to form the remaining alarm set A3.

[0116] For the remaining alarm set, repeat the process shown in (d4)-(d7) above until the number of alarms in the remaining alarm set is less than the preset threshold (e.g., 5), or no more valid associated optical cables can be found.

[0117] This traversal polling mechanism ensures that all alarm information in the first alarm set is analyzed, and each alarm information is associated with only one faulty optical cable to avoid duplication. At the same time, the "used" marking mechanism ensures that the internal optical path connection relationship used by different faulty optical cables is not repeated, thus avoiding omissions.

[0118] In addition, when selecting the optical cable with the most alarms that exceeds a preset threshold as a faulty optical cable, there may be a situation where there is more than one optical cable with the most alarms in the current set of optical cables. In this case, multiple optical cables with the most alarms can be identified as candidate optical cables, the physical pipeline of each candidate optical cable can be queried, and the intersection of the physical pipeline of each candidate optical cable can be calculated; the faulty optical cable can be identified among the candidate optical cables based on the intersection.

[0119] In one example, it's possible for multiple external fiber optic cables to have the same number of alarms, all of which are the highest (i.e., multiple TOP1 alarms). In this case, intersection verification is needed to filter out the truly faulty fiber optic cable. (e1) Record all external optical cables with the highest number of alarms to form a candidate optical cable set Candidate_Cable_Set.

[0120] (e2) For each optical cable in Candidate_Cable_Set, query the physical pipeline route it passes through to form a pipeline set Pipe_Set_i.

[0121] (e3) Calculate the intersection of the pipe sets corresponding to all optical cables in Candidate_Cable_Set: Pipe_Intersection = Pipe_Set_1 ∩ Pipe_Set_2 ∩ ... ∩ Pipe_Set_n.

[0122] (e4) If Pipe_Intersection is not empty, it means that these candidate optical cables have a common pipe segment in physical terms, which meets the physical logic of failure at the same location. This group of optical cables is retained as the faulty optical cable.

[0123] (e5) If the pipeline set of a candidate optical cable has no intersection with the pipeline set of other candidate optical cables, then the optical cable is removed from the Candidate_Cable_Set, because it is impossible for it to fail in the same physical location as other optical cables.

[0124] (e6) For the remaining candidate optical cables, continue to search for other associated faulty optical cables in subsequent steps, and verify the intersection of these optical cables' channels again to ensure that the final output of the faulty optical cable combination is physically reasonable.

[0125] As can be seen, through this embodiment, by marking the internal optical fibers and ports corresponding to the located faulty optical cables during the cyclical troubleshooting process, it is possible to ensure that the internal optical path connection relationships used by different faulty optical cables are not repeated, avoid omissions, and improve the accuracy of fault location.

[0126] In one embodiment, after identifying the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable in the first time period, the optical cable fault location method further includes: if the number of faulty optical cables is one, then marking the complete line of the faulty optical cable as the fault area; if the number of faulty optical cables is greater than one, then determining the intersection area of ​​each faulty optical cable based on the complete line of each faulty optical cable, and marking the intersection area as the fault area.

[0127] If there is only one faulty optical cable, the complete route of the faulty optical cable is marked as the fault area. The complete route of the faulty optical cable can be determined as follows: obtain the GIS routing information of the faulty optical cable; match the GIS routing information with a preset map to obtain the complete route of the faulty optical cable.

[0128] If the number of faulty optical cables is greater than one, the intersection area of ​​each faulty optical cable is determined based on the complete line of each faulty optical cable, and the intersection area is marked as the fault area.

[0129] In one example, the faulty cable list `Fault_Cable_List` contains one or more faulty cables. Different location output strategies can be implemented based on the number of cables in `Fault_Cable_List`: Scenario 1: Fault_Cable_List contains a single faulty optical cable If there is only one faulty optical cable C_fault_1 in Fault_Cable_List, then the complete GIS routing information of the faulty optical cable is extracted from the optical cable resource table, including the coordinates of the starting point, the coordinates of the ending point, the coordinates of all pipeline nodes along the route, and the total length of the optical cable.

[0130] The GIS routing information of C_fault_1 is output to the emergency repair system, and the complete route of the optical cable is highlighted on the GIS map and marked as a suspected fault section.

[0131] Simultaneously, it outputs the equipment site information and ODF rack location at both ends of the optical cable, guiding emergency repair personnel to carry OTDR (Optical Time Domain Reflectometer) equipment to the optical cable end for illumination testing. Through OTDR measurement, the specific location of the break point on the optical cable can be further accurately located (e.g., how many meters from end A).

[0132] Scenario 2: Fault_Cable_List includes multiple faulty optical cables. If Fault_Cable_List contains multiple faulty optical cables (C_fault_1, C_fault_2, ..., C_fault_m), it indicates that a physical fault (such as a pipe collapse or excavator operation) may have caused multiple optical cables to break simultaneously. For C_fault_m, m is an integer greater than 1, representing the number of optical cables corresponding to these multiple faulty cables.

[0133] For these m optical cables, extract the duct routes they each pass through, and calculate the intersection sections of these duct routes: Pipe_Intersection = Pipe_Set(C_fault_1) ∩ Pipe_Set(C_fault_2) ∩ ...∩ Pipe_Set(C_fault_m) Pipe Intersection is the section of pipe through which all faulty optical cables pass, and it is the physical location where the fault is most likely to occur.

[0134] Output the GIS coordinates of the Pipe Intersection and highlight the pipe segment on the map, marking it as a highly suspected fault point. Compared to the complete route of a single fiber optic cable, the area of ​​the pipe intersection section is smaller, allowing for more precise location.

[0135] It also outputs the numbers and routing information of all faulty optical cables involved, as well as the location of the nearest manhole at the start and end of the intersection section, guiding repair personnel to go directly to the section for fault diagnosis and repair.

[0136] In the above example, the GIS calculation method for pipeline intersection is as follows: the intersection of pipelines through which multiple optical cables pass is calculated using standard GIS spatial analysis algorithms to accurately locate the physical fault point section when multiple optical cables fail.

[0137] As can be seen from this embodiment, different methods can be used to locate the fault area corresponding to the faulty optical cable when the number of optical cable faults varies.

[0138] In addition, after outputting the initial location results, the system can continuously monitor changes in network management alarms: (f1) If a new continuity alarm is generated within a short period of time (e.g., within the next 10 minutes), the new alarm is included in the analysis, and the optical cable fault location method provided in this embodiment is re-executed to update the faulty optical cable list and location results.

[0139] (f2) When the emergency repair personnel arrive at the site to conduct OTDR testing or manual line inspection and obtain more accurate fault location information, they will feed back the actual fault location to the system. The system will compare and verify the location result with the actual result as the basis for subsequent data analysis.

[0140] (f3) When the fault is repaired, the connection and disconnection alarms of the relevant device ports are restored. The system detects the alarm clearing, automatically closes the fault event, and records information such as the fault occurrence time, location time, and repair time to form a data record of the entire fault handling process.

[0141] In one example, the specific implementation process of the optical cable fault location procedure is as follows: Fault Background: On the morning of XX / XX / XXXX, at XX:XX, a construction project accidentally severed an underground pipeline, causing three optical cables (numbered HG-001, HG-002, and HG-003) inside the pipeline to be interrupted simultaneously.

[0142] Step 1: Alarm Collection Between 9:35:10 and 9:37:20, the network management system received 96 connectivity / disconnection alarms, involving 96 optical ports of 12 transmission devices. These connectivity / disconnection alarms are the alarm information of the first alarm type mentioned above.

[0143] Step 2: Time Collection The alarm aggregation module detected the first alarm message (reported at 9:35:10) originating from a core layer device. The system automatically sets T=3 minutes, with a time window of [9:32:10, 9:38:10]. A comprehensive matching and scoring process is performed, effectively aggregating 96 alarms and filtering out irrelevant alarms.

[0144] Step 3: Resource Association Analysis For each of the 96 valid alarms, a port-to-internal-to-external fiber optic cable mapping was performed, involving a total of 18 external fiber optic cables. Reverse correlation analysis was then performed on these 18 external fiber optic cables to count the number of alarms associated with each cable. • Fiber optic cable HG-001: 38 associated alarms • Fiber optic cable HG-002: 36 associated alarms • Fiber optic cable HG-003: 20 associated alarms • The other 15 optical cables: each has fewer than 5 associated alarms. Step 4: Identify TOP1 Fiber optic cable HG-001 had the most alarms (38), and was identified as the TOP1 faulty fiber optic cable, so it was added to the faulty fiber optic cable list. The 38 ports associated with HG-001 and the corresponding internal fiber optic cables were marked as "used", and these 38 alarms were removed from the alarm set, leaving 58 alarms.

[0145] Step 5: Traverse and search for other faulty optical cables Perform resource correlation analysis again on the remaining 58 alarms (excluding used internal optical paths): Fiber optic cable HG-002: 36 associated alarms (all new ports, no duplicates with HG-001). Fiber optic cable HG-003: 20 associated alarms (all new ports). Add HG-002 and HG-003 to the list of faulty optical cables in sequence. The remaining two alarms could not be associated with valid optical cables, so stop the traversal.

[0146] Step 6: Intersection Verification The list of faulty optical cables includes three cables: HG-001, HG-002, and HG-003. To find the ducts they pass through: HG-001 travels through the following pipeline: PD-A → PD-B → PD-C → PD-D → PD-E HG-002 travels through the following pipeline: PD-X → PD-B → PD-C → PD-D → PD-Y HG-003 travels through the following pipeline: PD-M → PD-N → PD-C → PD-D → PD-Z Calculate the intersection: PD-C → PD-D (approximately 300 meters in length), which is the section of the duct that the three optical cables pass through together.

[0147] Step 7: Positioning Output The system outputs the fault location results: Faulty optical cables: HG-001, HG-002, HG-003 (3 cables in total) Suspected fault location: Pipe PD-C (Pipe Distribution-Communication) to PD-D (Pipe Distribution-Data) section. Nearest manholes: PD-C manhole (0 meters from the start of the fault section), PD-D manhole (0 meters from the end of the fault section) In addition, this disclosure also provides an optical cable fault location system, which includes at least: an alarm acquisition module, a flexible time aggregation module, a resource correlation analysis module, an optical cable traversal search module, an intersection verification module, and a location output module. The overall technical architecture is as follows: Data input layer: Access network management alarm data and optical cable resource data (including port connections, fiber optic splicing, optical cable routing, GIS information, pipeline lines, etc.), as well as transmission network element hierarchical relationship data, topology propagation diagram data, and alarm propagation diagram data.

[0148] Alarm aggregation layer: Based on the hierarchical relationship of transmission network elements, an elastic time window (instead of the traditional fixed 5-minute window) is used to identify concentrated continuity and disconnection alarms, while using the topology propagation graph and alarm propagation graph to filter irrelevant alarms.

[0149] Resource Association Layer: Establishes a full-link analysis from the alarm port to the external optical cable, and then reversely associates it with all related port alarms.

[0150] Optical cable identification layer: It searches for the TOP optical cable with the most alarms by traversing the network and marks the optical path connections that have been used.

[0151] Location verification layer: When multiple TOP1 optical cables exist, the intersection of physical pipelines is calculated for verification.

[0152] Output layer: Based on the number of faulty optical cables, output the complete GIS route of a single optical cable or the intersection section of multiple optical cables.

[0153] In summary, through the various embodiments of the optical cable fault location method described above, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the alarm count, establishing a precise association between alarm information and optical cable, quickly filtering out faulty optical cables with a large number of alarms, and effectively improving the efficiency of optical cable fault location.

[0154] Figure 2 This is a schematic diagram of the structure of an optical cable fault location device provided in an embodiment of this disclosure, as shown below. Figure 2 As shown, the device includes: The alarm set creation unit 201 is configured to, if a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, construct a first time period based on the reporting time and a preset duration, and create a first alarm set based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. The optical cable set determination unit 202 is used to determine the corresponding first optical cable set based on the first alarm set; wherein, the alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set is composed of the optical cables mapped by each of the target ports; Alarm count unit 203 is used to count the number of alarms corresponding to each optical cable in the first optical cable set during the first time period. The faulty optical cable determination unit 204 is used to determine the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable in the first time period.

[0155] Optionally, the optical cable fault location device further includes: The device identifier extraction unit is used to extract the device identifier of the network element device to which the port that reported the first alarm information belongs from the first alarm information; The preset duration acquisition unit is used to acquire the preset duration configured for the corresponding network element device based on the device identifier.

[0156] Optionally, the faulty optical cable determination unit 204 is specifically used for: From the various optical cables included in the current optical cable set, select the one with the most alarms and the number of alarms is greater than a preset threshold as a faulty optical cable, mark the internal optical fiber and port associated with the faulty optical cable, and remove each of the first alarms corresponding to the faulty optical cable from the current alarm set to obtain the remaining alarm set; the current optical cable set includes the first optical cable set. Based on the remaining alarm set, the marked internal optical fiber, and the marked port, determine the second optical cable set corresponding to the remaining alarm set; The second set of optical cables is determined as the current set of optical cables. The process returns to the step of selecting the optical cable with the most alarms and the number of alarms being greater than a preset threshold from the optical cables included in the current set of optical cables as a faulty optical cable, until the number of alarms is less than or equal to the preset threshold.

[0157] Optionally, the optical cable fault location device further includes: The first marking unit is used to mark the entire line of the faulty optical cable as a faulty area if the number of faulty optical cables is one. The second marking unit is used to determine the intersection area of ​​each faulty optical cable based on the complete line of each faulty optical cable if the number of faulty optical cables is greater than one, and mark the intersection area as the faulty area.

[0158] Optionally, the alarm set creation unit 201 is specifically used for: The alarm information of each of the first alarm types reported within the first time period is combined to obtain an initial alarm set; The alarm information of each of the first alarm types in the initial alarm set is matched with the pre-constructed alarm propagation graph to obtain the first matching result; The alarm information of each of the first alarm types in the initial alarm set is matched with the pre-constructed transmission topology propagation graph to obtain a second matching result; Based on the first matching result and the second matching result, the evaluation information of the alarm information of each of the first alarm types in the initial alarm set is determined; Based on the evaluation information, the initial alarm set is filtered to obtain the first alarm set.

[0159] Optionally, the optical cable assembly determination unit 202 is specifically used for: Extract the corresponding port identifier from the alarm information of each of the first alarm types in the first alarm set; Based on the port identifier and the preset mapping relationship between the port identifier and the optical cable, determine the optical cable corresponding to the alarm information of each of the first alarm types; The optical cables corresponding to the alarm information of each of the first alarm types are combined to obtain the first optical cable set.

[0160] Through the embodiments of this disclosure, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm message and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location.

[0161] The optical cable fault location device provided in this embodiment can realize the various processes in the foregoing method embodiments and achieve the same functions and effects, which will not be repeated here.

[0162] Furthermore, embodiments of this disclosure also provide an electronic device, Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, such as... Figure 3 As shown, the device includes: a memory 301, a processor 302, a bus 303, and a communication interface 304. The memory 301, the processor 302, and the communication interface 304 communicate via the bus 303. The communication interface 304 may include input / output interfaces, including but not limited to a keyboard, mouse, monitor, microphone, and loudspeaker.

[0163] Figure 3 In the memory 301, computer-executable instructions that can run on the processor 302 are stored. When the processor 302 executes the computer-executable instructions, the following process is implemented: If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time point and a preset duration, and a first alarm set is created based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. Based on the first alarm set, a corresponding first optical cable set is determined; wherein, alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of optical cables mapped to each of the target ports; For each optical cable in the first set of optical cables, count the number of alarms corresponding to that optical cable within the first time period; Based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is identified among the optical cables.

[0164] Through the embodiments of this disclosure, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm message and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location.

[0165] The electronic device provided in this disclosure can implement the various processes in the foregoing method embodiments and achieve the same functions and effects, which will not be repeated here.

[0166] This disclosure also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, can perform the following process: If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time point and a preset duration, and a first alarm set is created based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. Based on the first alarm set, a corresponding first optical cable set is determined; wherein, alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of optical cables mapped to each of the target ports; For each optical cable in the first set of optical cables, count the number of alarms corresponding to that optical cable within the first time period; Based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is identified among the optical cables.

[0167] The computer-readable storage medium includes read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.

[0168] Through the embodiments of this disclosure, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm message and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location.

[0169] The computer-readable storage medium provided in this disclosure can implement the various processes in the foregoing method embodiments and achieve the same functions and effects, which will not be repeated here.

[0170] This disclosure also provides a computer program product, which includes a computer program that, when executed by a processor, implements the following process: If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time point and a preset duration, and a first alarm set is created based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. Based on the first alarm set, a corresponding first optical cable set is determined; wherein, alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of optical cables mapped to each of the target ports; For each optical cable in the first set of optical cables, count the number of alarms corresponding to that optical cable within the first time period; Based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is identified among the optical cables.

[0171] Through the embodiments of this disclosure, on the one hand, when a first alarm message is detected and the reporting time of the first alarm message does not fall within the time period corresponding to any of the created first alarm sets, the creation of a first alarm set using the first alarm message can effectively reduce the repeated aggregation of alarm messages into multiple first alarm sets, thereby reducing the workload of repetitive calculations in subsequent fault location; on the other hand, by determining the corresponding first optical cable set based on the first alarm set, and counting the number of alarms corresponding to each optical cable in the first optical cable set within the first time period, the faulty optical cable can be located using the number of alarms, which can establish a precise association between alarm message and optical cable, quickly filter out faulty optical cables with a large number of alarms, and effectively improve the efficiency of optical cable fault location.

[0172] The computer program product in this disclosure embodiment can implement the various processes of the above-described optical cable fault location method embodiment and achieve the same effect and function, which will not be repeated here.

[0173] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0174] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0175] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0176] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0177] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0178] Memory may include non-persistent storage in computer-readable storage media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable storage media.

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

[0180] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0181] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0182] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for locating optical cable faults, characterized in that, include: If a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, then a first time period is constructed based on the reporting time point and a preset duration, and a first alarm set is created based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. Based on the first alarm set, a corresponding first optical cable set is determined; wherein, alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set consists of optical cables mapped to each of the target ports; For each optical cable in the first set of optical cables, count the number of alarms corresponding to that optical cable within the first time period; Based on the number of alarms corresponding to each optical cable within the first time period, the faulty optical cable is identified among the optical cables.

2. The method according to claim 1, characterized in that, Before constructing the first time period based on the reported time point and the preset duration, the method further includes: Extract the device identifier of the network element device to which the port that reported the first alarm information belongs from the first alarm information; Based on the device identifier, obtain the preset duration configured for the corresponding network element device.

3. The method according to claim 1, characterized in that, The step of determining the faulty optical cable among the various optical cables based on the number of alarms corresponding to each optical cable within the first time period includes: From the various optical cables included in the current optical cable set, select the one with the most alarms and the number of alarms is greater than a preset threshold as a faulty optical cable, mark the internal optical fiber and port associated with the faulty optical cable, and remove the alarm information of each of the first alarm types corresponding to the faulty optical cable from the current alarm set to obtain the remaining alarm set; the current optical cable set includes the first optical cable set. Based on the remaining alarm set, the marked internal optical fiber, and the marked port, determine the second optical cable set corresponding to the remaining alarm set; The second set of optical cables is determined as the current set of optical cables. The process returns to the step of selecting the optical cable with the most alarms and the number of alarms being greater than a preset threshold from the optical cables included in the current set of optical cables as a faulty optical cable, until the number of alarms is less than or equal to the preset threshold.

4. The method according to claim 1, characterized in that, After determining the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable within the first time period, the method further includes: If the number of faulty optical cables is one, then the entire line of the faulty optical cable is marked as the fault area; If the number of faulty optical cables is greater than one, then based on the complete lines of each faulty optical cable, the intersection area of ​​each faulty optical cable is determined, and the intersection area is marked as the fault area.

5. The method according to claim 1, characterized in that, The step of creating the first alarm set based on the alarm information of each of the first alarm types reported within the first time period includes: The alarm information of each of the first alarm types reported within the first time period is combined to obtain an initial alarm set; The alarm information of each of the first alarm types in the initial alarm set is matched with the pre-constructed alarm propagation graph to obtain the first matching result; The alarm information of each of the first alarm types in the initial alarm set is matched with the pre-constructed transmission topology propagation graph to obtain a second matching result; Based on the first matching result and the second matching result, the evaluation information of the alarm information of each of the first alarm types in the initial alarm set is determined; Based on the evaluation information, the initial alarm set is filtered to obtain the first alarm set.

6. The method according to claim 1, characterized in that, The step of determining the corresponding first optical cable set based on the first alarm set includes: Extract the corresponding port identifier from the alarm information of each of the first alarm types in the first alarm set; Based on the port identifier and the preset mapping relationship between the port identifier and the optical cable, determine the optical cable corresponding to the alarm information of each of the first alarm types; The optical cables corresponding to the alarm information of each of the first alarm types are combined to obtain the first optical cable set.

7. A fiber optic cable fault location device, characterized in that, include: An alarm set creation unit is configured to, if a first alarm message of a first alarm type for an optical link is detected, and the reporting time of the first alarm message is not within the time period corresponding to any of the created first alarm sets, construct a first time period based on the reporting time and a preset duration, and create a first alarm set based on the alarm messages of each of the first alarm types reported within the first time period; the alarm messages of each of the first alarm types include the first alarm message. The optical cable set determination unit is used to determine the corresponding first optical cable set based on the first alarm set; wherein, the alarm information of each first alarm type in the first alarm set is reported by the corresponding target port; the first optical cable set is composed of the optical cables mapped by each of the target ports; The alarm count unit is used to count the number of alarms corresponding to each optical cable in the first optical cable set during the first time period. The faulty optical cable determination unit is used to determine the faulty optical cable among the optical cables based on the number of alarms corresponding to each optical cable within the first time period.

8. An electronic device, characterized in that, The method includes a memory and a processor, wherein the memory stores computer-executable instructions that, when executed on the processor, enable the implementation of the method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, enable the implementation of the method described in any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-6.