Optical fiber double-end detection method, electronic device and computer storage medium

By detecting the first and second curves generated at both ends of the optical fiber, the length of the candidate optical fiber is determined based on the event location, and the overlap rate is calculated. This solves the problem of large splicing error in bidirectional OTDR detection technology and improves the accuracy and efficiency of optical fiber detection.

CN116054933BActive Publication Date: 2026-02-24ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211499640.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-28
Publication Date
2026-02-24
Estimated Expiration
2042-11-28

AI Technical Summary

Technical Problem

In existing bidirectional OTDR testing technologies, the splicing position is usually determined manually when splicing two curves, which leads to large errors and long processing time, making it unsuitable for widespread use.

Method used

By performing event detection at both ends of the optical fiber, a first curve and a second curve are generated. The candidate fiber length is determined based on the event location, and the position overlap rate is calculated. The target fiber length is then selected for curve splicing, thereby improving the splicing accuracy.

Benefits of technology

It improves the accuracy and efficiency of fiber optic testing, reduces splicing errors and time, and is suitable for long-distance fiber optic measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116054933B_ABST
    Figure CN116054933B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a kind of optical fiber double-end detection method, electronic equipment and computer storage medium, wherein optical fiber double-end detection method includes: the detection of event is carried out respectively in the two ends of optical fiber, obtains first curve and second curve;According to the position of the multiple first events included in first curve and the position of the multiple second events included in second curve, determine several candidate optical fiber lengths;For each candidate optical fiber length, determine the candidate coincidence area of first curve and second curve under the length, and calculate the position coincidence rate corresponding to candidate coincidence area;According to position coincidence rate, determine target optical fiber length;According to target optical fiber length, splice first curve and second curve, obtain the detection curve corresponding to optical fiber.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communication, and in particular to a method for detecting both ends of an optical fiber, an electronic device, and a computer storage medium. BACKGROUND

[0002] An optical time-domain reflectometer (OTDR) obtains physical parameters such as attenuation, joint loss, and joint reflection along an optical fiber by injecting an optical pulse into the optical fiber to be measured and measuring the intensity of backscattered Rayleigh light and the intensity of Fresnel reflected light returned in the optical fiber. The OTDR is an important tool for optical cable link maintenance and fault positioning. A dynamic range is usually used as an index for measuring the performance of the OTDR. The greater the dynamic range, the longer the optical cable distance that can be measured by the OTDR. For a given OTDR device, the dynamic range is directly proportional to the pulse power, the pulse width, and the measurement time. However, the pulse power cannot be infinitely increased due to the nonlinear effect and the blind zone phenomenon.

[0003] In order to improve the dynamic range of the OTDR and achieve the purpose of measuring long-distance optical fibers, a bidirectional OTDR detection technology has been proposed. This technology measures two curves by equipping OTDR devices at both ends of the optical cable to be measured, and then complements and splices the two curves to effectively overcome the weakness of weak tail-end signals and poor signal-to-noise ratio of the single-end OTDR measurement curve.

[0004] However, in the current bidirectional OTDR detection technology, when splicing the two curves, the splicing position is usually determined manually, which has a large splicing error and takes a long time, and is not conducive to the widespread use of the bidirectional OTDR detection technology. SUMMARY

[0005] Therefore, embodiments of the present application provide a bidirectional detection scheme for an optical fiber to at least partially solve the above problems.

[0006] The first aspect provided by the embodiments of the present application provides a method for detecting both ends of an optical fiber, comprising: performing event detection at both ends of the optical fiber to obtain a first curve and a second curve; determining a plurality of candidate optical fiber lengths according to the positions of a plurality of first events included in the first curve and the positions of a plurality of second events included in the second curve; for each candidate optical fiber length, determining a candidate overlapping region of the first curve and the second curve at the length, and calculating a position coincidence rate corresponding to the candidate overlapping region; determining a target optical fiber length from the plurality of candidate optical fiber lengths according to the position coincidence rates corresponding to the plurality of candidate optical fiber lengths, respectively; and splicing the first curve and the second curve according to the target optical fiber length to obtain a detection curve corresponding to the optical fiber.

[0007] The second aspect of this application provides an electronic device, including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, which causes the processor to perform an operation corresponding to the method described in the first aspect.

[0008] A third aspect of this application provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.

[0009] The fiber optic dual-end detection scheme provided in this application measure the first curve and the second curve corresponding to the two ends of the fiber, respectively. Based on the positions of multiple first events included in the first curve and the positions of multiple second events included in the second curve, several candidate fiber lengths are determined. For each candidate fiber length, the corresponding position overlap rate is calculated. Then, the target fiber length is determined based on the position overlap rate, ensuring the accuracy of the determined target fiber length. Finally, the first curve and the second curve are spliced ​​based on the target overlap area corresponding to the determined target fiber length, improving the accuracy of the spliced ​​detection curve. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0011] Figure 1 A schematic diagram of an exemplary system for the fiber optic double-ended detection method applicable to embodiments of this application;

[0012] Figure 2A A flowchart illustrating the steps of a fiber optic end-to-end detection method provided in this application embodiment;

[0013] Figure 2B for Figure 2A A schematic diagram of a curve in the embodiment shown;

[0014] Figure 3 A flowchart illustrating the steps of another optical fiber end-to-end detection method provided in this application embodiment;

[0015] Figure 4 A schematic diagram of a fiber optic end-to-end detection method provided in an embodiment of this application;

[0016] Figure 5A schematic diagram of another optical fiber end-to-end detection method provided in this application embodiment;

[0017] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0018] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.

[0019] To facilitate understanding, the technical terms involved in the embodiments of this application will be explained below.

[0020] 1. OTDR: Optical Time Domain Reflectometer, is a device and technology that uses Rayleigh scattering light to detect the loss distribution along an optical fiber and locate physical defects in an optical cable.

[0021] 2. Bidirectional OTDR: A method that equips both ends of the optical cable under test with OTDR devices to measure two curves, and then splices these two curves together to improve test performance.

[0022] 3. Ghosting effect: If there are strong reflection events such as strong reflection joints or strong reflection fusion splices in the optical fiber, the OTDR curve will show ghosting events caused by the pulse being reflected multiple times, which will interfere with the location of the fault point.

[0023] 4. Dead zone: High reflection caused by imperfect coupling can lead to detector saturation. The detector needs a certain amount of time to recover from the saturated state to the normal state. During the recovery period, the OTDR cannot detect the intensity of backscattered light normally, thus forming a dead zone.

[0024] The specific implementation of the embodiments of this application will be further described below with reference to the accompanying drawings.

[0025] For ease of understanding, an exemplary system of the method in this embodiment will be described below using a communication system as an example.

[0026] Figure 1 An exemplary system for fiber optic end-to-end detection methods applicable to embodiments of this application is shown. For example... Figure 1 As shown, the system may include device A and device B, which are connected by an optical fiber.

[0027] The device A and the device B can be any device requiring fiber connection, such as a network interface, a server interface, etc., and the embodiment is not limited in this regard. The optical cable between the device A and the device B can include a plurality of spliced cable segments.

[0028] One or more optical fibers can be included in one optical cable, and the optical cable is mainly used for protecting the optical fibers. If the optical cable fails, such as being cut, being bent or squeezed, or the connection position of the optical cable being abnormal, the signal transmission capability of the optical fibers will be affected, resulting in abnormal data transmission.

[0029] Therefore, an optical time domain reflectometer (OTDR) is generally used to emit a test laser pulse signal, also referred to as an optical test signal, into the optical fiber, and then receive a return signal and determine return power information through the optical time domain reflectometer.

[0030] Specifically, the optical fiber generates backscattered Rayleigh light when transmitting the pulse signal, and when a reflection event exists, a backscattered laser pulse signal is generated. The OTDR can obtain return power information based on the backscattering principle, using the backscattered light generated when the laser pulse signal propagates in the optical fiber.

[0031] The return power information can be used to generate a return power curve, the abscissa of the return power curve can be the position, and the ordinate can be the return power value. A plurality of reflection peaks with high power values appearing in the return power curve can correspond to a plurality of events, and the abscissa of the reflection peak is the event position. The optical time domain reflectometer is generally located at the emission end of the optical fiber, and the position of the event can be the distance of the optical fiber between the event occurrence position and the optical time domain reflectometer.

[0032] By analyzing the return power curve, the position of the physical event occurring on the optical fiber in the optical fiber is obtained, and then whether the optical cable has a physical abnormal event is investigated according to the located position, so as to realize the measurement of events such as optical fiber attenuation and joint loss.

[0033] However, optical fibers are generally used as data transmission paths only in long-distance and large-data transmission scenarios, but the OTDR is affected by its performance. If the length of the optical fiber is too long, the measurement will be incomplete.

[0034] The performance of the OTDR is usually measured by the dynamic range. The larger the dynamic range, the longer the distance of the optical cable that can be measured by the OTDR. For a given OTDR device, the dynamic range is proportional to the pulse power, the pulse width, and the measurement time. However, due to the nonlinear effect and the blind area phenomenon, the laser pulse power cannot be infinitely increased.

[0035] In order to improve the dynamic range of the OTDR and achieve the purpose of measuring long-distance optical fiber, a bidirectional OTDR detection technology is proposed. The technology is equipped with OTDR devices at both ends of the optical cable to be measured, and two curves are obtained by measurement. The two curves are complementarily spliced to effectively overcome the disadvantages of weak tail-end signal and poor signal-to-noise ratio of the single-end OTDR measurement curve.

[0036] However, in the current bidirectional OTDR detection technology, when splicing the two curves, the manual determination of the splicing position is generally used, such as manually specifying the splicing point of the two curves or manually splicing the two curves. The splicing error is large and time-consuming, which is not conducive to the widespread use of the bidirectional OTDR detection technology.

[0037] Based on the above system, the embodiments of the present application provide a fiber double-end detection method, which is described below through multiple embodiments.

[0038] Referring to Figure 2A , a flowchart of a fiber double-end detection method is shown, as shown in the figure, which includes:

[0039] S201, event detection is performed at both ends of the optical fiber respectively to obtain a first curve and a second curve.

[0040] In this embodiment, if the measured is an optical fiber, time division or frequency division can be used to perform event detection at both ends of the optical fiber respectively, so as to avoid interference between the two detections. Time division means that the detection of the other end is performed after the detection of one end is completed, so that the two detections are separated in time and do not interfere with each other. Frequency division means that the two detections use complementary interference laser pulse signals with a certain frequency interval, so that the detections at both ends do not interfere with each other.

[0041] In this embodiment, if at least two same-cable optical fibers are detected, that is, two optical fibers are located in the same cable, so that the event positions on the two optical fibers are consistent, different optical fibers can be detected at both ends to obtain the first curve and the second curve.

[0042] The first curve and the second curve can be the echo power curve described above, the abscissa can be the position, and the ordinate can be the echo power value. The multiple power values of the reflection peaks appearing in the echo power curve can correspond to multiple events, and the abscissa of the reflection peak is the event position. The event position here refers to the position of the event relative to the measured end of the optical fiber.

