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

By setting sampling points above the optical cable and analyzing the waveform of the vibration signal, the problem of correspondence between the length of the optical cable and the ground distance is solved, and fast and accurate measurement of the optical cable disc length is achieved, reducing manpower and time consumption during construction.

CN114993217BActive Publication Date: 2024-12-24PIPECHINA SOUTH CHINA CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210616946.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-01
Publication Date
2024-12-24
Estimated Expiration
2042-06-01

AI Technical Summary

Technical Problem

During the construction of communication optical cables, due to irregular construction, missing construction records and missing electronic marks, the length of the optical cable cannot accurately correspond to the actual distance of the ground, and it is impossible to quickly determine the ground coordinate position during the emergency repair of optical cables. The existing methods require Excavation and measurement consumes a lot of manpower, material resources and time.

Method used

By setting multiple sampling points above the optical cable, tapping and obtaining vibration signals in turn, analyzing the waveform of the vibration signal, determining the target area of ​​the optical cable disc cable and its ground distance, thereby calculating the disc length of the optical cable, realizing that the excavation does not require excavation. Accurate measurement.

Benefits of technology

It realizes rapid and accurate measurement of the length of buried optical cable coils, reducing manpower, material resources and time consumption, and improving construction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114993217B_ABST
    Figure CN114993217B_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 coiling length of an optical cable. The method comprises: tapping each sampling point in turn at a preset frequency to obtain a vibration signal of each sampling point; obtaining the waveform of the vibration signal when the frequency of the vibration signal meets the preset frequency; analyzing the waveform of the vibration signal to determine the target area where the optical cable is coiled, and determining the optical cable mileage of the target area and the ground distance of the target area; determining the coiling length of the optical cable according to the optical cable mileage and the ground distance. Through the above technical scheme, the waveform of the vibration signal can be obtained by collecting the vibration signal of the sampling point, thereby determining the coiling length of the optical cable on the coil according to the vibration signal. Through the above scheme, the operator can quickly and accurately measure the length of the buried optical cable coil without excavation, reducing the consumption of manpower, material resources, financial resources and time.
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 coiled length 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 process, buried communication optical cables are laid in sections, and then connected section by section. At the connection point between every two sections, an optical cable junction box is set up, and a certain length of optical cable is coiled. In the later stage, when the broken cable is repaired and re-splice, a junction box is also required, and the optical cable is coiled. However, due to problems such as non-standard construction, missing construction records, and missing electronic identification, the length of the optical cable cannot correspond to the actual distance on the ground. When repairing the broken optical cable, it is impossible to quickly determine the ground coordinate position based on the distance of the broken cable. At present, if you want to know the actual length of the optical cable on the cable coil, you can only excavate and measure the cable coil with missing information, which will consume a lot of manpower, material resources, financial resources and time. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, processor and storage medium for determining the coiled length of an optical cable quickly and accurately without excavating the ground.

[0005] In order to achieve the above-mentioned purpose, the embodiment of the present application provides a method for determining the coiling length of an optical cable, wherein a positioning device for coiling an optical cable is arranged at one end of the optical cable, and a plurality of sampling points are arranged on the ground above the optical cable, and the method comprises:

[0006] Each sampling point is tapped in turn at a preset frequency to obtain a vibration signal of each sampling point;

[0007] When the frequency of the vibration signal meets the preset frequency, obtaining the waveform of the vibration signal;

[0008] Analyze the waveform of the vibration signal to determine the target area where the cable is coiled, and determine the cable mileage and ground distance of the target area;

[0009] Determine the cable reel length based on the cable mileage and ground distance.

[0010] In one embodiment of the present application, the waveform of the vibration signal is analyzed to determine the target area where the optical cable is coiled, including: when the waveform of the vibration signal includes a first waveform and a second waveform, and the first waveform is located on the left side of the second waveform, the sampling point corresponding to the vibration signal is determined as the first target sampling point; when the waveform of the vibration signal includes a first waveform and a second waveform, and the first waveform in the waveform of the vibration signal is located on the right side of the second waveform, the sampling point corresponding to the vibration signal is determined as the second target sampling point; and the area between the first target sampling point and the second target sampling point is determined as the target area where the optical cable is coiled.

[0011] In one embodiment of the present application, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a first optical cable length between the first optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point; determining a second optical cable length between the second optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point; and determining the difference between the first optical cable length and the second optical cable length as the optical cable mileage of the target area where the optical cable is coiled.

[0012] In one embodiment of the present application, determining the first optical cable length between the first optical cable position and the positioning device based on the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point includes: obtaining the first waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform; when it is determined that the first waveform and the second waveform do not overlap, and the first waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the first optical cable position; and determining the optical cable length between the position of the positioning device and the first optical cable position as the first optical cable length.

[0013] In one embodiment of the present application, determining the second optical cable length between the second optical cable position and the positioning device based on the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point includes: obtaining the second waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform; when it is determined that the first waveform and the second waveform do not overlap, and the second waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the second optical cable position; and determining the optical cable length between the position of the positioning device and the second optical cable position as the second optical cable length.

[0014] In one embodiment of the present application, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a first ground position corresponding to the first optical cable position based on the first optical cable position; determining a second ground position corresponding to the second optical cable position based on the second optical cable position; and determining the distance between the first ground position and the second ground position as the ground distance of the target area.

[0015] In one embodiment of the present application, determining the coiled length of the optical cable according to the cable mileage and the ground distance includes: determining the difference between the cable mileage and the ground distance, and determining the difference as the coiled length of the optical cable.

[0016] In one embodiment of the present application, the waveform of the vibration signal is analyzed to determine the target area where the optical cable is coiled, including: when the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms, the sampling point corresponding to the vibration signal is determined as the third target sampling point; when the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms, the sampling point corresponding to the vibration signal is determined as the fourth target sampling point; and the area between the third target sampling point and the fourth target sampling point is determined as the target area where the optical cable is coiled.

