Method, processor and storage medium for determining the direction of optical cable

By analyzing the vibration signal waveforms of the ground sampling points, the direction of the communication optical cable is determined, and the problem of difficult to determine the optical cable position caused by irregular construction is solved, and fast and accurate optical cable positioning is achieved, reducing resource waste and maintenance costs.

CN114997232BActive Publication Date: 2025-01-03PIPECHINA SOUTH CHINA CO +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210638385.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2025-01-03
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

During the construction of communication optical cables, due to irregular construction and missing records, the direction of the optical cable is difficult to determine, resulting in the inability to find the axial center position of the optical cable during maintenance, resulting in waste of resources and increased communication losses.

Method used

Vibration signals of ground sampling points are collected through the positioning device, and waveforms are analyzed to determine the predicted initial position, target position and new target position of the optical cable. These positions are used to determine the direction of the optical cable to achieve rapid and accurate positioning without excavation.

Benefits of technology

It reduces the manpower, material resources and time required to position the direction of optical cables, improves the maintenance convenience of optical cables, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114997232B_ABST
    Figure CN114997232B_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication optical cables, and specifically to a method, processor and storage medium for determining the direction of an optical cable. The method includes: determining a first sampling point; determining the predicted initial position of the optical cable according to the waveform of the first sampling point; determining a plurality of second sampling points on a first straight line perpendicular to the line connecting the predicted initial position and the position of the positioning device; determining the target position of the optical cable according to the waveform of the second sampling point; determining a plurality of third sampling points on a second straight line perpendicular to the extension line of the line connecting the target position and the positioning device; determining the new target position of the optical cable according to the waveform of the third sampling point; determining a plurality of third sampling points on a third straight line perpendicular to the extension line of the line connecting the two latest target positions; returning to the step of determining the new target position of the optical cable according to the waveform of the third sampling point; and determining the direction of the optical cable according to the lines obtained from all the target positions. The above technical solution increases the convenience of optical cable maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication optical cables, and in particular to a method, a processor and a storage medium for determining the direction of an optical cable. Background Art

[0002] Communication optical cables have a very important influence on people's lives and work. At least at this stage, communication optical cables are gradually developing towards maturity, functionality and diversification. As their functions become increasingly powerful, their application in daily communication networks has become more extensive.

[0003] During the construction of buried communication optical cables, due to problems such as non-standard construction and lack of construction records, it is difficult to determine the actual direction of the optical cable, resulting in the inability to find the axial center position of the optical cable during later maintenance. Rash excavation without knowing the specific location of the optical cable not only wastes a lot of manpower, material resources, financial resources and time, but also damages the optical cable and increases communication losses. Summary of the invention

[0004] The purpose of the present application is to provide a method, processor and storage medium for determining the direction of an optical cable, which can quickly and accurately locate the direction of the optical cable without digging the ground.

