Fault detection method, device, related equipment and storage medium

文档序号:1956541 发布日期:2021-12-10 浏览:21次 中文

阅读说明:本技术 故障检测方法、装置、相关设备及存储介质 (Fault detection method, device, related equipment and storage medium ) 是由 李允博 王东 孙将 李晗 张德朝 于 2020-06-09 设计创作,主要内容包括:本发明公开了一种故障检测方法、装置、相关设备及存储介质。其中,所述方法包括:第一通信设备获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的偏振态(SOP)与所述第二通信设备产生的本振光信号的SOP之间的变化量;判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。(The invention discloses a fault detection method, a fault detection device, related equipment and a storage medium. Wherein the method comprises the following steps: the first communication equipment acquires a first parameter; the first parameter represents a variation between a polarization State (SOP) of one optical signal of at least one optical signal received by a second communication device in the optical communication system and an SOP of a local oscillator optical signal generated by the second communication device; judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.)

1. A method of fault detection, applied to a first communications device, the method comprising:

acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of the local oscillator optical signal generated by the second communication equipment;

judging whether the first parameter meets a preset condition or not to obtain a judgment result;

and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

2. The method of claim 1, wherein obtaining the first parameter comprises:

acquiring a first parameter sent by the second communication equipment;

the first parameter is sent to the first communication device after the second communication device receives the at least one optical signal from the third communication device.

3. The method of claim 1, wherein it is determined that an optical fiber on a current traffic link between the third communication device and the second communication device has failed; the method further comprises the following steps:

determining a first distance between the position of the second communication device and the position of the third communication device;

and determining the optical fiber fault position on the current service link between the third communication equipment and the second communication equipment by using the numerical value corresponding to the first parameter and the first distance.

4. The method of claim 3, wherein the determining the location of the fiber fault on the current traffic link between the third communication device and the second communication device by using the value corresponding to the first parameter and the first distance comprises:

obtaining a difference value by subtracting the value corresponding to the first parameter from a preset value;

obtaining a first ratio by quotient of the difference value and the preset value;

and determining the fiber fault position on the current service link between the third communication equipment and the second communication equipment based on the first ratio and the first distance.

5. The method of claim 4, further comprising:

acquiring a first duration of which a first parameter meets a preset condition;

judging whether the first time length is greater than or equal to a preset time length;

and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment so as to provide fault alarm for the second communication equipment.

6. The method of claim 1, wherein it is determined that an optical fiber on a current traffic link between the third communication device and the second communication device has failed; the method further comprises the following steps:

sending a notification message to the second communication device; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

7. The method of claim 1, wherein it is determined that an optical fiber on a current traffic link between a third communication device and the second communication device in the optical communication system has failed; the method further comprises the following steps:

determining a first angle; the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment;

generating first information; the first information includes the first angle;

sending the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

8. A fault detection device, comprising:

an acquisition unit configured to acquire a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

the processing unit is used for judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

9. A first communications device, comprising:

a communication interface for acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

the processor is used for judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

10. A first communications device comprising a processor and a memory for storing a computer program capable of running on the processor,

wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.

11. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method of any one of claims 1 to 7.

Technical Field

The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for fault detection, a related device, and a storage medium.

Background

In an optical communication system, in order to ensure normal transmission of an optical signal between an optical transmission device and an optical reception device, an optical cable may be laid between the optical transmission device and the optical reception device. In general, the influence of the external weather environment and construction work may cause the optical fiber in the optical cable to malfunction, thereby causing the communication between the optical transmitting apparatus and the optical receiving apparatus to be interrupted. At present, whether an optical fiber fails or not is detected in a manual mode, and due to the fact that the detection is not timely, service transmission between optical sending equipment and optical receiving equipment is affected.

Disclosure of Invention

In view of this, embodiments of the present invention are intended to provide a fault detection method, apparatus, related device and storage medium.

The technical scheme of the embodiment of the invention is realized as follows:

at least one embodiment of the present invention provides a fault detection method, including:

acquiring a first parameter; the first parameter represents a variation between a State of Polarization (SOP) of one of at least one optical signal received by a second communication device in the optical communication system and an SOP of a local oscillator optical signal generated by the second communication device;

judging whether the first parameter meets a preset condition or not to obtain a judgment result;

and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

Further in accordance with at least one embodiment of the present invention, the obtaining the first parameter includes:

acquiring a first parameter sent by the second communication equipment;

the first parameter is sent to the first communication device after the second communication device receives the at least one optical signal from the third communication device.

Further in accordance with at least one embodiment of the present invention, determining that an optical fiber on a current traffic link between the third communication device and the second communication device is faulty; the method further comprises the following steps:

determining a first distance between the position of the second communication device and the position of the third communication device;

and determining the optical fiber fault position on the current service link between the third communication equipment and the second communication equipment by using the numerical value corresponding to the first parameter and the first distance.

Furthermore, according to at least one embodiment of the present invention, the determining, by using the value corresponding to the first parameter and the first distance, a location of the optical fiber fault on the current service link between the third communication device and the second communication device includes:

obtaining a difference value by subtracting the value corresponding to the first parameter from a preset value;

obtaining a first ratio by quotient of the difference value and the preset value;

and determining the fiber fault position on the current service link between the third communication equipment and the second communication equipment based on the first ratio and the first distance.

Further, in accordance with at least one embodiment of the present invention, the method further comprises:

acquiring a first duration of which a first parameter meets a preset condition;

judging whether the first time length is greater than or equal to a preset time length;

and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment so as to provide fault alarm for the second communication equipment.

Further in accordance with at least one embodiment of the present invention, determining that an optical fiber on a current traffic link between the third communication device and the second communication device is faulty; the method further comprises the following steps:

sending a notification message to the second communication device; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

Further in accordance with at least one embodiment of the present invention, determining that an optical fiber on a current traffic link between a third communication device and the second communication device in the optical communication system has failed; the method further comprises the following steps:

determining a first angle; the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment;

generating first information; the first information includes the first angle;

sending the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

At least one embodiment of the present invention provides a fault detection apparatus including:

an acquisition unit configured to acquire a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

the processing unit is used for judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

At least one embodiment of the present invention provides a first communication device including:

a communication interface for acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

the processor is used for judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

At least one embodiment of the invention provides a first communication device comprising a processor and a memory for storing a computer program capable of running on the processor,

wherein the processor is configured to execute the steps of any of the above-mentioned methods at the first communication device side when running the computer program.

At least one embodiment of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.

According to the fault detection method, the fault detection device, the fault detection equipment and the storage medium, the first communication equipment obtains the first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment; judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result. By adopting the technical scheme of the embodiment of the invention, the first communication equipment can determine whether the optical fiber on the current service link between the third communication equipment and the second communication equipment has a fault or not based on the variable quantity between the SOP of one optical signal and the SOP of the local oscillator optical signal in at least one optical signal received by the second communication equipment.

Drawings

FIG. 1 is a schematic diagram of a flow chart of a fault detection method according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of an optical communication system in accordance with an embodiment of the present invention;

fig. 3 is a schematic flow chart illustrating an implementation of determining a fiber fault location on a current service link between a third communication device and a second communication device according to an embodiment of the present invention;

FIG. 4 is a flow chart illustrating an implementation of sending a fiber fault location to a second communication device according to an embodiment of the present invention;

fig. 5 is a schematic flow chart illustrating an implementation process of notifying the second communication device to open the standby service link according to the embodiment of the present invention;

fig. 6 is a schematic diagram of a second communication device opening a standby service link according to an embodiment of the present invention;

fig. 7 is a schematic flow chart illustrating an implementation process of notifying the second communication device to adjust the SOP of the local oscillator light according to the embodiment of the present invention;

FIG. 8 is a schematic diagram of the structure of a fault detection device according to an embodiment of the present invention;

FIG. 9 is a schematic diagram of the structure of the fault detection system according to the embodiment of the present invention;

fig. 10 is a schematic structural diagram of a first communication device according to an embodiment of the present invention.

Detailed Description

Before the technical solution of the embodiment of the present invention is introduced, a description is given of a related art.