[0017] In one embodiment of the present application, the method further includes: setting a plurality of sampling points in the target area, sequentially acquiring vibration signals of the sampling points, and when the waveform of the vibration signal includes a third waveform and two second waveforms, and the second waveforms are respectively located on both sides of the third waveform, determining the sampling point corresponding to the vibration signal as a fifth target sampling point; determining the area between the third target sampling point and the fifth target sampling point as a first target area; and determining the area between the fourth target sampling point and the fifth target sampling point as a second target area.

[0018] In one embodiment of the present application, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining the third optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the third target sampling point; determining the fourth optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the fourth target sampling point; determining the position of the optical cable corresponding to the central peak of the third waveform in the waveform corresponding to the fifth target sampling point as the fifth optical cable position; determining the optical cable length between the third optical cable position and the fifth optical cable position as the first optical cable mileage of the first target area; and determining the optical cable length between the third optical cable position and the fifth optical cable position as the second optical cable mileage of the second target area.

[0019] In one embodiment of the present application, determining the third optical cable position based on the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the third target sampling point includes: obtaining the third waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform on the left side of the second waveform; when it is determined that the first waveform does not overlap with the second waveform on the left side, and the third waveform distance is less than a preset distance, determining that the optical cable position corresponding to the central peak of the first waveform is the third optical cable position.

[0020] In one embodiment of the present application, determining the fourth optical cable position based on the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the fourth target sampling point includes: obtaining the fourth waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform on the right side of the second waveform; when it is determined that the first waveform and the second waveform on the right side do not overlap, and the fourth waveform distance is less than a preset distance, determining that the optical cable position corresponding to the central peak of the first waveform is the fourth optical cable position.

[0021] In one embodiment of the present application, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a third ground position corresponding to the third optical cable position based on the third optical cable position; determining a fourth ground position corresponding to the fourth optical cable position based on the fourth optical cable position; determining a fifth ground position corresponding to the fifth optical cable position based on the fifth optical cable position; determining the distance between the third ground position and the fifth ground position as the first ground distance of the first target area; and determining the distance between the fourth ground position and the fifth ground position as the second ground distance of the second target area.

[0022] In one embodiment of the present application, determining the coiled length of the optical cable based on the optical cable mileage and the ground distance includes: determining a first difference between the first optical cable mileage and the first ground distance, and determining the first difference as the coiled length of the optical cable in the first target area; determining a second difference between the second optical cable mileage and the second ground distance, and determining the second difference as the coiled length of the optical cable in the second target area.

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

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

[0025] 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 locate the ground area where the optical cable is coiled according to the waveform of the vibration signal, and analyze the waveform of the vibration signal for the area, so as to determine the distance between the optical cable and the actual ground, and thus determine the length of the optical cable on the coil according to the distance between the optical cable and the ground. Through the above solution, the operator can quickly and accurately measure the length of the buried optical cable coil without excavation, reducing the consumption of manpower, material resources, financial resources and time.

[0026] 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

[0027] 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:

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

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

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

[0031] Figure 4 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 1 ;

[0032] Figure 5 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 2 ;

[0033] Figure 6 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 3 ;

[0034] Figure 7 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 4 ;

[0035] Figure 8 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 5 ;

[0036] Fig. 9 Schematically showing a waveform example of a method for determining the coiled length of an optical cable in an embodiment of the present application Figure 6 ;

[0037] Fig.10 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0038] 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.

[0039] 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.

[0040] 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.

[0041] like Figure 1 As 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.

[0042] 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.

[0043] 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.

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

[0045] Step 201, tapping each sampling point in turn at a preset frequency to obtain a vibration signal of each sampling point;

[0046] Step 202, when the frequency of the vibration signal meets the preset frequency, obtaining the waveform of the vibration signal;

[0047] Step 203, analyzing the waveform of the vibration signal to determine the target area where the cable is coiled, and determining the cable mileage of the target area and the ground distance of the target area;

[0048] Step 204, determining the coiled length of the optical cable according to the cable mileage and the ground distance.

[0049] A plurality of sampling points can be set above the buried optical cable. For example, the sampling points are set along the axial direction of the optical cable, and a sampling point is set every 10 meters. Each sampling point can be tapped in turn, so that the processor obtains the vibration signal of the buried optical cable at each sampling point. The processor can set the tapping frequency, and the obtained vibration signal should correspond to the tapping frequency and meet the preset frequency. For example, assuming that the frequency of tapping the ground is 1 second at an interval of 1 second, tapping once per second, and a total of 5 tapping times, in order to distinguish other interfering vibration signals, the processor can set the preset frequency of the vibration signal to correspond to 1 tapping feature every second, and 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, the processor can analyze the waveform of the obtained vibration signal to determine the target area where the cable is located, and determine the cable mileage of the target area and the ground distance of the target area. After the processor determines the cable mileage and ground distance of the target area where the cable is located, the cable coiling length can be determined according to the cable mileage and ground distance. The cable coiling length refers to the length of the optical cable stored on the cable coil.

[0050] In one embodiment, analyzing the waveform of the vibration signal to determine the target area where the optical cable is coiled includes: when the first waveform in the waveform of the vibration signal is located on the left side of the second waveform, determining the sampling point corresponding to the vibration signal as the first target sampling point; when the first waveform in the waveform of the vibration signal is located on the right side of the second waveform, determining the sampling point corresponding to the vibration signal as the second target sampling point; and determining the area between the first target sampling point and the second target sampling point as the target area where the optical cable is coiled.

[0051] The processor can obtain a vibration signal of a sampling point. When the waveform corresponding to the vibration signal of the sampling point obtained by the processor includes a first waveform and a second waveform, and the first waveform is located on the left side of the second waveform, the sampling point corresponding to the vibration signal is determined as a first target sampling point. When the waveform of the vibration signal includes a first waveform and a second waveform, and the first waveform is located on the right side of the second waveform, the processor can determine the sampling point corresponding to the vibration signal as a second target sampling point. The area between the first target sampling point and the second target sampling point is determined as the target area where the cable is coiled.

