[go: up one dir, main page]

CN118464377A - Optical fiber fault location method, device, electronic equipment and storage medium - Google Patents

Optical fiber fault location method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN118464377A
CN118464377A CN202410920143.8A CN202410920143A CN118464377A CN 118464377 A CN118464377 A CN 118464377A CN 202410920143 A CN202410920143 A CN 202410920143A CN 118464377 A CN118464377 A CN 118464377A
Authority
CN
China
Prior art keywords
optical fiber
fault point
point
cable length
fault
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.)
Granted
Application number
CN202410920143.8A
Other languages
Chinese (zh)
Other versions
CN118464377B (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.)
State Grid Zhejiang Electric Power Co Ltd Ningbo Yinzhou District Power Supply Co
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd Ningbo Yinzhou District Power Supply Co
Ningbo Power Supply Co of State Grid Zhejiang Electric Power 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 State Grid Zhejiang Electric Power Co Ltd Ningbo Yinzhou District Power Supply Co, Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd Ningbo Yinzhou District Power Supply Co
Priority to CN202410920143.8A priority Critical patent/CN118464377B/en
Publication of CN118464377A publication Critical patent/CN118464377A/en
Application granted granted Critical
Publication of CN118464377B publication Critical patent/CN118464377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/30Testing of optical devices, constituted by fibre optics or optical waveguides
    • G01M11/31Testing of optical devices, constituted by fibre optics or optical waveguides with a light emitter and a light receiver being disposed at the same side of a fibre or waveguide end-face, e.g. reflectometers

Landscapes

  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Locating Faults (AREA)

Abstract

The invention provides a method, a device, electronic equipment and a storage medium for positioning optical fiber faults, which relate to the technical field of optical fiber detection and comprise the following steps: collecting original fiber attenuation information through a fiber interferometer; obtaining the cable length of the optical fiber fault point according to the original optical fiber attenuation information; obtaining a first optical fiber fault point ground position according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length; judging a fault point partition by the ground position of the first optical fiber fault point, wherein the fault point partition comprises a building dense area and a building rare area; when the fault point partition is a building dense area, obtaining the ground position of the second optical fiber fault point according to the GIS map and the cable length of the optical fiber fault point; when the fault point partition is a building rare area, inputting the cable length of the optical fiber fault point into a pre-training historical fault data model to obtain the ground position of the third optical fiber fault point. The invention realizes that the fault position of the optical fiber is accurately found.

Description

一种光纤故障定位方法、装置、电子设备及存储介质Optical fiber fault location method, device, electronic equipment and storage medium

技术领域Technical Field

本发明涉及光纤检测技术领域,具体而言,涉及一种光纤故障定位方法、装置、电子设备及存储介质。The present invention relates to the field of optical fiber detection technology, and in particular to an optical fiber fault locating method, device, electronic equipment and storage medium.

背景技术Background Art

光纤故障点定位在光纤通信领域具有重要意义,它能够及时发现光缆中的故障,如断裂或连接问题,从而保障数据传输的连续性和安全性。目前,光纤故障点定位主要通过在光纤输入端输入激光,通过激光在光纤中不同位置的衰减信息对光纤线缆上故障位置进行定位。但是由于光纤线路中铺设方式复杂,往往检测得到的光纤线缆上的故障位置和地表位置不同,不能够准确找到光纤故障位置。Fiber optic fault point location is of great significance in the field of fiber optic communications. It can promptly detect faults in optical cables, such as breaks or connection problems, thereby ensuring the continuity and security of data transmission. At present, fiber optic fault point location is mainly achieved by inputting laser at the input end of the optical fiber, and locating the fault position on the optical fiber cable through the attenuation information of the laser at different positions in the optical fiber. However, due to the complex laying method of the optical fiber line, the fault position on the optical fiber cable detected is often different from the surface position, and the optical fiber fault position cannot be accurately found.

发明内容Summary of the invention

本发明解决的问题是不能准确找到光纤故障位置。The problem solved by the present invention is that the optical fiber fault position cannot be accurately found.

为解决上述问题,本发明提供一种光纤故障定位方法、装置、电子设备及存储介质。In order to solve the above problems, the present invention provides a method, device, electronic equipment and storage medium for locating optical fiber faults.

第一方面,本发明提供了一种光纤故障定位方法,包括:通过光纤干涉仪采集原始光纤衰减信息;In a first aspect, the present invention provides a method for locating an optical fiber fault, comprising: collecting original optical fiber attenuation information by means of an optical fiber interferometer;

根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度;Obtaining a cable length at a fiber fault point according to the original fiber attenuation information, wherein the cable length at the fiber fault point is used to represent the cable length from the fiber input end to the fiber fault point;

根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置;Obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;

通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区;Determine the fault point partition based on the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area;

当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,其中,所述GIS地图用于表示光纤线路分布情况;When the fault point is zoned as the densely built area, the ground position of the second optical fiber fault point is obtained according to the GIS map and the cable length of the optical fiber fault point, wherein the GIS map is used to indicate the distribution of the optical fiber line;

当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。When the fault point is partitioned into the building sparsely populated area, the cable length of the optical fiber fault point is input into the pre-trained historical fault data model to obtain the ground position of the third optical fiber fault point.

可选地,所述根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,包括:Optionally, obtaining the ground position of the second optical fiber fault point according to the GIS map and the cable length of the optical fiber fault point includes:

获取所述GIS地图,其中,所述GIS地图包括多个用于表示光纤线路正上方地面位置的标识点;Obtaining the GIS map, wherein the GIS map includes a plurality of identification points for indicating the ground position directly above the optical fiber line;

根据所述GIS地图和所述光纤故障点电缆长度得到GIS故障点地面位置;Obtaining the ground location of the GIS fault point according to the GIS map and the cable length of the optical fiber fault point;

通过所述GIS故障点地面位置筛选所述标识点得到目标标识位置;The target identification position is obtained by filtering the identification point through the ground position of the GIS fault point;

通过在所述目标标识位置施加振动得到振动光纤衰减信息;Obtaining vibration optical fiber attenuation information by applying vibration at the target identification position;

根据所述振动光纤衰减信息得到标识点电缆长度;Obtaining the cable length of the marked point according to the vibration optical fiber attenuation information;

根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置。The ground position of the second optical fiber fault point is obtained according to the cable length of the identification point and the cable length of the optical fiber fault point.

可选地,所述根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置,包括:Optionally, obtaining the ground position of the second optical fiber fault point according to the cable length of the identification point and the cable length of the optical fiber fault point includes:

根据所述标识点电缆长度和所述光纤故障点电缆长度得到标识点电缆长度差值;Obtaining a difference in the length of the cable at the identification point according to the length of the cable at the identification point and the length of the cable at the optical fiber fault point;

当所述标识点电缆长度差值小于或等于预设阈值时,将所述目标标识位置作为所述第二光纤故障点地面位置;When the cable length difference of the identification point is less than or equal to a preset threshold, the target identification position is used as the ground position of the second optical fiber fault point;

当所述标识点电缆长度差值大于所述预设阈值时,根据所述标识点电缆长度差值得到电缆偏移值;When the cable length difference of the identification point is greater than the preset threshold, a cable offset value is obtained according to the cable length difference of the identification point;

通过所述电缆偏移值修正所述目标标识位置得到所述第二光纤故障点地面位置。The target identification position is corrected by the cable offset value to obtain the ground position of the second optical fiber fault point.

可选地,所述通过所述第一光纤故障点地面位置判断故障点分区,包括:Optionally, the determining the fault point partition according to the ground position of the first optical fiber fault point includes:

获取光纤铺设位置周边的地理信息,其中,所述地理信息包括地理位置和地理图像;Acquire geographic information around the optical fiber laying location, wherein the geographic information includes a geographic location and a geographic image;

根据所述地理位置将所述地理图像拆分为多个子分区;splitting the geographic image into a plurality of sub-regions according to the geographic location;

分别对所有所述子分区进行图像识别得到建筑密集度;Performing image recognition on all the sub-districts to obtain building density;

当所述建筑密集度大于预设建筑密集度阈值时,将所述子分区作为所述建筑密集区;When the building density is greater than a preset building density threshold, the sub-district is used as the building density area;

当所述建筑密集度小于或等于所述预设建筑密集度阈值时,将所述子分区作为所述建筑稀少区。When the building density is less than or equal to the preset building density threshold, the sub-area is used as the building sparse area.

可选地,所述根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置,包括:Optionally, obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length includes:

获取所述标准参考点电缆长度和所述标准参考点地面位置;Obtaining the standard reference point cable length and the standard reference point ground position;

根据所述标准参考点电缆长度和所述光纤故障点电缆长度得到标准参考点电缆长度比值;Obtaining a standard reference point cable length ratio according to the standard reference point cable length and the optical fiber fault point cable length;

通过所述标准参考点电缆长度比值和所述标准参考点地面位置得到所述第一光纤故障点地面位置。The ground position of the first optical fiber fault point is obtained by using the cable length ratio of the standard reference point and the ground position of the standard reference point.

可选地,所述获取所述标准参考点电缆长度和所述标准参考点地面位置,包括:Optionally, obtaining the cable length of the standard reference point and the ground position of the standard reference point includes:

在标准参考点施加外力使电缆弯曲得到弯曲光纤衰减信息,其中,所述标准参考点用于表示沿光纤铺设位置间隔预设距离的多个参考点中的一个参考点;Applying external force at a standard reference point to bend the cable to obtain bent optical fiber attenuation information, wherein the standard reference point is used to represent one of a plurality of reference points spaced at a preset distance along the optical fiber laying position;

通过所述弯曲光纤衰减信息得到所述标准参考点电缆长度和所述标准参考点地面位置。The cable length of the standard reference point and the ground position of the standard reference point are obtained through the bent optical fiber attenuation information.

可选地,所述预训练历史故障数据模型的构建方法包括:Optionally, the method for constructing the pre-trained historical fault data model includes:

获取历史故障数据集,其中,所述历史故障数据集包括历史故障点地面位置和历史故障点电缆长度;Acquire a historical fault data set, wherein the historical fault data set includes a ground location of a historical fault point and a cable length of a historical fault point;

通过所述历史故障点地面位置和所述历史故障点电缆长度训练神经网络模型得到初始训练模型;The neural network model is trained by the ground position of the historical fault point and the cable length of the historical fault point to obtain an initial training model;

当所述初始训练模型的模型精度不满足模型精度需求,则重新获取所述历史故障数据集训练,直至满足所述模型精度需求,得到所述预训练历史故障数据模型。When the model accuracy of the initial training model does not meet the model accuracy requirement, the historical fault data set is re-acquired for training until the model accuracy requirement is met, thereby obtaining the pre-trained historical fault data model.

第二方面,本发明提供了一种光纤故障定位装置,包括:In a second aspect, the present invention provides an optical fiber fault locating device, comprising:

原始光纤衰减信息获取模块,用于通过光纤干涉仪采集原始光纤衰减信息;The original optical fiber attenuation information acquisition module is used to collect the original optical fiber attenuation information through the optical fiber interferometer;

光纤故障点电缆长度获取模块,用于根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度;A fiber fault point cable length acquisition module, used to obtain the fiber fault point cable length according to the original fiber attenuation information, wherein the fiber fault point cable length is used to represent the cable length from the fiber input end to the fiber fault point;

第一光纤故障点地面位置获取模块,用于根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置;A first optical fiber fault point ground position acquisition module, used for obtaining the first optical fiber fault point ground position according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;

故障点分区判断模块,用于通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区;A fault point partition judgment module, used to judge the fault point partition according to the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area;

第二光纤故障点地面位置获取模块,用于当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置;A second optical fiber fault point ground position acquisition module, used for obtaining the second optical fiber fault point ground position according to the GIS map and the optical fiber fault point cable length when the fault point is zoned as the building-dense area;

第三光纤故障点地面位置获取模块,用于当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。The third optical fiber fault point ground position acquisition module is used to input the cable length of the optical fiber fault point into the pre-trained historical fault data model to obtain the third optical fiber fault point ground position when the fault point is partitioned into the building sparse area.

第三方面,本发明提供了一种电子设备,包括存储器和处理器;In a third aspect, the present invention provides an electronic device, including a memory and a processor;

所述存储器,用于存储计算机程序;The memory is used to store computer programs;

所述处理器,用于当执行所述计算机程序时,实现所述光纤故障定位方法。The processor is used to implement the optical fiber fault locating method when executing the computer program.

第四方面,本发明提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现所述光纤故障定位方法。In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the optical fiber fault locating method is implemented.

本发明的光纤故障定位方法、装置、电子设备及存储介质的有益效果是:根据所述光纤衰减信息得到光纤故障点电缆长度,通过标准参考点电缆长度、标准参考点地面位置先确定第一光纤故障点地面位置。通过第一光纤故障点地面位置判断故障点所在区域是否为建筑密集区,当故障点位于建筑密集区时,通过GIS地图结合光纤故障点电缆长度得到第二光纤故障点地面位置,得到的故障点地面位置更精准。由于建筑密集区光纤维护难度大,即便是微小的位置偏差也可能显著增加光纤维护难度,因此通过GIS地图结合光纤故障点电缆长度来准确定位对应的故障点地面位置,能够有效提高电缆维护的便利性和效率。当故障点位于建筑稀少区时,维护环境相对宽松,光纤维护难度较小,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置,在保证光纤故障位置的定位精度满足维护需求的前提下,提高了定位效率。The optical fiber fault location method, device, electronic device and storage medium of the present invention have the following beneficial effects: the cable length of the optical fiber fault point is obtained according to the optical fiber attenuation information, and the ground position of the first optical fiber fault point is first determined by the cable length of the standard reference point and the ground position of the standard reference point. The ground position of the first optical fiber fault point is used to determine whether the area where the fault point is located is a densely built area. When the fault point is located in a densely built area, the ground position of the second optical fiber fault point is obtained by combining the cable length of the optical fiber fault point with the GIS map, and the ground position of the fault point is more accurate. Since optical fiber maintenance is difficult in densely built areas, even a small position deviation may significantly increase the difficulty of optical fiber maintenance. Therefore, the corresponding ground position of the fault point is accurately located by combining the cable length of the optical fiber fault point with the GIS map, which can effectively improve the convenience and efficiency of cable maintenance. When the fault point is located in a sparsely built area, the maintenance environment is relatively loose and the optical fiber maintenance is less difficult. The cable length of the optical fiber fault point is input into the pre-trained historical fault data model to obtain the ground position of the third optical fiber fault point. Under the premise of ensuring that the positioning accuracy of the optical fiber fault position meets the maintenance requirements, the positioning efficiency is improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例的光纤故障定位方法的流程示意图;FIG1 is a schematic diagram of a process of locating a fiber fault according to an embodiment of the present invention;

图2为本发明实施例的光纤故障定位装置的结构示意图;FIG2 is a schematic diagram of the structure of an optical fiber fault locating device according to an embodiment of the present invention;

图3为本发明实施例的电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。虽然附图中显示了本发明的某些实施例,然而应当理解的是,本发明可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本发明。应当理解的是,本发明的附图及实施例仅用于示例性作用,并非用于限制本发明的保护范围。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

应当理解,本发明的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本发明的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and/or in parallel. In addition, the method embodiments may include additional steps and/or omit the steps shown. The scope of the present invention is not limited in this respect.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”;术语“基于”是“至少部分地基于”;术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”;术语“可选地”表示“可选的实施例”。其他术语的相关定义将在下文描述中给出。需要注意,本发明中提及的“第一”“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

需要注意,本发明中提及的“一个”“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

本发明实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

针对上述相关技术存在的问题,本实施例提供了一种光纤故障定位方法、装置、电子设备及存储介质。In view of the problems existing in the above-mentioned related technologies, this embodiment provides a method, device, electronic device and storage medium for locating optical fiber faults.

如图1所示,本发明实施例提供的一种光纤故障定位方法,包括:As shown in FIG1 , an optical fiber fault location method provided by an embodiment of the present invention includes:

步骤110,通过光纤干涉仪采集原始光纤衰减信息。Step 110: Collect original optical fiber attenuation information through an optical fiber interferometer.

具体地,在光纤的输入端输入激光,通过光纤干涉仪接收反射回来的光信号,利用光电转换器将所回收的光信号转换成电信号,使用模数信号转换器对所得电信号进行模数转换,获取激光在光纤中不同位置的衰减信息。Specifically, a laser is input at the input end of the optical fiber, the reflected light signal is received by a fiber interferometer, the recovered light signal is converted into an electrical signal using a photoelectric converter, and the obtained electrical signal is converted into an analog-to-digital signal using an analog-to-digital signal converter to obtain the attenuation information of the laser at different positions in the optical fiber.

步骤120,根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度。Step 120: obtaining a cable length at a fiber fault point according to the original fiber attenuation information, wherein the cable length at the fiber fault point is used to represent a cable length from a fiber input end to a fiber fault point.

具体地,选取一个合适的小波基函数对所述原始光纤衰减信息进行小波分解得到分解后的所述原始光纤衰减信息,其中,所述小波基函数用于表示小波变换中的信号分析和处理;选择适合的阈值对分解后的所述原始光纤衰减信息进行量化处理得到量化后的所述原始光纤衰减信息;对量化后的所述原始光纤衰减信息进行降噪处理得到降噪后的所述原始光纤衰减信息;通过进行小波分解对降噪后的所述原始光纤衰减信息进行奇异性分析得到奇异点;根据所述奇异点得到所述光纤故障点电缆长度,其中,所述奇异点用于表示故障发生位置。Specifically, a suitable wavelet basis function is selected to perform wavelet decomposition on the original optical fiber attenuation information to obtain the decomposed original optical fiber attenuation information, wherein the wavelet basis function is used to represent signal analysis and processing in wavelet transform; a suitable threshold is selected to perform quantization processing on the decomposed original optical fiber attenuation information to obtain the quantized original optical fiber attenuation information; noise reduction processing is performed on the quantized original optical fiber attenuation information to obtain the noise-reduced original optical fiber attenuation information; singularity analysis is performed on the noise-reduced original optical fiber attenuation information by performing wavelet decomposition to obtain a singular point; and the cable length of the optical fiber fault point is obtained according to the singular point, wherein the singular point is used to indicate the location where the fault occurs.

步骤130,根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置。Step 130, obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length.

具体地,通过对预先设定的标准参考点施加外力使电缆弯曲,带动电缆内光纤弯曲,从而使标准参考点的光纤衰减出现变化,对光纤输入端至标准参考点的电缆长度进行测量得到标准参考点电缆长度。以标准参考点电缆长度和标准参考点地面位置作为参考,将光纤故障点电缆长度换算为第一光纤故障点地面位置。Specifically, an external force is applied to a preset standard reference point to bend the cable, which drives the optical fiber in the cable to bend, thereby changing the optical fiber attenuation at the standard reference point, and measuring the cable length from the optical fiber input end to the standard reference point to obtain the standard reference point cable length. With the standard reference point cable length and the ground position of the standard reference point as reference, the cable length of the optical fiber fault point is converted to the ground position of the first optical fiber fault point.

步骤140,通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区。Step 140: determining the fault point partition according to the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area.

具体地,通过所述第一光纤故障点地面位置定位光纤故障发生的区域,将整体区域划分为建筑密集区和建筑稀少区,其中,所述建筑密集区为建筑较为密集区域,对直埋光纤故障点修复具有一定难度。Specifically, the area where the optical fiber fault occurs is located by locating the ground position of the first optical fiber fault point, and the overall area is divided into a densely built area and a sparsely built area. Among them, the densely built area is an area with relatively dense buildings, and it is difficult to repair the direct buried optical fiber fault point.

步骤151,当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,其中,所述GIS地图用于表示光纤线路分布情况。Step 151, when the fault point is partitioned into the densely built area, the ground position of the second optical fiber fault point is obtained according to the GIS map and the cable length of the optical fiber fault point, wherein the GIS map is used to represent the distribution of optical fiber lines.

具体地,通过获取光纤线路图纸,根据所述光纤线路图纸生成GIS地图,绘制出光纤线路图。Specifically, a fiber optic line drawing is obtained, a GIS map is generated according to the fiber optic line drawing, and a fiber optic line map is drawn.

步骤152,当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。Step 152: When the fault point is partitioned into the building-sparsely populated area, the cable length of the optical fiber fault point is input into a pre-trained historical fault data model to obtain a ground position of a third optical fiber fault point.

具体地,所述预训练历史故障数据模型可以由神经网络模型训练得到,神经网络模型能够学习和识别复杂的模式和关系,适用于多种任务如分类、回归和生成。Specifically, the pre-trained historical fault data model can be trained by a neural network model, which can learn and recognize complex patterns and relationships and is suitable for a variety of tasks such as classification, regression and generation.

本实施例中,根据所述光纤衰减信息得到光纤故障点电缆长度,通过标准参考点电缆长度、标准参考点地面位置先确定第一光纤故障点地面位置。通过第一光纤故障点地面位置判断故障点所在区域是否为建筑密集区,当故障点位于建筑密集区时,通过GIS地图结合光纤故障点电缆长度得到第二光纤故障点地面位置,得到的故障点地面位置更精准。由于建筑密集区光纤维护难度大,即便是微小的位置偏差也可能显著增加光纤维护难度,因此通过GIS地图结合光纤故障点电缆长度来准确定位对应的故障点地面位置,能够有效提高电缆维护的便利性和效率。当故障点位于建筑稀少区时,维护环境相对宽松,光纤维护难度较小,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置,在保证光纤故障位置的定位精度满足维护需求的前提下,提高了定位效率。In this embodiment, the cable length of the optical fiber fault point is obtained according to the optical fiber attenuation information, and the ground position of the first optical fiber fault point is first determined by the cable length of the standard reference point and the ground position of the standard reference point. The ground position of the first optical fiber fault point is used to determine whether the area where the fault point is located is a densely built area. When the fault point is located in a densely built area, the ground position of the second optical fiber fault point is obtained by combining the GIS map with the cable length of the optical fiber fault point, and the ground position of the fault point is more accurate. Since optical fiber maintenance in densely built areas is difficult, even a small position deviation may significantly increase the difficulty of optical fiber maintenance. Therefore, the corresponding ground position of the fault point is accurately located by combining the GIS map with the cable length of the optical fiber fault point, which can effectively improve the convenience and efficiency of cable maintenance. When the fault point is located in a sparsely built area, the maintenance environment is relatively loose and the difficulty of optical fiber maintenance is relatively small. The cable length of the optical fiber fault point is input into the pre-trained historical fault data model to obtain the ground position of the third optical fiber fault point. Under the premise of ensuring that the positioning accuracy of the optical fiber fault position meets the maintenance requirements, the positioning efficiency is improved.

可选地,所述根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,包括:Optionally, obtaining the ground position of the second optical fiber fault point according to the GIS map and the cable length of the optical fiber fault point includes:

获取所述GIS地图,其中,所述GIS地图包括多个用于表示光纤线路正上方地面位置的标识点;Obtaining the GIS map, wherein the GIS map includes a plurality of identification points for indicating the ground position directly above the optical fiber line;

根据所述GIS地图和所述光纤故障点电缆长度得到GIS故障点地面位置;Obtaining the ground location of the GIS fault point according to the GIS map and the cable length of the optical fiber fault point;

通过所述GIS故障点地面位置筛选所述标识点得到目标标识位置;The target identification position is obtained by filtering the identification point through the ground position of the GIS fault point;

通过在所述目标标识位置施加振动得到振动光纤衰减信息;Obtaining vibration optical fiber attenuation information by applying vibration at the target identification position;

根据所述振动光纤衰减信息得到标识点电缆长度;Obtaining the cable length of the marked point according to the vibration optical fiber attenuation information;

根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置。The ground position of the second optical fiber fault point is obtained according to the cable length of the identification point and the cable length of the optical fiber fault point.

具体地,GIS地图是一种技术工具,用于收集、存储、分析和展示地理数据和地理信息。在GIS地图中具有光纤电缆长度信息,通过光纤故障点电缆长度定位到GIS地图中相关位置。通过筛选该位置附近最近的标识点,定位到目标标识位置。这里的标识点表示光纤正上方地面位置,通过光纤线路图纸预先设置。通过在目标标识位置施加振动得到振动光纤衰减信息,得到输入端至标识点的标识点电缆长度,根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置。Specifically, GIS map is a technical tool for collecting, storing, analyzing and displaying geographic data and geographic information. The GIS map contains information on the length of optical fiber cables, and the relevant position in the GIS map is located by the cable length of the optical fiber fault point. The target identification position is located by screening the nearest identification point near the position. The identification point here represents the ground position directly above the optical fiber, which is pre-set through the optical fiber line drawing. By applying vibration to the target identification position, the vibration fiber attenuation information is obtained, and the identification point cable length from the input end to the identification point is obtained. According to the identification point cable length and the optical fiber fault point cable length, the ground position of the second optical fiber fault point is obtained.

本可选的实施例中,通过结合GIS地图能够更快速识别故障点地面位置,同时得到的结果更加准确,避免由于电缆长度与地面位置不同产生的偏差。In this optional embodiment, by combining with the GIS map, the ground location of the fault point can be identified more quickly, and the result obtained is more accurate, avoiding the deviation caused by the difference in cable length and ground location.

可选地,所述根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置,包括:Optionally, obtaining the ground position of the second optical fiber fault point according to the cable length of the identification point and the cable length of the optical fiber fault point includes:

根据所述标识点电缆长度和所述光纤故障点电缆长度得到标识点电缆长度差值;Obtaining a difference in the length of the cable at the identification point according to the length of the cable at the identification point and the length of the cable at the optical fiber fault point;

当所述标识点电缆长度差值小于或等于预设阈值时,将所述目标标识位置作为所述第二光纤故障点地面位置;When the cable length difference of the identification point is less than or equal to a preset threshold, the target identification position is used as the ground position of the second optical fiber fault point;

当所述标识点电缆长度差值大于所述预设阈值时,根据所述标识点电缆长度差值得到电缆偏移值;When the cable length difference of the identification point is greater than the preset threshold, a cable offset value is obtained according to the cable length difference of the identification point;

通过所述电缆偏移值修正所述目标标识位置得到所述第二光纤故障点地面位置。The target identification position is corrected by the cable offset value to obtain the ground position of the second optical fiber fault point.

具体地,通过比较所述标识点电缆长度和所述光纤故障点电缆长度的差值和预设阈值,判断该标识点是否为光纤故障点。如果二者差值过大,通过将所述标识点电缆长度差值乘以相关系数得到电缆偏移值,利用所述电缆偏移值修正所述目标标识位置得到所述第二光纤故障点地面位置。Specifically, by comparing the difference between the cable length of the identification point and the cable length of the optical fiber fault point with a preset threshold, it is determined whether the identification point is a fiber fault point. If the difference between the two is too large, the cable offset value is obtained by multiplying the cable length difference of the identification point by the correlation coefficient, and the target identification position is corrected by using the cable offset value to obtain the ground position of the second optical fiber fault point.

本可选的实施例中,考虑到标识点位置可能与故障位置具有一定距离,或者由于光纤电缆埋设时间增长,光纤电缆位置可能与图纸情况存在偏差。通过计算电缆偏移值对目标标识位置进行修正得到所述第二光纤故障点地面位置。In this optional embodiment, considering that the position of the marking point may be a certain distance from the fault position, or the position of the optical fiber cable may deviate from the drawing due to the increase in the fiber optic cable burial time, the target marking position is corrected by calculating the cable offset value to obtain the ground position of the second optical fiber fault point.

可选地,所述通过所述第一光纤故障点地面位置判断故障点分区,包括:Optionally, the determining the fault point partition according to the ground position of the first optical fiber fault point includes:

获取光纤铺设位置周边的地理信息,其中,所述地理信息包括地理位置和地理图像;Acquire geographic information around the optical fiber laying location, wherein the geographic information includes a geographic location and a geographic image;

根据所述地理位置将所述地理图像拆分为多个子分区;splitting the geographic image into a plurality of sub-regions according to the geographic location;

分别对所有所述子分区进行图像识别得到建筑密集度;Performing image recognition on all the sub-districts to obtain building density;

当所述建筑密集度大于预设建筑密集度阈值时,将所述子分区作为所述建筑密集区;When the building density is greater than a preset building density threshold, the sub-district is used as the building density area;

当所述建筑密集度小于或等于所述预设建筑密集度阈值时,将所述子分区作为所述建筑稀少区。When the building density is less than or equal to the preset building density threshold, the sub-area is used as the building sparse area.

具体地,按照预设大小将所述地理图像均匀拆分为多个子分区,所述子分区可以为正方形区域。对图像进行预处理,如去噪、增强对比度等,以提高识别精度,并提取每个建筑物的特征,通过所述建筑物特征得到建筑密集度。Specifically, the geographic image is evenly divided into a plurality of sub-areas according to a preset size, and the sub-areas may be square areas. The image is preprocessed, such as denoising, contrast enhancement, etc., to improve recognition accuracy, and the features of each building are extracted, and the building density is obtained through the building features.

本可选的实施例中,通过对光纤铺设周边地理信息进行采集,并利用图像特征提取技术,获取图像中建筑密集程度指标。并根据该指标将区域分等级进行不同的光纤故障定位获取方法,更符合实际情况。In this optional embodiment, geographic information of the optical fiber laying surroundings is collected and image feature extraction technology is used to obtain the building density index in the image. Different optical fiber fault location acquisition methods are used to classify the regions according to the index, which is more in line with the actual situation.

可选地,所述根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置,包括:Optionally, obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length includes:

获取所述标准参考点电缆长度和所述标准参考点地面位置;Obtaining the standard reference point cable length and the standard reference point ground position;

根据所述标准参考点电缆长度和所述光纤故障点电缆长度得到标准参考点电缆长度比值;Obtaining a standard reference point cable length ratio according to the standard reference point cable length and the optical fiber fault point cable length;

通过所述标准参考点电缆长度比值和所述标准参考点地面位置得到所述第一光纤故障点地面位置。The ground position of the first optical fiber fault point is obtained by using the cable length ratio of the standard reference point and the ground position of the standard reference point.

可选地,所述获取所述标准参考点电缆长度和所述标准参考点地面位置,包括:Optionally, obtaining the cable length of the standard reference point and the ground position of the standard reference point includes:

在标准参考点施加外力使电缆弯曲得到弯曲光纤衰减信息,其中,所述标准参考点用于表示沿光纤铺设位置间隔预设距离的多个参考点中的一个参考点;Applying external force at a standard reference point to bend the cable to obtain bent optical fiber attenuation information, wherein the standard reference point is used to represent one of a plurality of reference points spaced at a preset distance along the optical fiber laying position;

通过所述弯曲光纤衰减信息得到所述标准参考点电缆长度和所述标准参考点地面位置。The cable length of the standard reference point and the ground position of the standard reference point are obtained through the bent optical fiber attenuation information.

具体地,对标准参考点施加外力弯曲电缆得到弯曲光纤衰减信息,当标准参考点产生弯曲时,获取的弯曲光纤衰减信息会在弯曲点形成可被观测到的异常衰减,通过所述异常衰减能够得到输入端至标准参考点的光纤电缆长度。Specifically, an external force is applied to the standard reference point to bend the cable to obtain the bent optical fiber attenuation information. When the standard reference point is bent, the obtained bent optical fiber attenuation information will form an observable abnormal attenuation at the bending point, and the length of the optical fiber cable from the input end to the standard reference point can be obtained through the abnormal attenuation.

可选地,所述预训练历史故障数据模型的构建方法包括:Optionally, the method for constructing the pre-trained historical fault data model includes:

获取历史故障数据集,其中,所述历史故障数据集包括历史故障点地面位置和历史故障点电缆长度;Acquire a historical fault data set, wherein the historical fault data set includes a ground location of a historical fault point and a cable length of a historical fault point;

通过所述历史故障点地面位置和所述历史故障点电缆长度训练神经网络模型得到初始训练模型;The neural network model is trained by the ground position of the historical fault point and the cable length of the historical fault point to obtain an initial training model;

当所述初始训练模型的模型精度不满足模型精度需求,则重新获取所述历史故障数据集训练,直至满足所述模型精度需求,得到所述预训练历史故障数据模型。When the model accuracy of the initial training model does not meet the model accuracy requirement, the historical fault data set is re-acquired for training until the model accuracy requirement is met, thereby obtaining the pre-trained historical fault data model.

如图2所示,本发明实施例提供的一种光纤故障定位装置,包括:As shown in FIG2 , an optical fiber fault locating device provided by an embodiment of the present invention includes:

原始光纤衰减信息获取模块10,用于通过光纤干涉仪采集原始光纤衰减信息;The original optical fiber attenuation information acquisition module 10 is used to collect the original optical fiber attenuation information through an optical fiber interferometer;

光纤故障点电缆长度获取模块20,用于根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度;The optical fiber fault point cable length acquisition module 20 is used to obtain the optical fiber fault point cable length according to the original optical fiber attenuation information, wherein the optical fiber fault point cable length is used to represent the cable length from the optical fiber input end to the optical fiber fault point;

第一光纤故障点地面位置获取模块30,用于根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置;A first optical fiber fault point ground position acquisition module 30, used to obtain the first optical fiber fault point ground position according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;

故障点分区判断模块40,用于通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区;A fault point partition determination module 40 is used to determine the fault point partition according to the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area;

第二光纤故障点地面位置获取模块50,用于当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置;A second optical fiber fault point ground position acquisition module 50, for obtaining the second optical fiber fault point ground position according to a GIS map and the optical fiber fault point cable length when the fault point is zoned as the building-dense area;

第三光纤故障点地面位置获取模块60,用于当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。The third optical fiber fault point ground position acquisition module 60 is used to input the cable length of the optical fiber fault point into the pre-trained historical fault data model to obtain the third optical fiber fault point ground position when the fault point is partitioned into the building sparse area.

可选地,所述第二光纤故障点地面位置获取模块50还包括获取所述GIS地图,其中,所述GIS地图包括多个用于表示光纤线路正上方地面位置的标识点;Optionally, the second optical fiber fault point ground position acquisition module 50 further includes acquiring the GIS map, wherein the GIS map includes a plurality of identification points for indicating the ground position directly above the optical fiber line;

根据所述GIS地图和所述光纤故障点电缆长度得到GIS故障点地面位置;Obtaining the ground location of the GIS fault point according to the GIS map and the cable length of the optical fiber fault point;

通过所述GIS故障点地面位置筛选所述标识点得到目标标识位置;The target identification position is obtained by filtering the identification point through the ground position of the GIS fault point;

通过在所述目标标识位置施加振动得到振动光纤衰减信息;Obtaining vibration optical fiber attenuation information by applying vibration at the target identification position;

根据所述振动光纤衰减信息得到标识点电缆长度;Obtaining the cable length of the marked point according to the vibration optical fiber attenuation information;

根据所述标识点电缆长度和所述光纤故障点电缆长度得到所述第二光纤故障点地面位置。The ground position of the second optical fiber fault point is obtained according to the cable length of the identification point and the cable length of the optical fiber fault point.

可选地,所述第二光纤故障点地面位置获取模块50还包括根据所述标识点电缆长度和所述光纤故障点电缆长度得到标识点电缆长度差值;Optionally, the second optical fiber fault point ground position acquisition module 50 further includes obtaining a difference in the length of the cable at the identification point according to the length of the cable at the identification point and the length of the cable at the optical fiber fault point;

当所述标识点电缆长度差值小于或等于预设阈值时,将所述目标标识位置作为所述第二光纤故障点地面位置;When the cable length difference of the identification point is less than or equal to a preset threshold, the target identification position is used as the ground position of the second optical fiber fault point;

当所述标识点电缆长度差值大于所述预设阈值时,根据所述标识点电缆长度差值得到电缆偏移值;When the cable length difference of the identification point is greater than the preset threshold, a cable offset value is obtained according to the cable length difference of the identification point;

通过所述电缆偏移值修正所述目标标识位置得到所述第二光纤故障点地面位置。The target identification position is corrected by the cable offset value to obtain the ground position of the second optical fiber fault point.

可选地,所述故障点分区判断模块40还包括获取光纤铺设位置周边的地理信息,其中,所述地理信息包括地理位置和地理图像;Optionally, the fault point partition determination module 40 further includes obtaining geographic information around the optical fiber laying location, wherein the geographic information includes a geographic location and a geographic image;

根据所述地理位置将所述地理图像拆分为多个子分区;splitting the geographic image into a plurality of sub-regions according to the geographic location;

分别对所有所述子分区进行图像识别得到建筑密集度;Performing image recognition on all the sub-districts to obtain building density;

当所述建筑密集度大于预设建筑密集度阈值时,将所述子分区作为所述建筑密集区;When the building density is greater than a preset building density threshold, the sub-district is used as the building density area;

当所述建筑密集度小于或等于所述预设建筑密集度阈值时,将所述子分区作为所述建筑稀少区。When the building density is less than or equal to the preset building density threshold, the sub-area is used as the building sparse area.

可选地,所述第一光纤故障点地面位置获取模块30还包括获取所述标准参考点电缆长度和所述标准参考点地面位置;Optionally, the first optical fiber fault point ground position acquisition module 30 further includes acquiring the standard reference point cable length and the standard reference point ground position;

根据所述标准参考点电缆长度和所述光纤故障点电缆长度得到标准参考点电缆长度比值;Obtaining a standard reference point cable length ratio according to the standard reference point cable length and the optical fiber fault point cable length;

通过所述标准参考点电缆长度比值和所述标准参考点地面位置得到所述第一光纤故障点地面位置。The ground position of the first optical fiber fault point is obtained by using the cable length ratio of the standard reference point and the ground position of the standard reference point.

可选地,所述第一光纤故障点地面位置获取模块30还包括在标准参考点施加外力使电缆弯曲得到弯曲光纤衰减信息,其中,所述标准参考点用于表示沿光纤铺设位置间隔预设距离的多个参考点中的一个参考点;Optionally, the first optical fiber fault point ground position acquisition module 30 further comprises applying an external force at a standard reference point to bend the cable to obtain bent optical fiber attenuation information, wherein the standard reference point is used to represent one of a plurality of reference points spaced at a preset distance along the optical fiber laying position;

通过所述弯曲光纤衰减信息得到所述标准参考点电缆长度和所述标准参考点地面位置。The cable length of the standard reference point and the ground position of the standard reference point are obtained through the bent optical fiber attenuation information.

可选地,所述第三光纤故障点地面位置获取模块60还包括模型构建模块,获取历史故障数据集,其中,所述历史故障数据集包括历史故障点地面位置和历史故障点电缆长度;Optionally, the third optical fiber fault point ground position acquisition module 60 further includes a model building module to acquire a historical fault data set, wherein the historical fault data set includes the historical fault point ground position and the historical fault point cable length;

通过所述历史故障点地面位置和所述历史故障点电缆长度训练神经网络模型得到初始训练模型;The neural network model is trained by the ground position of the historical fault point and the cable length of the historical fault point to obtain an initial training model;

当所述初始训练模型的模型精度不满足模型精度需求,则重新获取所述历史故障数据集训练,直至满足所述模型精度需求,得到所述预训练历史故障数据模型。When the model accuracy of the initial training model does not meet the model accuracy requirement, the historical fault data set is re-acquired for training until the model accuracy requirement is met, thereby obtaining the pre-trained historical fault data model.

如图3所示,本发明实施例提供的一种电子设备300,包括存储器310和处理器320;所述存储器310,用于存储计算机程序;所述处理器320,用于当执行所述计算机程序时,实现如上所述的光纤故障定位方法。As shown in FIG3 , an electronic device 300 provided by an embodiment of the present invention includes a memory 310 and a processor 320 ; the memory 310 is used to store a computer program; the processor 320 is used to implement the optical fiber fault location method as described above when executing the computer program.

或者说,一种电子设备300,包括存储器310和耦接至存储器310的处理器320;所述存储器310被配置为存储计算机程序;所述处理器320被配置为当执行所述计算机程序时,执行如下操作:In other words, an electronic device 300 includes a memory 310 and a processor 320 coupled to the memory 310; the memory 310 is configured to store a computer program; and the processor 320 is configured to perform the following operations when executing the computer program:

通过光纤干涉仪采集原始光纤衰减信息;Collect original optical fiber attenuation information through optical fiber interferometer;

根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度;Obtaining a cable length at a fiber fault point according to the original fiber attenuation information, wherein the cable length at the fiber fault point is used to represent the cable length from the fiber input end to the fiber fault point;

根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置;Obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;

通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区;Determine the fault point partition based on the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area;

当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,其中,所述GIS地图用于表示光纤线路分布情况;When the fault point is zoned as the densely built area, the ground position of the second optical fiber fault point is obtained according to the GIS map and the cable length of the optical fiber fault point, wherein the GIS map is used to indicate the distribution of the optical fiber line;

当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。When the fault point is partitioned into the building sparsely populated area, the cable length of the optical fiber fault point is input into the pre-trained historical fault data model to obtain the ground position of the third optical fiber fault point.

本发明实施例提供的一种计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现如上所述的光纤故障定位方法。An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the optical fiber fault locating method as described above is implemented.

或者说,一种非易失性计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,使处理器执行如下操作:In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:

通过光纤干涉仪采集原始光纤衰减信息;Collect original optical fiber attenuation information through optical fiber interferometer;

根据所述原始光纤衰减信息得到光纤故障点电缆长度,其中,所述光纤故障点电缆长度用于表示光纤输入端到光纤故障点的电缆长度;Obtaining a cable length at a fiber fault point according to the original fiber attenuation information, wherein the cable length at the fiber fault point is used to represent the cable length from the fiber input end to the fiber fault point;

根据标准参考点电缆长度、标准参考点地面位置和所述光纤故障点电缆长度得到第一光纤故障点地面位置;Obtaining the ground position of the first optical fiber fault point according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;

通过所述第一光纤故障点地面位置判断故障点分区,其中,所述故障点分区包括建筑密集区和建筑稀少区;Determine the fault point partition based on the ground position of the first optical fiber fault point, wherein the fault point partition includes a building-dense area and a building-sparse area;

当所述故障点分区为所述建筑密集区时,根据GIS地图和所述光纤故障点电缆长度得到第二光纤故障点地面位置,其中,所述GIS地图用于表示光纤线路分布情况;When the fault point is zoned as the densely built area, the ground position of the second optical fiber fault point is obtained according to the GIS map and the cable length of the optical fiber fault point, wherein the GIS map is used to indicate the distribution of the optical fiber line;

当所述故障点分区为所述建筑稀少区时,将所述光纤故障点电缆长度输入预训练历史故障数据模型得到第三光纤故障点地面位置。When the fault point is partitioned into the building sparsely populated area, the cable length of the optical fiber fault point is input into the pre-trained historical fault data model to obtain the ground position of the third optical fiber fault point.

现将描述可以作为本发明的服务器或客户端的电子设备300,其是可以应用于本发明的各方面的硬件设备的示例。电子设备300旨在表示各种形式的数字电子的计算机设备,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备300还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本发明的实现。An electronic device 300 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 300 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 300 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and/or required herein.

电子设备300包括计算单元,其可以根据存储在只读存储器(ROM)中的计算机程序或者从存储单元加载到随机访问存储器(RAM)中的计算机程序,来执行各种适当的动作和处理。在RAM中,还可存储设备操作所需的各种程序和数据。计算单元、ROM以及RAM通过总线彼此相连。输入/输出(I/O)接口也连接至总线。The electronic device 300 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。在本申请中,所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

虽然本发明披露如上,但本发明的保护范围并非仅限于此。本领域技术人员在不脱离本发明的精神和范围的前提下,可进行各种变更与修改,这些变更与修改均将落入本发明的保护范围。Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims (10)

1. A method for locating a fiber fault, comprising:
collecting original fiber attenuation information through a fiber interferometer;
Obtaining the cable length of the optical fiber fault point according to the original optical fiber attenuation information, wherein the cable length of the optical fiber fault point is used for representing the cable length from the optical fiber input end to the optical fiber fault point;
obtaining a first optical fiber fault point ground position according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;
judging a fault point partition through the ground position of the first optical fiber fault point, wherein the fault point partition comprises a building dense area and a building rare area;
When the fault point partition is the building dense area, obtaining a ground position of a second optical fiber fault point according to a GIS map and the lengths of the optical fiber fault point cables, wherein the GIS map is used for representing the distribution condition of optical fiber lines;
And when the fault point partition is the building rare area, inputting the length of the optical fiber fault point cable into a pre-training historical fault data model to obtain a third optical fiber fault point ground position.
2. The method for locating a fault in an optical fiber according to claim 1, wherein the obtaining the ground location of the fault point in the second optical fiber according to the GIS map and the cable length of the fault point in the optical fiber comprises:
the GIS map is obtained, wherein the GIS map comprises a plurality of identification points used for representing the ground position right above the optical fiber line;
obtaining a GIS fault point ground position according to the GIS map and the cable length of the optical fiber fault point;
screening the identification points through the GIS fault point ground positions to obtain target identification positions;
vibration fiber attenuation information is obtained by applying vibration to the target mark position;
Obtaining the cable length of the identification point according to the vibration fiber attenuation information;
And obtaining the ground position of the second optical fiber fault point according to the length of the identification point cable and the length of the optical fiber fault point cable.
3. The method for locating an optical fiber fault according to claim 2, wherein the obtaining the second optical fiber fault point ground location according to the identification point cable length and the optical fiber fault point cable length includes:
Obtaining a difference value of the lengths of the identification point cables according to the lengths of the identification point cables and the lengths of the optical fiber fault point cables;
when the cable length difference value of the identification points is smaller than or equal to a preset threshold value, the target identification position is used as the ground position of the second optical fiber fault point;
When the difference value of the cable lengths of the identification points is larger than the preset threshold value, obtaining a cable offset value according to the difference value of the cable lengths of the identification points;
And correcting the target identification position through the cable offset value to obtain the ground position of the second optical fiber fault point.
4. The method for locating a fault in an optical fiber according to claim 1, wherein said determining a fault point partition from the first optical fiber fault point ground location comprises:
Obtaining geographic information of the periphery of the optical fiber laying position, wherein the geographic information comprises a geographic position and a geographic image;
splitting the geographic image into a plurality of sub-partitions according to the geographic position;
respectively carrying out image recognition on all the sub-subareas to obtain building density;
when the building density is greater than a preset building density threshold, taking the sub-subareas as the building dense areas;
And when the building density is smaller than or equal to the preset building density threshold, the sub-partition is used as the building rare area.
5. The method of claim 1, wherein the obtaining the first fiber fault point ground location from the standard reference point cable length, the standard reference point ground location, and the fiber fault point cable length comprises:
Acquiring the cable length of the standard reference point and the ground position of the standard reference point;
Obtaining a standard reference point cable length ratio according to the standard reference point cable length and the optical fiber fault point cable length;
And obtaining the ground position of the first optical fiber fault point through the cable length ratio of the standard reference point and the ground position of the standard reference point.
6. The method of claim 4, wherein the obtaining the standard reference point cable length and the standard reference point ground location comprises:
Applying an external force to a standard reference point to bend the cable to obtain bending optical fiber attenuation information, wherein the standard reference point is used for representing one reference point of a plurality of reference points which are spaced along an optical fiber laying position by a preset distance;
and obtaining the cable length of the standard reference point and the ground position of the standard reference point through the bending optical fiber attenuation information.
7. The fiber optic fault localization method of claim 1, wherein the method of constructing the pre-training historical fault data model comprises:
Acquiring a historical fault data set, wherein the historical fault data set comprises a historical fault point ground position and a historical fault point cable length;
Training a neural network model through the ground positions of the historical fault points and the cable lengths of the historical fault points to obtain an initial training model;
and when the model precision of the initial training model does not meet the model precision requirement, re-acquiring the historical fault data set for training until the model precision requirement is met, and obtaining the pre-training historical fault data model.
8. An optical fiber fault locating device, comprising:
The original fiber attenuation information acquisition module is used for acquiring original fiber attenuation information through the fiber interferometer;
The optical fiber fault point cable length acquisition module is used for acquiring the optical fiber fault point cable length according to the original optical fiber attenuation information, wherein the optical fiber fault point cable length is used for representing the cable length from an optical fiber input end to an optical fiber fault point;
The first optical fiber fault point ground position acquisition module is used for acquiring a first optical fiber fault point ground position according to the standard reference point cable length, the standard reference point ground position and the optical fiber fault point cable length;
The fault point partition judging module is used for judging a fault point partition through the ground position of the first optical fiber fault point, wherein the fault point partition comprises a building dense area and a building rare area;
The second optical fiber fault point ground position acquisition module is used for acquiring a second optical fiber fault point ground position according to a GIS map and the length of the optical fiber fault point cable when the fault point is partitioned into the building dense areas;
And the third optical fiber fault point ground position acquisition module is used for inputting the length of the optical fiber fault point cable into a pre-training historical fault data model to obtain the third optical fiber fault point ground position when the fault point partition is the building rare area.
9. An electronic device comprising a memory and a processor;
The memory is used for storing a computer program;
The processor for implementing the optical fiber fault localization method of any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the optical fiber fault localization method according to any one of claims 1 to 7.
CN202410920143.8A 2024-07-10 2024-07-10 Optical fiber fault location method, device, electronic equipment and storage medium Active CN118464377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410920143.8A CN118464377B (en) 2024-07-10 2024-07-10 Optical fiber fault location method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410920143.8A CN118464377B (en) 2024-07-10 2024-07-10 Optical fiber fault location method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN118464377A true CN118464377A (en) 2024-08-09
CN118464377B CN118464377B (en) 2024-09-06

Family

ID=92165228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410920143.8A Active CN118464377B (en) 2024-07-10 2024-07-10 Optical fiber fault location method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118464377B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119921852A (en) * 2025-04-02 2025-05-02 四川高路信息科技有限公司 A digital monitoring system for optical cables of expressways

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090190921A1 (en) * 2006-02-03 2009-07-30 Fujikura, Ltd. Optical line monitoring apparatus and optical line monitoring method
CN105187121A (en) * 2015-06-18 2015-12-23 天津纤测道客科技发展有限公司 Communication optical cable fault point surface position location method and system
US20180128709A1 (en) * 2016-11-04 2018-05-10 Hitachi Metals, Ltd. Optical fiber monitoring system
CN108923847A (en) * 2018-08-09 2018-11-30 平湖波汇通信科技有限公司 A kind of Cable's Fault monitoring and accurate positioning method based on GIS
CN111814954A (en) * 2020-06-19 2020-10-23 武汉光迅科技股份有限公司 Optical fiber quality analysis method and device, electronic equipment and storage medium
CN115096550A (en) * 2022-06-30 2022-09-23 中国联合网络通信集团有限公司 Fault positioning method and device and storage medium
US20230052962A1 (en) * 2020-04-29 2023-02-16 Huawei Technologies Co., Ltd. Fault locating method, apparatus, and system
CN116389229A (en) * 2023-06-07 2023-07-04 南京科羿康光电设备有限公司 Self-healing ring network system based on RS485 bus
CN116804574A (en) * 2023-07-12 2023-09-26 南方电网数字电网研究院有限公司 Cable fault positioning method and device based on vibration sensing technology
CN117853927A (en) * 2024-01-18 2024-04-09 青岛明思为科技有限公司 Multi-point real-time monitoring method and system for constructional engineering steel structure

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090190921A1 (en) * 2006-02-03 2009-07-30 Fujikura, Ltd. Optical line monitoring apparatus and optical line monitoring method
CN105187121A (en) * 2015-06-18 2015-12-23 天津纤测道客科技发展有限公司 Communication optical cable fault point surface position location method and system
US20180128709A1 (en) * 2016-11-04 2018-05-10 Hitachi Metals, Ltd. Optical fiber monitoring system
CN108923847A (en) * 2018-08-09 2018-11-30 平湖波汇通信科技有限公司 A kind of Cable's Fault monitoring and accurate positioning method based on GIS
US20230052962A1 (en) * 2020-04-29 2023-02-16 Huawei Technologies Co., Ltd. Fault locating method, apparatus, and system
CN111814954A (en) * 2020-06-19 2020-10-23 武汉光迅科技股份有限公司 Optical fiber quality analysis method and device, electronic equipment and storage medium
CN115096550A (en) * 2022-06-30 2022-09-23 中国联合网络通信集团有限公司 Fault positioning method and device and storage medium
CN116389229A (en) * 2023-06-07 2023-07-04 南京科羿康光电设备有限公司 Self-healing ring network system based on RS485 bus
CN116804574A (en) * 2023-07-12 2023-09-26 南方电网数字电网研究院有限公司 Cable fault positioning method and device based on vibration sensing technology
CN117853927A (en) * 2024-01-18 2024-04-09 青岛明思为科技有限公司 Multi-point real-time monitoring method and system for constructional engineering steel structure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵锦辉;曹波;杨杉;郭峰;李熙;: "基于地理信息系统(GIS)的光缆故障点判断方法分析", 信息通信, no. 01, 15 January 2018 (2018-01-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119921852A (en) * 2025-04-02 2025-05-02 四川高路信息科技有限公司 A digital monitoring system for optical cables of expressways

Also Published As

Publication number Publication date
CN118464377B (en) 2024-09-06

Similar Documents

Publication Publication Date Title
CN109086780B (en) Method and device for detecting electrode plate burrs
CN118376885B (en) High-voltage cable short-circuit fault accurate positioning method and system based on deep learning
CN118464377B (en) Optical fiber fault location method, device, electronic equipment and storage medium
CN109828302B (en) Seismic source positioning method and device based on multiple vibration sensors
CN114445619B (en) Comprehensive pipe gallery risk identification method and system based on sound signal imaging
CN114485916A (en) Environmental noise monitoring method and system, computer equipment and storage medium
CN116091416A (en) Method and device for training assembly defect detection and change detection models of printed circuit board
CN112132845B (en) Method, device, electronic equipment and readable medium for singulating three-dimensional model
CN118296939A (en) Bay ecosystem value evaluation system and method
CN1223826C (en) Image measuring system and method
CN111368824A (en) Instrument identification method, mobile device and storage medium
CN113344064A (en) Event processing method and device
CN117114451B (en) Artificial influence precipitation effect assessment methods, devices, electronic equipment and storage media
CN118485627A (en) Damage detection method of concrete-filled steel tube based on image recognition
CN118035840A (en) Power distribution network exception handling method, device, equipment and storage medium
CN117522955A (en) Object damage feature extraction method and system based on contour tracking
US20230142243A1 (en) Device environment identification method and apparatus, electronic device, and autonomous vehicle
CN116401501A (en) Dredging operation leakage prediction method, device, electronic equipment and medium
CN116151075A (en) A three-dimensional noise assessment method, medium and equipment based on BIM model
CN212807283U (en) Electrical equipment state monitoring device
CN116186344A (en) Address data verification method and terminal
CN115239733A (en) Crack detection method, crack detection device, terminal equipment and storage medium
CN114168657A (en) Method, system, equipment and medium for detecting wind power abnormal data in real time
CN114428887B (en) Click data denoising method, device, electronic device and storage medium
CN115273854B (en) Service quality determining method and device, electronic equipment and storage medium

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