CN117118506B - OTDR data analysis diagnosis method and device, electronic equipment and storage medium - Google Patents

OTDR data analysis diagnosis method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117118506B
CN117118506B CN202311376961.8A CN202311376961A CN117118506B CN 117118506 B CN117118506 B CN 117118506B CN 202311376961 A CN202311376961 A CN 202311376961A CN 117118506 B CN117118506 B CN 117118506B
Authority
CN
China
Prior art keywords
optical fiber
attenuation
otdr
data
array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311376961.8A
Other languages
Chinese (zh)
Other versions
CN117118506A (en
Inventor
尹远
王巍巍
初雯雯
邵克松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Vrich Haodi Technology Co ltd
Original Assignee
Beijing Vrich Haodi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Vrich Haodi Technology Co ltd filed Critical Beijing Vrich Haodi Technology Co ltd
Priority to CN202311376961.8A priority Critical patent/CN117118506B/en
Publication of CN117118506A publication Critical patent/CN117118506A/en
Application granted granted Critical
Publication of CN117118506B publication Critical patent/CN117118506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/071Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using a reflected signal, e.g. using optical time domain reflectometers [OTDR]

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The present disclosure relates to the field of optical fiber networks, and in particular, to an OTDR data analysis and diagnosis method, apparatus, electronic device, and storage medium, for collecting OTDR heterogeneous data in different optical fiber resource management systems; analyzing the attenuation array according to an event array in the OTDR data to obtain the OTDR data of a normal attenuation area, further obtaining the optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope; determining a fiber core interrupt position according to the interrupt event array and a set distance error threshold; thereby enabling real-time analysis and diagnosis of the relatively fragile portion of the fiber and the position of the fiber core discontinuity. And the OTDR data of the same optical fiber for multiple tests are analyzed through big data to obtain a three-dimensional table of sampling point positions, optical fiber attenuation values and attenuation elapsed time, so that attenuation trend changes of each sampling point in the optical fiber route are reflected off line, and the integrated analysis of the OTDR data is more effectively completed.

Description

OTDR data analysis diagnosis method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of optical fiber networks, and in particular, to an OTDR data analysis and diagnosis method, apparatus, electronic device, and storage medium.
Background
With the large-scale application and deployment of the optical fiber network, the corresponding optical fiber resource management systems are different, the stored optical fiber data are distributed in heterogeneous databases, the storage formats are different, and the optical fiber data integration utilization rate is low. Meanwhile, the optical fiber network needs to pay attention to not only the link loss of the optical fiber core, but also the link loss of the transmission node. For the optical fiber transmission service with higher transmission standard, such as the service carried by the optical fiber has strict limitation on the local attenuation of the optical fiber, the transmission requirement must be met, and although the interruption of the fiber core does not occur, the local optical fiber still cannot meet the transmission requirement and cannot carry the related transmission service. For the case of a core break, a first time capture and processing is more desirable.
In actual processing, the timeliness of detecting the fiber core interruption is insufficient, the judgment of the fiber core interruption position is inaccurate, and network segments or related points which are not subjected to fiber core interruption but have overlarge fiber link loss are not found and processed in time.
Disclosure of Invention
In order to overcome the defects in the prior art, the application provides an OTDR data analysis and diagnosis method, an apparatus, an electronic device and a storage medium, which can analyze the relatively fragile part of an optical fiber and diagnose the position of fiber core interruption in real time and analyze the trend of the same fiber core OTDR data on time change in an off-line manner.
In a first aspect, the present application provides an OTDR data analysis and diagnosis method, the method comprising the steps of:
collecting OTDR heterogeneous data in different optical fiber resource management systems, and normalizing the collected OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
analyzing the attenuation array according to an event array in the OTDR data to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array;
analyzing the OTDR data of the normal attenuation region to obtain the optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope;
determining a fiber core interrupt position according to the interrupt event array and a set distance error threshold;
And acquiring OTDR data of the same optical fiber for multiple tests, and carrying out trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
In a possible implementation manner, the data base driving adapter or the mode of calling the corresponding API interface is adopted to collect the OTDR heterogeneous data in different optical fiber resource management systems, and the collected OTDR heterogeneous data is normalized into OTDR data in a set format in a data aggregation mode.
In a possible implementation manner, the analyzing the attenuation array according to the event array in the OTDR data to obtain the OTDR data of the normal attenuation area includes the following steps:
searching related sampling points for generating interrupt events according to an event array in the OTDR data;
removing the searched relevant sampling points from the attenuation array to obtain OTDR data of a normal attenuation region; wherein the interrupt event includes a fiber initiation event, a non-reflection event, a reflection event, and an end event.
In one possible implementation manner, the obtaining the fiber attenuation abnormal distance segment according to the fiber attenuation slope includes the following steps:
Analyzing the fiber attenuation slope according to a set fiber attenuation slope change threshold to obtain a suspicious initial sampling point of abnormal fiber attenuation;
acquiring a first target sampling point corresponding to the suspicious initial sampling point by using the optical fiber attenuation slope change threshold, determining the suspicious initial sampling point as an optical fiber attenuation abnormal initial sampling point if the number between the suspicious initial sampling point and the first target sampling point is larger than the number of the set continuous sampling abnormal points, and obtaining an optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal initial sampling point and the first target sampling point;
and acquiring a second target sampling point corresponding to the optical fiber attenuation abnormal starting sampling point by utilizing the optical fiber attenuation slope change threshold, and if the number between the optical fiber attenuation abnormal starting sampling point and the second target sampling point is smaller than the number of the set continuous sampling normal points, obtaining an expansion section of the optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal starting sampling point and the second target sampling point.
In one possible implementation manner, the determining the fiber core interrupt position according to the interrupt event array and the set distance error threshold value includes the following steps:
Acquiring a first interrupt event point for performing forward OTDR test in the interrupt event array;
if the distance between the first interrupt event points of the adjacent two forward OTDR tests is smaller than the set distance error threshold, merging the first interrupt event points into a first interrupt event point which occurs at the same place, and obtaining a first interrupt event array;
acquiring a second interrupt event point for performing reverse OTDR test in the interrupt event array;
if the distance between the second interrupt event points of the two adjacent reverse OTDR tests is smaller than the set distance error threshold, merging the second interrupt event points into a second interrupt event point which occurs at the same place, and reversely replacing the second interrupt event point according to the length of the optical fiber link to obtain a second interrupt event array;
and sequencing the first interrupt event array and the second interrupt event array from small to large according to interrupt event points, and merging the interrupt event points into a third interrupt event point which occurs at the same place if the distance between two adjacent interrupt event points is smaller than a set distance error threshold value, so as to obtain a third interrupt event array, and determining the interrupt position of the fiber core.
In one possible embodiment, the method further comprises the steps of:
Generating fiber core quality abnormality warning information based on the obtained fiber attenuation abnormality distance section, and generating fiber core interruption warning information based on the determined fiber core interruption position;
pushing the generated alarm information of the abnormal quality of the optical fiber core and the generated alarm information of the interruption of the optical fiber core.
In one possible implementation manner, the method includes the steps of obtaining OTDR data of multiple tests of the same optical fiber, and performing trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber, and includes the following steps:
acquiring OTDR data of the same optical fiber for multiple tests based on the historically stored OTDR data;
determining a reference sampling resolution according to the acquired OTDR data of the same optical fiber for multiple tests, and normalizing the fiber attenuation slope based on the reference sampling resolution;
and analyzing the normalized OTDR attenuation slope on each sampling point according to time sequence to obtain a three-dimensional table of the positions of the sampling points with abnormal fiber attenuation slope, fiber attenuation values and attenuation elapsed time.
In a second aspect, the present application provides an OTDR data analysis diagnostic apparatus, the apparatus comprising:
the system comprises an acquisition module, a data processing module and a data processing module, wherein the acquisition module is used for acquiring OTDR heterogeneous data in different optical fiber resource management systems and normalizing the acquired OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
The first analysis module is used for analyzing the attenuation array according to the event array in the OTDR data to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array;
the second analysis module is used for analyzing the OTDR data of the normal attenuation region to obtain the optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope;
the determining module is used for determining the fiber core interrupt position according to the interrupt event array and the set distance error threshold value;
and the third analysis module is used for acquiring OTDR data of the same optical fiber for multiple tests, and carrying out trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the OTDR data analysis diagnostic method according to any of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the OTDR data analysis diagnostic method according to any one of the first aspects.
The embodiment provides an OTDR data analysis and diagnosis method, an apparatus, an electronic device and a storage medium, which are used for collecting OTDR heterogeneous data in different optical fiber resource management systems and normalizing the collected OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array; analyzing the attenuation array according to an event array in the OTDR data to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array; analyzing the OTDR data of the normal attenuation region to obtain the optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope; determining a fiber core interrupt position according to the interrupt event array and a set distance error threshold; and carrying out trend analysis on sampling points with abnormal attenuation slope of the same optical fiber to obtain a three-dimensional table of the position, the attenuation value and the attenuation elapsed time of the optical fiber, thereby realizing rapid analysis and diagnosis on the relatively fragile part of the optical fiber and the interruption position of the fiber core, and reflecting the attenuation trend change of each sampling point in the optical fiber route offline by utilizing the historical OTDR data.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an OTDR data analysis and diagnosis method according to an embodiment of the present application;
FIG. 2 is a flowchart of acquiring OTDR data of the obtained normal attenuation region according to an embodiment of the present application;
FIG. 3 is a flow chart showing the obtaining of an abnormal fiber attenuation distance segment according to the fiber attenuation slope according to an embodiment of the present application;
FIG. 4 illustrates a flow chart of an embodiment of the present application for determining a core break location based on the set of break events and a set distance error threshold;
fig. 5 shows a schematic structural diagram of an OTDR data analysis diagnosis apparatus according to an embodiment of the present application;
fig. 6 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features stated hereinafter, but not to exclude the addition of other features.
In view of the technical problems provided by the background technology, the application provides an OTDR data analysis and diagnosis method, an apparatus, an electronic device and a storage medium, which can analyze the relatively fragile part of an optical fiber and diagnose the position of the fiber core interruption in real time, and can reflect the attenuation trend change of each sampling point in the optical fiber route offline.
In an embodiment, referring to fig. 1 of the specification, the application provides an OTDR data analysis and diagnosis method, the method includes the following steps:
s1, acquiring OTDR heterogeneous data in different optical fiber resource management systems, and normalizing the acquired OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
s2, analyzing the attenuation array according to an event array in the OTDR data to obtain OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array;
s3, analyzing the OTDR data of the normal attenuation region to obtain optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope;
s4, determining a fiber core interrupt position according to the interrupt event array and a set distance error threshold value;
s5, acquiring OTDR data of the same optical fiber for multiple tests, and carrying out trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
Specifically, in step S1, it should be noted that the system generally has two types of isomerism, one type is that the OTDR data structure is isomerised, and the semi-structured data may be stored in the form of key value pairs, or the structured data may be stored in different database tables; another is heterogeneous storage databases, where different fiber resource management systems store OTDR data in different relational databases, such as MYSQL, oracle, etc. In one embodiment, different data sources are connected through adapting different database drivers and configuration files, and various OTDR data are efficiently read into a system memory through a database driver adaptation layer; or the OTDR data is read in real time directly through a third party system call API. And uniformly cleaning the normalized OTDR data by adopting a key value pair mode in a data aggregation mode of the read OTDR heterogeneous data.
The OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array. The sampling resolution is the OTDR sampling accuracy. The method defines the minimum distance between two continuous sampling points required by an OTDR (optical time domain reflectometer) instrument, and simultaneously shows the fault searching capability of the OTDR test, and is determined by the pulse width and the distance range selected by the OTDR test; the number of the sampling points is the number of the sampling points acquired by the OTDR test under the condition of the sampling resolution; the attenuation array refers to link attenuation value data of each sampling point of the OTDR at this time, and is a one-dimensional array, the array size of the attenuation array is the number size of the sampling points of the OTDR, and the attenuation array value is the link attenuation value of the OTDR at each sampling point position; the test time refers to the starting time and the ending time of the OTDR data test; the event array includes event types, trigger positions, link attenuation values therein, and the event types that are emphasized in the present application are fiber core interrupt events.
Furthermore, in order to improve the processing efficiency of the OTDR data, the normalized OTDR data is submitted to a safety queue to wait for processing. In an embodiment, the data is sent to the Kafka message queue, and because the generated OTDR data is larger in volume and higher in generating speed, the OTDR data is subjected to lightweight encapsulation according to the service and is added with an ID header to be sent to the Kafka message queue, so that the reliability of the subsequent processing of the data is ensured.
In addition, the OTDR data is transmitted to the Flink through Kafka to analyze the relatively fragile part of the optical fiber and diagnose the position of the fiber core interruption, because the Flink adopts streaming data loading and finishes the data high-efficiency processing in a chained mode, the requirement of real-time processing on the OTDR data is met. And the OTDR data flowing into the Flink is formed into a key value pair structure through the Map and the Flatmap in the Flink. Wherein the key is a service optical fiber ID, the value is also a key value pair, the key in the key value pair is time, the time area unit can be configured in a system configuration file, the value is a one-dimensional array with a length of two, and two list data are stored, which respectively represent OTDR data tested from a starting point A to an end point Z and test data of optical cable cores passing from the starting point Z to the end point A and reverse OTDR of the same equipment. Each list contains encapsulated OTDR data objects. In particular, if only unidirectional OTDR data is present, the value of the key-value pair is degraded to an OTDR list information.
Referring to fig. 2 of the specification, in step S2, the attenuation array is analyzed according to an event array in the OTDR data to obtain OTDR data of a normal attenuation region, including the following steps:
s201, searching relevant sampling points for generating interrupt events according to event arrays in the OTDR data;
s202, excluding the searched relevant sampling points from the attenuation array to obtain OTDR data of a normal attenuation region; wherein the interrupt event includes a fiber initiation event, a non-reflection event, a reflection event, and an end event.
In step S201-step S202, the sample point attenuation array is analyzed according to the event array generated in the OTDR data, the points in the OTDR attenuation array that have generated the related events are masked, and the remaining OTDR data that is considered as the normal attenuation region is subjected to the subsequent finer slope comparison analysis.
Specifically, the step of shielding the corresponding OTDR sampling points according to the related event points is:
searching the optical fiber initial end (blind area) event with the farthest distance reported by the OTDR, converting the distance s corresponding to the point into a subscript index n of an OTDR sampling point, and if the OTDR sampling precision is Dis, obtaining the following informationThe OTD is carried out The n data before index of the R attenuation array index is set as invalid attenuation numbers (such as-9999) defined by the system, and the subsequent analysis and calculation are not participated;
searching for a non-reflection event reported by the OTDR, wherein the occurrence distance s corresponding to the non-reflection event isSetting attenuation values corresponding to the index n and n+1 of the index n of the index n+1 of the current OTDR sampling point as invalid attenuation values (such as-9999), not participating in subsequent analysis and calculation, and analyzing and marking reflection events according to the invalid attenuation values;
searching for an end event reported by the OTDR, converting a distance s corresponding to the point into an index n2 of an OTDR sampling point index, wherein the OTDR sampling precision is Dis, and the method comprises the following steps:the data of the OTDR sampling point attenuation array from the index n2 is set as invalid attenuation numbers (such as-9999) defined by the system, and the subsequent analysis and calculation are not participated.
Dividing the attenuation array according to the first invalid attenuation value as sub array boundary, storing the starting distance of each sub array according to the index offset I of the first valid attenuation value of the sub array in the original attenuation array, and obtaining OTDR data of the normal attenuation region, wherein the starting distance is equal to start (I) =IDis。
Referring to fig. 3 of the specification, in step S3, the obtaining an abnormal optical fiber attenuation distance segment according to the optical fiber attenuation slope includes the following steps:
S301, analyzing the fiber attenuation slope according to a set fiber attenuation slope change threshold value to obtain a suspicious initial sampling point of abnormal fiber attenuation;
s302, acquiring a first target sampling point corresponding to the suspicious initial sampling point by utilizing the optical fiber attenuation slope change threshold, and if the number between the suspicious initial sampling point and the first target sampling point is larger than the number of the set continuous sampling abnormal points, determining the suspicious initial sampling point as an optical fiber attenuation abnormal initial sampling point, and obtaining an optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal initial sampling point and the first target sampling point;
s303, acquiring a second target sampling point corresponding to the optical fiber attenuation abnormal starting sampling point by utilizing the optical fiber attenuation slope change threshold, and if the number between the optical fiber attenuation abnormal starting sampling point and the second target sampling point is smaller than the number of the set continuous sampling normal points, obtaining an expansion section of the optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal starting sampling point and the second target sampling point.
In step S301-step S303, all the attenuation sub-arrays obtained in step S2 are traversed, and the fiber attenuation slope between every two OTDR sampling points is analyzed. The attenuation slope between two OTDR sampling points represents the condition of the attenuation change of the optical fiber of the adjacent sampling points of the OTDR under the sampling resolution, namely the sampling interval fixed by the OTDR, and the smaller the attenuation of the optical fiber is, the slope change is in a horizontal state, and the more the slope change approaches zero; the larger the attenuation of the optical fiber between the adjacent sampling points is, the larger the slope change is, and the more the optical fiber approaches to the vertical direction. In an embodiment, through the attenuation array and the sampling resolution of the OTDR sampling points, the link loss of the I sampling point of the m-th segment sub-array is Lose (I), the link loss of the subsequent point is Lose (i+1), the distance between the OTDR sampling points, that is, the sampling precision is Dis, the slope k (I) from the I point to the i+1 point is: k (I) = (Lose (i+1) -Lose (I))/Dis, the slope k (I) of all OTDR sampling points of the segment and the corresponding starting distance of the segment are stored in the database, and the operation is performed on all attenuator arrays accordingly.
The optical fiber attenuation slope change threshold delta can be set by the system according to the quality required by transmission service, abs (k (I+1) -k (I)) < delta is required to be met, if the condition is not met, the optical fiber attenuation slope change threshold delta is considered as a suspicious initial sampling point of abnormal optical fiber attenuation, and the optical fiber attenuation slope at k (l) is recorded.
After obtaining suspicious initial sampling points of fiber attenuation anomalies, it is necessary to analyze whether the distance of the fiber attenuation anomalies satisfies a certain distance. The system can configure the number of continuous abnormal sampling points or the fiber distance of continuous abnormal sampling, the sampling precision corresponding to the sampling resolution of the OTDR test is Dis, in general, if the fiber distance of continuous abnormal sampling is s, the distance is required to be greater than the OTDR sampling precision Dis, otherwise, the number of continuous abnormal sampling points is rounded up to be 1. Starting from fiber 1 up to 1+m, if k (1+i) -k (1) is satisfied>Delta, and (1)<i<m), from the position of the optical fiber 1 to the position of 1+m, the slope of the section has larger change, namely the attenuation of the section of optical fiber is larger; at this time, if m is satisfied>λ, which indicates a distance corresponding to 1+m set by the optical fiber attenuation slope change threshold δ from the optical fiber 1, where the optical fiber attenuation of the distance is larger and meets the threshold setting requirement, and at this time, the position corresponding to the optical fiber 1 is changed from the suspicious initial sampling point of the optical fiber attenuation anomaly to the confirmed initial sampling point of the optical fiber attenuation anomaly, and a corresponding optical fiber attenuation anomaly distance segment is obtained.
Further, after the fiber attenuation distance is obtained, the attenuation slope is only temporarily recovered or the normal attenuation of a certain trusted distance is maintained for the subsequent fiber sampling point to be analyzed. If the normal attenuation slope is temporarily recovered but the attenuation becomes abnormal later, the range of abnormal attenuation needs to be enlarged.
Wherein, the system can configure the number of continuous normal sampling points or the optical fiber distance of continuous normal sampling, the sampling precision corresponding to the sampling resolution of the OTDR test is Dis, in general, if the optical fiber distance of the continuous normal sampling point is s2, the distance is required to be greater than the optical fiber distance Dis of the OTDR, otherwise, the number of continuous normal sampling points is rounded up to be 1. Starting from the optical fiber l+m and proceeding to the optical fiber l+m+n, if k (l+m+i) -k (l) is satisfied<Delta, and (1)<i<n), indicating that the fiber attenuation has recovered from fiber l+m up to the s2 distance set by the system thresholdRepeating; at this time, if: n is n>λ2, then the fiber quality from the beginning of fiber l+m to l+m+n is as expected, and subsequent analysis continues to iterate from l+m+n+1. Saving the optical fiber segments corresponding to l to l+m into a database which does not accord with the expected optical fiber quality; if n is not satisfied >λ2, the process of slope attenuation stabilization is not stabilized, the fiber attenuation range is extended from l+m to l+m+n, and the step is re-executed to find the normal sampling point sequence.
Referring to fig. 4 of the specification, in step S4, the determining the position of the fiber core interrupt according to the interrupt event array and the set distance error threshold includes the following steps:
s401, acquiring a first interrupt event point for performing forward OTDR test in the interrupt event array;
s402, if the distance between the first interrupt event points of two adjacent forward OTDR tests is smaller than a set distance error threshold, merging the first interrupt event points into a first interrupt event point occurring in the same place to obtain a first interrupt event array;
s403, acquiring a second interrupt event point for performing reverse OTDR test in the interrupt event array;
s404, if the distance between the second interrupt event points of two adjacent reverse OTDR tests is smaller than the set distance error threshold, merging the second interrupt event points into a second interrupt event point occurring in the same place, and reversely replacing the second interrupt event point according to the length of the optical fiber link to obtain a second interrupt event array;
s405, sequencing the first interrupt event array and the second interrupt event array according to the interrupt event point positions from small to large, and merging the first interrupt event array and the second interrupt event array into a third interrupt event point which occurs in the same place if the distance between two adjacent interrupt event points is smaller than a set distance error threshold value, so as to obtain a third interrupt event array, and determining the fiber core interrupt position.
In step S401-step S405, first, filter the core interrupt event in the forward OTDR test list, if there is a core interrupt event point position, record each core interrupt event point position, in an embodiment, in the mth OTDR forward test, there is [ m1, m2 … m (i) ] core interrupt event, in the mth+1th OTDR forward test, [ n1, n2 … n (j) ] core interrupt event, rank the mth and mth+1th core interrupt event arrays from small to large according to the core interrupt event point position, obtain the core interrupt event arrays [ x1, x2 … x (i+j) ], the OTDR performs a threshold analysis on the core interrupt event position, if the distance error threshold value of the same place set by the system is δ2, there is Abs (x (i+1) -x (i)) < δ2, and then the OTDR core interrupt event points occurred at the same place are merged. Merging to obtain a fiber core interrupt event array [ k1, k2 … k (p) ];
then, the fiber core interrupt event of the reverse OTDR test is obtained, after the completion, the fiber core interrupt event position in the list is replaced reversely according to the length of the optical fiber link, and the fiber core interrupt position from Z to A is converted into a fiber core interrupt point position array from A to Z [ r1, r2 … r (m)]. The conversion process at r (i) is Dis (forward r (i))=dis (total distance of fibers) -r (i), and the distance of the relative forward OTDR test is obtained. Wherein the total distance of the optical fibers is Dis (total distance) =the number m of sampling points Sampling point spacing Dis;
finally, comparing the forward fiber interruption event array [ k1, k2 … k (i) ] with the converted reverse fiber interruption event array [ r1, r2 … r (m) ], sorting the fiber interruption event arrays [ k1, k2 … k (i) ] and the fiber interruption event arrays [ r1, r2 … r (m) ] from small to large according to the positions of fiber interruption event points to obtain a fiber interruption event array [ x1, x2 … x (i+m) ], carrying out threshold analysis on the positions of fiber interruption events, and if the distance error threshold value of the same place set by the system is delta 2, considering that Abs (x (i+1) -x (i)) < delta 2), then considering the same fiber interruption point, finally obtaining a fiber interruption array, and positioning the interruption position of the fiber core.
In addition, after the fiber attenuation abnormal distance section is obtained and the fiber core interruption position is determined, corresponding fiber core quality abnormal alarm information and fiber forming fiber core interruption alarm information are generated; and the alarm information is pushed by using the WebSocket technology, such as mobile phone short messages, weChat and the like.
In step S5, after the fiber attenuation abnormal distance segment is obtained in real time and the fiber core interrupt position is determined, historical OTDR data of the same fiber for multiple tests is also obtained, OTDR sampling point data are distributed to different Map nodes and summarized by a Reduce node, trend analysis is performed on abnormal points with larger fiber attenuation slope change, and a three-dimensional table of visual positions, fiber attenuation values and attenuation elapsed time is obtained, so that integrated analysis of OTDR data is more effectively completed.
Specifically, forward or reverse OTDR test data of the same optical fiber is obtained first. For example, according to the information stored by the Flink, obtaining OTDR data of the same test link, wherein the data format is in the form of key value pairs, the keys are OTDR test time, the values are OTDR sub attenuation array set information calculated by the Flink, and the OTDR sub attenuation array set information is ordered according to the OTDR test time sequence;
the fiber attenuation data at each sampling point is analyzed in the time dimension. Because the OTDR sampling resolution may be different each time, some may be higher, some may be lower, so that the precision standard of the optical fiber sampling corresponding to the calculated optical fiber attenuation slope change is also different, in order to normalize the OTDR slope change data to the same sampling resolution, the OTDR test data corresponding to different key values need to be traversed, the lowest sampling resolution n of the OTDR is obtained, and the sampling precision is used as a standard to prepare for the next normalized OTDR slope change data; if all the OTDR tests adopt the same sampling resolution, namely the sampling precision is n, the fiber attenuation slope does not need to be normalized; otherwise, if the I-th OTDR sampling precision is m, which is different from the lowest sampling precision n obtained, it is necessary to format fiber attenuation slope variation values with high sampling precision m with reference to the sampling precision n so that they remain consistent over the fiber distance sampling interval, and there is: m is m >n, t=m/n. I.e. the I-th OTDR samples T data sample points, 1 data sample point corresponding to the reference sampling resolution. According to the slope calculation formula k (I) = (lose_otdr (i+1) -lose_otdr (I))/Dis, and distance Dis (n) =tDis (I), k (l) = (k (l) +k (l+1) + … +k (l+t))/T. And normalizing the data of the optical fiber routing OTDR test to the lowest sampling precision n. That is, the optical fiber attenuation array with the optical fiber attenuation slope change size m is converted into an array with the optical fiber attenuation slope change size n, and the sampling resolution is adjusted from m to the sampling resolution n. Preparing for the subsequent same-point optical fiber attenuation time sequence change;
and analyzing the change of the OTDR data along with time, namely sequentially comparing the change of the OTDR data along with time, and sequentially comparing the change condition of each sampling point along with time sequence after the change of the attenuation slope of the normalized OTDR. Comparing slope changes in the first and the second OTDR tests corresponding to the sampling point g, wherein the threshold delta of the change can be set by system configuration and is required to satisfy Abs (k (I) -k (J))<Delta, recording the time of the first OTDR test in the inequality as t1 (the key value is the time of the first time of the OTDR test) until the inequality cannot be met, indicating that the slope change of the point in the two times of the OTDR test is large and exceeds the threshold setting, recording the time of the second time of the OTDR test as t2, obtaining the fiber link loss of g here, observing from the dimension of time change, the time delta t=t2-t 1 of the attenuation Abs (k (I) -k (J)) of the OTDR, converting the obtained result into the attenuation value Abs (k (I) -k (J)) of the point change, consuming time delta t, setting the offset position of the fiber of the section as g, and storing the initial distance of the offset of the section in a database as start (m): then Dis (g) =start (m) +index (sampling point g) And normalizing the sampling precision n, traversing all the time of the point position, and repeatedly performing iterative calculation in the previous step to finally obtain three-dimensional data of the point change (the current position g of the point, the Array (the attenuation value of the point change, and the time t). So far, forming an attenuation change value of the optical fiber link at the position where the position g is located, and the elapsed time;
after the above complete operation is executed for each sampling point, the OTDR analysis data with Length is summarized to form a one-dimensional optical fiber sampling point time summary object Array of the sampling point position, each optical fiber sampling point time summary object has an optical fiber position, a one-dimensional Array formed by the corresponding optical fiber link attenuation value and the elapsed time, specifically, array-Length (the current position g of the point, array (the attenuation value of the point change, the elapsed time t)) is sent to the Reduce node. And merging J Map node key value pairs into one key value pair according to the Dis information and the positions of the optical fiber routing points from small to large. And finally obtaining the complete position, the optical fiber attenuation value and three-dimensional data of the elapsed time, specifically Array-All (the current position g of the point, array (the attenuation value of the change of the point and the elapsed time t)), thereby providing a data base and bottom layer analysis for the optical fiber quality evaluation.
Therefore, according to the OTDR data analysis and diagnosis method provided by the application, diagnosis of the local quality of the optical fiber is completed by combining real-time OTDR data with related event information generated by OTDR, and the relatively fragile part of the optical fiber is analyzed; according to the fiber attenuation parameter threshold value configured by the system, analyzing the segment bit with larger change of the fiber core loss attenuation slope according to the forward and backward bidirectional OTDR data and the related event point, and positioning the fiber core interruption position according to the related event generated by the OTDR. And the OTDR data of the same optical fiber link for multiple tests and the generated related event information are subjected to three-dimensional analysis from the position of the sampling point, the attenuation of the optical fiber link and the attenuation passing time, so that the system can reflect the attenuation trend change of the optical fiber at each sampling point along with the time, and the integrated analysis of the OTDR data is effectively completed.
Based on the same inventive concept, the embodiment of the present application further provides an OTDR data analysis and diagnosis device, and since the principle of solving the problem of the device in the embodiment of the present application is similar to that of the OTDR data analysis and diagnosis method described in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and the repetition is not repeated.
As shown in fig. 5 of the specification, an OTDR data analysis and diagnosis device provided in an embodiment of the present application includes:
the collection module 501 is configured to collect OTDR heterogeneous data in different optical fiber resource management systems, and normalize the collected OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
a first analysis module 502, configured to analyze the attenuation array according to an event array in the OTDR data, so as to obtain OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array;
a second analysis module 503, configured to analyze the OTDR data of the normal attenuation region to obtain an optical fiber attenuation slope between every two adjacent sampling points, and obtain an optical fiber attenuation abnormal distance segment according to the optical fiber attenuation slope;
a determining module 504, configured to determine a core interrupt location according to the interrupt event array and a set distance error threshold;
and the third analysis module 505 is configured to obtain OTDR data of the same optical fiber for multiple tests, and perform trend analysis on sampling points with abnormal attenuation slope of the optical fiber, so as to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
In an embodiment, the collection module 501 collects the OTDR heterogeneous data in different optical fiber resource management systems by adopting a database driving adapter or a manner of calling a corresponding API interface, and normalizes the collected OTDR heterogeneous data into OTDR data in a set format by adopting a data aggregation manner.
In an embodiment, the first analyzing module 502 analyzes the attenuation array according to an event array in the OTDR data to obtain OTDR data of a normal attenuation region, including:
searching related sampling points for generating interrupt events according to an event array in the OTDR data;
removing the searched relevant sampling points from the attenuation array to obtain OTDR data of a normal attenuation region; wherein the interrupt event includes a fiber initiation event, a non-reflection event, a reflection event, and an end event.
In one embodiment, the second analysis module 503 obtains an abnormal fiber attenuation distance segment according to the fiber attenuation slope, including:
analyzing the fiber attenuation slope according to a set fiber attenuation slope change threshold to obtain a suspicious initial sampling point of abnormal fiber attenuation;
acquiring a first target sampling point corresponding to the suspicious initial sampling point by using the optical fiber attenuation slope change threshold, determining the suspicious initial sampling point as an optical fiber attenuation abnormal initial sampling point if the number between the suspicious initial sampling point and the first target sampling point is larger than the number of the set continuous sampling abnormal points, and obtaining an optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal initial sampling point and the first target sampling point;
And acquiring a second target sampling point corresponding to the optical fiber attenuation abnormal starting sampling point by utilizing the optical fiber attenuation slope change threshold, and if the number between the optical fiber attenuation abnormal starting sampling point and the second target sampling point is smaller than the number of the set continuous sampling normal points, obtaining an expansion section of the optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal starting sampling point and the second target sampling point.
In one embodiment, the determining module 504 determines the core break location based on the set of break events and the set distance error threshold, including:
acquiring a first interrupt event point for performing forward OTDR test in the interrupt event array;
if the distance between the first interrupt event points of the adjacent two forward OTDR tests is smaller than the set distance error threshold, merging the first interrupt event points into a first interrupt event point which occurs at the same place, and obtaining a first interrupt event array;
acquiring a second interrupt event point for performing reverse OTDR test in the interrupt event array;
if the distance between the second interrupt event points of the two adjacent reverse OTDR tests is smaller than the set distance error threshold, merging the second interrupt event points into a second interrupt event point which occurs at the same place, and reversely replacing the second interrupt event point according to the length of the optical fiber link to obtain a second interrupt event array;
And sequencing the first interrupt event array and the second interrupt event array from small to large according to interrupt event points, and merging the interrupt event points into a third interrupt event point which occurs at the same place if the distance between two adjacent interrupt event points is smaller than a set distance error threshold value, so as to obtain a third interrupt event array, and determining the interrupt position of the fiber core.
In an embodiment, the device further comprises:
the pushing module is used for generating optical fiber core quality abnormal alarm information based on the obtained optical fiber attenuation abnormal distance section and generating optical fiber core interruption alarm information based on the determined optical fiber core interruption position; pushing the generated alarm information of the abnormal quality of the optical fiber core and the generated alarm information of the interruption of the optical fiber core.
In an embodiment, the third analysis module 505 obtains OTDR data of multiple tests of the same optical fiber, and performs trend analysis on the sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber, including:
acquiring OTDR data of the same optical fiber for multiple tests based on the historically stored OTDR data;
determining a reference sampling resolution according to the acquired OTDR data of the same optical fiber for multiple tests, and normalizing the fiber attenuation slope based on the reference sampling resolution;
And analyzing the normalized OTDR attenuation slope on each sampling point according to time sequence to obtain a three-dimensional table of the positions of the sampling points with abnormal fiber attenuation slope, fiber attenuation values and attenuation elapsed time.
According to the OTDR data analysis and diagnosis device, the CIA acquisition module is used for acquiring the OTDR heterogeneous data in different optical fiber resource management systems, and the acquired OTDR heterogeneous data are normalized into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array; analyzing the attenuation array according to an event array in the OTDR data by a first analysis module to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array; analyzing the OTDR data of the normal attenuation region through a second analysis module to obtain the optical fiber attenuation slope between every two adjacent sampling points, and obtaining an optical fiber attenuation abnormal distance section according to the optical fiber attenuation slope; determining the fiber core interrupt position according to the interrupt event array and the set distance error threshold value through a determining module; and acquiring OTDR data of the same optical fiber for multiple tests through a third analysis module, performing trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber, thereby realizing rapid analysis and diagnosis on the relatively fragile part of the optical fiber and the position of the interruption of the optical fiber core, and reflecting attenuation trend change of each sampling point in the optical fiber route offline by utilizing historical OTDR data.
Based on the same concept of the present invention, fig. 6 of the present disclosure shows a structure of an electronic device 600 according to an embodiment of the present application, where the electronic device 600 includes: at least one processor 601, at least one network interface 604 or other user interface 603, memory 605, at least one communication bus 602. The communication bus 602 is used to enable connected communications between these components. The electronic device 600 optionally includes a user interface 603 including a display (e.g., a touch screen, LCD, CRT, holographic imaging (Holographic) or projection (Projector), etc.), a keyboard or pointing device (e.g., a mouse, trackball, touch pad or touch screen, etc.).
Memory 605 may include read-only memory and random access memory and provide instructions and data to processor 601. A portion of the memory 605 may also include non-volatile random access memory (NVRAM).
In some implementations, the memory 605 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
an operating system 6051 containing various system programs for implementing various basic services and handling hardware-based tasks;
The application program module 6052 includes various application programs such as a desktop (desktop), a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services.
In the embodiment of the present application, by calling the program or the instruction stored in the memory 605, the processor 601 is configured to perform steps in an OTDR data analysis and diagnosis method, so as to enable rapid analysis and diagnosis of the relatively fragile portion of the optical fiber and the position of the interruption of the optical fiber core, and offline analysis of the trend of the OTDR data of the same optical fiber core over time.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs steps as in an OTDR data analysis diagnostic method.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, on which a computer program can be executed to perform the OTDR data analysis and diagnosis method described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely illustrative of specific embodiments of the present application, and are not intended to limit the scope of the present application, although the present application is described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. An OTDR data analysis and diagnosis method, characterized in that the method comprises the following steps:
collecting OTDR heterogeneous data in different optical fiber resource management systems, and normalizing the collected OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
Searching related sampling points for generating interrupt events according to an event array in the OTDR data, and eliminating the searched related sampling points in the attenuation array to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array, the interrupt event comprising a fiber initiation event, a non-reflection event, a reflection event, and a termination event;
analyzing the OTDR data of the normal attenuation region to obtain optical fiber attenuation slope between every two adjacent sampling points, and analyzing the optical fiber attenuation slope according to a set optical fiber attenuation slope change threshold to obtain suspicious initial sampling points with abnormal optical fiber attenuation; starting from the suspicious initial sampling point, taking the next sampling point meeting the change threshold of the optical fiber attenuation slope as a first target sampling point corresponding to the suspicious initial sampling point, if the number between the suspicious initial sampling point and the first target sampling point is greater than the number of the set continuous sampling abnormal points, determining the suspicious initial sampling point as an optical fiber attenuation abnormal initial sampling point, and obtaining an optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal initial sampling point and the first target sampling point;
Determining a fiber core interrupt position according to the interrupt event array and a set distance error threshold;
and acquiring OTDR data of the same optical fiber for multiple tests, and carrying out trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
2. The method for analyzing and diagnosing OTDR data according to claim 1 wherein the method comprises collecting the OTDR heterogeneous data in different fiber resource management systems by using a database driving adapter or calling a corresponding API interface, and normalizing the collected OTDR heterogeneous data into OTDR data in a set format by using a data aggregation method.
3. An OTDR data analysis and diagnosis method according to claim 2, further comprising the steps of, after obtaining the fiber attenuation anomaly distance segment:
and acquiring a second target sampling point corresponding to the optical fiber attenuation abnormal starting sampling point by utilizing the optical fiber attenuation slope change threshold, and if the number between the optical fiber attenuation abnormal starting sampling point and the second target sampling point is smaller than the number of the set continuous sampling normal points, obtaining an expansion section of the optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal starting sampling point and the second target sampling point.
4. An OTDR data analysis and diagnosis method according to claim 3, characterized in that the determining the position of the fiber core interruption based on the interruption event array and the set distance error threshold value comprises the steps of:
acquiring a first interrupt event point for performing forward OTDR test in the interrupt event array;
if the distance between the first interrupt event points of the adjacent two forward OTDR tests is smaller than the set distance error threshold, merging the first interrupt event points into a first interrupt event point which occurs at the same place, and obtaining a first interrupt event array;
acquiring a second interrupt event point for performing reverse OTDR test in the interrupt event array;
if the distance between the second interrupt event points of the two adjacent reverse OTDR tests is smaller than the set distance error threshold, merging the second interrupt event points into a second interrupt event point which occurs at the same place, and reversely replacing the second interrupt event point according to the length of the optical fiber link to obtain a second interrupt event array;
and sequencing the first interrupt event array and the second interrupt event array from small to large according to interrupt event points, and merging the interrupt event points into a third interrupt event point which occurs at the same place if the distance between two adjacent interrupt event points is smaller than a set distance error threshold value, so as to obtain a third interrupt event array, and determining the interrupt position of the fiber core.
5. An OTDR data analysis diagnostic method according to claim 4, characterised in that the method further comprises the steps of:
generating fiber core quality abnormality warning information based on the obtained fiber attenuation abnormality distance section, and generating fiber core interruption warning information based on the determined fiber core interruption position;
pushing the generated alarm information of the abnormal quality of the optical fiber core and the generated alarm information of the interruption of the optical fiber core.
6. The method for analyzing and diagnosing Optical Time Domain Reflectometer (OTDR) data according to claim 5, wherein the steps of obtaining the OTDR data of the same optical fiber for multiple tests, and performing trend analysis on the sampling points with abnormal optical fiber attenuation slope to obtain a three-dimensional table of positions, optical fiber attenuation values and attenuation elapsed time thereof, include the following steps:
acquiring OTDR data of the same optical fiber for multiple tests based on the historically stored OTDR data;
determining a reference sampling resolution according to the acquired OTDR data of the same optical fiber for multiple tests, and normalizing the fiber attenuation slope based on the reference sampling resolution;
and analyzing the normalized OTDR attenuation slope on each sampling point according to time sequence to obtain a three-dimensional table of the positions of the sampling points with abnormal fiber attenuation slope, fiber attenuation values and attenuation elapsed time.
7. An OTDR data analysis and diagnosis apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a data processing module and a data processing module, wherein the acquisition module is used for acquiring OTDR heterogeneous data in different optical fiber resource management systems and normalizing the acquired OTDR heterogeneous data into OTDR data in a set format; the OTDR data comprises sampling resolution, the number of sampling points, an attenuation array, test time and an event array;
the first analysis module is used for searching related sampling points for generating interrupt events according to an event array in the OTDR data, and eliminating the searched related sampling points in the attenuation array to obtain the OTDR data of a normal attenuation area; wherein the event array comprises an interrupt event array, the interrupt event comprising a fiber initiation event, a non-reflection event, a reflection event, and a termination event;
the second analysis module is used for analyzing the OTDR data of the normal attenuation region to obtain the optical fiber attenuation slope between every two adjacent sampling points, and analyzing the optical fiber attenuation slope according to the set optical fiber attenuation slope change threshold to obtain suspicious initial sampling points with abnormal optical fiber attenuation; starting from the suspicious initial sampling point, taking the next sampling point meeting the change threshold of the optical fiber attenuation slope as a first target sampling point corresponding to the suspicious initial sampling point, if the number between the suspicious initial sampling point and the first target sampling point is greater than the number of the set continuous sampling abnormal points, determining the suspicious initial sampling point as an optical fiber attenuation abnormal initial sampling point, and obtaining an optical fiber attenuation abnormal distance section formed by the optical fiber attenuation abnormal initial sampling point and the first target sampling point;
The determining module is used for determining the fiber core interrupt position according to the interrupt event array and the set distance error threshold value;
and the third analysis module is used for acquiring OTDR data of the same optical fiber for multiple tests, and carrying out trend analysis on sampling points with abnormal attenuation slope of the optical fiber to obtain a three-dimensional table of positions, attenuation values and attenuation elapsed time of the optical fiber.
8. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the OTDR data analysis diagnostic method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the OTDR data analysis diagnostic method according to any one of claims 1 to 6.
CN202311376961.8A 2023-10-24 2023-10-24 OTDR data analysis diagnosis method and device, electronic equipment and storage medium Active CN117118506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311376961.8A CN117118506B (en) 2023-10-24 2023-10-24 OTDR data analysis diagnosis method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311376961.8A CN117118506B (en) 2023-10-24 2023-10-24 OTDR data analysis diagnosis method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117118506A CN117118506A (en) 2023-11-24
CN117118506B true CN117118506B (en) 2024-02-02

Family

ID=88809539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311376961.8A Active CN117118506B (en) 2023-10-24 2023-10-24 OTDR data analysis diagnosis method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117118506B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003279443A (en) * 2002-03-25 2003-10-02 Sumitomo Electric Ind Ltd Optical fiber evaluation method and evaluation device
CN104021637A (en) * 2014-05-17 2014-09-03 桂林聚联科技有限公司 Cable antitheft method based on distributed cable sensing and cable antitheft device based on distributed cable sensing
CN109768826A (en) * 2017-11-09 2019-05-17 中兴通讯股份有限公司 Data processing method, device and equipment, computer readable storage medium
CN114696893A (en) * 2022-06-02 2022-07-01 高勘(广州)技术有限公司 Event positioning method, system, device and storage medium based on OTDR
CN116073896A (en) * 2022-12-29 2023-05-05 高勘(广州)技术有限公司 Method, device, equipment and storage medium for determining test parameters
CN116155371A (en) * 2023-02-13 2023-05-23 无锡市德科立光电子技术股份有限公司 OTDR event detection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003279443A (en) * 2002-03-25 2003-10-02 Sumitomo Electric Ind Ltd Optical fiber evaluation method and evaluation device
CN104021637A (en) * 2014-05-17 2014-09-03 桂林聚联科技有限公司 Cable antitheft method based on distributed cable sensing and cable antitheft device based on distributed cable sensing
CN109768826A (en) * 2017-11-09 2019-05-17 中兴通讯股份有限公司 Data processing method, device and equipment, computer readable storage medium
CN114696893A (en) * 2022-06-02 2022-07-01 高勘(广州)技术有限公司 Event positioning method, system, device and storage medium based on OTDR
CN116073896A (en) * 2022-12-29 2023-05-05 高勘(广州)技术有限公司 Method, device, equipment and storage medium for determining test parameters
CN116155371A (en) * 2023-02-13 2023-05-23 无锡市德科立光电子技术股份有限公司 OTDR event detection method

Also Published As

Publication number Publication date
CN117118506A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US11379475B2 (en) Analyzing tags associated with high-latency and error spans for instrumented software
JP5324958B2 (en) Method, program and apparatus for generating an integrated display of performance trends for multiple resources in a data processing system (integrated display of resource performance trends)
US8291263B2 (en) Methods and apparatus for cross-host diagnosis of complex multi-host systems in a time series with probabilistic inference
US20120005534A1 (en) Method and apparatus for dealing with accumulative behavior of some system observations in a time series for bayesian inference with a static bayesian network model
EP2031800B1 (en) Method, system and apparatus of fault location for communicaion apparatus
CN102567180A (en) Method and system for relevant alert delivery in a distributed processing system
US7821947B2 (en) Automatic discovery of service/host dependencies in computer networks
CN107426055B (en) Abnormal flow monitoring method and device and computer readable storage medium
KR102580916B1 (en) Apparatus and method for managing trouble using big data of 5G distributed cloud system
CN110647447A (en) Abnormal instance detection method, apparatus, device and medium for distributed system
CN110990438A (en) Data processing method and device, electronic equipment and storage medium
CN114721912A (en) Data analysis method, device, equipment and medium
CN113608969A (en) Service system operation monitoring system and method
CN110515758B (en) Fault positioning method and device, computer equipment and storage medium
CN110300008A (en) A kind of method and device of the state of the determining network equipment
CN117118506B (en) OTDR data analysis diagnosis method and device, electronic equipment and storage medium
CN114257493A (en) Fault early warning method, device, medium and electronic equipment for network node
US20200004860A1 (en) Database Performance Analysis Based on a Random Archive
CN113220522A (en) Automatic positioning method and device for service abnormity
US9348721B2 (en) Diagnosing entities associated with software components
CN115022402A (en) Agent acquisition method and system based on one-stack integration technology
CN113364652B (en) Network card flow testing method, device, network equipment, system and readable medium
CN114428711A (en) Data detection method, device, equipment and storage medium
CN110532253B (en) Service analysis method, system and cluster
CN114513334A (en) Risk management method and risk management device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant