CN114362819A - Optical cable fault point positioning method, device, equipment and medium - Google Patents

Optical cable fault point positioning method, device, equipment and medium Download PDF

Info

Publication number
CN114362819A
CN114362819A CN202111645841.4A CN202111645841A CN114362819A CN 114362819 A CN114362819 A CN 114362819A CN 202111645841 A CN202111645841 A CN 202111645841A CN 114362819 A CN114362819 A CN 114362819A
Authority
CN
China
Prior art keywords
point
reference point
fault
lighting distance
optical cable
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
CN202111645841.4A
Other languages
Chinese (zh)
Other versions
CN114362819B (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111645841.4A priority Critical patent/CN114362819B/en
Publication of CN114362819A publication Critical patent/CN114362819A/en
Application granted granted Critical
Publication of CN114362819B publication Critical patent/CN114362819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Locating Faults (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a medium for positioning an optical cable fault point, which relate to the technical field of network communication, and the method comprises the following steps: acquiring a first lighting distance between a measurement starting point and a fault point; determining a first reference point and a second reference point based on the first lighting distance and the lighting distance from the measurement starting point to each welding point on the optical cable section to be measured; acquiring the position of an optical cable identification pile between a first datum point and a second datum point; and determining the position of the fault point based on the first lighting distance and the position of the optical cable identification pile between the first datum point and the second datum point. The position of the fault point can be accurately positioned.

Description

一种光缆故障点定位方法、装置、设备及介质A method, device, equipment and medium for locating fault point of optical cable

技术领域technical field

本申请涉及网络通信技术领域,特别是涉及一种光缆故障点定位方法、装置、设备及介质。The present application relates to the technical field of network communication, and in particular, to a method, device, equipment and medium for locating a fault point of an optical cable.

背景技术Background technique

随着光纤通信技术的应用,城市中地下铺设的光缆的数量也越来越多,光缆的维护工作也变得更加繁重。在光缆维护工作中,对于光缆故障点的定位是维护工作的重点。With the application of optical fiber communication technology, the number of optical cables laid underground in cities is also increasing, and the maintenance of optical cables has become more arduous. In the maintenance of optical cables, locating the fault point of the optical cable is the focus of the maintenance work.

目前对光缆故障点的定位的方法,主要是在机房中依靠光时域反射仪(opticaltime-domain reflectometer,OTDR)等设备向光缆中发射光信号,以获取机房距离故障点之间的打光距离,然后维护人员通过多年的经验根据打光距离和光缆铺设路线上的所有相邻光缆标识桩间的直线距离总和判断故障点的大致位置。The current method of locating the fault point of the optical cable mainly relies on the optical time-domain reflectometer (OTDR) and other equipment in the equipment room to transmit optical signals into the optical cable to obtain the lighting distance between the equipment room and the fault point. , and then the maintenance personnel judge the approximate location of the fault point based on the lighting distance and the sum of the straight-line distances between all adjacent optical cable marking piles on the optical cable laying route through years of experience.

光缆通常不是完全直线分布,而是有一定的弯曲,光缆标识桩也不会设置的很密集,为了方便维修光缆,在铺设光缆阶段会在一些位置通过卷曲的方式预留光缆。通过OTDR等设备获取的打光距离为故障点与机房之间的光缆的长度,所以打光距离与光缆铺设路线上的所有相邻光缆标识桩间的直线距离总和之间存在很大的偏差,这种偏差会导致维护人员在定位光缆故障点时,无法找到故障点的准确位置,故障点定位准确性差。Optical cables are usually not completely straight, but have a certain curvature, and the optical cable marking piles will not be set very densely. In order to facilitate the maintenance of the optical cables, the optical cables will be reserved by crimping in some positions during the laying of the optical cables. The lighting distance obtained by OTDR and other equipment is the length of the optical cable between the fault point and the equipment room, so there is a large deviation between the lighting distance and the sum of the straight-line distances between all adjacent optical cable marking piles on the optical cable laying route. Such a deviation will cause maintenance personnel to fail to find the exact location of the fault point when locating the fault point of the optical cable, resulting in poor location accuracy of the fault point.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的在于提供一种光缆故障点定位方法、装置、设备及介质,以实现准确定位光缆故障点,具体技术方案如下:The purpose of the embodiments of the present application is to provide a method, device, equipment and medium for locating the fault point of an optical cable, so as to accurately locate the fault point of the optical cable, and the specific technical scheme is as follows:

第一方面,本申请实施例公开了一种光缆故障点定位方法,所述方法包括:In a first aspect, an embodiment of the present application discloses a method for locating a fault point of an optical cable, and the method includes:

获取测量起点至故障点之间的第一打光距离,所述第一打光距离为通过在所述测量起点向待测光缆段发射光信号获取到的所述测量起点与故障点之间的打光距离;Obtain the first lighting distance between the measurement starting point and the fault point, and the first lighting distance is the distance between the measurement starting point and the fault point obtained by transmitting an optical signal to the optical cable section to be measured at the measurement starting point. lighting distance;

基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,所述第一基准点为所述故障点一侧距离所述故障点最近的熔接点,所述第二基准点为所述故障点另一侧距离所述故障点最近的熔接点;A first reference point and a second reference point are determined based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured, and the first reference point is the The welding point closest to the fault point on one side of the fault point, and the second reference point is the welding point closest to the fault point on the other side of the fault point;

获取所述第一基准点与所述第二基准点之间的光缆标识桩的位置;obtaining the position of the optical fiber cable marker between the first reference point and the second reference point;

基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置。The position of the fault point is determined based on the first lighting distance and the position of the optical fiber cable marking pile between the first reference point and the second reference point.

第二方面,本申请实施例公开了一种光缆故障点定位装置,所述装置包括:In a second aspect, an embodiment of the present application discloses a device for locating a fault point of an optical cable, and the device includes:

第一获取模块,用于获取测量起点至故障点之间的第一打光距离,所述第一打光距离为通过在所述测量起点向待测光缆段发射光信号获取到的所述测量起点与故障点之间的打光距离;The first acquisition module is used to acquire the first lighting distance between the measurement starting point and the fault point, and the first lighting distance is the measurement obtained by transmitting an optical signal to the optical cable section to be measured at the measurement starting point The lighting distance between the starting point and the fault point;

第一确定模块,用于基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,所述第一基准点为所述故障点一侧距离所述故障点最近的熔接点,所述第二基准点为所述故障点另一侧距离所述故障点最近的熔接点;The first determination module is used to determine the first reference point and the second reference point based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured. The first reference point is the welding point closest to the fault point on one side of the fault point, and the second reference point is the welding point closest to the fault point on the other side of the fault point;

第二获取模块,用于获取所述第一基准点与所述第二基准点之间的光缆标识桩的位置;a second acquisition module, configured to acquire the position of the optical cable marking pile between the first reference point and the second reference point;

第二确定模块,用于基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置。The second determining module is configured to determine the position of the fault point based on the first lighting distance and the position of the optical cable marking pile between the first reference point and the second reference point.

第三方面,本申请实施例公开了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an embodiment of the present application discloses an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现上述任一方面所述的方法步骤。The processor is configured to implement the method steps described in any one of the above aspects when executing the program stored in the memory.

第四方面,本申请实施例公开了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方面所述的方法步骤。In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the above-mentioned aspects is implemented. described method steps.

第五方面,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的方法。In a fifth aspect, the embodiments of the present application further provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute any one of the above-mentioned methods.

采用上述技术方案,本申请实施例提供的光缆故障点定位方法、装置、设备及介质,通过获取故障点的第一打光距离,基于故障点的第一打光距离和待测光缆段上各熔接点的打光距离,确定出故障点的第一基准点和第二基准点,将光缆故障点的范围准确定位在第一基准点与第二基准点之间,相当于去除了待测光缆段上的预留光缆和第一基准点至第二基准点之外的光缆弯曲分布对故障点定位的影响,极大的提升了故障点定位的准确性,之后通过综合第一基准点和第二基准点之间光缆标识桩的位置以及第一打光距离进行计算,也就可以得到故障点的位置,可以降低第一基准点与第二基准点之间的光缆弯曲分布对光缆故障点定位的影响,提高了光缆故障点定位的准确性。By adopting the above technical solutions, the method, device, equipment and medium for locating the fault point of the optical cable provided by the embodiments of the present application, by obtaining the first lighting distance of the fault point, based on the first lighting distance of the fault point and the distance on the cable section to be tested The lighting distance of the fusion point, determine the first reference point and the second reference point of the fault point, and accurately locate the range of the fault point of the optical cable between the first reference point and the second reference point, which is equivalent to removing the optical cable to be tested. The influence of the reserved optical cable on the segment and the bending distribution of the optical cable beyond the first reference point to the second reference point on the fault point location greatly improves the accuracy of the fault point location. By calculating the position of the optical cable marking pile and the first lighting distance between the two reference points, the position of the fault point can be obtained, which can reduce the bending distribution of the optical cable between the first reference point and the second reference point and locate the fault point of the optical cable. Influence, improve the accuracy of fiber optic cable fault point location.

当然,实施本申请的任一产品或方法并不一定需要同时达到以上所述的所有优点。Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application, and for those of ordinary skill in the art, other embodiments can also be obtained according to these drawings.

图1为本申请实施例提供的一种光缆故障点定位方法的流程图;1 is a flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present application;

图2为本申请实施例提供的一种光缆故障点定位方法的另一种流程图;FIG. 2 is another flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present application;

图3a为本申请实施例提供的一种光缆故障点查询方式示意图;FIG. 3a is a schematic diagram of a method for querying a fault point of an optical cable provided by an embodiment of the application;

图3b为本申请实施例提供的另一种光缆故障点查询方式示意图;FIG. 3b is a schematic diagram of another optical cable fault point query method provided by an embodiment of the application;

图4为本申请实施例提供的另一种光缆故障点定位方法的流程图;4 is a flowchart of another method for locating a fault point of an optical cable according to an embodiment of the present application;

图5a为本申请实施例提供的一种基准点确定方式的示意图;5a is a schematic diagram of a reference point determination method provided by an embodiment of the present application;

图5b为本申请实施例提供的另一种基准点确定方式的示意图;5b is a schematic diagram of another reference point determination method provided by an embodiment of the present application;

图6为本申请实施例提供的一种光缆故障点定位方法的另一种流程图;6 is another flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present application;

图7为本申请实施例提供的另一种光缆故障点查询方式示意图;FIG. 7 is a schematic diagram of another optical cable fault point query method provided by an embodiment of the present application;

图8为本申请实施例提供的一种光缆故障点定位装置的结构示意图;FIG. 8 is a schematic structural diagram of an optical cable fault point locating device according to an embodiment of the present application;

图9为本申请实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员基于本申请所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art based on the present application fall within the protection scope of the present application.

本申请实施例提供的光缆故障点定位方法可以由电子设备执行,该电子设备可以为智能手机、平板电脑、台式电脑、服务器等设备。The method for locating a fault point of an optical cable provided by the embodiment of the present application may be performed by an electronic device, and the electronic device may be a device such as a smart phone, a tablet computer, a desktop computer, and a server.

以下对本申请实施例提供的光缆故障点定位方法进行详细介绍,如图1所示,本申请实施例提供了一种光缆故障点定位方法,该方法包括:A method for locating a fault point of an optical cable provided by an embodiment of the present application is described in detail below. As shown in FIG. 1 , an embodiment of the present application provides a method for locating a fault point of an optical cable, and the method includes:

S101、获取测量起点至故障点之间的第一打光距离。S101. Obtain a first lighting distance between a measurement starting point and a fault point.

其中,第一打光距离为通过在测量起点向待测光缆段发射光信号获取到的测量起点与故障点之间的打光距离。Wherein, the first lighting distance is the lighting distance between the measurement starting point and the fault point obtained by transmitting an optical signal to the optical cable segment to be measured at the measurement starting point.

在本申请实施例中,故障点为地下铺设或架空的光缆的断点,测量起点为能够与存在故障点的待测光缆段的任意一段进行通信的通信机房中的有源设备。In the embodiment of the present application, the fault point is the breakpoint of the optical cable laid underground or overhead, and the measurement starting point is the active equipment in the communication equipment room that can communicate with any section of the optical cable section to be measured with the fault point.

当两个通信机房之间的光缆段存在故障点,导致通信中断时,技术人员可以从其中一个通信机房中的与该光缆段相接的设备的端口查看到故障警示,进而,技术人员可以通过OTDR设备向该端口发射光信号,使得光信号在该端口连接的光缆段传输,从而测量通信机房中的有源设备到该光缆段的故障点的打光距离。When there is a fault point in the optical cable segment between the two communication equipment rooms, which leads to the interruption of communication, the technician can check the fault warning from the port of the equipment connected to the optical fiber cable segment in one of the communication equipment rooms. The OTDR device transmits an optical signal to the port, so that the optical signal is transmitted in the optical cable segment connected to the port, so as to measure the lighting distance from the active device in the communication room to the fault point of the optical cable segment.

由于OTDR设备发出的光信号会从测量起点通过光缆到达故障点,所以第一打光距离为测量起点到故障点之间的光缆的长度。Since the optical signal sent by the OTDR device will reach the fault point through the optical cable from the measurement starting point, the first optical distance is the length of the optical cable between the measurement starting point and the fault point.

S102、基于第一打光距离和测量起点到待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点。S102, determining a first reference point and a second reference point based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured.

其中,第一基准点为故障点一侧距离故障点最近的熔接点,第二基准点为故障点另一侧距离故障点最近的熔接点;Wherein, the first reference point is the welding point closest to the fault point on one side of the fault point, and the second reference point is the welding point closest to the fault point on the other side of the fault point;

在本申请实施例中,连接两个通信机房之间的光缆通常由多段较短的光缆熔接而来,相邻两段的光缆之间会存在熔接点,通信机房到这些熔接点的打光距离可以通过OTDR设备发射光信号测量得到。In the embodiment of the present application, the optical cable connecting two communication equipment rooms is usually spliced by multiple shorter optical cables, and there will be fusion splices between two adjacent sections of the optical cable, and the lighting distance from the communication equipment room to these fusion points It can be measured by the optical signal emitted by the OTDR device.

一种实施方式中,对于两个相邻的通信机房,两个相邻的通信机房之间有多个光缆段,各光缆段之间具有熔接点,可以通过OTDR设备提前采集通信机房到每个熔接点之间的打光距离,并将打光距离保存在数据库中。进而,在进行故障点定位时,电子设备可以根据用户输入的测量起点和待测光缆段信息从数据库中获取测量起点到待测光缆段上的各熔接点的打光距离。In one embodiment, for two adjacent communication equipment rooms, there are multiple optical cable segments between the two adjacent communication equipment rooms, and each optical fiber cable segment has a splicing point. Shot distance between splices, and save the shot distance in the database. Furthermore, when locating the fault point, the electronic device can obtain the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured from the database according to the measurement starting point and the optical cable segment information input by the user.

例如,通信机房1和通信机房2之间有光缆1、光缆2和光缆3,光缆1和光缆2之间通过熔接点A相连,光缆2和光缆3之间通过熔接点B相连。For example, there are optical cable 1, optical cable 2 and optical cable 3 between communication equipment room 1 and communication equipment room 2. Optical cable 1 and optical cable 2 are connected by fusion point A, and optical cable 2 and optical cable 3 are connected by fusion point B.

可以在通信机房1使用OTDR设备朝着通信机房2的方向在光缆中打光,从而得到通信机房1到熔接点A的打光距离和到熔接点B的打光距离。The OTDR equipment can be used in the communication equipment room 1 to light the optical cable in the direction of the communication equipment room 2, so as to obtain the lighting distance from the communication equipment room 1 to the fusion point A and the lighting distance to the fusion point B.

并且,可以在通信机房2使用OTDR设备朝着通信机房1的方向在光缆中打光,从而得到通信机房2到熔接点A的打光距离和到熔接点B的打光距离。In addition, the OTDR equipment can be used in the communication equipment room 2 to light the optical cable in the direction of the communication equipment room 1, so as to obtain the lighting distance from the communication equipment room 2 to the fusion point A and the lighting distance to the fusion point B.

S103、获取第一基准点与第二基准点之间的光缆标识桩的位置。S103: Acquire the position of the optical cable marking pile between the first reference point and the second reference point.

光缆标识桩为设置在地面上用来标识光缆位置的标识桩、地下管道的人井、杆路的电杆等,通常光缆标识桩上会有“下有光缆,禁止开挖”的字样,光缆标识桩的位置为光缆标识桩的经纬度。Optical cable marking piles are marking piles set on the ground to mark the position of optical cables, manholes of underground pipelines, poles of pole roads, etc. Usually, the marking piles of optical cables will have the words "there are optical cables under, excavation prohibited". The location of the marking pile is the longitude and latitude of the optical cable marking pile.

本申请实施例中,技术人员可以预先通过全球定位系统(Global PositioningSystem,GPS)定位设备采集各光缆段上的熔接点的经纬度和光缆标识桩的经纬度,并保存到数据库中,当电子设备确定第一基准点的位置和第二基准点的位置后,可以从数据库中获取到第一基准点和第二基准点之间的光缆标识桩的位置。In the embodiment of the present application, the technician can collect the longitude and latitude of the fusion point on each optical cable segment and the longitude and latitude of the optical cable identification pile through the Global Positioning System (Global Positioning System, GPS) positioning device in advance, and save them in the database. After the position of the first reference point and the position of the second reference point, the position of the optical cable marking pile between the first reference point and the second reference point can be obtained from the database.

S104、基于第一打光距离、第一基准点与第二基准点之间的光缆标识桩的位置,确定故障点的位置。S104 , determining the location of the fault point based on the first lighting distance and the location of the optical cable marking pile between the first reference point and the second reference point.

本申请实施例提供的方法通过获取故障点的第一打光距离,基于故障点的第一打光距离和待测光缆段上各熔接点的打光距离,确定出故障点的第一基准点和第二基准点,将光缆故障点的范围准确定位在第一基准点与第二基准点之间,相当于去除了待测光缆段上的预留光缆和第一基准点至第二基准点之外的光缆弯曲分布对故障点定位的影响,极大的提升了故障点定位的准确性,之后通过综合第一基准点和第二基准点之间光缆标识桩的位置以及第一打光距离进行计算,也就可以得到故障点的位置,可以降低第一基准点与第二基准点之间的光缆弯曲分布对光缆故障点定位的影响,提高了光缆故障点定位的准确性。The method provided by the embodiment of the present application determines the first reference point of the fault point by obtaining the first lighting distance of the fault point, and based on the first lighting distance of the fault point and the lighting distance of each welding point on the optical cable segment to be tested and the second reference point, the range of the fault point of the optical cable is accurately positioned between the first reference point and the second reference point, which is equivalent to removing the reserved optical cable and the first reference point to the second reference point on the cable segment to be tested. The influence of the bending distribution of the optical cable on the fault point location greatly improves the accuracy of the fault point location. By performing the calculation, the position of the fault point can be obtained, the influence of the bending distribution of the optical cable between the first reference point and the second reference point on the location of the optical cable fault point can be reduced, and the accuracy of the location of the optical cable fault point can be improved.

在本公开另一实施例中,如图2所示,该方法包括以下步骤:In another embodiment of the present disclosure, as shown in FIG. 2 , the method includes the following steps:

S201、获取用户在地理信息系统(Geographic Information System或Geo-Information system,GIS)界面输入的测量起点和待测光缆段的信息。S201. Acquire the information of the measurement starting point and the optical cable section to be measured input by the user on the Geographic Information System (Geographic Information System or Geo-Information system, GIS) interface.

S202、接收用户的测量指令。S202. Receive a user's measurement instruction.

技术人员可以将第一打光距离,以及测量起点,待测光缆段的信息输入到电子设备中,点击开始测量按钮,相应地,电子设备可以接收到用户的测量指令。The technician can input the information of the first lighting distance, the measurement starting point, and the optical cable segment to be measured into the electronic device, and click the start measurement button. Accordingly, the electronic device can receive the user's measurement instruction.

实际中,连接A、B两个通信机房之间的光缆由多根纤芯组成,但并非光缆中的所有纤芯都是从A连接到B,AB之间的光缆可能存在光交接点,即这段光缆中的一部分纤芯在光交接点处被分接到了其他通信机房。In practice, the optical cable connecting the two communication rooms A and B consists of multiple cores, but not all the cores in the optical cable are connected from A to B, and the optical cable between A and B may have an optical junction point, that is, A part of the fiber cores in this section of optical cable is tapped to other communication rooms at the optical junction point.

所以,用户在故障点查询界面有两种输入方式:Therefore, the user has two input methods in the fault point query interface:

一、如图3a所示,如果通信机房AB之间的光缆段的所有纤芯未被分接,则需要在查询界面输入第一打光距离、测量起点以及测量方向。1. As shown in Figure 3a, if all the fiber cores of the optical cable section between the communication room AB are not tapped, you need to input the first lighting distance, measurement starting point and measurement direction in the query interface.

二、如图3b所示,如果通信机房AB之间的光缆段的部分纤芯被分接到其他机房,在A机房中连接B机房的纤芯的端口为2TA-01-02-A-2-11-1,则需要在查询界面输入第一打光距离、测量起点以及在A机房中连接B机房的纤芯端口2TA-01-02-A-2-11-1。2. As shown in Figure 3b, if part of the fiber core of the optical cable segment between the communication equipment room AB is tapped to other equipment rooms, the port connecting the fiber core of the computer room B in the equipment room A is 2TA-01-02-A-2 -11-1, you need to enter the first lighting distance, measurement starting point, and the fiber core port 2TA-01-02-A-2-11-1 in the A computer room connected to the B computer room in the query interface.

S203、响应于测量指令,获取测量起点至故障点之间的第一打光距离,并基于待测光缆段的信息获取测量起点到待测光缆段上的各熔接点的打光距离。S203 , in response to the measurement instruction, obtain the first lighting distance from the measurement starting point to the fault point, and obtain the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured based on the information of the optical cable segment to be measured.

在S203之后,可执行S102至S104。After S203, S102 to S104 may be performed.

采用本方法,用户只需输入第一打光距离、测量起点和待测光缆段的信息,点击测量按钮,便可以实现对故障点的准确定位,故障点定位不需要依靠人工计算,操作简单快速。With this method, the user only needs to input the information of the first lighting distance, the measurement starting point and the optical cable segment to be measured, and click the measurement button to accurately locate the fault point. The fault point location does not need to rely on manual calculation, and the operation is simple and fast. .

在本申请另一实施例中,图4所示,在上述实施例的基础上,S102具体可以实现为:In another embodiment of the present application, as shown in FIG. 4 , on the basis of the foregoing embodiment, S102 may be specifically implemented as:

S1021、基于第一打光距离和测量起点到待测光缆段上的各熔接点的打光距离,确定与故障点距离最近的目标熔接点。S1021 , based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured, determine the target fusion point closest to the fault point.

S1021具体可以实现为:S1021 can be specifically implemented as:

将测量起点到待测光缆段上的各熔接点的打光距离分别与第一打光距离相减,取各差值的绝对值,得到各熔接点与故障点之间的距离;Subtract the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured and the first lighting distance respectively, and take the absolute value of each difference to obtain the distance between each fusion point and the fault point;

确定各熔接点与故障点之间的距离的最小值,得到与故障点距离最近的目标熔接点。Determine the minimum distance between each fusion point and the fault point, and obtain the target fusion point closest to the fault point.

即可以通过以下公式实现:That can be achieved by the following formula:

P=min(|BM1-BP|,|BM2-BP|,…,|BMn-BP|)P=min(|BM1-BP|,|BM2-BP|,...,|BMn-BP|)

其中,P为与故障点距离最近的目标熔接点,BMn表示测量起点到待测光缆段上的第n个熔接点的打光距离,BP表示当前故障点距离测量起点的OTDR打光距离,即测量起点到故障点的打光距离,实际操作中要保持BMn值的测量起点和BP值的测量起点以及测量的光缆段一致,使得BMn与BP值的OTDR打光方向保持一致。Among them, P is the target fusion point closest to the fault point, BMn represents the lighting distance from the measurement starting point to the nth fusion point on the cable segment to be measured, and BP represents the OTDR lighting distance from the current fault point to the measurement starting point, namely Measure the lighting distance from the starting point to the fault point. In actual operation, keep the measurement starting point of the BMn value, the measurement starting point of the BP value, and the measured optical cable segment consistent, so that the OTDR lighting direction of the BMn value and the BP value are consistent.

|BM1-BP|,|BM2-BP|,…,|BMn-BP|分别表示各熔接点与故障点之间的距离。|BM1-BP|, |BM2-BP|,…,|BMn-BP| represent the distance between each fusion point and the fault point, respectively.

求得|BM1-BP|,|BM2-BP|,…,|BMn-BP|中的最小值,即确定各熔接点与故障点之间的距离的最小值,也就可以得到与故障点距离最近的目标熔接点。Obtain the minimum value of |BM1-BP|, |BM2-BP|,…,|BMn-BP|, that is, to determine the minimum value of the distance between each welding point and the fault point, and then the distance to the fault point can be obtained. The nearest target weld point.

例如,各熔接点与故障点之间的距离最小值为|BM2-BP|,则确定目标熔接点为打光距离BM2对应的熔接点。For example, if the minimum distance between each welding point and the fault point is |BM2-BP|, the target welding point is determined to be the welding point corresponding to the lighting distance BM2.

通过将测量起点到待测光缆段上的各熔接点的打光距离分别与第一打光距离相减,取各差值的绝对值,相当于得到了各熔接点与故障点之间的光缆的长度,进而,通过确定各差值的绝对值的最小值相当于确定出了与故障点之间的光缆长度最短的熔接点,也就是确定出与故障点距离最近的目标熔接点,可以准确确定出于故障点距离最近的目标熔接点,进而提高了故障点定位的准确性。By subtracting the lighting distance from the measurement starting point to each splicing point on the optical cable segment to be tested and the first illuminating distance, and taking the absolute value of each difference, it is equivalent to obtaining the optical cable between each fusion point and the fault point. Then, by determining the minimum value of the absolute value of each difference, it is equivalent to determining the fusion point with the shortest optical cable length between the fault point and the fault point, that is, determining the target fusion point with the closest distance to the fault point. The target fusion splicing point that is closest to the fault point is determined, thereby improving the accuracy of fault point location.

S1022、如果测量起点至与目标熔接点的第二打光距离小于第一打光距离,则确定第一基准点为目标熔接点,第二基准点为在测量起点至目标熔接点方向上,目标熔接点的下一熔接点。S1022, if the second lighting distance from the measurement starting point to the target fusion point is less than the first lighting distance, then determine that the first reference point is the target fusion point, and the second reference point is the target fusion point in the direction from the measurement start point to the target fusion point. The next splice of the splice.

例如,如图5a所示,测量起点为机房A,故障点为C,目标熔接点为B,可以理解的是ACB三点在同一光缆段上,A至B的打光距离为第二打光距离,A至C的打光距离为第一打光距离。For example, as shown in Figure 5a, the measurement starting point is computer room A, the fault point is C, and the target fusion point is B. It can be understood that the three points of ACB are on the same optical cable segment, and the lighting distance from A to B is the second lighting Distance, the lighting distance from A to C is the first lighting distance.

假设在A至B方向上,B的下一熔接点为E,B的上一熔接为D;Assume that in the direction from A to B, the next welding point of B is E, and the previous welding point of B is D;

如果第二打光距离小于第一打光距离,则B为第一基准点,E为第二基准点。If the second lighting distance is smaller than the first lighting distance, B is the first reference point, and E is the second reference point.

S1023、如果第二打光距离大于第一打光距离,则第二基准点为目标熔接点,第一基准点为在测量起点至目标熔接点方向上,目标熔接点的上一熔接点。S1023. If the second lighting distance is greater than the first lighting distance, the second reference point is the target fusion point, and the first reference point is the last fusion point of the target fusion point in the direction from the measurement starting point to the target fusion point.

承接上例,如图5b所示,如果第二打光距离大于第一打光距离,则B为第二基准点,D为第一基准点。Following the previous example, as shown in FIG. 5b, if the second lighting distance is greater than the first lighting distance, B is the second reference point, and D is the first reference point.

在本申请另一实施例中,如果第一打光距离等于第二打光距离,则故障点和目标熔接点的位置重合,此时电子设备可以直接确定故障点的位置为目标熔接点的位置。In another embodiment of the present application, if the first lighting distance is equal to the second lighting distance, the position of the fault point and the target welding point coincide, and the electronic device can directly determine the position of the fault point as the position of the target welding point .

采用本方法,通过第一打光距离和待测光缆段上的各熔接点的打光距离,可以确定出距离故障点最近的目标熔接点,再通过比较第一打光距离与测量起点至目标熔接点的第二打光距离的大小关系,就可以得到目标熔接点与故障点的位置关系。进而,可以确定出故障点另一侧的与故障点距离最近的熔接点,也就是将故障点的位置精确定位在两个相邻的熔接点之间,即第一基准点和第二基准点之间。由于打光距离可以反映测量起点至故障点或熔接点之间的光缆的真实长度,所以将故障点定位在第一基准点和第二基准点之间,也就排除了第一基准点和第二基准点之外的光缆预留长度和光缆弯曲对故障点定位精度的影响,提高了定位准确度。By adopting this method, the target welding point closest to the fault point can be determined through the first lighting distance and the lighting distance of each welding point on the optical cable segment to be measured, and then by comparing the first lighting distance and the measurement starting point to the target The positional relationship between the target welding point and the fault point can be obtained by the size relationship of the second lighting distance of the welding point. Furthermore, the welding point on the other side of the fault point that is closest to the fault point can be determined, that is, the position of the fault point can be precisely positioned between two adjacent welding points, that is, the first reference point and the second reference point between. Since the lighting distance can reflect the real length of the optical cable between the measurement starting point and the fault point or the fusion point, the fault point is located between the first reference point and the second reference point, which excludes the first reference point and the second reference point. The influence of the reserved length of the optical cable outside the two reference points and the bending of the optical cable on the positioning accuracy of the fault point improves the positioning accuracy.

在本申请另一实施例中,在上述实施例的基础上,上述步骤S104具体可以实现为:In another embodiment of the present application, on the basis of the foregoing embodiment, the foregoing step S104 may be specifically implemented as:

首先通过st_makeline()函数获取第一基准点到第二基准点之间的曲线的位置信息:First, obtain the position information of the curve between the first reference point and the second reference point through the st_makeline() function:

geometryBM=st_makeline(geometry[g1、g2…gn-1、gn])geometryBM=st_makeline(geometry[g1, g2...gn-1, gn])

g1为第一基准点的经纬度对应的GIS信息,gn为第二基准点的经纬度对应的GIS信息,g2…gn-1依次表示第一基准点至第二基准点方向上的光缆标识桩的经纬度对应的GIS信息。g1 is the GIS information corresponding to the longitude and latitude of the first reference point, gn is the GIS information corresponding to the longitude and latitude of the second reference point, and g2...gn-1 represent the longitude and latitude of the optical cable identification pile in the direction from the first reference point to the second reference point in turn Corresponding GIS information.

PostGIS的内置函数为地理信息系统开发过程中的常用函数,PostGIS的内置函数中的函数st_makeline()为由多个点的位置生成线的函数,在本申请实施例中该函数可以按照g1、g2…gn-1、gn的顺序生成一条曲线,该曲线的两端为第一基准点和第二基准点。The built-in function of PostGIS is a commonly used function in the process of developing a geographic information system, and the function st_makeline() in the built-in function of PostGIS is a function that generates lines from the positions of multiple points. The sequence of ...gn-1, gn generates a curve, and the two ends of the curve are the first reference point and the second reference point.

geometry()用于转换数据类型,由于本申请中g1、g2…gn-1、gn为经纬度对应的GIS信息,为单独的点的数据类型,函数st_makeline()可以将点的数据类型转换为线的数据类型,即生成的geometryBM为第一基准点到第二基准点曲线的位置信息。geometry() is used to convert data types. Since g1, g2...gn-1, and gn in this application are GIS information corresponding to latitude and longitude, they are the data types of individual points. The function st_makeline() can convert the data types of points into lines. The data type, that is, the generated geometryBM is the position information of the curve from the first reference point to the second reference point.

引进PostGIS的内置函数ST_LineInterpolatePoint():Introduce the built-in function ST_LineInterpolatePoint() of PostGIS:

函数ST_LineInterpolatePoint()为用于在满足条件1和条件2的情况下,计算未知点的位置的函数。The function ST_LineInterpolatePoint( ) is a function for calculating the position of the unknown point when the conditions 1 and 2 are satisfied.

其中,该未知点位于两个端点之间,条件1为已知上述两个端点的位置,且已知两个端点之间的多个点的位置。Wherein, the unknown point is located between two endpoints, and condition 1 is that the positions of the two endpoints are known, and the positions of multiple points between the two endpoints are known.

条件2为已知未知点到其中一个端点之间的距离与两个端点之间的距离的比值。Condition 2 is the ratio of the distance between the known unknown point and one of the endpoints to the distance between the two endpoints.

将内置函数的应用场景替换为本申请实施例中的场景,即在本申请实施例中,上述两个端点为第一基准点和第二基准点,未知点为故障点,两个端点之间的位置为第一基准点和第二基准点之间的光缆标识桩的位置。The application scenario of the built-in function is replaced with the scenario in the embodiment of the present application, that is, in the embodiment of the present application, the above two endpoints are the first reference point and the second reference point, the unknown point is the fault point, and the gap between the two endpoints is The position is the position of the fiber optic cable marking pile between the first reference point and the second reference point.

通过上述场景替换,即可得到故障点的GIS定位公式:By replacing the above scenarios, the GIS positioning formula of the fault point can be obtained:

Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));

其中,Bpgeometry为故障点的位置;Among them, Bpgeometry is the location of the fault point;

geometryBM为第一基准点至第二基准点之间的曲线的位置信息;geometryBM is the position information of the curve between the first reference point and the second reference point;

BP为第一打光距离;BP is the first lighting distance;

BMg1为测试起点至第一基准点的打光距离;BMg1 is the lighting distance from the test starting point to the first reference point;

函数sd_st_transform(,26986)用于将第一基准点至第二基准点之间的曲线的位置信息转换为26986坐标系中的位置坐标;The function sd_st_transform(, 26986) is used to convert the position information of the curve between the first reference point and the second reference point into position coordinates in the 26986 coordinate system;

函数ST_Length()根据转换得到的26986坐标系的坐标点计算所述第一基准点至所述第二基准点之间的曲线在所述26986坐标系中的长度。The function ST_Length( ) calculates the length of the curve between the first reference point and the second reference point in the 26986 coordinate system according to the converted coordinate points of the 26986 coordinate system.

可理解的是(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986)))为计算第一基准点至故障点的距离与第一基准点至第二基准点的曲线的长度的比值,进而,函数ST_LineInterpolatePoint()可以根据该比值和geometryBM计算得到故障点的经纬度。It can be understood that (BP-BMg1)/(ST_Length(sd_st_transform(geometryBM, 26986))) is the ratio of the distance from the first reference point to the fault point to the length of the curve from the first reference point to the second reference point, and then , the function ST_LineInterpolatePoint() can calculate the latitude and longitude of the fault point according to the ratio and geometryBM.

需要说明的是函数ST_LineInterpolatePoint()和函数st_makeline()均为PostGIS的内置函数,上述函数的计算原理可以参考有关描述。It should be noted that the function ST_LineInterpolatePoint() and the function st_makeline() are both built-in functions of PostGIS. For the calculation principles of the above functions, please refer to the relevant description.

采用本方法,基于PostGIS路由定位原理,通过将第一基准点的经纬度对应的GIS信息、第二基准点经纬度对应的GIS信息以及第一基准点与第二基准点之间的光缆标识桩的经纬度对应的GIS信息生成第一基准点至第二基准点之间的曲线的位置信息,并将该曲线的位置信息转换为26986坐标系中的位置坐标,然后基于坐标和函数ST_Length()计算该曲线在26986坐标系中的长度,并非直接计算第一基准点和第二基准点之间的直线距离,使得计算得到的第一基准点和第二基准点之间的曲线的长度更为接近第一基准点和第二基准点之间弯曲的光缆的长度,通过计算第一基准点至故障点的距离与第一基准点至第二基准点的曲线长度的比值,从而实现更精确的计算故障点在第一基准点至第二基准点方向上的位置。进而,结合第一基准点和第二基准点之间曲线的位置信息,通过函数ST_LineInterpolatePoint()可以得到故障点位置,可以最大程度降低光缆预留、光缆弯曲对故障点定位的影响,有效提高故障点定位的准确性。Using this method, based on the PostGIS routing and positioning principle, the GIS information corresponding to the longitude and latitude of the first reference point, the GIS information corresponding to the longitude and latitude of the second reference point, and the longitude and latitude of the optical cable marking pile between the first reference point and the second reference point are used. The corresponding GIS information generates the position information of the curve between the first reference point and the second reference point, and converts the position information of the curve into the position coordinates in the 26986 coordinate system, and then calculates the curve based on the coordinates and the function ST_Length() The length in the 26986 coordinate system does not directly calculate the straight-line distance between the first reference point and the second reference point, so that the calculated length of the curve between the first reference point and the second reference point is closer to the first reference point. The length of the optical cable bent between the reference point and the second reference point, by calculating the ratio of the distance from the first reference point to the fault point to the length of the curve from the first reference point to the second reference point, so as to achieve a more accurate calculation of the fault point The position in the direction from the first reference point to the second reference point. Furthermore, combined with the position information of the curve between the first reference point and the second reference point, the position of the fault point can be obtained through the function ST_LineInterpolatePoint(). accuracy of point positioning.

在本申请实施例中,如图6所示,在上述实施例的基础上,步骤S104之后还包括:In the embodiment of the present application, as shown in FIG. 6 , on the basis of the above-mentioned embodiment, after step S104, it further includes:

S601、将故障点位置展示在地理信息系统GIS界面的GIS地图上。S601. Display the location of the fault point on the GIS map of the GIS interface of the geographic information system.

如图7所示,例如,用户在GIS界面输入,第一打光距离为6530m,测量起点为枢纽楼二楼传输机房,方向为枢纽楼二楼传输机房至十六里河机房方向,点击开始测量按钮,则地理信息平台GIS地图中会显示待测光缆线路和故障点在线路上的位置。As shown in Figure 7, for example, when the user enters the GIS interface, the first lighting distance is 6530m, the measurement starting point is the transmission computer room on the second floor of the hub building, and the direction is the direction from the transmission computer room on the second floor of the hub building to the Shiliulihe computer room, click Start Measure button, the location of the optical cable line to be measured and the fault point on the line will be displayed in the GIS map of the geographic information platform.

采用本方法,故障点位置将直接显示在地理信息平台GIS地图界面,使光缆故障点定位直观、准确,摆脱了线路维护人员的经验依赖,使对现场路由不熟悉的维护人员也能快速定位光缆故障点位置;在光缆故障发生时,线路维护人员可以根据地图显示的故障点位置直接去相应位置进行光缆维修,不需要进行全程巡检摸查。By adopting this method, the location of the fault point will be directly displayed on the GIS map interface of the geographic information platform, so that the location of the optical cable fault point is intuitive and accurate, and the experience dependence of the line maintenance personnel is eliminated, so that the maintenance personnel who are not familiar with the on-site routing can also quickly locate the optical cable. The location of the fault point; when the optical cable fault occurs, the line maintenance personnel can directly go to the corresponding location to repair the optical cable according to the location of the fault point displayed on the map, without the need for full inspection.

在本申请实施例中,地理信息平台用于执行本申请实施例提供的光缆故障点定位方法,地理信息平台具体搭建流程为:In the embodiment of the present application, the geographic information platform is used to execute the method for locating the fault point of the optical cable provided by the embodiment of the present application, and the specific construction process of the geographic information platform is as follows:

通过地理服务器GeoServer加载大地测绘的地图,结合行政区规划边界信息搭建系统平台。The geodetic mapping map is loaded through the geographic server GeoServer, and the system platform is built in combination with the administrative area planning boundary information.

技术人员在系统后台进行区域内所有光缆、接头盒、光交等哑资源信息的录入工作、纤芯与端子的关联工作,并在系统内配置上述实施例中的光缆计算函数和公式。In the background of the system, technicians perform the entry of dummy resource information such as optical cables, splice boxes, and optical switches in the area, as well as the association of optical fibers and terminals, and configure the optical cable calculation functions and formulas in the above embodiments in the system.

PostgresSQL数据库提供的GIS信息在GeoServer上生成包含光缆路线的地理图层,并展示该地理图层,其中PostgreSQL是一种对象-关系型数据库管理系统。The GIS information provided by the PostgresSQL database generates a geographic layer containing optical cable routes on GeoServer, and displays the geographic layer. PostgreSQL is an object-relational database management system.

采用本方法,该地理信息平台可以自动根据用户输入的第一打光距离以及平台内的光缆标识桩位置、熔接点位置进行故障点定位,并将计算得到的故障点的位置展示在地理信息平台GIS地图上,即用户只需要在用户界面输入第一打光距离和测量起点和待测光缆段信息,点击开始测量就可以方便直观在用户界面看到故障点的地理位置,该平台可以解决电信运营商在各种生产场景下的缆线故障点定位问题,适用性强。By adopting this method, the geographic information platform can automatically locate the fault point according to the first lighting distance input by the user, the position of the optical cable marking pile and the position of the welding point in the platform, and display the calculated position of the fault point on the geographic information platform. On the GIS map, that is, the user only needs to input the first lighting distance and the measurement starting point and the information of the optical cable section to be measured in the user interface, and click to start the measurement to easily and intuitively see the geographical location of the fault point on the user interface. This platform can solve the problem of telecommunication It has strong applicability for operators to locate cable fault points in various production scenarios.

对应于上述方法实施例,本申请实施例还提供了一种光缆故障点定位装置,如图8所示,该装置包括:Corresponding to the above method embodiments, the embodiments of the present application further provide a device for locating fault points of an optical cable. As shown in FIG. 8 , the device includes:

第一获取模块801,用于获取测量起点至故障点之间的第一打光距离,第一打光距离为通过在测量起点向待测光缆段发射光信号获取到的测量起点与故障点之间的打光距离;The first acquisition module 801 is used to acquire the first lighting distance between the measurement starting point and the fault point, and the first lighting distance is the difference between the measurement starting point and the fault point obtained by transmitting an optical signal to the optical cable section to be measured at the measurement starting point. the lighting distance between

第一确定模块802,用于基于第一打光距离和测量起点到待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,第一基准点为故障点一侧距离故障点最近的熔接点,第二基准点为故障点另一侧距离故障点最近的熔接点;The first determination module 802 is used to determine the first reference point and the second reference point based on the first lighting distance and the lighting distance from the measurement starting point to each welding point on the optical cable segment to be measured, and the first reference point is the fault point The welding point closest to the fault point on one side, and the second reference point is the welding point closest to the fault point on the other side of the fault point;

第二获取模块803,用于获取第一基准点与第二基准点之间的光缆标识桩的位置;The second acquisition module 803 is used to acquire the position of the optical cable marking pile between the first reference point and the second reference point;

第二确定模块804,用于基于第一打光距离、第一基准点与第二基准点之间的光缆标识桩的位置,确定故障点的位置。The second determining module 804 is configured to determine the position of the fault point based on the first lighting distance and the position of the optical cable marking pile between the first reference point and the second reference point.

在本申请另一实施例中,第一确定模块802,具体用于:In another embodiment of the present application, the first determining module 802 is specifically configured to:

基于第一打光距离和测量起点到待测光缆段上的各熔接点的打光距离,确定与故障点距离最近的目标熔接点;Based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured, determine the target fusion point closest to the fault point;

如果测量起点至与目标熔接点的第二打光距离小于第一打光距离,则确定第一基准点为目标熔接点,第二基准点为在测量起点至目标熔接点方向上,目标熔接点的下一熔接点;If the second lighting distance from the measurement starting point to the target welding point is less than the first lighting distance, the first reference point is determined as the target welding point, and the second reference point is the target welding point in the direction from the measurement starting point to the target welding point. the next fusion point;

如果第二打光距离大于第一打光距离,则第二基准点为目标熔接点,第一基准点为在测量起点至目标熔接点方向上,目标熔接点的上一熔接点。If the second lighting distance is greater than the first lighting distance, the second reference point is the target fusion point, and the first reference point is the last fusion point of the target fusion point in the direction from the measurement starting point to the target fusion point.

在本申请另一实施例中,第一确定模块802,具体用于:In another embodiment of the present application, the first determining module 802 is specifically configured to:

将测量起点到待测光缆段上的各熔接点的打光距离分别与第一打光距离相减,取各差值的绝对值,得到各熔接点与故障点之间的距离;Subtract the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured and the first lighting distance respectively, and take the absolute value of each difference to obtain the distance between each fusion point and the fault point;

确定各熔接点与故障点之间的距离的最小值,得到与故障点距离最近的目标熔接点。Determine the minimum distance between each fusion point and the fault point, and obtain the target fusion point closest to the fault point.

在本申请另一实施例中,第二确定模块804,具体用于:In another embodiment of the present application, the second determining module 804 is specifically configured to:

根据以下表达式计算故障点的位置:Calculate the location of the failure point according to the following expression:

根据以下表达式计算故障点的位置:Calculate the location of the failure point according to the following expression:

Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));

其中,geometryBM=st_makeline(geometry[g1、g2…gn-1、gn]);Among them, geometryBM=st_makeline(geometry[g1, g2...gn-1, gn]);

geometryBM为第一基准点至第二基准点之间的曲线的位置信息;geometryBM is the position information of the curve between the first reference point and the second reference point;

st_makeline()函数用于由点生成线;The st_makeline() function is used to generate lines from points;

g1为第一基准点的经纬度对应的GIS信息,gn为第二基准点的经纬度对应的GIS信息,g2…gn-1依次表示从第一基准点至第二基准点方向上的光缆标识桩的经纬度对应的GIS信息;g1 is the GIS information corresponding to the latitude and longitude of the first reference point, gn is the GIS information corresponding to the latitude and longitude of the second reference point, and g2...gn-1 sequentially represent the position of the optical cable identification pile in the direction from the first reference point to the second reference point. GIS information corresponding to latitude and longitude;

BP为第一打光距离;BP is the first lighting distance;

BMg1为测试起点至第一基准点的打光距离;BMg1 is the lighting distance from the test starting point to the first reference point;

函数sd_st_transform(,26986)用于将第一基准点至第二基准点之间的曲线的位置信息转换为26986坐标系中的位置坐标;The function sd_st_transform(, 26986) is used to convert the position information of the curve between the first reference point and the second reference point into position coordinates in the 26986 coordinate system;

函数ST_Length()用于根据转换得到的26986坐标系的位置坐标计算第一基准点至第二基准点之间的曲线在26986坐标系中的长度。The function ST_Length( ) is used to calculate the length of the curve between the first reference point and the second reference point in the 26986 coordinate system according to the converted position coordinates of the 26986 coordinate system.

在本申请另一实施例中,该装置还包括:In another embodiment of the present application, the device further includes:

展示模块,用于将故障点位置展示在地理信息系统GIS界面的GIS地图上。The display module is used to display the location of the fault point on the GIS map of the GIS interface of the geographic information system.

在本申请另一实施例中,该装置还包括:In another embodiment of the present application, the device further includes:

第三获取模块,用于获取用户在GIS界面输入的测量起点和待测光缆段的信息;The third acquisition module is used to acquire the information of the measurement starting point and the optical cable segment to be measured input by the user in the GIS interface;

接收模块,用于接收用户的测量指令;The receiving module is used to receive the user's measurement instruction;

响应模块,用于响应于测量指令,执行获取测量起点至故障点之间的第一打光距离的步骤,并基于待测光缆段的信息获取测量起点到待测光缆段上的各熔接点的打光距离。The response module is used to, in response to the measurement instruction, perform the step of obtaining the first lighting distance between the measurement starting point and the fault point, and obtain the information from the measurement starting point to each fusion splicing point on the fiber optic cable segment to be measured based on the information of the optical cable segment to be measured. Lighting distance.

本申请实施例还提供了一种电子设备,如图9所示,包括处理器901、通信接口902、存储器903和通信总线904,其中,处理器901,通信接口902,存储器903通过通信总线904完成相互间的通信,An embodiment of the present application further provides an electronic device, as shown in FIG. 9 , including a processor 901 , a communication interface 902 , a memory 903 and a communication bus 904 , wherein the processor 901 , the communication interface 902 , and the memory 903 pass through the communication bus 904 complete communication with each other,

存储器903,用于存放计算机程序;a memory 903 for storing computer programs;

处理器901,用于执行存储器903上所存放的程序时,实现上述方法实施例中的方法步骤。The processor 901 is configured to implement the method steps in the foregoing method embodiments when executing the program stored in the memory 903 .

上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.

存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (Digital SignalProcessor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一光缆故障点定位方法的步骤。In another embodiment provided by the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the above-mentioned fault points of the optical fiber cable is realized The steps of the positioning method.

在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一光缆故障点定位方法的步骤。In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions, which, when run on a computer, cause the computer to execute the steps of any method for locating a fault point of an optical cable in the above-mentioned embodiments.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, Solid State Disk (SSD)), among others.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for related parts.

以上所述仅为本申请的较佳实施例,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application are included in the protection scope of this application.

Claims (14)

