CN113783609B - Fault detection method, device, related equipment and storage medium - Google Patents

Fault detection method, device, related equipment and storage medium Download PDF

Info

Publication number
CN113783609B
CN113783609B CN202010519573.0A CN202010519573A CN113783609B CN 113783609 B CN113783609 B CN 113783609B CN 202010519573 A CN202010519573 A CN 202010519573A CN 113783609 B CN113783609 B CN 113783609B
Authority
CN
China
Prior art keywords
communication device
optical
parameter
optical signal
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010519573.0A
Other languages
Chinese (zh)
Other versions
CN113783609A (en
Inventor
李允博
王东
孙将
李晗
张德朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010519573.0A priority Critical patent/CN113783609B/en
Publication of CN113783609A publication Critical patent/CN113783609A/en
Application granted granted Critical
Publication of CN113783609B publication Critical patent/CN113783609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0791Fault location on the transmission path

Landscapes

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

Abstract

本发明公开了一种故障检测方法、装置、相关设备及存储介质。其中,所述方法包括:第一通信设备获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的偏振态(SOP)与所述第二通信设备产生的本振光信号的SOP之间的变化量;判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。

Figure 202010519573

The invention discloses a fault detection method, device, related equipment and storage medium. Wherein, the method includes: the first communication device acquires a first parameter; the first parameter represents the polarization state (SOP) of one optical signal among at least one optical signal received by the second communication device in the optical communication system and the The amount of variation between the SOPs of the local oscillator optical signals generated by the second communication device; judging whether the first parameter satisfies a preset condition, and obtaining a judging result; based on the judging result, determining the third communication in the optical communication system Whether the optical fiber on the current service link between the device and the second communication device fails.

Figure 202010519573

Description

故障检测方法、装置、相关设备及存储介质Fault detection method, device, related equipment and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种故障检测方法、装置、相关设备及存储介质。The present invention relates to the field of communication technology, in particular to a fault detection method, device, related equipment and storage medium.

背景技术Background technique

光通信系统中,为了保证光发送设备和光接收设备之间光信号能够正常传输,可以在光发送设备和光接收设备之间铺设光缆。通常,受外部天气环境和建设施工的影响,会导致光缆中的光纤发生故障,进而导致光发送设备和光接收设备之间的通信中断。目前,通过人为方式来检测光纤是否发生故障,由于检测不及时,因此会导致光发送设备和光接收设备之间的业务传输受到影响。In an optical communication system, in order to ensure normal transmission of optical signals between an optical sending device and an optical receiving device, an optical cable may be laid between the optical sending device and the optical receiving device. Usually, due to the influence of external weather environment and construction, the optical fiber in the optical cable will fail, and then the communication between the optical sending device and the optical receiving device will be interrupted. At present, it is artificially detected whether the optical fiber is faulty, and the service transmission between the optical sending device and the optical receiving device will be affected because the detection is not timely.

发明内容Contents of the invention

有鉴于此,本发明实施例期望提供一种故障检测方法、装置、相关设备及存储介质。In view of this, the embodiments of the present invention expect to provide a fault detection method, device, related equipment, and storage medium.

本发明实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present invention is realized like this:

本发明的至少一个实施例提供了一种故障检测方法,所述方法包括:At least one embodiment of the present invention provides a fault detection method, the method comprising:

获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的偏振态(SOP,State of Polarization)与所述第二通信设备产生的本振光信号的SOP之间的变化量;Obtaining a first parameter; the first parameter represents the polarization state (SOP, State of Polarization) of at least one optical signal received by the second communication device in the optical communication system and the polarization state (SOP, State of Polarization) generated by the second communication device. The amount of change between the SOPs of the vibro-optical signal;

判断所述第一参数是否满足预设条件,得到判断结果;judging whether the first parameter satisfies a preset condition, and obtaining a judging result;

基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。Based on the judgment result, it is determined whether the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system fails.

此外,根据本发明的至少一个实施例,所述获取第一参数,包括:In addition, according to at least one embodiment of the present invention, said obtaining the first parameter includes:

获取所述第二通信设备发送的第一参数;Acquiring a first parameter sent by the second communication device;

其中,所述第一参数是所述第二通信设备从所述第三通信设备接收到所述至少一路光信号之后,向所述第一通信设备发送的。Wherein, the first parameter is sent by the second communication device to the first communication device after receiving the at least one optical signal from the third communication device.

此外,根据本发明的至少一个实施例,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:In addition, according to at least one embodiment of the present invention, it is determined that the optical fiber on the current service link between the third communication device and the second communication device is faulty; the method further includes:

确定所述第二通信设备所在位置和所述第三通信设备所在位置之间的第一距离;determining a first distance between the location of the second communication device and the location of the third communication device;

利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Using the numerical value corresponding to the first parameter and the first distance, determine a fiber fault location on the current service link between the third communication device and the second communication device.

此外,根据本发明的至少一个实施例,所述利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置,包括:In addition, according to at least one embodiment of the present invention, using the value corresponding to the first parameter and the first distance to determine the distance between the third communication device and the second communication device on the current service link location of fiber optic faults, including:

将所述第一参数对应的数值与预设数值求差,得到差值;calculating the difference between the value corresponding to the first parameter and the preset value to obtain the difference;

将所述差值与所述预设数值求商,得到第一比值;Quotienting the difference with the preset value to obtain a first ratio;

基于所述第一比值和第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Based on the first ratio and the first distance, determine a fiber fault location on a current service link between the third communication device and the second communication device.

此外,根据本发明的至少一个实施例,所述方法还包括:In addition, according to at least one embodiment of the present invention, the method further includes:

获取第一参数满足预设条件的第一时长;Acquiring the first duration for which the first parameter satisfies the preset condition;

判断所述第一时长是否大于或等于预设时长;judging whether the first duration is greater than or equal to a preset duration;

当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备,以供所述第二通信设备进行故障告警。When it is determined that the first duration is greater than or equal to the preset duration, the determined optical fiber fault location is sent to the second communication device for the second communication device to issue a fault alarm.

此外,根据本发明的至少一个实施例,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:In addition, according to at least one embodiment of the present invention, it is determined that the optical fiber on the current service link between the third communication device and the second communication device is faulty; the method further includes:

向所述第二通信设备发送通知消息;所述通知消息用于指示所述第二通信设备开启备用业务链路,并通过所述备用业务链路接收所述第三通信设备发送的至少一路光信号。sending a notification message to the second communication device; the notification message is used to instruct the second communication device to start a backup service link, and receive at least one optical link sent by the third communication device through the backup service link Signal.

此外,根据本发明的至少一个实施例,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:In addition, according to at least one embodiment of the present invention, it is determined that the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system has a failure; the method further includes:

确定第一角度;所述第一角度用于对所述第二通信设备产生的本振光信号的SOP进行调整;determining a first angle; the first angle is used to adjust the SOP of the local oscillator optical signal generated by the second communication device;

生成第一信息;所述第一信息包含所述第一角度;generating first information; the first information includes the first angle;

将所述第一信息发送给所述第二通信设备;所述第一信息用于指示对所述第二通信设备产生的本振光信号的SOP进行调整,并利用调整后的本振光信号对所述至少一路光信号进行解调。sending the first information to the second communication device; the first information is used to instruct to adjust the SOP of the local oscillator optical signal generated by the second communication device, and use the adjusted local oscillator optical signal Demodulate the at least one optical signal.

本发明的至少一个实施例提供一种故障检测装置,包括:At least one embodiment of the present invention provides a fault detection device, comprising:

获取单元,用于获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;An acquisition unit, configured to acquire a first parameter; the first parameter represents the SOP of one optical signal among at least one optical signal received by the second communication device in the optical communication system and the local oscillator optical signal generated by the second communication device The amount of change between the SOP;

处理单元,用于判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。A processing unit, configured to judge whether the first parameter satisfies a preset condition, and obtain a judgment result; based on the judgment result, determine the current service link between the third communication device and the second communication device in the optical communication system Whether the optical fiber on the road is faulty.

本发明的至少一个实施例提供一种第一通信设备,包括:At least one embodiment of the present invention provides a first communication device, including:

通信接口,用于获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;A communication interface, configured to obtain a first parameter; the first parameter represents the SOP of one optical signal among at least one optical signal received by the second communication device in the optical communication system and the local oscillator optical signal generated by the second communication device The amount of change between the SOP;

处理器,用于判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。a processor, configured to judge whether the first parameter satisfies a preset condition, and obtain a judgment result; based on the judgment result, determine the current service link between the third communication device and the second communication device in the optical communication system Whether the optical fiber on the road is faulty.

本发明的至少一个实施例提供一种第一通信设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,At least one embodiment of the present invention provides a first communication device, including a processor and a memory for storing a computer program that can run on the processor,

其中,所述处理器用于运行所述计算机程序时,执行上述第一通信设备侧任一方法的步骤。Wherein, when the processor is configured to run the computer program, it executes the steps of any method on the first communication device side.

本发明的至少一个实施例提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。At least one embodiment of the present invention provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above methods are implemented.

本发明实施例提供的故障检测方法、装置、设备及存储介质,第一通信设备获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。采用本发明实施例的技术方案,第一通信设备能够基于第二通信设备接收的至少一路光信号中的一路光信号的SOP与本振光信号的SOP之间的变化量,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障,相对于相关技术中采用人为方式对光纤故障进行检测的方式相比,能够自动实现光纤的故障检测,而且检测更加及时,能够保证业务的正常传输。In the fault detection method, device, device, and storage medium provided by the embodiments of the present invention, the first communication device obtains a first parameter; the first parameter represents an optical signal in at least one optical signal received by a second communication device in an optical communication system. The amount of change between the SOP of the signal and the SOP of the local oscillator optical signal generated by the second communication device; judging whether the first parameter satisfies a preset condition, and obtaining a judging result; based on the judging result, determining the optical Whether the optical fiber on the current service link between the third communication device and the second communication device in the communication system fails. By adopting the technical solution of the embodiment of the present invention, the first communication device can determine the third Whether the optical fiber on the current service link between the communication device and the second communication device is faulty, compared with the method of detecting the optical fiber fault in the related art, the fault detection of the optical fiber can be automatically realized, and the detection It is more timely and can ensure the normal transmission of services.

附图说明Description of drawings

图1是本发明实施例故障检测方法的实现流程示意图;Fig. 1 is the realization flowchart of the fault detection method of the embodiment of the present invention;

图2是本发明实施例光通信系统的示意图;2 is a schematic diagram of an optical communication system according to an embodiment of the present invention;

图3是本发明实施例确定第三通信设备和第二通信设备之间当前业务链路上的光纤故障位置的实现流程示意图;3 is a schematic diagram of an implementation process for determining the location of a fiber fault on the current service link between the third communication device and the second communication device according to an embodiment of the present invention;

图4是本发明实施例将光纤故障位置发送给第二通信设备的实现流程示意图;Fig. 4 is a schematic diagram of an implementation flow of sending the fiber fault location to the second communication device according to the embodiment of the present invention;

图5是本发明实施例通知第二通信设备开启备用业务链路的实现流程示意图;Fig. 5 is a schematic diagram of an implementation process of notifying the second communication device to enable the standby service link according to an embodiment of the present invention;

图6是本发明实施例第二通信设备开启备用业务链路的示意图;6 is a schematic diagram of a second communication device enabling a backup service link according to an embodiment of the present invention;

图7是本发明实施例通知第二通信设备对本振光的SOP进行调整的实现流程示意图;Fig. 7 is a schematic diagram of an implementation process of notifying the second communication device to adjust the SOP of the local oscillator according to an embodiment of the present invention;

图8是本发明实施例故障检测装置的组成结构示意图;Fig. 8 is a schematic diagram of the composition and structure of a fault detection device according to an embodiment of the present invention;

图9是本发明实施例故障检测系统的组成结构示意图;9 is a schematic diagram of the composition and structure of the fault detection system according to the embodiment of the present invention;

图10为本发明实施例第一通信设备的组成结构示意图。Fig. 10 is a schematic diagram of the composition and structure of the first communication device according to the embodiment of the present invention.

具体实施方式Detailed ways

在对本发明实施例的技术方案进行介绍之前,先对相关技术进行说明。Before introducing the technical solutions of the embodiments of the present invention, the related technologies will be described first.

相关技术中,光纤作为光传输系统的物理层介质,是整个光通信系统的基础。伴随着光网络技术的发展和应用的拓展,海量光纤已经被敷设于各种环境之中。随着网络结构日益复杂,网络动态重构越来越频密,在线光缆资源以及暗光纤的管理也变得越来越重要。因此光纤状况是否正常是网络运行稳定性的重要保障。目前,受外部天气环境,如洪水、地震、泥石流等恶劣天气,以及基建施工、人为破坏都会造成光缆/光纤被冲断、挖断的发生,导致通信中断。光缆中断事故中,因工程施工导致光缆被人为挖断的比例超过60%,远超于自然灾害、光缆自身老化造成的中断,因此如何有效预防因工程施工导致光缆中断的发生,是业界关注的技术。相关技术中,由维护人员使用仪表操作进行测试,进行光纤断点定位,再派出维护人员进行光缆抢修,导致光缆中断时间较长,会导致业务受到影响,严重时会造成业务中断。In related technologies, an optical fiber is used as a physical layer medium of an optical transmission system, and is the basis of an entire optical communication system. With the development of optical network technology and the expansion of applications, massive optical fibers have been laid in various environments. As the network structure becomes increasingly complex and dynamic network reconfiguration becomes more frequent, the management of online optical cable resources and dark optical fiber becomes more and more important. Therefore, whether the optical fiber is in normal condition is an important guarantee for the stability of network operation. At present, due to external weather conditions, such as severe weather such as floods, earthquakes, and debris flows, as well as infrastructure construction and man-made sabotage, optical cables/optical fibers will be punched and dug, resulting in communication interruptions. In the optical cable interruption accidents, the proportion of optical cables being dug artificially due to engineering construction exceeds 60%, far exceeding the interruption caused by natural disasters and the aging of the optical cable itself. Therefore, how to effectively prevent the occurrence of optical cable interruptions caused by engineering construction is of concern to the industry technology. In related technologies, maintenance personnel use instruments to perform tests, locate optical fiber breakpoints, and then send maintenance personnel to repair optical cables, resulting in long interruptions of optical cables, which will affect services, and even cause service interruptions in severe cases.

基于此,在本发明实施例中,获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。Based on this, in the embodiment of the present invention, the first parameter is obtained; the first parameter represents the SOP of at least one optical signal received by the second communication device in the optical communication system and the generation of the second communication device. The amount of change between the SOPs of the local oscillator optical signal; judging whether the first parameter meets a preset condition, and obtaining a judging result; based on the judging result, determining the third communication device and the first communication device in the optical communication system Whether the optical fiber on the current service link between the two communication devices fails.

下面结合附图及实施例对本发明再作进一步详细的描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

本发明实施例提供了一种故障检测方法,如图1所示,所述方法包括:The embodiment of the present invention provides a fault detection method, as shown in Figure 1, the method includes:

步骤101:获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;Step 101: Obtain a first parameter; the first parameter represents the SOP of one optical signal among at least one optical signal received by the second communication device in the optical communication system and the SOP of the local oscillator optical signal generated by the second communication device the amount of change between;

步骤102:判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。Step 102: Judging whether the first parameter satisfies a preset condition, and obtaining a judging result; based on the judging result, determining whether the current service link between the third communication device and the second communication device in the optical communication system is whether the optical fiber is faulty.

这里,所述第二通信设备可以是指光通信系统中能够接收所述第三通信设备发送的至少一路光信号的设备。所述第三通信设备可以是指光通信系统中能够向所述第二通信设备发送至少一路光信号的设备。Here, the second communication device may refer to a device in an optical communication system capable of receiving at least one optical signal sent by the third communication device. The third communication device may refer to a device capable of sending at least one optical signal to the second communication device in an optical communication system.

这里,在步骤101中,实际应用时,所述第三通信设备,可以用于生成所述至少一路光信号,并采用外调制方式对所述至少一路光信号进行调制,将调制后的所述至少一路光信号发送给所述第二通信设备。所述第二通信设备,用于接收所述至少一路光信号;为了提高信噪比性能,可以利用自身产生的本振光信号和接收的至少一路光信号进行相干检测,得到解调后的至少一路光信号,同时,还可以检测所述至少一路光信号中任意一路光信号的SOP,并计算任意一路光信号的SOP与第二通信设备产生的本振光信号的SOP之间的变化量,将计算的变化量上报给所述第一通信设备。所述第一通信设备,用于获取所述第二通信设备上报的所述变化量,并基于所述变化量,确定所述第二通信设备和第三通信设备之间当前业务链路上的光纤是否发生故障。所述变化量可以是指所述第二通信设备接收的至少一路光信号中的一路光信号的SOP与本振光信号的SOP之间的差值。由于SOP的检测可以通过提取信号的stock矢量,根据提取的stock矢量计算偏振度(DOP,Degree ofPolarization)来实现,因此,所述变化量还可以是指所述第二通信设备接收的至少一路光信号中的一路光信号的DOP与本振光信号的DOP之间的差值。Here, in step 101, in actual application, the third communication device may be configured to generate the at least one optical signal, and modulate the at least one optical signal by using an external modulation method, and convert the modulated At least one optical signal is sent to the second communication 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, it can use the local oscillator optical signal generated by itself and the received at least one optical signal to perform coherent detection, and obtain at least one optical signal after demodulation One optical signal, at the same time, can also detect the SOP of any optical signal in the at least one optical signal, and calculate the variation between the SOP of any optical signal and the SOP of the local oscillator optical signal generated by the second communication device, Reporting the calculated variation to the first communication device. The first communication device is configured to acquire the change amount reported by the second communication device, and determine the current service link between the second communication device and the third communication device based on the change amount Whether the fiber is faulty. The change amount may refer to a difference between the SOP of one optical signal of the at least one optical signal received by the second communication device and the SOP of the local oscillator optical signal. Since the detection of the SOP can be realized by extracting the stock vector of the signal and calculating the degree of polarization (DOP, Degree of Polarization) according to the extracted stock vector, the amount of change can also refer to at least one path of light received by the second communication device The difference between the DOP of one optical signal in the signal and the DOP of the local oscillator optical signal.

这里,在步骤102中,实际应用时,本振光可以是指第二通信设备产生的一束激光,该激光作为参考信号时称该激光为本振光。若所述第二通信设备与所述第三通信设备之间当前业务链路上的光纤未发生故障,则第二通信设备接收的至少一路光信号中任意一路光信号的SOP与自身产生的本振光信号的SOP之间的变化量落入正常取值范围内;若所述当前业务链路上的光纤发生故障,由于第二通信设备接收的至少一路光信号中任意一路光信号的SOP会随着光纤发生故障而产生变化,而本振光信号的SOP不会随着光纤发生故障而产生变化,因此第二通信设备接收的至少一路光信号中任意一路光信号的SOP与本振光信号的SOP之间的变化量会超出正常取值范围,这样,可以基于第二通信设备接收的至少一路光信号中的一路光信号的SOP与本振光信号的SOP的变化量,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。Here, in step 102, in practical application, the local oscillator light may refer to a beam of laser light generated by the second communication device, and when the laser light is used as a reference signal, the laser light is referred to as local oscillator light. If the optical fiber on the current service link between the second communication device and the third communication device is not faulty, the SOP of any one of the at least one optical signal received by the second communication device and the original signal generated by itself The amount of change between the SOPs of the vibration-optical signals falls within the normal range of values; if the optical fiber on the current service link fails, the SOP of any one of the at least one optical signal received by the second communication device will change. It will change with the failure of the optical fiber, but the SOP of the local oscillator optical signal will not change with the failure of the optical fiber. The amount of change between the SOPs will exceed the normal value range. In this way, the SOP of the optical signal of the at least one optical signal received by the second communication device and the SOP of the local oscillator optical signal can be determined. Whether the optical fiber on the current service link between the third communication device and the second communication device fails.

其中,通常,一路光信号的SOP与光纤纤芯的椭圆程度密切相关,如果光纤纤芯端面的椭圆程度不发生变化,则该路光信号的SOP也不会发生变化;但是,当外界环境对所述第二通信设备和所述第三通信设备之间铺设的光缆造成不同程度的影响时,会使光缆中的光纤受到挤压,进而使光纤端面发生变形,最终使第二通信设备接收的至少一路光信号中任意一路光信号的SOP与本振光信号的SOP之间的变化量会超出正常取值范围。外界环境的影响,包括:地面施工对所述第二通信设备和所述第三通信设备之间铺设的地埋光缆造成的影响,火车经过时的振动对所述第二通信设备和所述第三通信设备之间沿铁路铺设的光缆造成的影响,海浪拍击对所述第二通信设备和所述第三通信设备之间铺设的海底光缆造成的影响,大风对所述第二通信设备和所述第三通信设备之间铺设的架空光缆造成的影响。Among them, usually, the SOP of one optical signal is closely related to the degree of ellipse of the fiber core. If the degree of ellipse of the end face of the fiber core does not change, the SOP of the optical signal will not change; however, when the external environment When the optical cable laid between the second communication device and the third communication device is affected to different degrees, the optical fiber in the optical cable will be squeezed, and then the end face of the optical fiber will be deformed, and finally the second communication device will receive the The variation between the SOP of any optical signal of at least one optical signal and the SOP of the local oscillator optical signal exceeds a normal value range. The impact of the external environment includes: the impact of ground construction on the buried optical cable laid between the second communication device and the third communication device, the vibration of the train passing by the second communication device and the third communication device The influence caused by the optical cable laid along the railway between the three communication devices, the impact caused by the waves hitting the submarine optical cable laid between the second communication device and the third communication device, the strong wind on the second communication device and the third communication device The impact caused by the overhead optical cables laid between the third communication devices.

实际应用时,所述第二通信设备接收到所述第三通信设备发送的至少一路光信号后,检测所述至少一路光信号中任意一路光信号的SOP,并计算检测的一路光信号的SOP与第二通信设备产生的本振光信号的SOP之间的变化量,将计算的变化量上报给所述第一通信设备,以供所述第一通信设备判断第二通信设备与第三通信设备之间当前业务链路上的光纤是否发生故障。In practical applications, after the second communication device receives at least one optical signal sent by the third communication device, it detects the SOP of any optical signal in the at least one optical signal, and calculates the SOP of the detected optical signal The change amount between the SOP of the local oscillator optical signal generated by the second communication device and the calculated change amount are reported to the first communication device, so that the first communication device can judge whether the second communication device communicates with the third communication device. Check whether the fiber on the current service link between devices is faulty.

基于此,在一实施例中,所述获取第一参数,包括:Based on this, in an embodiment, the acquiring the first parameter includes:

获取所述第二通信设备发送的第一参数;Acquiring a first parameter sent by the second communication device;

其中,所述第一参数是所述第二通信设备从所述第三通信设备接收到所述至少一路光信号之后,向所述第一通信设备发送的。Wherein, the first parameter is sent by the second communication device to the first communication device after receiving the at least one optical signal from the third communication device.

其中,所述至少一路光信号可以是指波长不同的至少一路光信号。Wherein, the at least one optical signal may refer to at least one optical signal with different wavelengths.

这里,所述第一通信设备获取第二通信设备发送的第一参数后,判断所述第一参数对应的数值是否落入正常取值范围内,若确定所述第一参数对应的数值未落入正常取值范围内,则确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生了故障。Here, after the first communication device obtains the first parameter sent by the second communication device, it judges whether the value corresponding to the first parameter falls within the normal value range, and if it is determined that the value corresponding to the first parameter does not fall is within the normal value range, it is determined that the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system has a fault.

以图2所示的光通信系统为例,描述第一通信设备获取第一参数的过程以及基于所述第一参数确定所述第三通信设备和第二通信设备之间当前业务链路上的光纤是否发生故障的过程,具体如下:Taking the optical communication system shown in FIG. 2 as an example, the process of obtaining the first parameter by the first communication device and determining the current service link between the third communication device and the second communication device based on the first parameter are described. The process of whether the optical fiber is faulty is as follows:

如图2所示,光通信系统包括:光收发设备A、光收发设备B和管理平台;光收发设备A对应所述第三通信设备,光收发设备B对应所述第二通信设备,管理平台对应所述第一通信设备;其中,As shown in Figure 2, the optical communication system includes: an optical transceiver device A, an optical transceiver device 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 Corresponding to the first communication device; wherein,

光收发设备A,包括光收发单元A1、光收发单元A2,……,光收发单元An,和合波器(OM)。其中,光收发单元A1、光收发单元A2,……,光收发单元An用于产生波长不同的N路光信号;合波器(OM)用于采用外调制方式,将所述N路光信号调制到光载波上传输给光收发设备B。The optical transceiver device A includes an optical transceiver unit A1, an optical transceiver unit A2, . . . , an optical transceiver unit An, and a multiplexer (OM). Wherein, the optical transceiver unit A1, the optical transceiver unit A2, ..., the optical transceiver unit An are used to generate N optical signals with different wavelengths; It is modulated onto an optical carrier and transmitted to optical transceiver device B.

光收发设备B,包括光收发单元B1、光收发单元B2,……,光收发单元Bn,和分波器(OD)。其中,分波器(OD)用于将接收的N路光信号按照波长进行分离;光收发单元B1、光收发单元B2,……,光收发单元Bn中之一用于计算分离后的一路光信号的SOP与本振光信号的SOP之间的差值,将计算的差值上报给所述管理平台;同时,还用于将分离后的一路光信号与本振光信号进行相干耦合,对耦合后的信号进行相干探测。相干耦合可以是指对分离后的一路光信号和本振光信号进行混频得到中频信号,相干检测可以是指利用相干耦合得到的中频信号,对所述一路光信号进行解调,得到解调后的光信号。The optical transceiver device B includes an optical transceiver unit B1, an optical transceiver unit B2, . . . , an optical transceiver unit Bn, and a demultiplexer (OD). Among them, the demultiplexer (OD) is used to separate the received N optical signals according to the wavelength; the optical transceiver unit B1, the optical transceiver unit B2, ..., one of the optical transceiver units Bn is used to calculate the separated optical signal The difference between the SOP of the signal and the SOP of the local oscillator optical signal, and report the calculated difference to the management platform; at the same time, it is also used to coherently couple the separated optical signal and the local oscillator optical signal to The coupled signals are coherently detected. Coherent coupling can refer to mixing the separated optical signal and local oscillator optical signal to obtain an intermediate frequency signal, and coherent detection can refer to demodulating the optical signal by using the intermediate frequency signal obtained by coherent coupling to obtain a demodulated after the optical signal.

管理平台,用于接收所述光收发设备B的光收发单元B1、光收发单元B2,……,光收发单元Bn中之一上报的所述差值,判断所述差值是否满足预设条件;当所述差值满足预设条件时,确定所述光收发设备A与光收到设备B之间当前业务链路上的光纤发生了故障。The management platform is configured to receive the difference value reported by one of the optical transceiver unit B1, optical transceiver unit B2, ..., optical transceiver unit Bn of the optical transceiver device B, and determine whether the difference value satisfies a preset condition ; When the difference satisfies the preset condition, it is determined that the optical fiber on the current service link between the optical transceiver device A and the optical receiving device B has a fault.

其中,若所述光收发设备A与光收发设备B之间当前业务链路上的光纤未发生故障,则光收发设备B接收到的至少一路光信号中任意一路光信号的SOP与本振光信号的SOP的差值处于平衡状态,即至少一路光信号中任意一路光信号的SOP与本振光信号的SOP的差值处于正常取值范围,例如,所述本振光信号的SOP为10°,一路光信号的SOP为50°,所述差值=50°-10°=40°,处于正常取值范围(0,60°)内。若所述光收发设备A与光收到设备B之间业务链路1上的光纤受到外力施工的持续地、非正常挤压侵扰,则至少一路光信号中任意一路光信号的SO与本振光的SOP之间的变化量会发生变化,即,至少一路光信号中任意一路光信号的SOP与本振光信号的SOP的差值会超出正常取值范围,例如,所述本振光信号的SOP为10°,一路光信号的SOP为80°,所述差值=80°-10°=70°,该差值超出正常取值范围(0,60°)。Wherein, if the optical fiber on the current service link between the optical transceiver device A and the optical transceiver device B does not fail, the SOP and local oscillator optical signal of any one of the at least one optical signal received by the optical transceiver device B The SOP difference of the signal is in a balanced state, that is, the difference between the SOP of any one of the optical signals in at least one optical signal and the SOP of the local oscillator optical signal is in the normal value range, for example, the SOP of the local oscillator optical signal is 10 °, the SOP of one optical signal is 50°, the difference=50°−10°=40°, which is within the normal value range (0, 60°). If the optical fiber on the service link 1 between the optical transceiver device A and the optical receiving device B is continuously and abnormally squeezed by external forces, the SO and local oscillator of any optical signal in at least one optical signal The amount of change between the optical SOPs will change, that is, the difference between the SOP of any optical signal in at least one optical signal and the SOP of the local oscillator optical signal will exceed the normal value range, for example, the local oscillator optical signal The SOP of the optical signal is 10°, the SOP of one optical signal is 80°, the difference=80°−10°=70°, and the difference exceeds the normal value range (0, 60°).

实际应用时,若所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤因外力干扰如建设施工等发生故障,则所述第二通信设备接收的至少一路光信号中任意一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量会超出正常取值范围,且所述变化量随着光信号的传输距离的增加呈线性增加,因此,可以基于所述第三通信设备所在位置和所述第二通信设备所在位置之间的距离,以及所述第一参数,推算出因外力干扰导致光纤发生故障的位置。In actual application, if the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system fails due to external force interference such as construction, the second communication device receives The amount of change between the SOP of any optical signal in at least one optical signal and the SOP of the local oscillator optical signal generated by the second communication device will exceed the normal value range, and the amount of change will increase with the transmission distance of the optical signal increases linearly, therefore, based on the distance between the location of the third communication device and the location of the second communication device, and the first parameter, the location where the optical fiber fails due to external force interference can be deduced .

基于此,在一实施例中,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:Based on this, in an embodiment, it is determined that the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system fails; the method further includes:

确定所述第二通信设备所在位置和所述第三通信设备所在位置之间的第一距离;determining a first distance between the location of the second communication device and the location of the third communication device;

利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Using the numerical value corresponding to the first parameter and the first distance, determine a fiber fault location on the current service link between the third communication device and the second communication device.

具体地,所述利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置,包括:Specifically, using the value corresponding to the first parameter and the first distance to determine the fiber fault location on the current service link between the third communication device and the second communication device includes:

将所述第一参数对应的数值与预设数值求差,得到差值;calculating the difference between the value corresponding to the first parameter and the preset value to obtain the difference;

将所述差值与所述预设数值求商,得到第一比值;Quotienting the difference with the preset value to obtain a first ratio;

基于所述第一比值和第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Based on the first ratio and the first distance, determine a fiber fault location on a current service link between the third communication device and the second communication device.

其中,所述预设数值可以是指光纤未发生故障时所述变化量所处的正常取值范围的最大值。Wherein, the preset value may refer to the maximum value of the normal value range of the change amount when no fault occurs in the optical fiber.

在一示例中,如图3所示,描述确定第三通信设备和第二通信设备之间当前业务链路上的光纤故障位置的过程,包括:In an example, as shown in FIG. 3 , the process of determining the location of an optical fiber fault on the current service link between the third communication device and the second communication device is described, including:

步骤301:第一通信设备获取第二通信设备发送的第一参数;当所述第一参数满足预设条件时,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生了故障。Step 301: The first communication device obtains the first parameter sent by the second communication device; when the first parameter meets a preset condition, determine the current service link between the third communication device and the second communication device The fiber optics on have failed.

这里,所述第一参数表征所述第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量。Here, the first parameter characterizes the amount of change between the SOP of the at least one optical signal received by the second communication device and the SOP of the local oscillator optical signal generated by the second communication device.

这里,可以按照公式(1)计算所述第一参数对应的数值。Here, the numerical value corresponding to the first parameter may be calculated according to formula (1).

A1=S1-S2  (1)A1=S1-S2 (1)

其中,A1表示所述第一参数对应的数值;S1表示第二通信设备接收的至少一路光信号中的一路光信号的SOP;S2表示第二通信设备产生的本振光信号的SOP。Wherein, A1 represents the value corresponding to the first parameter; S1 represents the SOP of 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.

步骤302:第一通信设备确定所述第二通信设备和第三通信设备之间的第一距离;基于所述第一参数对应的数值和所述第一距离,确定光纤故障位置。Step 302: The first communication device determines a first distance between the second communication device and the third communication device; based on the value corresponding to the first parameter and the first distance, determine the location of the fiber fault.

这里,可以按照公式(2)计算所述光纤故障位置。Here, the optical fiber fault location can be calculated according to formula (2).

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

其中,L2为光纤故障位置与所述第二通信设备所处位置之间的距离;A1表示所述变化量;Z表示光纤未发生故障时所述变化量所处的正常取值范围的最大值,即所述预设数值;L1表示所述第二通信设备和所述第三通信设备之间的第一距离。Wherein, L2 is the distance between the fault location of the optical fiber and the location of the second communication device; A1 represents the change amount; Z represents the maximum value of the normal value range of the change amount when the fiber does not fail , that is, the preset value; L1 represents a first distance between the second communication device and the third communication device.

需要说明的是,若所述第二通信设备除了可以接收所述第三通信设备发送的至少一路光信号外,还可以向所述第三通信设备发送至少一路光信号,则所述第三通信设备可以检测接收的至少一路光信号中任意一路光信号的SOP与所述第三通信设备产生的本振光信号的SOP之间的变化量,如此,所述第一通信设备可以获取第三通信设备上报的所述变化量,并基于所述变化量和所述第一距离,确定所述光纤故障位置,具体实现过程与按照第一参数确定光纤故障位置的过程相同,在此不再赘述。这里,当光纤发生故障后,由于光信号的SOP会随着传输距离的增加会呈线性增加,因此,当光纤故障位置距离第二通信设备较近时,所述第二通信设备检测的SOP的变化量相对于所述第三通信设备检测的SOP的变化量较小。It should be noted that if the second communication device can not only receive at least one optical signal sent by the third communication device, but also send at least one optical signal to the third communication device, the third communication The device can detect the amount of change between the SOP of any optical signal in the received at least one optical signal and the SOP of the local oscillator optical signal generated by the third communication device, so that the first communication device can obtain the third communication The variation reported by the device, and based on the variation and the first distance, determine the location of the fiber fault. The specific implementation process is the same as the process of determining the location of the fiber failure according to the first parameter, and will not be repeated here. Here, when the optical fiber fails, since the SOP of the optical signal increases linearly with the increase of the transmission distance, when the optical fiber fault location is relatively close to the second communication device, the SOP of the second communication device detects The amount of change is relatively small relative to the amount of change of the SOP detected by the third communication device.

这里,基于所述第一参数对光纤故障位置进行定位,具体以下优点:Here, locating the fiber fault location based on the first parameter has the following advantages:

将外力侵扰导致所述第二通信设备和第三通信设备之间当前业务链路上的光纤端面变形,和光纤端面变形导致第二通信设备接收的至少一路光信号中任意一路光信号的SOP发生变化进行关联,并通过检测第二通信设备接收的至少一路光信号中任意一路光信号的SOP与第二通信设备产生的本振光信号的SOP之间的变化量是否超出正常取值范围,判断光纤是否发生中断,当确定光纤发生中断时,对光纤故障位置进行定位,从而能够提前对光纤中断进行预警。The external force intrusion causes the deformation of the end face of the optical fiber on the current service link between the second communication device and the third communication device, and the deformation of the end face of the optical fiber causes the SOP of any one of the at least one optical signal received by the second communication device to occur. Changes are correlated, and by detecting whether the SOP of any one of the optical signals received by the second communication device and the SOP of the local oscillator optical signal generated by the second communication device exceeds the normal value range, determine Whether the optical fiber is interrupted, when it is determined that the optical fiber is interrupted, locate the fault location of the optical fiber, so as to give early warning of the optical fiber interruption.

实际应用时,若所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤因外力干扰如建设施工等发生故障,则所述第一通信设备推算出因外力干扰导致光纤发生故障的位置后,为避免光纤发生中断,可以将光纤故障位置发送给第二通信设备,以供第二通信设备进行故障告警。In practical applications, if the optical fiber on the current service link between the third communication device and the second communication device fails due to external force interference such as construction, the first communication device deduces that it is caused by external force interference. After the location of the fiber failure, in order to avoid interruption of the fiber, the location of the fiber failure may be sent to the second communication device for the second communication device to issue a fault alarm.

基于此,在一实施例中,所述方法还包括:Based on this, in an embodiment, the method further includes:

获取第一参数满足预设条件的第一时长;Acquiring the first duration for which the first parameter satisfies the preset condition;

判断所述第一时长是否大于或等于预设时长;judging whether the first duration is greater than or equal to a preset duration;

当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备,以供所述第二通信设备进行故障告警。When it is determined that the first duration is greater than or equal to the preset duration, the determined optical fiber fault location is sent to the second communication device for the second communication device to issue a fault alarm.

这里,实际应用时,考虑到有些外力对光纤的侵扰不是持续性的,例如,大风对光纤的侵扰的时长可能较短,这样,在大风停止对光纤侵扰后,在当前业务链路上传输的业务可能不会受到太大影响;但是,有些外力对光纤的侵扰是持续性的,例如,建设施工对光纤的侵扰的时长可能较长,这样,若任由建设施工不断对光纤进行侵扰,则在当前业务链路上传输的业务会受到很大影响,因此,所述第一通信设备可以判断第一参数满足预设条件的第一时长是否大于或等于预设时长,当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备,以供所述第二通信设备进行故障告警,从而避免光纤发生中断,从而保证业务的正常传输。Here, in practical application, it is considered that some external force’s intrusion on optical fiber is not continuous. For example, the duration of strong wind’s intrusion on optical fiber may be relatively short. The business may not be greatly affected; however, some external forces intrude on the optical fiber continuously. The service transmitted on the current service link will be greatly affected. Therefore, the first communication device may determine whether the first duration for which the first parameter satisfies the preset condition is greater than or equal to the preset duration. When determining that the first When the duration is greater than or equal to the preset duration, the determined location of the fiber failure is sent to the second communication device for the second communication device to issue a fault alarm, thereby avoiding interruption of the fiber and ensuring normal transmission of services.

在一示例中,如图4所示,描述将光纤故障位置发送给第二通信设备的过程,包括:In an example, as shown in FIG. 4, the process of sending the fiber fault location to the second communication device is described, including:

步骤401:第一通信设备获取第二通信设备发送的第一参数;当所述第一参数满足预设条件时,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生了故障。Step 401: The first communication device obtains the first parameter sent by the second communication device; when the first parameter meets a preset condition, determine the current service link between the third communication device and the second communication device The fiber optics on have failed.

步骤402:第一通信设备确定所述第二通信设备和第三通信设备之间的第一距离;基于所述第一参数对应的数值和所述第一距离,确定光纤故障位置。Step 402: The first communication device determines a first distance between the second communication device and the third communication device; based on the value corresponding to the first parameter and the first distance, determine the location of the fiber fault.

步骤403:第一通信设备获取第一参数满足预设条件的第一时长;当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备。Step 403: The first communication device acquires a first time period during which the first parameter satisfies a preset condition; when determining that the first time period is greater than or equal to the preset time period, the determined fiber fault location is sent to the second communication device.

这里,所述第二通信设备接收到所述光纤故障位置后,可以在显示界面显示所述光纤故障位置,以供维护人员及时联系相关人员进行抢修,或者,将受影响的光缆替换为备用光缆。Here, after the second communication device receives the location of the fiber failure, it can display the location of the fiber failure on the display interface, so that maintenance personnel can contact relevant personnel for emergency repairs in time, or replace the affected optical cable with a spare optical cable .

这里,将光纤故障位置发送给第二通信设备,具体以下优点:Here, sending the fiber fault location to the second communication device has the following advantages:

当因外力施工导致当前业务链路上的光纤发生故障时,第二通信设备能够提前产生预警信号并发出光纤故障位置信息,以告知网络运维人员采取相应应急方案,并联系施工单位暂停施工,避免光缆中光纤被挖断,从而保证业务正常传输。When the optical fiber on the current service link fails due to external force construction, the second communication device can generate an early warning signal in advance and send out the location information of the optical fiber failure to inform the network operation and maintenance personnel to take a corresponding emergency plan and contact the construction unit to suspend the construction. Avoid cutting the optical fiber in the optical cable, so as to ensure the normal transmission of services.

实际应用时,若所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤因外力干扰发生故障,则所述第一通信设备推算出因外力干扰导致光纤发生故障的位置后,为避免业务传输发生中断,可以告知第二通信设备开启备用业务链路进行业务传输。In practical applications, if the optical fiber on the current service link between the third communication device and the second communication device fails due to external force interference, the first communication device calculates the probability that the optical fiber fails due to external force interference After the location, in order to avoid interruption of service transmission, the second communication device may be notified to enable a backup service link for service transmission.

基于此,在一实施例中,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:Based on this, in an embodiment, it is determined that the optical fiber on the current service link between the third communication device and the second communication device fails; the method further includes:

向所述第二通信设备发送通知消息;所述通知消息用于指示所述第二通信设备开启备用业务链路,并通过所述备用业务链路接收所述第三通信设备发送的至少一路光信号。sending a notification message to the second communication device; the notification message is used to instruct the second communication device to start a backup service link, and receive at least one optical link sent by the third communication device through the backup service link Signal.

这里,实际应用时,所述第三通信设备可以通过主用业务链路和备用业务链路向第二通信设备发送至少一路光信号,当所述第三通信设备和所述第二通信设备之间当前业务链路即主用业务链路上的光纤未发生故障时,所述第二通信设备通过主用业务链路接收所述至少一路光信号,备用业务链路保持关断状态;当所述第三通信设备和所述第二通信设备之间当前业务链路即主用业务链路上的光纤发生故障时,所述第二通信设备通过备用业务链路接收所述至少一路光信号,备用业务链路保持开启状态。Here, in actual application, the third communication device may send at least one optical signal to the second communication device through the main service link and the backup service link, when the connection between the third communication device and the second communication device When the current service link, that is, the optical fiber on the main service link does not fail, the second communication device receives the at least one optical signal through the main service link, and the standby service link remains in the off state; when all When the current service link between the third communication device and the second communication device, that is, the optical fiber on the main service link fails, the second communication device receives the at least one optical signal through the backup service link, The standby service link remains open.

在一示例中,如图5所示,描述通知第二通信设备开启备用业务链路的过程,包括:In an example, as shown in FIG. 5 , the process of notifying the second communication device to enable the standby service link is described, including:

步骤501:第一通信设备获取第二通信设备发送的第一参数;当所述第一参数满足预设条件时,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生了故障。Step 501: The first communication device obtains the first parameter sent by the second communication device; when the first parameter meets a preset condition, determine the current service link between the third communication device and the second communication device The fiber optics on have failed.

步骤502:第一通信设备向所述第二通信设备发送通知消息;所述通知消息用于指示所述第二通信设备开启备用业务链路,并通过所述备用业务链路接收所述第三通信设备发送的至少一路光信号。Step 502: The first communication device sends a notification message to the second communication device; the notification message is used to instruct the second communication device to start a backup service link, and receive the third communication device through the backup service link. At least one optical signal sent by the communication device.

如图6所述,当所述第三通信设备和所述第二通信设备之间当前业务链路即主用业务链路上的光纤未发生故障时,主用业务链路保持开启状态,备用业务链路保持关断状态,所述第二通信设备通过主用业务链路接收所述至少一路光信号。当所述第三通信设备和所述第二通信设备之间当前业务链路即主用业务链路上的光纤发生故障时,备用业务链路保持开启状态,所述第二通信设备通过备用业务链路接收所述至少一路光信号。As shown in Figure 6, when the current service link between the third communication device and the second communication device, that is, the optical fiber on the main service link, does not fail, the main service link remains open, and the standby The 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 between the third communication device and the second communication device, that is, the main service link, fails, the backup service link remains open, and the second communication device passes the backup service The link receives the at least one optical signal.

这里,通知第二通信设备开启备用业务链路,具体以下优点:Here, informing the second communication device to enable the standby service link has the following 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 The impact and loss of the services transmitted on the service links are minimized.

实际应用时,若所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤因外力干扰发生故障,则所述第一通信设备可以推算出第二通信设备对自身产生的本振光的SOP进行调整的角度,为保证第二通信设备对接收的至少一路光信号进行相干检测的灵敏度,可以告知第二通信设备对本振光的SOP进行调整。In practical applications, if the optical fiber on the current service link between the third communication device and the second communication device fails due to external force interference, the first communication device can infer that the second communication device has a In order to ensure the sensitivity of coherent detection of at least one optical signal received by the second communication device, the second communication device may be notified to adjust the SOP of the local oscillator.

基于此,在一实施例中,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;所述方法还包括:Based on this, in an embodiment, it is determined that the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system fails; the method further includes:

确定第一角度;所述第一角度用于对所述第二通信设备产生的本振光信号的SOP进行调整;determining a first angle; the first angle is used to adjust the SOP of the local oscillator optical signal generated by the second communication device;

生成第一信息;所述第一信息包含所述第一角度;generating first information; the first information includes the first angle;

将所述第一信息发送给所述第二通信设备;所述第一信息用于指示对所述第二通信设备产生的本振光信号的SOP进行调整,并利用调整后的本振光信号对所述至少一路光信号进行解调。sending the first information to the second communication device; the first information is used to instruct to adjust the SOP of the local oscillator optical signal generated by the second communication device, and use the adjusted local oscillator optical signal Demodulate the at least one optical signal.

在一示例中,如图7所示,描述通知第二通信设备对本振光的SOP进行调整的过程,包括:In an example, as shown in FIG. 7 , the process of notifying the second communication device to adjust the SOP of the local oscillator is described, including:

步骤701:第一通信设备获取第二通信设备发送的第一参数;当所述第一参数满足预设条件时,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生了故障。Step 701: The first communication device obtains the first parameter sent by the second communication device; when the first parameter meets a preset condition, determine the current service link between the third communication device and the second communication device The fiber optics on have failed.

步骤702:第一通信设备确定第一角度;生成第一信息;所述第一信息包含所述第一角度;将所述第一信息发送给所述第二通信设备;Step 702: the first communication device determines a first angle; generates first information; the first information includes the first angle; sends the first information to the second communication device;

其中,所述第一角度用于对所述第二通信设备产生的本振光信号的SOP进行调整;所述第一信息用于指示对所述第二通信设备产生的本振光信号的SOP进行调整,并利用调整后的本振光信号对所述至少一路光信号进行解调。Wherein, the first angle is used to adjust the SOP of the local oscillator optical signal generated by the second communication device; the first information is used to indicate the SOP of the local oscillator optical signal generated by the second communication device performing adjustment, and using the adjusted local oscillator optical signal to demodulate the at least one optical signal.

这里,通知第二通信设备对本振光的SOP进行调整,具备以下优点:Here, notifying the second communication device to adjust the SOP of the local oscillator has the following advantages:

当因外力施工导致当前业务链路上的光纤发生故障时,所述第二通信设备能够对所述第二通信设备产生的本振光信号的SOP进行调整,从而保证后续接收的至少一路光信号中任意一路光信号的SOP与本振光的SOP的变化量落入正常取值范围内,当所述第二通信设备对接收至少一路光信号进行相干检测时能够成功解调,得到解调后的光信号,从而提高相干检测的灵敏度。When the optical fiber on the 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 as to ensure that at least one optical signal received subsequently The SOP of any one optical signal and the SOP of the local oscillator fall within the normal value range, when the second communication device performs coherent detection on receiving at least one optical signal, it can be successfully demodulated, and the demodulated optical signal, thereby improving the sensitivity of coherent detection.

采用本发明实施例的技术方案,第一通信设备能够基于第二通信设备接收的至少一路光信号中的一路光信号的SOP与本振光信号的SOP之间的变化量,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障,相对于相关技术中采用人为方式对光纤故障进行检测的方式相比,能够自动实现光纤的故障检测,而且检测更加及时,能够保证业务的正常传输。By adopting the technical solution of the embodiment of the present invention, the first communication device can determine the third Whether the optical fiber on the current service link between the communication device and the second communication device is faulty, compared with the method of detecting the optical fiber fault in the related art, the fault detection of the optical fiber can be automatically realized, and the detection It is more timely and can ensure the normal transmission of services.

为实现本发明实施例的故障检测方法,本发明实施例还提供一种故障检测装置,设置在第一通信设备上,图8为本发明实施例故障检测装置的组成结构示意图;如图8所示,所述装置包括:In order to implement the fault detection method of the embodiment of the present invention, the embodiment of the present invention also provides a fault detection device, which is set on the first communication device. FIG. 8 is a schematic diagram of the composition and structure of the fault detection device according to the embodiment of the present invention; as shown in FIG. As shown, the device includes:

获取单元81,用于获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;The acquisition unit 81 is configured to acquire a first parameter; the first parameter represents the SOP of one optical signal in at least one optical signal received by the second communication device in the optical communication system and the local oscillator light generated by the second communication device The amount of variation between the SOPs of the signal;

处理单元82,用于判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。The processing unit 82 is configured to judge whether the first parameter satisfies a preset condition, and obtain a judgment result; based on the judgment result, determine the current service between the third communication device and the second communication device in the optical communication system Whether the fiber on the link is faulty.

在一实施例中,所述获取单元81,具体用于:In an embodiment, the acquiring unit 81 is specifically configured to:

获取所述第二通信设备发送的第一参数;Acquiring a first parameter sent by the second communication device;

其中,所述第一参数是所述第二通信设备从所述第三通信设备接收到所述至少一路光信号之后,向所述第一通信设备发送的。Wherein, the first parameter is sent by the second communication device to the first communication device after receiving the at least one optical signal from the third communication device.

在一实施例中,所述处理单元82,具体用于:In an embodiment, the processing unit 82 is specifically configured to:

确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;确定所述第二通信设备所在位置和所述第三通信设备所在位置之间的第一距离;利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Determining that the optical fiber on the current service link between the third communication device and the second communication device has failed; determining a first distance between the location of the second communication device and the location of the third communication device ; using the value corresponding to the first parameter and the first distance to determine the location of the fiber fault on the current service link between the third communication device and the second communication device.

在一实施例中,所述处理单元82,具体用于:In an embodiment, the processing unit 82 is specifically configured to:

将所述第一参数对应的数值与预设数值求差,得到差值;calculating the difference between the value corresponding to the first parameter and the preset value to obtain the difference;

将所述差值与所述预设数值求商,得到第一比值;Quotienting the difference with the preset value to obtain a first ratio;

基于所述第一比值和第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Based on the first ratio and the first distance, determine a fiber fault location on a current service link between the third communication device and the second communication device.

在一实施例中,所述处理单元82,具体用于:In an embodiment, the processing unit 82 is specifically configured to:

获取第一参数满足预设条件的第一时长;Acquiring the first duration for which the first parameter satisfies the preset condition;

判断所述第一时长是否大于或等于预设时长;judging whether the first duration is greater than or equal to a preset duration;

当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备,以供所述第二通信设备进行故障告警。When it is determined that the first duration is greater than or equal to the preset duration, the determined optical fiber fault location is sent to the second communication device for the second communication device to issue a fault alarm.

在一实施例中,所述处理单元82,具体用于:In an embodiment, the processing unit 82 is specifically configured to:

确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;向所述第二通信设备发送通知消息;所述通知消息用于指示所述第二通信设备开启备用业务链路,并通过所述备用业务链路接收所述第三通信设备发送的至少一路光信号。Determining that the optical fiber on the 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 to indicate to the second communication device Turn on the standby service link, and receive at least one optical signal sent by the third communication device through the standby service link.

在一实施例中,所述处理单元82,具体用于:In an embodiment, the processing unit 82 is specifically configured to:

确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;确定第一角度;所述第一角度用于对所述第二通信设备产生的本振光信号的SOP进行调整;Determining that the optical fiber on the current service link between the 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 to generate an error on the second communication device Adjust the SOP of the local oscillator optical signal;

生成第一信息;所述第一信息包含所述第一角度;generating first information; the first information includes the first angle;

将所述第一信息发送给所述第二通信设备;所述第一信息用于指示对所述第二通信设备产生的本振光信号的SOP进行调整,并利用调整后的本振光信号对所述至少一路光信号进行解调。sending the first information to the second communication device; the first information is used to instruct to adjust the SOP of the local oscillator optical signal generated by the second communication device, and use the adjusted local oscillator optical signal Demodulate the at least one optical signal.

实际应用时,所述获取单元81可由故障检测装置中的通信接口实现;所述处理单元82可由故障检测装置中的处理器结合通信接口实现。In practical application, the acquisition unit 81 can be realized by a communication interface in the fault detection device; the processing unit 82 can be realized by a processor in the fault detection device combined with a communication interface.

需要说明的是:上述实施例提供的故障检测装置在进行故障检测时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的故障检测装置与故障检测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the fault detection device provided in the above-mentioned embodiment performs fault detection, it only uses the division of the above-mentioned program modules as an example for illustration. In practical applications, the above-mentioned processing allocation can be completed by different program modules as required That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the fault detection device and the fault detection method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.

为实现本发明实施例的方法,本发明实施例提供一种故障检测系统,如图9所示,包括:In order to implement the method of the embodiment of the present invention, the embodiment of the present invention provides a fault detection system, as shown in FIG. 9, including:

第三通信设备91,用于生成所述至少一路光信号,并采用外调制方式对所述至少一路光信号进行调制,将调制后的所述至少一路光信号发送给所述第二通信设备。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 modulated at least one optical signal to the second communication device.

第二通信设备92,用于接收所述至少一路光信号;检测所述至少一路光信号中任意一路光信号的SOP,并计算任意一路光信号的SOP与第二通信设备产生的本振光信号的SOP之间的变化量,将计算的变化量上报给所述第一通信设备。The second communication device 92 is configured to receive the at least one optical signal; detect the SOP of any optical signal in the at least one optical signal, and calculate the SOP of any optical signal and the local oscillator optical signal generated by the second communication device and report the calculated variation to the first communication device.

第一通信设备93,用于基于所述变化量,确定所述第二通信设备和第三通信设备之间当前业务链路上的光纤是否发生故障。The first communication device 93 is configured to determine whether the optical fiber on the current service link between the second communication device and the third communication device fails based on the variation.

需要说明的是:第三通信设备91、第二通信设备92、第一通信设备93的具体处理过程已在上文详述,这里不再赘述。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 will not be repeated here.

本发明实施例还提供了一种第一通信设备,如图10所示,包括:The embodiment of the present invention also provides a first communication device, as shown in FIG. 10 , including:

通信接口101,能够与其它设备进行信息交互;Communication interface 101, capable of information interaction with other devices;

处理器102,与所述通信接口101连接,用于运行计算机程序时,执行上述智能设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在存储器103上。The processor 102 is connected to the communication interface 101 and configured to execute the methods provided by one or more technical solutions on the smart device side when running the computer program. Instead, the computer program is stored on the memory 103 .

具体地,所述处理器102用于执行计算机程序时执行以下程序:Specifically, the processor 102 is configured to execute the following programs when executing a computer program:

获取第一参数;所述第一参数表征光通信系统中第二通信设备接收的至少一路光信号中的一路光信号的SOP与所述第二通信设备产生的本振光信号的SOP之间的变化量;Acquire a first parameter; the first parameter represents the SOP of at least one optical signal received by the second communication device in the optical communication system and the SOP of the local oscillator optical signal generated by the second communication device Variation;

判断所述第一参数是否满足预设条件,得到判断结果;基于所述判断结果,确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤是否发生故障。judging whether the first parameter satisfies a preset condition, and obtaining a judging result; based on the judging result, determining whether the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system is malfunction.

在一实施例中,所述通信接口101用于执行计算机程序时执行以下程序:In one embodiment, the communication interface 101 is used to execute the following programs when executing computer programs:

获取所述第二通信设备发送的第一参数;Acquiring a first parameter sent by the second communication device;

其中,所述第一参数是所述第二通信设备从所述第三通信设备接收到所述至少一路光信号之后,向所述第一通信设备发送的。Wherein, the first parameter is sent by the second communication device to the first communication device after receiving the at least one optical signal from the third communication device.

在一实施例中,所述处理器102用于执行计算机程序时执行以下程序:In one embodiment, the processor 102 is configured to execute the following programs when executing a computer program:

确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;确定所述第二通信设备所在位置和所述第三通信设备所在位置之间的第一距离;利用所述第一参数对应的数值和所述第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Determining that the optical fiber on the current service link between the third communication device and the second communication device has failed; determining a first distance between the location of the second communication device and the location of the third communication device ; using the value corresponding to the first parameter and the first distance to determine the location of the fiber fault on the current service link between the third communication device and the second communication device.

在一实施例中,所述处理器102用于执行计算机程序时执行以下程序:In one embodiment, the processor 102 is configured to execute the following programs when executing a computer program:

将所述第一参数对应的数值与预设数值求差,得到差值;calculating the difference between the value corresponding to the first parameter and the preset value to obtain the difference;

将所述差值与所述预设数值求商,得到第一比值;Quotienting the difference with the preset value to obtain a first ratio;

基于所述第一比值和第一距离,确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤故障位置。Based on the first ratio and the first distance, determine a fiber fault location on a current service link between the third communication device and the second communication device.

在一实施例中,所述处理器102用于执行计算机程序时执行以下程序:In one embodiment, the processor 102 is configured to execute the following programs when executing a computer program:

获取第一参数满足预设条件的第一时长;Acquiring the first duration for which the first parameter satisfies the preset condition;

判断所述第一时长是否大于或等于预设时长;judging whether the first duration is greater than or equal to a preset duration;

当确定所述第一时长大于或等于预设时长时,将确定的光纤故障位置发送给所述第二通信设备,以供所述第二通信设备进行故障告警。When it is determined that the first duration is greater than or equal to the preset duration, the determined optical fiber fault location is sent to the second communication device for the second communication device to issue a fault alarm.

在一实施例中,所述处理器102用于执行计算机程序时执行以下程序:In one embodiment, the processor 102 is configured to execute the following programs when executing a computer program:

确定所述第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;向所述第二通信设备发送通知消息;所述通知消息用于指示所述第二通信设备开启备用业务链路,并通过所述备用业务链路接收所述第三通信设备发送的至少一路光信号。Determining that the optical fiber on the 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 to indicate to the second communication device Turn on the standby service link, and receive at least one optical signal sent by the third communication device through the standby service link.

在一实施例中,所述处理器102用于执行计算机程序时执行以下程序:In one embodiment, the processor 102 is configured to execute the following programs when executing a computer program:

确定所述光通信系统中第三通信设备和所述第二通信设备之间当前业务链路上的光纤发生故障;确定第一角度;所述第一角度用于对所述第二通信设备产生的本振光信号的SOP进行调整;Determining that the optical fiber on the current service link between the 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 to generate an error on the second communication device Adjust the SOP of the local oscillator optical signal;

生成第一信息;所述第一信息包含所述第一角度;generating first information; the first information includes the first angle;

将所述第一信息发送给所述第二通信设备;所述第一信息用于指示对所述第二通信设备产生的本振光信号的SOP进行调整,并利用调整后的本振光信号对所述至少一路光信号进行解调。sending the first information to the second communication device; the first information is used to instruct to adjust the SOP of the local oscillator optical signal generated by the second communication device, and use the adjusted local oscillator optical signal Demodulate the at least one optical signal.

需要说明的是:所述处理器102和通信接口101的具体处理过程详见方法实施例,这里不再赘述。It should be noted that: the specific processing procedures of the processor 102 and the communication interface 101 are detailed in the method embodiments, and will not be repeated here.

当然,实际应用时,第一通信设备100中的各个组件通过总线系统104耦合在一起。可理解,总线系统104用于实现这些组件之间的连接通信。总线系统104除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统104。Of course, in practical applications, various components in the first communication device 100 are coupled together through the bus system 104 . It can be understood that the bus system 104 is used to realize connection and communication between these components. In addition to the data bus, the bus system 104 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 104 in FIG. 10 for clarity of illustration.

本申请实施例中的存储器103用于存储各种类型的数据以支持网络设备100的操作。这些数据的示例包括:用于在第一通信设备100上操作的任何计算机程序。The memory 103 in the embodiment 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 .

上述本申请实施例揭示的方法可以应用于所述处理器102中,或者由所述处理器102实现。所述处理器102可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述处理器102中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述处理器102可以是通用处理器、数字信息传输器(DSP,Digital SignalProcessor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述处理器102可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器103,所述处理器102读取存储器103中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present application may be applied to the processor 102 or implemented by the processor 102 . The processor 102 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 102 or instructions in the form of software. The aforementioned processor 102 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 102 may implement or execute various methods, steps, and logic block diagrams 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 module may be located in a storage medium, and the storage medium is located in the memory 103, and the processor 102 reads the information in the memory 103, and completes the steps of the aforementioned method in combination with its hardware.

在示例性实施例中,第一通信设备100可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable LogicDevice)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the first communication device 100 may be implemented by one or more Application Specific Integrated Circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable LogicDevice), field programmable gate array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or others Electronic components are implemented for performing the aforementioned method.