In the related art, an optical fiber is used as a physical layer medium of an optical transmission system, and is the basis of the whole optical communication system. With the development and application expansion of optical network technology, a large number of optical fibers have been laid in various environments. With the increasing complexity of network structures and the increasing frequency and density of network dynamic reconstruction, the management of on-line optical cable resources and dark optical fibers becomes more and more important. Therefore, whether the optical fiber is in normal condition or not is an important guarantee for the operation stability of the network. At present, the optical cable/optical fiber is broken and dug due to the external weather environment, such as flood, earthquake, debris flow and other severe weather, as well as the capital construction and artificial damage, which causes the communication interruption. In an optical cable interruption accident, the proportion of artificially broken optical cables caused by engineering construction exceeds 60 percent, which is far higher than the interruption caused by natural disasters and the aging of the optical cables, so how to effectively prevent the interruption of the optical cables caused by the engineering construction is a technology concerned in the industry. In the related technology, a maintainer uses an instrument to operate to test, position an optical fiber breakpoint, and then sends the maintainer out to repair an optical cable, so that the interruption time of the optical cable is long, the service is affected, and the service is interrupted in serious cases.

Based on this, in the embodiment of the present invention, a first parameter is obtained; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment; judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

The present invention will be described in further detail with reference to the accompanying drawings and examples.

An embodiment of the present invention provides a fault detection method, as shown in fig. 1, the method includes:

step 101: acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

step 102: judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

Here, the second communication device may refer to a device capable of receiving at least one optical signal transmitted by the third communication device in the optical communication system. The third communication device may be a device capable of sending at least one optical signal to the second communication device in the optical communication system.

Here, in step 101, in practical application, the third communications device may be configured to generate the at least one optical signal, modulate the at least one optical signal by using an external modulation method, and send the at least one modulated optical signal to the second communications device. The second communication device is configured to receive the at least one optical signal; in order to improve the signal-to-noise ratio performance, coherent detection can be performed by using the local oscillator optical signal generated by the local oscillator optical signal and the received at least one optical signal to obtain at least one demodulated optical signal, and meanwhile, the SOP of any optical signal in the at least one optical signal can be detected, the variation between the SOP of any optical signal and the SOP of the local oscillator optical signal generated by the second communication device is calculated, and the calculated variation is reported to the first communication device. The first communication device is configured to obtain the variation reported by the second communication device, and determine whether an optical fiber on a current service link between the second communication device and a third communication device fails based on the variation. The variation may be a difference between an SOP of one optical signal of the at least one optical signal received by the second communication device and an SOP of the local oscillator optical signal. Since the SOP detection may be implemented by extracting a stock vector of the signal and calculating a Degree of Polarization (DOP) according to the extracted stock vector, the variation may also be a difference between the DOP of one optical signal of the at least one optical signal received by the second communication device and the DOP of the local oscillator optical signal.

Here, in step 102, in practical application, the local oscillator light may refer to a laser beam generated by the second communication device, and the laser beam is referred to as the local oscillator light when being used as the reference signal. If the optical fiber on the current service link between the second communication device and the third communication device is not in fault, the variation between the SOP of any one path of optical signal in the at least one path of optical signal received by the second communication device and the SOP of the local oscillator optical signal generated by the second communication device falls into a normal value range; if the optical fiber on the current service link fails, because the SOP of any one of the at least one optical signal received by the second communication device changes with the failure of the optical fiber, and the SOP of the local oscillator optical signal does not change with the failure of the optical fiber, the variation between the SOP of any one of the at least one optical signal received by the second communication device and the SOP of the local oscillator optical signal exceeds the normal value range, so that whether the optical fiber on the current service link between the third communication device and the second communication device fails can be determined based on the variation between the SOP of one of the at least one optical signal received by the second communication device and the SOP of the local oscillator optical signal.

The SOP of one path of optical signal is generally closely related to the ellipse degree of the fiber core of the optical fiber, and if the ellipse degree of the end face of the fiber core of the optical fiber is not changed, the SOP of the path of optical signal is not changed; however, when the external environment affects the optical cable laid between the second communication device and the third communication device to different degrees, the optical fiber in the optical cable is squeezed, so that the end face of the optical fiber is deformed, and finally, the variation between the SOP of any one optical signal and the SOP of the local oscillator optical signal in at least one optical signal received by the second communication device exceeds the normal value range. The effects of the external environment, including: the influence of ground construction on an underground optical cable laid between the second communication device and the third communication device, the influence of vibration of a train passing by on an optical cable laid along a railway between the second communication device and the third communication device, the influence of sea wave slapping on a submarine optical cable laid between the second communication device and the third communication device, and the influence of strong wind on an aerial optical cable laid between the second communication device and the third communication device.