1.一种光缆故障点定位方法,其特征在于,包括:1. A method for locating fault points of an optical cable, comprising: 获取测量起点至故障点之间的第一打光距离,所述第一打光距离为通过在所述测量起点向待测光缆段发射光信号获取到的所述测量起点与故障点之间的打光距离;Obtain the first lighting distance between the measurement starting point and the fault point, and the first lighting distance is the distance between the measurement starting point and the fault point obtained by transmitting an optical signal to the optical cable section to be measured at the measurement starting point. lighting distance; 基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,所述第一基准点为所述故障点一侧距离所述故障点最近的熔接点,所述第二基准点为所述故障点另一侧距离所述故障点最近的熔接点;A first reference point and a second reference point are determined based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured, and the first reference point is the The welding point closest to the fault point on one side of the fault point, and the second reference point is the welding point closest to the fault point on the other side of the fault point; 获取所述第一基准点与所述第二基准点之间的光缆标识桩的位置;obtaining the position of the optical fiber cable marker between the first reference point and the second reference point; 基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置。The position of the fault point is determined based on the first lighting distance and the position of the optical fiber cable marking pile between the first reference point and the second reference point. 2.根据权利要求1所述的方法,其特征在于,基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,包括:2 . The method according to claim 1 , wherein the first reference point is determined based on the first lighting distance and the lighting distance from the measurement starting point to each welding point on the optical cable segment to be measured. 3 . and a second fiducial including: 基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定与所述故障点距离最近的目标熔接点;Determine the target fusion point closest to the fault point based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured; 如果所述测量起点至与所述目标熔接点的第二打光距离小于所述第一打光距离,则确定所述第一基准点为所述目标熔接点,所述第二基准点为在所述测量起点至所述目标熔接点方向上,所述目标熔接点的下一熔接点;If the second lighting distance from the measurement starting point to the target welding point is less than the first lighting distance, then the first reference point is determined as the target welding point, and the second reference point is at In the direction from the measurement starting point to the target fusion point, the next fusion point of the target fusion point; 如果所述第二打光距离大于所述第一打光距离,则所述第二基准点为所述目标熔接点,所述第一基准点为在所述测量起点至所述目标熔接点方向上,所述目标熔接点的上一熔接点。If the second lighting distance is greater than the first lighting distance, the second reference point is the target welding point, and the first reference point is the direction from the measurement starting point to the target welding point , the previous fusion point of the target fusion point. 3.根据权利要求2所述的方法,其特征在于,基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定与所述故障点距离最近的目标熔接点,包括:3. The method according to claim 2, characterized in that, based on the first lighting distance and the lighting distance from the measurement starting point to each welding point on the optical cable segment to be measured, determine the fault with the fault. The point is closest to the target fusion point, including: 将所述测量起点到所述待测光缆段上的各熔接点的打光距离分别与所述第一打光距离相减,取各差值的绝对值,得到各熔接点与故障点之间的距离;Subtract the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured from the first lighting distance, and take the absolute value of each difference to obtain the difference between each fusion point and the fault point. the distance; 确定各熔接点与所述故障点之间的距离的最小值,得到与所述故障点距离最近的所述目标熔接点。The minimum value of the distance between each welding point and the fault point is determined, and the target welding point closest to the fault point is obtained. 4.根据权利要求2所述的方法,其特征在于,所述基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置,包括:4. The method according to claim 2, wherein the determination of the The location of the fault point, including: 根据以下表达式计算所述故障点的位置:The location of the failure point is calculated according to the following expression: Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986)))); 其中,geometryBM=st_makeline(geometry[g1、g2…gn-1、gn]);Among them, geometryBM=st_makeline(geometry[g1, g2...gn-1, gn]); geometryBM为所述第一基准点至所述第二基准点之间的曲线的位置信息;geometryBM is the position information of the curve between the first reference point and the second reference point; st_makeline()函数用于由点生成线;The st_makeline() function is used to generate lines from points; g1为第一基准点的经纬度对应的GIS信息,gn为第二基准点的经纬度对应的GIS信息,g2…gn-1依次表示从第一基准点至第二基准点方向上的光缆标识桩的经纬度对应的GIS信息;g1 is the GIS information corresponding to the latitude and longitude of the first reference point, gn is the GIS information corresponding to the latitude and longitude of the second reference point, and g2...gn-1 sequentially represent the position of the optical cable identification pile in the direction from the first reference point to the second reference point. GIS information corresponding to latitude and longitude; BP为所述第一打光距离;BP is the first lighting distance; BMg1为所述测试起点至所述第一基准点的打光距离;BMg1 is the lighting distance from the test starting point to the first reference point; 函数sd_st_transform(,26986)用于将所述第一基准点至所述第二基准点之间的曲线的位置信息转换为26986坐标系中的位置坐标;The function sd_st_transform(, 26986) is used to convert the position information of the curve between the first reference point and the second reference point into position coordinates in the 26986 coordinate system; 函数ST_Length()用于根据转换得到的所述26986坐标系的位置坐标计算所述第一基准点至所述第二基准点之间的曲线在所述26986坐标系中的长度。The function ST_Length( ) is used to calculate the length of the curve between the first reference point and the second reference point in the 26986 coordinate system according to the converted position coordinates of the 26986 coordinate system. 5.根据权利要求1-4任一项所述方法,其特征在于,在基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置之后,所述方法还包括:5. The method according to any one of claims 1-4, characterized in that, based on the first lighting distance, the position of the optical fiber cable marker between the first reference point and the second reference point , after determining the location of the fault point, the method further includes: 将所述故障点位置展示在地理信息系统GIS界面的GIS地图上。The location of the fault point is displayed on the GIS map of the GIS interface of the geographic information system. 6.根据权利要求5所述的方法,其特征在于,在获取测量起点至故障点之间的第一打光距离之前,所述方法还包括:6. The method according to claim 5, characterized in that, before acquiring the first lighting distance between the measurement starting point and the fault point, the method further comprises: 获取用户在所述GIS界面输入的所述测量起点和所述待测光缆段的信息;Obtain the information of the measurement starting point and the optical cable segment to be measured input by the user in the GIS interface; 接收用户的测量指令;Receive user's measurement instructions; 响应于所述测量指令,执行所述获取测量起点至故障点之间的第一打光距离的步骤,并基于所述待测光缆段的信息获取所述测量起点到所述待测光缆段上的各熔接点的打光距离。In response to the measurement instruction, the step of obtaining the first lighting distance between the starting point of measurement and the fault point is performed, and based on the information of the optical cable segment to be measured, the starting point of measurement is obtained to the optical cable segment to be measured. The lighting distance of each welding point. 7.一种光缆故障点定位装置,其特征在于,包括:7. An optical cable fault point locating device, characterized in that, comprising: 第一获取模块,用于获取测量起点至故障点之间的第一打光距离,所述第一打光距离为通过在所述测量起点向待测光缆段发射光信号获取到的所述测量起点与故障点之间的打光距离;The first acquisition module is used to acquire the first lighting distance between the measurement starting point and the fault point, and the first lighting distance is the measurement obtained by transmitting an optical signal to the optical cable section to be measured at the measurement starting point The lighting distance between the starting point and the fault point; 第一确定模块,用于基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定第一基准点以及第二基准点,所述第一基准点为所述故障点一侧距离所述故障点最近的熔接点,所述第二基准点为所述故障点另一侧距离所述故障点最近的熔接点;The first determination module is used to determine the first reference point and the second reference point based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured. The first reference point is the welding point closest to the fault point on one side of the fault point, and the second reference point is the welding point closest to the fault point on the other side of the fault point; 第二获取模块,用于获取所述第一基准点与所述第二基准点之间的光缆标识桩的位置;a second acquisition module, configured to acquire the position of the optical cable marking pile between the first reference point and the second reference point; 第二确定模块,用于基于所述第一打光距离、所述第一基准点与所述第二基准点之间的光缆标识桩的位置,确定所述故障点的位置。The second determining module is configured to determine the position of the fault point based on the first lighting distance and the position of the optical cable marking pile between the first reference point and the second reference point. 8.根据权利要求7所述的装置,其特征在于,所述第一确定模块,具体用于:8. The device according to claim 7, wherein the first determining module is specifically configured to: 基于所述第一打光距离和所述测量起点到所述待测光缆段上的各熔接点的打光距离,确定与所述故障点距离最近的目标熔接点;Determine the target fusion point closest to the fault point based on the first lighting distance and the lighting distance from the measurement starting point to each fusion point on the cable segment to be measured; 如果所述测量起点至与所述目标熔接点的第二打光距离小于所述第一打光距离,则确定所述第一基准点为所述目标熔接点,所述第二基准点为在所述测量起点至所述目标熔接点方向上,所述目标熔接点的下一熔接点;If the second lighting distance from the measurement starting point to the target welding point is less than the first lighting distance, then the first reference point is determined as the target welding point, and the second reference point is at In the direction from the measurement starting point to the target fusion point, the next fusion point of the target fusion point; 如果所述第二打光距离大于所述第一打光距离,则所述第二基准点为所述目标熔接点,所述第一基准点为在所述测量起点至所述目标熔接点方向上,所述目标熔接点的上一熔接点。If the second lighting distance is greater than the first lighting distance, the second reference point is the target welding point, and the first reference point is the direction from the measurement starting point to the target welding point , the previous fusion point of the target fusion point. 9.根据权利要求8所述的装置,其特征在于,所述第一确定模块,具体用于:9. The apparatus according to claim 8, wherein the first determining module is specifically configured to: 将所述测量起点到所述待测光缆段上的各熔接点的打光距离分别与所述第一打光距离相减,取各差值的绝对值,得到各熔接点与故障点之间的距离;Subtract the lighting distance from the measurement starting point to each fusion point on the optical cable segment to be measured from the first lighting distance, and take the absolute value of each difference to obtain the difference between each fusion point and the fault point. the distance; 确定各熔接点与所述故障点之间的距离的最小值,得到与所述故障点距离最近的所述目标熔接点。The minimum value of the distance between each welding point and the fault point is determined, and the target welding point closest to the fault point is obtained. 10.根据权利要求8所述的装置,其特征在于,所述第二确定模块,具体用于:10. The apparatus according to claim 8, wherein the second determining module is specifically configured to: 根据以下表达式计算所述故障点的位置:The location of the failure point is calculated according to the following expression: Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986)))); 其中,geometryBM=st_makeline(geometry[g1、g2…gn-1、gn]);Among them, geometryBM=st_makeline(geometry[g1, g2...gn-1, gn]); geometryBM为所述第一基准点至所述第二基准点之间的曲线的位置信息;geometryBM is the position information of the curve between the first reference point and the second reference point; st_makeline()函数用于由点生成线;The st_makeline() function is used to generate lines from points; g1为第一基准点的经纬度对应的GIS信息,gn为第二基准点的经纬度对应的GIS信息,g2…gn-1依次表示从第一基准点至第二基准点方向上的光缆标识桩的经纬度对应的GIS信息;g1 is the GIS information corresponding to the latitude and longitude of the first reference point, gn is the GIS information corresponding to the latitude and longitude of the second reference point, and g2...gn-1 sequentially represent the position of the optical cable identification pile in the direction from the first reference point to the second reference point. GIS information corresponding to latitude and longitude; BP为所述第一打光距离;BP is the first lighting distance; BMg1为所述测试起点至所述第一基准点的打光距离;BMg1 is the lighting distance from the test starting point to the first reference point; 函数sd_st_transform(,26986)用于将所述第一基准点至所述第二基准点之间的曲线的位置信息转换为26986坐标系中的位置坐标;The function sd_st_transform(, 26986) is used to convert the position information of the curve between the first reference point and the second reference point into position coordinates in the 26986 coordinate system; 函数ST_Length()用于根据转换得到的所述26986坐标系的位置坐标计算所述第一基准点至所述第二基准点之间的曲线在所述26986坐标系中的长度。The function ST_Length( ) is used to calculate the length of the curve between the first reference point and the second reference point in the 26986 coordinate system according to the converted position coordinates of the 26986 coordinate system. 11.根据权利要求7-10任一项所述装置,其特征在于,所述装置还包括:11. The device according to any one of claims 7-10, wherein the device further comprises: 展示模块,用于将所述故障点位置展示在地理信息系统GIS界面的GIS地图上。The display module is used for displaying the location of the fault point on the GIS map of the GIS interface of the geographic information system. 12.根据权利要求11所述的装置,其特征在于,所述装置还包括:12. The apparatus of claim 11, wherein the apparatus further comprises: 第三获取模块,用于获取用户在所述GIS界面输入的所述测量起点和所述待测光缆段的信息;A third acquisition module, configured to acquire the information of the measurement starting point and the optical cable segment to be measured input by the user on the GIS interface; 接收模块,用于接收用户的测量指令;The receiving module is used to receive the user's measurement instruction; 响应模块,用于响应于所述测量指令,执行所述获取测量起点至故障点之间的第一打光距离的步骤,并基于所述待测光缆段的信息获取所述测量起点到所述待测光缆段上的各熔接点的打光距离。The response module is configured to, in response to the measurement instruction, execute the step of obtaining the first lighting distance from the measurement starting point to the fault point, and obtain the measurement starting point to the The lighting distance of each splicing point on the fiber optic cable segment to be tested. 13.一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;13. An electronic device, characterized in that it comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 存储器,用于存放计算机程序;memory for storing computer programs; 处理器,用于执行存储器上所存放的程序时,实现权利要求1-6任一项所述的方法步骤。The processor is configured to implement the method steps described in any one of claims 1-6 when executing the program stored in the memory. 14.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-6任一项所述的方法步骤。14. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of claims 1-6 are implemented .
CN202111645841.4A 2021-12-30 2021-12-30 Optical cable fault point locating method, device, equipment and medium Active CN114362819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111645841.4A CN114362819B (en) 2021-12-30 2021-12-30 Optical cable fault point locating method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111645841.4A CN114362819B (en) 2021-12-30 2021-12-30 Optical cable fault point locating method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114362819A true CN114362819A (en) 2022-04-15
CN114362819B CN114362819B (en) 2024-11-15