[0052] In one embodiment, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a first optical cable length between the first optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point; determining a second optical cable length between the second optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point; and determining the difference between the first optical cable length and the second optical cable length as the optical cable mileage of the target area where the optical cable is coiled.

[0053] After the processor determines the first target sampling point and the second target sampling point, the processor can obtain the waveform of the vibration signal corresponding to the first target sampling point, and analyze the waveform of the vibration signal corresponding to the first target sampling point to determine the optical cable positions corresponding to the first waveform and the second waveform, thereby determining the first optical cable length between the first optical cable position and the position where the positioning device is located according to the optical cable positions corresponding to the first waveform and the second waveform. The processor can obtain the waveform of the vibration signal corresponding to the second target sampling point, and analyze the waveform of the vibration signal corresponding to the first target sampling point to determine the optical cable positions corresponding to the first waveform and the second waveform, thereby determining the second optical cable length between the second optical cable position and the position where the positioning device is located according to the optical cable positions corresponding to the first waveform and the second waveform. After the processor determines the first optical cable length and the second optical cable length, the processor can determine the difference between the first optical cable length and the second optical cable length as the optical cable mileage of the target area where the optical cable is coiled.

[0054] In one embodiment, determining the first optical cable length between the first optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point includes: obtaining the first waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform; when it is determined that the first waveform and the second waveform do not overlap and the first waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the first optical cable position; and determining the optical cable length between the position of the positioning device and the first optical cable position as the first optical cable length.

[0055] After the processor obtains the waveform of the vibration signal corresponding to the first target sampling point, that is, when the obtained waveform includes the first waveform and the second waveform, and the first waveform is located on the left side of the second waveform, the processor can obtain the first waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform. When it is determined that the first waveform and the second waveform do not overlap, and the first waveform distance is less than the preset distance set by the processor, the processor can determine the optical cable position corresponding to the central peak of the first waveform, and determine the optical cable position corresponding to the central peak of the first waveform as the first optical cable position. After the processor determines the first optical cable position, the processor can determine the optical cable length between the position of the positioning device and the first optical cable position as the first optical cable length.

[0056] In one embodiment, determining the second optical cable length between the second optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point includes: obtaining the second waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform; when it is determined that the first waveform and the second waveform do not overlap and the second waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the second optical cable position; and determining the optical cable length between the position of the positioning device and the second optical cable position as the second optical cable length.

[0057] After the processor obtains the waveform of the vibration signal corresponding to the second target sampling point, that is, when the obtained waveform includes the first waveform and the second waveform, and the first waveform is located on the right side of the second waveform, the processor can obtain the second waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform. When it is determined that the first waveform and the second waveform do not overlap, and the second waveform distance is less than the preset distance set by the processor, the processor can determine the optical cable position corresponding to the central peak of the first waveform, and determine the optical cable position corresponding to the central peak of the first waveform as the second optical cable position. After the processor determines the second optical cable position, the processor can determine the optical cable length between the position of the positioning device and the second optical cable position as the second optical cable length.

[0058] In one embodiment, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a first ground position corresponding to the first optical cable position based on the first optical cable position; determining a second ground position corresponding to the second optical cable position based on the second optical cable position; and determining the distance between the first ground position and the second ground position as the ground distance of the target area.

[0059] After the processor determines the first optical cable position and the second optical cable position, the processor can determine the first ground position corresponding to the first optical cable position based on the first optical cable position, and determine the second ground position corresponding to the second optical cable position based on the second optical cable position. After determining the first ground position and the second ground position, the processor can determine the distance between the first ground position and the second ground position as the ground distance of the target area.

[0060] In one embodiment, determining the coiled length of the optical cable according to the cable mileage and the ground distance includes: determining the difference between the cable mileage and the ground distance, and determining the difference as the coiled length of the optical cable.

[0061] After determining the first optical cable length and the second optical cable length, the processor may determine the difference between the first optical cable length and the second optical cable length as the optical cable mileage of the target area where the optical cable is coiled. After determining the first ground position and the second ground position, the processor may determine the distance between the first ground position and the second ground position as the ground distance of the target area. The processor may determine the difference between the optical cable mileage in the target area and the ground distance in the target area, and determine the obtained difference as the coiled length of the optical cable.

[0062] In one embodiment, analyzing the waveform of the vibration signal to determine the target area where the optical cable is coiled includes: when the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms, determining the sampling point corresponding to the vibration signal as the third target sampling point; when the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms, determining the sampling point corresponding to the vibration signal as the fourth target sampling point; and determining the area between the third target sampling point and the fourth target sampling point as the target area where the optical cable is coiled.

[0063] Since the optical cable changes with the ground terrain, sometimes the distance between two optical cables is close, and the waveform of the vibration signal of the corresponding sampling point will also change. The processor can obtain the waveform of the vibration signal of the sampling point. When the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms, the processor can determine the sampling point corresponding to the vibration signal as the third target sampling point. When the waveform of the vibration signal of the sampling point obtained by the processor includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms, the processor can determine the sampling point corresponding to the vibration signal as the fourth target sampling point. After determining the third target sampling point and the fourth target sampling point, the processor can determine the area between the third target sampling point and the fourth target sampling point as the target area where the optical cable is coiled.

[0064] In one embodiment, the method further includes: setting a plurality of sampling points in the target area, sequentially acquiring vibration signals of the sampling points, and when the waveform of the vibration signal includes a third waveform and two second waveforms, and the second waveforms are respectively located on both sides of the third waveform, determining the sampling point corresponding to the vibration signal as a fifth target sampling point; determining the area between the third target sampling point and the fifth target sampling point as a first target area; and determining the area between the fourth target sampling point and the fifth target sampling point as a second target area.

[0065] After the processor determines the target area between the third target sampling point and the fourth target sampling point, the processor may set a plurality of sampling points in the target area, and sequentially obtain vibration signals of the sampling points. When the waveform of the vibration signal of the obtained sampling points includes a third waveform and two second waveforms, and the second waveforms are respectively located on both sides of the third waveform, the processor may determine the sampling point corresponding to the vibration signal as the fifth target sampling point. The peak of the third waveform is higher than that of the second waveform and the third waveform appears earlier than the second waveform.

