Communication Line Fault Location Method, Device, Electronic Equipment and Medium
The time-domain reflector and Kalman filtering algorithm process the signal reflection data of the communication line, identifying peaks and troughs, solving the problems of long detection time and low accuracy in the prior art, achieving fast and accurate fault positioning, and improving the reliability of the communication system.
Patent Information
- Application Number
- CN202411504201.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2044-10-25
AI Technical Summary
The existing communication line fault detection methods have a long detection time, low accuracy and the inability to accurately locate the fault location, resulting in inconvenient equipment maintenance.
The original signal reflection data of the communication line is obtained through a time domain reflector, and the signal reflection data is collected using different pulse widths. Combined with the Kalman filtering algorithm noise reduction processing, the peaks and troughs are identified, and the fault location is determined based on the horizontal coordinate difference of the peaks and troughs.
It realizes rapid and accurate positioning of fault points, shortens maintenance time, and improves the reliability and detection accuracy of the communication system.
Smart Images

Figure CN119483639B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication fault detection and location, and particularly to a communication line fault location method, device, electronic device and medium. Background Art
[0002] In modern production and life, with the continuous development of the power grid, telephone communication has brought great convenience to people's lives and greatly improved the efficiency of information exchange. However, when a communication line fails, it is very difficult to detect the fault, causing great inconvenience to equipment maintenance and daily work and life.
[0003] Traditional communication line fault detection methods may require workers to carry a variety of fault detectors to the fault site, and different fault detectors need to be selected according to the different communication lines being detected. Such fault detection methods have problems such as long detection time, low accuracy, and inability to accurately locate faults. Therefore, how to quickly and accurately determine the short - circuit and open - circuit positions of communication lines has become an urgent problem to be solved. Summary of the Invention
[0004] The present invention provides a communication line fault location method, device, electronic device and medium, which are used to solve the defects of long detection time, low accuracy and inability to accurately locate fault positions in the prior art, realize rapid and accurate fault point location, shorten the repair time, and improve the reliability of the communication system.
[0005] The present invention provides a communication line fault location method, including:
[0006] Obtaining the original signal reflection data measured by a time - domain reflectometer for a communication line;
[0007] Collecting the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths;
[0008] Performing data processing on the signal reflection data to obtain the target signal reflection data after data processing;
[0009] Analyzing the vertical - coordinate differences between adjacent data points in the target signal reflection data to identify wave peaks and wave valleys;
[0010] Determining the fault position of the communication line based on the horizontal - coordinate difference between the wave peak and the wave valley.
[0011] In a possible implementation manner, the method further includes:
[0012] Determining the blind - zone ranges corresponding to different pulse widths based on the characteristics of different pulse widths;
[0013] Traverse the vertical coordinate differences between adjacent data points in the target signal reflection data within the blind area, and identify the peaks and valleys within the blind area according to the key fault features;
[0014] Based on the identified peaks and valleys within the blind area, determine that there is a fault in the communication line within the blind area.
[0015] In a possible implementation, the method further includes:
[0016] Perform noise reduction processing on the signal reflection data through the Kalman filtering algorithm, and determine the starting point and ending point of the reflection waveform corresponding to the signal reflection data after noise reduction processing;
[0017] Calculate the vertical distance from each data point on the reflection waveform to the line connecting the starting point and the ending point;
[0018] Retain the data points with the vertical distance greater than the preset distance threshold to obtain the target signal reflection data.
[0019] In a possible implementation, the method further includes:
[0020] Compare the vertical coordinates of every two adjacent data points in sequence, use the data point with the largest vertical coordinate as the peak, and use the data point with the smallest vertical coordinate as the valley.
[0021] In a possible implementation, the method further includes:
[0022] Calculate the variance ratio and slope of the identified peaks and valleys;
[0023] When the variance ratio and slope meet the preset threshold, determine that the identified peaks and valleys are valid.
[0024] In a possible implementation, the method further includes:
[0025] Calculate the horizontal coordinate difference of the data points corresponding to the peaks and valleys;
[0026] Use the horizontal coordinate difference as the fault location of the communication line from the current communication device.
[0027] The present invention also provides a communication line fault location device, including the following modules:
[0028] An acquisition module, configured to acquire the original signal reflection data obtained by a time domain reflectometer for measuring a communication line;
[0029] Collect the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths;
[0030] A processing module for processing the signal reflection data to obtain target signal reflection data after data processing;
[0031] An identification module for analyzing the ordinate differences between adjacent data points in the target signal reflection data to identify peaks and valleys;
[0032] A positioning module for determining the fault location of the communication line based on the abscissa difference between the peak and the valley.
[0033] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the communication line fault location method described in any one of the above is implemented.
[0034] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the communication line fault location method described in any one of the above is implemented.
[0035] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the communication line fault location method described in any one of the above is implemented.
[0036] The communication line fault location method, device, electronic device, and medium provided by the present invention obtain the original signal reflection data measured by a time domain reflectometer for the communication line; collect the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths; process the signal reflection data to obtain target signal reflection data after data processing; analyze the ordinate differences between adjacent data points in the target signal reflection data to identify peaks and valleys; determine the fault location of the communication line based on the abscissa difference between the peak and the valley. Compared with the defects of the existing communication line fault detection methods, such as long detection time, low accuracy, and inability to accurately locate the fault location, in this solution, by collecting the signal reflection data measured by the time domain reflectometer with different pulse widths and optimizing and analyzing the data through a specific algorithm, the possibility of misjudgment is reduced, the accuracy and reliability of fault detection are improved, the fault point can be quickly and accurately located, the maintenance time is shortened, and the reliability of the communication system is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0038] Figure 1 It is one of the schematic flowcharts of the communication line fault location method provided by the present invention.
[0039] Figure 2 It is the second of the schematic flowcharts of the communication line fault location method provided by the present invention.
[0040] Figure 3 It is the schematic diagram of the signal reflection data measured by the time domain reflectometer provided by the present invention.
[0041] Figure 4 It is the schematic structural diagram of the communication line fault location device provided by the present invention.
[0042] Figure 5 It is the schematic structural diagram of the electronic device provided by the present invention. Detailed implementation manners
[0043] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without any creative efforts shall fall within the protection scope of the present invention.
[0044] For ease of understanding of the embodiments of the present invention, the following will further explain and illustrate with specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation to the embodiments of the present invention.
[0045] Figure 1 It is one of the schematic flowcharts of the communication line fault location method provided by the present invention. As Figure 1 shown, the method specifically includes:
[0046] S11. Obtain the original signal reflection data measured by the time domain reflectometer for the communication line.
[0047] S12. Collect the signal reflection data when the communication line fails from the original signal reflection data with different pulse widths.
[0048] The embodiments of the present invention are preferably applicable to the scenario of telephone communication. When a fault occurs in the communication line, signal reflection data is obtained from a Time Domain Reflectometry (TDR) using multiple different pulse widths. This signal reflection data is time-domain reflection data for analyzing the characteristics of the transmission line. A time domain reflectometer is an electronic test instrument mainly used to measure signal reflections in a communication transmission line. It determines the time and distance required for a signal to travel from the emission position to the reflection position by sending an electromagnetic pulse and using the reflected signal, which can help engineers quickly and accurately detect the main signal reflection sources and locate the actual reflection points, thereby analyzing the cause of the fault.
[0049] S13. Perform data processing on the signal reflection data to obtain the target signal reflection data after data processing.
[0050] The data processing method may include, but is not limited to, a noise reduction processing method and a data simplification processing method, etc. The purpose is to remove high-frequency noise from the obtained signal reflection data, reduce the amount of data, facilitate data calculation, and improve the calculation efficiency.
[0051] For example, the Kalman filtering algorithm is used to filter the originally obtained signal reflection data to effectively remove high-frequency noise and improve the signal quality. Then, the Douglas-Peucker thinning algorithm is applied to further process the filtered data. By identifying key feature points, the data point set is simplified, and non-critical redundant data is removed, thereby reducing the amount of data for subsequent processing. The target signal reflection data containing the key fault features is obtained.
[0052] S14. Analyze the vertical coordinate differences between adjacent data points in the target signal reflection data to identify peaks and valleys.
[0053] By calculating the vertical coordinate differences between adjacent data points in the target signal reflection data containing the key fault features and the key fault features, peaks and valleys can be accurately identified. These feature points are the key to fault location. Generally, under normal circumstances, the trend of the signal reflection data of communication is smooth. When a peak or valley suddenly appears, it indicates that a fault has occurred in the communication line. Therefore, the key fault feature is the sudden change in the trend of the signal reflection data.
[0054] It should be noted that for the situation where the difference between consecutive points is small or zero due to noise, signal attenuation, or sensor accuracy limitations, the embodiments of the present invention can perform special processing, considering boundary conditions and intermediate points, to ensure the continuity and directionality of the data, providing an accurate basis for peak and valley detection.
[0055] For example, by calculating the vertical coordinate differences between adjacent points to mark whether each point is rising or falling, a peak is usually defined by a rising point followed by a falling point, and a trough is usually defined by a falling point followed by a rising point. However, in actual TDR test data, due to noise, signal attenuation, or sensor accuracy limitations, the differences between some consecutive points may be very small or zero. Such differences are not sufficient to indicate an obvious rising or falling trend. Special processing is carried out for this situation. By handling these special cases, it can be ensured that each point in the dataset has a clear directionality.
[0056] Optionally, the embodiment of the present invention can also perform blind area detection: The embodiment of the present invention further integrates a blind area detection algorithm. By traversing the data range where blind areas may exist, it is determined whether there are blind areas, and precise counting and threshold judgment are used to identify blind areas in the TDR signal reflection data, thereby improving the accuracy and reliability of fault detection. For example, the TDR signal reflection data ranges obtained according to different pulses are different. The detection range of a 4ns pulse is 30 - 200m. If a fault occurs within 30m, it belongs to a blind area.
[0057] S15. Determine the fault location of the communication line based on the abscissa difference between the peak and the trough.
[0058] After excluding the blind area interference, determine the fault location of the communication line based on the abscissa difference between the peak and the trough. Apply the fault detection algorithm to the reliable data to determine the fault point location. First, set the position of the first fault point at the pulse start boundary. Then, traverse the data points to find and determine the preliminary position of the second fault point, and verify whether its amplitude meets the minimum amplitude threshold to ensure the reliability of the signal. By calculating the variance ratio and slope, accurately locate the second fault point, and calculate the distance between the fault points according to the TDR test principle.
[0059] For example, the first falling edge of different pulse widths is fixed. By calculation, find the second falling edge, and the subtraction of the abscissas of these two points is the fault point location.
[0060] Finally, return the fault point location result. If any abnormality is found during the process, the corresponding return value will be returned (if the corresponding fault point is in the blind area, it will display that the fault point is in the blind area), ensuring that the user can obtain clear operation feedback.
[0061] Such as Figure 3As shown in the figure, in the embodiment of the present invention, by receiving the original signal reflection data of the open circuit and short circuit of the line returned by the TDR device, filtering and signal enhancement processing are first performed to optimize the signal reflection data. Subsequently, the positions of the open circuit and short circuit are accurately calculated, and the fault detection and positioning results are displayed. The calculation accuracy can reach 1% of the full scale. Specifically, the measurement distance can be further improved by different pulse widths. Moreover, by adjusting the pulse width, the measurement accuracy, measurement distance, and signal amplitude can be adjusted accordingly.
[0062] The communication line fault location method provided by the present invention includes obtaining the original signal reflection data measured by a time domain reflectometer for a communication line; collecting the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths; performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; analyzing the ordinate difference between adjacent data points in the target signal reflection data to identify peaks and valleys; and determining the fault location of the communication line based on the abscissa difference between the peaks and valleys. Compared with the defects of the existing communication line fault detection methods, such as long detection time, low accuracy, and inability to accurately locate the fault location, in this method, by collecting the signal reflection data measured by the time domain reflectometer using different pulse widths and optimizing and analyzing the data through a specific algorithm, the possibility of misjudgment is reduced, the accuracy and reliability of fault detection are improved, the fault point can be quickly and accurately located, the maintenance time is shortened, and the reliability of the communication system is improved.
[0063] Figure 2 It is the second schematic flow chart of the communication line fault location method provided by the present invention. As Figure 2 shown, the method specifically includes:
[0064] S21. Obtain the original signal reflection data measured by a time domain reflectometer for a communication line.
[0065] S22. Collect the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths.
[0066] In the embodiment of the present invention, when a fault occurs in the communication line, signal reflection data is obtained from a time domain reflectometer (TDR) using multiple different pulse widths. The signal reflection data is time domain reflection data for analyzing the characteristics of the transmission line. A time domain reflectometer is an electronic test instrument mainly used to measure signal reflections in communication transmission lines. It determines the time and distance required for a signal to travel from the emission position to the reflection position by sending an electromagnetic pulse and using the reflected signal, which can help engineers quickly and accurately detect the main signal reflection sources and locate the actual reflection points, thereby analyzing the cause of the fault.
[0067] S23. Denoise the signal reflection data through the Kalman filter algorithm, and determine the starting point and ending point of the reflection waveform corresponding to the denoised signal reflection data.
[0068] The Kalman filter is an efficient recursive filter that can estimate the state of a dynamic system from a series of measurements containing noise. In the denoising process of signal reflection data, the Kalman filter can effectively extract useful signals from the noise. The denoised signal reflection data can be used by the Kalman filter to determine the starting point and ending point of the reflection waveform. This is usually achieved by analyzing the change trend and amplitude of the signal. The Kalman filter can help identify significant changes in the signal, thereby determining the boundaries of the waveform.
[0069] Specifically, the Kalman filter determines the starting point and ending point of the waveform through the following steps:
[0070] Initialization: Set the initial state estimate value and the initial error covariance matrix.
[0071] Prediction: Predict the state and error covariance at the next moment based on the dynamic model of the system.
[0072] Update: Use the actual measurement value and the predicted value to update the state estimate and error covariance.
[0073] In actual operation, the starting point and ending point of the waveform can be determined through the following technical steps:
[0074] Filtering process: First, perform Kalman filtering on the signal to reduce the influence of noise.
[0075] Waveform analysis: The filtered signal is analyzed by its first derivative or difference to find the change points of the waveform.
[0076] Peak detection: Identify the peak points of the waveform, which are usually important indicators of the start and end of the waveform.
[0077] Threshold setting: Set an appropriate threshold to determine the starting point and ending point of the waveform. The threshold can be adjusted according to the characteristics of the signal and the noise level.
[0078] Windowed search: Set a time window near the peak point to further search for and confirm the exact starting point and ending point of the waveform.
[0079] Through this method, the Kalman filter can not only effectively denoise but also accurately determine the key feature points of the signal reflection waveform, thus providing accurate data for subsequent signal analysis and processing.
[0080] S24. Calculate the perpendicular distance from each data point on the reflected waveform to the line connecting the starting point and the ending point.
[0081] S25. Retain the data points whose perpendicular distance is greater than a preset distance threshold to obtain the target signal reflection data.
[0082] In the embodiments of the present invention, the filtered data is further processed. By identifying key feature points, the data point set is simplified, and non-critical redundant data is removed, thereby reducing the amount of data for subsequent processing. The target signal reflection data containing the key features of the fault is obtained.
[0083] Specifically, assume that a reflected waveform containing thousands of data points is collected. These data points represent various impedance changes and reflection points encountered when the signal propagates in the transmission medium.
[0084] The main objective of the embodiments of the present invention is to identify the key feature points in these reflected waveforms, which represent important impedance changes such as breakpoints or short-circuit points. The identification is carried out through the following steps:
[0085] Initialization: First, determine the starting point and the ending point of the TDR reflected waveform.
[0086] Calculate the distance: Calculate the perpendicular distance from each point on the TDR reflected waveform to the line connecting the starting point and the ending point.
[0087] Identify the key point: Find the point that is farthest from the line. This point is the key feature point because it represents a significant change in the waveform.
[0088] Set the threshold: Set a distance threshold. If the distance from the key feature point to the line is greater than this distance threshold, then retain this point; if it is less than the distance threshold, then consider this point not a key point and it can be removed.
[0089] Recursive processing: For the retained key feature points, use them as the new starting point or ending point, and repeat the above process until all points are processed. The final obtained data point set will be much smaller than the original data set, but still can well approximate the original waveform.
[0090] The above method can extract the most critical information from a large amount of TDR reflection data, while removing unnecessary details, making the data processing more efficient.
[0091] S26. Compare the ordinates of every two adjacent data points in sequence, take the data point with the largest ordinate as the peak, and take the data point with the smallest ordinate as the trough.
[0092] By calculating the vertical coordinate differences between adjacent data points in the target signal reflection data containing key fault features and the key fault features, the peaks and valleys can be accurately identified, and these feature points are crucial for fault location. Generally, under normal circumstances, the trend of the signal reflection data of communication is smooth. When a peak or valley suddenly appears, it indicates that a fault has occurred in the communication line. Therefore, the key fault feature is the sudden change in the trend of the signal reflection data.
[0093] For example, by calculating the vertical coordinate differences between adjacent points and marking whether each point is rising or falling, a peak is usually defined by a rising point followed by a falling point, and a valley is usually defined by a falling point followed by a rising point. Therefore, the data point with the maximum vertical coordinate is used as the peak, and the data point with the minimum vertical coordinate is used as the valley.
[0094] S27. Calculate the variance ratio and slope of the identified peaks and valleys.
[0095] S28. When the variance ratio and slope meet the preset thresholds, determine that the identified peaks and valleys are valid.
[0096] In the field of signal processing, the identification of peaks and valleys is an important step in analyzing signal characteristics. The variance ratio and slope of peaks and valleys are two key parameters that help determine the characteristics of the waveform and the quality of the signal. The variance ratio usually refers to the ratio of the variance of a peak or valley to the variance of its adjacent region. This ratio helps distinguish significant changes and noise in the signal. A higher variance ratio indicates a significant difference between the peak or valley and the surrounding signal, which may be a valid signal feature. The slope of peaks and valleys refers to the rate at which the signal rises or falls. At peaks and valleys, the slope is usually high because this is the part where the signal changes the fastest. By calculating the first derivative of the signal or using the difference method, the slope of peaks and valleys can be obtained.
[0097] When the variance ratio and slope meet the preset thresholds, it can be considered that the identified peaks and valleys are valid. These preset thresholds may be thresholds determined based on experience or through experiments, used to distinguish real signals and noise. For example, if the variance ratio exceeds a certain value and the slope is greater than a certain threshold, then the peak or valley can be considered valid.
[0098] S29. Calculate the abscissa difference of the data points corresponding to the peaks and valleys.
[0099] In signal processing, peaks and valleys can usually be identified through algorithms such as peak detection. The abscissa difference refers to the distance between the peak and the valley on the time axis. This distance can be obtained by simple subtraction, that is, the abscissa value of the peak minus the abscissa value of the valley.
[0100] S210. Use the abscissa difference as the fault location in the communication line from the current communication device.
[0101] The accuracy of fault location depends on the signal propagation speed and measurement precision. In a communication line, if the starting point and ending point of a waveform can be accurately identified, then the location of the fault point can be determined by calculating the propagation time of the waveform. Determine that the abscissa difference between the above-mentioned wave peaks and wave valleys is the fault location in the communication line from the current communication device.
[0102] As Figure 3 shown, in the embodiment of the present invention, by receiving the original signal reflection data of the open circuit and short circuit occurring in the line returned by the TDR device, first perform filtering and signal enhancement processing to optimize the signal reflection data. Subsequently, accurately calculate the positions of the open circuit and short circuit (606 meters), and display the fault detection and location results. Its calculation accuracy can reach 1% of the full scale. Specifically, the measurement distance can be further improved by different pulse widths. Moreover, by adjusting the pulse width, the measurement accuracy, measurement distance, and signal amplitude can be correspondingly adjusted.
[0103] The communication line fault location method provided by the present invention includes: obtaining the original signal reflection data measured by a time domain reflectometer for a communication line; collecting the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths; performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; analyzing the ordinate differences between adjacent data points in the target signal reflection data to identify wave peaks and wave valleys; and determining the fault location of the communication line based on the abscissa difference between the wave peaks and wave valleys. By this method, by collecting the signal reflection data measured by the time domain reflectometer using different pulse widths and optimizing and analyzing the data through a specific algorithm, the possibility of misjudgment is reduced, the accuracy and reliability of fault detection are improved, the fault point can be quickly and accurately located, the maintenance time is shortened, and the reliability of the communication system is improved.
[0104] The communication line fault location device provided by the present invention will be described below. The communication line fault location device described below can be correspondingly referred to the communication line fault location method described above.
[0105] Figure 4 is a schematic structural diagram of the communication line fault location device provided by the present invention, specifically including:
[0106] An acquisition module 401, configured to obtain the original signal reflection data measured by a time domain reflectometer for a communication line; collect the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths;
[0107] A processing module 402 is configured to process the signal reflection data to obtain target signal reflection data after data processing;
[0108] An identification module 403 is configured to analyze the ordinate differences between adjacent data points in the target signal reflection data to identify wave peaks and wave valleys;
[0109] A positioning module 404 is configured to determine the fault location of the communication line based on the abscissa difference between the wave peak and the wave valley.
[0110] In a possible implementation, the processing module 402 is further configured to perform noise reduction processing on the signal reflection data through a Kalman filtering algorithm, and determine the starting point and the ending point of the reflection waveform corresponding to the signal reflection data after noise reduction processing; calculate the perpendicular distance from each data point on the reflection waveform to the line connecting the starting point and the ending point; retain the data points whose perpendicular distance is greater than a preset distance threshold to obtain the target signal reflection data.
[0111] In a possible implementation, the identification module 403 is further configured to compare the ordinates of every two adjacent data points in sequence, use the data point with the largest ordinate as the wave peak, and use the data point with the smallest ordinate as the wave valley.
[0112] In a possible implementation, the identification module 403 is further configured to calculate the variance ratio and slope of the identified wave peak and wave valley; when the variance ratio and slope meet a preset threshold, determine that the identified wave peak and wave valley are valid.
[0113] In a possible implementation, the positioning module 404 is further configured to calculate the abscissa difference between the data points corresponding to the wave peak and the wave valley; use the abscissa difference as the fault location in the communication line from the current communication device.
[0114] In a possible implementation, the positioning module 404 is further configured to determine the blind area range corresponding to different pulse widths based on the characteristics of different pulse widths; traverse the ordinate differences between adjacent data points in the target signal reflection data within the blind area range and identify wave peaks and wave valleys within the blind area range according to the key fault features; determine that there is a fault in the communication line within the blind area range based on the identified wave peaks and wave valleys within the blind area range.
[0115] Figure 5 An example of the physical structure diagram of an electronic device is shown in Figure 5As shown in the figure, the electronic device may include: a processor 810, a communications interface 820, a memory 830, and a communication bus 840. Among them, the processor 810, the communications interface 820, and the memory 830 complete their mutual communication through the communication bus 840. The processor 810 can call the logical instructions in the memory 830 to execute the communication line fault location method, which includes: obtaining the original signal reflection data measured by the time domain reflectometer for the communication line; collecting the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths; performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; analyzing the ordinate difference between adjacent data points in the target signal reflection data to identify the peaks and valleys; and determining the fault location of the communication line based on the abscissa difference between the peaks and valleys.
[0116] In addition, when the logical instructions in the above-mentioned memory 830 are implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs, Read-Only Memories), random access memories (RAMs, Random Access Memories), magnetic disks, or optical discs that can store program codes.
[0117] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the communication line fault location method provided by the above-mentioned various methods. The method includes: obtaining the original signal reflection data measured by the time domain reflectometer for the communication line; collecting the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths; performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; analyzing the ordinate difference between adjacent data points in the target signal reflection data to identify the peaks and valleys; and determining the fault location of the communication line based on the abscissa difference between the peaks and valleys.
[0118] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the communication line fault location method provided by the above-mentioned various methods. The method includes: obtaining the original signal reflection data measured by a time domain reflectometer for the communication line; collecting the signal reflection data when a fault occurs in the communication line from the original signal reflection data using different pulse widths; performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; analyzing the ordinate difference between adjacent data points in the target signal reflection data to identify peaks and valleys; and determining the fault location of the communication line based on the abscissa difference between the peaks and valleys.
[0119] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.
[0120] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for locating communication line faults, characterized in that, including: Obtaining the original signal reflection data measured by a time domain reflectometer for a communication line; Collecting the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths; Performing data processing on the signal reflection data to obtain the target signal reflection data after data processing; Determining the blind zone range corresponding to different pulse widths based on the characteristics of different pulse widths; Traversing the ordinate differences between adjacent data points in the target signal reflection data within the blind zone range and identifying the peaks and valleys within the blind zone range according to the key fault characteristics; Determining that there is a fault in the communication line within the blind zone range based on the identified peaks and valleys within the blind zone range; Determining the fault location of the communication line based on the abscissa difference between the peak and the valley.
2. The method according to claim 1, wherein The performing data processing on the signal reflection data to obtain the target signal reflection data after data processing includes: Performing noise reduction processing on the signal reflection data through a Kalman filtering algorithm, and determining the starting point and ending point of the reflection waveform corresponding to the signal reflection data after noise reduction processing; Calculating the perpendicular distance from each data point on the reflection waveform to the line connecting the starting point and the ending point; Retaining the data points whose perpendicular distance is greater than a preset distance threshold to obtain the target signal reflection data.
3. The method according to claim 1, characterized in that, The method further includes: Calculating the variance ratio and slope of the identified peaks and valleys; When the variance ratio and slope meet the preset threshold, determining that the identified peaks and valleys are valid.
4. The method according to claim 1, wherein The determining the fault location of the communication line based on the abscissa difference between the peak and the valley includes: Calculating the abscissa difference between the data points corresponding to the peak and the valley; Taking the abscissa difference as the fault location of the communication line from the current communication device.
5. A communication line fault location device, characterized in that, including: An acquisition module, configured to obtain the original signal reflection data measured by a time domain reflectometer for a communication line; Collecting the signal reflection data when the communication line fails from the original signal reflection data using different pulse widths; A processing module, configured to perform data processing on the signal reflection data to obtain the target signal reflection data after data processing; An identification module, configured to determine the blind zone range corresponding to different pulse widths based on the characteristics of different pulse widths; traversing the ordinate differences between adjacent data points in the target signal reflection data within the blind zone range and identifying the peaks and valleys within the blind zone range according to the key fault characteristics; Determining that there is a fault in the communication line within the blind zone range based on the identified peaks and valleys within the blind zone range; A positioning module, configured to determine the fault location of the communication line based on the abscissa difference between the peak and the valley.
6. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the communication line fault location method according to any one of claims 1 to 4.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the communication line fault location method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the communication line fault location method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Cable fault point positioning device and data processing method thereof
CN107515355A
Power line fault hidden danger monitoring device and working method thereof
CN113671320A