[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for determining the direction of an optical cable, comprising:

[0006] Determine a first sampling point according to the position of the positioning device;

[0007] Determining a predicted initial position of the optical cable according to the waveform of the first sampling point;

[0008] Determine a plurality of second sampling points on a first straight line perpendicular to a line connecting a ground position corresponding to the predicted initial position and a ground position corresponding to the position of the positioning device, wherein the first straight line passes through the predicted initial position;

[0009] determining a target position of the optical cable according to the waveform of the second sampling point;

[0010] When the ground distance between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, a plurality of third sampling points are determined on a second straight line perpendicular to an extension line of a line connecting the ground position corresponding to the target position and the ground position corresponding to the positioning device;

[0011] Determine a new target position of the optical cable according to the waveform of the third sampling point;

[0012] When the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, a plurality of third sampling points are determined on a third straight line perpendicular to an extension line of a line connecting the ground positions of the two latest target positions;

[0013] Return to the step of determining a new target position of the optical cable according to the waveform of the third sampling point, until the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is greater than or equal to a preset threshold;

[0014] The optical cable direction is determined based on the connections obtained from all target locations.

[0015] In one embodiment of the present application, determining the predicted initial position of the optical cable according to the waveform of the first sampling point includes: tapping each first sampling point in sequence according to a first preset frequency to obtain a first vibration signal of each first sampling point;

[0016] When the frequency of the first vibration signal meets the first preset frequency and the waveform of the first vibration signal includes a preset waveform, the position corresponding to the central peak of the preset waveform is determined as the predicted initial position.

[0017] In one embodiment of the present application, the method further includes: determining the optical cable mileage at the predicted initial position based on the position of the positioning device and the predicted initial position; and determining the optical cable mileage as the optical cable mileage at the starting point of the optical cable whose direction is to be confirmed.

[0018] In one embodiment of the present application, determining the target position of the optical cable based on the waveform of the second sampling point includes: tapping each second sampling point in turn at a second preset frequency to obtain a second vibration signal of each second sampling point; and analyzing the waveform of each second vibration signal to determine the target position of the optical cable.

[0019] In one embodiment of the present application, analyzing the waveform of each second vibration signal to determine the target position of the optical cable includes: obtaining the waveform of the vibration signal of each second sampling point, and determining the average value of the peak amplitude of the waveform of each second sampling point; and determining the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all the second sampling points as the target position of the optical cable.

[0020] In one embodiment of the present application, the second straight line passes through an extension line of a line connecting a ground position corresponding to the target position and a ground position corresponding to the position of the positioning device, and is a ground position at a preset distance from the ground position corresponding to the target position.

[0021] In one embodiment of the present application, determining the new target position of the optical cable based on the waveform of the third sampling point includes: tapping each third sampling point in turn at a second preset frequency to obtain a third vibration signal of each third sampling point; acquiring the waveform of the vibration signal of each third sampling point in turn to determine the average peak amplitude of the waveform of each third sampling point; and determining the position corresponding to the central peak of the waveform with the highest average peak amplitude as the new target position of the optical cable.

[0022] In one embodiment of the present application, the third straight line passes through a position on an extension line of a line connecting the two latest target positions at a preset distance from the new target position.

[0023] In one embodiment of the present application, the average value of the peak amplitude of each target position is determined as the buried depth of the optical cable corresponding to each target position.

[0024] A second aspect of the present application provides a processor configured to execute the above method for determining the direction of an optical cable.

[0025] A third aspect of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned method for determining the direction of an optical cable.

[0026] Through the above technical solution, the vibration signal of the sampling point can be collected to obtain the waveform of the vibration signal, so as to determine the buried position of the optical cable according to the waveform of the vibration signal, and determine the direction of the optical cable according to the buried position of the optical cable. The direction of the optical cable can be quickly located without excavation, reducing the manpower, material resources, financial resources and time consumed in locating the direction of the optical cable, which is conducive to the rapid repair and maintenance of the optical cable and increases the convenience of optical cable maintenance.

[0027] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0029] Figure 1 A schematic diagram of a positioning device for optical cable winding in the present application is shown;

[0030] Figure 2 A flow chart of a method for determining the direction of an optical cable in the present application is schematically shown;

[0031] Figure 3A waveform example diagram of a method for determining the direction of an optical cable in an embodiment of the present application is schematically shown;

[0032] Figure 4 A waveform example diagram of a method for determining the direction of an optical cable in another embodiment of the present application is schematically shown;

[0033] Figure 5 A waveform example diagram of a method for determining the direction of an optical cable in another embodiment of the present application is schematically shown;

[0034] Figure 6 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0035] The specific implementation of the present application is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present application, and is not used to limit the present application.

[0036] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0037] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0038] like Figure 1As shown, a positioning device 100 for optical cable coiling in the present application is schematically shown, including a narrow line width light source 101, a high-precision acousto-optic modulator 102, a pulse amplifier 103, a circulator 104, a fiber amplifier 105, a fiber filter 106, a photodetector 107, a bandpass filter 108, a host computer 109, and a buried optical cable 110. The narrow line width light source 101 is connected to the high-precision acousto-optic modulator 102, the high-precision acousto-optic modulator 102 is connected to the pulse amplifier 103, the pulse amplifier 103, the fiber amplifier 105 and the buried optical cable 110 are connected together through the circulator 104, the fiber amplifier 105 is connected to the fiber filter 106, the fiber filter 106 is connected to the photodetector 107, the photodetector 107 is connected to the bandpass filter 108, and the bandpass filter 108 is connected to the host computer 109.

[0039] The narrow linewidth light source 101 emits a continuous optical signal of a preset wavelength, for example, a continuous optical signal of a wavelength of 1550 nm, so that the continuous optical signal enters the high-precision acousto-optic modulator 102, and modulates an optical pulse signal of a preset pulse width through the high-precision acousto-optic modulator 102. For example, a 20 ns pulse width optical pulse signal is modulated through the high-precision acousto-optic modulator 102. The optical pulse signal enters the pulse amplifier 103 through the high-precision acousto-optic modulator 102 for amplification. The amplified optical pulse signal enters the buried optical cable 110 through the circulator 104. After the buried optical cable 110 receives the optical pulse signal, the buried optical cable 110 0 will cause Rayleigh scattering, wherein the Rayleigh scattered light signal scattered toward the rear can return to the circulator 104 through the buried optical cable 110 and enter the optical fiber amplifier 105 for amplification, the amplified Rayleigh scattered light signal enters the optical fiber filter 106 to filter out the optical noise, the Rayleigh scattered light signal after the noise is filtered out enters the photodetector 107 to be converted into an electrical analog signal, the electrical analog signal enters the bandpass filter 108 to filter out the noise and interference signal, the filtered electrical analog signal is transmitted to the host computer 109 for collection, normalization algorithm and other processing, and the result is displayed on the screen in the form of a vibration waveform.