Family

ID=81103703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111645841.4A Active CN114362819B (en) 2021-12-30 2021-12-30 Optical cable fault point locating method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114362819B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192246A (en) * 2022-12-14 2023-05-30 中国电信股份有限公司 Optical fiber fault positioning method, system, device and nonvolatile storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560825A (en) * 2013-11-13 2014-02-05 国家电网公司 Method for improving locating precision of optical fiber fault location of multi-stage unequal EPON network
CN107872275A (en) * 2016-09-23 2018-04-03 中国电信股份有限公司 Cable's Fault localization method, server, terminal and system
JP2018066698A (en) * 2016-10-21 2018-04-26 アンリツ株式会社 Optical fiber fault identification system and optical fiber fault identification method
CN108923847A (en) * 2018-08-09 2018-11-30 平湖波汇通信科技有限公司 A kind of Cable's Fault monitoring and accurate positioning method based on GIS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560825A (en) * 2013-11-13 2014-02-05 国家电网公司 Method for improving locating precision of optical fiber fault location of multi-stage unequal EPON network
CN107872275A (en) * 2016-09-23 2018-04-03 中国电信股份有限公司 Cable's Fault localization method, server, terminal and system
JP2018066698A (en) * 2016-10-21 2018-04-26 アンリツ株式会社 Optical fiber fault identification system and optical fiber fault identification method
CN108923847A (en) * 2018-08-09 2018-11-30 平湖波汇通信科技有限公司 A kind of Cable's Fault monitoring and accurate positioning method based on GIS

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尹婧等: "光缆线路故障智能定位系统的分析与应用", 中国通信学会2020年通信线路学术年会论文集, 30 September 2020 (2020-09-30), pages 278 - 281 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192246A (en) * 2022-12-14 2023-05-30 中国电信股份有限公司 Optical fiber fault positioning method, system, device and nonvolatile storage medium
CN116192246B (en) * 2022-12-14 2025-01-03 中国电信股份有限公司 Optical fiber fault positioning method, system, device and nonvolatile storage medium

Also Published As

Publication number Publication date
CN114362819B (en) 2024-11-15

Similar Documents

Publication Publication Date Title
CN108696313B (en) A method for precise location of optical cable faults
US11101884B1 (en) Localizing anomalies of a fiber optic network within the context of a geographic map
CN103560825B (en) A kind of improve the multistage non-method dividing equally EPON network fiber abort situation location accuracy
CN104125010A (en) Optical cable fault location method and device thereof
CN114362814B (en) GIS map-based optical cable positioning point display method and monitoring system
CN114362819A (en) Optical cable fault point positioning method, device, equipment and medium
CN116192246B (en) Optical fiber fault positioning method, system, device and nonvolatile storage medium
CN104980212A (en) Optical fiber fault detection system with self-learning function and method
CN107991582A (en) A kind of cable fault positioner and method
CN108123751B (en) Method, device and system for rapid location of optical cable faults
CN111884713A (en) Geographical position fault positioning method for optical network operation and maintenance
CN109217917B (en) Method and device for determining position of fault optical fiber, storage medium and processor
JP7384762B2 (en) Kilo weight imparting device and kilo weight imparting method
JP2004109084A (en) Cable position information management system, cable position information management method, and cable position information management program
CN113836248A (en) A method, device and computer-readable storage medium for emergency repair of communication line based on Internet of Things
CN113890607B (en) Optical cable T contact positioning method and device, computer equipment and storage medium
CN114614887A (en) Optical fiber cable routing identification system and method
CN109921846B (en) Optical fiber fault detection method based on historical data
JP7613483B2 (en) Communication cable fault estimation device, method, and program
CN113381803A (en) Network monitoring method and device
US11677462B1 (en) Landmark correlation mechanism
JP7505645B2 (en) Laying condition specifying system, laying condition specifying device, and laying condition specifying method
CN106443732B (en) Path diagram drawing method and system based on GPS
JP2020127094A (en) Method of searching optical fiber route, optical fiber route search device and program
Siivonen et al. Utilization of augmented reality in underground network visualization on field

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