CN114362819A - Optical cable fault point positioning method, device, equipment and medium - Google Patents
Optical cable fault point positioning method, device, equipment and medium Download PDFInfo
- 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
- optical cable
- reference point
- distance
- 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.)
- Pending
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 175
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000003466 welding Methods 0.000 claims abstract description 105
- 238000005259 measurement Methods 0.000 claims abstract description 90
- 238000004891 communication Methods 0.000 claims abstract description 42
- 230000006870 function Effects 0.000 claims description 30
- 230000004927 fusion Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 13
- 238000005498 polishing Methods 0.000 claims description 13
- 239000000835 fiber Substances 0.000 claims description 11
- 238000003860 storage Methods 0.000 claims description 8
- 238000012360 testing method Methods 0.000 claims description 6
- 238000010304 firing Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 description 8
- 238000005452 bending Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005286 illumination Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- 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
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method, an apparatus, a device, and a medium for locating a fault point of an optical cable.
Background
With the application of optical fiber communication technology, the number of optical cables laid underground in cities is increased, and the maintenance work of the optical cables is heavier. In the optical cable maintenance work, the positioning of the fault point of the optical cable is the key point of the maintenance work.
At present, a method for positioning a fault point of an optical cable mainly transmits an optical signal to the optical cable in a machine room by means of optical time-domain reflectometer (OTDR) and other devices to obtain a polishing distance between the machine room and the fault point, and then a maintenance worker judges the approximate position of the fault point according to the polishing distance and the sum of linear distances between all adjacent optical cable identification piles on an optical cable laying route through years of experience.
The optical cable is not completely distributed in a straight line, but is bent to a certain degree, the optical cable identification piles cannot be arranged densely, and the optical cable can be reserved in some positions in a curling mode in the optical cable laying stage in order to maintain the optical cable conveniently. The polishing distance obtained by the OTDR equipment and other equipment is the length of the optical cable between the fault point and the machine room, so that great deviation exists between the polishing distance and the sum of the linear distances between all adjacent optical cable identification piles on the optical cable laying route, and the deviation can cause that maintenance personnel cannot find the accurate position of the fault point when the fault point of the optical cable is positioned, and the positioning accuracy of the fault point is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, a device and a medium for positioning an optical cable fault point, so as to accurately position the optical cable fault point, and the specific technical scheme is as follows:
in a first aspect, an embodiment of the present application discloses an optical cable fault point positioning method, where the method includes:
acquiring 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 acquired by transmitting a light signal to an optical cable section to be measured at the measurement starting 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, wherein the first reference point is the welding point on one side of the fault point closest to the fault point, and the second reference point is the welding point on the other side of the fault point closest to the fault point;
acquiring the position of an optical cable identification pile between the first datum point and the second datum point;
determining a location of the fault point based on the first firing distance, the location of the fiber optic cable identification peg between the first reference point and the second reference point.
In a second aspect, an embodiment of the present application discloses an optical cable fault point positioning device, the device includes:
the first obtaining module is used for obtaining a first lighting distance between the measurement starting point and the fault point, wherein the first lighting distance is obtained by emitting a light signal to the optical cable segment to be measured at the measurement starting point;
the first determining module is used for 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, wherein the first reference point is the welding point on one side of the fault point, which is closest to the fault point, and the second reference point is the welding point on the other side of the fault point, which is closest to the fault point;
the second acquisition module is used for acquiring the position of the optical cable identification pile between the first datum point and the second datum point;
and the second determination module is used for 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.
In a third aspect, an embodiment of the present application discloses an electronic device, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any 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, wherein a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program implements the method steps of any one of the above aspects.
In a fifth aspect, the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to perform any of the methods described above.
By adopting the technical scheme, the optical cable fault point positioning method, the device, the equipment and the medium provided by the embodiment of the application determine the first reference point and the second reference point of the fault point by acquiring 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 cable segment to be measured, accurately position the range of the optical cable fault point between the first reference point and the second reference point, equivalently remove the influence of the reserved optical cable on the cable segment to be measured and the bending distribution of the optical cable from the first reference point to the second reference point on the positioning of the fault point, greatly improve the accuracy of the positioning of the fault point, calculate by integrating the position of the optical cable identification pile between the first reference point and the second reference point and the first lighting distance, obtain the position of the fault point, reduce the influence of the bending distribution of the optical cable between the first reference point and the second reference point on the positioning of the optical cable fault point, the accuracy of optical cable fault point location has been improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and it is also obvious for a person skilled in the art to obtain other embodiments according to the drawings.
Fig. 1 is a flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present disclosure;
fig. 2 is another flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present disclosure;
fig. 3a is a schematic diagram of a fault point query method for an optical cable according to an embodiment of the present application;
fig. 3b is a schematic view of another optical cable fault point query method provided in the embodiment of the present application;
FIG. 4 is a flow chart of another method for locating a fault point of an optical cable according to an embodiment of the present disclosure;
FIG. 5a is a schematic diagram of a method for determining a reference point according to an embodiment of the present disclosure;
FIG. 5b is a schematic diagram of another reference point determination method provided in the embodiments of the present application;
fig. 6 is another flowchart of a method for locating a fault point of an optical cable according to an embodiment of the present disclosure;
fig. 7 is a schematic view of another optical cable fault point query method provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of an optical cable fault point positioning device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the description herein are intended to be within the scope of the present disclosure.
The method for positioning the fault point of the optical cable provided by the embodiment of the application can be executed by electronic equipment, and the electronic equipment can be equipment such as a smart phone, a tablet computer, a desktop computer and a server.
As shown in fig. 1, the embodiment of the present application provides an optical cable fault point positioning method, which includes:
s101, acquiring a first lighting distance between a measurement starting point and a fault point.
The first lighting distance is a lighting distance between the measurement starting point and the fault point acquired by emitting optical signals to the optical cable section to be measured at the measurement starting point.
In the embodiment of the application, the fault point is a breakpoint of an underground laid or overhead optical cable, and the measurement starting point is active equipment in a communication machine room capable of communicating with any section of the optical cable section to be measured with the fault point.
When a fault point exists in an optical cable section between two communication rooms, which causes communication interruption, a technician can view a fault warning from a port of equipment connected with the optical cable section in one of the communication rooms, and then the technician can transmit an optical signal to the port through the OTDR equipment, so that the optical signal is transmitted in the optical cable section connected with the port, and the lighting distance from active equipment in the communication rooms to the fault point of the optical cable section is measured.
Since the optical signal from the OTDR device reaches the fault point from the measurement starting point through the optical cable, the first illumination distance is the length of the optical cable between the measurement starting point and the fault point.
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 welding point on the optical cable section to be measured.
The first reference point is a welding point on one side of the fault point, which is closest to the fault point, and the second reference point is a welding point on the other side of the fault point, which is closest to the fault point;
in the embodiment of the present application, the optical cables connecting two communication rooms are generally fused from multiple sections of shorter optical cables, fusion joints exist between two adjacent sections of optical cables, and the optical distances from the communication rooms to the fusion joints can be measured by transmitting optical signals through OTDR equipment.
In one embodiment, for two adjacent communication rooms, a plurality of optical cable segments are arranged between the two adjacent communication rooms, and each optical cable segment has a welding point, so that the optical distance between the communication room and each welding point can be collected in advance through OTDR equipment, and the optical distance is stored in a database. Furthermore, when fault point positioning is performed, the electronic device can obtain the light irradiation distance from the measurement starting point to each welding point on the optical cable section to be measured from the database according to the measurement starting point and the information of the optical cable section to be measured, which are input by a user.
For example, an optical cable 1, an optical cable 2 and an optical cable 3 are arranged between the communication room 1 and the communication room 2, the optical cable 1 and the optical cable 2 are connected through a welding point a, and the optical cable 2 and the optical cable 3 are connected through a welding point B.
The optical cable may be polished in the direction of the communication room 2 at the communication room 1 using OTDR equipment, so that the polishing distance from the communication room 1 to the fusion point a and the polishing distance to the fusion point B are obtained.
And, the optical cable may be polished in the direction of the communication room 1 at the communication room 2 using the OTDR device, so as to obtain the polishing distance from the communication room 2 to the welding point a and the polishing distance to the welding point B.
S103, acquiring the position of the optical cable marking pile between the first datum point and the second datum point.
The optical cable identification pile is an identification pile arranged on the ground and used for identifying the position of an optical cable, a manhole of an underground pipeline, an electric pole of a pole line and the like, the optical cable is arranged under the optical cable identification pile, excavation is forbidden, and the position of the optical cable identification pile is the longitude and latitude of the optical cable identification pile.
In this embodiment of the application, a technician may collect, in advance, the longitude and latitude of the fusion point and the longitude and latitude of the optical cable identification pile on each optical cable segment through a Global Positioning System (GPS) Positioning device, and store the collected longitude and latitude into the database, and after the electronic device determines the position of the first reference point and the position of the second reference point, may obtain, from the database, the position of the optical cable identification pile between the first reference point and the second reference point.
And S104, determining the position of a 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.
The method provided by the embodiment of the application determines the first reference point and the second reference point of the fault point by acquiring 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 cable segment to be tested, accurately positions the range of the fault point of the optical cable between the first reference point and the second reference point, equivalently removes the influence of the reserved optical cable on the cable segment to be tested and the bending distribution of the optical cable from the first reference point to the second reference point on the positioning of the fault point, greatly improves the positioning accuracy of the fault point, calculates by integrating the position of the optical cable identification pile between the first reference point and the second reference point and the first lighting distance, and then can obtain the position of the fault point, the influence of the bending distribution of the optical cable between the first datum point and the second datum point on the positioning of the optical cable fault point can be reduced, and the positioning accuracy of the optical cable fault point is improved.
In another embodiment of the present disclosure, as shown in fig. 2, the method includes the steps of:
s201, obtaining Information of a measurement starting point and a to-be-measured optical cable segment input by a user on a Geographic Information System (GIS) interface.
S202, receiving a measurement instruction of a user.
The technician may input information of the first lighting distance, the measurement starting point, and the cable segment to be measured into the electronic device, click the start measurement button, and accordingly, the electronic device may receive a measurement instruction from the user.
In practice, the cable connecting A, B between two telecommunication rooms consists of multiple cores, but not all of the cores in the cable are connected from a to B, and there may be an optical cross-over point in the cable between AB, where a portion of the cores in the length of cable are tapped to other telecommunication rooms at the optical cross-over point.
Therefore, the user has two input modes on the fault point query interface:
first, as shown in fig. 3a, if all the cores of the optical cable segment between the communication rooms AB are not tapped, the first illumination distance, the measurement starting point, and the measurement direction need to be input in the query interface.
Secondly, as shown in fig. 3B, if part of fiber cores of the optical cable segments between the communication rooms AB are connected to other rooms, and the port connecting the fiber cores of the B room in the a room is 2TA-01-02-a-2-11-1, it is necessary to input the first illumination distance on the query interface, measure the starting point, and connect the fiber core port 2TA-01-02-a-2-11-1 of the B room in the a room.
S203, responding to the measurement instruction, acquiring a first lighting distance between the measurement starting point and the fault point, and acquiring the lighting distance between the measurement starting point and each welding point on the optical cable section to be measured based on the information of the optical cable section to be measured.
After S203, S102 to S104 may be performed.
By adopting the method, a user only needs to input the information of the first lighting distance, the measurement starting point and the cable segment to be measured and click the measurement button, so that the fault point can be accurately positioned, the fault point is positioned without depending on manual calculation, and the operation is simple and quick.
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:
and S1021, determining a target welding point closest to the fault 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.
S1021 may be specifically implemented as:
subtracting the first lighting distance from the measurement starting point to each welding point on the optical cable section to be measured, and taking the absolute value of each difference to obtain the distance between each welding point and a fault point;
and determining the minimum value of the distance between each welding point and the fault point to obtain a target welding point closest to the fault point.
I.e. can be realized by the following formula:
P=min(|BM1-BP|,|BM2-BP|,…,|BMn-BP|)
the method comprises the following steps that P is a target fusion point closest to a fault point, BMn represents the lighting distance from a measurement starting point to the nth fusion point on an optical cable section to be measured, BP represents the OTDR lighting distance from the current fault point to the measurement starting point, namely the lighting distance from the measurement starting point to the fault point, and in actual operation, the measurement starting point of a BMn value, the measurement starting point of a BP value and the measured optical cable section are kept consistent, so that the OTDR lighting directions of the BMn and the BP value are kept consistent.
And | BM1-BP |, | BM2-BP |, …, | BMn-BP | respectively represent the distance between each welding point and a fault point.
And (3) obtaining the minimum value in the | BM1-BP |, | BM2-BP |, …, | BMn-BP |, namely determining the minimum value of the distance between each welding point and the fault point, and obtaining the target welding point closest to the fault point.
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 polishing distance BM 2.
The method is characterized in that the distance between the measurement starting point and each welding point on the optical cable section to be measured is subtracted from the first lighting distance, the absolute value of each difference is obtained, the length of the optical cable between each welding point and a fault point is obtained equivalently, and then the minimum value of the absolute value of each difference is determined equivalently to determine the welding point with the shortest length of the optical cable between the welding point and the fault point, namely the target welding point closest to the fault point is determined, the target welding point closest to the fault point can be determined accurately, and the accuracy of fault point positioning is improved.
And S1022, if the second lighting distance from the measurement starting point to the target fusion point is less than the first lighting distance, determining that the first reference point is the target fusion point, and the second reference point is the next fusion point of the target fusion point in the direction from the measurement starting point to the target fusion point.
For example, as shown in fig. 5a, the measurement starting point is the machine room a, the fault point is C, and the target fusion point is B, it can be understood that three ACB points are on the same optical cable segment, the light distance from a to B is the second light distance, and the light distance from a to C is the first light distance.
Assuming that in the direction from A to B, the next welding point of B is E, and the last welding of B is D;
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.
And S1023, if the second lighting distance is larger than the first lighting distance, the second reference point is the target welding point, and the first reference point is the previous welding point of the target welding point in the direction from the measurement starting point to the target welding point.
In the above 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 coincides with the position of the target fusion point, and at this time, the electronic device may directly determine that the position of the fault point is the position of the target fusion point.
By adopting the 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 section to be measured, and the position relation between the target welding point and the fault point can be obtained by comparing the size relation between the first lighting distance and the second lighting distance from the measurement starting point to the target welding point. Furthermore, the weld on the other side of the fault point closest to the fault point can be determined, i.e. the position of the fault point is accurately positioned between two adjacent welds, i.e. between the first reference point and the second reference point. 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, so that the fault point is positioned between the first reference point and the second reference point, the influence of the reserved length of the optical cable and the bending of the optical cable except the first reference point and the second reference point on the positioning precision of the fault point is eliminated, and the positioning accuracy is improved.
In another embodiment of the present application, on the basis of the above embodiment, the step S104 may be specifically implemented as:
first, the position information of the curve from the first reference point to the second reference point is acquired through the st _ maker () function:
geometryBM=st_makeline(geometry[g1、g2…gn-1、gn])
g1 is GIS information corresponding to the longitude and latitude of the first reference point, gn is GIS information corresponding to the longitude and latitude of the second reference point, and g2 … gn-1 sequentially represents GIS information corresponding to the longitude and latitude of the optical cable identification pile in the direction from the first reference point to the second reference point.
The function st _ along () in the built-in function of the PostGIS is a function of generating a line from positions of a plurality of points, and in the embodiment of the present application, the function may generate a curve in the order of g1, g2 … gn-1, gn, and both ends of the curve are a first reference point and a second reference point.
The geometry () is used to convert data types, and since g1, g2 … gn-1, gn in the present application are GIS information corresponding to longitude and latitude, which are data types of individual points, the function st _ makeline () may convert data types of points into data types of lines, that is, the generated geometry bm is the position information of a curve from a first reference point to a second reference point.
The built-in function ST _ lineintepolatepoint () of the PostGIS is introduced:
the function ST _ linelnterplatetpoint () is a function for calculating the position of an unknown point in the case where the conditions 1 and 2 are satisfied.
Wherein the unknown point is located between two end points, and the condition 1 is that the positions of the two end points are known and the positions of a plurality of points between the two end points are known.
Condition 2 is the ratio of the distance between the known unknown point to one of the end points to the distance between the two end points.
The application scenario of the built-in function is replaced by the scenario in the embodiment of the present application, that is, in the embodiment of the present application, the two end points are the first reference point and the second reference point, the unknown point is the failure point, and the position between the two end points is the position of the optical cable identification stub between the first reference point and the second reference point.
Through the scene replacement, a GIS positioning formula of the fault point can be obtained:
Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));
wherein Bpgeometry is the position of a fault point;
geomtyBM is position information of a curve between a first reference point and a second reference point;
BP is a first light emitting distance;
BMg1 is the polishing distance from the test starting point to the first reference point;
a function sd _ st _ transform (, 26986) is used to convert the position information of the curve between the first reference point to the second reference point into position coordinates in a 26986 coordinate system;
the function ST _ Length () calculates the Length of a curve between the first reference point and the second reference point in the 26986 coordinate system from the converted coordinate points of the 26986 coordinate system.
It can be understood that (BP-BMg1)/(ST _ Length (sd _ ST _ transform (geometribm, 26986))) is a ratio of a distance from a first reference point to a fault point to a Length of a curve from the first reference point to a second reference point, and then, the function ST _ linenterpolatepoint () can calculate the longitude and the latitude of the fault point according to the ratio and the geometribm.
It should be noted that the function ST _ linelnterplatetpoint () and the function ST _ makeline () are all built-in functions of the PostGIS, and the calculation principle of the above functions can be referred to the related description.
By adopting the method, based on a PostGIS routing positioning principle, GIS information corresponding to the longitude and latitude of a first reference point, GIS information corresponding to the longitude and latitude of a second reference point and GIS information corresponding to the longitude and latitude of an optical cable identification pile between the first reference point and the second reference point are used for generating position information of a curve from the first reference point to the second reference point, the position information of the curve is converted into a position coordinate in a 26986 coordinate system, then the Length of the curve in the 26986 coordinate system is calculated based on the coordinate and a function ST _ Length (), the straight-line distance between the first reference point and the second reference point is not directly calculated, so that the calculated Length of the curve between the first reference point and the second reference point is closer to the Length of the optical cable bent between the first reference point and the second reference point, and the ratio of the distance from the first reference point to a fault point to the Length of the curve from the first reference point to the second reference point is calculated, thereby enabling more accurate calculation of the position of the failure point in the direction from the first reference point to the second reference point. Furthermore, by combining 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 _ LineInterpoletetPoint (), the influence of optical cable reservation and optical cable bending on the positioning of the fault point can be reduced to the greatest extent, and the accuracy of the positioning of the fault point is effectively improved.
In the embodiment of the present application, as shown in fig. 6, on the basis of the above embodiment, after step S104, the method further includes:
s601, displaying the position of the fault point on a GIS map of a GIS interface.
As shown in fig. 7, for example, a user inputs on a GIS interface, the first lighting distance is 6530m, the measurement starting point is the second floor transmission machine room of the junction building, the direction is the direction from the second floor transmission machine room of the junction building to the machine room of the sixteen miles river, and the measurement starting button is clicked, so that the positions of the optical cable line to be measured and the fault point on the line are displayed in the geographic information platform GIS map.
By adopting the method, the fault point position is directly displayed on a geographic information platform GIS map interface, so that the optical cable fault point is positioned visually and accurately, the experience dependence of line maintenance personnel is eliminated, and maintenance personnel who are unfamiliar with field routing can also quickly position the optical cable fault point position; when the optical cable trouble takes place, the line maintainer can directly go the relevant position according to the fault point position of map display and carry out the optical cable maintenance, need not carry out whole journey and patrol and examine.
In this embodiment of the present application, a geographic information platform is used to execute the optical cable fault point positioning method provided in this embodiment of the present application, and a specific construction flow of the geographic information platform is as follows:
and loading a geodetic surveying and mapping map through a geographic server GeoServer, and building a system platform by combining administrative area planning boundary information.
Technical personnel carry out recording work of all optical cables, splice closure, optical cross and other dummy resource information and correlation work of fiber cores and terminals in a system background, and configure the optical cable calculation function and formula in the embodiment in the system.
And generating a geographical layer containing the optical cable route on the GeoServer by using GIS information provided by the PostgresSQL database, and displaying the geographical layer, wherein PostgresQL is an object-relational database management system.
By adopting the method, the geographic information platform can automatically position the fault point according to the first lighting distance input by a user, the position of the optical cable identification pile and the position of the welding point in the platform, and the calculated position of the fault point is displayed on a GIS map of the geographic information platform, namely, the user can conveniently and intuitively see the geographic position of the fault point on the user interface only by inputting the first lighting distance, the measurement starting point and the information of the optical cable section to be measured on the user interface and starting measurement by clicking, and the platform can solve the problem of cable fault point positioning of telecommunication operators in various production scenes and has strong applicability.
Corresponding to the above method embodiment, an embodiment of the present application further provides an optical cable fault point positioning device, as shown in fig. 8, the device includes:
a first obtaining module 801, configured to obtain a first lighting distance between the measurement starting point and the fault point, where the first lighting distance is a lighting distance between the measurement starting point and the fault point obtained by emitting a light signal to the optical cable segment to be measured at the measurement starting point;
a first determining module 802, configured to determine a first reference point and a second reference point based on a first lighting distance and a lighting distance from a measurement starting point to each fusion point on the optical cable segment to be measured, where the first reference point is a fusion point on one side of the fault point, which is closest to the fault point, and the second reference point is a fusion point on the other side of the fault point, which is closest to the fault point;
a second obtaining module 803, configured to obtain a position of the optical cable identification pile between the first reference point and the second reference point;
a second determining module 804, configured to determine a location of the fault point based on the first lighting distance, the location of the fiber optic cable identification stub between the first reference point and the second reference point.
In another embodiment of the present application, the first determining module 802 is specifically configured to:
determining a target welding point closest to the fault 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;
if the second lighting distance from the measurement starting point to the target welding point is smaller than the first lighting distance, determining that the first reference point is the target welding point, and the second reference point is the next welding point of the target welding point in the direction from the measurement starting point to the target welding point;
and 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 last welding point of the target welding point in the direction from the measurement starting point to the target welding point.
In another embodiment of the present application, the first determining module 802 is specifically configured to:
subtracting the first lighting distance from the measurement starting point to each welding point on the optical cable section to be measured, and taking the absolute value of each difference to obtain the distance between each welding point and a fault point;
and determining the minimum value of the distance between each welding point and the fault point to obtain a target welding point closest to the fault point.
In another embodiment of the present application, the second determining module 804 is specifically configured to:
calculating the location of the fault point according to the following expression:
calculating the location of the fault point according to the following expression:
Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));
wherein, geometryBM is st _ maker (geometry [ g1, g2 … gn-1, gn ]);
geomtyBM is position information of a curve between a first reference point and a second reference point;
the st _ makeline () function is used to generate a line from a point;
g1 is GIS information corresponding to the longitude and latitude of the first reference point, gn is GIS information corresponding to the longitude and latitude of the second reference point, and g2 … gn-1 sequentially represents GIS information corresponding to the longitude and latitude of the optical cable identification pile in the direction from the first reference point to the second reference point;
BP is a first light emitting distance;
BMg1 is the polishing distance from the test starting point to the first reference point;
a function sd _ st _ transform (, 26986) is used to convert the position information of the curve between the first reference point to the second reference point into position coordinates in a 26986 coordinate system;
the function ST _ Length () is used to calculate the Length of a curve between the first reference point and the second reference point in the 26986 coordinate system from the position coordinates of the 26986 coordinate system obtained by the conversion.
In another embodiment of the present application, the apparatus further comprises:
and the display module is used for displaying the position of the fault point on a GIS map of a GIS interface.
In another embodiment of the present application, the apparatus further comprises:
the third acquisition module is used for acquiring information of a measurement starting point and a cable segment to be measured, which are input by a user on the GIS interface;
the receiving module is used for receiving a measuring instruction of a user;
and the response module is used for responding to the measurement instruction, executing the step of obtaining the first lighting distance between the measurement starting point and the fault point, and obtaining the lighting distance between the measurement starting point and each welding point on the optical cable section to be measured based on the information of the optical cable section to be measured.
The embodiment of the present application further provides an electronic device, as shown in fig. 9, which includes a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement the method steps in the above-described method embodiments when executing the program stored in the memory 903.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above-mentioned methods for locating a fault point of an optical cable.
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 perform the steps of any of the above-described methods for locating a fault point of a fiber optic cable.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., 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, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims (14)
1. A method for locating a fault point of an optical cable is characterized by comprising the following steps:
acquiring 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 acquired by transmitting a light signal to an optical cable section to be measured at the measurement starting 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, wherein the first reference point is the welding point on one side of the fault point closest to the fault point, and the second reference point is the welding point on the other side of the fault point closest to the fault point;
acquiring the position of an optical cable identification pile between the first datum point and the second datum point;
determining a location of the fault point based on the first firing distance, the location of the fiber optic cable identification peg between the first reference point and the second reference point.
2. The method of claim 1, wherein determining a first reference point and a second reference point based on the first firing distance and the firing distances from the measurement starting point to the respective fusion points on the fiber optic cable segment under test comprises:
determining a target welding point closest to the fault 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;
determining the first reference point as the target welding point if a second lighting distance from the measurement starting point to the target welding point is less than the first lighting distance, wherein the second reference point is a next welding point of the target welding point in the direction from the measurement starting point to the target welding point;
and 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 a welding point which is the last welding point of the target welding point in the direction from the measurement starting point to the target welding point.
3. The method of claim 2, wherein determining a target fusion point closest to the fault point based on the first lighting distance and the lighting distances from the measurement starting point to the respective fusion points on the optical cable segment under test comprises:
subtracting the first lighting distance from the measurement starting point to each welding point on the optical cable section to be measured, and taking the absolute value of each difference to obtain the distance between each welding point and a fault point;
and determining the minimum value of the distance between each welding point and the fault point to obtain the target welding point closest to the fault point.
4. The method of claim 2, wherein determining the location of the fault point based on the first flare distance, the location of the cable identification stub between the first reference point and the second reference point comprises:
calculating the location of the fault point according to the following expression:
Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));
wherein, geometryBM is st _ maker (geometry [ g1, g2 … gn-1, gn ]);
geomtybm is position information of a curve between the first reference point and the second reference point;
the st _ makeline () function is used to generate a line from a point;
g1 is GIS information corresponding to the longitude and latitude of the first reference point, gn is GIS information corresponding to the longitude and latitude of the second reference point, and g2 … gn-1 sequentially represents GIS information corresponding to the longitude and latitude of the optical cable identification pile in the direction from the first reference point to the second reference point;
BP is the first light-emitting distance;
BMg1 is the polishing distance from the test starting point to the first reference point;
a function sd _ st _ transform (, 26986) for converting position information of a curve between the first reference point to the second reference point into position coordinates in a 26986 coordinate system;
the function ST _ Length () is used to calculate the Length of a curve between the first reference point and the second reference point in the 26986 coordinate system from the converted position coordinates of the 26986 coordinate system.
5. The method of any of claims 1-4, wherein after determining the location of the fault point based on the first flare distance, the location of the fiber optic cable identification post between the first reference point and the second reference point, the method further comprises:
and displaying the position of the fault point on a GIS map of a GIS interface of a geographic information system.
6. The method of claim 5, wherein prior to obtaining the first flare distance between the measurement start point to the fault point, the method further comprises:
acquiring information of the measurement starting point and the cable segment to be measured, which is input by a user on the GIS interface;
receiving a measurement instruction of a user;
and responding to the measurement instruction, executing the step of obtaining the first lighting distance between the measurement starting point and the fault point, and obtaining the lighting distance between the measurement starting point and each welding point on the optical cable section to be measured based on the information of the optical cable section to be measured.
7. An optical cable fault point locating device, comprising:
the first obtaining module is used for obtaining a first lighting distance between the measurement starting point and the fault point, wherein the first lighting distance is obtained by emitting a light signal to the optical cable segment to be measured at the measurement starting point;
the first determining module is used for 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, wherein the first reference point is the welding point on one side of the fault point, which is closest to the fault point, and the second reference point is the welding point on the other side of the fault point, which is closest to the fault point;
the second acquisition module is used for acquiring the position of the optical cable identification pile between the first datum point and the second datum point;
and the second determination module is used for 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.
8. The apparatus of claim 7, wherein the first determining module is specifically configured to:
determining a target welding point closest to the fault 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;
determining the first reference point as the target welding point if a second lighting distance from the measurement starting point to the target welding point is less than the first lighting distance, wherein the second reference point is a next welding point of the target welding point in the direction from the measurement starting point to the target welding point;
and 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 a welding point which is the last welding point of the target welding point in the direction from the measurement starting point to the target welding point.
9. The apparatus of claim 8, wherein the first determining module is specifically configured to:
subtracting the first lighting distance from the measurement starting point to each welding point on the optical cable section to be measured, and taking the absolute value of each difference to obtain the distance between each welding point and a fault point;
and determining the minimum value of the distance between each welding point and the fault point to obtain the target welding point closest to the fault point.
10. The apparatus of claim 8, wherein the second determining module is specifically configured to:
calculating the location of the fault point according to the following expression:
Bpgeometry=ST_LineInterpolatePoint(geometryBM,(BP-BMg1)/(ST_Length(sd_st_transform(geometryBM,26986))));
wherein, geometryBM is st _ maker (geometry [ g1, g2 … gn-1, gn ]);
geomtybm is position information of a curve between the first reference point and the second reference point;
the st _ makeline () function is used to generate a line from a point;
g1 is GIS information corresponding to the longitude and latitude of the first reference point, gn is GIS information corresponding to the longitude and latitude of the second reference point, and g2 … gn-1 sequentially represents GIS information corresponding to the longitude and latitude of the optical cable identification pile in the direction from the first reference point to the second reference point;
BP is the first light-emitting distance;
BMg1 is the polishing distance from the test starting point to the first reference point;
a function sd _ st _ transform (, 26986) for converting position information of a curve between the first reference point to the second reference point into position coordinates in a 26986 coordinate system;
the function ST _ Length () is used to calculate the Length of a curve between the first reference point and the second reference point in the 26986 coordinate system from the converted position coordinates of the 26986 coordinate system.
11. The apparatus according to any one of claims 7-10, further comprising:
and the display module is used for displaying the position of the fault point on a GIS map of a GIS interface.
12. The apparatus of claim 11, further comprising:
the third acquisition module is used for acquiring the information of the measurement starting point and the cable segment to be measured, which is input by a user on the GIS interface;
the receiving module is used for receiving a measuring instruction of a user;
and the response module is used for responding to the measurement instruction, executing the step of obtaining the first lighting distance between the measurement starting point and the fault point, and obtaining the lighting distance between the measurement starting point and each welding point on the optical cable section to be measured based on the information of the optical cable section to be measured.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 6 when executing a program stored in the memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111645841.4A CN114362819A (en) | 2021-12-30 | 2021-12-30 | Optical cable fault point positioning method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111645841.4A CN114362819A (en) | 2021-12-30 | 2021-12-30 | Optical cable fault point positioning method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114362819A true CN114362819A (en) | 2022-04-15 |
Family
ID=81103703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111645841.4A Pending CN114362819A (en) | 2021-12-30 | 2021-12-30 | Optical cable fault point positioning method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114362819A (en) |
Cited By (1)
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)
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 specification system and optical fiber fault specification method |
CN108923847A (en) * | 2018-08-09 | 2018-11-30 | 平湖波汇通信科技有限公司 | A kind of Cable's Fault monitoring and accurate positioning method based on GIS |
-
2021
- 2021-12-30 CN CN202111645841.4A patent/CN114362819A/en active Pending
Patent Citations (4)
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 specification system and optical fiber fault specification 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)
Title |
---|
尹婧等: "光缆线路故障智能定位系统的分析与应用", 中国通信学会2020年通信线路学术年会论文集, 30 September 2020 (2020-09-30), pages 278 - 281 * |
Cited By (1)
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6748340B2 (en) | Cable position information management system, facility information management system, cable core wire management system, and methods and programs thereof | |
US11563486B2 (en) | Logical to physical link mapping in a fiber optic network | |
CN108696313B (en) | Optical cable fault accurate positioning method | |
US20200097618A1 (en) | Design engineering tools for visualizing existing utility lines within a land area and validating placement of new utility lines | |
KR102142768B1 (en) | Method and apparatus for inspecting error of underground facilities maps | |
CN108880669A (en) | Fault points of optical cables ground linear distance localization method and device | |
KR20150096761A (en) | Sensor data collection | |
KR101000949B1 (en) | Web-based realtime surveying managing system | |
KR102168117B1 (en) | The guidance system for buried natural gas pipelines using GNSS and augmented reality | |
CN111274683A (en) | Oil-gas pipeline data alignment management method | |
CN114362814A (en) | GIS map-based display method and monitoring system for optical cable positioning points | |
CN114362819A (en) | Optical cable fault point positioning method, device, equipment and medium | |
US11783504B2 (en) | Geolocation system | |
CN111884713A (en) | Geographical position fault positioning method for optical network operation and maintenance | |
JP2019148464A (en) | Equipment state detection device, equipment state detection method, and equipment state detection processing program | |
JP7384762B2 (en) | Kilo weight imparting device and kilo weight imparting method | |
CN108509720B (en) | Coordinate system conversion method for power pipeline with geological condition switching | |
JP2004109084A (en) | System, method and program for cable location information control | |
CN109217917B (en) | Method and device for determining position of fault optical fiber, storage medium and processor | |
CN113836248A (en) | Communication line emergency repair method and equipment based on Internet of things and computer readable storage medium | |
CN114742384A (en) | BIM three-dimensional reconstruction-based visual power grid intelligent control method | |
JP7030880B2 (en) | Surveying equipment, surveying methods and programs | |
CN113033842A (en) | Control management method and control management system for leakage of water supply network system | |
KR100451705B1 (en) | Fabricating Method of a Digital Map by Curve Fitting of GPS Coordinates | |
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 |