[0066] After the processor determines the fifth target sampling point, the processor may determine the target area between the third target sampling point and the fifth target sampling point as the first target area, and determine the area between the fourth target sampling point and the fifth target sampling point as the second target area.

[0067] In one embodiment, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining the third optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the third target sampling point; determining the fourth optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the fourth target sampling point; determining the position of the optical cable corresponding to the central peak of the third waveform in the waveform corresponding to the fifth target sampling point as the fifth optical cable position; determining the optical cable length between the third optical cable position and the fifth optical cable position as the first optical cable mileage of the first target area; and determining the optical cable length between the third optical cable position and the fifth optical cable position as the second optical cable mileage of the second target area.

[0068] After determining the third target sampling point, the processor can obtain the waveform of the vibration signal corresponding to the third target sampling point, and determine the third optical cable position according to the optical cable positions in the waveform of the vibration signal that correspond to the first waveform and the second waveform, respectively. Similarly, the processor can obtain the waveform of the vibration signal corresponding to the fourth target sampling point, and determine the fourth optical cable position according to the optical cable positions in the waveform of the vibration signal that correspond to the first waveform and the second waveform, respectively.

[0069] The processor can obtain the waveform of the vibration signal corresponding to the fifth target sampling point, the waveform of the vibration signal corresponding to the fifth target sampling point includes a third waveform and two second waveforms, and the two second waveforms are located on both sides of the third waveform. The processor can determine the optical cable position corresponding to the central peak of the third waveform as the fifth optical cable position.

[0070] After determining the third optical cable position, the fourth optical cable position, and the fifth optical cable position, the processor can determine the optical cable length between the third optical cable position and the fifth optical cable position as the first optical cable mileage of the first target area, and determine the optical cable length between the fourth optical cable position and the fifth optical cable position as the second optical cable mileage of the second target area.

[0071] In one embodiment, determining the third optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the third target sampling point includes: obtaining the third waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform on the left side of the second waveform; when it is determined that the first waveform does not overlap with the second waveform on the left side, and the third waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the third optical cable position.

[0072] When the processor determines the third optical cable position according to the third target sampling point, the processor can obtain the waveform of the vibration signal corresponding to the third target sampling point, and the waveform of the vibration signal corresponding to the third target sampling point includes a first waveform and two second waveforms, and the first waveform is located on the left side of the second waveform. The third waveform distance between the waveform position corresponding to the rightmost end of the first waveform in the waveform of the vibration signal corresponding to the third target sampling point and the waveform position corresponding to the leftmost end of the second waveform on the left side of the two second waveforms is obtained. When it is determined that the first waveform does not overlap with the second waveform on the left side of the two second waveforms, and the third waveform distance is less than the preset distance set by the processor, the processor can determine that the optical cable position corresponding to the central peak of the first waveform is the third optical cable position.

[0073] In one embodiment, determining the fourth optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform respectively in the waveform corresponding to the fourth target sampling point includes: obtaining the fourth waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform on the right side of the second waveform; when it is determined that the first waveform and the second waveform on the right side do not overlap, and the fourth waveform distance is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the fourth optical cable position.

[0074] When the processor determines the fourth optical cable position according to the fourth target sampling point, the processor can obtain the waveform of the vibration signal corresponding to the fourth target sampling point, and the waveform of the vibration signal corresponding to the fourth target sampling point includes a first waveform and two second waveforms, and the first waveform is located on the right side of the second waveform. The fourth waveform distance between the waveform position corresponding to the leftmost end of the first waveform in the waveform of the vibration signal corresponding to the fourth target sampling point and the waveform position corresponding to the rightmost end of the second waveform on the right side of the two second waveforms is obtained. When it is determined that the first waveform does not overlap with the second waveform on the right side of the two second waveforms, and the fourth waveform distance is less than the preset distance set by the processor, the processor can determine that the optical cable position corresponding to the midline peak of the first waveform is the fourth optical cable position.

[0075] In one embodiment, determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a third ground position corresponding to the third optical cable position based on the third optical cable position; determining a fourth ground position corresponding to the fourth optical cable position based on the fourth optical cable position; determining a fifth ground position corresponding to the fifth optical cable position based on the fifth optical cable position; determining the distance between the third ground position and the fifth ground position as the first ground distance of the first target area; and determining the distance between the fourth ground position and the fifth ground position as the second ground distance of the second target area.

[0076] After the processor determines the third optical cable position, the fourth optical cable position, and the fifth optical cable position, the corresponding ground position may be determined according to the third optical cable position, the fourth optical cable position, and the fifth optical cable position. The processor may determine a third ground position corresponding to the third optical cable position according to the third optical cable position, determine a fourth ground position corresponding to the fourth optical cable position according to the fourth optical cable position, and determine a fifth ground position corresponding to the fifth optical cable position according to the fifth optical cable position.

[0077] After the processor determines the third ground position, the fourth ground position and the fifth ground position, the distance between the third ground position and the fifth ground position can be determined as the first ground distance of the first target area, and the distance between the fourth ground position and the fifth ground position can be determined as the second ground distance.

[0078] In one embodiment, determining the coiled length of the optical cable based on the optical cable mileage and the ground distance includes: determining a first difference between the first optical cable mileage and the first ground distance, and determining the first difference as the coiled length of the optical cable in the first target area; determining a second difference between the second optical cable mileage and the second ground distance, and determining the second difference as the coiled length of the optical cable in the second target area.

[0079] After obtaining the first optical cable mileage and the first ground distance in the first target area where the optical cable is coiled, the processor can determine a first difference between the first optical cable mileage and the first ground distance, and determine the first difference as the coiled length of the optical cable in the first target area. Similarly, after obtaining the second optical cable mileage and the second ground distance in the second target area where the optical cable is coiled, the processor can determine a second difference between the second optical cable mileage and the second ground distance, and determine the second difference as the coiled length of the optical cable in the second target area.