[0040] like Figure 1 As shown, the circulator 104 in the optical cable coiling positioning device 100 is connected to the buried optical cable 110, that is, it is connected to one end of the buried optical cable 110. When the ground above the buried optical cable 110 is struck, the vibration generated by striking the ground can be propagated along the soil, and the propagated vibration will affect the buried optical cable 110, so that the buried optical cable 110 generates a vibration signal. The vibration signal of the buried optical cable 110 can be propagated based on the Rayli scattered light signal, and the optical cable coiling positioning device 100 can convert the obtained optical signal into an electrical analog signal, thereby obtaining a waveform corresponding to the vibration signal of the buried optical cable 110.

[0041] like Figure 2As shown, a flow chart of a method for determining the direction of an optical cable in the present application is schematically shown, such as Figure 2 As shown, the following steps are included:

[0042] Step 201, determining a first sampling point according to the position of a positioning device;

[0043] Step 202, determining a predicted initial position of the optical cable according to the waveform of the first sampling point;

[0044] Step 203, determining a plurality of second sampling points on a first straight line perpendicular to a line connecting a ground position corresponding to the predicted initial position and a ground position corresponding to the position of the positioning device, wherein the first straight line passes through the predicted initial position;

[0045] Step 204, determining the target position of the optical cable according to the waveform of the second sampling point;

[0046] Step 205, when the ground distance between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, determine a plurality of third sampling points on a second straight line perpendicular to an extension line of a line connecting the ground position corresponding to the target position and the ground position corresponding to the positioning device;

[0047] Step 206, determining a new target position of the optical cable according to the waveform of the third sampling point;

[0048] Step 207, when the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, determine a plurality of third sampling points on a third straight line perpendicular to an extension line of a line connecting the ground positions of the two latest target positions;

[0049] Step 208, returning to the step of determining a new target position of the optical cable according to the waveform of the third sampling point, until the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is greater than or equal to a preset threshold;

[0050] Step 209, determining the direction of the optical cable according to the connection lines obtained at all target positions.

[0051] The operator can connect the positioning device to the buried optical cable and set multiple sampling points in the area to be detected. In order to obtain the vibration signal of the sampling point more clearly, the operator can place an iron plate on the ground in the area to be detected and knock on the iron plate above the sampling point to obtain the vibration signal corresponding to the sampling point and the waveform of the vibration signal.

[0052] The processor can sequentially obtain the vibration signal of the first sampling point, and obtain the waveform corresponding to the vibration signal, and determine the predicted initial position of the optical cable through the waveform of the first sampling point. After the processor determines the predicted initial position of the optical cable according to the vibration signal of the first sampling point, it can determine the connection line between the ground position corresponding to the predicted initial position of the optical cable and the ground position corresponding to the positioning device. A first straight line perpendicular to the connection line is determined at the ground position corresponding to the predicted initial position, and multiple second sampling points are determined on the determined first straight line.

[0053] The processor can obtain the vibration signal of the second sampling point, and determine the waveform corresponding to the second sampling point based on the vibration signal. The target position of the optical cable can be determined based on the waveform of the second sampling point. The processor can determine the ground position corresponding to the target position of the optical cable, and determine the ground distance between the ground position corresponding to the target position of the optical cable and the ground position corresponding to the position of the positioning device. When the ground distance is less than a preset threshold set by the processor, the processor can determine the line connecting the ground position of the target position and the ground position of the positioning device, and determine multiple third sampling points on a second straight line perpendicular to the extension line of the connecting line.

[0054] The processor can sequentially obtain the vibration signal of the third sampling point, and determine the waveform of the third sampling point according to the vibration signal, and the processor can determine the new target position of the optical cable according to the waveform of the third sampling point. After the processor determines the new target position of the optical cable, the processor can determine the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device, and determine whether the ground distance between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device is less than a preset threshold set by the processor. In the case of determining that the ground distance between the two is less than the preset threshold, the processor can determine the connection line of the ground positions of the two latest target positions, and determine multiple third sampling points on the third straight line perpendicular to the extension line of the connection line. The processor can determine the new target position of the optical cable again according to the waveform of the vibration signal of the multiple third sampling points determined, and determine whether the ground distance between the ground position corresponding to the new target position of the optical cable and the ground position corresponding to the position of the positioning device is less than the preset threshold set by the processor. If the ground distance between the ground position corresponding to the new target position of the optical cable and the ground position corresponding to the position of the positioning device is less than the preset threshold set by the processor, the processor can determine the third straight line perpendicular to the extension line of the connection line again according to the connection line of the ground positions of the two latest target positions, and determine multiple third sampling points according to the third straight line. Until the ground distance between the ground position corresponding to the new target position of the optical cable and the ground position corresponding to the position of the positioning device is greater than or equal to a preset threshold set by the processor, the processor may stop determining the third straight line and the third sampling point.

