Method for detecting quality of optical fiber and related device thereof
By calculating the bending radius and length of the optical fiber, it solves the problems of low accuracy and high cost of optical fiber eavesdropping detection in the existing technology, achieves accurate detection and monitoring of optical fiber eavesdropping and natural disasters, and reduces hardware requirements and costs.
Patent Information
- Application Number
- CN202310318420.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-21
- Publication Date
- 2024-09-24
AI Technical Summary
Existing optical fiber eavesdropping detection methods are difficult to accurately determine the specific degree of damage to the optical fiber, and often require additional hardware support, which increases the cost and detection complexity.
By obtaining the optical power change values of light beams of different wavelengths at different times, the bending radius and bending length of the optical fiber are calculated to determine whether there is eavesdropping or natural disasters in the optical fiber, and then determine the specific degree of damage to the optical fiber.
No additional hardware support is required, which improves the accuracy and efficiency of fiber eavesdropping detection, reduces costs, and enables timely and effective monitoring of fiber status and maintenance.
Smart Images

Figure CN118694432A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communications, and in particular to a method for detecting optical fiber quality and a related device thereof. Background Art
[0002] Fiber optic eavesdropping detection technology is a protection technology for the physical layer of fiber optic communication links. Among them, the fiber bending method is a typical attack method. Its principle is to strip the outer cladding of the optical cable to the bare fiber for bending, so that the incident angle of light on the core cladding interface is less than the critical angle of total internal reflection, and some light passes through its cladding and radiates from the optical fiber, thereby intercepting the communication information in the optical path.
[0003] At present, the fiber quality is usually detected based on the change of optical power. By detecting the power data of the signal received and sent by a specific optical fiber, the optical power loss of the optical fiber channel is obtained, and compared with the normal loss value, it can be found whether the optical fiber is currently damaged. Alternatively, an optical time domain reflectometer (OTDR) is used to detect the link status, and the position within the optical fiber track showing the signal power reduction is observed by the OTDR to determine where the current fiber quality is damaged.
[0004] However, optical fiber quality detection based on optical power changes or OTDR detection can only determine whether the current optical fiber has loss and where it is damaged, but it is difficult to determine the specific degree of damage to the current optical fiber. Summary of the invention
[0005] The present application provides a method for detecting the quality of optical fiber and a related device thereof, which are applied in the field of communications, and can determine the specific degree of damage of the current optical fiber without the need for additional hardware support, thus reducing costs.
[0006] In a first aspect, a method for detecting optical fiber quality is provided, comprising:
[0007] The first communication device obtains a first optical power difference and a second optical power difference. The first optical power difference is a change in the optical power of a light beam of a first wavelength transmitted by an optical fiber received in a first time period, and the second optical power difference is a change in the optical power of a light beam of a second wavelength transmitted by an optical fiber received in a second time period. The first communication device determines the bending radius of the optical fiber and / or the bending length of the optical fiber based on the obtained first optical power difference and second optical power difference. The optical fiber bending amount of the optical fiber or whether there is optical fiber eavesdropping of the optical fiber is determined based on the bending radius and / or the bending length. Specifically, the first communication device can determine the state and quality of the current optical fiber based on the bending amount of the current optical fiber, and judge whether there is optical fiber eavesdropping based on the bending radius and / or the bending length of the optical fiber.
[0008] In the implementation manner of the present application, the first communication device determines the fiber bending amount of the optical fiber or whether there is fiber tapping on the optical fiber based on the bending radius and the bending length. The fiber quality can be detected based on the bending radius and the bending length. Specifically, the current state and quality of the optical fiber can be determined based on the bending amount of the optical fiber, and then the specific degree of damage to the optical fiber can be determined. Alternatively, by obtaining the bending radius and the bending length of the optical fiber to be tested, it can be determined whether there is fiber tapping on the current optical fiber, which can improve the accuracy of fiber tapping.
[0009] In a possible implementation of the first aspect, when the bending radius is less than a first eavesdropping threshold, and / or the bending length is less than a second eavesdropping threshold, the first communication device determines that there is fiber eavesdropping. The first eavesdropping threshold and the second eavesdropping threshold are preset thresholds, wherein the first eavesdropping threshold is used to indicate a threshold of a bending radius generated by an optical fiber corresponding to the fiber eavesdropping, and the second eavesdropping threshold is used to indicate a threshold of a bending length generated by an optical fiber corresponding to the fiber eavesdropping.
[0010] Alternatively, when the bending radius is greater than the first eavesdropping threshold, and the bending length is greater than the second eavesdropping threshold, the first communication device determines that there is no eavesdropping behavior on the optical fiber.
[0011] In the implementation of the present application, the first communication device determines whether there is optical fiber eavesdropping by comparing the bending radius and the bending length with the first eavesdropping threshold and the second eavesdropping threshold, respectively, which can effectively improve the accuracy of eavesdropping detection without requiring additional hardware and saving costs.
[0012] In a possible implementation of the first aspect, when the bending radius is greater than a first disaster threshold, and / or the bending length is greater than a second disaster threshold, the first communication device determines that the optical fiber suffers from a natural disaster. The first disaster threshold is used to indicate a threshold of a bending radius caused by a natural disaster on the optical fiber, and the second disaster threshold is used to indicate a threshold of a bending length caused by a natural disaster on the optical fiber, and the first disaster threshold and the second disaster threshold can be preset in the first communication device.
[0013] In the implementation of the present application, the first communication device determines that the optical fiber is suffering from a natural disaster by comparing the bending radius and the bending length with the first disaster threshold and the second disaster threshold, respectively. The current state of the optical fiber can be effectively and timely determined, and maintenance can be carried out in a timely and effective manner without the need for additional hardware, thus saving costs.
[0014] In a possible implementation of the first aspect, a first communication device receives a light beam of a first wavelength and a light beam of a second wavelength and obtains the optical power corresponding to the receiving moment. And the first communication device obtains the first optical power, the second optical power, the third optical power and the fourth optical power. The first optical power and the second optical power are respectively the optical powers of the light beam of the first wavelength at the starting moment and the last moment of the first time period, and the third optical power and the fourth optical power are respectively the optical powers of the light beam of the second wavelength at the starting moment and the last moment of the second time period. The first communication device determines the first optical power difference based on the first optical power and the second optical power, and determines the second optical power difference based on the third optical power and the fourth optical power.
[0015] In an embodiment of the present application, a first communication device receives a light beam of a first wavelength and a light beam of a second wavelength of different wavelengths, and obtains a first optical power, a second optical power, a third optical power and a fourth optical power in real time, and then obtains a first optical power difference and a second optical power difference. The specific implementation method of the present solution is listed, reflecting the reliability of the solution.
[0016] In a possible implementation manner of the first aspect, the first communication device sends a light beam of a first wavelength to the second communication device through a first optical fiber.
[0017] The first communication device receives the first optical power difference value sent by the second communication device, and the first optical power difference value is obtained by the second communication device based on the optical powers corresponding to the first wavelength light beam at the start time and the end time of the first time period. And the first communication device also receives the second wavelength light beam sent by the second communication device through the first optical fiber. Afterwards, the first communication device determines the second optical power difference value based on the optical powers corresponding to the second wavelength light beam at the start time and the end time of the second time period.
[0018] In an embodiment of the present application, the first communication device obtains the first optical power difference and the second optical power difference by receiving the first optical power difference and the light beam of the second wavelength, and by sending light beams of different wavelengths for uplink and downlink. Another implementation method of the present solution is listed, reflecting the diversity of the solution.
[0019] In a possible implementation of the first aspect, the first communication device also receives a third optical power difference sent by a third communication device. The third optical power difference is obtained by the third communication device based on the optical powers corresponding to the first wavelength light beam at the start and end of the third time period. And the first communication device receives a second wavelength light beam also sent by the third communication device. Afterwards, the first communication device determines a fourth optical power difference based on the optical powers corresponding to the second wavelength light beam at the start and end of the fourth time period. And the bending radius of the second optical fiber and / or the bending length of the second optical fiber are determined based on the third optical power difference and the fourth optical power difference. Then, the first communication device can determine the fiber bending amount of the second optical fiber or whether there is fiber tapping on the second optical fiber based on the bending radius of the second optical fiber and / or the bending length of the second optical fiber.
[0020] In an embodiment of the present application, the first communication device also receives a third optical power difference and a light beam of a second wavelength sent by a third communication device, which means that the first communication device can monitor multiple optical fibers and further detect the quality of multiple optical fibers, thereby increasing the application scenarios of the solution.
[0021] In a possible implementation of the first aspect, the first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes a first optical fiber segment and a third optical fiber segment. When optical fiber eavesdropping exists on both the first optical fiber and the second optical fiber, the first communication device determines that optical fiber eavesdropping exists on the first optical fiber segment.
[0022] In the implementation manner of the present application, the first communication device can accurately determine the location of the optical fiber tapping, thereby improving the accuracy of the tapping detection.
[0023] In a possible implementation of the first aspect, the first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes a first optical fiber segment and a third optical fiber segment. When there is no eavesdropping on the first optical fiber and there is optical fiber eavesdropping on the second optical fiber, the first communication device determines that there is optical fiber eavesdropping on the third optical fiber segment. Alternatively, when there is optical fiber eavesdropping on the first optical fiber and there is no optical fiber eavesdropping on the second optical fiber, the first communication device determines that there is optical fiber eavesdropping on the second optical fiber segment.
[0024] In the implementation manner of the present application, the first communication device can accurately determine the location of the optical fiber tapping, thereby improving the accuracy of the tapping detection.
[0025] In a possible implementation manner of the first aspect, the first communication device determines the bending radius and / or the bending length in the following manner:
[0026] R=-log((A c2 B Δ1 ) / A c1 B Δ2 ) / (U1-U2), L=BΔ1 / α c1 Or L = B Δ2 / α c2 Where R is the bending radius, L is the bending length, and B Δ1 is the first optical power difference, B Δ2 is the second optical power difference, α c1 is the fiber attenuation coefficient of the first beam, α c2 is the fiber attenuation coefficient of the second beam, A c1 、U1、A c2 , U2 is used to refer to the formula for obtaining the optical fiber attenuation coefficient.
[0027] In the implementation manner of the present application, the first communication device obtains the bending radius and the bending length based on a formula, and lists specific methods for obtaining the bending radius and the bending length, thereby increasing the reliability of the solution.
[0028] In a possible implementation of the first aspect, the light beam may be a single wavelength or multiple continuous wavelengths. Alternatively, the light beams may be in the same frequency band or in different frequency bands.
[0029] In the embodiments of the present application, the light beam may be a single wavelength or multiple continuous wavelengths, or the light beam may be of the same or different frequency bands. The diversity of the light beam further reflects the diversity and selectivity of the solutions.
[0030] In a second aspect, a communication device is provided, which has the function of implementing the method of the first aspect or any possible implementation of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0031] In the implementation manner of the present application, the communication device of the second aspect executes the method described in the first aspect of the present application or any possible implementation manner of the first aspect.
[0032] According to a third aspect, a communication device is provided, which may include a processor coupled to a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions in the memory so that the communication device performs the method described in the first aspect of the present application or any possible implementation of the first aspect.
[0033] In a fourth aspect, another communication device is provided, comprising a processor for executing a computer program (or computer executable instructions) stored in a memory, wherein when the computer program (or computer executable instructions) is executed, the method in the first aspect and each possible implementation of the first aspect is executed.
[0034] In one possible implementation, the processor and the memory are integrated together; or, in another possible implementation, the memory is located outside the communication device. The communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and / or signals. Exemplarily, the communication interface can be an optical transceiver or other types of communication interfaces.
[0035] The fifth aspect provides a computer-readable storage medium, comprising computer-readable instructions. When the computer-readable instructions are executed on a computer, the method described in the first aspect of the present application or any possible implementation of the first aspect is executed.
[0036] In a sixth aspect, a computer program product is provided, comprising computer-readable instructions, which, when executed on a computer, enables the method described in the first aspect of the present application or any possible implementation of the first aspect to be executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a schematic diagram of optical power loss;
[0038] Figure 2 A schematic diagram of a method for detecting optical fiber quality provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of an application scenario provided by an embodiment of the present application;
[0040] Figure 4 Another schematic diagram of an application scenario provided by an embodiment of the present application;
[0041] Figure 5 A schematic diagram of an application scenario in which an OLT provided in an embodiment of the present application corresponds to multiple ONUs;
[0042] Figure 6 A schematic diagram of an application system provided in an embodiment of the present application;
[0043] Figure 7 A structural schematic diagram of a communication device provided for an application embodiment. DETAILED DESCRIPTION
[0044] The embodiment of the present application provides a method for detecting the quality of optical fiber and a related device thereof, which are applied in the field of communications. The optical power change values detected by light beams of different wavelengths at different times are used to obtain the bending radius and bending length of the optical fiber, and the optical fiber bending amount of the optical fiber to be detected is obtained or it is determined whether there is optical fiber tapping in the current optical fiber, so as to detect the specific degree of damage to the optical fiber quality, and no additional hardware support is required, thus reducing costs.
[0045] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0046] To facilitate the subsequent understanding of the embodiments of the present application, key technologies such as optical fiber eavesdropping and optical fiber bending loss model are briefly introduced below.
[0047] Fiber bending method: Fiber bending method is a typical attack method in fiber optic eavesdropping technology. Its principle is to strip the outer cladding of the optical cable to the bare fiber for bending, so that the incident angle of light on the core cladding interface is less than the critical angle of total internal reflection, and some light passes through its cladding and radiates out of the optical fiber.
[0048] For example, information can be intercepted between the receiver and sender of data through a fiber optic clamp. The fiber optic clamp is a device that allows optical signals to enter and exit the optical fiber without cutting the optical fiber at the middle point of the optical fiber. Specifically, the optical fiber is clamped by the fiber optic clamp, and the fiber optic clamp is connected to other instruments to intercept the communication information in the optical path.
[0049] Fiber bending loss model: There are currently a variety of theoretical analytical formulas for fiber macrobending loss, mainly using the scalar approximation method. Its theoretical models can be divided into two categories: core-infinite cladding structure theoretical model and core-cladding-infinite coating structure theoretical model. But in general, the fiber bending loss per unit distance is related to the fiber material, bending radius and bending length. Figure 1 It is a schematic diagram of optical power loss. The horizontal axis is wavelength and the unit is nanometer, the vertical axis is optical power loss, the unit is decibel, and the bending radii of the three curves are different, namely 5.4 mm, 6.4 mm and 7.1 mm. The bending loss per unit length of different wavelengths for the same bending radius is different, and the bending loss per unit length of the same wavelength under different bending radii is different. The following formula is a fiber bending loss formula under a model, in which the specific parameters can be determined by strategic fiber calibration, and the values here are only indicative values. The specific formula is as follows:
[0050]
[0051]
[0052]
[0053] Where λ is the wavelength, cf is the cut-off wavelength (the specific value depends on the fiber material), R is the bending radius, L is the length of the bent portion of the fiber, i.e. the bending length, Δ is the relative refractive index difference from the fiber core to the cladding, Δ=(n1-n2) / n2 (n is the refractive index), α c is the fiber attenuation coefficient, which indicates the fiber attenuation per unit distance in dB per meter.
[0054] B Δ =α c *L.
[0055] Before introducing the embodiments of the present application, in order to facilitate the subsequent understanding of the embodiments of the present application, a common optical fiber eavesdropping detection solution is first briefly introduced.
[0056] Eavesdropping detection based on optical power changes mainly detects fiber eavesdropping through strategies and analysis of optical signal attenuation or loss. Specifically, by detecting the power data of the pending optical fiber receiving and transmitting signals, the optical power loss of the optical fiber channel is obtained and compared with the normal loss value. When the current optical power loss is greater than the normal loss value, it can be considered that there is currently fiber eavesdropping, thereby discovering active intrusion behaviors such as fiber eavesdropping.
[0057] In addition, eavesdropping detection can also be achieved based on OTDR link status detection. Since fiber information interception requires the extraction of part of the optical signal, OTDR can be used to detect whether there is fiber eavesdropping by observing the position within the fiber track where the signal power is reduced. The basic principle is to emit a pulse signal containing a certain amount of energy into the optical fiber. The signal will propagate forward along the optical fiber. When it hits a component on the link, it will reflect the optical signal forward. The optical fiber link can be monitored by analyzing the return intensity and time of the reflected light.
[0058] However, in the current network environment, due to various natural events, such as overhead optical cables, which are located at high places, they are easily affected by natural disasters, and are also easily affected by external forces and the weakening of their own mechanical strength, causing the optical power jitter of the receiver. Direct buried optical cables are buried directly underground, and due to factors such as soil materials and ground vibrations, the optical power jitter of the receiver can also be caused. Therefore, eavesdropping detection based on optical power changes can only rely on the natural jitter of optical power changes to detect whether there is eavesdropping, and its detection accuracy is low. OTDR detection requires separate hardware with high cost, and cannot distinguish between welding and bending, and cannot distinguish between complete and optical fiber eavesdropping caused by natural disasters.
[0059] In summary, current fiber optic eavesdropping detection has low accuracy in detecting eavesdropping behavior and may require additional hardware, which increases additional costs.
[0060] To solve the above-mentioned problems, the embodiment of the present application first provides a method for detecting the quality of an optical fiber and a related device thereof, which are applied in the field of communications. A first communication device obtains a first optical power difference and a second optical power difference, wherein the first optical power difference is the optical power change value of a light beam of a first wavelength transmitted by an optical fiber received in a first time period, and the second optical power difference is the optical power change value of a light beam of a second wavelength transmitted by an optical fiber received in a second time period. Then, the first communication device determines the bending radius and / or bending length of the optical fiber based on the first optical power difference and the second optical power difference. And the first communication device determines the optical fiber bending amount of the optical fiber or whether there is optical fiber tapping of the optical fiber based on the bending radius and the bending length. Among them, by obtaining the bending radius and the bending length of the optical fiber to be tested, the quality of the optical fiber can be detected, and the specific degree of damage of the optical fiber can be determined, that is, the quality and state of the current optical fiber can be determined based on the bending radius and the bending length of the optical fiber, and determining whether there is optical fiber tapping can detect whether the current optical fiber is tapped, that is, whether the optical fiber is safe. And no additional hardware is required, saving costs.
[0061] In order to better understand the embodiments of the present application, the following first describes in detail a method for transmitting data via a wireless network provided by the embodiments of the present application in conjunction with the accompanying drawings. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0062] For ease of understanding, the following describes a method for detecting optical fiber quality provided by an embodiment of the present application. For details, please refer to Figure 2 , Figure 2 A schematic diagram of a method for detecting optical fiber quality provided in an embodiment of the present application. Specifically comprising:
[0063] A1. The first communication device obtains a first optical power difference and a second optical power difference.
[0064] The first communication device obtains a first optical power difference and a second optical power difference, wherein the first optical power difference is a change in optical power of a light beam of a first wavelength transmitted by an optical fiber received in a first time period, and the second optical power difference is a change in optical power of a light beam of a second wavelength transmitted by an optical fiber received in a second time period.
[0065] In a possible implementation, a first communication device receives a light beam of a first wavelength and a light beam of a second wavelength. The first communication device obtains a first optical power, a second optical power, a third optical power, and a fourth optical power, wherein the first optical power and the second optical power are respectively the optical powers of the light beam of the first wavelength at the start and end of the first time period, and the third optical power and the fourth optical power are respectively the optical powers of the light beam of the second wavelength at the start and end of the second time period. Then, the first communication device determines a first optical power difference based on the first optical power and the second optical power, and determines a second optical power difference based on the third optical power and the fourth optical power.
[0066] For example, see below Figure 3 The example of Figure 3 A schematic diagram of an application scenario provided for an embodiment of the present application. Wherein, site A and site B respectively include at least one optical transponder unit (OTU), a multiplexer (MUX), a demultiplexer (DMUX), an optical amplifier (OA), and a fiber interface unit (FIU). Wherein, the OTU acts as a service board to send or receive light beams, and the MUX acts as a combining board to transmit multiple light beams sent by multiple OTUs to the FIU board through the OA, and the FIU board is used for combining and demultiplexing the main optical channel and the optical monitoring channel.
[0067] Among them, site A is explained as an example of the first communication device, and site A receives the light beam of the first wavelength and the light beam of the second wavelength sent by site B through the optical fiber. Specifically, OTU3 of site B can send the light beam of the first wavelength to OTU1 of site A, and OTU4 of site B can send the light beam of the second wavelength to OTU2 of site A, so that site A receives two light beams of different wavelengths, namely the light beam of the first wavelength and the light beam of the second wavelength. It can be understood that site A can receive the light beam of the first wavelength and the light beam of the second wavelength at the same time, or it can receive them at intervals, which is not limited here.
[0068] OTU1 and OTU2 at site A receive the light beam of the first wavelength and the light beam of the second wavelength respectively through DMUX demultiplexing, and detect the optical power of the optical signal, i.e., the light beam, in real time. At the start and end of the first time period, OTU1 obtains the first optical power and the second optical power respectively, and at the start and end of the second time period, OTU2 obtains the second optical power and the fourth optical power respectively.
[0069] The first time period and the second time period may be the same. It should be noted that the start time of the first time period and the second time period may be different, which is not limited here. For example, the first time period and the second time period may be separated by a shorter time interval of 1 second, 1 minute, 2 seconds or 2 minutes. It is understandable that the time interval may be determined based on actual conditions, which is not limited here. The start time of the first time period and the start time of the second time period are less than the duration of a wiretap, such as 5 minutes, 1 hour or 1 day, which may be determined based on actual conditions, which is not limited here.
[0070] OTU1 determines the difference between the first optical power and the second optical power as the first optical power difference, and OTU2 determines the difference between the third optical power and the fourth optical power as the second optical power difference.
[0071] In a possible implementation, the light beam may be a single wavelength or multiple continuous wavelengths, or the light beam may be in the same frequency band or in different frequency bands.
[0072] In the embodiments of the present application, the light beam may be a single wavelength or multiple continuous wavelengths, or the light beam may be of the same or different frequency bands. The diversity of the light beam further reflects the diversity and selectivity of the solutions.
[0073] It should be noted that the above Figure 3 In the example, the first communication device may also be site B or other communication device that can receive the light beam and obtain optical power, which is not limited here.
[0074] In an embodiment of the present application, a first communication device receives a light beam of a first wavelength and a light beam of a second wavelength of different wavelengths, and obtains a first optical power, a second optical power, a third optical power and a fourth optical power in real time, and then obtains a first optical power difference and a second optical power difference. The specific implementation method of the present solution is listed, reflecting the reliability of the solution.
[0075] In addition, in a possible implementation, the first communication device sends a light beam of a first wavelength to the second communication device through the first optical fiber, and receives a first optical power difference sent by the second communication device, wherein the first optical power difference is obtained by the second communication device based on the optical powers corresponding to the light beam of the first wavelength at the start moment and the end moment of the first time period, and the first communication device receives the light beam of a second wavelength sent by the second communication device through the first optical fiber, and determines the second optical power difference based on the optical powers corresponding to the light beam of the second wavelength at the start moment and the end moment of the second time period.
[0076] Figure 4Another schematic diagram of an application scenario provided for an embodiment of the present application. It includes an optical line terminal (OLT), an optical network unit (ONU) and an optical distribution network (ODN). The OLT is connected to the optical splitter, i.e., the ODN, through a single optical fiber, and the ODN is connected to the ONU or the optical network terminal (ONT).
[0077] Exemplarily, an optical wavelength division multiplexer is used to transmit data of different upstream / downstream wavelengths on the same ODN, and the wavelength range is 1290-1330nm in the upstream direction and 1480-1500nm in the downstream direction. That is, from OLT to ONU is the downstream direction, and from ONU to OLT is the upstream direction. In the downstream direction, OLT broadcasts data to each ONU, and in the upstream direction, ONU uses time division multiplexing mode to send data in sequence.
[0078] That is, the OLT, as an example of the first communication device, can send a light beam of the first wavelength to the ONU through the first optical fiber. The first optical fiber includes an optical fiber from the OLT to the ODN and an optical fiber from the ODN to the ONU. When the ONU receives the light beam of the first wavelength, it obtains the corresponding optical power in real time, and uses the difference between the optical power at the start time and the end time of the first time period as the first optical power difference.
[0079] The OLT receives the light beam of the second wavelength sent by the ONU, and obtains the corresponding optical power in real time, and uses the difference between the optical powers corresponding to the start time and the end time of the second time point as the second optical power difference.
[0080] It should be noted that the specific time of the first time period and the second time period are similar to those described above and will not be repeated here.
[0081] In an embodiment of the present application, the first communication device obtains the first optical power difference and the second optical power difference by receiving the first optical power difference and the light beam of the second wavelength, and by sending light beams of different wavelengths for uplink and downlink. Another implementation method of the present solution is listed, reflecting the diversity of the solution.
[0082] In a possible implementation, the first communication device receives a third optical power difference value sent by the third communication device, wherein the third optical power difference value is obtained by the third communication device based on the optical powers corresponding to the first wavelength light beam at the start moment and the end moment of the third time period. The first communication device receives a second wavelength light beam sent by the third communication device, and then the first communication device determines a fourth optical power difference value based on the optical powers corresponding to the second wavelength light beam at the start moment and the end moment of the fourth time period.
[0083] For example, see Figure 5 Application scenarios, Figure 5 A schematic diagram of an application scenario in which an OLT provided in an embodiment of the present application corresponds to multiple ONUs.
[0084] Among them, it includes OLT, splitter and multiple ONUs. Among them, OLT can be used as an example of the first communication device, ONU1 can be used as an example of the second communication device, and ONU3 can be used as an example of the third communication device. After the OLT obtains the first optical power difference and the second optical power difference, the OLT can also send a light beam of the first wavelength to ONU2, and ONU2 obtains the optical power in real time and based on the optical power change value at the start moment and the end moment of the third time period, that is, the third optical power difference, and sends the light beam of the second wavelength and the third optical power difference to the OLT. Then the OLT obtains the optical power of the light beam of the second wavelength in real time, and determines the optical power change value at the start moment and the end moment of the fourth time period as the fourth optical power difference.
[0085] In an embodiment of the present application, the first communication device also receives a third optical power difference and a light beam of a second wavelength sent by a third communication device, which reflects that the first communication device can monitor multiple optical fibers, thereby increasing the application scenarios of the solution.
[0086] A2. The first communication device determines a bending radius and / or a bending length of the optical fiber based on the first optical power difference and the second optical power difference.
[0087] The first communication device determines a bending radius of the optical fiber and / or a bending length of the optical fiber based on the first optical power difference value and the second optical power difference value.
[0088] In a possible implementation manner, the first communication device determines the bending radius and / or the bending length in the following manner:
[0089] R=-log((A c2 B Δ1 ) / A c1 B Δ2 ) / (U1-U2), L=B Δ1 / α c1 Or L = B Δ2 / α c2 ;
[0090] R is the bending radius;
[0091] L is the bending length;
[0092] B Δ1 is the first optical power difference;
[0093] B Δ2 is the second optical power difference;
[0094] α c1 is the fiber attenuation coefficient of the first beam, α c2 is the fiber attenuation coefficient of the second light beam;
[0095] A c1 、U1、A c2 , U2 is used to refer to the formula for obtaining the optical fiber attenuation coefficient.
[0096] Exemplarily, the first communication device is based on the first optical power difference value B Δ1 And the second optical power difference, B Δ2 According to the above formula, R and L are obtained, where A c1 、U1、A c2 , U2 can be obtained by the above formula, as follows:
[0097]
[0098]
[0099]
[0100]
[0101]
[0102] Δ=(n1-n2) / n2;
[0103] Based on the above formula, we can get R = -log ((A c2 B Δ1 ) / A c1 B Δ2 ) / (U1-U2).
[0104] And from the aforementioned end-to-end attenuation (i.e., optical power difference) B Δ =α c *L gets L = B Δ1 / α c1 Or L = B Δ2 / α c2 .
[0105] In the implementation manner of the present application, the first communication device obtains the bending radius and the bending length based on a formula, and lists specific methods for obtaining the bending radius and the bending length, thereby increasing the reliability of the solution.
[0106] It should be noted that the first communication device can also be obtained according to other formulas, which are not specifically limited here.
[0107] In a possible implementation, the first communication device obtains the bending radius and bending length based on the optical power difference corresponding to the light beams of multiple wavelengths. Exemplarily, for example, a cross-calculation average value, a clustering algorithm, etc. are used to obtain the corresponding bending radius and bending length based on the multiple optical power differences. This can improve data accuracy.
[0108] In a possible implementation, after the first communication device obtains the third optical power difference and the fourth optical power difference, the first communication device determines the bending radius of the second optical fiber and / or the bending length of the second optical fiber based on the third optical power difference and the fourth optical power difference. Figure 3 The example is described in detail here.
[0109] A3. The first communication device determines the bending amount of the optical fiber or whether optical fiber tapping exists based on the bending radius and / or the bending length.
[0110] The first communication device determines the fiber bending amount of the optical fiber and whether there is fiber tapping of the optical fiber based on the bending radius and the bending length.
[0111] In a possible implementation, when the bending radius is less than a first eavesdropping threshold, and / or the bending length is less than a second eavesdropping threshold, the first communication device determines that there is fiber eavesdropping. The first eavesdropping threshold is used to indicate the threshold of the bending radius of the optical fiber corresponding to the fiber eavesdropping, and the second eavesdropping threshold is used to indicate the threshold of the bending length of the optical fiber corresponding to the fiber eavesdropping. Alternatively, when the bending radius is greater than the first eavesdropping threshold, and the bending length is greater than the second eavesdropping threshold, the first communication device determines that there is no eavesdropping behavior on the first optical fiber.
[0112] For example, the aforementioned Figure 1 It can be seen that the bending loss per unit length of the same optical fiber at different wavelengths and the same bending radius is different, that is, the optical loss is different. The bending loss per unit length of the same wavelength is different under different bending radii. And the bending radius caused by natural bending is greater than the bending radius caused by clamp eavesdropping. Exemplarily, the bending radius caused by the clamp may be in the mm level, such as 5mm. It can be understood that the mm level and 5mm are only used as examples and do not limit the embodiments of the present application. And the bending length caused by natural bending is also greater than the bending length caused by clamp eavesdropping.
[0113] like Figure 3In the embodiment, the bending radius of the optical fiber between the first communication device, i.e., site A and site B, is less than the first eavesdropping threshold, and / or the bending radius is less than the second eavesdropping threshold. The first eavesdropping threshold and the second eavesdropping threshold may be [5 mm, 1 cm] or [6 mm, 0.8 cm], which is only used as an example here. It is understood that in actual situations, the first eavesdropping threshold and the second eavesdropping threshold may be determined according to actual situations.
[0114] And when the bending radius and the bending length are greater than the first eavesdropping threshold and the second eavesdropping threshold, it is determined that there is no optical fiber eavesdropping behavior in the current optical fiber.
[0115] In the implementation of the present application, the first communication device determines whether there is optical fiber eavesdropping by comparing the bending radius and the bending length with the first eavesdropping threshold and the second eavesdropping threshold, respectively, which can effectively improve the accuracy of eavesdropping detection without requiring additional hardware and saving costs.
[0116] In a possible implementation, when the bending radius is greater than a first disaster threshold, and / or the bending length is greater than a second disaster threshold, the first communication device determines that the optical fiber suffers from a natural disaster. The first disaster threshold is used to indicate a threshold of a bending radius caused by a natural disaster on the optical fiber, and the second disaster threshold is used to indicate a threshold of a bending length caused by a natural disaster on the optical fiber.
[0117] For example, Figure 3 In the example, when the bending radius of the optical fiber between site A and site B is greater than the preset first disaster threshold, or the bending length is greater than the second disaster threshold, site A determines that the current optical fiber is suffering from a natural disaster. The first disaster threshold and the second disaster threshold can be the minimum thresholds caused by natural disasters to the optical fiber.
[0118] In the implementation of the present application, the first communication device determines that the optical fiber is suffering from a natural disaster by comparing the bending radius and the bending length with the first disaster threshold and the second disaster threshold, respectively. The current state of the optical fiber can be effectively and timely determined, and maintenance can be carried out in a timely and effective manner without the need for additional hardware, thus saving costs.
[0119] In a possible implementation, the first communication device determines the bending amount of the optical fiber based on the bending radius and / or the bending length. Exemplarily, the first communication device determines the current bending amount of the optical fiber as the current bending radius and bending length based on the bending radius and / or the bending length, so as to accurately obtain the current state of the optical fiber, so as to determine whether the optical fiber is in a normal state and evaluate the quality of the optical fiber in real time.
[0120] In a possible implementation, in a sensing application scenario, the first communication device senses the shape of an object or the size of pressure based on the bending radius and / or bending length, which can be specifically determined according to actual conditions and is not specifically limited here.
[0121] In a possible implementation, the first communication device determines the fiber bending amount of the second optical fiber or whether fiber tapping occurs on the second optical fiber based on the bending radius of the second optical fiber and / or the bending length of the second optical fiber.
[0122] For example, in Figure 5 In the example, after obtaining the bending radius and / or bending length of the second optical fiber, the first communication device, namely the OLT, can determine the bending amount of the second optical fiber or whether there is optical fiber tapping of the second optical fiber based on the bending radius and / or bending length of the second optical fiber. Figure 3 The example described is similar to that described in , and the details are not repeated here.
[0123] In addition, optionally, the aforementioned first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes a first optical fiber segment and a third optical fiber segment. In the case that both the first optical fiber and the second optical fiber are wiretapped, the first communication device determines that the first optical fiber segment is wiretapped. Alternatively, in the case that there is no wiretap on the first optical fiber and there is wiretap on the second optical fiber, the first communication device determines that there is wiretap on the third optical fiber segment, or in the case that there is wiretap on the first optical fiber and there is no wiretap on the second optical fiber, the first communication device determines that there is wiretap on the second optical fiber segment.
[0124] For example, Figure 5 In the example, when the optical fiber between the second communication device, namely ONU1, and the optical splitter is the second optical fiber segment, the optical fiber between the optical splitter and the first communication device OLT is the first optical fiber segment, and the optical fiber between the optical splitter and the third communication device ONU2 is the third optical fiber segment. When there is optical fiber tapping between OLT and ONU1, and there is also optical fiber tapping between ONU2 and OLT, it is determined that there is optical fiber tapping in the first optical fiber segment.
[0125] Alternatively, when there is no fiber tapping between the OLT and ONU1, and there is fiber tapping between the OLT and ONU2, the OLT determines that there is fiber tapping in the third fiber segment. Alternatively, when there is no fiber tapping between the OLT and ONU2, and there is fiber tapping between the OLT and ONU1, the OLT determines that there is fiber tapping in the second fiber segment.
[0126] In the implementation manner of the present application, the first communication device can accurately determine the location of the optical fiber tapping, thereby improving the accuracy of the tapping detection.
[0127] It should be noted that the above Figure 3 , Figure 4 as well as Figure 5This is only used as an example to understand the embodiments of the present application and does not impose any substantial limitation on the present application. The present solution can also be applied to other application scenarios, such as the aforementioned sensing scenario or optical fiber quality assessment scenario.
[0128] In an embodiment of the present application, the first communication device obtains a first optical power difference and a second optical power difference, wherein the first optical power difference is a change in optical power of a light beam of a first wavelength transmitted by an optical fiber received in a first time period, and the second optical power difference is a change in optical power of a light beam of a second wavelength transmitted by an optical fiber received in a second time period. Then, the first communication device determines the bending radius and / or bending length of the optical fiber based on the first optical power difference and the second optical power difference. And the first communication device determines the fiber bending amount of the optical fiber or whether there is fiber tapping of the optical fiber based on the bending radius and the bending length. Wherein, by obtaining the bending radius and the bending length of the optical fiber to be tested, the quality of the optical fiber can be detected, and the specific degree of damage of the optical fiber can be determined, that is, the quality and state of the current optical fiber can be determined based on the bending radius and the bending length of the optical fiber, and determining whether there is fiber tapping can detect whether the current optical fiber is tapped, that is, whether the optical fiber is safe. And no additional hardware is required, saving costs.
[0129] In order to better understand the embodiments of the present application, a specific application system is provided as an example for explanation. Figure 6 , Figure 6 A schematic diagram of an application system provided for an embodiment of the present application. It includes n transmitters, a combiner board, a splitter board, and n receivers, wherein the n receivers and a main control board. The first communication device may include at least n receivers and a main control board, or the first communication device may also be a main control board, which is not limited here. Transmitters 1-transmitters n respectively transmit a plurality of light beams of different wavelengths (corresponding to wavelengths (λ1, λ2, ..., λ n )), the combiner board combines multiple light beams of different wavelengths into one optical fiber for long-distance transmission, and then the splitter board splits the multiple light beams of different wavelengths and releases them to the corresponding receivers 1-receiver n. Receivers 1-receiver n respectively obtain the optical power of the corresponding light beams in real time and upload the obtained optical power to the main control board. The main control board can collect and compare the current optical power with the change in optical power at a certain moment in history, such as the last second, that is, the optical power difference corresponding to the multiple wavelengths of the light beam (B Δ1 ,B Δ2 ,…,B Δn ), and the main control board is based on (B Δ1 ,B Δ2 ,…,B Δn) obtain the bending radius and bending length of the optical fiber, which is similar to the description in the aforementioned step A2, and will not be described in detail here. The first eavesdropping threshold can be set to 5mm, and the second eavesdropping threshold can be set to 5mm. When the bending radius of the current optical fiber is detected to be 4mm, it can be determined that the current optical fiber has optical fiber eavesdropping.
[0130] It should be noted that the aforementioned main control board can be a processor, a processing unit or other hardware, or can also be implemented by software, which is not specifically limited here.
[0131] The implementation methods of the present application list the implementation methods of optical fiber eavesdropping. The bending radius and bending length of the optical fiber can be determined based on the optical power difference of light beams of different wavelengths in the optical fiber, and then the presence of eavesdropping in the optical fiber can be determined, thereby improving the accuracy of eavesdropping detection without requiring additional costs.
[0132] It needs to be said that Figure 6 This is only an example for understanding the specific implementation process of the embodiments of the present application and does not impose any substantial limitation on your application.
[0133] The above is a detailed introduction to a method for detecting optical fiber quality provided by an embodiment of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
[0134] In order to implement the functions of the method provided in the above embodiment of the present application, the communication device may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0135] like Figure 7 As shown, the embodiment of the present application also provides a communication device, which is applied in the field of communication. Figure 7 , Figure 7 A schematic diagram of a communication device provided in an embodiment of the application. In a possible implementation, the communication device may include executing the method in the embodiment of the above method. Figure 2The communication device 700 may include a processor 701. The processor 701 may be used to execute the above-mentioned Figure 2 The method embodiment shown includes steps A1, A2 and A3.
[0136] In another possible design, the communication device 700 further includes an optical transceiver 702. The optical transceiver 702 is used to perform the steps of receiving or sending a light beam of a first wavelength, and receiving or sending a light beam of a second wavelength in the aforementioned method embodiment.
[0137] In another possible design, the communication device 700 further includes a memory 704 and one or more storage media 705 (e.g., one or more storage devices). The memory 704 and the storage medium 705 may be temporary storage or permanent storage. The program stored in the storage medium 705 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the communication device 700.
[0138] The communication device 700 may also include one or more power supplies 703 .
[0139] In other possible designs, the processor 701 and the optical transceiver 702 may execute the methods / operations / steps / actions in various possible implementations of the first communication device in the method embodiment one by one.
[0140] In one possible design, the processor 701 executes the above Figure 2 The method embodiment includes the step of determining that there is optical fiber eavesdropping based on the bending radius being less than the first eavesdropping threshold and / or the bending length being less than the second eavesdropping threshold. Alternatively, when the bending radius is greater than the first eavesdropping threshold and the bending length is greater than the second eavesdropping threshold, determining that there is no eavesdropping behavior on the first optical fiber.
[0141] In one possible design, the processor 701 executes the above Figure 2 The method embodiment includes the step of determining that the optical fiber suffers from a natural disaster based on the bending radius being greater than the first disaster threshold and / or the bending length being greater than the second disaster threshold.
[0142] In a possible design, the processor 701 is further configured to execute the above Figure 2The method embodiment includes the steps of obtaining the first optical power, the second optical power, the third optical power and the fourth optical power, and determining the first optical power difference based on the first optical power and the second optical power, and determining the second optical power difference based on the third optical power and the fourth optical power.
[0143] In a possible design, the optical fiber is a first optical fiber, and the optical transceiver 702 is specifically used to perform the above Figure 2 The method further comprises the steps of sending a light beam of a first wavelength to a second communication device through a first optical fiber, and receiving a first optical power difference value sent by the second communication device. The method further comprises the steps of receiving a light beam of a second wavelength sent by the second communication device through the first optical fiber.
[0144] The processor 701 is specifically configured to execute the above Figure 2 The step of determining the second optical power difference.
[0145] In a possible design, the optical transceiver 702 is also used to perform the above Figure 3 The method embodiment includes a step of receiving a third optical power difference value sent by a third communication device and a step of receiving a light beam of a second wavelength sent by the third communication device.
[0146] The processor 701 is also used to execute the Figure 2 The method embodiment includes a step of determining a fourth optical power difference, a step of determining a bending radius of the second optical fiber and / or a bending length of the second optical fiber, and a step of determining a fiber bending amount of the second optical fiber or whether there is fiber tapping of the second optical fiber.
[0147] In a possible design, the first optical fiber includes a first optical fiber segment and a second optical fiber segment, the second optical fiber includes a first optical fiber segment and a third optical fiber segment, and the processor 702 is further configured to execute the above Figure 2 The method embodiment includes a step of determining whether fiber tapping exists in the first fiber segment, or determining whether fiber tapping exists in the third fiber segment, or determining whether fiber tapping exists in the second fiber segment.
[0148] In a possible design, the processor 701 is specifically configured to: Figure 2 The method embodiment includes a step of determining the first parameter and / or the second parameter according to a formula.
[0149] Please refer to the above for the beneficial effects of the various communication devices designed in this application. Figure 2 The beneficial effects of the various corresponding implementation methods in the method embodiments will not be described in detail here.
[0150] It should be noted that Figure 7 The information interaction, execution process, etc. between the modules / units in the communication device of the corresponding embodiment are the same as those in the present application. Figure 2 The first communication device in the corresponding method embodiment is based on the same concept. For specific contents, please refer to the description in the method embodiment shown above in this application, which will not be repeated here.
[0151] Another communication device provided in an embodiment of the present application includes a processor, which is coupled to a memory, the memory stores instructions, and the processor is used to execute the instructions so that the communication device executes any one of the implementation methods shown in the aforementioned method embodiments.
[0152] An embodiment of the present application also provides a computer-readable storage medium, including computer-readable instructions. When the computer-readable instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.
[0153] The embodiments of the present application also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.
[0154] The present application also provides a chip or chip system, which may include a processor. The chip may also include a memory (or storage module) and / or a transceiver (or communication module), or the chip is coupled to a memory (or storage module) and / or a transceiver (or communication module), wherein the transceiver (or communication module) can be used to support the chip for wired and / or wireless communication, and the memory (or storage module) can be used to store a program or a set of instructions, and the processor calls the program or the set of instructions to implement the above method embodiment, the operation performed by the terminal or the communication device in any possible implementation of the method embodiment. The chip system may include the above chip, and may also include the above chip and other separate devices, such as a memory (or storage module) and / or a transceiver (or communication module).
[0155] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0156] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0157] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0158] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state drive, SSD)), etc.
Claims
1. A method for detecting optical fiber quality, characterized in that: include: The first communication device acquires a first optical power difference and a second optical power difference, wherein the first optical power difference is a change value of the optical power of a light beam of a first wavelength transmitted by the optical fiber received in a first time period, and the second optical power difference is a change value of the optical power of a light beam of a second wavelength transmitted by the optical fiber received in a second time period; The first communication device determines the bending radius of the optical fiber and / or the bending length of the optical fiber based on the first optical power difference and the second optical power difference; The first communication device determines a fiber bending amount of the optical fiber or whether fiber tapping of the optical fiber exists based on the bending radius and / or the bending length.
2. The method according to claim 1, characterized in that The first communication device determines the optical fiber bending amount or whether there is optical fiber tapping based on the bending radius and / or the bending length, including: When the bending radius is less than a first wiretapping threshold, and / or the bending length is less than a second wiretapping threshold, the first communication device determines that there is fiber wiretapping, the first wiretapping threshold is used to indicate a threshold of a bending radius generated by the optical fiber corresponding to the fiber wiretapping, and the second wiretapping threshold is used to indicate a threshold of a bending length generated by the optical fiber corresponding to the fiber wiretapping; Alternatively, when the bending radius is greater than the first eavesdropping threshold, and the bending length is greater than the second eavesdropping threshold, the first communication device determines that there is no eavesdropping behavior on the optical fiber.
3. The method according to claim 1, characterized in that The first communication device determines the optical fiber bending amount or whether there is optical fiber tapping based on the bending radius and / or the bending length, including: When the bending radius is greater than a first disaster threshold, and / or the bending length is greater than a second disaster threshold, the first communication device determines that the optical fiber has suffered a natural disaster, the first disaster threshold is used to indicate the threshold of the bending radius caused by the natural disaster on the optical fiber, and the second disaster threshold is used to indicate the threshold of the bending length caused by the natural disaster on the optical fiber.
4. The method according to any one of claims 1 to 3, characterized in that The first communication device acquiring the first optical power difference and the second optical power difference comprises: The first communication device receives the light beam of the first wavelength and the light beam of the second wavelength; The first communication device acquires a first optical power, a second optical power, a third optical power, and a fourth optical power, wherein the first optical power and the second optical power are respectively the optical powers of the light beam of the first wavelength at the starting moment and the ending moment of the first time period, and the third optical power and the fourth optical power are respectively the optical powers of the light beam of the second wavelength at the starting moment and the ending moment of the second time period; The first communication device determines the first optical power difference based on the first optical power and the second optical power, and determines the second optical power difference based on the third optical power and the fourth optical power.
5. The method according to any one of claims 1 to 3, characterized in that: The optical fiber is a first optical fiber, and the first communication device obtains the first optical power difference and the second optical power difference, including: The first communication device sends the light beam of the first wavelength to the second communication device through the first optical fiber; The first communication device receives the first optical power difference sent by the second communication device, where the first optical power difference is obtained by the second communication device based on the optical powers corresponding to the light beam of the first wavelength at the start time and the end time of the first time period respectively; The first communication device receives the light beam of the second wavelength sent by the second communication device through the first optical fiber; The first communication device determines the second optical power difference based on the optical powers corresponding to the light beam of the second wavelength at the start time and the end time of the second time period respectively.
6. The method according to claim 5, characterized in that The method further comprises: The first communication device receives a third optical power difference value sent by a third communication device, where the third optical power difference value is obtained by the third communication device based on the optical powers corresponding to the light beam of the first wavelength at the start time and the end time of a third time period respectively; The first communication device receives the light beam of the second wavelength sent by the third communication device; The first communication device determines a fourth optical power difference based on the optical powers corresponding to the light beam of the second wavelength at the start time and the end time of the fourth time period respectively; The first communication device determines the bending radius of the second optical fiber and / or the bending length of the second optical fiber based on the third optical power difference and the fourth optical power difference; The first communication device determines the fiber bending amount of the second optical fiber or whether the fiber tapping exists on the second optical fiber based on the bending radius of the second optical fiber and / or the bending length of the second optical fiber.
7. The method according to claim 6, characterized in that The first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes the first optical fiber segment and a third optical fiber segment. In the case that the optical fiber eavesdropping exists on both the first optical fiber and the second optical fiber, the method further includes: The first communication device determines that the optical fiber tapping exists in the first optical fiber segment.
8. The method according to claim 6, characterized in that The first optical fiber includes a first optical fiber segment and a second optical fiber segment, the second optical fiber includes the first optical fiber segment and a third optical fiber segment, and the method further includes: In the case that the first optical fiber does not have the eavesdropping behavior and the second optical fiber has the optical fiber eavesdropping, the first communication device determines that the optical fiber eavesdropping exists in the third optical fiber segment; Alternatively, when the fiber tapping exists in the first optical fiber and the fiber tapping does not exist in the second optical fiber, the first communication device determines that the fiber tapping exists in the second optical fiber segment.
9. The method according to any one of claims 1 to 8, characterized in that The first communication device determines the bending radius of the optical fiber and / or the bending length of the optical fiber based on the first optical power difference and the second optical power difference, including: The first communication device determines the bending radius and / or the bending length in the following manner: R = -log((A c2 B Δ1 ) / A c1 B Δ2 ) / (U1 - U2), L = B Δ1 / α c1 or L = B Δ2 / α c2 ; R is the bending radius; L is the bending length; B Δ1 is the first optical power difference; B Δ2 is the second optical power difference; α c1 is the fiber attenuation coefficient of the first light beam, α c2 is the optical fiber attenuation coefficient of the second light beam; A c1 、U1、A c2 , U2 is used to refer to the formula for obtaining the optical fiber attenuation coefficient.
10. A communication device, characterized in that: The communication device includes a processor; The processor is used to obtain a first optical power difference and a second optical power difference, wherein the first optical power difference is an optical power change value of a light beam of the first wavelength transmitted by the optical fiber received in a first time period, and the second optical power difference is an optical power change value of a light beam of the second wavelength transmitted by the optical fiber received in a second time period; The processor is further configured to determine a bending radius of the optical fiber and / or a bending length of the optical fiber based on the first optical power difference value and the second optical power difference value; The processor is further configured to determine a fiber bending amount of the optical fiber or whether fiber tapping of the optical fiber occurs based on the bending radius and the bending length.
11. The device according to claim 10, characterized in that When the bending radius is less than a first eavesdropping threshold, and / or the bending length is less than a second eavesdropping threshold, the processor is specifically configured to determine that there is optical fiber eavesdropping, wherein the first eavesdropping threshold is used to indicate a threshold of a bending radius generated by the optical fiber corresponding to the optical fiber eavesdropping, and the second eavesdropping threshold is used to indicate a threshold of a bending length generated by the optical fiber corresponding to the optical fiber eavesdropping; Alternatively, when the bending radius is greater than the first eavesdropping threshold, and the bending length is greater than the second eavesdropping threshold, the processor is specifically configured to determine that there is no eavesdropping behavior on the first optical fiber.
12. The device according to claim 10, characterized in that When the bending radius is greater than a first disaster threshold, and / or the bending length is greater than a second disaster threshold, the processor is specifically used to determine that the optical fiber has suffered a natural disaster, the first disaster threshold is used to indicate a threshold of a bending radius caused by the natural disaster on the optical fiber, and the second disaster threshold is used to indicate a threshold of a bending length caused by the natural disaster on the optical fiber.
13. The device according to any one of claims 10 to 12, characterized in that The communication device further includes an optical transceiver for receiving the light beam of the first wavelength and the light beam of the second wavelength; The processor is further used to obtain a first optical power, a second optical power, a third optical power and a fourth optical power, wherein the first optical power and the second optical power are respectively the optical powers of the light beam of the first wavelength at the starting moment and the ending moment of the first time period, and the third optical power and the fourth optical power are respectively the optical powers of the light beam of the second wavelength at the starting moment and the ending moment of the second time period; The processor is specifically configured to determine the first optical power difference based on the first optical power and the second optical power, and determine the second optical power difference based on the third optical power and the fourth optical power.
14. The device according to any one of claims 10 to 12, characterized in that The communication device further comprises an optical transceiver, the optical fiber is a first optical fiber, and the optical transceiver is used to send the light beam of the first wavelength to the second communication device through the first optical fiber; The optical transceiver is further used to receive the first optical power difference sent by the second communication device, where the first optical power difference is obtained by the second communication device based on the optical powers corresponding to the light beam of the first wavelength at the start time and the end time of the first time period respectively; The optical transceiver is specifically configured to receive the light beam of the second wavelength sent by the second communication device through the first optical fiber; The processor is specifically configured to determine the second optical power difference based on the optical powers corresponding to the light beam of the second wavelength at the start moment and the end moment of the second time period respectively.
15. The device according to claim 14, characterized in that The optical transceiver is further used to receive a third optical power difference value sent by a third communication device, wherein the third optical power difference value is obtained by the third communication device based on the optical powers corresponding to the light beam of the first wavelength at the start time and the end time of a third time period respectively; The optical transceiver is further configured to receive the light beam of the second wavelength sent by the third communication device; The processor is further configured to determine a fourth optical power difference based on the optical powers corresponding to the light beam of the second wavelength at the start time and the end time of the fourth time period respectively; The processor is further configured to determine a bending radius of the second optical fiber and / or a bending length of the second optical fiber based on the third optical power difference and the fourth optical power difference; The processor is further configured to determine the fiber bending amount of the second optical fiber or whether the fiber tapping exists on the second optical fiber based on the bending radius of the second optical fiber and / or the bending length of the second optical fiber.
16. The device according to claim 15, characterized in that The first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes the first optical fiber segment and a third optical fiber segment. When the optical fiber eavesdropping exists in both the first optical fiber and the second optical fiber, the processor is further used to determine that the optical fiber eavesdropping exists in the first optical fiber segment.
17. The device according to claim 15, characterized in that The first optical fiber includes a first optical fiber segment and a second optical fiber segment, and the second optical fiber includes the first optical fiber segment and a third optical fiber segment. In the case that the first optical fiber does not have the eavesdropping behavior and the second optical fiber has the optical fiber eavesdropping, the processor is further used to determine that the third optical fiber segment has the optical fiber eavesdropping behavior; Or, in a case where the fiber tapping exists in the first optical fiber and the fiber tapping does not exist in the second optical fiber, the processor is further configured to determine that the fiber tapping exists in the second optical fiber segment.
18. The device according to any one of claims 10 to 17, characterized in that The processor is specifically configured to determine the first parameter and / or the second parameter in the following manner: R = -log((A c2 B Δ1 ) / A c1 B Δ2 ) / (U1 - U2), L = B Δ1 / α c1 or L = B Δ2 / α c2 ; R is the bending radius; L is the bending length; B Δ1 is the first optical power difference; B Δ2 is the second optical power difference; α c1 is the fiber attenuation coefficient of the first light beam, α c2 is the optical fiber attenuation coefficient of the second light beam; A c1 、U1、A c2 , U2 is used to refer to the formula for obtaining the optical fiber attenuation coefficient.
19. A communication device, characterized in that: A processor, the processor is coupled to a memory, the memory stores instructions, and the processor is used to execute the instructions so that the communication device executes the method according to any one of claims 1 to 9.
20. A computer-readable storage medium comprising computer-readable instructions, characterized in that: When the computer-readable instructions are executed on a computer, the method according to any one of claims 1 to 9 is executed.