[0080] In one embodiment, a processor is provided, configured to perform any of the above methods for determining the coiled length of an optical cable.

[0081] The positioning device of the optical cable coiling can be connected to the buried optical cable through the circulator in the positioning device, and obtain the vibration signal of the buried optical cable, and determine the corresponding waveform according to the received vibration signal. A plurality of sampling points can be set above the buried optical cable, and the processor can set the knocking frequency, and the obtained vibration signal should correspond to the knocking frequency and meet the preset frequency. By knocking the sampling points in turn, the processor can obtain the vibration signal of each sampling point. When the frequency of the obtained vibration signal meets the preset frequency, the processor can determine that the obtained vibration signal is a valid vibration signal, thereby obtaining the waveform of the vibration signal. After the processor obtains the waveform of the vibration signal, it can analyze the waveform of the obtained vibration signal to determine the target area where the optical cable is coiled, and determine the optical cable mileage of the target area and the ground distance of the target area. After the processor determines the optical cable mileage and the ground distance of the target area where the cable is coiled, the cable coiling length can be determined according to the optical cable mileage and the ground distance, wherein the cable coiling length refers to the length of the optical cable stored on the cable coil.

[0082] The processor obtains a vibration signal of a sampling point. When the waveform corresponding to the vibration signal of the sampling point obtained by the processor includes a first waveform and a second waveform, and the first waveform is located on the left side of the second waveform, the sampling point corresponding to the vibration signal is determined as the first target sampling point. When the waveform of the vibration signal includes a first waveform and a second waveform, and the first waveform is located on the right side of the second waveform, the processor may determine the sampling point corresponding to the vibration signal as the second target sampling point. After determining the first target sampling point and the second target sampling point, the processor may determine the area between the first target sampling point and the second target sampling point as the target area where the optical cable is coiled. That is to say, within the determined target area, a coiled cable is included, and the processor may determine the coiled length of the optical cable on the coiled cable for the coiled cable.

[0083] After acquiring the waveform of the vibration signal corresponding to the first target sampling point, the processor may analyze the waveform of the vibration signal corresponding to the first target sampling point, wherein the waveform corresponding to the first target sampling point includes a first waveform and a second waveform, and the first waveform is located on the left side of the second waveform. The processor may acquire the first waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform, and when it is determined that the first waveform and the second waveform do not overlap, and the first waveform distance is less than a preset distance set by the processor, the processor may determine the optical cable position corresponding to the central wave crest of the first waveform, and determine the optical cable position corresponding to the central wave crest of the first waveform as the first optical cable position, and determine the ground position corresponding to the first optical cable position as the first ground position.

[0084] like Figure 3 As shown, assuming Figure 3 The waveform of the vibration signal of the first target sampling point is shown, and the waveform includes a first waveform a and a second waveform b, and the first waveform a is located on the left side of the second waveform b. The processor can determine the waveform position c corresponding to the rightmost end of the first waveform a and the waveform position e corresponding to the leftmost end of the second waveform b, and the first waveform distance between the waveform position c and the waveform position e is L1. When the processor determines that the first waveform a and the second waveform b do not overlap, and the first waveform distance L1 between the waveform position c and the waveform position e is less than the preset distance set by the processor, for example, assuming that the processor sets the preset distance to 20 meters, that is, when the first waveform distance L1 is less than 20 meters, and the first waveform a and the second waveform b do not overlap, the processor can determine that the optical cable position corresponding to the central wave peak of the first waveform a is the first optical cable position d, and the ground position corresponding to the first optical cable position d is determined as the first ground position h.

[0085] After acquiring the waveform of the vibration signal corresponding to the second target sampling point, the processor can analyze the waveform of the vibration signal corresponding to the second target sampling point. The waveform corresponding to the second target sampling point includes a first waveform and a second waveform, and the first waveform is located on the right side of the second waveform. The processor can obtain the second waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform. When it is determined that the first waveform and the second waveform do not overlap, and the second waveform distance is less than the preset distance set by the processor, the processor can determine the optical cable position corresponding to the central peak of the first waveform, and determine the optical cable position corresponding to the central peak of the first waveform as the second optical cable position, and determine the ground position corresponding to the second optical cable position as the second ground position.

[0086] like Figure 4 As shown, assuming Figure 4The waveform of the vibration signal of the first target sampling point is shown, and the waveform includes a first waveform a and a second waveform b, and the first waveform a is located on the right side of the second waveform b. The processor can determine the waveform position j corresponding to the leftmost end of the first waveform a and the waveform position f corresponding to the rightmost end of the second waveform b, and the second waveform distance between the waveform position j and the waveform position f is L2. When the processor determines that the first waveform a and the second waveform b do not overlap, and the second waveform distance L2 between the waveform position j and the waveform position f is less than the preset distance set by the processor, for example, assuming that the processor sets the preset distance to 20 meters, that is, when the second waveform distance L2 is less than 20 meters, and the first waveform a and the second waveform b do not overlap, the processor can determine that the optical cable position corresponding to the central wave peak of the first waveform is the second optical cable position g, and determine the ground position corresponding to the second optical cable position g as the second ground position i.

[0087] After determining the first optical cable position and the second optical cable position, the processor may determine the distance between the position of the positioning device and the first optical cable position as the first optical cable length, determine the distance between the position of the positioning device and the second optical cable position as the second optical cable length, and determine the difference between the second optical cable length and the first optical cable length as the optical cable mileage of the target area where the optical cable is coiled. After determining the first ground position and the second ground position, the processor may determine the distance between the first ground position and the second ground position as the ground distance of the target area where the optical cable is coiled. The processor may subtract the ground distance in the target area from the optical cable mileage in the target area to obtain the coiled length of the optical cable in the target area.

