Fault monitoring method and device of optical fiber two-way communication line and computer equipment
By decomposing and reconstructing the signal of the optical fiber bidirectional communication line, and smooth filtering is used to perform the wavelet transformation method, the fault monitoring problem of long-distance optical fiber communication line is solved, real-time online monitoring and fault positioning are realized, and the stability and security of the communication line are improved.
Patent Information
- Application Number
- CN202510256223.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-07-08
AI Technical Summary
Long-distance optical fiber bidirectional communication lines are easily damaged by human damage or natural disasters. How to ensure stable transmission and timely monitoring of faults has become a key issue.
By signal decomposing and reconstructing the target monitoring signal sequence obtained in real time, discrete wavelet transformation and wavelet inverse transformation methods are used to perform smooth filtering, fault event analysis and power loss estimation are realized, and real-time online monitoring of long-distance optical fiber bidirectional communication lines are realized.
Real-time online monitoring of long-distance optical fiber bidirectional communication lines is realized, fault location and power loss estimation are carried out in a timely and effective manner, and the stability and security of communication lines are improved.
Smart Images

Figure CN120281381A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal processing, and particularly relates to a method, a device, a computer device, and a storage medium for fault monitoring of a fiber optic bidirectional communication line. Background Art
[0002] With the development of the information society, the global data volume shows an explosive growth trend. Facing the huge data volume and the society's dependence on information transmission, fiber optic communication lines need to be further expanded. The single-fiber bidirectional communication technology that uses one fiber to achieve information transmission in two directions can theoretically double the transmission capacity of fiber optic communication lines. At the same time, with the development of communication, in the case of increasingly complex network attack means and people's increasing attention to information security, ensuring the security of information transmission has become an urgent task.
[0003] In response to this problem, a fiber optic bidirectional secure communication solution has been proposed. Currently, long-distance fiber optic bidirectional communication has become a new research hotspot. However, due to the physical characteristics of the fiber itself, it is easily damaged due to human sabotage or natural disasters, thus causing huge economic losses to modern society that relies on information transmission. How to ensure the transmission stability of long-distance fiber optic bidirectional communication and monitor the status of the communication line in order to promptly handle various faults in the fiber has become a key issue for long-distance bidirectional fiber optic communication networks. Summary of the Invention
[0004] Based on this, the purpose of the present invention is to provide a method, a device, a computer device, and a storage medium for fault monitoring of a fiber optic bidirectional communication line. By performing signal decomposition and signal reconstruction on the obtained target monitoring signal sequence in real time, the target monitoring signal sequence is smoothed and filtered, and the reconstructed signal sequence is analyzed for fault events to perform fault location and power loss estimation in a timely and effective manner, realizing real-time online monitoring of long-distance fiber optic bidirectional communication lines.
[0005] In a first aspect, an embodiment of the present application provides a method for fault monitoring of a fiber optic bidirectional communication line, including the following steps:
[0006] Obtain a target monitoring signal sequence, where the target monitoring signal is an electrical signal obtained by performing photoelectric conversion on Rayleigh backscattered light and Fresnel reflected light generated during the transmission of the probe light in the fiber to be measured.
[0007] Use the discrete wavelet transform method to perform signal decomposition on the target monitoring signal sequence to obtain first wavelet decomposition data.
[0008] Use the wavelet inverse transform method to perform signal reconstruction according to the first wavelet decomposition data to obtain a first reconstructed signal sequence.
[0009] Perform fault event analysis based on the first reconstructed signal sequence to obtain the location data and power loss data of several fault events, which are used as the fault event monitoring results of the optical fiber to be measured.
[0010] In a second aspect, an embodiment of the present application provides a fault monitoring device for an optical fiber bidirectional communication line, including:
[0011] A signal acquisition module, configured to acquire a target monitoring signal sequence, where the target monitoring signal is an electrical signal obtained by performing photoelectric conversion on Rayleigh backscattered light and Fresnel reflected light generated during the transmission of the probing light in the optical fiber to be measured;
[0012] A signal decomposition module, configured to perform signal decomposition on the target monitoring signal sequence by using the discrete wavelet transform method to obtain first wavelet decomposition data;
[0013] A signal reconstruction module, configured to perform signal reconstruction according to the first wavelet decomposition data by using the inverse wavelet transform method to obtain a first reconstructed signal sequence;
[0014] A fault event analysis module, configured to perform fault event analysis based on the first reconstructed signal sequence to obtain the location data and power loss data of several fault events, which are used as the fault event monitoring results of the optical fiber to be measured.
[0015] In a third aspect, an embodiment of the present application provides a computer device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the fault monitoring method for the optical fiber bidirectional communication line as described in the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the fault monitoring method for the optical fiber bidirectional communication line as described in the first aspect are implemented.
[0017] In the embodiment of the present application, a fault monitoring method, device, computer device, and storage medium for an optical fiber bidirectional communication line are provided. By performing signal decomposition and signal reconstruction on the target monitoring signal sequence obtained in real time, the target monitoring signal sequence is smoothed and filtered, and fault event analysis is performed on the reconstructed signal sequence to perform fault location and power loss estimation in a timely and effective manner, realizing real-time online monitoring of a long-distance optical fiber bidirectional communication line.
[0018] For better understanding and implementation, the present invention will be described in detail below with reference to the accompanying drawings. Description of the Drawings
[0019] Figure 1Flow schematic diagram of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0020] Figure 2 Schematic diagram of S1 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0021] Figure 3 Schematic diagram of S2 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0022] Figure 4 Schematic diagram of S3 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0023] Figure 5 Schematic diagram of S4 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0024] Figure 6 Schematic diagram of S4 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by another embodiment of the present application;
[0025] Figure 7 Schematic diagram of S5 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by yet another embodiment of the present application;
[0026] Figure 8 Schematic diagram of the structure of the fault monitoring device for the optical fiber bidirectional communication line provided by an embodiment of the present application;
[0027] Figure 9 Schematic diagram of the structure of the computer device provided by an embodiment of the present application. Detailed implementation manners
[0028] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of the devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0029] The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms of "a", "the", and "said" used in the present application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0030] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" / "when" as used herein may be interpreted as "when...", "when...", or "in response to a determination".
[0031] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of a fault monitoring method for an optical fiber bidirectional communication line provided for an embodiment of this application. The method includes the following steps:
[0032] S1: Obtain a target monitoring signal sequence.
[0033] The execution subject of the fault monitoring method for the optical fiber bidirectional communication line is a monitoring device for the fault monitoring method of the optical fiber bidirectional communication line (hereinafter referred to as the monitoring device). In an optional embodiment, the monitoring device may be a computer device, a server, or a server cluster composed of multiple computer devices combined.
[0034] In an optional embodiment, the monitoring device obtains a target monitoring signal sequence, where the target monitoring signal sequence includes target monitoring signals at a plurality of time points, and the target monitoring signal is an electrical signal obtained after photoelectric conversion of Rayleigh backscattered light and Fresnel reflected light generated during the transmission of the probing light in the optical fiber to be measured.
[0035] Specifically, the monitoring device is connected for data transmission with a preset acquisition module. The acquisition module includes a laser, a circulator, a photodetector, and a data acquisition card. The output end of the laser is connected to the input end of the circulator, the output end of the pulse generator is connected to the input end of the laser, the output end of the circulator is connected to the input end of the photodetector, and the output end of the photodetector is connected to the input end of the data acquisition card.
[0036] The monitoring device sends an instruction to the laser. The laser periodically generates pulsed light that enters the optical fiber under test through the circulator. During the transmission of the probe light, Rayleigh backscattered light and Fresnel reflected light are generated and transmitted back to the circulator in the direction opposite to the probe light. The Rayleigh backscattered light and Fresnel reflected light output by the circulator enter the photodetector and are converted into electrical signals by the photodetector. It should be noted that after the monitoring device controls the laser to send a probe light pulse to the optical fiber under test, it needs to wait until the photodetector receives the Rayleigh backscattered light and Fresnel reflected light generated by this pulse to generate a feedback signal and send it to the monitoring device. The monitoring device responds before controlling the laser to emit the next pulse. The monitoring device regards the time of emitting the pulse as a period, and in each period, the acquisition module only receives data once.
[0037] In an optional embodiment, an optical amplification module is provided in the optical fiber under test. The optical amplification module can amplify the probe light transmitted bidirectionally in the long-distance optical fiber bidirectional communication line, increasing the detection range and making it applicable to the scenario of long-distance monitoring. At the same time, because it can amplify bidirectionally, it does not isolate the light transmitted in one direction like unidirectional amplification.
[0038] Please refer to Figure 2 , Figure 2 It is a schematic diagram of S1 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application, including steps S11 to S12, which are specifically as follows:
[0039] S11: Obtain a sequence of original monitoring signals collected multiple times.
[0040] In this embodiment, the monitoring device obtains a sequence of original monitoring signals collected multiple times, where the sequence of original monitoring signals includes original monitoring signals at several time points.
[0041] S12: Perform averaging processing on the original monitoring signals at the same time points in the sequence of original monitoring signals collected multiple times to obtain a target monitoring signal sequence.
[0042] The power of the Rayleigh backscattered light and Fresnel reflected light is relatively weak and is easily submerged by the noise generated during the transmission process. Moreover, the noise is random, that is, in different measurement periods, the position and power of the noise are uncertain.
[0043] In this embodiment, the monitoring device performs averaging processing on the original monitoring signals at the same time points in the sequence of original monitoring signals collected multiple times to improve the signal-to-noise ratio, making the noise cancel and weaken each other, while the certainty of the signal enables it to be enhanced during multiple averaging processes, and a target monitoring signal sequence is obtained.
[0044] S2: Using the discrete wavelet transform method, decompose the target monitoring signal sequence to obtain the first wavelet decomposition data.
[0045] The various noises doped in the target monitoring signal sequence obtained after average processing usually have non-stationary characteristics. In view of this feature, in this embodiment, the monitoring device uses the discrete wavelet transform method to decompose the target monitoring signal sequence to obtain the first wavelet decomposition data for signal reconstruction and further filter out the noises.
[0046] Please refer to Figure 3 , Figure 3 which is a schematic diagram of S2 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application, including steps S21 to S22, specifically as follows:
[0047] S21: Obtain the preset first wavelet basis parameters.
[0048] In this embodiment, the monitoring device obtains the preset first wavelet basis parameters, where the first wavelet basis is the sym4 wavelet basis; the first wavelet basis parameters include the low-pass filter coefficient sequence and the high-pass filter coefficient sequence.
[0049] S22: Use the target monitoring signal sequence as the input data of the first layer, and perform convolution calculation and downsampling operations respectively according to the input data and the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameters to obtain the low-frequency approximation coefficient sequence and the high-frequency approximation coefficient sequence of the first layer; use the low-frequency approximation coefficient sequence of the first layer as the input signal of the next layer, and repeatedly perform convolution calculation according to the first wavelet basis parameters and the preset decomposition layer number to obtain the low-frequency approximation coefficient sequences and high-frequency approximation coefficient sequences of several layers as the first wavelet decomposition data.
[0050] In this embodiment, the monitoring device uses the target monitoring signal sequence as the input data of the first layer, and performs convolution calculation and downsampling operations respectively according to the input data and the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameters to obtain the low-frequency approximation coefficient sequence and the high-frequency approximation coefficient sequence of the first layer, specifically as follows:
[0051] x(k)=c0(n)
[0052]
[0053] In the formula, x(k) is the target monitoring signal sequence, k is the time point, c0(n) is the input data of the first layer, c j (n) is the low-frequency approximation coefficient sequence of the jth layer, c j-1(k) is the low-frequency approximation coefficient sequence of the (j - 1)th layer, h(k - 2n) is the low-pass filter coefficient sequence of the first wavelet basis parameter, and d j (n) is the high-frequency approximation coefficient sequence of the jth layer, and g(k - 2n) is the high-pass filter coefficient sequence of the first wavelet basis parameter.
[0054] The monitoring device uses the low-frequency approximation coefficient sequence of the first layer as the input signal of the next layer, and repeatedly performs convolution calculations according to the first wavelet basis parameter and the preset decomposition layer number to obtain the low-frequency approximation coefficient sequences and high-frequency approximation coefficient sequences of several layers as the first wavelet decomposition data, and obtains the characteristics of the target monitoring signal sequence at different frequencies and times.
[0055] S3: Using the inverse wavelet transform method, signal reconstruction is performed according to the first wavelet decomposition data to obtain the first reconstructed signal sequence.
[0056] In this embodiment, the monitoring device uses the inverse wavelet transform method to perform signal reconstruction according to the first wavelet decomposition data to obtain the first reconstructed signal sequence.
[0057] Please refer to Figure 4 , Figure 4 which is a schematic diagram of S3 in the process of the fault monitoring method for the optical fiber bidirectional communication line provided by an embodiment of the present application, including steps S31 to S33, specifically as follows:
[0058] S31: Using the soft threshold method, according to the preset high-frequency threshold, filtering processing is performed on the high-frequency approximation coefficient sequences of several layers in the first wavelet decomposition data to obtain the high-frequency approximation coefficient sequences after filtering processing of several layers.
[0059] Since the signal is mainly distributed in the low frequency and the noise is distributed in the high frequency, if there is a mutation in the signal, the mutation also exists in the high-frequency region. In this embodiment, the monitoring device uses the soft threshold method. According to the preset high-frequency threshold, the absolute value of the high-frequency approximation coefficient sequence is compared with the threshold. It is considered that the part less than the threshold is noise and is set to 0. For the part greater than or equal to the threshold, it shrinks this part of the high-frequency approximation coefficient sequence by a threshold range. Filtering processing is performed on the high-frequency approximation coefficient sequences of several layers in the first wavelet decomposition data to obtain the high-frequency approximation coefficient sequences after filtering processing of several layers, and the high-frequency part is selectively filtered out, leaving the signal and the mutation. Specifically as follows:
[0060]
[0061] In the formula, is the high-frequency approximation coefficient sequence of the jth layer after filtering processing, sign(·) is the sign function, and A is the high-frequency threshold.
[0062] S32: Obtain the reconstructed low-frequency approximation coefficient sequence of the last layer according to the low-frequency approximation coefficient sequence of the last layer, the high-frequency approximation coefficient sequence after filtering, the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameter, and the preset low-frequency approximation coefficient sequence reconstruction algorithm;
[0063] In this embodiment, the monitoring device obtains the reconstructed low-frequency approximation coefficient sequence of the last layer according to the low-frequency approximation coefficient sequence of the last layer, the high-frequency approximation coefficient sequence after filtering, the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameter, and the preset low-frequency approximation coefficient sequence reconstruction algorithm, where the low-frequency approximation coefficient sequence reconstruction algorithm is:
[0064]
[0065] In the formula, c′ j-1 (n) is the reconstructed low-frequency approximation coefficient sequence of the (j - 1)th layer, and c′ h (k) is the reconstructed low-frequency approximation coefficient sequence of the jth layer.
[0066] S33: Use the reconstructed low-frequency approximation coefficient sequence of the last layer as the low-frequency approximation coefficient sequence of the previous layer, and repeat the reconstruction of the low-frequency approximation coefficient sequence according to the wavelet basis parameter and the decomposition level to obtain the low-frequency approximation coefficient sequence of the first layer as the first reconstructed signal sequence.
[0067] In this embodiment, the monitoring device uses the reconstructed low-frequency approximation coefficient sequence of the last layer as the low-frequency approximation coefficient sequence of the previous layer, and repeats the reconstruction of the low-frequency approximation coefficient sequence according to the wavelet basis parameter and the decomposition level to obtain the low-frequency approximation coefficient sequence of the first layer as the first reconstructed signal sequence, so as to perform smoothing filtering on the target monitoring signal sequence.
[0068] S4: Perform fault event analysis according to the first reconstructed signal sequence to obtain the positioning data and power loss data of several fault events as the fault event monitoring results of the optical fiber to be measured.
[0069] In this embodiment, the monitoring device performs fault event analysis according to the first reconstructed signal sequence to obtain the positioning data and power loss data of several fault events as the fault event monitoring results of the optical fiber to be measured. By performing signal decomposition and signal reconstruction on the target monitoring signal sequence obtained in real time, smoothing filtering processing is performed on the target monitoring signal sequence, and fault event analysis is performed on the reconstructed signal sequence to perform fault location and power loss estimation in a timely and effective manner, realizing real-time online monitoring of long-distance optical fiber bidirectional communication lines.
[0070] The fault events include reflection events. Please refer toFigure 5 , Figure 5 This is a schematic diagram of S4 in the process of the fault monitoring method for the fiber optic bidirectional communication line provided by an embodiment of the present application, including steps S401 to S403, which are specifically as follows:
[0071] S401: Using the discrete wavelet transform method, decompose the first reconstructed signal sequence to obtain the second wavelet decomposition data; using the inverse wavelet transform method, reconstruct the signal according to the second wavelet decomposition data to obtain the second reconstructed signal sequence.
[0072] In this embodiment, the monitoring device uses the discrete wavelet transform method to decompose the first reconstructed signal sequence to obtain the second wavelet decomposition data. Specifically, the monitoring device uses the second wavelet basis parameter, and the second wavelet basis is the Haar wavelet basis, to decompose the first reconstructed signal sequence to obtain the second wavelet decomposition data. The specific embodiments of the signal decomposition can refer to steps S21 to S22 and will not be elaborated here.
[0073] The monitoring device uses the inverse wavelet transform method to reconstruct the signal according to the second wavelet decomposition data to obtain the second reconstructed signal sequence. The specific embodiments can refer to steps S31 to S32 and will not be elaborated here.
[0074] S402: Obtain the time points of several modulus maxima in the second reconstructed signal sequence, determine the time points of the modulus maxima as the reflection event mutation points, and obtain the positioning data of several reflection event mutation points as the positioning data of the reflection event.
[0075] In this embodiment, the monitoring device obtains the time points of several modulus maxima in the second reconstructed signal sequence. Specifically, the monitoring device performs modulus maximum positioning on the second reconstructed signal sequence, compares the absolute values between the monitoring signals at several time points in the second reconstructed signal sequence and the adjacent time points. If the values of the time points are all greater than the absolute values of the adjacent time points, determine the time points as the reflection event mutation points, and obtain the positioning data of several reflection event mutation points as the positioning data of the reflection event.
[0076] S403: Obtain the power parameters of several reflection event mutation points and the time point before the reflection event mutation point in the second reconstructed signal sequence, calculate the power loss according to the power parameters of several reflection event mutation points and the time point before the reflection event mutation point, and obtain the power loss of several reflection event mutation points as the power loss data of the reflection event.
[0077] In this embodiment, the monitoring device obtains the power parameters of several reflection event mutation points and the time point before the reflection event mutation point in the second reconstructed signal sequence.
[0078] The monitoring device calculates the power loss according to a plurality of reflection event mutation points, the power parameter at the previous time point of the reflection event mutation point, and a preset first power loss calculation algorithm, and obtains the power loss of a plurality of reflection event mutation points as the power loss data of the reflection event, where the first power loss calculation algorithm is:
[0079]
[0080] In the formula, l k is the power loss of the reflection event mutation point, is the power parameter at the previous time point of the reflection event mutation point, is the power parameter of the reflection event mutation point.
[0081] The fault event includes non - reflection events. Please refer to Figure 6 , Figure 6 which is a schematic diagram of S4 in the process of the fault monitoring method for the fiber - optic bidirectional communication line provided by another embodiment of the present application, including steps S411 to S413, specifically as follows:
[0082] S411: Segment the second reconstructed signal sequence to obtain several segments of second reconstructed signal subsequences, and use the least - squares fitting method to process the several segments of second reconstructed signal subsequences to obtain the slopes of the several segments of second reconstructed signal subsequences.
[0083] In this embodiment, the monitoring device segments the second reconstructed signal sequence to obtain several segments of second reconstructed signal subsequences, and uses the least - squares fitting method to process the several segments of second reconstructed signal subsequences according to a preset slope calculation algorithm to obtain the slopes of the several segments of second reconstructed signal subsequences, where the slope calculation algorithm is:
[0084]
[0085] In the formula, k m is the m - th segment of the second reconstructed signal subsequence, is the value of the i - th time point in the second reconstructed signal subsequence.
[0086] S412: Obtain the power parameters of the first time point and the last time point in several segments of the second reconstructed signal subsequences, and calculate the power loss according to the power parameters of the first time point and the last time point in the same segment of the second reconstructed signal subsequences to obtain the power losses of the several segments of second reconstructed signal subsequences.
[0087] In this embodiment, the monitoring device obtains the power parameters of the first time point and the last time point in several segments of the second reconstructed signal subsequence, and calculates the power loss according to the power parameters of the first time point, the last time point in the same segment of the second reconstructed signal subsequence and a preset second power loss calculation algorithm, so as to obtain the power losses of several segments of the second reconstructed signal subsequence, where the second power loss calculation algorithm is:
[0088]
[0089] In the formula, l m is the power loss of the m-th segment of the second reconstructed signal subsequence, is the power parameter of the first time point of the m-th segment of the second reconstructed signal subsequence, is the power parameter of the last time point of the m-th segment of the second reconstructed signal subsequence.
[0090] S413: According to the slopes, power losses of several segments of the second reconstructed signal subsequence and preset slope threshold and power loss threshold, if the slope is greater than the slope threshold and the power loss is greater than the power loss threshold, determine the second reconstructed signal subsequence as a non-reflection event signal segment, obtain the positioning data of several non-reflection event signal segments as the positioning data of the non-reflection event; and use the power losses of several non-reflection event signal segments as the power loss data of the non-reflection event.
[0091] In this embodiment, the monitoring device determines the second reconstructed signal subsequence as a non-reflection event signal segment according to the slopes, power losses of several segments of the second reconstructed signal subsequence and preset slope threshold and power loss threshold, obtains the positioning data of several non-reflection event signal segments as the positioning data of the non-reflection event; and uses the power losses of several non-reflection event signal segments as the power loss data of the non-reflection event.
[0092] In an optional embodiment, it further includes step S5: verifying the monitoring result of the fault event of the fiber optic cable to be measured. Please refer to Figure 7 , Figure 7 which is a schematic diagram of S5 in the process of the fault monitoring method for the fiber optic bidirectional communication line provided by another embodiment of this application, including step S51, specifically as follows:
[0093] S51: Obtain the distance parameter between adjacent reflection events and non - reflection events according to the positioning data of the reflection events and the positioning data of the non - reflection events. Obtain a verification result according to the distance parameter and a preset distance judgment threshold. If the verification result is a misjudgment result, delete the fault event monitoring result of the fault event with later positioning data.
[0094] In this embodiment, the monitoring device obtains a distance judgment threshold, where the distance judgment threshold is:
[0095]
[0096] In the formula, w is the distance judgment threshold, c is the speed of light, τ is the detection pulse width, and b is the refractive index of the optical fiber.
[0097] The monitoring device obtains the distance parameter between adjacent reflection events and non - reflection events according to the positioning data of the reflection events and the positioning data of the non - reflection events. According to the distance parameter and the preset distance judgment threshold, if the distance parameter is greater than 1.2w, there is no misjudgment, and a correct result is obtained. If the distance parameter is less than 0.8w, it is judged as a misjudgment, and a misjudgment result is obtained as the verification result. If the verification result is a misjudgment result, the monitoring device deletes the fault event monitoring result of the fault event with later positioning data.
[0098] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a fault monitoring device for an optical fiber bidirectional communication line provided by an embodiment of the present application. This device can implement all or part of the fault monitoring device for the optical fiber bidirectional communication line through software, hardware, or a combination of both. The device 8 includes:
[0099] A signal acquisition module 81, configured to acquire a target monitoring signal sequence, where the target monitoring signal sequence includes target monitoring signals at several time points, and the target monitoring signal is an electrical signal obtained by performing photoelectric conversion on Rayleigh back - scattered light and Fresnel reflection light generated during the transmission of the detection light in the optical fiber to be measured;
[0100] A signal decomposition module 82, configured to perform signal decomposition on the target monitoring signal sequence by using the discrete wavelet transform method to obtain first wavelet decomposition data;
[0101] A signal reconstruction module 83, configured to perform signal reconstruction according to the first wavelet decomposition data by using the inverse wavelet transform method to obtain a first reconstructed signal sequence;
[0102] The fault event analysis module 84 is configured to perform fault event analysis based on the first reconstructed signal sequence, obtain location data and power loss data of a plurality of fault events, and use them as the fault event monitoring result of the optical fiber under test.
[0103] In the embodiment of the present application, a target monitoring signal sequence is obtained through a signal acquisition module, where the target monitoring signal sequence includes target monitoring signals at a plurality of time points, and the target monitoring signal is an electrical signal obtained by performing photoelectric conversion on Rayleigh backscattered light and Fresnel reflected light generated during the transmission of the detection light in the optical fiber under test; through a signal decomposition module, the discrete wavelet transform method is used to decompose the target monitoring signal sequence to obtain first wavelet decomposition data; through a signal reconstruction module, the wavelet inverse transform method is used to reconstruct the signal according to the first wavelet decomposition data to obtain a first reconstructed signal sequence; through a fault event analysis module, fault event analysis is performed based on the first reconstructed signal sequence to obtain location data and power loss data of a plurality of fault events, and use them as the fault event monitoring result of the optical fiber under test. By performing signal decomposition and signal reconstruction on the real-time acquired target monitoring signal sequence, the target monitoring signal sequence is smoothed and filtered, and fault event analysis is performed on the reconstructed signal sequence, so as to perform fault location and power loss estimation in a timely and effective manner, realizing real-time online monitoring of a long-distance optical fiber bidirectional communication line.
[0104] Please refer to Figure 9 , Figure 9 FIG. 10 is a schematic structural diagram of a computer device provided by an embodiment of the present application. The computer device 10 includes: a processor 91, a memory 92, and a computer program 93 stored in the memory 92 and executable on the processor 91; the computer device may store multiple instructions, and the instructions are suitable for being loaded and executed by the processor 91 to perform the method steps of the above Figures 1 to 7 shown embodiment. The specific execution process may refer to the specific description of the Figures 1 to 7 shown embodiment, which will not be elaborated here.
[0105] Among them, the processor 91 may include one or more processing cores. The processor 91 uses various interfaces and circuits to connect various parts within the server, and by running or executing instructions, programs, code sets or instruction sets stored in the memory 92, as well as calling data in the memory 92, it executes various functions of the fault monitoring device 8 for the fiber optic bidirectional communication line and processes data. Optionally, the processor 91 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 91 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for the rendering and drawing of the content to be displayed on the touch display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 91 and may be implemented separately by a single chip.
[0106] Among them, the memory 92 may include a random access memory (RAM), and may also include a read-only memory. Optionally, the memory 92 includes a non-transitory computer-readable storage medium. The memory 92 can be used to store instructions, programs, code, code sets or instruction sets. The memory 92 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments. Optionally, the memory 92 may also be at least one storage device located far from the aforementioned processor 91.
[0107] The embodiment of the present application also provides a storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor to perform the Figures 1 to 7 method steps of the above-mentioned Figures 1 to 7 embodiment. For the specific execution process, reference can be made to
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiment and will not be elaborated herein.
[0109] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0110] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application of the technical solution and design constraint algorithms. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0111] In the embodiments provided by the present invention, it should be understood that the disclosed device / terminal device and method can be implemented in other ways. For example, the device / terminal device embodiments described above are only illustrative. For example, the division of the module or unit is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0112] The unit described as a separated component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, in each embodiment of the present invention, each functional unit may be integrated into a processing unit, may exist separately as individual physical units, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0114] If the above integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on such an understanding, all or part of the processes in the above-described embodiment methods of the present invention may also be completed by instructing relevant hardware through a computer program. The computer program may be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments may be implemented. Among them, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, an executable file, or some intermediate form, etc.
[0115] The present invention is not limited to the above embodiments. If various modifications or deformations of the present invention do not depart from the spirit and scope of the present invention, and if these modifications and deformations are within the scope of the claims of the present invention and equivalent technical scope, then the present invention also intends to include these modifications and deformations.
Claims
1. A fault monitoring method for a fiber optic bidirectional communication line, characterized in that Including the following steps: Obtain a target monitoring signal sequence, where the target monitoring signal is an electrical signal obtained by performing photoelectric conversion on Rayleigh backscattered light and Fresnel reflected light generated during the transmission of probing light in a fiber under test; Use the discrete wavelet transform method to decompose the target monitoring signal sequence to obtain first wavelet decomposition data; Use the inverse wavelet transform method to reconstruct the signal according to the first wavelet decomposition data to obtain a first reconstructed signal sequence; Perform fault event analysis based on the first reconstructed signal sequence to obtain positioning data and power loss data of several fault events as the fault event monitoring result of the fiber under test.
2. The fault monitoring method of the optical fiber bidirectional communication line according to claim 1, characterized in that The obtaining of the target monitoring signal sequence includes the steps of: Obtain a sequence of original monitoring signals collected multiple times, where the sequence of original monitoring signals includes original monitoring signals at several time points; Perform averaging processing on the original monitoring signals at the same time points in the sequence of original monitoring signals collected multiple times to obtain the target monitoring signal sequence.
3. The fault monitoring method for the optical fiber bidirectional communication line according to claim 1, characterized in that, The using of the wavelet decomposition method to decompose the target monitoring signal to obtain the first wavelet decomposition data includes the steps of: Obtain preset first wavelet basis parameters, where the first wavelet basis parameters include a low-pass filter coefficient sequence and a high-pass filter coefficient sequence; Use the target monitoring signal sequence as the input data of the first layer, and perform convolution calculation and downsampling operations respectively according to the input data and the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameters to obtain a low-frequency approximation coefficient sequence and a high-frequency approximation coefficient sequence of the first layer; use the low-frequency approximation coefficient sequence of the first layer as the input signal of the next layer, and repeatedly perform convolution calculation according to the first wavelet basis parameters and the preset decomposition layer number to obtain low-frequency approximation coefficient sequences and high-frequency approximation coefficient sequences of several layers as the first wavelet decomposition data.
4. The fault monitoring method for the optical fiber bidirectional communication line according to claim 3, characterized in that, The using of the inverse wavelet transform method to reconstruct the signal according to the first wavelet decomposition data to obtain the first reconstructed signal sequence includes the steps of: Use the soft threshold method to filter the high-frequency approximation coefficient sequences of several layers in the first wavelet decomposition data according to a preset high-frequency threshold to obtain high-frequency approximation coefficient sequences after filtering of several layers; According to the low-frequency approximation coefficient sequence of the last layer, the high-frequency approximation coefficient sequence after filtering, the low-pass filter coefficient sequence and the high-pass filter coefficient sequence in the first wavelet basis parameters, and a preset low-frequency approximation coefficient sequence reconstruction algorithm, obtain a reconstructed low-frequency approximation coefficient sequence of the last layer; Use the reconstructed low-frequency approximation coefficient sequence of the last layer as the low-frequency approximation coefficient sequence of the upper layer, and repeat the reconstruction of the low-frequency approximation coefficient sequence according to the wavelet basis parameters and the decomposition layer number to obtain the low-frequency approximation coefficient sequence of the first layer as the first reconstructed signal sequence.
5. The fault monitoring method of the optical fiber bidirectional communication line according to claim 4, characterized in that: The fault event includes a reflection event; The performing of fault event analysis based on the first reconstructed signal sequence to obtain positioning data and power loss data of several fault events includes the steps of: Using the discrete wavelet transform method, decompose the first reconstructed signal sequence to obtain the second wavelet decomposition data; using the inverse wavelet transform method, reconstruct the signal according to the second wavelet decomposition data to obtain the second reconstructed signal sequence; Obtain the time points of several modulus maxima in the second reconstructed signal sequence, determine the time points of the modulus maxima as the reflection event mutation points, and obtain the positioning data of several reflection event mutation points as the positioning data of the reflection event; Obtain the power parameters of several reflection event mutation points and the previous time point of the reflection event mutation point in the second reconstructed signal sequence, calculate the power loss according to the power parameters of several reflection event mutation points and the previous time point of the reflection event mutation point, and obtain the power loss of several reflection event mutation points as the power loss data of the reflection event.
6. The fault monitoring method for the fiber optic bidirectional communication line according to claim 5, characterized in that: The fault event also includes non-reflection events; The analyzing the fault event according to the first reconstructed signal sequence to obtain the positioning data and power loss data of several fault events includes the steps: Segment the second reconstructed signal sequence to obtain several segments of second reconstructed signal subsequences, and use the least squares fitting method to process the several segments of second reconstructed signal subsequences to obtain the slopes of the several segments of second reconstructed signal subsequences; Obtain the power parameters of the first time point and the last time point in several segments of the second reconstructed signal subsequences, calculate the power loss according to the power parameters of the first time point and the last time point in the same segment of the second reconstructed signal subsequences, and obtain the power loss of the several segments of second reconstructed signal subsequences; According to the slopes and power losses of several segments of the second reconstructed signal subsequences and the preset slope threshold and power loss threshold, if the slope is greater than the slope threshold and the power loss is greater than the power loss threshold, determine the second reconstructed signal subsequence as a non-reflection event signal segment, obtain the positioning data of several non-reflection event signal segments as the positioning data of the non-reflection event; take the power losses of several non-reflection event signal segments as the power loss data of the non-reflection event.
7. The fault monitoring method of the optical fiber bidirectional communication line according to claim 5, characterized in that It also includes the step of verifying the monitoring result of the fault event of the fiber to be measured; The verifying the monitoring result of the fault event of the fiber to be measured includes the steps: According to the positioning data of the reflection event and the positioning data of the non-reflection event, obtain the distance parameter between adjacent reflection events and non-reflection events, and obtain the verification result according to the distance parameter and the preset distance judgment threshold; If the verification result is a misjudgment result, delete the monitoring result of the fault event with the later positioning data.
8. A fault monitoring device for an optical fiber bidirectional communication line, characterized in that, It includes: A signal acquisition module for acquiring a target monitoring signal sequence, where the target monitoring signal is an electrical signal obtained by photoelectric conversion of Rayleigh backscattered light and Fresnel reflected light generated during the transmission of probe light in the fiber to be measured; A signal decomposition module for decomposing the target monitoring signal sequence using the discrete wavelet transform method to obtain the first wavelet decomposition data; A signal reconstruction module, which is used to adopt the inverse wavelet transform method to reconstruct the signal according to the first wavelet decomposition data, and obtain a first reconstructed signal sequence; A fault event analysis module, which is used to analyze the fault events according to the first reconstructed signal sequence, and obtain the positioning data and power loss data of several fault events, as the fault event monitoring result of the optical fiber to be measured.
9. A computer device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the steps of the fault monitoring method for the optical fiber bidirectional communication line according to any one of claims 1 to 7 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the fault monitoring method for the optical fiber bidirectional communication line according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Optical fiber fault positioning system and method, controller and computer program product
CN121887291A