A method and system for locating and detecting optical cable faults
By obtaining the fault length of the optical cable branch and the geographical coordinates of the reference point, and using geometric drawing and cross-validation, the problem of large positioning error in optical cable fault location was solved, and accurate and efficient fault point location was achieved.
Patent Information
- Application Number
- CN202511404722.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2045-09-29
AI Technical Summary
Existing optical cable fault location methods rely on optical time domain reflectometers, which cannot directly obtain the geographical coordinates of the fault point, resulting in large location errors and low efficiency, especially in multi-branch optical cable networks where accurate location is difficult.
By obtaining the fault length of the optical cable branch and the geographic coordinates of the reference point, and using geometric mapping and cross-verification of the reference point, the initial and target ranges of the fault point are determined. Multi-branch data sources are then integrated for correction to improve positioning accuracy.
It reduces reliance on human experience, avoids blind excavation, significantly saves time and economic costs, and achieves accurate and efficient location of optical cable faults.
Smart Images

Figure CN120880547B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of optical cable fault analysis technology, and in particular relates to an optical cable fault location and detection method and system. Background Technology
[0002] As a core component of modern communication infrastructure, the stability and reliability of optical fiber networks directly affect the quality of communication services. However, during long-term operation, optical cables are inevitably affected by multiple factors such as the natural environment, external construction forces, and material aging, leading to faults such as breakage, bending, or excessive attenuation. Quickly and accurately locating the fault point is a crucial aspect of optical fiber maintenance, significantly contributing to shortening repair time, reducing maintenance costs, and ensuring uninterrupted communication.
[0003] Currently, optical cable fault location primarily relies on optical time domain reflectometers (OTDRs). OTDRs calculate the fiber length (i.e., fault length) between the fault point and the test end by sending light pulses into the fiber and analyzing its backscattered and reflected signals. However, this method has significant limitations: OTDRs can only provide the fiber length information of the fault point and cannot directly obtain its geographical coordinates. In practical applications, optical cables often employ multi-branch structures such as tree or ring structures, and their laying paths are complex (e.g., along roads, pipelines, or overhead in the field), making it difficult to accurately pinpoint the specific geographical location based solely on length information. Maintenance personnel typically need to combine route drawings, manual experience, and on-site inspections to roughly determine the fault location. This process is time-consuming and labor-intensive, and prone to location errors due to inaccurate drawings, experience biases, or interference from multiple branches, leading to problems such as blind excavation and inefficient repairs. Summary of the Invention
[0004] This invention provides a method and system for locating and detecting optical cable faults, which solves the technical problem that positioning errors are easily caused by inaccurate drawings, experience deviations, or interference from multiple branches, resulting in blind excavation and low repair efficiency.
[0005] In a first aspect, the present invention provides a method for locating and detecting optical cable faults, comprising:
[0006] Obtain the first fault length between the first fault point and the access end in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch.
[0007] Based on the first fault length, a preset search strategy is used to search for at least one reference point corresponding to the first fault point in all optical cable branches, wherein multiple reference points are set in each optical cable branch.
[0008] Obtain the geographic coordinates of the at least one reference point, and select a target reference point from the at least one reference point according to the geographic coordinates using a preset selection strategy;
[0009] The first geographic coordinates of the first reference point and the second geographic coordinates of the second reference point in the first optical cable branch are obtained. The first initial range where the first fault point is located is determined according to the first geographic coordinates, the second geographic coordinates, the first reference length and the second reference length. The first initial range is corrected according to the target geographic coordinates and target reference length of each target reference point to obtain the first target range corresponding to the first fault point. The first reference point and the second reference point are two reference points adjacent to the first fault point.
[0010] The second fault length between the second fault point and the access end in the first optical cable branch within a preset time period is obtained, and the second initial range where the second fault point is located is determined according to the third geographical coordinates and the third reference length of the third reference point in the first optical cable branch, and the fourth geographical coordinates and the fourth reference length of the fourth reference point. The second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point.
[0011] Based on the first center of the first initial range and the first target center of the first target range, the second initial range is modified to obtain the second target range.
[0012] Secondly, the present invention provides an optical cable fault location and detection system, comprising:
[0013] The acquisition module is configured to acquire the first fault length between the first fault point and the access end in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch.
[0014] The search module is configured to search for at least one reference point corresponding to the first fault point in all optical cable branches according to the first fault length and using a preset search strategy, wherein multiple reference points are set in each optical cable branch.
[0015] The selection module is configured to obtain the geographic coordinates of the at least one reference point, and select a target reference point from the at least one reference point according to each geographic coordinate using a preset selection strategy.
[0016] The first correction module is configured to obtain the first geographic coordinates of the first reference point and the second geographic coordinates of the second reference point in the first optical cable branch, determine the first initial range where the first fault point is located based on the first geographic coordinates, the second geographic coordinates, the first reference length and the second reference length, and correct the first initial range based on the target geographic coordinates and the target reference length of each target reference point to obtain the first target range corresponding to the first fault point, wherein the first reference point and the second reference point are two reference points adjacent to the first fault point;
[0017] The determination module is configured to obtain the second fault length between the second fault point and the access end in the first optical cable branch within a preset time period, and determine the second initial range where the second fault point is located based on the third geographical coordinates and the third reference length of the third reference point in the first optical cable branch, and the fourth geographical coordinates and the fourth reference length of the fourth reference point. The second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point.
[0018] The second correction module is configured to correct the second initial range based on the first center of the first initial range and the first target center of the first target range to obtain the second target range.
[0019] Thirdly, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the optical cable fault location and detection method according to any embodiment of the present invention.
[0020] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the steps of the optical cable fault location and detection method according to any embodiment of the present invention.
[0021] The optical cable fault location and detection method and system of this application firstly determines the initial circular area of the fault point in a two-dimensional coordinate system based on the geographical coordinates and length ratio of adjacent reference points within the first optical cable branch, providing a basic reference for location. Then, it uses target reference points selected from other branches for cross-verification and dynamic correction. By calculating the projection point position of the target reference point under the fault length, it judges the deviation from the initial area, thereby effectively offsetting the system deviation caused by differences in fiber length and geographical location, measurement errors, or inaccuracy of a single data source, making the center of the final first target range closer to the actual fault point. This process integrates multiple branch data sources, transforming fault location from relying on a single line length measurement to collaborative calculation of spatial geographical coordinates. This not only reduces the reliance on manual experience in operation and maintenance but also avoids blind digging as much as possible, significantly saving time and economic costs. Furthermore, based on the first center of the first initial range and the first target center of the first target range, the second initial range is corrected to obtain the second target range. This facilitates the rapid determination of the subsequent fault point location while ensuring the positioning accuracy as much as possible, thus achieving the most accurate and efficient fault location. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart of an optical cable fault location and detection method provided in an embodiment of the present invention;
[0024] Figure 2 This is a structural block diagram of an optical cable fault location and detection system provided in an embodiment of the present invention;
[0025] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] Please see Figure 1The diagram shows a flowchart of a fiber optic cable fault location and detection method according to this application.
[0028] like Figure 1 As shown, the optical cable fault location and detection method specifically includes the following steps:
[0029] Step S101: Obtain the first fault length between the first fault point and the access terminal in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch.
[0030] In this step, an optical time domain reflectometer is connected to the access end. The optical cable length between the first fault point and the access end of the first optical cable branch can be obtained through the optical time domain reflectometer, which is defined as the first fault length.
[0031] Step S102: Based on the first fault length, a preset search strategy is used to search for at least one reference point corresponding to the first fault point in all optical cable branches, wherein multiple reference points are set in each optical cable branch.
[0032] In this step, the reference lengths between each reference point and the access end in each optical cable branch are obtained, resulting in at least one reference length sequence, where each reference length sequence corresponds to one optical cable branch; the difference between each reference length in a certain reference length sequence and the first fault length is calculated, and the smallest positive difference value is selected from the results of each difference value, and the reference point corresponding to the smallest positive difference value is taken as the reference point corresponding to the first fault point, where a certain reference length sequence is any one of at least one reference length sequences; a certain sequence number of a certain reference point in the first reference length sequence is obtained, and other reference lengths at a certain sequence number are found in other reference length sequences, where other reference length sequences are any one of at least one reference length sequences excluding the first reference length sequence; other reference points corresponding to other reference lengths are defined as reference points corresponding to the first fault point, resulting in at least one reference point corresponding to the first fault point.
[0033] Step S103: Obtain the geographic coordinates of the at least one reference point, and select a target reference point from the at least one reference point according to the geographic coordinates using a preset selection strategy.
[0034] In this step, the first geographic coordinates of the first reference point and the initial geographic coordinates of the access end are obtained. The first reference point is the reference point in the first optical cable branch corresponding to the first fault point. A circle is drawn with the distance between the first geographic coordinates and the initial geographic coordinates as the radius and the location of the access end as the center to obtain the boundary line. The second geographic coordinates of the second reference point are obtained. The second shortest distance between the second reference point and the boundary line is determined based on the second geographic coordinates. It is then determined whether the second shortest distance is greater than a preset distance threshold. The second reference point is any reference point excluding the first reference point from at least one reference point. If the second shortest distance is not greater than the preset distance threshold, the second reference point is defined as the target reference point; otherwise, it is not defined as the target reference point.
[0035] Step S104: Obtain the first geographic coordinates of the first reference point and the second geographic coordinates of the second reference point in the first optical cable branch; determine the first initial range where the first fault point is located based on the first geographic coordinates, the second geographic coordinates, the first reference length, and the second reference length; and correct the first initial range based on the target geographic coordinates and target reference length of each target reference point to obtain the first target range corresponding to the first fault point, wherein the first reference point and the second reference point are two reference points adjacent to the first fault point.
[0036] In this step, a first line segment is formed by connecting the first reference point to the initial position of the access terminal. Based on the first geographic coordinates of the first reference point and the initial geographic coordinates of the initial position, a first target point is intercepted on the first line segment. The first distance between the first target point and the initial position is equal to the first reference distance between the first reference point and the access terminal multiplied by a first ratio, where the first ratio is the ratio of the first fault length to the first reference length. Similarly, a second line segment is formed by connecting the second reference point to the initial position of the access terminal. Based on the second geographic coordinates of the second reference point and the initial geographic coordinates of the initial position, a second target point is intercepted on the second line segment. The second distance between the second target point and the initial position is equal to the first reference distance between the second reference point and the access terminal. The second reference distance is multiplied by a second ratio, which is the ratio of the first fault length to the second reference length. Each reference point in the first optical cable branch is set in a preset two-dimensional coordinate system, and the reference points are connected to obtain the first branch line. In the two-dimensional coordinate system, a circle is drawn with the first distance as the radius and the initial position as the center to obtain the first circle, and a circle is drawn with the second distance as the radius and the initial position as the center to obtain the second circle, where the origin of the two-dimensional coordinate system is the initial position. The intersection of the first circle and the first branch line is defined as the first range point, and the intersection of the second circle and the first branch line is defined as the second range point. A circle is drawn with the distance between the first range point and the second range point as the diameter to obtain the target circle, which is the first initial range where the first fault point is located.
[0037] It should be noted that a target reference point is connected to the initial position of the access terminal to obtain a target line segment. Based on the target geographic coordinates of the target reference point and the initial geographic coordinates of the initial position, a correction point is intercepted on the target line segment. The distance between the correction point and the initial position is equal to the distance between the target reference point and the access terminal multiplied by a target ratio, where the target ratio is the ratio of the first fault length to the target reference length. It is then determined whether the correction point is within the annular area formed by the first circle and the second circle. If the correction point is not within the annular area, the first initial range is not corrected based on the target reference point. If the correction point is within the annular area, a circle is drawn in a two-dimensional coordinate system with the distance between the correction point and the initial position as the radius and the initial position as the center, resulting in a target circle. The intersection of the target circle and the first branch line is defined as the first update point. A circle is drawn with the distance between the first update point and the second range point as the diameter, resulting in the first target range corresponding to the first fault point. The distance between the first update point and the second range point is greater than the distance between the first update point and the first range point.
[0038] Step S105: Obtain the second fault length between the second fault point and the access end in the first optical cable branch within a preset time period, and determine the second initial range where the second fault point is located based on the third geographical coordinates and the third reference length of the third reference point in the first optical cable branch, and the fourth geographical coordinates and the fourth reference length of the fourth reference point. The second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point.
[0039] In this step, a third line segment is formed by connecting the third reference point to the initial position of the access head. Based on the third geographic coordinates of the third reference point and the initial geographic coordinates of the initial position, a third target point is intercepted on the third line segment. The third distance between the third target point and the initial position is equal to the third reference distance between the third reference point and the access head multiplied by a third ratio, where the third ratio is the ratio of the second fault length to the third reference length. Similarly, a fourth line segment is formed by connecting the fourth reference point to the initial position of the access head. Based on the fourth geographic coordinates of the fourth reference point and the initial geographic coordinates of the initial position, a fourth target point is intercepted on the fourth line segment. The fourth distance between the fourth target point and the initial position is equal to the third reference distance between the fourth reference point and the access head. The fourth reference distance is multiplied by the fourth ratio, which is the ratio of the second fault length to the fourth reference length. Each reference point in the first optical cable branch is set in a preset two-dimensional coordinate system, and the reference points are connected to obtain the first branch line. In the two-dimensional coordinate system, a circle is drawn with the third distance as the radius and the initial position as the center to obtain the third circle, and a circle is drawn with the fourth distance as the radius and the initial position as the center to obtain the fourth circle, where the origin of the two-dimensional coordinate system is the initial position. The intersection of the third circle and the first branch line is defined as the third range point, and the intersection of the fourth circle and the first branch line is defined as the fourth range point. A circle is drawn with the distance between the third range point and the fourth range point as the diameter to obtain another target circle, which is the second initial range where the second fault point is located.
[0040] Step S106: Based on the first center of the first initial range and the first target center of the first target range, the second initial range is modified to obtain the second target range.
[0041] In this step, the offset angle and offset distance are determined based on the first center coordinates of the first center and the first target center in the two-dimensional coordinate system. The second center of the second initial range is moved according to the offset angle and offset distance to obtain the second target range. The offset distance is the distance between the first center coordinates and the first target center coordinates, and the offset angle is the angle between the line connecting the first center coordinates and the first target center and the positive half-axis of the X-axis.
[0042] In summary, the method of this application firstly determines the initial circular area of the fault point in a two-dimensional coordinate system by geometric drawing based on the geographical coordinates and length ratio of adjacent reference points within the first optical cable branch, providing a basic reference for location. Then, it uses target reference points selected from other branches for cross-verification and dynamic correction. By calculating the projection point position of the target reference point under the fault length, it judges the deviation from the initial area, thereby effectively offsetting the system deviation caused by differences in fiber length and geographical location, measurement errors, or inaccuracy of a single data source, making the center of the final first target range closer to the actual fault point. This process integrates multiple branch data sources, transforming fault location from relying on single line length measurement to collaborative calculation of spatial geographical coordinates. This not only reduces the reliance on manual experience in operation and maintenance but also avoids blind excavation as much as possible, significantly saving time and economic costs. Furthermore, based on the first center of the first initial range and the first target center of the first target range, the second initial range is corrected to obtain the second target range. This facilitates the rapid determination of the subsequent fault point location while ensuring the positioning accuracy as much as possible, thus achieving the most accurate and efficient fault location.
[0043] Please see Figure 2 The diagram shows a structural block diagram of an optical cable fault location and detection system according to this application.
[0044] like Figure 2 As shown, the optical cable fault location and detection system 200 includes an acquisition module 210, a search module 220, a selection module 230, a first correction module 240, a determination module 250, and a second correction module 260.
[0045] The acquisition module 210 is configured to acquire the first fault length between the first fault point and the access terminal in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch; the search module 220 is configured to search for at least one reference point corresponding to the first fault point in all optical cable branches according to the first fault length using a preset search strategy, wherein multiple reference points are set in each optical cable branch; the selection module 230 is configured to acquire the geographical coordinates of the at least one reference point, and select a target reference point among the at least one reference point according to each geographical coordinate using a preset selection strategy; the first correction module 240 is configured to acquire the first geographical coordinates of the first reference point and the second geographical coordinates of the second reference point in the first optical cable branch, and determine the first initial range where the first fault point is located according to the first geographical coordinates, the second geographical coordinates, the first reference length, and the second reference length. The first initial range is corrected based on the target geographic coordinates and target reference length of each target reference point to obtain the first target range corresponding to the first fault point, wherein the first reference point and the second reference point are two reference points adjacent to the first fault point; the determination module 250 is configured to obtain the second fault length between the second fault point and the access end in the first optical cable branch within a preset time period, and determine the second initial range where the second fault point is located based on the third geographic coordinates and the third reference length of the third reference point and the fourth geographic coordinates and the fourth reference length of the fourth reference point in the first optical cable branch, wherein the second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point; the second correction module 260 is configured to correct the second initial range based on the first center of the first initial range and the first target center of the first target range to obtain the second target range.
[0046] It should be understood that Figure 2 The modules and references described in the document Figure 1 The steps described in the text correspond to those in the method described above. Therefore, the operations, features, and corresponding technical effects described above also apply to the method described in the text. Figure 2 The various modules in the document will not be described in detail here.
[0047] In other embodiments, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the optical cable fault location and detection method in any of the above method embodiments.
[0048] In one embodiment, the computer-readable storage medium of the present invention stores computer-executable instructions, which are configured as follows:
[0049] Obtain the first fault length between the first fault point and the access end in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch.
[0050] Based on the first fault length, a preset search strategy is used to search for at least one reference point corresponding to the first fault point in all optical cable branches, wherein multiple reference points are set in each optical cable branch.
[0051] Obtain the geographic coordinates of the at least one reference point, and select a target reference point from the at least one reference point according to the geographic coordinates using a preset selection strategy;
[0052] The first geographic coordinates of the first reference point and the second geographic coordinates of the second reference point in the first optical cable branch are obtained. The first initial range where the first fault point is located is determined according to the first geographic coordinates, the second geographic coordinates, the first reference length and the second reference length. The first initial range is corrected according to the target geographic coordinates and target reference length of each target reference point to obtain the first target range corresponding to the first fault point. The first reference point and the second reference point are two reference points adjacent to the first fault point.
[0053] The second fault length between the second fault point and the access end in the first optical cable branch within a preset time period is obtained, and the second initial range where the second fault point is located is determined according to the third geographical coordinates and the third reference length of the third reference point in the first optical cable branch, and the fourth geographical coordinates and the fourth reference length of the fourth reference point. The second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point.
[0054] Based on the first center of the first initial range and the first target center of the first target range, the second initial range is modified to obtain the second target range.
[0055] Computer-readable storage media may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created based on the use of the optical cable fault location and detection system, etc. Furthermore, the computer-readable storage medium may include high-speed random access memory, and may also include memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include memory remotely configured relative to a processor, and these remote memories can be connected to the optical cable fault location and detection system via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0056] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 3 As shown, the device includes a processor 310 and a memory 320. The electronic device may also include an input device 330 and an output device 340. The processor 310, memory 320, input device 330, and output device 340 can be connected via a bus or other means. Figure 3 Taking a bus connection as an example, the memory 320 is the computer-readable storage medium described above. The processor 310 executes various server functions and data processing by running non-volatile software programs, instructions, and modules stored in the memory 320, thereby implementing the optical cable fault location and detection method described in the above embodiment. The input device 330 can receive input digital or character information and generate key signal inputs related to user settings and function control of the optical cable fault location and detection system. The output device 340 may include a display screen or other display device.
[0057] The aforementioned electronic device can execute the method provided in the embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in the embodiments of the present invention.
[0058] In one implementation, the above-described electronic device is applied to an optical cable fault location and detection system for a client, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0059] Obtain the first fault length between the first fault point and the access end in the first optical cable branch within a preset time period, wherein the first optical cable branch is any optical cable branch among all optical cable branches, and the first fault point is any fault point in the first optical cable branch.
[0060] Based on the first fault length, a preset search strategy is used to search for at least one reference point corresponding to the first fault point in all optical cable branches, wherein multiple reference points are set in each optical cable branch.
[0061] Obtain the geographic coordinates of the at least one reference point, and select a target reference point from the at least one reference point according to the geographic coordinates using a preset selection strategy;
[0062] The first geographic coordinates of the first reference point and the second geographic coordinates of the second reference point in the first optical cable branch are obtained. The first initial range where the first fault point is located is determined according to the first geographic coordinates, the second geographic coordinates, the first reference length and the second reference length. The first initial range is corrected according to the target geographic coordinates and target reference length of each target reference point to obtain the first target range corresponding to the first fault point. The first reference point and the second reference point are two reference points adjacent to the first fault point.
[0063] The second fault length between the second fault point and the access end in the first optical cable branch within a preset time period is obtained, and the second initial range where the second fault point is located is determined according to the third geographical coordinates and the third reference length of the third reference point in the first optical cable branch, and the fourth geographical coordinates and the fourth reference length of the fourth reference point. The second fault point is any fault point in the first optical cable branch excluding the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point.
[0064] Based on the first center of the first initial range and the first target center of the first target range, the second initial range is modified to obtain the second target range.
[0065] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An optical cable fault location detection method, characterized by, The method comprises: acquiring a first fault length between a first fault point and an access end head in a first optical cable branch within a preset time period; according to the first fault length, searching for at least one reference point corresponding to the first fault point in all optical cable branches by using a preset searching strategy, wherein the searching for at least one reference point corresponding to the first fault point in all optical cable branches by using a preset searching strategy according to the first fault length comprises: acquiring reference lengths between each reference point and the access end head in each optical cable branch to obtain at least one reference length sequence, wherein one reference length sequence corresponds to one optical cable branch; differencing each reference length in a certain reference length sequence from the first fault length, selecting a minimum positive difference value in each difference result, and taking a certain reference point corresponding to the minimum positive difference value as a reference point corresponding to the first fault point, wherein the certain reference length sequence is any reference length sequence in the at least one reference length sequence; acquiring a certain sequence number at which the certain reference point is located in the certain reference length sequence, and searching for other reference lengths at the certain sequence number in other reference length sequences, wherein the other reference length sequences are any reference length sequences in the at least one reference length sequence except the certain reference length sequence; defining other reference points corresponding to the other reference lengths as reference points corresponding to the first fault point to obtain at least one reference point corresponding to the first fault point; acquiring geographic coordinates of the at least one reference point, and selecting a target reference point in the at least one reference point by using a preset selection strategy according to each geographic coordinate; acquiring a first geographic coordinate of a first reference point and a second geographic coordinate of a second reference point in the first optical cable branch, determining a first initial range in which the first fault point is located according to the first geographic coordinate, the second geographic coordinate, a first reference length and a second reference length, and modifying the first initial range according to a target geographic coordinate of each target reference point and a target reference length to obtain a first target range corresponding to the first fault point; acquiring a second fault length between a second fault point and the access end head in the first optical cable branch within a preset time period, and determining a second initial range in which the second fault point is located according to a third geographic coordinate of a third reference point and a third reference length, a fourth geographic coordinate of a fourth reference point and a fourth reference length in the first optical cable branch; modifying the second initial range according to a first center of the first initial range and a first target center of the first target range to obtain a second target range.
2. The method of claim 1, wherein, The acquiring of the geographic coordinates of the at least one reference point and the selecting of the target reference point in the at least one reference point according to each geographic coordinate by using a preset selection strategy comprise: acquiring a first geographic coordinate of a first reference point and an initial geographic coordinate of the access end head, wherein the first reference point is a reference point corresponding to the first fault point in the first optical cable branch; drawing a circle with the distance between the first geographic coordinate and the initial geographic coordinate as a radius and the position where the access end is located as a center, to obtain a boundary line; obtaining a second geographic coordinate of a second reference point, determining a second shortest distance between the second reference point and the boundary line according to the second geographic coordinate, and judging whether the second shortest distance is greater than a preset distance threshold, wherein the second reference point is any reference point in the at least one reference point except the first reference point; if the second shortest distance is not greater than the preset distance threshold, defining the second reference point as a target reference point, otherwise not defining the second reference point as the target reference point.
3. The method of claim 1, wherein, The first initial range of the first fault point is determined according to the first geographic coordinate, the second geographic coordinate, a first reference length and a second reference length, and the method comprises the following steps: connecting the first reference point and the initial position of the access end to obtain a first line segment, and intercepting a first target point on the first line segment according to the first geographic coordinate of the first reference point and the initial geographic coordinate of the initial position, wherein a first distance between the first target point and the initial position is equal to a first reference distance between the first reference point and the access end multiplied by a first ratio value, the first ratio value is a ratio value of the first fault length and the first reference length, and the first reference point and the second reference point are two reference points adjacent to the first fault point; connecting the second reference point and the initial position of the access end to obtain a second line segment, and intercepting a second target point on the second line segment according to the second geographic coordinate of the second reference point and the initial geographic coordinate of the initial position, wherein a second distance between the second target point and the initial position is equal to a second reference distance between the second reference point and the access end multiplied by a second ratio value, the second ratio value is a ratio value of the first fault length and the second reference length; setting each reference point in the first optical cable branch in a preset two-dimensional coordinate system, and connecting each reference point to obtain a first branch line; drawing a first circle with the first distance as a radius and the initial position as a center in the two-dimensional coordinate system, and drawing a second circle with the second distance as a radius and the initial position as a center, wherein an origin of the two-dimensional coordinate system is the initial position; defining an intersection point of the first circle and the first branch line as a first range point, defining an intersection point of the second circle and the first branch line as a second range point, and drawing a target circle with a distance between the first range point and the second range point as a diameter, to obtain the first initial range of the first fault point.
4. The method of claim 3, wherein, The first initial range is corrected according to the target geographic coordinate and the target reference length of each target reference point to obtain a first target range corresponding to the first fault point. connecting a target reference point with an initial position of the access end head to obtain a target line segment, and intercepting a correction point on the target line segment according to a target geographic coordinate of the target reference point and an initial geographic coordinate of the initial position, wherein a distance between the correction point and the initial position is equal to a distance between the target reference point and the access end head multiplied by a target ratio value, and the target ratio value is a ratio of the first fault length to a target reference length; determining whether the correction point is in an annular region formed by the first circle and the second circle; if the correction point is not in the annular region, not correcting the first initial range based on the target reference point; if the correction point is in the annular region, drawing a circle in the two-dimensional coordinate system with a distance between the correction point and the initial position as a radius and the initial position as a center to obtain a target circle; defining an intersection point between the target circle and the first branch line as a first updated point, and drawing a circle with a distance between the first updated point and a second range point as a diameter to obtain a first target range corresponding to the first fault point, wherein the distance between the first updated point and the second range point is greater than a distance between the first updated point and a first range point.
5. The method of claim 1, wherein, wherein, the second fault point is any fault point in the first optical cable branch except the first fault point, and the third reference point and the fourth reference point are two reference points adjacent to the second fault point; the determining the second initial range in which the second fault point is located according to a third geographic coordinate of the third reference point and a third reference length, and a fourth geographic coordinate of the fourth reference point and a fourth reference length includes: connecting the third reference point with the initial position of the access end head to obtain a third line segment, and intercepting a third target point on the third line segment according to the third geographic coordinate of the third reference point and the initial geographic coordinate of the initial position, wherein a third distance between the third target point and the initial position is equal to a third reference distance between the third reference point and the access end head multiplied by a third ratio value, and the third ratio value is a ratio of the second fault length to the third reference length; connecting the fourth reference point with the initial position of the access end head to obtain a fourth line segment, and intercepting a fourth target point on the fourth line segment according to the fourth geographic coordinate of the fourth reference point and the initial geographic coordinate of the initial position, wherein a fourth distance between the fourth target point and the initial position is equal to a fourth reference distance between the fourth reference point and the access end head multiplied by a fourth ratio value, and the fourth ratio value is a ratio of the second fault length to the fourth reference length; arranging each reference point in the first optical cable branch in a preset two-dimensional coordinate system, and connecting each reference point to obtain a first branch line; a third circle is drawn with the third distance as a radius and the initial position as a center, and a fourth circle is drawn with the fourth distance as a radius and the initial position as a center, wherein the initial position is the origin of the two-dimensional coordinate system; a third range point is defined as an intersection point of the third circle and the first branch line, a fourth range point is defined as an intersection point of the fourth circle and the first branch line, and a circle is drawn with a distance between the third range point and the fourth range point as a diameter to obtain another target circle, i.e., a second initial range in which the second fault point is located.
6. The method of claim 5, wherein, The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis.
7. An optical cable fault location detection system characterized by, The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first center is a first center coordinate of the first center in the two-dimensional coordinate system, and the first target center is a first target center coordinate of the first target center in the two-dimensional coordinate system, an offset angle and an offset distance are determined, and a second center of the second initial range is moved according to the offset angle and the offset distance to obtain the second target range, wherein the offset distance is a distance between the first center coordinate and the first target center coordinate, and the offset angle is an included angle between a line connecting the first center coordinate and the first target center coordinate and the positive half of the X-axis. The first correction module is configured to acquire a first geographic coordinate of a first reference point and a second geographic coordinate of a second reference point in the first optical cable branch, determine a first initial range where the first fault point is located according to the first geographic coordinate, the second geographic coordinate, a first reference length and a second reference length, and correct the first initial range according to a target geographic coordinate of each target reference point and a target reference length to obtain a first target range corresponding to the first fault point. The determination module is configured to acquire a second fault length between the second fault point and the access end head in the first optical cable branch within a preset time period, and determine a second initial range where the second fault point is located according to a third geographic coordinate of a third reference point and a third reference length, a fourth geographic coordinate of a fourth reference point and a fourth reference length in the first optical cable branch. The second correction module is configured to correct the second initial range according to a first center of the first initial range and a first target center of the first target range to obtain a second target range.
8. An electronic device, comprising: The program is executed by the processor to implement the method in any one of claims 1 to 6. The program is executed by the processor to implement the method in any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that,
Citation Information
Patent Citations
Optical cable fault point positioning method
CN114157348A