[0043] S202, determine a plurality of candidate fiber lengths according to the positions of the multiple first events included in the first curve and the positions of the multiple second events included in the second curve.

[0044] The first curve and the second curve are curves that can be spliced ​​together, meaning that the first curve and the second curve include overlapping events. In this embodiment, based on the positions of the first event and the second event included in the first curve, assuming that a certain first event and another second event overlap, that is, they correspond to an actual event, the candidate fiber length can be determined based on the position of the first event in the first curve and the position of the second event in the second curve.

[0045] For example, if the position of the first event on the first curve is L1, meaning the distance from the location of the first event to one end A of the optical fiber is L1, and the position of the second event on the second curve is L2, meaning the distance from the location of the second event to the other end B of the optical fiber is L2, and assuming that the first and second events coincide, then the resulting candidate optical fiber length is L1 + L2. See also Figure 2B The diagram illustrates a first curve and a second curve. Taking the first curve as an example where detection is performed at one end A of the optical fiber and the second curve is performed at the other end B of the optical fiber, the first curve includes three events, A1-A3, and the second curve includes four events, B1-B4. Assuming that the first event A3 and the second event B2 coincide, the candidate optical fiber length is L1+L2, where L1 is the position of A3 and L2 is the position of B2.

[0046] By assuming that multiple first events and multiple second times coincide, several candidate fiber lengths can be obtained.

[0047] S203. For each candidate fiber length, determine the candidate overlapping region between the first curve and the second curve at that length, and calculate the position overlap rate corresponding to the candidate overlapping region.

[0048] In this embodiment, when the candidate fiber length is determined, the candidate overlapping area of ​​the first curve and the second curve can be determined, that is, the area in the first curve and the second curve that corresponds to the same fiber segment. Specifically, it can be the area between the last second event of the second curve and the last first event of the first curve.

[0049] See Figure 2B Assuming that A3 and B2 overlap, and A1 and B4 also overlap after A3 and B2 overlap, then the candidate overlapping region is the region between B4 and A3 shown in the figure, that is, the region between B4 and B2.

[0050] The position overlap rate can be calculated based on the position overlap information of the first and second events included in the candidate overlapping region. Specifically, the position overlap rate can be the proportion of the first and second events that can overlap in the candidate overlapping region to the total number of events, or the proportion of the first and second events that cannot overlap to the total number of events. This embodiment does not limit this.

[0051] S204. Determine the target fiber length from the multiple candidate fiber lengths based on the position overlap rate corresponding to the multiple candidate fiber lengths.

[0052] In this embodiment, multiple filtering conditions can be preset, and the fiber lengths that meet the location overlap rate criteria can be determined as the target fiber lengths. Filtering conditions may include, for example, a location overlap rate greater than a location overlap rate threshold and the number of events in the location overlap area greater than a first quantity threshold, or a location overlap rate greater than a location overlap rate threshold and the number of non-overlapping events less than a second quantity threshold. This embodiment does not limit these conditions.

[0053] The solution provided in this embodiment determines several candidate fiber lengths, calculates the corresponding position overlap rate for each, and then determines the target fiber length based on the position overlap rate. This ensures the accuracy of the determined target fiber length and thus improves the accuracy of the detection curve spliced ​​in the subsequent step S205.

[0054] S205. The first curve and the second curve are spliced ​​together according to the target optical fiber length to obtain the detection curve corresponding to the optical fiber.

[0055] After determining the target fiber length based on the position overlap rate, the candidate overlapping area corresponding to the target fiber length can be directly determined as the target overlapping area, that is, the actual overlapping area of ​​the first curve and the second curve.

[0056] For example, the splicing point for splicing the first curve and the second curve can be determined from the target overlapping area, and the two curve segments from the start point of the first curve to the splicing point and from the splicing point to the start point of the second curve can be spliced ​​to obtain the detection curve corresponding to the optical fiber.

[0057] Of course, other splicing schemes that splice the first and second curves based on the known fiber lengths are also within the scope of protection of this application.

[0058] The solution provided in this embodiment measures the first curve and the second curve corresponding to the two ends of the optical fiber, respectively. Based on the positions of multiple first events included in the first curve and the positions of multiple second events included in the second curve, several candidate optical fiber lengths are determined. For each candidate optical fiber length, the corresponding position overlap rate is calculated. Then, the target optical fiber length is determined based on the position overlap rate, ensuring the accuracy of the determined target optical fiber length. Finally, the first curve and the second curve are spliced ​​based on the target overlap area corresponding to the determined target optical fiber length, improving the accuracy of the spliced ​​detection curve.

[0059] See Figure 3 The figure shows a flowchart illustrating a fiber optic end-to-end detection method according to an embodiment of this application. As shown, it includes:

[0060] S301. Event detection is performed at both ends of the optical fiber to obtain the first curve and the second curve.

[0061] The specific implementation method of this step can be referred to the above embodiments, and will not be repeated here.

[0062] S302. Based on the positions of the multiple first events included in the first curve and the positions of the multiple second events included in the second curve, determine several candidate fiber lengths.

[0063] To minimize the number of candidate fiber lengths identified, we can compare the positions of the last first event and the last second event, updating the curve containing the event with the larger position to the first curve and the other to the second curve. For example, the first curve includes N first events, and the position corresponding to each first event is A. i (i = 1, 2, ..., N), where A1 <A2<…<A N The second curve includes M second events, and the position corresponding to each second event is Z. j (j=1,2,…M), Z1 <Z2<…<Z M Compare A N and Z M If A N >Z M Then A N The curve containing A is the first curve. N <Z M Then Z M The curve in question has been updated to the first curve.