[0088] like Figure 5 As shown, Figure 5 Just to show the distance between the cable locations more clearly, Figure 3 and Figure 4 Fusion together, can not be obtained in practical applications Figure 5 The waveform shown. Figure 5Including a first waveform a and a second waveform b, the processor can determine the first optical cable position d corresponding to the central wave crest of the first waveform a when the first waveform a is located on the left side of the second waveform b. Assuming that the position of the positioning device is k, the processor can determine the first optical cable length D1 between the position k of the positioning device and the first optical cable position d. The processor can determine the second optical cable position g corresponding to the central wave crest of the first waveform a when the first waveform a is located on the right side of the second waveform b. The processor can determine the first optical cable length D2 between the position k of the positioning device and the second optical cable position g. The processor can obtain the difference between the first optical cable length D1 and the second optical cable length D2, and determine the difference between the second optical cable length D2 and the first optical cable length D1 as the optical cable mileage M of the target area where the optical cable is coiled. The processor can determine the distance between the first ground position h and the second ground position i as the ground distance X of the target area where the optical cable is coiled. The processor can subtract the ground distance X in the target area from the optical cable mileage M in the target area to obtain the coiling length of the optical cable in the target area. Specifically, for example, assuming that the processor determines that the cable mileage of the target area where the optical cable is coiled is 150 meters and the ground distance of the target area where the optical cable is coiled is 100 meters, the coiled length of the optical cable in the target area is 50 meters.

[0089] The processor obtains the vibration signal of the sampling point. When the waveform corresponding to the vibration signal of the sampling point obtained by the processor includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms, the sampling point corresponding to the vibration signal is determined as the third target sampling point. When the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms, the processor can determine the sampling point corresponding to the vibration signal as the fourth target sampling point. After determining the third target sampling point and the fourth target sampling point, the processor can determine the area between the third target sampling point and the fourth target sampling point as the target area where the cable is located. When the processor determines the target area according to the third target sampling point and the fourth target sampling point, the processor can set a plurality of sampling points in the target area, and sequentially obtain the vibration signals of the sampling points in the target area. When the waveform of the vibration signal of the sampling point obtained includes a third waveform and two second waveforms, and the second waveforms are respectively located on both sides of the third waveform, the processor can determine the sampling point corresponding to the vibration signal as the fifth target sampling point. The peak of the third waveform is higher than that of the second waveform and the time when the third waveform appears is earlier than that of the second waveform. After the processor determines the fifth target sampling point, the processor may determine the target area between the third target sampling point and the fifth target sampling point as the first target area, and determine the area between the fourth target sampling point and the fifth target sampling point as the second target area.

[0090] After obtaining the waveform of the vibration signal corresponding to the third target sampling point, the processor can analyze the waveform of the vibration signal corresponding to the third target sampling point. The waveform corresponding to the third target sampling point includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms. The processor can obtain the third waveform distance between the waveform position corresponding to the rightmost end of the first waveform and the waveform position corresponding to the leftmost end of the second waveform on the left side of the two second waveforms. When it is determined that the first waveform does not overlap with the second waveform on the left side of the two second waveforms, and the third waveform distance is less than the preset distance set by the processor, the processor can determine that the optical cable position corresponding to the central peak of the first waveform is the third optical cable position, and determine the ground position corresponding to the third optical cable position as the third ground position.

[0091] like Figure 6 As shown, assuming Figure 6 The waveform of the vibration signal of the third target sampling point is shown, and the waveform includes a first waveform a and two second waveforms b, and the first waveform a is located on the left side of the two second waveforms b. The processor can determine the waveform position o corresponding to the rightmost end of the first waveform a and the waveform position p corresponding to the leftmost end of the second waveform b on the left, and the third waveform distance between the waveform position o and the waveform position p is L3. When the processor determines that the first waveform a does not overlap with the second waveform b on the left, and the third waveform distance L3 between the waveform position o and the waveform position p is less than the preset distance set by the processor, for example, assuming that the processor sets the preset distance to 20 meters, that is, when the third waveform distance L3 is less than 20 meters, and the first waveform a does not overlap with the second waveform b, the processor can determine that the optical cable position corresponding to the central wave peak of the first waveform a is the third optical cable position q, and the ground position corresponding to the third optical cable position d is determined as the third ground position r.

[0092] After obtaining the waveform of the vibration signal corresponding to the fourth target sampling point, the processor can analyze the waveform of the vibration signal corresponding to the fourth target sampling point. The waveform corresponding to the fourth target sampling point includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms. The processor can obtain the fourth waveform distance between the waveform position corresponding to the leftmost end of the first waveform and the waveform position corresponding to the rightmost end of the second waveform on the right side of the two second waveforms. When it is determined that the first waveform does not overlap with the second waveform on the right side of the two second waveforms, and the fourth waveform distance is less than the preset distance set by the processor, the processor can determine that the optical cable position corresponding to the central peak of the first waveform is the fourth optical cable position, and determine the ground position corresponding to the fourth optical cable position as the fourth ground position.

[0093] like Figure 7 As shown, assuming Figure 7The waveform of the vibration signal of the fourth target sampling point is shown, and the waveform includes a first waveform a and two second waveforms b, and the first waveform a is located on the right side of the two second waveforms b. The processor can determine the waveform position s corresponding to the leftmost end of the first waveform a and the waveform position t corresponding to the rightmost end of the second waveform b on the right side, and the fourth waveform distance between the waveform position s and the waveform position t is L4. When the processor determines that the first waveform a and the second waveform b on the right side do not overlap, and the fourth waveform distance L4 between the waveform position s and the waveform position t is less than the preset distance set by the processor, for example, assuming that the processor sets the preset distance to 20 meters, that is, when the fourth waveform distance L4 is less than 20 meters, and the first waveform a and the second waveform b do not overlap, the processor can determine that the optical cable position corresponding to the central wave peak of the first waveform a is the third optical cable position u, and the ground position corresponding to the fourth optical cable position u is determined as the fourth ground position v.