可以理解,本申请实施例的存储器(存储器103)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-OnlyMemory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-OnlyMemory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-OnlyMemory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random AccessMemory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random AccessMemory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory (memory 103 ) in this embodiment of the present application may be a volatile memory or a nonvolatile memory, and may also include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-OnlyMemory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical Disk , or CD-ROM (Compact Disc Read-OnlyMemory); the magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Connection Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory). The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

在示例性实施例中,本发明实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的存储器103,上述计算机程序可由第一通信设备100的处理器102执行,以完成前述终端侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present invention also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a memory 103 storing a computer program, and the above-mentioned computer program can be used by the first communication device 100 The processor 102 is executed to complete the steps described in the foregoing method on the terminal side. The computer-readable storage medium can be memories such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.

另外,本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present invention may be combined arbitrarily if there is no conflict.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (11)

1. A method of fault detection, for use with a first communication device, the method comprising:
acquiring a first parameter; the first parameter represents the variation between the polarization state SOP of one optical signal in at least one optical signal received by a second communication device in the optical communication system and the 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 judging result;
based on the judging result, determining whether an optical fiber on a current service link between third communication equipment and the second communication equipment in the optical communication system has a fault or not;
judging whether the first parameter meets a preset condition or not to obtain a judging result; based on the judging result, determining whether the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system has a fault, including:
judging whether the value corresponding to the first parameter falls into a normal value range or not;
if the value corresponding to the first parameter is determined not to fall into the normal value range, determining that the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has faults.
2. The method of claim 1, wherein the 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 path of optical signal from the third communication device.
3. The method of claim 1, wherein determining that the optical fiber on the current traffic link between the third communication device and the second communication device is faulty; the method further comprises the steps of:
determining a first distance between the location of the second communication device and the location 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 value corresponding to the first parameter and the first distance.
4. A method according to claim 3, wherein said determining the location of the fiber fault on the current traffic link between the third communication device and the second communication device using the value corresponding to the first parameter and the first distance comprises:
the value corresponding to the first parameter is differenced with a preset value to obtain a difference value;
obtaining a first ratio value by carrying out quotient calculation on the difference value and the preset value;
and determining the optical fiber fault position on the current service link between the third communication device and the second communication device based on the first ratio and the first distance.
5. The method according to claim 4, wherein the method further comprises:
Acquiring a first duration of which the 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 time length is greater than or equal to the preset time length, sending the determined optical fiber fault position to the second communication equipment so as to carry out fault warning on the second communication equipment.
6. The method of claim 1, wherein determining that the optical fiber on the current traffic link between the third communication device and the second communication device is faulty; the method further comprises the steps of:
sending a notification message to the second communication device; the notification message is used for indicating the second communication device to open 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 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 is faulty; the method further comprises the steps of:
determining a first angle; the first angle is used for adjusting SOP of the local oscillator optical signal generated by the second communication equipment;
Generating first information; the first information includes the first angle;
transmitting the first information to the second communication device; the first information is used for indicating to adjust the SOP of the local oscillator optical signal generated by the second communication device, and demodulating the at least one path of optical signal by using the adjusted local oscillator optical signal.
8. A fault detection device, comprising:
an acquisition unit configured to acquire a first parameter; the first parameter represents the variation between SOP of one optical signal in at least one optical signal received by a second communication device in the optical communication system and SOP of a local oscillator optical signal generated by the second communication device;
the processing unit is used for judging whether the first parameter meets a preset condition or not to obtain a judging result; based on the judging result, determining whether an optical fiber on a current service link between third communication equipment and the second communication equipment in the optical communication system has a fault or not;
judging whether the first parameter meets a preset condition or not to obtain a judging result; based on the judging result, determining whether the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system has a fault, including:
Judging whether the value corresponding to the first parameter falls into a normal value range or not;
if the value corresponding to the first parameter is determined not to fall into the normal value range, determining that the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has faults.
9. A first communication device, comprising:
the communication interface is used for acquiring a first parameter; the first parameter represents the variation between SOP of one optical signal in at least one optical signal received by a second communication device in the optical communication system and SOP of a local oscillator optical signal generated by the second communication device;
the processor is used for judging whether the first parameter meets a preset condition or not to obtain a judging result; based on the judging result, determining whether an optical fiber on a current service link between third communication equipment and the second communication equipment in the optical communication system has a fault or not;
judging whether the first parameter meets a preset condition or not to obtain a judging result; based on the judging result, determining whether the optical fiber on the current service link between the third communication device and the second communication device in the optical communication system has a fault, including:
Judging whether the value corresponding to the first parameter falls into a normal value range or not;
if the value corresponding to the first parameter is determined not to fall into the normal value range, determining that the optical fiber on the current service link between the third communication equipment and the second communication equipment in the optical communication system has faults.
10. 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 adapted to perform the steps of the method of any of claims 1 to 7 when the computer program is run.
11. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1 to 7.
CN202010519573.0A 2020-06-09 2020-06-09 Fault detection method, device, related equipment and storage medium Active CN113783609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010519573.0A CN113783609B (en) 2020-06-09 2020-06-09 Fault detection method, device, related equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010519573.0A CN113783609B (en) 2020-06-09 2020-06-09 Fault detection method, device, related equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113783609A CN113783609A (en) 2021-12-10
CN113783609B true CN113783609B (en) 2023-05-09