[0064] In this embodiment, the multiple first events included in the first curve can be arranged in a positive orientation, and the multiple second events included in the second curve can be flipped left and right with the first second event as the center. This makes the arrangement order of the first and second events as consistent as possible with the order in which the events occur on the optical fiber.

[0065] Then, we can assume that any first event coincides with any second event to obtain the candidate fiber lengths. For example, we can assume that the last first event coincides with each of the second events Z. i The number of candidate fiber lengths obtained is the same as the number of second events, and the obtained candidate fiber length L = A. N +Z i , i = 1, 2…M.

[0066] S303. For each candidate fiber length, determine the candidate overlapping region between the first curve and the second curve at that length, and calculate the position overlap rate corresponding to the candidate overlapping region.

[0067] For the specific method of determining the candidate overlapping region for any candidate fiber length, please refer to the above embodiments, which will not be repeated here.

[0068] Optionally, in this embodiment, calculating the position overlap rate corresponding to the candidate overlapping region includes: determining a first event and a second event in the candidate overlapping region whose position deviation is less than or equal to the attenuation blind zone length as position overlapping events; and calculating the position overlap rate based on the number of events determined as position overlapping events and the number of events not determined as position overlapping events.

[0069] If the candidate fiber length is L, then the position of the second event in the second curve can be represented as LZ. j , j = M, M-1, ..., 1, which is the distance between the event and the fiber optic measurement end of the first curve, or it can be interpreted as the position of the event in the first curve if the event exists in the first curve.

[0070] By comparing the position A of the first event i The position of the second event obtained from the above conversion (LZ) j The magnitude of the difference between the positions of the two is less than the attenuation blind zone length Δ, i.e., A i -(LZ j If )≤Δ, then it can be determined that the first event and the second event are in the same position, that is, they are coincident events.

[0071] In this embodiment, the attenuation dead zone length refers to the length of the range from saturation to normal when the signal received by the OTDR becomes saturated due to high reflection. The specific method for determining the attenuation dead zone length can be found in relevant technologies, which will not be elaborated here.

[0072] Optionally, in this embodiment, determining several candidate fiber lengths based on the positions of multiple first events included in the first curve and the positions of multiple second events included in the second curve includes:

[0073] Aligning a first event on the first curve with a second event on the second curve, and obtaining several candidate fiber lengths based on the alignment result; calculating the position overlap rate based on the number of events determined to be position overlap events and the number of events not determined to be position overlap events includes:

[0074] The positional overlap rate Q is calculated using the following formula:

[0075] Q = (E c -2) / (E c +E s -2)

[0076] Among them, E c E represents the number of events that are determined to be location overlap events. s The number of events not identified as location overlap events, with -2 indicating the removal of the first and second events for location alignment from the number of events identified as location overlap events. In this embodiment, since the candidate fiber length is determined by aligning a first event and a second event, these two events need to be removed when calculating the location overlap rate to ensure the accuracy of the calculated result.

[0077] For each candidate fiber length, the corresponding positional overlap rate can be calculated.

[0078] S304. Based on the position overlap rates corresponding to the lengths of the candidate optical fibers, determine whether the position overlap rate is greater than or equal to a preset position overlap rate threshold.

[0079] In this embodiment, to ensure the accuracy of the judgment, the preset position overlap rate threshold can be set to 1, that is, the first event and the second event in all candidate overlapping regions are judged as position overlap events. If the accuracy requirement is lower, the preset position overlap rate threshold can be set to 0.8, 0.9, etc., instead of 1, which is also within the scope of protection of this application. The specific preset position overlap rate threshold can be set by those skilled in the art according to their needs, and this embodiment does not limit it.

[0080] S305. If there exists a position overlap rate that is greater than or equal to the preset position overlap rate threshold, then the candidate fiber length corresponding to that position overlap rate is determined as the target fiber length.

[0081] In this embodiment, if there is a position overlap rate that is greater than or equal to a preset position overlap rate threshold, the length of the candidate fiber corresponding to it can be directly determined as the target fiber length.

[0082] In addition, if there are at least two location overlap rates that are greater than or equal to the preset location overlap rate threshold, and one of them is a location overlap rate with a larger value, then the candidate fiber length corresponding to the location overlap rate with the larger value can be selected as the target fiber length.

[0083] S306. If there are at least two equal position overlap rates that are both greater than or equal to the preset position overlap rate threshold, or if there is no position overlap rate that is greater than or equal to the preset position overlap rate threshold, then perform ghosting event removal operation on the first curve and the second curve.

[0084] In this embodiment, ghosting events in the first or second event are removed in step S306 to reduce interference from ghosting events. After executing step S306, the first and / or second events are updated, and then the step of calculating the position overlap rate corresponding to the candidate overlapping region in step S303 can be executed again.

[0085] It should be noted that step S306 is executed only once. If step S302 is executed again and step S306 is reached, that is, if the position overlap rate calculated again after removing the ghost event still has at least two equal position overlap rates and both are greater than or equal to the preset position overlap rate threshold, or if there is no position overlap rate greater than or equal to the preset position overlap rate threshold, then the current process ends.

[0086] Specifically, in this embodiment, after executing step S303, the calculated position overlap rates can be sorted in descending order, and after executing step S306, the position overlap rates can be updated in descending order.