In practical application, after receiving at least one optical signal sent by the third communication device, the second communication device detects an SOP of any optical signal in the at least one optical signal, calculates a variation between the SOP of the detected optical signal and an SOP of a local oscillator optical signal generated by the second communication device, and reports the calculated variation to the first communication device, so that the first communication device determines whether an optical fiber on a current service link between the second communication device and the third communication device fails.

Based on this, in an embodiment, the obtaining the first parameter includes:

acquiring a first parameter sent by the second communication equipment;

the first parameter is sent to the first communication device after the second communication device receives the at least one optical signal from the third communication device.

The at least one optical signal may refer to at least one optical signal with different wavelengths.

Here, after acquiring a first parameter sent by a second communication device, the first communication device determines whether a value corresponding to the first parameter falls within a normal value range, and if it is determined that the value corresponding to the first parameter does not fall within the normal value range, it is determined that an optical fiber on a current service link between a third communication device and the second communication device in the optical communication system has a fault.

Taking the optical communication system shown in fig. 2 as an example, a process of acquiring a first parameter by a first communication device and a process of determining whether an optical fiber on a current service link between a third communication device and a second communication device is failed based on the first parameter are described, specifically as follows:

as shown in fig. 2, the optical communication system includes: the system comprises an optical transceiver A, an optical transceiver B and a management platform; the optical transceiver device A corresponds to the third communication device, the optical transceiver device B corresponds to the second communication device, and the management platform corresponds to the first communication device; wherein the content of the first and second substances,

the optical transceiver device a includes An optical transceiver unit a1, optical transceiver units a2, … …, An optical transceiver unit An, and a multiplexer (OM). The optical transceiver unit a1, the optical transceiver units a2, … …, the optical transceiver unit An is used for generating N paths of optical signals with different wavelengths; and the wave combiner (OM) is used for modulating the N paths of optical signals to an optical carrier wave in an external modulation mode and transmitting the optical carrier wave to the optical transceiver B.

The optical transceiver device B includes an optical transceiver unit B1, optical transceiver units B2, … …, an optical transceiver unit Bn, and a demultiplexer (OD). The optical fiber branching device (OD) is used for separating the received N paths of optical signals according to the wavelength; one of the optical transceiver units B1, B2, … …, and the optical transceiver unit Bn is configured to calculate a difference between an SOP of the separated optical signal and an SOP of the local oscillator optical signal, and report the calculated difference to the management platform; meanwhile, the optical fiber coupler is also used for carrying out coherent coupling on the separated optical signal and the local oscillator optical signal and carrying out coherent detection on the coupled signal. Coherent coupling may refer to mixing the separated optical signal and the local oscillator optical signal to obtain an intermediate frequency signal, and coherent detection may refer to demodulating the optical signal by using the intermediate frequency signal obtained by coherent coupling to obtain a demodulated optical signal.

The management platform is used for receiving the difference value reported by one of the optical transceiver unit B1, the optical transceiver unit B2, … … and the optical transceiver unit Bn of the optical transceiver device B, and judging whether the difference value meets a preset condition; and when the difference value meets a preset condition, determining that the optical fiber on the current service link between the optical transceiver device A and the optical receiver device B has a fault.

If the optical fiber on the current service link between the optical transceiver a and the optical transceiver B is not in fault, the difference between the SOP of any one of the optical signals received by the optical transceiver B and the SOP of the local oscillator optical signal is in a balanced state, that is, the difference between the SOP of any one of the optical signals received by the optical transceiver B and the SOP of the local oscillator optical signal is in a normal value range, for example, the SOP of the local oscillator optical signal is 10 °, the SOP of one of the optical signals is 50 °, the difference is 50 ° -10 ° -40 °, and the difference is in the normal value range (0, 60 °). If the optical fiber on the service link 1 between the optical transceiver a and the optical receiver B is subjected to continuous and abnormal squeezing intrusion caused by external force, the variation between the SO of any one of the at least one optical signal and the SOP of the local oscillator light changes, that is, the difference between the SOP of any one of the at least one optical signal and the SOP of the local oscillator light exceeds a normal value range, for example, the SOP of the local oscillator light is 10 °, the SOP of one of the at least one optical signal is 80 °, the difference is 80 ° -10 ° -70 °, and the difference exceeds the normal value range (0, 60 °).