[0055] The processor may determine the connection lines between all the target positions according to all the determined target positions, and determine the direction of the optical cable according to the connection lines between all the obtained target positions.

[0056] In one embodiment, determining the predicted initial position of the optical cable based on the waveform of the first sampling point includes: tapping each first sampling point in turn at a first preset frequency to obtain a first vibration signal of each first sampling point; when the frequency of the first vibration signal meets the first preset frequency and the waveform of the first vibration signal includes a preset waveform, determining the position corresponding to the central peak of the preset waveform as the predicted initial position.

[0057] The processor can set a first preset frequency to tap each first sampling point. For example, the processor can set the first preset frequency to an interval of 1 second, tap once per second, and tap 5 times in total. In order to distinguish other interfering vibration signals, the processor can set the preset frequency of the vibration signal to a tap feature that appears once every one second, for a total of five times. Therefore, when the frequency of the vibration signal obtained by the processor meets the preset frequency, it is determined that the obtained vibration signal is a valid vibration signal, thereby obtaining the waveform of the vibration signal. After obtaining the waveform of the vibration signal of the first sampling point, the processor can analyze the waveform of the obtained vibration signal. In the case where the waveform of the first vibration signal includes a preset waveform, the processor can determine the position corresponding to the central peak of the preset waveform as the predicted initial position. The preset waveform can be a waveform corresponding to the optical cable.

[0058] In one embodiment, the optical cable mileage at the predicted initial position is determined according to the position of the positioning device and the predicted initial position; and the optical cable mileage is determined as the optical cable mileage at the starting point of the optical cable whose direction is to be confirmed.

[0059] After determining the predicted initial position of the optical cable, the processor can determine the position of the optical cable where the positioning device is located and the predicted initial position of the optical cable, and determine the cable mileage at the predicted initial position of the optical cable, wherein the cable mileage is the distance between the position of the optical cable where the positioning device is located and the predicted initial position of the optical cable. After the processor determines the cable mileage at the predicted initial position, the cable mileage at the predicted initial position can be determined as the cable mileage of the starting point of the direction of the optical cable to be confirmed.

[0060] For example, assuming that the processor sequentially acquires a first vibration signal at a first sampling point and determines a waveform of the first vibration signal at the first sampling point, after determining that the frequency of the acquired first vibration signal meets a preset frequency set by the processor, and the waveform of the first vibration signal includes a preset waveform, such as Figure 3 As shown, assuming Figure 3 The waveform shown is the waveform of the first vibration signal at the first sampling point. The processor determines that the waveform of the first vibration signal includes the following Figure 3 If the preset waveform a is shown, the processor can determine the position of the optical cable corresponding to the central peak of the preset waveform a, and determine the position of the optical cable corresponding to the central peak of the preset waveform a as the preset initial position. At the same time, assuming that the origin is the position of the optical cable where the positioning device is located, the processor can determine the optical cable mileage M between the position of the optical cable corresponding to the preset initial position and the position of the optical cable where the positioning device is located. At this time, the processor can determine the optical cable mileage M as the optical cable mileage M at the starting point of the direction of the optical cable to be determined. For example, assuming that the optical cable mileage of the initial position is predicted to be 500 meters, the optical cable mileage at the starting point of the direction of the optical cable to be determined is 500 meters.

[0061] In one embodiment, determining the target position of the optical cable based on the waveform of the second sampling point includes: tapping each second sampling point in turn at a second preset frequency to obtain a second vibration signal of each second sampling point; and analyzing the waveform of each second vibration signal to determine the target position of the optical cable.

[0062] After the processor determines multiple second sampling points on the first straight line, it can tap each second sampling point in turn according to the second preset frequency, so as to obtain a second vibration signal of each second sampling point. For example, the processor can set the second preset frequency to tap the ground three times every three seconds. After the processor obtains the second vibration signal of each second sampling point, it can obtain the waveform of the second vibration signal, analyze the waveform of each second vibration signal, and thus determine the target position through the waveform of the second vibration signal.

[0063] In one embodiment, analyzing the waveform of each second vibration signal to determine the target position of the optical cable includes: obtaining the waveform of the vibration signal of each second sampling point, and determining the average value of the peak amplitude of the waveform of each second sampling point; and determining the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all the second sampling points as the target position of the optical cable.

[0064] The processor can obtain the vibration signal of each second sampling point, obtain the waveform of the vibration signal of each second sampling point, and obtain the average value of the peak amplitude of the waveform of each second sampling point. For example, suppose the second preset frequency set by the processor is once every three seconds, and the ground is hit three times. The processor can determine the average value of the peak amplitude of the waveform of the vibration signal obtained by hitting the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the vibration signal of each second sampling point. Determine the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all second sampling points, and determine the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude as the target position of the optical cable.