[0087] It should be noted that after each update of the overlap rate at a location, step S304 can be executed, that is, the updated overlap rate at the location is compared with the preset overlap rate threshold. If the overlap rate at the location is greater than or equal to the preset overlap rate threshold, then step S305 is executed, that is, the candidate fiber length corresponding to the overlap rate at the location is determined as the target fiber length, and the process ends.

[0088] If two or more locations have equal overlap rates, these two or more locations can be updated simultaneously, and step S304 can be continued, which involves comparing the updated overlap rates with a preset overlap rate threshold. If there is an overlap rate greater than or equal to the preset overlap rate threshold, step S305 is executed, which determines the candidate fiber length corresponding to the overlap rate as the target fiber length, and the process ends. If there are at least two equal overlap rates, and both are greater than or equal to the preset overlap rate threshold, the curve splicing is determined to have failed, and the process ends. If there are no overlap rates greater than or equal to the preset overlap rate threshold, the remaining overlap rates are updated.

[0089] Optionally, in this embodiment, the ghosting event removal operation on the first curve and the second curve includes: determining whether the first event or the second event is a ghosting event according to a preset judgment condition, wherein the preset judgment condition is:

[0090]

[0091] Among them, z g For the first or second event to be judged, z a z b z c For different from z g Other events, z g z a z b z c Both are either the first event or both are the second event. When z g When the above formula is met, it means that z g The corresponding event is the ghosting event. Specifically, z a >z b ,z c >z b This refers to the relationship between the position and magnitude of events on the curve, expressed as z. a The position is greater than z b , z c The position is also greater than z b .

[0092] Specifically, in this embodiment, ghosting event removal operations are performed on the first curve and the second curve respectively, or ghosting event removal operations are performed on only one of the first curve or the second curve, both of which are within the protection scope of this application.

[0093] S307. The first curve and the second curve are spliced ​​together according to the target optical fiber length to obtain the detection curve corresponding to the optical fiber.

[0094] Optionally, in this embodiment, step S307 includes: normalizing the first curve and the second curve; determining the intersection point of the first curve in ascending distance order and the second curve in descending distance order; if the intersection point is within the target overlapping area corresponding to the length of the target optical fiber, then the intersection point is determined as a splicing point; or, if the intersection point is outside the target overlapping area, then the boundary point of the target overlapping area is taken as the splicing point; splicing the first curve and the second curve according to the splicing point to obtain the detection curve corresponding to the optical fiber.

[0095] In this embodiment, if the intersection of the first curve and the second curve is within the target overlapping area, the intersection point can be directly used as the splicing point. If the intersection point is outside the target overlapping area, it means that the intersection point is not suitable as a splicing point, and the boundary point of the target overlapping area is selected as the splicing point.

[0096] Specifically, if the intersection point is outside the target overlapping area, then the boundary point of the target overlapping area is used as the splicing point, which includes: if the intersection point is outside the target overlapping area, then comparing the signal strength values ​​of the first curve and the second curve in the target overlapping area; determining the target curve with the larger signal strength value among the first curve and the second curve, and determining the boundary point on the side of the target overlapping area away from the starting point of the target curve as the splicing point.

[0097] By normalizing the first curve and the second curve, the signal and noise intensity values ​​of the first curve and the second curve can be made to be within the same range, thereby enabling the first curve and the second curve to be compared or spliced.

[0098] By comparing the signal strength values ​​of the first curve and the second curve in the target area, the curve with stronger signal strength is determined as the target curve. The boundary point on the side of the overlapping area of ​​the target curve that is far from the starting point of the target curve is determined as the splicing point. In this way, when splicing, the curve with stronger signal strength can be preserved as much as possible, thereby improving the signal quality of the spliced ​​detection curve.

[0099] Optionally, in this embodiment, before splicing the first curve and the second curve according to the splicing point to obtain the detection curve corresponding to the optical fiber, the method further includes: if the splicing point is located in the attenuation dead zone, then updating the boundary point of the attenuation dead zone to the splicing point.

[0100] If the intersection of the curves is located within the attenuation blind zone, the boundary point of the attenuation blind zone is updated to the splicing point to preserve the start and end range of the attenuation blind zone as completely as possible.

[0101] For example, the following example illustrates a specific curve splicing scheme.

[0102] Specifically, after detecting the first curve and the second curve, the first curve and the second curve can be normalized according to the following formula to calculate the normalized signal intensity P corresponding to the first curve and the second curve, respectively. nor (x):

[0103] P nor (x)=P(x)-N peak

[0104] Where x is the position, i.e., the x-coordinate of the curve, P(x) is the detected signal strength, i.e., the signal strength of the first curve or the signal strength of the second signal, and N peak To detect noise in the obtained signal, N peak For details, please refer to the OTDR standard definition, which will not be elaborated here.

[0105] In this embodiment, the first curve can be denoted as P. nor1 (x1), the second curve can be denoted as P. nor2 (x2).

[0106] P nor1 (x1) Arranged in the forward direction, for P nor2 (x2), based on the determined target fiber length, convert x2 to L-x2, then let x1 = x2, so that P nor1 (x1), P nor2 (x2) are plotted in the same coordinate system.

[0107] Calculate P nor1 (x1)=P nor2 The value of x1 when (x1) is given is used as the x-coordinate of the intersection point of the curves. nor .

[0108] If X nor If it is located within the target overlap region corresponding to the length of the target optical fiber, then X will be... nor Determine X as the splicing point; if X nor If the target overlaps with the target area, the boundary point of the target overlap area will be used as the splicing point.