In practical application, if an optical fiber on a current service link between third communication equipment and second communication equipment in the optical communication system fails due to external interference, such as construction and the like, a variation between an SOP of any one of at least one optical signal received by the second communication equipment and an SOP of a local oscillator optical signal generated by the second communication equipment exceeds a normal value range, and the variation linearly increases with an increase in transmission distance of the optical signal, so that a location where the optical fiber fails due to the external interference can be estimated based on a distance between a location where the third communication equipment is located and a location where the second communication equipment is located, and the first parameter.

Based on this, in an embodiment, it is determined that an optical fiber on a current traffic link between a third communication device and the second communication device in the optical communication system has a failure; the method further comprises the following steps:

determining a first distance between the position of the second communication device and the position of the third communication device;

and determining the optical fiber fault position on the current service link between the third communication equipment and the second communication equipment by using the numerical value corresponding to the first parameter and the first distance.

Specifically, the determining, by using the value corresponding to the first parameter and the first distance, the fiber fault location on the current service link between the third communication device and the second communication device includes:

obtaining a difference value by subtracting the value corresponding to the first parameter from a preset value;

obtaining a first ratio by quotient of the difference value and the preset value;

and determining the fiber fault position on the current service link between the third communication equipment and the second communication equipment based on the first ratio and the first distance.

The preset value may be a maximum value of a normal value range where the variation is located when the optical fiber is not in fault.

In one example, as shown in fig. 3, a process for determining a location of a fiber fault on a current traffic link between a third communication device and a second communication device is described, including:

step 301: the method comprises the steps that first communication equipment obtains first parameters sent by second communication equipment; and when the first parameter meets a preset condition, determining that the optical fiber on the current service link between the third communication device and the second communication device has a fault.

Here, the first parameter represents a variation between an SOP of one optical signal of the at least one optical signal received by the second communication device and an SOP of a local oscillator optical signal generated by the second communication device.

Here, the value corresponding to the first parameter may be calculated according to equation (1).

A1=S1-S2(1)

Wherein, a1 represents a value corresponding to the first parameter; s1 represents an SOP of one of the at least one optical signal received by the second communication device; s2 represents the SOP of the local oscillator optical signal generated by the second communication device.

Step 302: a first communication device determining a first distance between the second communication device and a third communication device; and determining the optical fiber fault position based on the value corresponding to the first parameter and the first distance.

Here, the fiber fault location may be calculated according to equation (2).

L2=(A1-Z)/Z×L1(2)

Wherein L2 is the distance between the location of the optical fiber fault and the location of the second communication device; a1 represents the variation; z represents the maximum value of the normal value range of the variable quantity when the optical fiber is not in fault, namely the preset value; l1 denotes a first distance between the second communication device and the third communication device.

It should be noted that, if the second communication device can receive at least one optical signal sent by the third communication device and can also send at least one optical signal to the third communication device, the third communication device may detect a variation between an SOP of any one of the received at least one optical signal and an SOP of a local oscillator optical signal generated by the third communication device, so that the first communication device may obtain the variation reported by the third communication device and determine the optical fiber fault location based on the variation and the first distance. Here, since the SOP of the optical signal linearly increases with an increase in the transmission distance after the optical fiber is failed, when the optical fiber failure position is closer to the second communication apparatus, the amount of change in the SOP detected by the second communication apparatus is smaller than the amount of change in the SOP detected by the third communication apparatus.

Here, locating the optical fiber fault location based on the first parameter has the following advantages:

and judging whether the optical fiber is interrupted or not by correlating the deformation of the optical fiber end surface on the current service link between the second communication equipment and the third communication equipment caused by the external force intrusion with the change of the SOP of any optical signal in at least one path of optical signal received by the second communication equipment caused by the deformation of the optical fiber end surface, and positioning the fault position of the optical fiber when the optical fiber is determined to be interrupted by detecting whether the variation between the SOP of any optical signal in at least one path of optical signal received by the second communication equipment and the SOP of the local oscillator optical signal generated by the second communication equipment exceeds the normal value range, thereby early warning the optical fiber interruption in advance.

In practical application, if the optical fiber on the current service link between the third communication device and the second communication device fails due to external interference, such as construction, the first communication device may send the optical fiber failure position to the second communication device for the second communication device to perform failure alarm after estimating the location of the optical fiber failure due to the external interference.

Based on this, in an embodiment, the method further comprises:

acquiring a first duration of which a first parameter meets a preset condition;

judging whether the first time length is greater than or equal to a preset time length;

and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment so as to provide fault alarm for the second communication equipment.