[0065] In one embodiment, the second straight line passes through a ground position corresponding to the target position and a ground position corresponding to the position of the positioning device, on an extension line of a line connecting the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device, and is at a ground position at a preset distance from the ground position corresponding to the target position.

[0066] After the processor determines the target position of the optical cable, a second straight line can be determined based on the ground position corresponding to the target position and the ground position corresponding to the positioning device. The processor can determine the line between the ground position corresponding to the target position and the ground position corresponding to the positioning device, and determine multiple third sampling points on the second straight line perpendicular to the extension line of the line. Among them, the processor can set a preset distance, and determine the position at the preset distance from the target position on the extension line of the line between the ground position corresponding to the target position and the ground position corresponding to the positioning device, so that the second straight line passes through the position at the preset distance from the target position. For example, assuming that the processor sets the preset distance to 10 meters, a second straight line is set at a position 10 meters away from the target position on the extension line of the line between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device, and the second straight line is perpendicular to the extension line of the line. Multiple third sampling points are set on the second straight line.

[0067] In one embodiment, determining the new target position of the optical cable based on the waveform of the third sampling point includes: tapping each third sampling point in turn at a second preset frequency to obtain a third vibration signal of each third sampling point; obtaining the waveform of the vibration signal of each third sampling point, and determining the average value of the peak amplitude of the waveform of each third sampling point; and determining the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all the third sampling points as the new target position of the optical cable.

[0068] After the processor determines a plurality of third sampling points on the second straight line, it can tap each third sampling point in turn according to the second preset frequency, so as to obtain a third vibration signal of each third sampling point. For example, the processor can set the second preset frequency to once every three seconds, and tap the ground three times. After the processor obtains the third vibration signal of each third sampling point, it can obtain the waveform of the third vibration signal of each third sampling point, and obtain the average value of the peak amplitude of the waveform of each third sampling point. For example, assuming that the second preset frequency set by the processor is once every three seconds, and tap the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the third vibration signal obtained by tapping the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the third vibration signal of each third sampling point. And determine the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all third sampling points, and determine the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude as the new target position of the optical cable.

[0069] In one embodiment, the third straight line passes through a ground position at a preset distance from the new target position on an extension line of a line connecting the ground positions of the two latest target positions.

[0070] After the processor determines the new target position of the optical cable, it can determine whether the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is less than a preset threshold set by the processor. When it is determined that the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is less than the preset threshold, the processor can determine the connection line of the ground positions of the two latest target positions, and determine multiple third sampling points on the third straight line perpendicular to the extension line of the connection line. Among them, the processor can set a preset distance, and determine the position at the preset distance from the new target position on the extension line of the connection line of the ground positions corresponding to the two latest target positions, so that the third straight line passes through the position at the preset distance from the new target position. For example, assuming that the processor sets the preset distance to 10 meters, the two latest target positions are the first target position and the second target position, respectively, wherein the first target position is earlier than the second target position. On the extension line of the connection line between the ground positions corresponding to the two latest target positions, a third straight line is set at a position 10 meters away from the second target position, and the third straight line is perpendicular to the extension line of the connection line. Multiple third sampling points are set on the third straight line.

[0071] In one embodiment, the processor may determine an average value of the peak amplitude of each target position, and use the average value of the peak amplitude of each target position as the buried depth of the optical cable corresponding to each target position.

[0072] In one embodiment, a processor is provided, configured to execute the method for determining the direction of an optical cable according to any one of the above items.

[0073] The circulator in the positioning device of the optical cable coil can be connected to the buried optical cable, and obtain the vibration signal of the buried optical cable, and determine the corresponding waveform according to the received vibration signal. Multiple sampling points can be set on the ground above the buried optical cable, and each sampling point can be tapped so that the processor can obtain the vibration signal of the buried optical cable at each sampling point. Since there may be other interfering vibration signals, it is necessary to obtain the waveform of the vibration signal when the frequency of the vibration signal meets the preset frequency. The preset frequency of the vibration signal can be set to be consistent with the frequency of tapping the sampling point.

[0074] The operator can connect the positioning device to the buried optical cable and set multiple first sampling points in the area to be detected. In order to more clearly obtain the vibration signal of the first sampling point, the operator can place an iron plate on the ground of the area to be detected and knock on the iron plate above the first sampling point to obtain the first vibration signal corresponding to the first sampling point and the waveform of the first vibration signal.