Family

ID=78834648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010519573.0A Active CN113783609B (en) 2020-06-09 2020-06-09 Fault detection method, device, related equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113783609B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117527064B (en) * 2023-11-07 2025-06-06 浙江精连电子科技有限公司 Optical fiber transceiver fault detection method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9509399B2 (en) * 2015-02-13 2016-11-29 Schweitzer Engineering Laboratories, Inc. Transmission line protection using traveling waves in optical ground wire fiber
US9774392B2 (en) * 2015-07-17 2017-09-26 Ciena Corporation Systems and methods using a polarimeter to localize state of polarization transients on optical fibers
GB201813698D0 (en) * 2018-08-22 2018-10-03 Univ Aston Systems and methods for measuring a distance to a target and the complex reflectance ratio of a target
CN110868258B (en) * 2018-08-27 2022-08-16 中兴通讯股份有限公司 Device, system and method for realizing coherent detection
CN110018399B (en) * 2019-05-15 2020-11-24 武汉康普常青软件技术股份有限公司 Lightning stroke fault positioning method based on optical signal polarization state in optical fiber composite overhead ground wire (OPGW) of power transmission line
CN110380907B (en) * 2019-07-26 2021-09-24 京信网络系统股份有限公司 Network fault diagnosis method and device, network equipment and storage medium