Here, in practical application, considering that the intrusion of some external force to the optical fiber is not persistent, for example, the intrusion of strong wind to the optical fiber may be of a short duration, so that after the strong wind stops intruding the optical fiber, the traffic transmitted on the current traffic link may not be greatly affected; however, the intrusion of some external forces to the optical fiber is persistent, for example, the time length of the intrusion of the construction to the optical fiber may be long, so that if the construction is designed to continuously intrude the optical fiber, the service transmitted on the current service link is greatly affected, and therefore, the first communication device may determine whether the first time length that the first parameter meets the preset condition is greater than or equal to the preset time length, and when it is determined that the first time length is greater than or equal to the preset time length, the determined optical fiber fault position is sent to the second communication device, so that the second communication device performs fault alarm, thereby avoiding the interruption of the optical fiber, and ensuring the normal transmission of the service.

In one example, as shown in fig. 4, a process of sending a fiber fault location to a second communication device is described, including:

step 401: the method comprises the steps that first communication equipment obtains first parameters sent by second communication equipment; and when the first parameter meets a preset condition, determining that the optical fiber on the current service link between the third communication device and the second communication device has a fault.

Step 402: a first communication device determining a first distance between the second communication device and a third communication device; and determining the optical fiber fault position based on the value corresponding to the first parameter and the first distance.

Step 403: the method comprises the steps that first communication equipment obtains first duration when a first parameter meets a preset condition; and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment.

Here, after receiving the optical fiber fault location, the second communication device may display the optical fiber fault location on a display interface, so that a maintenance worker may contact a relevant person in time to perform emergency repair, or replace the affected optical cable with a spare optical cable.

Here, the following advantages are specified when the optical fiber fault location is sent to the second communication device:

when the optical fiber on the current service link fails due to external force construction, the second communication equipment can generate an early warning signal in advance and send out optical fiber failure position information to inform network operation and maintenance personnel to adopt a corresponding emergency scheme, and a construction unit is connected to suspend construction, so that the optical fiber in the optical cable is prevented from being dug and broken, and normal service transmission is guaranteed.

In practical application, if the optical fiber on the current service link between the third communication device and the second communication device fails due to external interference, the first communication device may notify the second communication device to start a standby service link for service transmission after calculating the location of the optical fiber failure due to the external interference.

Based on this, in an embodiment, it is determined that an optical fiber on a current traffic link between the third communication device and the second communication device has failed; the method further comprises the following steps:

sending a notification message to the second communication device; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

Here, in practical application, the third communication device may send at least one optical signal to the second communication device through the active service link and the standby service link, and when the optical fiber on the current service link, that is, the active service link, between the third communication device and the second communication device is not in failure, the second communication device receives the at least one optical signal through the active service link, and the standby service link remains in a shutdown state; when the optical fiber on the current service link, i.e. the active service link, between the third communication device and the second communication device fails, the second communication device receives the at least one optical signal through the standby service link, and the standby service link is kept in an open state.

In one example, as shown in fig. 5, a process of notifying the second communication device to open the standby service link is described, which includes:

step 501: the method comprises the steps that first communication equipment obtains first parameters sent by second communication equipment; and when the first parameter meets a preset condition, determining that the optical fiber on the current service link between the third communication device and the second communication device has a fault.

Step 502: the first communication equipment sends a notification message to the second communication equipment; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

As shown in fig. 6, when the optical fiber on the current service link, i.e., the active service link, between the third communication device and the second communication device is not failed, the active service link remains in an on state, the standby service link remains in an off state, and the second communication device receives the at least one optical signal through the active service link. When the optical fiber on the current service link, i.e. the active service link, between the third communication device and the second communication device fails, the standby service link remains on, and the second communication device receives the at least one optical signal through the standby service link.

Here, notifying the second communication device to open the standby service link has the following specific advantages:

when the optical fiber on the current service link fails due to external force construction, the second communication device can transfer the affected service on the main service link to the standby service link for transmission in advance by adopting a service switching mode, so that the loss of the affected service on the main service link is reduced to the minimum.

In practical application, if an optical fiber on a current service link between the third communication device and the second communication device fails due to external interference, the first communication device may calculate an angle at which the second communication device adjusts the SOP of the local oscillator light generated by itself, and may inform the second communication device to adjust the SOP of the local oscillator light in order to ensure sensitivity of the second communication device in coherent detection of the received at least one optical signal.