[0109] You can choose any boundary point of the overlapping target region as the stitching point, or you can compare P in the overlapping target regions. nor1 (x1) and P nor2 (x1) size, if P nor1 (x1)>P nor2 If (x1) is selected, then the boundary point on the side of the overlapping region of the target is farthest from x1=0 as the splicing point, in order to retain as much P as possible. nor1 (x1).

[0110] After determining the splicing point, if the splicing point is located within the attenuation blind zone, it is updated as the boundary point of the attenuation blind zone. When an attenuation blind zone exists in the first curve, an attenuation blind zone also exists at the same location on the second curve. That is, the same attenuation blind zone corresponds to 4 boundary points. When updating the splicing point, any boundary point of the attenuation blind zone can be selected as the splicing point. The attenuation blind zone is defined as the distance from the occurrence of the reflection event until the reflection recovers to a level 0.5 dB higher than the backscattered light intensity.

[0111] The x-coordinate of the determined splicing point can be denoted as X. c Once the splicing points are determined, the curves can be spliced ​​through subsequent steps. Of course, the following is only an example, and other methods of splicing curves are also within the scope of protection of this application.

[0112] Specifically, due to curve P nor2 (x1) After the above changes, as x1 increases, P nor2 The signal strength of (x1) also increases accordingly. Therefore, in this embodiment, for P... nor2 (x1) undergoes the following transformation:

[0113] 1. The following transformations are applied to the decay blind zone of each second event:

[0114]