Also Published As

Publication number Publication date
CN113783609A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN107919995B (en) Intelligent transportation operation and maintenance terminal based on internet of things technology
JP7235115B2 (en) Optical fiber sensing system, optical fiber sensing device, and abnormality determination method
CN102135925B (en) Method and device for detecting error check and correcting memory
EA036635B1 (en) Distributed optical fiber perimeter security system, sound restoration system and method
CN113783609B (en) Fault detection method, device, related equipment and storage medium
CN102273103A (en) Method for defining shared risk link group in optical transmission system
CN108205874A (en) Geo-hazard early-warning method based on multi-parameter linkage, live master station and system
CN102891771A (en) Device, system and method for monitoring looped network fault detecting, positioning and alarmings
CN108693445A (en) Fault positioning method and device for power transmission cable
CN109375064A (en) Fault location system and method based on transient state recording type fault detector
CN119298992B (en) AI intelligent inspection control system
CN119182453A (en) Optical fiber state monitoring method, device, equipment, medium and product
KR101214427B1 (en) Supervisory Control and Data Acquisition System and Security management method thereof
CN111124818A (en) Monitoring method, device and equipment for expander Expander
CN113810232A (en) Fault area determination method and device, electronic equipment and storage medium
CN108692746B (en) Sensing monitoring terminal, sensing monitoring system and sensing monitoring method
CN113740662A (en) Fault judging method for power transmission line, computer device and storage medium
WO2023083112A1 (en) Detection method, detection apparatus, optical fiber system and network device
CN115987675B (en) Illegal external connection detection method and device, mobile terminal and storage medium
CN117578709A (en) A cable condition monitoring and sensing system based on Internet of Things technology
Cheng et al. Eventual strong consensus with fault detection in the presence of dual failure mode on processors under dynamic networks
CN118677518A (en) Problem location method, device, related equipment and storage medium
CN115550229A (en) Fault detection method, device and equipment and computer readable storage medium
JP6278248B2 (en) Data transfer control system and data transfer control server
JP7260184B2 (en) DISASTER DETECTION SYSTEM, MANAGEMENT TERMINAL DEVICE, DISASTER DETECTION METHOD AND DISASTER DETECTION PROGRAM

Legal Events

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