Based on this, in an embodiment, it is determined that an optical fiber on a current traffic link between a third communication device and the second communication device in the optical communication system has a failure; the method further comprises the following steps:

determining a first angle; the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment;

generating first information; the first information includes the first angle;

sending the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

In an example, as shown in fig. 7, a process of notifying the second communication device to adjust the SOP of the local oscillator light is described, where the process includes:

step 701: the method comprises the steps that first communication equipment obtains first parameters sent by second communication equipment; and when the first parameter meets a preset condition, determining that the optical fiber on the current service link between the third communication device and the second communication device has a fault.

Step 702: the first communication device determines a first angle; generating first information; the first information includes the first angle; sending the first information to the second communication device;

the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

Here, notifying the second communication device to adjust the SOP of the local oscillator light has the following advantages:

when an optical fiber on a current service link fails due to external force construction, the second communication device can adjust the SOP of the local oscillator optical signal generated by the second communication device, so that the change quantity of the SOP of any one path of optical signal and the SOP of the local oscillator light in at least one path of subsequently received optical signal is ensured to fall into a normal value range, and when the second communication device performs coherent detection on at least one path of optical signal, the demodulation can be successfully performed to obtain the demodulated optical signal, so that the sensitivity of the coherent detection is improved.

By adopting the technical scheme of the embodiment of the invention, the first communication equipment can determine whether the optical fiber on the current service link between the third communication equipment and the second communication equipment has a fault or not based on the variable quantity between the SOP of one optical signal and the SOP of the local oscillator optical signal in at least one optical signal received by the second communication equipment.

In order to implement the fault detection method according to the embodiment of the present invention, an embodiment of the present invention further provides a fault detection apparatus, which is disposed on the first communication device, and fig. 8 is a schematic structural diagram of the fault detection apparatus according to the embodiment of the present invention; as shown in fig. 8, the apparatus includes:

an acquisition unit 81 for acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

the processing unit 82 is configured to determine whether the first parameter meets a preset condition, so as to obtain a determination result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

In an embodiment, the obtaining unit 81 is specifically configured to:

acquiring a first parameter sent by the second communication equipment;

the first parameter is sent to the first communication device after the second communication device receives the at least one optical signal from the third communication device.

In an embodiment, the processing unit 82 is specifically configured to:

determining that an optical fiber on a current service link between the third communication device and the second communication device fails; determining a first distance between the position of the second communication device and the position of the third communication device; and determining the optical fiber fault position on the current service link between the third communication equipment and the second communication equipment by using the numerical value corresponding to the first parameter and the first distance.

In an embodiment, the processing unit 82 is specifically configured to:

obtaining a difference value by subtracting the value corresponding to the first parameter from a preset value;

obtaining a first ratio by quotient of the difference value and the preset value;

and determining the fiber fault position on the current service link between the third communication equipment and the second communication equipment based on the first ratio and the first distance.

In an embodiment, the processing unit 82 is specifically configured to:

acquiring a first duration of which a first parameter meets a preset condition;

judging whether the first time length is greater than or equal to a preset time length;

and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment so as to provide fault alarm for the second communication equipment.

In an embodiment, the processing unit 82 is specifically configured to:

determining that an optical fiber on a current service link between the third communication device and the second communication device fails; sending a notification message to the second communication device; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

In an embodiment, the processing unit 82 is specifically configured to:

determining that an optical fiber on a current service link between a third communication device and the second communication device in the optical communication system has a fault; determining a first angle; the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment;

generating first information; the first information includes the first angle;

sending the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

In practical application, the obtaining unit 81 may be implemented by a communication interface in the fault detection device; the processing unit 82 may be implemented by a processor in the fault detection device in combination with a communication interface.

It should be noted that: in the fault detection device provided in the above embodiment, only the division of each program module is taken as an example for performing fault detection, and in practical applications, the processing may be distributed to different program modules as needed, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the fault detection apparatus and the fault detection method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.

To implement the method according to the embodiment of the present invention, an embodiment of the present invention provides a fault detection system, as shown in fig. 9, including:

the third communication device 91 is configured to generate the at least one optical signal, modulate the at least one optical signal in an external modulation manner, and send the at least one modulated optical signal to the second communication device.

