Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a fault detection system based on a high-precision time service system of an optical fiber network, which solves the problem that the corresponding fault cause or abnormal cause cannot be directly identified.
In order to achieve the above purpose, the invention is realized by the following technical scheme: the fault detection system based on the high-precision time service system of the optical fiber network comprises:
The transmission delay acquisition end acquires the round trip thread propagation time of a pulse signal in the high-precision time service system and transmits the round trip thread propagation time acquired in the same stage to the abnormal calibration end;
The anomaly calibration end processes the round trip thread propagation time acquired in the same stage, confirms the transmission delay of the same stage, determines whether the own time service system has an anomaly condition based on the transmission delays of a plurality of different stages, and generates an anomaly signal, and comprises the following steps:
Determining the time difference of the travel time of the round trip thread in the same stage, wherein the time difference is the transmission delay T i of the corresponding stage, T i is more than or equal to 0, i=1, 2, … … and n, n represents the total number of the same stage, and the maximum value of n is 5;
Carrying out standard deviation processing on n groups of transmission delays T i to determine a standard value Bz;
Comparing the standard value Bz with a preset value Y1, if Bz is more than or equal to Y1, generating an abnormal signal, transmitting the abnormal signal into an abnormal frequency transmission analysis end, and if Bz is less than Y1, continuing to monitor without any processing, and analyzing the subsequent n groups of transmission delays, wherein Y1 is the preset value;
the signal spectrum acquisition end confirms the spectrum of the pulse signal in the time service system in the transmission process, binds the transmission spectrum and the return spectrum belonging to the same phase and transmits the transmission spectrum and the return spectrum to the abnormal frequency transmission analysis end;
The abnormal frequency transmission analysis end extracts the transmission spectrum and the return spectrum of the pulse signal with the maximum transmission delay value according to the generated abnormal signal, sequentially confirms trend parameters in the transmission spectrum to generate a transmission trend number base, confirms trend parameters of the return spectrum in the transmission spectrum, and then compares the confirmed value with the stored value of the transmission trend number base by the value comparison confirmation end to judge whether two groups of spectrograms of the corresponding pulse signal are consistent or not, and comprises the following steps:
Selecting a group of pulse signals with the maximum transmission delay T i value from n groups of transmission delay T i determined in the abnormal calibration end, and directly determining the transmission spectrum and the return spectrum of the pulse signals;
Based on the specific trend of the transmission spectrum, a curve trend graph of the transmission spectrum is generated, turning points in the curve trend graph are confirmed, line segments before and after the turning points are in a linear relation, the slope of the line segments before and after the turning points are inconsistent, according to a plurality of turning points confirmed in the curve trend graph, the initial point and the end point of the curve trend graph are marked as turning points, line segments between adjacent trend points are marked as reference line segments, end point coordinates (X1, Y2) and (X2, Y2) of the reference line segments are determined, the trend value Q of the reference line segment is confirmed by adopting Q= (Y2-Y1) to be 2-X1), different trend values generated by different reference line segments are marked as Q k, k represents different reference line segments, a plurality of confirmed groups of Q k are bound, and a transmission trend number library is generated, wherein the same trend value Q k possibly exists in the transmission trend number library;
Then adopting the same processing mode of transmission spectrum to the return spectrum, sequentially confirming a plurality of groups of trend values generated in the return spectrum, and respectively calibrating the trend values as S t, wherein t represents a reference line segment generated by turning points of the return spectrum; determining whether two sets of spectrograms of the corresponding pulse signals are consistent comprises:
Comparing the confirmed trend values S t in the returned frequency spectrum with different trend values Q k in the transmission trend number library, deleting the corresponding comparison result in the transmission trend number library directly when the comparison result exists, and not performing any processing when the comparison result does not exist;
Sequentially confirming the total number G of the remaining trend values in the transmission trend number library, and confirming whether the total number G meets the following conditions: g is more than or equal to Y2, wherein Y2 is a preset value, if yes, a system signal transmission loss abnormal signal is generated and is directly displayed, and if not, a regular waveform analysis processing end is executed;
the regular waveform analysis processing end carries out secondary analysis on the transmission frequency spectrum and the return frequency spectrum of the corresponding pulse signals to confirm the internal regular waveform, and records whether the intermittent regular time length of the corresponding regular waveform has a difference or not, and the method comprises the following steps:
confirming a curve trend graph of a transmission frequency spectrum, and confirming turning points in the curve trend graph, wherein line segments before and after the turning points are in a linear relationship, and the slope of the line segments before and after the turning points are inconsistent;
Based on the curve line segments between the determined first group of turning points and the second group of turning points, the curve line segments are marked as to-be-compared line segments, the line segments which are behind the to-be-compared line segments and are identical to the to-be-compared line segments are confirmed from the curve trend graph, the identical line segments are marked as coincident line segments, the time interval between the initial point of the to-be-compared line segments and the initial point of the coincident line segments is confirmed, and the time interval is marked as the transmission time interval;
processing the return frequency spectrum in the same mode of transmission frequency spectrum, and confirming a return time interval;
confirming whether the transmission time interval is the same as the return time interval, and if the transmission time interval=the return time interval, directly generating a signal to be detected; if the transmission time interval is not equal to the return time interval, the interference abnormal signal is directly generated.
The invention provides a fault detection system based on a high-precision time service system of an optical fiber network. Compared with the prior art, the method has the following beneficial effects:
The invention confirms whether the corresponding time service system is abnormal or not through confirming the transmission time delay in the signal transmission process, then carries out spectrum waveform comparison based on the confirmed abnormal condition to identify the trend value between the transmission spectrum and the return spectrum, compares the trend value generated by the return spectrum with the trend value generated by the transmission spectrum as a corresponding reference, judges whether the comparison result exists or not, determines whether the transmission loss exists in the transmission process based on the comparison judgment of the two frequency spectrums, and sequentially and gradually carries out the determination, thereby fully guaranteeing the accuracy in the determination process;
The method is characterized in that when external signal interference exists, the signal waveform is analyzed step by step, whether the time interval of the regular waveform of the transmission spectrum and the return spectrum is changed is judged by analyzing the time interval of the regular waveform of the transmission spectrum, and whether the pulse signal is interfered during transmission is determined based on a subsequent judging result, so that the comprehensiveness of the fault detection process is improved, the reason is found in time, and the method is convenient for operators to deal with in advance and make corresponding detection treatment measures.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the application provides a fault detection system based on a high-precision time service system of an optical fiber network, which comprises a transmission delay acquisition end, an anomaly calibration end, an anomaly frequency analysis end, a numerical comparison confirmation end, a regular waveform analysis processing end and a signal spectrum acquisition end;
The system comprises a transmission delay acquisition end, an abnormal calibration end, an abnormal frequency transmission analysis end, a numerical comparison confirmation end, a regular waveform analysis processing end, a signal spectrum acquisition end, an abnormal frequency transmission analysis end and a regular waveform analysis processing end, wherein the transmission delay acquisition end is electrically connected with an input node of the abnormal calibration end, the abnormal calibration end is electrically connected with an input node of the abnormal frequency transmission analysis end, the abnormal frequency transmission analysis end and the abnormal waveform analysis processing end are sequentially and electrically connected from the output node to the input node of the regular waveform analysis processing end, and the signal spectrum acquisition end is respectively electrically connected with the abnormal frequency transmission analysis end and the input node of the regular waveform analysis processing end;
The transmission delay acquisition end acquires the round trip thread propagation time of a pulse signal in the high-precision time service system and transmits the round trip thread propagation time acquired in the same stage to the abnormal calibration end, specifically, the same stage is the whole process of transmitting and returning a corresponding pulse signal, and in order to perform fault detection test on the time service system, the corresponding pulse signal is required to be adopted for test processing so as to determine whether the system has faults;
The method comprises the following specific substeps of processing round trip thread propagation time acquired in the same stage, confirming transmission delay in the same stage, determining whether an abnormal condition exists in a time service system based on the transmission delay in a plurality of different stages, and generating an abnormal signal, wherein the specific substeps of determining comprise:
Determining a time difference of round trip thread propagation time in the same stage, wherein the time difference is a transmission time delay T i of the corresponding stage, T i is more than or equal to 0, i=1, 2, … …, n and n represent the total number of the same stage, wherein the maximum value of n is 5, the specific value of n is determined by an operator according to experience, in the processing process, the operator can select the transmission time delay generated by three same stages, namely, n is 3, and if the transmission time delay generated by five stages is selected, n is 5;
Carrying out standard deviation processing on n groups of transmission delays T i to determine a standard value Bz, wherein the specific mode of carrying out standard deviation processing is as follows: confirm the standard Bz thereof, wherein/> Is the average value of n groups of transmission delays T i;
Comparing a standard value Bz with a preset value Y1, if Bz is more than or equal to Y1, generating an abnormal signal, transmitting the abnormal signal into an abnormal frequency transmission analysis end, and if Bz is less than Y1, continuing to monitor without any treatment, and analyzing the subsequent n groups of transmission delays, wherein Y1 is the preset value, and the specific value is drawn by an operator according to experience;
Specifically, in order to analyze the specific situation of the corresponding signal transmission delay of the corresponding time service system in the use process, the pulse signals used in the processing stage are similar signals, so as to confirm whether the corresponding system has the problem of transmission delay when transmitting signals, if a large amount of transmission delay generated by the system has large data discrete degree, the problem of transmission delay exists in the time service system is represented, and the specific reason of abnormality is needed to be identified by processing.
The signal spectrum acquisition end confirms the spectrum of the pulse signal in the time service system in the transmission process, binds the transmission spectrum belonging to the same phase and the return spectrum, transmits the transmission spectrum to the abnormal frequency transmission analysis end, and particularly, the signal has a corresponding spectrogram in the transmission process, and can be directly acquired from the inside of the system;
The abnormal frequency transmission analysis end extracts a transmission spectrum and a return spectrum of a pulse signal with the largest transmission delay value according to the generated abnormal signal, sequentially confirms trend parameters in the transmission spectrum, generates a transmission trend number library, confirms trend parameters of the return spectrum in the transmission spectrum, compares the confirmed values with stored values of the transmission trend number library by the numerical comparison confirmation end, and judges whether two groups of spectrograms of the corresponding pulse signal are consistent or not, wherein the analysis processing measures are taken to identify whether the system has abnormal loss, if the signal does not have specific loss in the transmission process, the two groups of corresponding spectrograms are not changed, or basically consistent, and if the signal has larger loss in the transmission process, the two groups of corresponding spectrograms are changed greatly;
the substep of carrying out trend confirmation by the abnormal frequency transmission analysis end specifically comprises the following steps:
Selecting a group of pulse signals with the largest transmission delay T i value from n groups of transmission delay T i determined in an abnormal calibration end, directly determining the transmission spectrum and the return spectrum of the pulse signals, and particularly selecting the pulse signal with the largest transmission delay because the larger the transmission delay is, the more corresponding problems can be reflected, and analyzing and processing can be timely carried out to determine whether the loss problem exists;
Based on the specific trend of the transmission spectrum, a curve trend graph of the transmission spectrum is generated, as shown in fig. 2, the turning points in the curve trend graph are confirmed, the line segments before and after the turning points are in a linear relationship, the line segment slopes of the line segments before and after are inconsistent, that is, y=kx, for example: the front line segment is y=2x, the rear line segment is y=2.5x, then the common point between the two line segments is the turning point of the two line segments, according to a plurality of turning points confirmed in the curve trend graph, the initial point and the end point of the curve trend graph are marked as turning points, the line segments between adjacent trend points are marked as reference line segments, the endpoint coordinates (X1, Y2) and (X2, Y2) of the reference line segments are determined, the trend value Q of the reference line segment is confirmed by adopting Q= (Y2-Y1) and (X2-X1), then different trend values generated by different reference line segments are marked as Q k, k represents different reference line segments, and the confirmed groups of Q k are bound to generate a transmission trend number library, wherein the same trend value Q k possibly exists in the transmission trend number library;
Then adopting the same processing mode of transmission spectrum to the return spectrum, sequentially confirming a plurality of groups of trend values generated in the return spectrum, and respectively calibrating the trend values as S t, wherein t represents a reference line segment generated by turning points of the return spectrum;
The determining whether the two groups of spectrograms of the corresponding pulse signals are consistent by the numerical comparison confirming end comprises the following steps:
Comparing the confirmed trend values S t in the returned frequency spectrum with different trend values Q k in the transmission trend number library, deleting the corresponding comparison result in the transmission trend number library directly when the comparison result exists, and not performing any processing when the comparison result does not exist, for example: if the trend values S t are 1, 3, 5, and the trend values in the transmission trend number library are 1, 3, 5, and 7, only the last set of trend values 7 will remain after the comparison in sequence;
Sequentially confirming the total number G of the remaining trend values in the transmission trend number library, and confirming whether the total number G meets the following conditions: g is more than or equal to Y2, wherein Y2 is a preset value, the specific value is drawn by an operator according to experience, if the specific value is met, abnormal signals of system signal transmission loss are generated and are directly displayed, and if the specific value is not met, a regular waveform analysis processing end is executed;
Specifically, in order to analyze whether the pulse signal has abnormal loss in the transmission process, the situation can be confirmed by comparing the spectrograms before and after the pulse signal and the intensity change situation of the corresponding signal is confirmed in the comparison process, the intensity change situation is closely related to the trend value of the corresponding line segment, then the situation that whether the pulse signal has abnormal loss can be confirmed by confirming the trend value change between the two groups of corresponding charts, and whether the unnecessary trend value exists in the comparison process is confirmed by comparing the pulse signal in sequence, namely, the trend value of the comparison result does not exist, if the trend value is too much, the difference of the spectrograms of the two signals is larger, and the transmission loss is confirmed to exist in the transmission process.
The method comprises the steps that a regular waveform analysis processing end carries out secondary analysis on a transmission frequency spectrum and a return frequency spectrum of a corresponding pulse signal aiming at the situation that the total number G of trend values does not meet G & gtY 2 to confirm the internal regular waveform of the pulse signal, records whether the intermittent regular time length of the corresponding regular waveform is different, if so, the pulse signal is interfered during transmission, and generates a corresponding interference signal, wherein the intermittent regular time length is the total time interval of the regular waveform in the corresponding frequency spectrum, namely a time span, a regular waveform exists in the first time span, the same regular waveform exists in the second time span, and the corresponding intermittent regular time length is determined according to the intermittent regular time length;
Wherein the sub-step of performing the secondary analysis comprises:
confirming a curve trend graph of a transmission frequency spectrum, and confirming turning points in the curve trend graph, wherein line segments before and after the turning points are in a linear relationship, and the slope of the line segments before and after the turning points are inconsistent;
Based on the curve line segments between the determined first group of turning points and the second group of turning points, the curve line segments are marked as to-be-compared line segments, the line segments which are behind the to-be-compared line segments and are identical to the to-be-compared line segments (namely, the coincidence degree is 100%) are confirmed from the curve trend graph, the line segments which are identical to the to-be-compared line segments are marked as coincident line segments, the time interval between the initial point of the to-be-compared line segments and the initial point of the coincident line segments is confirmed, and the time interval is marked as a transmission time interval, specifically, in the analysis processing, the curve line segments in the curve trend graph are definitely regular, and a corresponding regular time exists in a single process when a pulse signal is transmitted in a time service system;
Processing the return frequency spectrum in the same mode, and confirming a return time interval;
Confirming whether the transmission time interval is the same as the return time interval, if the transmission time interval=the return time interval, directly generating a signal to be detected, representing that no corresponding fault source is found, requiring intervention of external maintenance personnel, searching for a corresponding abnormality reason, and if the transmission time interval is not equal to the return time interval, directly generating an interference abnormality signal, and displaying for external personnel to check;
Specifically, when confirming the interference cause, the transmission spectrum and the return spectrum are subjected to regular time comparison, the corresponding regular time length is determined, whether the regular time length is consistent is determined from the regular time length comparison process of the transmission spectrum and the return spectrum, if the regular time length is consistent, the transmission spectrum and the return spectrum are not subjected to corresponding interference, if the transmission spectrum and the return spectrum are not consistent, the transmission spectrum and the return spectrum are subjected to corresponding signal interference in the normal use process, and therefore the regular time length generated by the corresponding curve is inconsistent.
Some of the data in the above formulas are numerical calculated by removing their dimensionality, and the contents not described in detail in the present specification are all well known in the prior art.
The above embodiments are only for illustrating the technical method of the present invention and not for limiting the same, and it should be understood by those skilled in the art that the technical method of the present invention may be modified or substituted without departing from the spirit and scope of the technical method of the present invention.