[0115] That is, using the splicing point X c Intensity value P nor2 (X c The axis is flipped up and down to ensure that the signal change trend in the attenuation dead zone remains unchanged. Let x1 be the x-coordinate of the boundary point of the attenuation dead zone in the second curve, where x1∈deadzone, meaning x1 belongs to the attenuation dead zone.

[0116] 2. For the portion of the second curve excluding the decay blind zone of the second event, the following transformation is applied:

[0117]

[0118] That is, using the splicing point X c Intensity value P nor2 (X c () is used as the axis of rotation to flip up and down. That is, x1 does not belong to the attenuation blind zone.

[0119] For P nor1 (x1) and P after transformation nor2 (x1), truncate P nor1 (x1) in [0:X cThe part ] is truncated to P. nor2 (x1) in (X) c The parts of :L] are spliced ​​together to obtain the detection curve.

[0120] The solution provided in this embodiment can be applied to splicing the OTDR curves obtained from detecting two optical fibers in the same cable but different fibers. It can also perform OTDR measurements at both ends of the line simultaneously, avoiding twice the measurement time. In addition, the solution provided in this embodiment does not require pre-measuring the total length of the optical fiber, reducing the difficulty and complexity of detection. Furthermore, the solution provided in this embodiment can remove ghosting events in the curve and has good robustness to ghosting effects.

[0121] The above scheme will be illustrated by specific experimental details below.

[0122] Experiment 1

[0123] The two ends of the target optical fiber are tested separately to obtain the first curve and the second curve, as shown below. Figure 4 As shown in the figure, the horizontal axis represents distance in km, and the vertical axis represents signal strength in dB.

[0124] As shown in Table 1 below, the positions of multiple first events in the first curve are [0,20,70,80,100,120,160], and the first event numbers are A1 to A7 respectively; the positions of multiple second events in the second curve are [0,10,40,60,100,120], and the second event numbers are Z1 to Z6. Since the position of A7 is greater than the position of Z6, the first and second curves are not interchanged.

[0125] The positions of multiple second events in the second curve are mirrored with respect to event Z1 as the center point, such as... Figure 4 As shown in the upper right corner, after flipping, the positions of each second event change to [-120,-100,-60,-40,-10,0], and the corresponding second event numbers are Z6 to Z1.

[0126]

[0127] Table 1

[0128] Assuming Z7 coincides with the positions of Z1-Z5, the candidate fiber lengths are shown in Table 2 below. The coincidence event number is the number of the first event that coincides with the second event position in the first curve, and the position is the recalculated position of Z6-Z1 on the horizontal axis of the first curve.

[0129]

[0130] Table 2

[0131] Specifically, referring to Table 2 above, assuming A7 and Z1 overlap, the corresponding candidate fiber length L = position of A7 + position of Z1 = 160 + 0; correspondingly, the candidate overlapping area with the first curve and the second curve is 100 to 160 (horizontal axis). Within this candidate overlapping area, there are 3 groups of 6 events determined to be position overlap events: Z1 and A7, Z3 and A6, and Z4 and A5. The number of events without overlap events (hereinafter referred to as non-overlapping events) in the candidate overlapping area is 1, which is Z2. Substituting into the event overlap rate calculation formula, we get Q = 4 / 5 = 0.8.

[0132] Similarly, assuming A7 coincides with Z2, the corresponding candidate fiber length L = 160 + 10; correspondingly, the candidate overlapping region with the first curve and the second curve is 70 to 160 (horizontal axis). Within this candidate overlapping region, the number of events judged as location overlap events is 2 groups (4 events), namely Z2 and A7, Z5 and A3, and the number of non-overlapping events is 5, namely Z3, Z4, A4, A5, and A6. The event overlap rate Q = 2 / 7 = 0.29.

[0133] Assuming A7 and Z3 overlap, the corresponding candidate fiber length L = 160 + 40. Correspondingly, the candidate overlap region with the first and second curves is from 80 to 160 (horizontal axis). Within this candidate overlap region, the number of events judged as overlapping is 3 groups (6 events): Z3 and A7, Z5 and A5, and Z6 and A4. The number of non-overlapping events is 2: Z4 and A6. The event overlap rate Q = 4 / 6 = 0.67.

[0134] Assuming A7 and Z4 overlap, the corresponding candidate fiber length L = 160 + 60. Correspondingly, the candidate overlap region with the first and second curves is from 100 to 160 (horizontal axis). Within this candidate overlap region, the number of events judged as location overlap events is 3 groups (6 events): Z4 and A7, Z5 and A6, and Z6 and A5. The number of non-overlapping events is 0. The event overlap rate Q = 4 / 4 = 1.

[0135] Assuming A7 and Z5 overlap, the corresponding candidate fiber length L = 160 + 100; correspondingly, there is no candidate overlapping region with the first curve and the second curve, and the event overlap rate Q = 0.

[0136] With a preset overlap rate threshold Q_th = 1, when L = 220, i.e., when A7 and Z4 overlap, there exists a unique overlap rate that satisfies the preset threshold: Q = 1 ≥ Q_th. Therefore, the total length of the optical cable is 220, and the corresponding target overlap area is 100 to 160. The first and second curves are equal at x = 129, and this point is located within the target overlap area. This point is selected as the splicing point to complete the curve splicing, and the result is as follows. Figure 4 As shown in the bottom right corner.

[0137] Experiment 2

[0138] The two ends of the target optical fiber are tested separately to obtain the first curve and the second curve, as shown below. Figure 5 As shown in the figure, the horizontal axis represents distance in km, and the vertical axis represents signal strength in dB.

[0139] As shown in Table 3 below, the positions of multiple first events in the first curve are [0, 20, 30, 40, 60], and the numbers of the first events are A1 to A5 respectively; the positions of multiple second events in the second curve are [0, 10, 40, 50], and the numbers of the second events are Z1 to Z4. Since the position of A5 is greater than the position of Z4, the first and second curves are not interchanged.

[0140] The positions of multiple second events in the second curve are mirrored with respect to event Z1 as the center point, such as... Figure 5 As shown in the upper right corner, after flipping, the positions of each second event change to [-50,-40,-10,0], and the corresponding second event numbers are Z4 to Z1.

[0141]

[0142] Table 3

[0143] Assuming Z5 coincides with positions Z1-Z3, the candidate fiber lengths are shown in Table 4 below. The coincidence event numbers are the numbers of the first events that coincide with the second event position in the first curve.

[0144]

[0145] Table 4

[0146] Specifically, referring to Table 4 above, assuming A5 and Z1 overlap, the corresponding candidate fiber length L = position of A5 + position of Z1 = 60 + 0; correspondingly, the candidate overlapping area with the first curve and the second curve is 20 to 60 (horizontal axis). Within this candidate overlapping area, the number of events judged as position overlap events is 2 groups (4), namely Z1 and A5, Z3 and A2, and the number of non-overlapping events is 3, namely Z2, A3, and A4. Substituting into the event overlap rate calculation formula, we get Q = 2 / 5 = 0.4.

[0147] Similarly, assuming A5 coincides with Z2, the corresponding candidate fiber length L = 60 + 10; correspondingly, the candidate overlapping region with the first and second curves is 20 to 60 (horizontal axis). Within this candidate overlapping region, the number of events judged as location overlap events is 3 groups (6 events): Z2 and A5, Z3 and A3, and Z4 and A2. The number of non-overlapping events is 1, which is A4. The event overlap rate Q = 4 / 5 = 0.8.

[0148] Assuming A5 and Z3 overlap, the corresponding candidate fiber length L = 60 + 40; correspondingly, there is no candidate overlapping area between the first curve and the second curve, and the event overlap rate Q = 0.

[0149] The preset position overlap rate threshold Q_th = 1, and there is no Q ≥ Q in the above calculation results. th Therefore, ghosting events are removed from the first and second curves.

[0150] Based on the preset judgment conditions of the above ghosting events, the ghosting event that exists in each of the first and second events is identified as A4. Then, A4 is removed from the first curve, and the candidate fiber length and position overlap are recalculated. The results are shown in Table 5 below.

[0151]

[0152] Table 5

[0153] L = 60, the overlap region between the first and second curves is 20 to 60; there are 2 groups (4 events) of overlapping events in this region, namely Z1 and A5, and Z3 and A2, and 2 non-overlapping events, namely Z2 and A3. Substituting into the event overlap rate calculation formula, we get Q = 2 / 4 = 0.5.

[0154] L = 70, the overlap region between the first and second curves is 20 to 60; there are 3 groups (6 events) of overlapping events in this region, namely Z2 and A5, Z3 and A3, and Z4 and A2, with no non-overlapping events. The event overlap rate Q = 4 / 4 = 1.

[0155] When L = 70, Q = 1 ≥ Q_th, the total length of the optical cable is 70, and the corresponding target overlap area is 20 to 60. The first curve and the second curve are equal at x = 35, and this point is located within the target overlap area. This point is selected as the splicing point to complete the curve splicing. The result is as follows. Figure 5 As shown in the bottom right corner.

[0156] Reference Figure 6 The diagram shows a structural schematic of an electronic device provided in an embodiment of this application. The specific embodiments of this application do not limit the specific implementation of the electronic device.

[0157] like Figure 6 As shown, the electronic device may include: a processor 602, a communications interface 604, a memory 606, and a communications bus 608.

[0158] in:

[0159] The processor 602, communication interface 604, and memory 606 communicate with each other via communication bus 608.

[0160] Communication interface 604 is used for communication with other electronic devices or servers.

[0161] The processor 602 is used to execute program 610, which can specifically execute the relevant steps in the above-described optical fiber double-ended detection method embodiment.

[0162] Specifically, program 610 may include program code that includes computer operation instructions.

[0163] The processor 602 may be a CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The smart device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0164] Memory 606 is used to store program 610. Memory 606 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0165] Specifically, program 610 can be used to cause processor 602 to perform the operation corresponding to the XX fiber optic double-end detection method described in any of the foregoing multiple method embodiments.