A second communication device 92, configured to receive the at least one optical signal; and detecting the SOP of any optical signal in the at least one optical signal, calculating the variation between the SOP of any optical signal and the SOP of the local oscillator optical signal generated by the second communication equipment, and reporting the calculated variation to the first communication equipment.

And the first communication device 93 is configured to determine whether an optical fiber on a current traffic link between the second communication device and the third communication device fails based on the variation.

It should be noted that: the specific processing procedures of the third communication device 91, the second communication device 92 and the first communication device 93 have been described in detail above, and are not described herein again.

An embodiment of the present invention further provides a first communication device, as shown in fig. 10, including:

a communication interface 101 capable of performing information interaction with other devices;

and the processor 102 is connected with the communication interface 101 and is used for executing the method provided by one or more technical schemes of the intelligent device side when running a computer program. And the computer program is stored on the memory 103.

Specifically, the processor 102 is configured to execute the following programs when executing the computer program:

acquiring a first parameter; the first parameter represents the variation between the SOP of one path of optical signal in at least one path of optical signal received by second communication equipment in the optical communication system and the SOP of a local oscillator optical signal generated by the second communication equipment;

judging whether the first parameter meets a preset condition or not to obtain a judgment result; and determining whether the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has a fault or not based on the judgment result.

In one embodiment, the communication interface 101 is configured to execute the following program when executing the computer program:

acquiring a first parameter sent by the second communication equipment;

the first parameter is sent to the first communication device after the second communication device receives the at least one optical signal from the third communication device.

In one embodiment, the processor 102 is configured to execute the following program when executing the computer program:

determining that an optical fiber on a current service link between the third communication device and the second communication device fails; determining a first distance between the position of the second communication device and the position of the third communication device; and determining the optical fiber fault position on the current service link between the third communication equipment and the second communication equipment by using the numerical value corresponding to the first parameter and the first distance.

In one embodiment, the processor 102 is configured to execute the following program when executing the computer program:

obtaining a difference value by subtracting the value corresponding to the first parameter from a preset value;

obtaining a first ratio by quotient of the difference value and the preset value;

and determining the fiber fault position on the current service link between the third communication equipment and the second communication equipment based on the first ratio and the first distance.

In one embodiment, the processor 102 is configured to execute the following program when executing the computer program:

acquiring a first duration of which a first parameter meets a preset condition;

judging whether the first time length is greater than or equal to a preset time length;

and when the first duration is determined to be greater than or equal to the preset duration, sending the determined optical fiber fault position to the second communication equipment so as to provide fault alarm for the second communication equipment.

In one embodiment, the processor 102 is configured to execute the following program when executing the computer program:

determining that an optical fiber on a current service link between the third communication device and the second communication device fails; sending a notification message to the second communication device; the notification message is used for instructing the second communication device to start a standby service link, and receiving at least one path of optical signal sent by the third communication device through the standby service link.

In one embodiment, the processor 102 is configured to execute the following program when executing the computer program:

determining that an optical fiber on a current service link between a third communication device and the second communication device in the optical communication system has a fault; determining a first angle; the first angle is used for adjusting the SOP of the local oscillator optical signal generated by the second communication equipment;

generating first information; the first information includes the first angle;

sending the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillation optical signal generated by the second communication device, and the adjusted local oscillation optical signal is used for demodulating the at least one optical signal.

It should be noted that: the specific processing procedures of the processor 102 and the communication interface 101 are detailed in the method embodiment, and are not described herein again.

Of course, in practice, the various components of the first communication device 100 are coupled together by the bus system 104. It is understood that the bus system 104 is used to enable communications among the components. The bus system 104 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 104 in fig. 10.

The memory 103 in the embodiments of the present application is used to store various types of data to support the operation of the network device 100. Examples of such data include: any computer program for operating on the first communication device 100.

The method disclosed in the embodiments of the present application can be applied to the processor 102, or implemented by the processor 102. The processor 102 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 102. The Processor 102 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The processor 102 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 103, and the processor 102 reads the information in the memory 103 and performs the steps of the foregoing method in combination with the hardware thereof.

In an exemplary embodiment, the first communication Device 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.

It will be appreciated that the memory (memory 103) of embodiments of the present application may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.

In an exemplary embodiment, the present invention further provides a storage medium, specifically a computer-readable storage medium, for example, a memory 103 storing a computer program, which is executable by the processor 122 of the first communication device 100 to complete the steps of the aforementioned terminal side method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.

It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种无源波分故障检测系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!