[0075] The processor can set a first preset frequency to tap each first sampling point. For example, the processor can set the first preset frequency to an interval of 1 second, tap once per second, and tap 5 times in total. In order to distinguish other interfering vibration signals, the processor can set the preset frequency of the vibration signal to a tap feature that appears once every one second, for a total of five times. Therefore, when the frequency of the vibration signal obtained by the processor meets the preset frequency, it is determined that the obtained vibration signal is a valid vibration signal, thereby obtaining the waveform of the vibration signal. After obtaining the waveform of the vibration signal of the first sampling point, the processor can analyze the waveform of the obtained vibration signal. In the case where the waveform of the first vibration signal includes a preset waveform, the processor can determine the position corresponding to the central peak of the preset waveform as the predicted initial position. The preset waveform can be a waveform corresponding to the optical cable.

[0076] After determining the predicted initial position of the optical cable, the processor can determine the position of the optical cable where the positioning device is located and the predicted initial position of the optical cable, and determine the cable mileage at the predicted initial position of the optical cable, wherein the cable mileage is the distance between the position of the optical cable where the positioning device is located and the predicted initial position of the optical cable. After the processor determines the cable mileage at the predicted initial position, the cable mileage at the predicted initial position can be determined as the cable mileage at the starting point of the direction of the optical cable to be confirmed.

[0077] For example, assuming that the processor sequentially acquires a first vibration signal at a first sampling point and determines a waveform of the first vibration signal at the first sampling point, after determining that the frequency of the acquired first vibration signal meets a preset frequency set by the processor, and the waveform of the first vibration signal includes a preset waveform, such as Figure 3 As shown, assuming Figure 3 The waveform shown is the waveform of the first vibration signal at the first sampling point. The processor determines that the waveform of the first vibration signal includes the following Figure 3If the preset waveform a is shown, the processor can determine the position of the optical cable corresponding to the central peak of the preset waveform a, and determine the position of the optical cable corresponding to the central peak of the preset waveform a as the preset initial position. At the same time, assuming that the origin is the position of the optical cable where the positioning device is located, the processor can determine the optical cable mileage M between the position of the optical cable corresponding to the preset initial position and the position of the optical cable where the positioning device is located. At this time, the processor can determine the optical cable mileage M as the optical cable mileage M at the starting point of the direction of the optical cable to be determined. At this time, the processor can determine the optical cable mileage as the optical cable mileage at the starting point of the direction of the optical cable to be determined. For example, assuming that the optical cable mileage of the initial position is predicted to be 500 meters, the optical cable mileage at the starting point of the direction of the optical cable to be determined is 500 meters.

[0078] After the processor determines the predicted initial position of the optical cable according to the vibration signal of the first sampling point, a line between the ground position corresponding to the predicted initial position of the optical cable and the ground position corresponding to the positioning device can be determined, and a first straight line perpendicular to the line is determined at the ground position corresponding to the predicted initial position, and a plurality of second sampling points are determined on the determined first straight line.

[0079] After the processor determines a plurality of second sampling points on the first straight line, the operator can sequentially tap each second sampling point according to the second preset frequency, and the processor can receive the vibration signal of the sampling point. When the vibration signal obtained by the processor is consistent with the second preset frequency, the processor can determine that the vibration signal is the second vibration signal of the second sampling point. For example, the processor can set the second preset frequency to once every three seconds and tap the ground three times. After the processor obtains the second vibration signal of each second sampling point, it can obtain the waveform of the second vibration signal and obtain the average value of the peak amplitude of the waveform of each second sampling point. For example, assuming that the second preset frequency set by the processor is once every three seconds and taps the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the vibration signal obtained by tapping the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the vibration signal of each second sampling point. Determine the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all the second sampling points, and determine the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude as the target position of the optical cable. In other words, the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude is the buried position of the optical cable.

[0080] After the processor determines the target position of the optical cable by acquiring the waveform of the vibration signal of the second sampling point, the processor can determine the ground position corresponding to the target position of the optical cable, and determine the ground distance between the ground position corresponding to the target position of the optical cable and the ground position corresponding to the position of the positioning device, and judge whether it is less than the preset threshold set by the processor. The preset threshold set by the processor can be determined according to the range of the optical cable whose direction is to be determined determined by the operator. In the case where the processor determines that the ground distance between the ground positions corresponding to the position of the positioning device is less than the preset threshold set by the processor, the processor can determine the connection line between the ground position corresponding to the target position and the ground position corresponding to the positioning device, and determine multiple third sampling points on the second straight line perpendicular to the extension line of the connection line. Among them, the processor can set a preset distance, determine the position at the preset distance from the target position on the extension line of the connection line between the ground position corresponding to the target position and the ground position corresponding to the positioning device, and make the second straight line pass through the position at the preset distance from the target position. For example, assuming that the processor sets the preset distance to 10 meters, a second straight line is set at a position 10 meters away from the target position on the extension line of the connection line between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device, and the second straight line is perpendicular to the extension line of the connection line. Multiple third sampling points are set on the second straight line.