[0094] After acquiring the waveform of the vibration signal corresponding to the fifth target sampling point, the processor can determine the fifth optical cable position and the fifth ground position according to the waveform of the vibration signal corresponding to the fifth target sampling point. The waveform of the vibration signal corresponding to the fifth target sampling point includes a third waveform and two second waveforms, and the two second waveforms are located on both sides of the third waveform. When the processor determines that the peak of the third waveform is higher than the second waveform, and the time when the third waveform appears is earlier than the second waveform, the processor can determine the optical cable position corresponding to the central peak of the third waveform as the fifth optical cable position, and determine the ground position corresponding to the fifth optical cable position as the fifth ground position.

[0095] like Figure 8 As shown, assuming Figure 8 The waveform of the vibration signal of the fifth target sampling point is shown, and the waveform includes two second waveforms b and the first third waveform w, and the two second waveforms b are respectively located on both sides of the third waveform w. When it is determined that the peak of the third waveform w is higher than the second waveform b and the appearance time is earlier than the second waveform b, the processor can determine the position of the optical cable corresponding to the central peak of the third waveform w as the fifth optical cable position y, and determine the ground position corresponding to the fifth optical cable position y as the fifth ground position z.

[0096] After the processor determines the third optical cable position, the fourth optical cable position, and the fifth optical cable position, the optical cable length between the third optical cable position and the fifth optical cable position can be determined as the first optical cable mileage of the first target area, and the optical cable length between the third optical cable position and the fifth optical cable position can be determined as the second optical cable mileage of the second target area. After the processor determines the third ground position, the fourth ground position, and the fifth ground position, the distance between the third ground position and the fifth ground position can be determined as the first ground distance of the first target area, and the distance between the fourth ground position and the fifth ground position can be determined as the second ground distance. After the processor obtains the first optical cable mileage and the first ground distance in the first target area where the cable is coiled, the processor can determine the first difference between the first optical cable mileage and the first ground distance, and determine the first difference as the coiled length of the optical cable in the first target area. Similarly, after the processor obtains the second optical cable mileage and the second ground distance in the second target area where the cable is coiled, the processor can determine the second difference between the second optical cable mileage and the second ground distance, and determine the second difference as the coiled length of the optical cable in the second target area.

[0097] like Fig. 9 As shown, Fig. 9 Just to show the distance between the cable locations more clearly, Figure 6 , Figure 7 and Figure 8 In practical applications, there is no Fig. 9 The waveform shown. Fig. 9Including a first waveform a, a second waveform b and a third waveform w, the processor can determine the third optical cable position q corresponding to the central wave crest of the first waveform a when the first waveform a is located on the left side of the two second waveforms b. The processor can determine the fourth optical cable position u corresponding to the central wave crest of the first waveform a when the first waveform a is located on the right side of the two second waveforms b. The processor can determine the position of the optical cable corresponding to the central wave crest of the third waveform w as the fifth optical cable position y when the second waveform b is located on both sides of the third waveform w and it is determined that the wave crest of the third waveform w is higher than the second waveform b and the appearance time is earlier than the second waveform b. The processor can determine the optical cable length between the third optical cable position q and the fifth optical cable position y as the first optical cable mileage M1 of the first target area, and determine the optical cable length between the fourth optical cable position u and the fifth optical cable position y as the second optical cable mileage M2 of the second target area. The processor can determine the distance between the third ground position r and the fifth ground position z as the first ground distance N1 of the first target area, and determine the distance between the fourth ground position v and the fifth ground position z as the second ground distance N2. After obtaining the first optical cable mileage M1 and the first ground distance N1 in the first target area where the optical cable is coiled, the processor can determine a first difference between the first optical cable mileage M1 and the first ground distance N1, and determine the first difference as the coiled length of the optical cable in the first target area. Similarly, after obtaining the second optical cable mileage M2 and the second ground distance N2 in the second target area where the optical cable is coiled, the processor can determine a second difference between the second optical cable mileage M2 and the second ground distance N2, and determine the second difference as the coiled length of the optical cable in the second target area.

[0098] 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 locate the ground area where the optical cable is coiled according to the waveform of the vibration signal, and analyze the waveform of the vibration signal for the area, so as to determine the distance between the optical cable and the actual ground, and thus determine the length of the optical cable on the coil according to the distance between the optical cable and the ground. Through the above solution, the operator can quickly and accurately measure the length of the buried optical cable coil without excavation, reducing the consumption of manpower, material resources, financial resources and time.

[0099] 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 coiled length of an optical cable is implemented.

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

[0101] 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.

[0102] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10 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 positioning method for optical cable winding is implemented. The display screen A04 of the computer device can be a liquid crystal display or an electronic ink display, 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.

[0103] Those skilled in the art will understand that Fig.10 The 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] 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.

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

[0109] 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.

[0110] 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.

[0111] 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.

[0112] 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 coiled length of an optical cable, characterized in that: A cable coiling positioning device is arranged at one end of the cable, and a plurality of sampling points are arranged on the ground above the cable. The method comprises: Each sampling point is tapped in turn at a preset frequency to obtain a vibration signal of each sampling point; When the frequency of the vibration signal meets the preset frequency, obtaining the waveform of the vibration signal; Analyzing the waveform of the vibration signal to determine the target area where the cable is coiled, and determining the cable mileage of the target area and the ground distance of the target area; Determine the coiled length of the optical cable according to the mileage of the optical cable and the ground distance; The waveform of the vibration signal is analyzed to determine the target area where the cable winding of the optical cable is located, including: In a case where the waveform of the vibration signal includes a first waveform and a second waveform, and the first waveform is located on the left side of the second waveform, determining a sampling point corresponding to the vibration signal as a first target sampling point; In a case where the waveform of the vibration signal includes the first waveform and the second waveform, and the first waveform of the vibration signal is located on the right side of the second waveform, determining a sampling point corresponding to the vibration signal as a second target sampling point; An area between the first target sampling point and the second target sampling point is determined as a target area where the optical cable is coiled.