[0166] The specific implementation of each step in program 610 can be found in the corresponding steps and units described in the above method embodiments, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0167] This application also provides a computer program product, including computer instructions that instruct a computing device to perform an operation corresponding to any of the fiber optic end-to-end detection methods in the above-described multiple method embodiments.

[0168] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.

[0169] The methods provided in the embodiments of this application described above can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium after being downloaded via a network. Thus, the methods described herein can be processed by software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses the code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.

[0170] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0171] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.

Claims

1. A method for detecting both ends of an optical fiber, comprising: Event detection is performed at both ends of the optical fiber to obtain the first curve and the second curve; Based on the positions of multiple first events included in the first curve and the positions of multiple second events included in the second curve, several candidate fiber lengths are determined. For each candidate fiber length, a candidate overlapping region between the first curve and the second curve at that length is determined, and the position overlap rate corresponding to the candidate overlapping region is calculated; the position overlap rate represents the proportion of the first and second events that can overlap in the candidate overlapping region to the total events, or the proportion of the first and second events that cannot overlap to the total events. The target fiber length is determined from the multiple candidate fiber lengths based on the position overlap rate corresponding to the multiple candidate fiber lengths. By splicing the first curve and the second curve according to the target fiber length, the detection curve corresponding to the fiber is obtained.

2. The method according to claim 1, wherein, The step of determining the target fiber length from multiple candidate fiber lengths based on the position overlap rates corresponding to the multiple candidate fiber lengths includes: Based on the position overlap rate corresponding to the lengths of several candidate optical fibers, determine whether the position overlap rate is greater than or equal to a preset position overlap rate threshold. If there exists a position overlap rate greater than or equal to the preset position overlap rate threshold, then the candidate fiber length corresponding to that position overlap rate is determined as the target fiber length; or, the method further includes: If there are at least two position overlap rates that are equal to or greater than or equal to the preset position overlap rate threshold, or if there are no position overlap rates that are greater than or equal to the preset position overlap rate threshold, then a ghost event removal operation is performed on the first curve and the second curve, and for the first curve and the second curve after removing the ghost event, the step of calculating the position overlap rate corresponding to the candidate overlapping region is performed again.

3. The method according to claim 2, wherein, The ghosting event removal operation on the first curve and the second curve includes: According to preset judgment conditions, determine whether the first event or the second event is a ghosting event. The preset judgment conditions are: , in, The first or second event to be judged. For different Other events, Both are either the first event or both are the second event; when When the preset judgment condition is met, then The corresponding event is the ghost event.

4. The method according to claim 1, wherein, The calculation of the positional overlap rate corresponding to the candidate overlapping region includes: The first event and the second event in the candidate overlapping region whose position deviation is less than or equal to the attenuation blind zone length are determined to be position overlapping events. The location overlap rate is calculated based on the number of events identified as location overlap events and the number of events not identified as location overlap events.

5. The method according to claim 4, wherein, The step of determining several candidate fiber lengths based on the positions of multiple first events included in the first curve and the positions of multiple second events included in the second curve includes: Align a first event of the first curve with a second event of the second curve, and obtain several candidate fiber lengths based on the alignment result. The step of calculating the location overlap rate based on the number of events determined to be location overlap events and the number of events not determined to be location overlap events includes: The position overlap rate is calculated using the following formula. : in, The number of events that are determined to be location overlap events. The number of events that are not identified as positional overlap events is represented by -2, which indicates that the first and second events that are used for positional alignment are removed from the number of events identified as positional overlap events.

6. The method according to claim 1, wherein, The step of splicing the first curve and the second curve according to the target optical fiber length to obtain the detection curve corresponding to the optical fiber includes: The first curve and the second curve are normalized. Determine the intersection point of the first curve ordered by ascending distance and the second curve ordered by descending distance; If the intersection point is within the target overlapping area corresponding to the length of the target optical fiber, then the intersection point is determined as the splicing point; or, if the intersection point is outside the target overlapping area, then the boundary point of the target overlapping area is taken as the splicing point. By splicing the first curve and the second curve at the splicing points, the detection curve corresponding to the optical fiber is obtained.

7. The method according to claim 6, wherein, If the intersection point is outside the target overlapping area, then the boundary point of the target overlapping area is used as the splicing point, including: If the intersection point is outside the target overlapping area, then compare the signal strength values ​​of the first curve and the second curve in the target overlapping area; The target curve with the larger signal strength value among the first curve and the second curve is identified, and the boundary point on the side of the overlapping region of the target curve that is far from the starting point of the target curve is identified as the splicing point.

8. The method according to claim 6, wherein, Before splicing the first curve and the second curve according to the splicing point to obtain the detection curve corresponding to the optical fiber, the method further includes: If the splicing point is located within the attenuation blind zone, then the boundary point of the attenuation blind zone is updated to the splicing point.

9. An electronic device, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the optical fiber double-ended detection method as described in any one of claims 1-8.

10. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of claims 1-8.

11. A computer program product comprising computer instructions that instruct a computing device to perform an operation corresponding to any one of the methods described in claims 1-8.

Citation Information

Patent Citations

  • Long-distance optical fiber detection method, device, equipment and system and storage medium

    CN111490818A

  • Optical fiber monitoring method and equipment

    CN111595241A