[0081] After the processor determines a plurality of third sampling points on the second straight line, it can tap each third sampling point in turn according to the second preset frequency, so as to obtain a third vibration signal of each third sampling point. For example, the processor can set the second preset frequency to once every three seconds, and tap the ground three times. After the processor obtains the third vibration signal of each third sampling point, it can obtain the waveform of the third vibration signal of each third sampling point, and obtain the average value of the peak amplitude of the waveform of each third sampling point. For example, assuming that the second preset frequency set by the processor is once every three seconds, and tap the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the third vibration signal obtained by tapping the ground three times. The processor can determine the average value of the peak amplitude of the waveform of the third vibration signal of each third sampling point. And determine the waveform with the highest average value of the peak amplitude among the waveforms of the vibration signals of all third sampling points, and determine the position corresponding to the central peak of the waveform with the highest average value of the peak amplitude as the new target position of the optical cable.

[0082] For example, Figure 4As shown, the optical cable is buried in the soil. In order to determine the specific position of the optical cable in the soil, after the processor determines the target position of the optical cable through the second sampling point, it can determine the third straight line according to the target position and the ground distance of the positioning device, and set multiple third sampling points on the ground. The third sampling points can be set to be 2 meters apart. For each third sampling point, the ground can be knocked by a knocking device to determine the third vibration signal of each third sampling point. The processor can set the knocking frequency of the knocking device to once every three seconds, and knock the ground 3 times. After the processor obtains the third vibration signal of each third sampling point, it can obtain the waveform of the third vibration signal of each third sampling point, and obtain the average value of the peak amplitude of the waveform of each third sampling point. The processor can determine the waveform with the highest average value of the peak amplitude in the waveforms of the third sampling points as the target waveform, and determine the position corresponding to the central peak of the target waveform as the new target position of the optical cable. That is, the buried position of the optical cable. As shown Figure 4 As shown, the position corresponding to the central peak of the target waveform is the position of the optical cable buried in the soil.

[0083] In one embodiment, Figure 5 As shown, through Figure 4 After the target waveform and the location of the optical cable in the soil are determined by the method shown, the processor can identify the waveform at the sampling point, such as Figure 5 As shown, when the interval distance between the third sampling points is the same, but the waveform on the left side of the target waveform is significantly lower than the waveform on the right side, the processor can determine that there are facilities such as oil and gas pipelines on the left side of the optical cable, which affects the density of the soil, thereby obtaining a waveform lower than the third sampling point on the right side where there are no facilities underground.

[0084] After the processor determines the new target position of the optical cable, the processor can determine the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device, and determine whether the ground distance between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device is less than a preset threshold set by the processor. When it is determined that the ground distance between the two is less than the preset threshold, the processor can determine the line connecting the ground positions of the two latest target positions, and determine multiple third sampling points on a third straight line perpendicular to the extension line of the line. Among them, the processor can set a preset distance, and determine the position at the preset distance from the new target position on the extension line of the line connecting the ground positions corresponding to the two latest target positions, so that the third straight line passes through the position at the preset distance from the new target position. For example, assuming that the processor sets the preset distance to 10 meters, the two latest target positions are the first target position and the second target position, respectively, wherein the first target position is earlier than the second target position. On the extension line of the line between the ground positions corresponding to the two latest target positions, a third straight line is set at a position 10 meters away from the second target position, and the third straight line is perpendicular to the extension line of the line. Multiple third sampling points are set on the third straight line.

[0085] The processor can determine the new target position of the optical cable again based on the waveform of the vibration signal of the determined multiple third sampling points, and determine whether the ground distance between the ground position corresponding to the new target position of the optical cable and the ground position corresponding to the position of the positioning device is less than the preset threshold set by the processor. If the ground distance between the ground position corresponding to the new target position of the optical cable and the ground position corresponding to the position of the positioning device is less than the preset threshold set by the processor, a third straight line perpendicular to the extension line of the connecting line of the two latest target positions is determined again, and multiple third sampling points are determined based on the third straight line. Until the ground distance between the ground position corresponding to the determined new target position of the optical cable and the ground position corresponding to the position of the positioning device is greater than or equal to the preset threshold set by the processor. At this time, the processor can stop determining the third straight line and the third sampling point.

[0086] The processor can determine the connection lines between all the target positions according to all the determined target positions, and determine the direction of the optical cable according to the connection lines between all the obtained target positions. The processor can also determine the average value of the peak amplitude of each target position, and use the average value of the peak amplitude of each target position as the buried depth of the optical cable corresponding to each target position.