2. The method for determining the coiled length of an optical cable according to claim 1, characterized in that: Determining the optical cable mileage of the target area and the ground distance of the target area includes: Determine the length of the first optical cable between the first optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point; Determine the length of the second optical cable between the second optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point; The difference between the first optical cable length and the second optical cable length is determined as the optical cable mileage of the target area where the optical cable is coiled.

3. The method for determining the coiled length of an optical cable according to claim 2, characterized in that: The step of determining the first optical cable length between the first optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the first target sampling point respectively comprises: Obtaining a first waveform distance between a waveform position corresponding to the rightmost end of the first waveform and a waveform position corresponding to the leftmost end of the second waveform; When it is determined that the first waveform and the second waveform do not overlap, and the distance between the first waveforms is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the first optical cable position; The length of the optical cable between the position of the positioning device and the first optical cable position is determined as the first optical cable length.

4. The method for determining the coiled length of an optical cable according to claim 2, characterized in that: The step of determining the second optical cable length between the second optical cable position and the positioning device according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the second target sampling point respectively comprises: Obtaining a second waveform distance between a waveform position corresponding to the leftmost end of the first waveform and a waveform position corresponding to the rightmost end of the second waveform; When it is determined that the first waveform and the second waveform do not overlap, and the distance between the second waveforms is less than a preset distance, determining the optical cable position corresponding to the central peak of the first waveform as the second optical cable position; The length of the optical cable between the position of the positioning device and the position of the second optical cable is determined as the second optical cable length.

5. The method for determining the coiled length of an optical cable according to claim 4, characterized in that: Determining the optical cable mileage of the target area and the ground distance of the target area includes: determining a first ground position corresponding to the first optical cable position according to the first optical cable position; determining a second ground position corresponding to the second optical cable position according to the second optical cable position; The distance between the first ground position and the second ground position is determined as the ground distance of the target area.

6. The method for determining the coiled length of an optical cable according to claim 5, characterized in that: Determining the coiled length of the optical cable according to the optical cable mileage and the ground distance comprises: The difference between the optical cable mileage and the ground distance is determined, and the difference is determined as the coiled length of the optical cable.

7. The method for determining the coiled length of an optical cable according to claim 1, characterized in that: The waveform of the vibration signal is analyzed to determine that the target area where the cable is coiled includes: In a case where the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the left side of the two second waveforms, determining a sampling point corresponding to the vibration signal as a third target sampling point; In a case where the waveform of the vibration signal includes a first waveform and two second waveforms, and the first waveform is located on the right side of the two second waveforms, determining a sampling point corresponding to the vibration signal as a fourth target sampling point; An area between the third target sampling point and the fourth target sampling point is determined as a target area where the optical cable is coiled.

8. The method for determining the coiled length of an optical cable according to claim 7, characterized in that: The method further comprises: A plurality of sampling points are set in the target area, and vibration signals of the sampling points are sequentially acquired. When the waveform of the vibration signal includes a third waveform and two second waveforms, and the second waveforms are respectively located on both sides of the third waveform, the sampling point corresponding to the vibration signal is determined as the fifth target sampling point; Determine an area between the third target sampling point and the fifth target sampling point as a first target area; An area between the fourth target sampling point and the fifth target sampling point is determined as a second target area.

9. The method for determining the coiled length of an optical cable according to claim 8, characterized in that: Determining the optical cable mileage of the target area and the ground distance of the target area includes: Determine a third optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the third target sampling point; Determine a fourth optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the fourth target sampling point; Determine the position of the optical cable corresponding to the central peak of the third waveform in the waveform corresponding to the fifth target sampling point as the fifth optical cable position; Determine the length of the optical cable between the third optical cable position and the fifth optical cable position as the first optical cable mileage of the first target area; The length of the optical cable between the third optical cable position and the fifth optical cable position is determined as a second optical cable mileage of the second target area.

10. The method for determining the coiled length of an optical cable according to claim 9, characterized in that: Determining the third optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the third target sampling point includes: Obtaining a third waveform distance between a waveform position corresponding to the rightmost end of the first waveform and a waveform position corresponding to the leftmost end of a second waveform on the left side of the second waveform; When it is determined that the first waveform does not overlap with the second waveform on the left side, and the third waveform distance is less than a preset distance, the optical cable position corresponding to the central peak of the first waveform is determined as the third optical cable position.

11. The method for determining the coiled length of an optical cable according to claim 9, characterized in that: Determining the fourth optical cable position according to the optical cable positions corresponding to the first waveform and the second waveform in the waveform corresponding to the fourth target sampling point includes: Obtaining a fourth waveform distance between a waveform position corresponding to the leftmost end of the first waveform and a waveform position corresponding to the rightmost end of the second waveform on the right side of the second waveform; When it is determined that the first waveform does not overlap with the second waveform on the right side, and the fourth waveform distance is less than a preset distance, the optical cable position corresponding to the central peak of the first waveform is determined as the fourth optical cable position.

12. The method for determining the coiled length of an optical cable according to claim 9, characterized in that: Determining the optical cable mileage of the target area and the ground distance of the target area includes: Determining a third ground position corresponding to the third optical cable position according to the third optical cable position; Determining a fourth ground position corresponding to the fourth optical cable position according to the fourth optical cable position; determining a fifth ground position corresponding to the fifth optical cable position according to the fifth optical cable position; determining a distance between the third ground position and the fifth ground position as a first ground distance of the first target area; The distance between the fourth ground position and the fifth ground position is determined as a second ground distance of the second target area.

13. The method for determining the coiled length of an optical cable according to claim 12, characterized in that: Determining the coiled length of the optical cable according to the optical cable mileage and the ground distance comprises: Determine a first difference between the first optical cable mileage and the first ground distance, and determine the first difference as the coiled length of the optical cable in the first target area; A second difference between the second optical cable mileage and the second ground distance is determined, and the second difference is determined as the coiled length of the optical cable in the second target area.

14. A processor, characterized in that: The method is configured to perform the method for determining the coiled length of an optical cable according to any one of claims 1 to 13.

15. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the processor is configured to perform the method for determining the coiled length of an optical cable according to any one of claims 1 to 13.