[0087] Through the above technical solution, the vibration signal of the sampling point can be collected to obtain the waveform of the vibration signal, so as to determine the buried position of the optical cable according to the waveform of the vibration signal, and determine the direction of the optical cable according to the buried position of the optical cable. The direction of the optical cable can be quickly located without excavation, reducing the manpower, material resources, financial resources and time consumed in locating the direction of the optical cable, which is conducive to the rapid repair and maintenance of the optical cable and increases the convenience of optical cable maintenance.

[0088] In one embodiment, a storage medium is provided, on which a program is stored. When the program is executed by a processor, the method for determining the direction of an optical cable is implemented.

[0089] In one embodiment, a computer program product is provided, comprising a computer program, which implements any one of the above methods for determining the direction of an optical cable when executed by a processor.

[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0091] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a method for determining the direction of an optical cable is implemented. The display screen A04 of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device A05 of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0092] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0097] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0098] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0099] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0100] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0101] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for determining the direction of an optical cable, characterized in that: The method comprises: Determine a first sampling point according to the position of the positioning device; Determining a predicted initial position of the optical cable according to the waveform of the first sampling point; Determine a plurality of second sampling points on a first straight line perpendicular to a line connecting a ground position corresponding to the predicted initial position and a ground position corresponding to the position of the positioning device, wherein the first straight line passes through the predicted initial position; determining a target position of the optical cable according to the waveform of the second sampling point; When the ground distance between the ground position corresponding to the target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, a plurality of third sampling points are determined on a second straight line perpendicular to an extension line of a line connecting the ground position corresponding to the target position and the ground position corresponding to the positioning device; determining a new target position of the optical cable according to the waveform of the third sampling point; When the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is less than a preset threshold, a plurality of third sampling points are determined on a third straight line perpendicular to an extension line of a line connecting the ground positions of the two latest target positions; Return to the step of determining a new target position of the optical cable according to the waveform of the third sampling point, until the ground distance between the ground position corresponding to the new target position and the ground position corresponding to the position of the positioning device is greater than or equal to the preset threshold; The direction of the optical cable is determined according to the connection lines obtained at all target positions.

2. The method for determining the direction of an optical cable according to claim 1, characterized in that: Determining the predicted initial position of the optical cable according to the waveform of the first sampling point includes: Tap each first sampling point in sequence according to a first preset frequency to obtain a first vibration signal of each first sampling point; When the frequency of the first vibration signal meets the first preset frequency and the waveform of the first vibration signal includes a preset waveform, the position corresponding to the central peak of the preset waveform is determined as the predicted initial position.

3. The method for determining the direction of an optical cable according to claim 2, wherein: The method further comprises: Determine the mileage of the optical cable at the predicted initial position according to the position of the positioning device and the predicted initial position; The optical cable mileage is determined as the optical cable mileage at the starting point of the optical cable whose direction is to be confirmed.

4. The method for determining the direction of an optical cable according to claim 1, characterized in that: Determining the target position of the optical cable according to the waveform of the second sampling point comprises: tapping each second sampling point in sequence according to a second preset frequency to obtain a second vibration signal of each second sampling point; The waveform of each second vibration signal is analyzed to determine the target position of the optical cable.

5. The method for determining the direction of an optical cable according to claim 4, characterized in that: The step of analyzing the waveform of each second vibration signal to determine the target position of the optical cable comprises: Acquire the waveform of the vibration signal at each second sampling point, and determine the average value of the peak amplitude of the waveform at each second sampling point; The position corresponding to the central peak of the waveform having the highest average value of the peak amplitude among the waveforms of the vibration signals of all the second sampling points is determined as the target position of the optical cable.

6. The method for determining the direction of an optical cable according to claim 1, characterized in that: The second straight line passes through a ground position corresponding to the target position on an extension line of a line connecting a ground position corresponding to the position of the positioning device and a ground position at a preset distance from the ground position corresponding to the target position.

7. The method for determining the direction of an optical cable according to claim 1, characterized in that: Determining the new target position of the optical cable according to the waveform of the third sampling point comprises: tapping each third sampling point in sequence according to the second preset frequency to obtain a third vibration signal of each third sampling point; Sequentially acquiring the waveform of the vibration signal at each third sampling point, and determining the average peak amplitude of the waveform at each third sampling point; The position corresponding to the central peak of the waveform with the highest average peak amplitude is determined as the new target position of the optical cable.

8. The method for determining the direction of an optical cable according to claim 1, characterized in that: The third straight line passes through a position on the extension line of the line connecting the two latest target positions at a preset distance from the new target position.

9. The method for determining the direction of an optical cable according to claim 1, characterized in that: The average value of the peak amplitude at each target position is determined as the buried depth of the optical cable corresponding to each target position.

10. A processor, characterized in that: The method is configured to execute the method for determining the direction of an optical cable according to any one of claims 1 to 9.

11. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the method for determining the direction of an optical cable according to any one of claims 1 to 9.