Optical module, network device, communication system and co-cable detection method

By introducing electrical interfaces, electro-optical converters and optical interfaces into the optical modules, optical pulse signals with predetermined patterns are sent, and the same cable detection is realized, which solves the problems of high power consumption and increased volume of existing optical modules, and improves detection accuracy and efficiency.

CN119945542APending Publication Date: 2025-05-06HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311459552.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing optical modules consume a lot of power when performing same-cable detection, and due to the need to add a variety of devices to realize OTDR technology, the optical modules have increased volume, cost and poor heat dissipation.

Method used

By introducing an electrical interface, an electro-optical converter and an optical interface into the optical module, optical pulse signals with predetermined patterns are sent, so that the receiving end device can determine the position characteristics of the reflection point, thereby realizing the same-cable detection, reducing the dependence on OTDR technology and the need for additional devices.

Benefits of technology

It reduces the power consumption of optical modules, reduces the impact of additional devices on the overall optical module, avoids space occupation and cost increase, and improves the accuracy and efficiency of same-cable detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945542A_ABST
    Figure CN119945542A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an optical module, a network device, a communication system and a co-cable detection method, and the method comprises the steps: enabling a receiving end device to determine the position feature of a reflection point based on an electric signal generated by a received optical signal through transmitting an optical pulse signal with a preset code pattern by the optical module as a transmitting end; and whether the optical fiber links share the same cable or not can be conveniently detected based on the position characteristics of the reflection points of different optical fiber links. The same-cable detection is carried out no longer depending on the OTDR, but the receiving end equipment undertakes the task of determining the position characteristics of the reflection points, so that the limitation of the OTDR technology in application is reduced to a certain extent; therefore, the optical module serving as the transmitting end does not need to be provided with various additional devices for processing the reflected signals such as separating the reflected signals and sampling the reflected signals in order to realize the OTDR, and the power consumption of the whole optical module caused by the additional devices in the optical module of the transmitting end in the OTDR technology is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to an optical module, a network device, a communication system and a same-cable detection method. Background Art

[0002] In a communication network, the optical cable connecting two long-distance transmission devices usually passes through multiple optical switching boxes, which is equivalent to dividing an optical cable into multiple sections by multiple optical switching boxes. The optical switching box is deployed between the optical module connected to the sending end device and the optical module connected to the receiving end. For example, the optical module connected to the sending end device is connected to the first optical distribution frame (ODF) through an optical cable, the first ODF is connected to the first optical switching box through an optical cable, the first optical switching box is connected to the second optical switching box through an optical cable, the second optical switching box is connected to the second ODF through an optical cable, and the second ODF is connected to the optical module connected to the receiving end device through an optical cable. If different optical fiber links share the same optical cable segment, when this section of the optical cable is interrupted due to external reasons such as construction, all optical fiber links in this section of the optical cable will be interrupted, affecting communication reliability. Therefore, how to achieve same cable detection (i.e., detecting whether different optical fiber links are located in the same section of optical cable) is very important for optical communication networks.

[0003] When the optical module is used for co-cable detection based on the optical time domain reflectometry (OTDR) technology, the optical module uses a self-transmitting and self-receiving method to realize co-cable detection, and many devices such as a micro controller unit (MCU), a driver (DRV), a receiver optical sub-assembly (ROSA), and a filter are added inside the optical module to realize OTDR. Specifically, after the optical module at the transmitting end transmits the optical signal, when the optical signal is transmitted in the optical fiber link, it is refracted when it enters another connector from one connector in the optical fiber link. Part of the optical signal will be reflected back to generate a reflected signal. The optical module at the transmitting end receives the reflected signal through an additional device, separates the reflected signal and the original optical signal, and performs co-cable detection through the separated reflected signal.

[0004] When using OTDR for co-cable detection, many components need to be added to the optical module at the transmitting end, resulting in high power consumption of the optical module. Summary of the invention

[0005] The embodiments of the present application provide an optical module, a network device, an optical communication system and a same-cable detection method, which are helpful to reduce the power consumption of the optical module. The technical solution is as follows.

[0006] In a first aspect, an optical module is provided, which is a first optical module. The first optical module includes an electrical interface, an electro-optical converter and an optical interface. The electrical interface is connected to a first network device. The optical interface is connected to a second optical module through a first optical fiber link. The second optical module is also connected to a second network device. The first optical fiber link includes a reflection point. The electro-optical converter is used to generate a first optical signal. The first optical signal includes an optical pulse signal with a predetermined code type. The predetermined code type is used to describe the shape of a relationship curve between signal power and time. The optical interface is used to send the first optical signal to the second optical module through the first optical fiber link, so that the second network device determines the position characteristics of the reflection point in the first optical fiber link according to the electrical signal generated by the second optical module based on the received optical signal. The position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0007] Based on the optical module provided in the first aspect, the optical module as the transmitting end transmits an optical pulse signal with a predetermined code type so that the receiving end device determines the position characteristics of the reflection point based on the electrical signal generated by the received optical signal, so as to facilitate the detection of whether the optical fiber link is in the same cable based on the position characteristics of the reflection points of different optical fiber links. Since it is no longer dependent on OTDR for the same cable detection, but the receiving end device undertakes the task of determining the position characteristics of the reflection point, the limitations of the OTDR technology in application are reduced to a certain extent, so that the optical module as the transmitting end does not need to be provided with additional devices (such as MCU, MCM, DRV, ROSA and filter) for separating the reflection signal, sampling the reflection signal and other various processing reflection signals in order to realize OTDR, thereby reducing the power consumption of the optical module as a whole generated by the additional devices in the optical module of the transmitting end in the OTDR technology.

[0008] In addition, considering that optical modules tend to be packaged in miniaturized form factors, the optical module provided in this embodiment helps to achieve co-cable detection to a certain extent while avoiding the addition of additional components within the limited optical module space, so that the optical module can maintain a smaller size and does not need to occupy more space to house additional components. This reduces the technical difficulty of the transmitting optical module in the OTDR technology being constrained by the limited space of the optical module, which makes it difficult to deploy additional devices and leads to the inability to achieve co-cable detection, and reduces the dependence on the volume integration of the optical module.

[0009] In addition, since the hardware changes to the optical module are relatively small (based on the hardware structure of the optical module that does not require changes), it can also help to achieve cable co-detection to a certain extent. Therefore, it has good compatibility with existing optical modules, and helps to smoothly evolve existing optical modules to achieve cable co-detection. There is no need to re-iterate the hardware version of the optical module to perform cable co-detection, reducing the implementation complexity of cable co-detection based on optical modules.

[0010] In addition, the cost of the optical module as a whole caused by the additional components in the transmitting optical module in the OTDR technology is also saved.

[0011] In addition, the adverse effects of additional components in the transmitting optical module on the heat dissipation and energy saving of the optical module in the OTDR technology are also reduced.

[0012] In addition, there is no need to insert a dedicated OTDR module into the port of the mainboard of the transmitting device to implement the same cable detection, thereby saving the port occupied by the dedicated OTDR module on the mainboard of the transmitting device. Therefore, it helps to improve the port utilization rate of the mainboard of the transmitting device and is more suitable for application scenarios with high port density.

[0013] In some embodiments, the electro-optical converter includes a laser, and the first optical module is used to modulate the optical signal generated by the laser so that the laser outputs a first optical signal.

[0014] Since the optical signal generated by the laser is modulated so that the optical module sends an optical pulse signal with a predetermined code type, the execution position of the modulation of the signal code type is very close to the optical port. For example, after the optical module at the transmitting end executes signal processing processes such as electrical signal processing and electro-optical conversion and before transmitting the optical signal, the modulation of the signal code type is realized by top modulation, thereby reducing the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type caused by the execution of signal processing processes such as electrical signal processing and electro-optical conversion. Therefore, the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type reduces the interference caused by the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type on the receiving end device to determine the position characteristics of the reflection point, thereby helping to improve the receiving end device to determine the position characteristics of the reflection point, and then helping to improve the accuracy of the same cable detection.

[0015] In addition, the generation of optical pulse signals with a predetermined code type can be achieved based on a general optical module, without requiring the optical module to include oDSP to modulate the predetermined code type, thereby further expanding the range of optical modules applicable to the solution and reducing the requirements for the transmitting optical module for co-cable detection.

[0016] In addition, there is no need to modify the onboard service chip of the network device so that the onboard service chip of the network device can modulate the predetermined code type electrical signal, thereby reducing the requirements for the onboard service chip of the network device.

[0017] The laser is used to generate a first optical signal based on a first bias current, and a modulation curve between the first bias current and the output optical power of the laser corresponds to a predetermined code type.

[0018] By adjusting the bias current of the laser based on the modulation curve, the output optical power of the laser can fluctuate within a range corresponding to a predetermined code pattern, so that the laser can output an optical pulse signal with a predetermined code pattern.

[0019] The first optical module also includes a microcontroller unit MCU, which is used to generate a first bias current and input the first bias current to the laser; or, the electrical interface is also electrically connected to a signal source located outside the first optical module, and the electrical interface receives the first bias current from the signal source and inputs the first bias current to the laser.

[0020] The above provides multiple sources of bias current, which are applicable to more scenarios.

[0021] In some embodiments, the electro-optical converter further includes a driver; the driver is configured to generate a first driving electrical signal based on the first control signal, output the first driving electrical signal to the laser, and a modulation curve between the first driving electrical signal and the output optical power of the laser corresponds to a predetermined code pattern;

[0022] A laser is used to generate a first optical signal based on a first driving electrical signal.

[0023] Since the driver drives the laser to generate an optical pulse signal of a predetermined code type, on the one hand, the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type caused by the execution of signal processing processes such as electrical signal processing and electro-optical conversion is reduced, thereby reducing the interference caused by the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type on the position characteristics of the reflection point determined by the receiving end device, thereby helping to improve the position characteristics of the reflection point determined by the receiving end device, and further helping to improve the accuracy of the same cable detection. On the other hand, since the driver and the laser are common hardware in the optical module, there is no need to configure a dedicated signal processor in the optical module to modulate the optical pulse signal of the predetermined code type, thereby reducing the requirements for the optical module to modulate the optical pulse signal of the predetermined code type.

[0024] In some embodiments, the first optical module further includes an optical digital signal processor oDSP, the oDSP is used to generate a first electrical signal, the first electrical signal includes an electrical pulse signal with a predetermined code type; an electro-optical converter, used to perform electro-optical conversion on the first electrical signal to generate a first optical signal.

[0025] By adopting oDSP to generate an electrical signal with a predetermined code type, the electrical signal received by the electro-optical converter itself has the predetermined code type. Therefore, the optical signal output by the electro-optical converter after the electro-optical conversion of the electrical signal will also have the predetermined code type, thereby not relying on the business chip on the mainboard to generate an electrical signal with a predetermined code type. In addition, there is no need to require the electro-optical converter in the optical module to support top adjustment to generate an optical signal with a predetermined code type, thereby reducing the implementation complexity of the electro-optical converter in the optical module.

[0026] In some embodiments, the electrical interface is used to receive a first electrical signal from a first network device, where the first electrical signal includes an electrical pulse signal having a predetermined code type; and the electrical-to-optical converter is used to perform electrical-to-optical conversion on the first electrical signal to generate a first optical signal.

[0027] Since the electrical pulse signal received by the optical module itself has a predetermined code pattern, after the optical module performs electrical-optical conversion on the electrical pulse signal with the predetermined code pattern, the generated optical pulse signal will have the predetermined code pattern, thereby realizing the function of generating an optical pulse signal with a predetermined code pattern. In addition, there is no need to require the optical module to support top adjustment to generate an optical signal with a predetermined code pattern, thereby reducing the implementation complexity of the optical module.

[0028] In some embodiments, the electro-optical converter generates an optical pulse signal having a predetermined code pattern at predetermined time intervals, thereby generating a first optical signal, wherein the first optical signal includes an optical pulse signal having a plurality of cycles, and each optical pulse signal has a predetermined code pattern.

[0029] Considering that if the transmitting optical module only sends one cycle of optical pulse signal with a predetermined code type, and the receiving end device only samples one cycle of signal, the accuracy of the position characteristics of the reflection point determined by the receiving end may be insufficient due to the limited data amount of the sampled signal. By periodically sending the optical pulse signal with a predetermined code type by the transmitting optical module, the receiving end optical module can sample multiple cycles of signals, thereby increasing the data amount of the signal sampled by the receiving end optical module, which helps to improve the accuracy of the position characteristics of the reflection point determined by the receiving end.

[0030] In some embodiments, the duration of a pulse in the optical pulse signal of the predetermined code type is less than 1us, and the duty cycle of the optical pulse signal of the predetermined code type is less than 5%. Since the duration of the pulse signal is less than 1 microsecond, it is equivalent to that the signal pulse sent by the transmitter is very short, or the signal sent by the transmitter has a higher resolution in the time domain, so the sharpness and clarity of the signal can be increased, making it easier for the receiving end to detect the change of the pulse and more accurately identify the original signal (the optical pulse signal of the predetermined code type). In addition, it helps the receiving end to more accurately distinguish the starting position and the ending position of the original signal (the optical pulse signal of the predetermined code type) and the reflected signal (the secondary pulse signal), so that the result of the comparison of the main pulse signal and the secondary pulse signal by the receiving end is more accurate.

[0031] In some implementations, the predetermined code pattern includes a square wave, a sine wave, or a triangle wave.

[0032] Since the code type of the optical pulse signal modulated by the transmitting optical module can be various code types such as square wave pulse signal, sine wave pulse signal or triangle wave pulse signal, the dependence on the modulation format of the optical module is relatively small, which greatly broadens the types of applicable optical modules.

[0033] In some implementations, the predetermined code pattern is a square wave pulse signal.

[0034] Since the implementation complexity of generating a square wave pulse signal is low and the square wave pulse signal is relatively narrow (the duty cycle is relatively small), it is relatively simple for the receiving device to analyze the square wave pulse signal to obtain the position characteristics of the reflection point, thereby reducing the overall implementation complexity of the solution.

[0035] In a second aspect, an optical module is provided, the optical module is a second optical module, the second optical module includes an electrical interface, an optoelectronic converter, an analog-to-digital converter and an optical interface, the electrical interface is connected to the second network device, the optical interface is connected to the first optical fiber link, the first optical fiber link is connected to the first optical module, the first optical fiber link includes the first optical fiber link, and the first optical fiber link includes a reflection point;

[0036] An optical interface, used for receiving a first optical signal from a first optical module through a first optical fiber link, wherein the first optical signal comprises an optical pulse signal having a predetermined code pattern, wherein the predetermined code pattern is a shape of a curve of a relationship between signal power and time;

[0037] A photoelectric converter, used for performing photoelectric conversion on the first optical signal to obtain an analog electrical signal;

[0038] An analog-to-digital converter, used to sample the analog electrical signal at a predetermined sampling frequency to obtain a digital electrical signal, wherein a ratio between the predetermined sampling frequency and a signal frequency corresponding to a predetermined code pattern satisfies a condition;

[0039] An electrical interface is used to send a digital electrical signal to a second network device so that the second network device determines the position characteristics of a reflection point in the first optical fiber link based on the digital electrical signal, and the position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0040] Based on the optical module provided in the second aspect, after the optical module at the receiving end receives the optical signal from the optical fiber link, the optical module at the receiving end performs photoelectric conversion on the received optical signal to obtain an analog electrical signal; the optical module at the receiving end samples the analog electrical signal to obtain a digital electrical signal; the optical module at the receiving end sends the digital electrical signal to the service chip at the receiving end. The service chip at the receiving end identifies the main pulse signal and the secondary pulse signal based on the digital electrical signal, and compares the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point.

[0041] In particular, considering that the optical signal is a continuously changing analog signal, the amplitude and shape of the optical signal may vary greatly. By converting the optical signal into an electrical signal, such as converting the power of the optical signal into a voltage or current, the parameters of the analog electrical signal (such as amplitude and time position) are related to the optical signal. Considering that most business chips do not support direct analysis of analog electrical signals, but support processing of discrete digital data, the optical module converts the analog electrical signal into a digital electrical signal by sampling the analog signal, so that the business chip can extract the parameters of the main pulse signal and the parameters of the secondary pulse signal from the digital electrical signal.

[0042] In some implementations, the signal frequency corresponding to the predetermined code pattern is greater than 1 MHz, and the sampling frequency is greater than 10 MHz.

[0043] Since the receiving optical module samples the electrical signal converted from the optical signal at a sampling frequency greater than 10MHz, it can better collect the details of the signal, thereby further reducing the distortion of the predetermined code type and the loss of information during the sampling process, thereby improving the accuracy of the position characteristics of the reflection point determined by the receiving end service chip based on the sampling result of the receiving end optical module, which in turn helps to improve the accuracy of the same cable detection.

[0044] In a third aspect, a network device is provided, the network device is a first network device, the first network device includes a service chip and an electrical interface, and the electrical interface is connected to a first optical module as in the first aspect or any optional manner of the first aspect;

[0045] The service chip is used to generate a first electrical signal, the first electrical signal includes an electrical pulse signal with a predetermined code type, and the service chip sends the first electrical signal to the first optical module through the electrical interface.

[0046] Since the electrical pulse signal sent by the service chip itself has a predetermined code pattern, the electrical pulse signal received by the optical module itself has a predetermined code pattern. Therefore, after the optical module performs electrical-optical conversion on the electrical pulse signal with the predetermined code pattern, the generated optical pulse signal will have a predetermined code pattern, thereby realizing the function of generating an optical pulse signal with a predetermined code pattern. In addition, there is no need to require the optical module to support top adjustment to generate an optical signal with a predetermined code pattern, thereby reducing the implementation complexity of the optical module.

[0047] In some embodiments, the service chip detects the state of the service chip, and when the service chip is in an idle state, the service chip sends an electrical pulse signal with a predetermined code pattern. The electrical pulse signal of the predetermined code pattern is converted into an optical pulse signal of a predetermined code pattern after passing through an electro-optical converter in the optical module, and the optical pulse signal of the predetermined code pattern is transmitted to the second network device through an optical fiber link. Since the optical pulse signal of the predetermined code pattern is sent when the service chip is in an idle state, the optical pulse signal of the predetermined code pattern used for the same cable detection hardly occupies the processing time of the service data, thereby reducing the influence of the process of transmitting the optical pulse signal of the predetermined code pattern on the transmission quality of the service data.

[0048] In a fourth aspect, a network device is provided, the network device is a second network device, the second network device includes a service chip and an electrical interface, and the electrical interface is connected to the second optical module as in the second aspect or any optional manner of the second aspect;

[0049] An electrical interface, used to receive a digital electrical signal from a second optical module;

[0050] The service chip is used to determine the position characteristics of the reflection point in the first optical fiber link based on the digital electrical signal.

[0051] The position feature of the reflection point is used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0052] The position characteristic of a reflection point refers to a parameter used to describe the position of a reflection point in an optical fiber link. In some embodiments, the position characteristic of a reflection point characterizes the relative position of the reflection point.

[0053] The business chip determines the position characteristics of the reflection point in the optical fiber link based on the digital electrical signal from the optical module. The position characteristics of the reflection point help to locate where the optical signal is reflected during the transmission of the optical fiber link to a certain extent, thereby helping to estimate the position of the optical cable connector in the optical fiber link. For example, the position characteristics of the reflection points of different optical fiber links can serve as a basis for judging whether different optical fiber links share the same optical cable segment. If the position characteristics of the reflection points of two optical fiber links match, it can be determined that the two optical fiber links have a risk of sharing the same optical cable segment. Specifically, the cause of the reflection point has a certain relationship with the optical cable connector. Under normal circumstances, the position where the optical fiber link is connected to the port of the optical cable connector is likely to produce a reflection point. Therefore, if the position characteristics of each reflection point in the two optical fiber links are the same, it means that the two optical fiber links are likely to have passed through the same optical cable connector, and there is a risk of the same cable.

[0054] In some embodiments, the business chip is used to determine a main pulse signal in a digital electrical signal and a secondary pulse signal in the digital electrical signal, and compare the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point. The main pulse signal is generated based on an optical pulse signal with a predetermined code type through photoelectric conversion and sampling, and the secondary pulse signal is generated based on a derivative tail signal generated by reflection when the optical pulse signal with a predetermined code type passes through a reflection point during transmission in the first optical fiber link through photoelectric conversion and sampling.

[0055] In some embodiments, the position feature of the reflection point includes the distance between the position of the main pulse signal and the position of the secondary pulse signal corresponding to the reflection point, the position of the main pulse signal indicates the time when the main pulse signal arrives at the second network device, and the position of the secondary pulse signal indicates the time when the secondary pulse signal arrives at the second network device;

[0056] The service chip is used to compare the position of the main pulse signal with the position of the secondary pulse signal to obtain the distance between the position of the main pulse signal and the position of the secondary pulse signal.

[0057] The positional characteristics of the reflection point indicate the time difference between the time when the receiving end service chip receives the main pulse signal and the time when the receiving end service chip receives the secondary pulse signal, or the time difference between the time when the receiving end optical module samples the main pulse signal and the time when the receiving end optical module samples the secondary pulse signal. If the distance between a reflection point and the transmitting end is closer, the distance between the secondary pulse signal corresponding to the reflection point and the main pulse signal in the time dimension is closer, so by comparing the secondary pulse signal and the main pulse signal, the positional characteristics of the reflection point corresponding to the secondary pulse signal can be determined.

[0058] In some embodiments, the position characteristics of the reflection point include the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, the amplitude of the main pulse signal indicates the power of the main pulse signal, and the amplitude of the secondary pulse signal indicates the power of the secondary pulse signal; the business chip is used to compare the amplitude of the main pulse signal with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal.

[0059] In some embodiments, the business chip is used to determine a main pulse signal and a secondary pulse signal from a digital electrical signal based on the amplitude of the digital electrical signal, wherein the main pulse signal is a pulse signal with the largest amplitude in the digital electrical signal, and the secondary pulse signal is a main pulse signal with a non-largest amplitude in the digital electrical signal.

[0060] If the distance between a reflection point and the transmitting end is closer, the distance between the secondary pulse signal corresponding to the reflection point and the main pulse signal in the signal strength dimension is closer. Therefore, by comparing the amplitude of the secondary pulse signal with the amplitude of the main pulse signal, the position characteristics of the reflection point corresponding to the secondary pulse signal can be determined.

[0061] In some embodiments, the service chip is used to screen a target secondary pulse signal from the secondary pulse signals based on the position of the secondary pulse signal, and the distance between the position of the target secondary pulse signal and the position of the main pulse signal is greater than a distance threshold;

[0062] The parameters of the main pulse signal are compared with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

[0063] Since the distance between the secondary pulse signal and the main pulse signal represents the distance between the physical position of the reflection point generating the secondary pulse signal and the physical position of the transmitting device, if the distance between the secondary pulse signal and the main pulse signal is less than the distance threshold, it means that the distance between the reflection point generating the secondary pulse signal and the transmitting device is too short. Then, it is highly likely that the secondary pulse signal is not generated by the reflection point of the port of the optical cable connector. By performing signal screening, the secondary pulse signal with a distance less than the distance threshold is excluded from the range of signal comparison, thereby reducing the risk of errors in the position characteristics of the reflection point caused by the reflection signal generated by the reflection point of the port other than the optical cable connector, which helps to improve the accuracy of same-cable detection.

[0064] In some embodiments, the business chip is used to screen a target secondary pulse signal from the secondary pulse signals based on the amplitude of the secondary pulse signal, the amplitude of the target secondary pulse signal is greater than the amplitude threshold, or the amplitude of the target secondary pulse signal ranks first in the secondary pulse signal by a set number of bits; and compare the parameters of the main pulse signal with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

[0065] Taking into account that the larger the amplitude of the secondary pulse signal is, the greater the strength of the secondary pulse signal is, which means that the reflected signal corresponding to the secondary pulse signal is relatively strong, and the probability that the secondary pulse signal comes from the reflected signal of the reflection point at the port of the optical cable connector is higher, and the position feature of the reflection point extracted based on the secondary pulse signal is more accurate. By screening the target secondary pulse signal based on the amplitude of the secondary pulse signal, the interference of the weak reflected signal on the same cable detection is reduced, which helps to improve the accuracy of the same cable detection.

[0066] In some implementations, the service chip is further configured to send location characteristics of a reflection point in the first optical fiber link to an analysis device.

[0067] In some embodiments, the business chip is further used to obtain the position characteristics of the reflection point in the second optical fiber link, and in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0068] In a fifth aspect, a method for detecting a same cable is provided, the method comprising:

[0069] receiving a first optical signal from a first optical fiber link;

[0070] Determining, based on the first optical signal, a position characteristic of a reflection point in the first optical fiber link;

[0071] receiving a second optical signal from a second optical fiber link;

[0072] determining, based on the second optical signal, a position characteristic of a reflection point in the second optical fiber link;

[0073] In response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0074] In some embodiments, in response to the position feature of the reflection point in the first optical fiber link and the position feature of the reflection point in the second optical fiber link satisfying a matching condition, determining that the first optical fiber link and the second optical fiber link share the same optical cable segment includes:

[0075] In response to the number of reflection points having the same positional characteristics in the first optical fiber link and the second optical fiber link being greater than a quantity threshold, determining that the first optical fiber link and the second optical fiber link share the same optical cable segment; or,

[0076] In response to the position characteristics of each reflection point in the first optical fiber link being the same as the position characteristics of the corresponding reflection point in the second optical fiber link, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0077] In a sixth aspect, a communication system is provided, the communication system comprising a first network device, a first optical module, a second network device, a second optical module, a third network device, a third optical module, a fourth network device, and a fourth optical module;

[0078] The first network device is connected to the first optical module, the first optical module is connected to the second optical module through the first optical fiber link, the second optical module is connected to the second network device, the third network device is connected to the third optical module, the third optical module is connected to the fourth optical module through the second optical fiber link, and the fourth optical module is connected to the fourth network device;

[0079] A first optical module, used to send a first optical signal to a second optical module through a first optical fiber link, wherein the first optical signal includes an optical pulse signal having a predetermined code type, and the predetermined code type is used to describe the shape of a curve of a relationship between signal power and time;

[0080] A second optical module is used to receive the first optical signal through the first optical fiber link, perform photoelectric conversion and sampling on the first optical signal, and obtain a first digital electrical signal;

[0081] a second network device, configured to determine a position characteristic of a reflection point in the first optical fiber link based on the first digital electrical signal;

[0082] A third optical module, used for sending a second optical signal to the fourth optical module through a second optical fiber link, wherein the second optical signal includes an optical pulse signal having a predetermined code type;

[0083] a fourth optical module, configured to receive the second optical signal through the first optical fiber link, perform photoelectric conversion and sampling on the second optical signal, and obtain a second digital electrical signal;

[0084] The fourth network device is used to determine the position characteristics of the reflection point in the second optical fiber link based on the second digital electrical signal.

[0085] In some embodiments, the system further includes an analysis device, the analysis device being connected to the second network device and the fourth network device respectively;

[0086] The second network device is further used to send the position characteristics of the reflection point in the first optical fiber link to the analysis device;

[0087] The fourth network device is further configured to send the position characteristics of the reflection point in the second optical fiber link to the analysis device.

[0088] The analyzing device is used to determine that the first optical fiber link and the second optical fiber link share the same optical cable segment in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition.

[0089] In a seventh aspect, a same-cable detection device is provided, the device comprising:

[0090] A receiving unit, configured to receive a first optical signal from a first optical fiber link;

[0091] a processing unit, configured to determine a position characteristic of a reflection point in the first optical fiber link based on the first optical signal;

[0092] The receiving unit is further used to receive a second optical signal from a second optical fiber link;

[0093] The processing unit is further used to determine the position characteristics of the reflection point in the second optical fiber link based on the second optical signal; in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0094] In some embodiments, the processing unit is used to determine that the first optical fiber link and the second optical fiber link share the same optical cable segment in response to the number of reflection points having the same position characteristics in the first optical fiber link and the second optical fiber link being greater than a quantity threshold; or, in response to the position characteristics of each reflection point in the first optical fiber link being the same as the position characteristics of the corresponding reflection point in the second optical fiber link, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0095] In some embodiments, the processing unit is used to determine a main pulse signal in a digital electrical signal and a secondary pulse signal in the digital electrical signal, and compare the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point, where the main pulse signal is generated based on an optical pulse signal with a predetermined code pattern through photoelectric conversion and sampling, and the secondary pulse signal is generated based on a derivative tail signal generated by reflection when the optical pulse signal with a predetermined code pattern passes through a reflection point during transmission in the first optical fiber link through photoelectric conversion and sampling.

[0096] In some embodiments, the position feature of the reflection point includes the distance between the position of the main pulse signal and the position of the secondary pulse signal corresponding to the reflection point, the position of the main pulse signal indicates the time when the main pulse signal arrives at the second network device, and the position of the secondary pulse signal indicates the time when the secondary pulse signal arrives at the second network device;

[0097] The processing unit is used to compare the position of the main pulse signal with the position of the secondary pulse signal to obtain the distance between the position of the main pulse signal and the position of the secondary pulse signal.

[0098] In some embodiments, the position characteristics of the reflection point include the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, the amplitude of the main pulse signal indicates the power of the main pulse signal, and the amplitude of the secondary pulse signal indicates the power of the secondary pulse signal; the processing unit is used to compare the amplitude of the main pulse signal with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal.

[0099] In some embodiments, the processing unit is used to determine a main pulse signal and a secondary pulse signal from the digital electrical signal based on the amplitude of the digital electrical signal, where the main pulse signal is a pulse signal with the largest amplitude in the digital electrical signal, and the secondary pulse signal is a main pulse signal with a non-largest amplitude in the digital electrical signal.

[0100] In some embodiments, the processing unit is used to screen a target secondary pulse signal from the secondary pulse signals based on the position of the secondary pulse signal, wherein the distance between the position of the target secondary pulse signal and the position of the main pulse signal is greater than a distance threshold;

[0101] The parameters of the main pulse signal are compared with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

[0102] In an eighth aspect, an analysis device is provided, the analysis device comprising a processor, the processor being coupled to a memory, the memory storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by the processor, so that the analysis device implements the method provided by the analysis device in the sixth aspect or any optional manner of the sixth aspect. The specific details of the analysis device provided in the eighth aspect can be found in the sixth aspect or any optional manner of the sixth aspect, and will not be repeated here.

[0103] In a ninth aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium. When the instruction is executed on a computer, the computer executes the method provided in the fifth aspect or any optional manner of the fifth aspect.

[0104] In the tenth aspect, a computer program product is provided, which includes one or more computer program instructions. When the computer program instructions are loaded and executed by a computer, the computer executes the method provided in the fifth aspect or any optional method of the fifth aspect.

[0105] In the eleventh aspect, a chip is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute the method in the above-mentioned fifth aspect and any possible implementation of the fifth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0106] Figure 1 It is a schematic diagram of the architecture of a network system provided in an embodiment of the present application;

[0107] Figure 2 It is a schematic diagram of the architecture of a network system provided in an embodiment of the present application;

[0108] Figure 3 It is a schematic diagram of the architecture of a network system provided in an embodiment of the present application;

[0109] Figure 4 It is a schematic diagram of the hardware structure of a network system provided in an embodiment of the present application;

[0110] Figure 5is a schematic diagram of an exemplary cross-sectional structure of an optical cable provided in an embodiment of the present application;

[0111] Figure 6 It is a schematic diagram of a same-cable detection method provided in an embodiment of the present application;

[0112] Figure 7 It is a schematic diagram of a same-cable detection method provided in an embodiment of the present application;

[0113] Figure 8 It is a schematic diagram of the hardware structure of an optical module provided in an embodiment of the present application;

[0114] Fig. 9 It is a schematic diagram of a same-cable detection method provided in an embodiment of the present application;

[0115] Fig.10 It is a schematic diagram of the hardware structure of an optical module provided in an embodiment of the present application;

[0116] Fig.11 It is a schematic diagram of a same-cable detection method provided in an embodiment of the present application;

[0117] Fig.12 It is a schematic diagram of a same-cable detection method provided in an embodiment of the present application;

[0118] Fig.13 is a schematic diagram of an optical pulse signal of a predetermined code type provided in an embodiment of the present application;

[0119] Fig.14 is a schematic diagram of an optical pulse signal of a predetermined code type provided in an embodiment of the present application;

[0120] Fig.15 is a schematic diagram of an optical pulse signal of a predetermined code type provided in an embodiment of the present application;

[0121] Fig.16 is a schematic diagram of a modulation curve of a laser provided in an embodiment of the present application;

[0122] Fig.17 is a schematic diagram of a modulation curve provided in an embodiment of the present application;

[0123] Fig.18 It is a schematic diagram of a digital electrical signal sequence received by a receiving end service chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0124] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0125] The following is an explanation of some terminology concepts involved in the embodiments of the present application.

[0126] (1) Code type

[0127] The code type may also be referred to as a pattern, a feature of a signal, or modulation information carried in a signal. For example, a code type refers to the shape of a waveform of a signal. A code type is the shape of a curve of a relationship between the amplitude of a waveform of a signal and time. For example, a code type is the shape of a curve of a relationship between signal power and time, and a code type is used to indicate how the power of a signal changes over time. For another example, a code type is the shape of a curve of a relationship between signal current and time. For another example, a code type is the shape of a curve of a relationship between signal voltage and time. For example, the types of code types include square waves, sine waves, or triangle waves. Parameters that can describe a code type include at least one of a code type, a pulse width, a pulse period, a duty cycle, a peak amplitude, a valley amplitude, a signal frequency, a rise time, and a fall time.

[0128] (2) Predetermined code pattern

[0129] The predetermined code pattern refers to a pre-set code pattern. In some embodiments of the present application, the optical signal sent by the optical module of the transmitting end has a predetermined code pattern. The predetermined code pattern is used to indicate the corresponding relationship between the power of the optical signal and time. The predetermined code pattern characterizes how the power of the optical signal changes over time.

[0130] As a specific example, the optical pulse signal with a predetermined code pattern includes but is not limited to a square wave, a sine wave or a triangular wave. When the predetermined code pattern is a square wave, the optical signal power alternates between peak power and valley power at predetermined time intervals. For example, in one cycle, the optical signal power rapidly rises from valley power to peak power, and then rapidly drops from peak power to valley power. When the predetermined code pattern is a sine wave, the optical signal power presents a linear rise and fall trend according to a predetermined time law, and the relationship between the optical signal power and time conforms to the law of a sine function. In one cycle, the optical signal power gradually rises from valley power to peak power, and then gradually drops from peak power back to valley power. When the predetermined code pattern is a triangular wave, the optical signal power presents a linear rise and fall trend according to predetermined time intervals.

[0131] In some other embodiments of the present application, the electrical signal sent by the service chip at the transmitting end has a predetermined code pattern. For example, the shape of the relationship curve between the current signal sent by the service chip and time has a predetermined code pattern. The predetermined code pattern represents how the current value of the electrical signal changes over time. For another example, the shape of the relationship curve between the voltage signal sent by the service chip and time has a predetermined code pattern. The predetermined code pattern represents how the voltage value of the electrical signal changes over time.

[0132] As a specific example, the electrical pulse signal with a predetermined code pattern includes but is not limited to a square wave, a sine wave or a triangular wave. When the predetermined code pattern is a square wave, the power of the electrical signal sent by the service chip to the optical module alternates between peak power and valley power at a predetermined time interval. For example, in one cycle, the power of the electrical signal rises rapidly from the valley power to the peak power, and then rapidly drops from the peak power to the valley power. For another example, the current sent by the service chip to the optical module alternates between peak current and valley current at a predetermined time interval. For another example, the voltage sent by the service chip to the optical module alternates between peak voltage and valley voltage at a predetermined time interval. For another example, when the predetermined code pattern is a sine wave, the power of the electrical signal sent by the service chip to the optical module presents a linear upward and downward trend according to a predetermined time law, and the relationship between the electrical signal power and time conforms to the law of the sine function. In one cycle, the power of the electrical signal gradually rises from the valley power to the peak power, and then gradually drops from the peak power back to the valley power. When the predetermined code type is a triangular wave, the power of the electrical signal sent by the service chip to the optical module presents a linear increase and linear decrease trend according to a predetermined time interval.

[0133] For the receiving end, the predetermined code pattern is equivalent to an effective basis for determining the position characteristics of the reflection point. Specifically, during the transmission of the optical signal sent by the transmitting end through the optical fiber link, the optical signal is reflected at the reflection point, so that the code pattern of the optical signal received by the receiving end changes compared with the code pattern of the optical signal sent by the transmitting end. The receiving end compares the code pattern of the received optical signal with the code pattern of the original signal emitted by the transmitting end, and can obtain the code pattern change of the received signal compared with the code pattern of the original signal emitted by the transmitting end. The receiving end can determine the position characteristics of the reflection point in the optical fiber link through which the signal passes based on the code pattern change of the received signal compared with the original signal emitted by the transmitting end. Since the code pattern of the optical signal is pre-set, or the original optical signal sent by the transmitting end is a standard signal, which is equivalent to the predetermined code pattern of the signal sent by the transmitting end, which is information known to the receiving end, the receiving end can easily distinguish the original optical signal and the reflected signal based on the predetermined code pattern, thereby reducing the implementation complexity of comparative analysis to determine the position characteristics of the reflection point.

[0134] (3) Signal modulation

[0135] The signal modulation in the embodiments of the present application generally refers to the technology of realizing that the signal has a predetermined code type. In other words, any technical means that supports the waveform of the signal to reflect the predetermined code type can be called signal modulation. In other embodiments, the object of signal modulation is an optical signal, and in some embodiments, the object of signal modulation is an electrical signal. In some embodiments, the electrical signal is modulated by a business chip (onboard business chip) provided on the mainboard. In some embodiments, the electrical signal or the optical signal is modulated by an optical module. In some embodiments, the optical module modulates the optical signal during the process of electro-optical conversion. In other embodiments, the optical module modulates the electrical signal before the electro-optical conversion and during the process of digital signal processing of the electrical signal. The technical implementation details of how to modulate the signal so that the signal has a predetermined code type can be referred to modulation mode one to modulation mode three in the following text.

[0136] (4) Pulse signal

[0137] A pulse signal is a signal whose waveform changes rapidly in a short period of time. The main feature of the waveform of a pulse signal is that the signal amplitude reaches a high peak value or a low peak value in a relatively short period of time, and then the signal amplitude returns to the initial state. A pulse signal is, for example, an electrical signal or an optical signal. This embodiment involves an electro-optical conversion process and a photoelectric conversion process of a signal. In order to distinguish between a pulse signal whose carrier is electricity and a pulse signal whose carrier is light, the pulse signal whose carrier is electricity is referred to as an electrical pulse signal in many places below, and the pulse signal whose carrier is light is referred to as an electrical pulse signal.

[0138] (5) Reflection Point

[0139] Reflection points are also called characteristic points. Reflection points refer to the locations where light signals are reflected in a fiber link. A fiber link includes one or more reflection points. Generally, reflection points appear at the locations where the fiber link is connected to the ports of the optical cable connector. Specifically, there are differences in the refractive index of light at the ports of the optical cable connector. When the optical signal enters the input port of the optical cable connector and outputs at the output port of the optical cable connector, reflection occurs due to the refraction of light between two different media. Specifically, when the optical signal is transmitted from the optical fiber to the input port of the optical cable connector, due to the change of media on both sides of the input port of the optical cable connector, for example, the output port of the optical cable connector is the boundary surface between glass and air, the optical signal is refracted at the input port of the optical cable connector. According to Snell's law, when light enters a sparse medium from a dense medium, it will be bent toward the normal, and there is a relationship between the angle of incidence and the angle of refraction. Some optical signals will be totally reflected, that is, they cannot be completely refracted, but are reflected back to the original medium. Similarly, when the optical signal leaves the output port of the optical cable connector, the optical signal will be refracted at the output port of the optical cable connector due to the change of the medium on both sides of the output port of the optical cable connector. In addition, the ports of the optical cable and the optical cable connector may be loosely connected, have rough surfaces, or have uneven optical fiber surfaces when connected, which will cause a certain degree of reflection of the optical signal at the port of the optical cable connector, thereby generating a reflection point.

[0140] by Figure 1 Taking the scenario shown as an example, since both the first optical fiber link and the second optical fiber link pass through the optical cable connector A and the optical cable connector B, the first optical fiber link and the second optical fiber link share the same optical cable segment (optical cable segment 3). When the first optical fiber link passes through port a3 of the optical cable connector A, due to the different media on both sides of port a3, the media on one side of port a3 is the media of the optical cable connector A itself, and the media on the other side of port a3 is the media of the optical cable segment 3, which causes the optical signal transmitted in the first optical fiber link to be reflected at port a3, resulting in a reflection point. Similarly, when the second optical fiber link passes through port a3 of the optical cable connector A, the optical signal transmitted in the second optical fiber link is also reflected at port a3, resulting in a reflection point. Similarly, when the second optical fiber link passes through port a3 of the optical cable connector A, the optical signal transmitted in the second optical fiber link is also reflected at port a3, resulting in a reflection point.

[0141] (6) Derived tail signal

[0142] The derived tail signal is equivalent to the new signal component generated by the original optical signal sent by the optical module of the transmitting end due to passing through the reflection point. The derived tail signal can also be understood as the characteristics left by the reflection point in the original optical signal when the original optical signal passes through the reflection point. The derived tail signal is an additional signal in the signal received by the receiving end in addition to the original signal sent by the transmitting end. The derived tail signal is also called an echo signal. The derived tail signal contains the position characteristics of the reflection point. The derived tail signal is, for example, a signal generated by the reflection of an optical pulse signal with a predetermined code type during the transmission of the optical fiber link due to passing through the reflection point in the optical fiber link. For example, the derived tail signal is a signal generated by the reflection of the optical pulse signal of the predetermined code type due to passing through the port of the optical cable connector. A derived tail signal may be generated based on multiple reflections. For example, after the optical pulse signal of the predetermined code type sent by the transmitting end passes through the reflection point during transmission, a reflection signal is generated, and the reflection signal is reflected back to the transmitting end through the optical fiber link. When the reflection signal reaches the optical port of the optical module of the transmitting end, the reflection signal is reflected again, and the signal reflected again re-enters the optical fiber link and is transmitted to the receiving end. Since the transmission path of the reflected signal is a return path, the transmission path of the reflected signal is longer than the transmission path of the original signal (optical pulse signal of predetermined code type) sent by the transmitting end, so the time when the reflected signal arrives at the receiving end is later than the time when the original signal (optical pulse signal of predetermined code type) arrives at the receiving end, and the intensity (energy) of the reflected signal is attenuated due to reflection, resulting in the amplitude of the reflected signal being smaller than the amplitude of the original signal (optical pulse signal of predetermined code type), forming a signal tail. Since the derived tail signal is generated based on the reflection of the reflection point, the parameters of the derived tail signal can determine the position characteristics of the reflection point. In some embodiments, the derived tail signal is an optical signal. In some embodiments, the derived tail signal is an electrical signal, for example, the derived tail signal is obtained by the receiving end through photoelectric conversion of the received optical signal. In some embodiments, the derived tail signal is a digital electrical signal, for example, the derived tail signal is obtained by the receiving end through photoelectric conversion and sampling of the received optical signal. In other embodiments, the derived tail signal is an analog electrical signal.

[0143] (7) Main pulse signal and secondary pulse signal

[0144] In some embodiments of the present application, the receiving end performs photoelectric conversion and sampling on the received optical signal to determine the position characteristics of the reflection point. Since the optical signal received by the receiving end includes both the optical signal generated by the transmitting end through the optical module and the derived tail signal generated due to reflection in the optical fiber link, in order to distinguish between the signal obtained by photoelectric conversion and sampling of the optical signal generated by the optical module of the transmitting end and the signal obtained by photoelectric conversion and sampling of the derived tail signal, this embodiment uses "main pulse signal" to describe the signal generated after photoelectric conversion and sampling of the optical signal generated by the optical module of the transmitting end, and uses "secondary pulse signal" to describe the signal generated after photoelectric conversion and sampling of the derived tail signal. The distinguishing features between the main pulse signal and the secondary pulse signal are further explained below.

[0145] The main pulse signal corresponds to the optical signal generated by the transmitting end through the optical module. For example, the main pulse signal has a predetermined code pattern.

[0146] In some embodiments, the main pulse signal is the signal at the front position in the digital electrical signal sequence sampled by the receiving end. The position of the main pulse signal is used to indicate the time when the receiving end receives the main pulse signal (or the time when the main pulse signal arrives at the receiving end service chip or the time point when the optical module samples the pulse signal). For example, the position of the main pulse signal is the coordinate of the position of the main pulse signal on the time axis. The front position of the main pulse signal also represents that the time when the main pulse signal appears in the digital electrical signal sequence sampled by the receiving end is earlier than other signals. For example, the main pulse signal is the signal with the earliest receiving time point in the digital electrical signal sequence sampled by the receiving end. For example, in the case where the transmitting end periodically sends an optical pulse signal of a predetermined code type, the main pulse signal of the digital electrical signal sequence sampled within a cycle is, for example, the first pulse signal in the digital electrical signal sequence of the cycle. For example, the main pulse signal is the first electrical signal sampled by the receiving end within a cycle.

[0147] Since the optical signal generated by the optical module at the transmitting end is not reflected in the optical fiber link, the transmission path of the optical signal generated by the optical module is shorter than the transmission path of the derived tail signal. Therefore, the optical signal generated by the optical module will reach the receiving end before the derived tail signal. Therefore, the main pulse signal obtained after sampling of the optical signal generated by the optical module will be at the front of the digital electrical signal sequence. Therefore, the receiving end can accurately distinguish the main pulse signal from the secondary pulse signal based on the position of each signal in the digital electrical signal sequence, which helps to determine the position characteristics of the reflection point by comparing the parameter differences between the main pulse signal and the secondary pulse signal.

[0148] In some embodiments, the main pulse signal is the signal with the largest amplitude in the digital electrical signal sequence sampled by the receiving end. The amplitude of the main pulse signal is used to indicate the energy size or intensity of the main pulse signal. For example, the amplitude of the main pulse signal is used to indicate the power of the main pulse signal. For example, the amplitude of the main pulse signal is the coordinate of the amplitude of the main pulse signal on the vertical axis (power axis). The maximum amplitude of the main pulse signal also represents that the intensity of the main pulse signal in the digital electrical signal sequence sampled by the receiving end is stronger than other signals. For example, in the case where the transmitting end periodically sends an optical pulse signal of a predetermined code type, the main pulse signal of the digital electrical signal sequence sampled within one period is, for example, the signal with the largest amplitude in the digital electrical signal sequence of the period.

[0149] Since the optical signal generated by the optical module at the transmitting end is less affected by attenuation, scattering, multipath propagation and other events than the derivative tail signal, the main pulse signal obtained after sampling of the optical signal generated by the optical module will have the largest amplitude in the digital electrical signal sequence. Therefore, the receiving end can accurately distinguish the main pulse signal from the secondary pulse signal based on the amplitude of each signal in the digital electrical signal sequence, which helps to determine the location characteristics of the reflection point by comparing the parameter differences between the main pulse signal and the secondary pulse signal.

[0150] The secondary pulse signal corresponds to the derivative tail signal, and the secondary pulse signal is a signal generated by photoelectric conversion and sampling of the optical signal generated by the reflection at the position of the reflection point. The secondary pulse signal is a signal whose position is after the main pulse signal in the digital electrical signal sequence sampled by the receiving end. For example, the position of the secondary pulse signal is the coordinate of the position of the secondary pulse signal on the time axis. The position of the secondary pulse signal after the main pulse signal also means that the time when the secondary pulse signal appears in the digital electrical signal sequence sampled by the receiving end is later than the main pulse signal. For example, the secondary pulse signal is a signal whose receiving time point is not the earliest in the digital electrical signal sequence sampled by the receiving end. For example, in the case where the transmitting end periodically sends an optical pulse signal of a predetermined code type, the secondary pulse signal of the digital electrical signal sequence sampled within one period is, for example, a pulse signal after the first pulse signal in the digital electrical signal sequence of the period.

[0151] In some embodiments, the secondary pulse signal is a signal with a non-maximum amplitude in a sequence of digital electrical signals sampled by a receiving end. The amplitude of the secondary pulse signal is used to indicate the energy of the secondary pulse signal or the strength of the secondary pulse signal. For example, the amplitude of the secondary pulse signal is used to indicate the power of the secondary pulse signal. The strength of the secondary pulse signal is smaller than the strength of the main pulse signal. For example, when analyzing the signal with signal strength as the vertical axis, the amplitude (vertical coordinate) of the secondary pulse signal is smaller than the amplitude (vertical coordinate) of the main pulse signal. The power of the secondary pulse signal is smaller than the power of the main pulse signal.

[0152] The change of the secondary pulse signal compared to the main pulse signal indicates the positional characteristics of the reflection point that generates the secondary pulse signal. The distance between the secondary pulse signal and the main pulse signal indicates the distance between the reflection point that generates the secondary pulse signal and the transmitting end device. The closer the distance between the reflection point and the transmitting end device, the closer the distance between the secondary pulse signal and the main pulse signal. The position of the secondary pulse signal indicates the position of the reflection point that generates the secondary pulse signal in the optical fiber link. The distance between the two secondary pulse signals indicates the distance between the two reflection points that generate the two secondary pulse signals in the optical fiber link. The difference between the positional characteristics of the two secondary pulse signals indicates the distance between the two reflection points that generate the positional characteristics of the two secondary pulse signals.

[0153] (8) Location characteristics of reflection points

[0154] The position characteristic of the reflection point refers to a parameter used to describe the position of the reflection point in the optical fiber link. In some embodiments, the position characteristic of the reflection point characterizes the relative position of the reflection point. For example, the position characteristic of the reflection point indicates the distance between the position of the reflection point and the position of the transmitting end device. Figure 1 Taking the scenario shown as an example, the position characteristic of reflection point 1 (the reflection point corresponding to port a3 of optical cable connector A) indicates the distance between the physical position of port a3 of optical cable connector A and the physical position of the first network device. For another example, the position characteristic of the reflection point indicates the distance between the position of the reflection point and the position of the receiving end device. For another example, the position characteristic of the reflection point indicates the distance between the position of the reflection point and other reflection points.

[0155] The positional characteristics of the reflection points help to locate where the light signal is reflected during the transmission of the optical fiber link to a certain extent, thereby helping to estimate the position of the optical cable connector in the optical fiber link. In some embodiments of the present application, the main purpose of the positional characteristics of the reflection points is to detect the same cable. The positional characteristics of the reflection points of different optical fiber links can serve as a basis for judging whether different optical fiber links share the same optical cable segment. If the positional characteristics of the reflection points of two optical fiber links match, it can be determined that the two optical fiber links have a risk of sharing the same optical cable segment. Specifically, the cause of the reflection point has a certain relationship with the optical cable connector. Usually, the position where the optical fiber link is connected to the port of the optical cable connector is likely to produce a reflection point. Therefore, if the positional characteristics of each reflection point in the two optical fiber links are the same, it means that the two optical fiber links are likely to have passed through the same optical cable connector, and there is a risk of the same cable.

[0156] In some embodiments, the positional characteristics of the reflection point are determined based on the parameters of the main pulse signal and the parameters of the secondary pulse signal. For example, the positional characteristics of the reflection point are obtained by comparing the parameters of the main pulse signal with the parameters of the secondary pulse signal. Since the secondary pulse signal is generated by reflection at the reflection point, the comparison result of the parameters of the main pulse signal and the parameters of the secondary pulse signal can serve as the positional characteristics of the reflection point.

[0157] In the case where there are n reflection points in the optical fiber link, and the digital electrical signal sequence obtained by sampling includes n secondary pulse signals, in some embodiments, the position characteristics of the n reflection points are determined based on the parameters of the main pulse signal and the parameters of each of the n secondary pulse signals. For example, the position characteristics of the first reflection point in the optical fiber link (the reflection point closest to the transmitting end) are determined based on the parameters of the main pulse signal and the parameters of the first secondary pulse signal among the n secondary pulse signals (the secondary pulse signal obtained by the earliest sampling at the receiving end other than the main pulse signal). For another example, the position characteristics of the second reflection point in the optical fiber link (the reflection point next closest to the transmitting end) are determined based on the parameters of the main pulse signal and the parameters of the second secondary pulse signal among the n secondary pulse signals.

[0158] In some embodiments, the position feature of the reflection point is obtained by comparing the position of the main pulse signal with the position of the secondary pulse signal. For example, the position feature of the reflection point includes the distance between the position of the main pulse signal and the position of the secondary pulse signal.

[0159] In some embodiments, the positional characteristics of the reflection point include characteristics of the time domain dimension. For example, in the case where the time axis is the horizontal axis, the positional characteristics of the reflection point are characteristics of the horizontal axis dimension. For example, the position of the main pulse signal indicates the time when the receiving end business chip receives the main pulse signal (or the time when the receiving end optical module samples to obtain the main pulse signal). The positional characteristics of the secondary pulse signal indicate the time when the secondary pulse signal receiving end business chip receives the secondary pulse signal (or the time when the receiving end optical module samples to obtain the secondary pulse signal). The positional characteristics of the reflection point indicate the time difference between the time when the receiving end business chip receives the main pulse signal and the time when the receiving end business chip receives the secondary pulse signal, or the time difference between the time when the receiving end optical module samples to obtain the main pulse signal and the time when the receiving end optical module samples to obtain the secondary pulse signal. If the distance between a reflection point and the transmitting end is closer, the distance between the secondary pulse signal corresponding to the reflection point and the main pulse signal in the time dimension is closer, so the positional characteristics of the reflection point corresponding to the secondary pulse signal can be determined by comparing the secondary pulse signal with the main pulse signal.

[0160] When there are n reflection points in the optical fiber link and the sampled digital electrical signal sequence includes n secondary pulse signals, in some embodiments, the position characteristics of the n reflection points are determined based on the position of the main pulse signal and the position of each of the n secondary pulse signals.

[0161] For example, the positional characteristics of the first reflection point in the optical fiber link (the reflection point closest to the transmitting end) are determined based on the position of the main pulse signal and the position of the first secondary pulse signal among the n secondary pulse signals. For example, the positional characteristics of the first reflection point in the optical fiber link are the distance between the position of the main pulse signal and the position of the first secondary pulse signal among the n secondary pulse signals. For example, the positional characteristics of the second reflection point in the optical fiber link (the reflection point next closest to the transmitting end) are determined based on the position of the main pulse signal and the position of the second secondary pulse signal among the n secondary pulse signals. For example, the positional characteristics of the second reflection point in the optical fiber link are the distance between the position of the main pulse signal and the position of the second secondary pulse signal among the n secondary pulse signals. And so on.

[0162] For example, when the position of the pulse signal is the arrival time point of the pulse signal (or the time point when the optical module samples the pulse signal), the position characteristic of the i-th reflection point in the optical fiber link is the time difference between the arrival time point (or sampling time point) of the main pulse signal and the arrival time point (or the time point when the optical module samples the pulse signal) of the i-th secondary pulse signal among the n secondary pulse signals (the secondary pulse signal that arrives at the receiving end the earliest other than the main pulse signal).

[0163] In some embodiments, the positional characteristics of the reflection point include characteristics in the dimension of signal strength (also called amplitude or signal energy, such as power, current or voltage). For example, in the case where the signal energy is the horizontal axis, the positional characteristics of the reflection point are characteristics in the dimension of the vertical axis. For example, the positional characteristics of the reflection point include the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, the amplitude of the main pulse signal indicates the power of the main pulse signal, and the amplitude of the secondary pulse signal indicates the power of the secondary pulse signal. The positional characteristics of the reflection point include the intensity difference between the intensity of the main pulse signal sampled by the receiving end and the intensity of the secondary pulse signal sampled by the receiving end. If the distance between a reflection point and the transmitting end is closer, the distance between the secondary pulse signal corresponding to the reflection point and the main pulse signal in the dimension of signal strength is closer, so the positional characteristics of the reflection point corresponding to the secondary pulse signal can be determined by comparing the secondary pulse signal with the main pulse signal.

[0164] In some embodiments, the positional features of the reflection point include features in the time domain dimension and features in the signal strength dimension. For example, the positional features of the reflection point include the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, and the distance between the position (arrival time point or sampling time point) of the main pulse signal and the position (arrival time point or sampling time point) of the secondary pulse signal corresponding to the reflection point.

[0165] The characteristics of the time domain dimension and the characteristics of the signal strength dimension complement each other and serve as references to each other. If there are reflection points at the same position in two optical fiber links, the characteristics of the time domain dimension of the reflection point obtained from the two optical signals transmitted by the two optical fiber links will most likely be the same, and the characteristics of the signal strength dimension of the reflection point obtained from the two optical signals transmitted by the two optical fiber links will most likely be the same. Therefore, if the receiving end uses both the characteristics of the time domain dimension and the characteristics of the signal strength dimension to determine the position characteristics of the reflection point, the accuracy of the position characteristics of the reflection point will be higher, reducing the risk of misjudgment by the receiving end when only one dimension is referenced due to multiple reflections on the optical fiber link.

[0166] In some further embodiments, the position feature of the reflection point is the physical position of the reflection point, which is determined based on the transmission speed of light, the parameters of the main pulse signal, the parameters of the secondary pulse signal, and the physical position of the transmitting end device.

[0167] (9) Sampling

[0168] Sampling in this embodiment refers to the process of converting an analog electrical signal into a digital electrical signal. The sampling process is, for example, quantizing the analog electrical signal so that the analog electrical signal becomes a digital electrical signal. Optionally, the sampling process is binarizing the analog electrical signal so that the analog electrical signal becomes a digital electrical signal composed of 0 and 1.

[0169] (10) Sampling frequency

[0170] The sampling frequency is also called the sampling rate or sampling ratio. The sampling frequency indicates the number of samples taken per second. The unit of the sampling frequency is, for example, Hertz (Hz). In the present embodiment, the sampling frequency is the parameter on which the analog-to-digital conversion process is based, and the sampling frequency is the frequency at which the analog signal is sampled when the analog signal is converted into a digital signal. According to the Nyquist sampling theorem, the sampling frequency should be greater than twice the highest frequency in the signal to reduce sampling errors and information loss. The higher the sampling frequency, the more accurately the shape and details of the original analog signal can be restored. For example, sampling an analog electrical signal at a sampling frequency of 10 MHz means that the analog electrical signal is sampled 10 million times per second, that is, 10 million sample points are obtained per second for subsequent signal analysis.

[0171] (11) Pulse width

[0172] The pulse width of a pulse signal is used to indicate the duration of the pulse signal. The pulse width of a pulse signal is usually expressed in time. The units of the pulse width of a pulse signal are, for example, seconds (s), milliseconds (ms), and microseconds (μs). For example, the pulse width includes at least one of a high level duration and a low level duration. The high level duration refers to the duration of the high level in the pulse signal. For example, if the high level duration of a pulse signal is 2μs, then in each pulse cycle, the high level of the pulse signal will last for 2 microseconds. The low level duration refers to the duration of the low level in the pulse signal. For example, if the low level duration of a pulse signal is 2μs, then in each pulse cycle, the low level of the pulse signal will last for 2 microseconds.

[0173] (12) Pulse Period

[0174] The pulse period is used to indicate the time interval between two adjacent pulses. For example, the pulse period is the time interval between the start time point of a pulse signal and the end time point of the pulse signal. The pulse period is usually expressed in time. The unit of the pulse period is, for example, seconds, milliseconds or microseconds. The pulse period is also called the pulse period duration (PRI). For example, if the time interval between the start time point and the end time point of a pulse signal is 10 microseconds, then the pulse period duration is 10 microseconds.

[0175] (13) Peak amplitude

[0176] The peak amplitude refers to the maximum amplitude value of a pulse signal in one cycle. For example, the peak amplitude of an electrical pulse signal is the maximum voltage value or maximum current value of the electrical pulse signal in one cycle. The peak amplitude of an optical pulse signal is the maximum optical power of the optical pulse signal in one cycle.

[0177] (14) Valley amplitude

[0178] The valley amplitude refers to the minimum amplitude value of a pulse signal in one cycle. For example, the valley amplitude of an electrical pulse signal is the minimum voltage value or the minimum current value of the electrical pulse signal in one cycle. The valley amplitude of an optical pulse signal is the minimum optical power of the optical pulse signal in one cycle.

[0179] (15)Signal frequency

[0180] Signal frequency refers to the number of times a pulse signal repeats per unit time. The unit of pulse signal frequency is usually Hertz (Hz). For example, if a pulse signal repeats 10 times per second, the frequency of the pulse signal is 10Hz.

[0181] (16) Duty cycle (PW / PRI)

[0182] The duty cycle represents the ratio between the high-level duration (PW) and the pulse period (PRI) in a pulse signal. The duty cycle represents the ratio of the high-level signal (pulse width) to a complete pulse period. The duty cycle is usually expressed as a percentage or fraction. For example, if the high-level duration of a pulse signal is 1 microsecond (PW), and the pulse period of the pulse signal is 10 microseconds (PRI), then the duty cycle of the pulse signal is 1 / 10 = 0.1.

[0183] (17) Optical power

[0184] Optical power refers to the power of an optical signal, and is also called the intensity of an optical signal. Optical power can also be understood as the rate at which the energy of an optical signal is transmitted per unit time. The unit of optical power is, for example, watt (W).

[0185] (18) Fiber Optic Link

[0186] A fiber optic link is a communication path built on optical fiber. Optical fiber is a fiber made of glass or plastic. Optical fiber can be used as a light transmission tool to transmit signals between devices.

[0187] (19) Optical cable

[0188] An optical cable is a cable used to implement optical fiber communication. An optical cable transmits optical signals through the optical fibers inside the cable to implement optical signal communication. A section of an optical cable includes one or more optical fibers. For example, an optical cable includes a protective sleeve, and multiple optical fibers are wrapped inside the protective sleeve. In addition, other components may be optionally provided in the optical cable, such as fillers and power cords.

[0189] (20) Optical cable connector

[0190] Optical cable connectors are devices used to connect optical cables. Examples of optical cable connectors are optical cross-connect boxes, optical distribution frames (ODFs), or junction boxes. Optical cable connectors are deployed between the optical module connected to the transmitting device and the optical module connected to the receiving device. Optical cable connectors provide connection points for optical cables, facilitating wiring in optical communication networks.

[0191] (21) Optical distribution frame (ODF)

[0192] ODF is a device used to organize, manage and connect optical fibers in optical communication networks. ODF provides a physical interface for centralized management of optical fiber connections to facilitate fiber routing and maintenance. ODF mainly includes frames, optical fiber interface slots, connectors, wiring units and labels.

[0193] (22) Optical cross-connection box

[0194] Optical cross-connect boxes are also called optical cable cross-connect boxes. Optical cross-connect boxes are passive devices. They mainly contain multiple connectors. Optical cross-connect boxes are used to connect and distribute optical fibers. By deploying optical cross-connect boxes, the optical fibers connected to the network devices in each room can be sorted or summarized, which facilitates the management of optical fibers and simplifies the layout of optical fibers. Optical cross-connect boxes are usually installed outdoors to protect optical fiber connection points and distribute optical fiber signals to different devices.

[0195] (23) Optical module

[0196] An optical module is a hardware module used to implement electrical-optical conversion and / or photoelectric conversion. For example, when a network device at the transmitting end sends data, a service chip configured by the network device at the transmitting end generates an electrical signal, and an optical module configured by the network device at the transmitting end performs electrical-optical conversion on the electrical signal to generate an optical signal, and the optical module configured by the network device at the transmitting end sends the optical signal through an optical cable. When a network device at the receiving end sends data, an optical module configured by the network device at the receiving end receives an optical signal through an optical cable, and the optical module configured by the network device at the receiving end performs photoelectric conversion on the optical signal to generate an electrical signal, and the service chip configured by the network device at the receiving end receives the electrical signal.

[0197] In some embodiments, the optical module is disposed outside the housing of the network device. For example, the optical module is pluggable, and the optical module is inserted into an electrical interface on the surface of the housing of the network device, thereby being electrically connected to a service chip inside the network device.

[0198] In some embodiments, the optical module is disposed inside a housing of the network device, for example, the optical module is integrated on a mainboard of the network device.

[0199] The size of the optical module usually conforms to the standard packaging method. Small optical modules are usually about the same size as a finger, and large optical modules are usually the same size as a mobile phone. The optical module mainly includes an electrical interface, an electro-optical converter, a photoelectric converter, and an optical interface.

[0200] (24) Electrical interface of optical module

[0201] An electrical interface refers to an interface for transmitting electrical signals. An electrical interface is also called a system-side interface or an electrical port. The electrical interface of an optical module is connected to the mainboard of a network device. An electrical interface is, for example, a serializer / deserializer (SerDes) interface. The electrical interface includes one or more pairs of serialized channels (lanes), each pair of lanes including a receiving channel and a transmitting channel. Each pair of lanes includes a SerDes for sending and a SerDes for receiving. In some embodiments, the electrical interface includes an electrical port connector having a plurality of pins, each pin being used to provide a transmission channel for an electrical signal.

[0202] (25) Optical interface of optical module

[0203] An optical interface refers to an interface for transmitting an optical interface. An optical interface is also called a line-side interface or an optical port. The optical interface of an optical module is connected to an optical cable. In some embodiments, the optical interface includes an optical port connector having a plurality of pins, each pin being used to provide a transmission channel for an optical signal. For example, the optical interface includes a duplex LC connector. A duplex LC connector is a fiber optic patch cord connector for optical fiber connection. A duplex LC connector includes two interconnected LC connectors, one LC connector for sending optical signals, and the other LC connector for receiving optical signals.

[0204] (26) Electro-optical converter

[0205] The electro-optical converter is also called a transmitter optical sub-assembly (TOSA) or an optical transmitter. The electro-optical converter is hardware used for electro-optical conversion. The electro-optical converter is specifically used to receive an electrical signal through the input end of the electro-optical converter and convert the electrical signal into an optical signal, and then the output end of the electro-optical converter outputs the optical signal. The output end of the electro-optical converter is usually connected to an optical interface, and the optical signal output by the electro-optical converter can be sent to an optical cable through the optical interface. The electro-optical converter includes a laser and a driver.

[0206] (27) Laser

[0207] A laser is a piece of hardware that can generate optical signals. For example, a laser receives an input electrical signal, and under the drive of a driving current, the laser generates an optical signal through the recombination radiation of electrons and holes and the effect of light amplification. A laser is, for example, a laser diode. A laser is, for example, a direct-drive laser (Direct Modulated Laser, DML), or an electro-absorption modulated laser (Electro-absorption Modulated Laser, EML). DML supports changing the power of the output optical signal by adjusting the current input to the DML, thereby achieving modulation of the optical signal. EML is another type of laser. EML achieves modulation of the optical signal by combining two functional units, a laser and a modulator. The modulator part of the EML uses an electro-absorption modulator (Electro-absorption Modulator), which adjusts the intensity of the output optical signal by changing the voltage or current applied to the modulator.

[0208] (28) Driver

[0209] Driver refers to the hardware used to drive the laser diode. Driver is also called driver circuit. The driver is used to provide a driving electrical signal to the laser, thereby stimulating the laser to generate and output a light signal. For example, the input end of the driver receives a control signal, the driver generates a driving signal based on the control signal, and the output end of the driver outputs the driving signal to the input end of the laser, so that the light signal generated by the laser meets the requirements. The driver usually includes a power supply inside.

[0210] (29) Photoelectric converter of optical module

[0211] The photoelectric converter is also called a receiver optical sub-assembly (ROSA) or an optical receiver. The photoelectric converter is hardware used for photoelectric conversion. The photoelectric converter is located at the end of the optical module near the optical interface at the receiving end. The photoelectric converter is specifically used to receive the optical signal through the input end of the photoelectric converter, convert the optical signal into an electrical signal, and then output the electrical signal at the output end of the photoelectric converter. The input end of the photoelectric converter is usually connected to the optical interface. The optical signal received by the optical interface from the optical cable can be input to the input end of the photoelectric converter.

[0212] (30) Optical digital signal processing (oDSP)

[0213] oDSP is a chip inside the optical module that is used for digital signal processing and modulation format conversion. oDSP usually supports a variety of functions for processing digital electrical signals. For example, oDSP is used for digital signal encoding, digital signal decoding, digital signal filtering or clock recovery. The inside of oDSP includes a coding unit, which is used to encode digital signals.

[0214] (31) Network equipment

[0215] Network equipment is also called communication equipment, host or forwarding equipment. Network equipment is, for example, equipment for forwarding messages. For example, the network equipment is a router, a switch or a firewall. For another example, the network equipment is a network element in an optical communication network, such as an optical network terminal (ONT), a multiplexing unit (MXU), an optical line terminal (OLT), a switch, a router, etc. For another example, the network equipment is a general-purpose computer device. The network equipment includes a motherboard.

[0216] (32) Motherboard

[0217] The motherboard is also called a single board or a service board. The motherboard is equivalent to a platform for transmitting electrical signals between various hardware in the network device. The motherboard is used to connect various hardware inside the network device so that the various hardware inside the network device can be integrated together. For example, the motherboard includes a printed circuit board (PCB) and hardware such as service chips, memory, and electrical interfaces set on the PCB. These hardware are connected together through copper wires laid on the PCB, and electrical signals are transmitted through the PCB.

[0218] (33) Business Chip

[0219] A business chip refers to a chip used to process business data. A business chip includes a processor. For example, a business chip includes a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, a business chip includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0220] (34) Analog-to-Digital Converter (ADC)

[0221] The analog-to-digital converter is also called an ADC unit. The analog-to-digital converter is the main body of sampling. The input end of the analog-to-digital converter receives the input analog electrical signal, and the analog-to-digital converter samples the input analog electrical signal to obtain a digital electrical signal. The output end of the analog-to-digital converter outputs a digital electrical signal.

[0222] (35) Optical communication network

[0223] Optical communication networks include, but are not limited to, optical transport network (OTN), optical access network (OAN), synchronous digital hierarchy (SDH), passive optical network (PON), Ethernet, or flexible Ethernet (FlexE), wavelength division multiplexing (WDM) network, etc.

[0224] (36)Analytical equipment

[0225] The analysis device refers to a device used to analyze whether different optical fiber links share the same optical cable segment. The analysis device is respectively connected to the receiving end device of each of the multiple optical fiber links in communication, and the analysis device is used to receive the position information of the reflection point from the receiving end device of each of the multiple optical fiber links, and determine whether the different optical fiber links are in the same cable based on whether the position information of the reflection points of the receiving end devices of different optical fiber links matches.

[0226] In some embodiments, the analysis device is integrated into a controller, a network management device (network management device) or other network elements of a communication system. For example, the analysis device is a software defined network (SDN) controller or a path computation element (PCE). For another example, the analysis device is a network element in an optical communication network. For another example, the analysis device is a general-purpose computer device, such as a server or a terminal. In other embodiments, the analysis device is an independent device in a communication system that is dedicated to analyzing whether the cables are the same.

[0227] In some embodiments, the network device and the analysis device are implemented in a co-installed manner, and the network device and the analysis device are integrated in the same physical device. Some embodiments of the present application describe the process by taking the case where the network device and the analysis device are separately installed as an example. When the network device and the analysis device are co-installed, the steps performed by the network device and the steps performed by the analysis device are both performed by the device integrated with the network device and the analysis device. For example, when the analysis device is integrated on the network device, the steps performed by the analysis device are actually performed by the network device.

[0228] In some embodiments, when the network device and the analysis device are implemented in a separate manner, the network device and the analysis device are different physical devices that communicate with each other. For example, the network device is provided in a general network device such as a router, a switch or a firewall, or a dedicated network device, and the analysis device is provided in a server that communicates with the network device, and the server implements the functions of the analysis device by running software that supports the control and management plane functions.

[0229] Optionally, the analysis device comprises a plurality of devices working in coordination. Alternatively, the analysis device is a single device.

[0230] (37) Laser bias current

[0231] The bias current of a laser is a stable DC current input to the laser. The magnitude of the bias current can control the optical power output by the laser. For example, when the bias current of the laser increases, the optical power output by the laser increases. When the bias current of the laser increases, the optical power output by the laser decreases.

[0232] (38) Modulation curve of laser

[0233] The modulation curve of a laser is also called the response characteristic curve of the laser or the output characteristic curve of the laser. The modulation curve of a laser is used to indicate the corresponding relationship between the output optical power of the laser and the input electrical signal (such as bias current) of the laser. The modulation curve of a laser describes the change of the output optical power of the laser with the change of the input electrical signal of the laser. For example, the modulation curve of a laser describes the corresponding relationship between the output optical power of the laser and the input current value of the laser. For another example, the modulation curve of a laser describes the corresponding relationship between the output optical power of the laser and the input voltage value of the laser. In some embodiments, the modulation curve of the laser is a linear curve, and when the input electrical signal to the laser changes linearly, the output optical power of the laser will also change linearly. For example, when the input electrical signal to the laser increases from 0 current to 1mA, the output optical power of the laser will also increase from 0 to 10mW accordingly. In other embodiments, the modulation curve of the laser is a nonlinear curve.

[0234] (39)Modulation curve of the driver

[0235] The modulation curve of the driver is also called the response characteristic curve of the driver or the output characteristic curve of the driver. The modulation curve of the driver is used to indicate the relationship between the output electrical signal of the driver and the control signal input to the driver. The modulation curve of the driver describes the change of the output optical power of the driver as the input electrical signal of the driver changes. For example, the modulation curve of the driver describes the corresponding relationship between the output optical power of the driver and the input current value of the driver. For another example, the modulation curve of the driver describes the corresponding relationship between the output optical power of the driver and the input voltage value of the driver. In some embodiments, the modulation curve of the driver is a linear curve, and when the input electrical signal to the driver changes linearly, the output optical power of the driver will also change linearly. For example, when the control voltage signal input to the driver increases from 0V to 2V, the output electrical signal of the driver will also change from 0V to 4V. In other embodiments, the modulation curve of the driver is a nonlinear curve.

[0236] (40) 100G LR1 optical module

[0237] 100G LR1 optical module refers to an optical module that supports a transmission rate of 100Gigabit per second. 100GLR1 optical modules usually use a single wavelength (1 laser). 100G LR1 optical modules usually use the Pulse Amplitude Modulation 4-Level (PAM4) modulation format.

[0238] (41) 100G LR4 optical module

[0239] 100G LR4 optical module refers to an optical module that supports 100G transmission rate. 100GLR4 optical module usually uses a laser with 4 wavelengths. 100G LR4 optical module usually uses NRZ modulation format. For example, 100G LR4 optical module includes electrical connector, power supply (Power Supplies), clock and data recovery (CDR) or limiting amplifier (Limiting Amplifier), monitoring / control (Monitoring / Control), CDR or equalizer (Equalizer), laser diode driver (Laser Diode Driver, LDD), laser, optical multiplexer (opticalmux), duplex LC connector (Duplex LC Connector) and optical demux (optical demux).

[0240] The following is an example of an application scenario of the embodiment of the present application.

[0241] The embodiments of the present application are applied to a scenario where two network devices equipped with optical modules are connected by an optical cable to achieve optical fiber communication. Generally, the length of a section of optical cable is limited, and as the transmission distance increases, the volume and weight of the optical cable will also increase. Therefore, it is usually difficult to achieve signal transmission between network devices at a long distance using only one section of optical cable. In view of this, by connecting multiple sections of optical cables to extend the length of the optical fiber link, end-to-end optical fiber communication can be achieved.

[0242] In the process of connecting multiple sections of optical cables, the role of optical cable connectors is relatively important. Optical cable connectors are used to connect different sections of optical cables. Optical cable connectors are, for example, optical cross-connect boxes, ODFs, or junction boxes. Optical cable connectors are deployed between the optical module connected to the sending end device and the optical module connected to the receiving end. The multiple sections of optical cables between the optical module connected to the sending end device and the optical module connected to the receiving end are interconnected through optical cable connectors, so that the multiple sections of optical cables form a whole and realize an end-to-end optical fiber link. It can also be understood that the end-to-end optical fiber link between the sending end device and the receiving end device is divided into multiple sections of optical cables through optical cable connectors.

[0243] For example, the first port of the optical cable connector is used to connect k optical cable segments, and the second port of the optical cable connector is used to connect m optical cable segments, where m is less than or equal to k. This is equivalent to the optical cable connector converging k optical cable segments into m optical cable segments, thereby reducing the number of optical cable segments, improving the neatness of wiring, and simplifying the layout of optical cables in the network. Among them, an optical cable segment can be understood as a continuous optical cable between two connection points, and there is no fusion point or connection point in an optical cable segment.

[0244] As a specific example of an application scenario where multiple fiber optic cable segments are interconnected by deploying fiber optic cable connectors, please refer to Figure 1 , Figure 1 The schematic diagram of the architecture of a network system 10 provided in an embodiment of the present application is shown. The network system 10 includes a first network device, a second network device, a third network device and a fourth network device. Different network devices in the network system 10 are respectively connected to optical modules so as to transmit optical signals through the optical modules. Optionally, the network system 10 is deployed in an optical communication network, and the first network device, the second network device, the third network device and the fourth network device are all network elements in the optical communication network.

[0245] like Figure 1 As shown, the first network device is connected to the first optical module. The second network device is connected to the second optical module. The third network device is connected to the third optical module. The fourth network device is connected to the fourth optical module. The first optical module is connected to the second optical module via the first optical fiber link.

[0246] The third optical module is connected to the fourth optical module through the second optical fiber link.

[0247] The network system 10 is provided with an optical cable connector A and an optical cable connector B. The optical cable connector A is located between the first optical module and the second optical module, and the optical cable connector A is located between the third optical module and the fourth optical module. The optical cable connector B is located between the first optical module and the second optical module, and the optical cable connector B is located between the third optical module and the fourth optical module.

[0248] exist Figure 1 In the illustrated scenario, the first network device communicates with the second network device via a first optical fiber link, and the third network device communicates with the fourth network device via a second optical fiber link. Figure 1 As shown, the first optical fiber link passes through the optical cable segment 1, the optical cable segment 3 and the optical cable segment 4 in sequence. The first optical module is connected to the port a1 of the optical cable connector A through the optical cable segment 1. The port a1 of the optical cable connector A is connected to the optical cable segment 1, and the port a3 of the optical cable connector A is connected to the optical cable segment 3. The port b3 of the optical cable connector A is connected to the optical cable segment 3. The port b1 of the optical cable connector B is connected to the optical cable segment 4. The optical cable segment 4 is connected to the second optical module. The fourth optical fiber link passes through the optical cable segment 2, the optical cable segment 3 and the optical cable segment 5 in sequence. The third optical module is connected to the port a2 of the optical cable connector A through the optical cable segment 2. The port a2 of the optical cable connector A is connected to the optical cable segment 3, and the port a3 of the optical cable connector A is connected to the optical cable segment 3. The port b3 of the optical cable connector A is connected to the optical cable segment 3. The port b2 of the optical cable connector B is connected to the optical cable segment 5. The optical cable segment 5 is connected to the fourth optical module.

[0249] The optical cable segment protects the optical fiber by wrapping it. However, once the optical cable segment fails (such as being cut, bent, or squeezed, etc.), all optical fiber links in the optical cable segment will fail, causing communication quality to deteriorate or even be interrupted.

[0250] Based on this, a primary-backup protection mechanism is usually adopted to establish multiple fiber links between network devices, including primary fiber links and backup fiber links. The backup fiber link is equivalent to the backup of the primary fiber link, and the backup fiber link is used to protect the primary fiber link. When the primary fiber link fails, such as when the fiber in the primary fiber link is disconnected due to construction, the reliability of communication is improved by quickly switching to the backup fiber link, reducing the inability to transmit business data due to the failure of a single fiber link.

[0251] However, in the process of laying optical fiber, it is often the case that the main optical fiber link and the backup optical fiber link are in the same cable. For example, the main optical fiber link and the backup optical fiber link are in the same channel or even in the same section of optical cable. For example, please refer to Figure 1 ,exist Figure 1 In the illustrated scenario, both the first optical fiber link and the second optical fiber link pass through the optical cable segment 3. In other words, the optical cable segment 3 is a common optical cable segment for the first optical fiber link and the second optical fiber link.

[0252] The use of the same cable for the main optical fiber link and the backup optical fiber link is equivalent to "fake main and backup", that is, there is no backup protection mechanism to achieve effective protection. Specifically, if the optical cable segment shared by the main optical fiber link and the backup optical fiber link fails, such as being dug, bent or squeezed, the main optical fiber link and the backup optical fiber link will be disconnected and fail. In other words, each optical cable segment passed by the main optical fiber link and each optical cable segment passed by the backup optical fiber link should be independent of each other to achieve the effect of backup protection.

[0253] For example, see Figure 1 , Figure 1 The first optical fiber link is, for example, a main optical fiber link, and the second optical fiber link is, for example, a backup optical fiber link. Figure 1 If the middle optical cable segment 3 is cut, both the first optical fiber link and the second optical fiber link are disconnected, and the service transmitted on the first optical fiber link cannot be switched to the second optical fiber link, so the backup protection function becomes invalid.

[0254] For example, please refer to Figure 5 , Figure 5 is a schematic diagram of an exemplary cross-sectional structure of an optical cable, Figure 5 The optical cable shown includes a protective sleeve 21, and four optical fibers 22 are wrapped inside the protective sleeve 21, namely Figure 5 Fiber 1, fiber 2, fiber 3 and fiber 4 in the optical cable. Optionally, other components are also provided in the optical cable, such as fillers and power lines. Figure 1 The middle cable section 3 has, for example, Figure 5 The structure shown, Figure 1 The first optical fiber link in Figure 5 The optical fiber 1 in the optical fiber 22, Figure 1 The second optical fiber link in Figure 5 Fiber 2 in fiber 22. If Figure 5 In the optical cable shown, the protective sleeve 21 is cut, and the links constructed by the four optical fibers in the protective sleeve 21 are all disconnected.

[0255] Therefore, it is very important to detect whether different optical fiber links share the same optical cable segment (hereinafter referred to as co-cable detection) for network communication. Many network operators hope to automatically perform co-cable detection through equipment so that they can take corresponding measures in advance according to the detection results.

[0256] However, if you rely on OTDR for co-cable detection, since the optical module as the transmitting end needs to receive the reflected signal and perform a series of signal processing such as separation and sampling on the reflected signal, it is necessary to set up additional devices (such as MCU, MCM, DRV, ROSA and filter) in the optical module to process the reflected signal. These additional devices cause the overall power consumption of the optical module to be large. In addition, these additional devices also lead to a higher cost of the optical module, occupy too much space in the optical module, and also have an adverse effect on the heat dissipation and energy saving of the optical module.

[0257] In view of this, in some embodiments of the present application, the transmitting end performs signal modulation to obtain an optical signal with a predetermined code type; the transmitting end sends an optical signal with a predetermined code type, and the receiving end determines the position characteristics of the reflection point based on the received optical signal. Based on the position characteristics of the reflection points of the two optical fiber links, the risk of the two optical fiber links being in the same cable can be determined. This method of realizing the same cable detection based on the position characteristics of the reflection points determined by the receiving end can also be referred to as the optical time domain analysis (OTDA) method.

[0258] For example, in Figure 1 In the illustrated scenario, the first network device and / or the first optical module, for example, acts as a transmitter, and the second network device and / or the second optical module, for example, acts as a receiver. The first optical module sends an optical pulse signal of a predetermined code type through the first optical fiber link, and the second network device and / or the second optical module obtains the position characteristics of the reflection point in the first optical fiber link based on the signal received from the first optical fiber link. Similarly, the third network device and / or the third optical module, for example, acts as a transmitter, and the fourth network device and / or the fourth optical module, for example, acts as a receiver. The third optical module sends an optical pulse signal of a predetermined code type through the second optical fiber link. The fourth network device and / or the fourth optical module obtains the position characteristics of the reflection point in the second optical fiber link based on the signal received from the second optical fiber link. If the position characteristics of the reflection point corresponding to port a3 in the first optical fiber link are the same as the position characteristics of the reflection point corresponding to port a3 in the second optical fiber link, and the position characteristics of the reflection point corresponding to port b3 in the first optical fiber link are the same as the position characteristics of the reflection point corresponding to port b3 in the second optical fiber link, it can be determined that the first optical fiber link and the second optical fiber link have the risk of being in the same cable, which is equivalent to identifying that the first optical fiber link and the second optical fiber link both pass through the optical cable segment 3.

[0259] refer to Figure 2 , Figure 2 Another schematic diagram of the architecture of the network system 10 provided in an embodiment of the present application is shown. Figure 2 The network system 10 shown is Figure 1 A specific example of a network system 10 is shown. Figure 2 The optical cross box 1 is Figure 1 A specific example of a fiber optic cable connector A, Figure 2 The light cross box 2 is Figure 1 A specific example of the optical cable connector B in FIG. The position characteristics of the reflection point generated at the connection with the optical cross-box 1 in the first optical fiber link, the position characteristics of the reflection point generated at the connection with the optical cross-box 2 in the first optical fiber link, the position characteristics of the reflection point generated at the connection with the optical cross-box 1 in the second optical fiber link, and the position characteristics of the reflection point generated at the connection with the optical cross-box 2 in the second optical fiber link can serve as a basis for determining whether the first optical fiber link and the second optical fiber link share the same optical cable segment. If the position characteristics of the reflection point generated at the connection with the optical cross-box 1 in the first optical fiber link are the same as the position characteristics of the reflection point generated at the connection with the optical cross-box 1 in the second optical fiber link, and the position characteristics of the reflection point generated at the connection with the optical cross-box 2 in the first optical fiber link are the same as the position characteristics of the reflection point generated at the connection with the optical cross-box 2 in the second optical fiber link, it can be determined that the first optical fiber link and the second optical fiber link are at risk of sharing the same optical cable segment.

[0260] refer to Figure 3 , Figure 3 Another schematic diagram of the architecture of the network system 10 provided in an embodiment of the present application is shown. Figure 3 The network system 10 shown in FIG. Figure 1 On the basis of the network system 10 shown, an analysis device is further deployed. The analysis device is respectively connected to the second network device as a receiving end and the fourth network device as a receiving end. The analysis device is used to receive the position characteristics of the reflection point of the first optical fiber link from the second network device and the position characteristics of the reflection point in the second optical fiber link from the fourth network device. The analysis device determines that the first optical fiber link and the second optical fiber link share the same optical cable segment based on the position characteristics of the reflection point of the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link. In other embodiments, the analysis device and the second network device are implemented in a combined manner, and the second network device and the analysis device are integrated in the same physical device. For example, the second network device receives the position characteristics of the reflection point in the second optical fiber link from the fourth network device. The second network device determines that the first optical fiber link and the second optical fiber link share the same optical cable segment based on the position characteristics of the reflection point of the first optical fiber link determined by the device and the position characteristics of the reflection point in the second optical fiber link sent by the fourth network device, thereby realizing the function of the analysis device.

[0261] refer to Figure 4 , Figure 4 A schematic diagram of a hardware structure applicable to a network system 10 provided in an embodiment of the present application is shown. Figure 4 (a) in the figure shows a schematic diagram of the hardware structure of the sending end network device. Figure 1 The first network device and the third network device shown optionally have Figure 4The structure shown in (a). Figure 4 (b) in the figure shows a schematic diagram of the hardware structure of the transmitting optical module. Figure 1 The first optical module and the third optical module shown optionally have Figure 4 The structure shown in (a). Figure 4 (c) in the figure shows a schematic diagram of the hardware structure of the receiving end optical module. Figure 1 The second optical module and the fourth optical module shown optionally have Figure 4 The structure shown in (c). Figure 4 (d) in FIG. 1 shows a schematic diagram of the hardware structure of the receiving-end network device. Figure 1 The second network device and the fourth network device shown optionally have Figure 4 The structure shown in (d).

[0262] Figure 4 Please refer to the description of the above terminology for the functions of each hardware component shown. Figure 4 The connection relationship and functional coordination relationship between the various hardware components are shown.

[0263] The first network device 100 includes a mainboard 110 and an optical module 120 .

[0264] The mainboard 110 is electrically connected to the optical module 120. The mainboard 110 includes a service chip 111 and an electrical interface 112. For example, the electrical interface 112 of the mainboard 110 is connected to the electrical interface 121 of the optical module 120. For example, the mainboard 110 includes one or more PCBs, and the service chip 111 and the electrical interface 112 are arranged on the PCBs. In some embodiments, the service chip 111 communicates with the optical module 120 using an Inter-Integrated Circuit (IIC) protocol.

[0265] The optical module 120 includes an electrical interface 121, an electro-optical converter 122, and an optical interface 123. The electrical interface 121, the electro-optical converter 122, and the optical interface 123 are located on the transmission path of the same signal. In other words, when the electrical signal from the service chip 111 is input to the electrical interface 121, the electrical signal can be converted into an optical signal through the electro-optical converter 122 so that the optical signal can be output to the optical cable through the optical interface 123. The electrical interface 121 of the optical module 120 is also connected to the electro-optical converter 122.

[0266] The input end of the electro-optical converter 122 is connected to the electrical interface 121. The output end of the electro-optical converter 122 is connected to the optical interface 123. The electro-optical converter 122 is used to perform electro-optical conversion on the electrical signal from the electrical interface 121 to obtain an optical signal, and output the optical signal to the optical interface 123. The electro-optical converter 122 includes a laser 1221 and a driver 1222. The driver 1222 is used to drive the laser 1221. The driver 1222 is used to generate a driving electrical signal (such as a driving current or a driving voltage), and input the driving electrical signal to the laser 1221, so that the laser 1221 generates an optical signal based on the driving electrical signal. The output end of the driver 1222 is connected to the input end of the laser 1221. The output end of the laser 1221 is connected to the optical interface 123.

[0267] The optical interface 123 is connected to the optical cable. The optical cable includes one or more optical cable segments. An optical cable segment includes one or more optical fiber links. The optical interface 123 is used to output the optical signal to the optical cable, and the optical signal is transmitted to the opposite end through the optical fiber link in the optical cable.

[0268] In some embodiments, the optical module 120 further includes a DAC unit 124. The DAC unit 124 is located on the transmission path of the same signal as the electrical interface 121, the electro-optical converter 122, and the optical interface 123. The DAC unit 124 is used to convert the digital electrical signal from the electrical interface 121 into an analog electrical signal, and output the analog electrical signal to the electro-optical converter 122. The input end of the DAC unit 124 is connected to the electrical interface 121. The output end of the DAC unit 124 is connected to the electro-optical converter 122.

[0269] In some embodiments, the optical module 120 further includes an oDSP 140. The oDSP 140 is located on the transmission path of the same signal as the electrical interface 121, the electro-optical converter 122, and the optical interface 123. The oDSP 140 is used to perform digital signal processing and modulation format conversion on the digital electrical signal from the electrical interface 121, and output the processed digital electrical signal to the DAC unit 124.

[0270] In some implementations, the oDSP 140 is integrated with the DAC unit 124. For example, the DAC unit 124 is integrated inside the oDSP 140. In other implementations, the oDSP 140 and the DAC unit 124 are separate from each other.

[0271] In some embodiments, the optical module 120 further includes an MCU 180. The MCU 180 is used to control various components in the optical module 120. For example, the MCU 180 is used to provide a control signal to the driver 1222. The MCU 180 generates a control signal and inputs the control signal to the driver 1222, so that the driver 1222 generates a driving signal that meets the requirements under the triggering of the control signal. The output end of the MCU 180 is connected to the input end of the driver 1222.

[0272] The second network device 200 includes a mainboard 210 and an optical module 220 .

[0273] The optical module 220 includes an optical interface 223, an electrical interface 221, an optical-electrical converter 222, and an analog-to-digital converter 224. The optical interface 223, the electrical interface 221, the optical-electrical converter 222, and the analog-to-digital converter 224 are located on the same signal receiving path.

[0274] The optical interface 223 is connected to the optical cable. The optical interface 223 is used to receive the optical signal from the optical fiber link in the optical cable. The optical interface 223 is connected to the input end of the photoelectric converter 222.

[0275] The photoelectric converter 222 is used to receive the optical signal from the optical interface 223 , perform photoelectric conversion on the optical signal, obtain an analog electrical signal, and output the analog electrical signal. The output end of the photoelectric converter 222 is connected to the analog-to-digital converter 224 .

[0276] The analog-to-digital converter 224 is used to receive the analog electrical signal from the photoelectric converter 222 and perform analog-to-digital conversion on the analog electrical signal to obtain a digital electrical signal. The input end of the analog-to-digital converter 224 is connected to the photoelectric converter 222. The output end of the analog-to-digital converter 224 is connected to the electrical interface 221.

[0277] The electrical interface 221 is electrically connected to the mainboard 210 . The electrical interface 221 is used to output digital electrical signals to the mainboard 210 .

[0278] Optionally, the optical module 220 further includes an MCU 280. The MCU 180 is used to control various components in the optical module 220. For example, the MCU 180 is used to provide a control signal for the analog-to-digital converter 224. The MCU 180 generates a control signal carrying a sampling frequency, and inputs the control signal carrying the sampling frequency to the analog-to-digital converter 224, so that the analog-to-digital converter 224 performs sampling according to the sampling frequency under the triggering of the control signal. The output end of the MCU 180 is connected to the input end of the analog-to-digital converter 224.

[0279] Optionally, the optical module further includes an oDSP 240. In some embodiments, the oDSP 240 is integrated with the analog-to-digital converter 224. For example, the analog-to-digital converter 224 is integrated inside the oDSP 240. In other embodiments, the oDSP 240 and the analog-to-digital converter 224 are separated from each other.

[0280] In some embodiments, the MCU 280 is integrated with the analog-to-digital converter 224. For example, the analog-to-digital converter 224 is integrated inside the MCU 280. In other embodiments, the MCU 280 and the analog-to-digital converter 224 are separated from each other. The mainboard 210 includes a business chip 211 and an electrical interface 212. The electrical interface 212 is electrically connected to the electrical interface 221 of the optical module 220. The electrical interface 212 is used to receive an electrical signal from the optical module 220. The business chip 211 is connected to the electrical interface 212. The business chip 211 is used to process the electrical signal from the electrical interface 212.

[0281] refer to Figure 6 , Figure 6 A schematic flow chart of a same-cable detection method provided in an embodiment of the present application is shown. Figure 6 The method shown can be applied to Figure 1 The network system 10 shown, Figure 2 The network system 10 or Figure 3 In the network system 10 shown. For example, Figure 6 The first network device and the second network device in the method shown have Figure 4 The hardware structure shown.

[0282] Step S410: A first optical module generates a first optical signal. The first optical signal includes an optical pulse signal having a predetermined code pattern, where the predetermined code pattern is used to describe the shape of a curve of a relationship between signal power and time.

[0283] In some embodiments, the predetermined code pattern includes a pulse duration that is less than a set duty cycle. For example, the duty cycle of the optical pulse signal of the predetermined code pattern is less than 5%. Due to the low duty cycle, the overlap between the main pulse signal and the secondary pulse signal can be reduced, making it easier for the receiving end to distinguish the initial signal (the optical pulse signal of the predetermined code pattern) from the reflected signal (the secondary pulse signal), thereby improving the accuracy of the receiving end in determining the position characteristics of the reflection point.

[0284] In some embodiments, the predetermined code pattern includes a signal frequency greater than a set frequency. For example, the signal frequency is greater than 1 MHz. Since the signal frequency sent by the transmitting end is relatively high, the implementation complexity of distinguishing the original signal (optical pulse signal of the predetermined code pattern) and the reflected signal (secondary pulse signal) at the receiving end is reduced.

[0285] Since the code type of the optical pulse signal modulated by the transmitting optical module can be various code types such as square wave pulse signal, sine wave pulse signal or triangle wave pulse signal, the dependence on the modulation format of the optical module is relatively small, which greatly broadens the types of applicable optical modules.

[0286] In some implementations, the transmitting end optical module transmits a square wave pulse signal so that the receiving end device can perform co-cable detection based on the received signal. Since the implementation complexity of the transmitting end device generating the square wave pulse signal is relatively low, and the square wave pulse signal is relatively narrow (the duty cycle is relatively small), it is relatively simple for the receiving end device to analyze the square wave pulse signal to obtain the position characteristics of the reflection point, thereby reducing the overall implementation complexity of the solution.

[0287] In some embodiments, the predetermined code pattern includes a pulse duration that is less than the set pulse duration. For example, the predetermined code pattern includes a pulse duration that is less than 1us. Since the duration of the pulse signal is less than 1 microsecond, it is equivalent to that the signal pulse sent by the transmitter is very short, or the signal sent by the transmitter has a higher resolution in the time domain, so the sharpness and clarity of the signal can be increased, making it easier for the receiving end to detect the change of the pulse and more accurately identify the original signal (the optical pulse signal of the predetermined code pattern). In addition, it helps the receiving end to more accurately distinguish the starting position and the ending position of the original signal (the optical pulse signal of the predetermined code pattern) and the reflected signal (the secondary pulse signal), so that the result of the receiving end comparing the main pulse signal and the secondary pulse signal is more accurate.

[0288] Take the predetermined code type as a square wave as an example. For example, please refer to the attached Fig.13 , attached Fig.13 A waveform diagram of an optical pulse signal of a predetermined code type is shown in FIG. Fig.13 Here, PW represents the high level duration, PRI represents the duration of a pulse cycle, and PW / PRI represents the duty cycle D.

[0289] Take the predetermined code type as a triangle wave as an example. For example, please refer to the attached Fig.14 , attached Fig.14 A waveform schematic diagram of an optical pulse signal of a predetermined code type is shown.

[0290] Take the predetermined code type as a sine wave as an example. Fig.15 , attached Fig.15 A waveform schematic diagram of an optical pulse signal of a predetermined code type is shown.

[0291] In some embodiments, the first optical module receives a configuration instruction. The configuration instruction is used to indicate the code type of the optical signal. The configuration instruction carries parameters that can describe the predetermined code type. For example, the configuration instruction carries at least one of the type of code type, pulse width, pulse period, duty cycle, peak amplitude, valley amplitude, signal frequency, rise time and fall time. The first optical module parses the configuration instruction, obtains the parameters that can describe the predetermined code type carried by the configuration instruction, and generates the first optical signal based on the parameters that can describe the predetermined code type. Based on this, the type of code type, pulse width, pulse period, duty cycle, peak amplitude, valley amplitude, signal frequency, rise time and fall time can be customized and edited according to needs to improve flexibility.

[0292] Step S420: The first optical module sends a first optical signal to the second optical module through the first optical fiber link.

[0293] Step S430: The second optical module receives the first optical signal through the first optical fiber link.

[0294] Step S440: The second optical module performs photoelectric conversion and sampling on the first optical signal to obtain a first digital electrical signal.

[0295] Step S450: The second optical module sends a first digital electrical signal to a service chip in the second network device.

[0296] Step S460: The service chip in the second network device receives the first digital electrical signal from the second optical module.

[0297] Step S470: The second network device determines a position characteristic of a reflection point in the first optical fiber link based on the first digital electrical signal.

[0298] Step S480: The second network device sends the position characteristics of the reflection point in the first optical fiber link to the analysis device.

[0299] Step S910: The third optical module generates a second optical signal.

[0300] The second optical signal includes an optical pulse signal having a predetermined code pattern. The code pattern of the second optical signal generated by the third optical module and the first optical signal generated by the first optical module are, for example, the same.

[0301] Step S920: The third optical module sends a second optical signal to the fourth optical module through the second optical fiber link.

[0302] Step S930: The fourth optical module receives the second optical signal through the first optical fiber link.

[0303] Step S940: The fourth optical module performs photoelectric conversion and sampling on the second optical signal to obtain a second digital electrical signal.

[0304] Step S950: The fourth optical module sends a second digital electrical signal to a service chip in a fourth network device.

[0305] Step S960: The service chip in the fourth network device receives the second digital electrical signal.

[0306] Step S970: The fourth network device determines a position characteristic of a reflection point in the second optical fiber link based on the second digital electrical signal.

[0307] Step S980: The fourth network device sends the position characteristics of the reflection point in the second optical fiber link to the analysis device.

[0308] Step S490: The analysis device receives the position characteristics of the reflection point in the first optical fiber link from the second network device and the position characteristics of the reflection point in the second optical fiber link from the fourth network device.

[0309] Step S491: In response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, the analysis device determines that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0310] In the method provided in this embodiment, when two transmitting optical modules (the first optical module and the third optical module) respectively send optical pulse signals of predetermined code types through two optical fiber links, two receiving ends (the second network device and the fourth network device) process the two optical signals received by the two optical fiber links, thereby identifying (or determining) the position characteristics of the reflection points. If the position characteristics of the corresponding reflection points in the two optical fiber links are the same, it can be predicted that the two optical fiber links have a certain probability of being the same cable.

[0311] by Figure 1 As an example, in the scenario shown in Figure 1 Application of the scenario shown Figure 6 The method shown helps to detect that both the first optical fiber link and the second optical fiber link are at risk of being in the optical cable segment 3 .

[0312] Reference Figure 7 , attached Figure 7 The attached Figure 6 S410 and / or S910 in the method shown are further described. Figure 7 The method shown focuses on describing how the various hardware components in the optical module in the transmitting end interact to implement S410 and / or S910. Figure 7 The method shown can optionally be applied to Figures 1 to 3 The first optical module or the third optical module in the network system 10 shown in any of the figures. Figure 7 The network deployment location of the optical module in the method shown can be referred to Figures 1 to 3 Description.

[0313] Step S404: the electro-optical converter generates a first optical signal, where the first optical signal includes an optical pulse signal having a predetermined code pattern, where the predetermined code pattern is used to describe the shape of a curve of a relationship between signal power and time.

[0314] In some embodiments, the electro-optical converter generates an optical pulse signal having a predetermined code pattern at predetermined time intervals, thereby generating a first optical signal, wherein the first optical signal includes an optical pulse signal having a plurality of cycles, and each optical pulse signal has a predetermined code pattern.

[0315] Considering that if the transmitting optical module only sends one cycle of optical pulse signal with a predetermined code type, and the receiving end device only samples one cycle of signal, the accuracy of the position characteristics of the reflection point determined by the receiving end may be insufficient due to the limited data amount of the sampled signal. By periodically sending the optical pulse signal with a predetermined code type by the transmitting optical module, the receiving end optical module can sample multiple cycles of signals, thereby increasing the data amount of the signal sampled by the receiving end optical module, which helps to improve the accuracy of the position characteristics of the reflection point determined by the receiving end.

[0316] In some embodiments, the electro-optical converter generates an optical pulse signal having a predetermined code pattern at predetermined time intervals, thereby generating a first optical signal, wherein the first optical signal includes an optical pulse signal having a plurality of cycles, and each optical pulse signal has a predetermined code pattern.

[0317] Considering that if the transmitting optical module only sends one cycle of optical pulse signal with a predetermined code type, and the receiving end device only samples one cycle of signal, the accuracy of the position characteristics of the reflection point determined by the receiving end may be insufficient due to the limited data amount of the sampled signal. By periodically sending the optical pulse signal with a predetermined code type by the transmitting optical module, the receiving end optical module can sample multiple cycles of signals, thereby increasing the data amount of the signal sampled by the receiving end optical module, which helps to improve the accuracy of the position characteristics of the reflection point determined by the receiving end.

[0318] In some embodiments, the electro-optical converter performs signal modulation based on the pattern parameters and the modulation curve to generate a pulse signal with a predetermined pattern. The pattern parameters refer to parameters used to describe the predetermined pattern.

[0319] Step S406: The electro-optical converter sends a first optical signal to the optical interface.

[0320] Step S408: The optical interface sends a first optical signal to the second optical module through the first optical fiber link, so that the second network device determines the position characteristics of the reflection point in the first optical fiber link according to the electrical signal generated by the second optical module based on the received optical signal. The position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0321] The optical module provided in this embodiment, as the transmitting end optical module, transmits an optical pulse signal with a predetermined code type, so that the receiving end device determines the position characteristics of the reflection point based on the electrical signal generated by the received optical signal, so as to facilitate the detection of whether the optical fiber link is in the same cable based on the position characteristics of the reflection points of different optical fiber links. Since it is no longer dependent on OTDR for the same cable detection, but the receiving end device is responsible for the task of determining the position characteristics of the reflection point, the limitations of the OTDR technology in application are reduced to a certain extent, so that the optical module as the transmitting end does not need to be provided with additional devices (such as MCU, MCM, DRV, ROSA and filter) for separating the reflection signal, sampling the reflection signal and other various processing reflection signals in order to realize OTDR, thereby reducing the power consumption of the optical module as a whole generated by the additional devices in the transmitting end optical module in the OTDR technology.

[0322] In addition, considering that optical modules tend to be packaged in miniaturized form factors, the optical module provided in this embodiment helps to achieve co-cable detection to a certain extent while avoiding the addition of additional components within the limited optical module space, so that the optical module can maintain a smaller size and does not need to occupy more space to house additional components. This reduces the technical difficulty of the transmitting optical module in the OTDR technology being constrained by the limited space of the optical module, which makes it difficult to deploy additional devices and leads to the inability to achieve co-cable detection, and reduces the dependence on the volume integration of the optical module.

[0323] In addition, since the hardware changes to the optical module are relatively small (based on the hardware structure of the optical module that does not require changes), it can also help to achieve cable co-detection to a certain extent. Therefore, it has good compatibility with existing optical modules, and helps to smoothly evolve existing optical modules to achieve cable co-detection. There is no need to re-iterate the hardware version of the optical module to perform cable co-detection, reducing the implementation complexity of cable co-detection based on optical modules.

[0324] In addition, the cost of the optical module as a whole caused by the additional components in the transmitting optical module in the OTDR technology is also saved.

[0325] In addition, the adverse effects of additional components in the transmitting optical module on the heat dissipation and energy saving of the optical module in the OTDR technology are also reduced.

[0326] In addition, there is no need to insert a dedicated OTDR module into the port of the mainboard of the transmitting device to implement the same cable detection, thereby saving the port occupied by the dedicated OTDR module on the mainboard of the transmitting device. Therefore, it helps to improve the port utilization rate of the mainboard of the transmitting device and is more suitable for application scenarios with high port density.

[0327] In the attached Figure 6 In S410 of the method shown, there are multiple implementations for how the first optical module specifically generates an optical pulse signal of a predetermined code type. The embodiment of the present application uses the following three modulation methods as examples for illustration. Any one of the following three modulation methods can be used in S410.

[0328] Modulation mode 1: The transmitting optical module modulates the optical signal to generate an optical signal with a predetermined code type.

[0329] In some embodiments, the electro-optical converter includes a laser, and the laser modulates the optical signal so that the laser outputs a first optical signal.

[0330] Top adjustment refers to adjusting the characteristics of the original waveform of the optical signal so that the adjusted waveform of the optical signal has a predetermined shape, thereby generating an optical pulse signal with a predetermined code type. The waveform characteristics of the optical signal include parameters such as the time series, peaks, troughs, and frequency of the optical signal. The waveform shape of the optical signal can describe the change pattern of the optical signal on the time axis. For example, the waveform of the original optical signal generated by the laser (the optical signal that has not been top-adjusted) is a straight line. By top-adjusting the original optical signal, the waveform of the optical signal has peaks and troughs, thereby forming an optical pulse signal with a predetermined code type. In some embodiments of top adjustment, the optical module adjusts the parameters such as the amplitude, frequency, peak position, trough position, or duty cycle based on which the laser generates the optical signal, thereby affecting the waveform characteristics of the optical signal so that the laser has an optical pulse signal with a predetermined code type.

[0331] In some embodiments of the top adjustment, the power of the optical signal is used as a carrier for carrying a predetermined code pattern. The optical module adjusts the power of the optical signal output by the optical module according to the predetermined code pattern, which is equivalent to encoding the optical signal so that different powers of the optical signal represent different digital positions (bits). For example, a relatively simple optical signal encoding method is non-return to zero (NRZ). In NRZ encoding, when the optical signal power is high, it represents the number 1; when the optical signal power is low or there is no optical signal, it represents the number 0. In this way, by changing the power of the optical signal, the predetermined code pattern can be transmitted to the receiving device.

[0332] In some embodiments of the top adjustment, the laser adjusts the output optical power of the laser according to a predetermined code pattern, so that the output optical power fluctuates within the range corresponding to the predetermined code pattern, thereby outputting an optical pulse signal with a predetermined code pattern. For example, the output optical power of the laser is usually stable, for example, the original output optical power of the laser is 1mw. Taking the predetermined code pattern as a square wave as an example, in the process of top adjustment, the laser first adjusts the output optical power of the laser to 0.5mw, and the laser continuously outputs an optical signal according to the output optical power of 0.5mw; after the first predetermined time interval, the laser adjusts the output optical power of the laser to 1.5mw, and the laser continuously outputs an optical signal according to the output optical power of 1.5mw; after the second predetermined time interval, the laser re-adjusts the output optical power of the laser to 1mw, and the laser continuously outputs an optical signal according to the output optical power of 1mw, and so on, the output optical power of the laser fluctuates according to the pattern of 0.5mw→1.5mw→0.5mw→1.5mw, thereby generating a predetermined code pattern.

[0333] Since the optical signal generated by the laser is modulated so that the optical module sends an optical pulse signal with a predetermined code type, the execution position of the modulation of the signal code type is very close to the optical port. For example, after the optical module at the transmitting end executes signal processing processes such as electrical signal processing and electro-optical conversion and before transmitting the optical signal, the modulation of the signal code type is realized by top modulation, thereby reducing the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type caused by the execution of signal processing processes such as electrical signal processing and electro-optical conversion. Therefore, the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type reduces the interference caused by the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type on the receiving end device to determine the position characteristics of the reflection point, thereby helping to improve the receiving end device to determine the position characteristics of the reflection point, and then helping to improve the accuracy of the same cable detection.

[0334] In addition, the generation of optical pulse signals with a predetermined code type can be achieved based on a general optical module, without requiring the optical module to include oDSP to modulate the predetermined code type, thereby further expanding the range of optical modules applicable to the solution and reducing the requirements for the transmitting optical module for co-cable detection.

[0335] In addition, there is no need to modify the onboard service chip of the network device so that the onboard service chip of the network device can modulate the predetermined code type electrical signal, thereby reducing the requirements for the onboard service chip of the network device.

[0336] The implementation method of generating an optical signal of a predetermined code type based on optical signal modulation specifically includes the following implementation mode A or implementation mode B.

[0337] Implementation method of optical signal modulation A. Use bias modulation to modulate the output optical signal of the laser in the optical module, so as to output an optical pulse signal with a predetermined code type. Bias modulation is also called Bias modulation or TOSA modulation.

[0338] In some embodiments of bias current modulation, the laser receives an input first bias current, generates a first optical signal based on the first bias current, and outputs the first optical signal through an output terminal.

[0339] In some embodiments, the optical module first sets an initial bias current for the laser as a reference current, then superimposes a current having a specific code type with the initial bias current, and inputs the superimposed bias current to the input end of the laser, so that the laser generates and outputs an optical signal having a specific code type based on the superimposed bias current.

[0340] The code type parameter refers to a parameter used to describe a predetermined code type. In some embodiments of bias current modulation, the code type parameter corresponding to the first bias current is configured for the optical module, and the optical module generates the first bias current based on the code type parameter corresponding to the first bias current, and inputs the first bias current to the input end of the laser, thereby triggering the laser to generate and output an optical signal with a specific code type. The code type parameter corresponding to the first bias current includes at least one of pulse width, pulse period, duty cycle, peak amplitude, valley amplitude, signal frequency, rise time and fall time.

[0341] In some embodiments, a modulation curve between the first bias current and the output optical power of the laser corresponds to a predetermined code pattern. The first bias current is determined, for example, based on the modulation curve and the predetermined code pattern. The modulation curve of the laser is used to indicate the corresponding relationship between the output optical power of the laser and the bias current input to the laser, and the modulation curve describes how the output optical power of the laser changes with the change of the bias current. By adjusting the bias current of the laser based on the modulation curve, the output optical power of the laser can fluctuate within the range corresponding to the predetermined code pattern, so that the laser can output an optical pulse signal with a predetermined code pattern.

[0342] In some embodiments, the first bias current includes a peak bias current and a valley bias current. The peak bias current refers to the maximum value of the bias current input to the laser within a predetermined time interval. The peak bias current is determined based on the peak optical power and the modulation curve of the laser. The peak optical power refers to the maximum value of the output optical power of the laser within a predetermined time interval. The valley bias current refers to the minimum value of the bias current input to the laser within a predetermined time interval. The valley bias current is determined based on the valley optical power and the modulation curve of the laser. The valley bias current refers to the maximum value of the output optical power of the laser within a predetermined time interval. The laser generates and outputs the peak optical power based on the input peak bias current. The laser generates and outputs the optical power valley value based on the input bias current valley value, so that the power of the optical signal output by the laser has a peak and valley fluctuation, thereby generating an optical pulse signal with a predetermined code type.

[0343] For example, for an EML laser, when the bias current input to the EML laser is 30mA, the output optical power of the EML laser is 0dBm; when the bias current input to the EML laser is 30mA, the output optical power of the EML laser is 5dBm. By adjusting the bias current in this way, the optical output power corresponding to the predetermined code pattern is obtained. For example, referring to the attached Fig.16 , attached Fig.16 A schematic diagram of the modulation curve of the laser is shown. Fig.16 The modulation curve shown determines a first bias current, and the first bias current is input to the laser so that the laser outputs an optical pulse signal of a predetermined pattern.

[0344] As a specific example, the optical pulse signal of the predetermined code type is, for example, a square wave, and the optical module generates a first bias current, and the first bias current alternates between a peak current and a valley current at a predetermined time interval. After the first bias current is input into the laser, the optical signal output by the laser alternates between a peak power and a valley power at a predetermined time interval.

[0345] The source of the bias current corresponding to the predetermined code type optical pulse signal includes multiple situations. In some embodiments, the first optical module also includes a microcontroller unit MCU, and the MCU is used to generate a first bias current and input the first bias current to the laser. In other embodiments, the electrical interface is also electrically connected to a signal source located outside the first optical module, and the electrical interface receives the first bias current from the signal source and inputs the first bias current to the laser.

[0346] Implementation method B of optical signal modulation is to modulate the output optical signal of the laser in the optical module based on a driving electrical signal related to a predetermined code pattern by using a driver modulation method, thereby outputting an optical pulse signal with a predetermined code pattern.

[0347] In some embodiments, the input end of the driver receives a first control signal. The driver generates a first driving electrical signal based on the first control signal. The output end of the driver outputs the first driving electrical signal to the laser. The input end of the laser receives the first driving electrical signal. The laser generates a first optical signal based on the first driving electrical signal. The output end of the laser outputs the first optical signal.

[0348] The modulation curve between the first driving electrical signal and the output optical power of the laser corresponds to a predetermined code pattern. For example, the amplitude, frequency or duty cycle of the first driving electrical signal corresponds to the predetermined code pattern. The first driving electrical signal is, for example, a current signal or a voltage signal. The first control signal is, for example, a current signal or a voltage signal. For example, in the case of using an MZ type electro-optical modulator, the modulation curve corresponding to the MZ type electro-optical modulator is as shown in the attached figure. Fig.17 As shown, attached Fig.17 The modulation curve shown shows the relationship between the modulated light intensity and the modulation voltage. The modulated light intensity is the strength of the optical signal output by the laser, and the modulation voltage is the amplitude of the voltage signal (control signal) input to the laser. The output optical power is modulated by inputting a predetermined voltage into the MZ type electro-optical modulator to achieve the purpose of outputting a predetermined code type.

[0349] In some implementations, the output optical power is adjusted by controlling the modulation signal pin of the driver. For example, a signal source outside the driver inputs a first control signal to the modulation signal pin of the driver, so that the driver outputs a first driving electrical signal.

[0350] Since the driver drives the laser to generate an optical pulse signal of a predetermined code type, on the one hand, the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type caused by the execution of signal processing processes such as electrical signal processing and electro-optical conversion is reduced, thereby reducing the interference caused by the deviation between the code type of the optical signal actually sent by the optical module and the predetermined code type on the position characteristics of the reflection point determined by the receiving end device, thereby helping to improve the position characteristics of the reflection point determined by the receiving end device, and further helping to improve the accuracy of the same cable detection. On the other hand, since the driver and the laser are common hardware in the optical module, there is no need to configure a dedicated signal processor in the optical module to modulate the optical pulse signal of the predetermined code type, thereby reducing the requirements for the optical module to modulate the optical pulse signal of the predetermined code type.

[0351] As a specific example, the optical pulse signal of the predetermined code type is, for example, a square wave, and the driver generates a first driving electrical signal, and the first driving electrical signal alternates between a peak voltage and a valley voltage at a predetermined time interval. For example, the first driving electrical signal is a voltage signal that alternates between a high level and a low level. After the first driving electrical signal is input into the laser, the optical signal output by the laser alternates between peak power and valley power at a predetermined time interval.

[0352] The implementation method of top modulation can be used for NRZ modulation optical modules, such as 100G LR4 optical modules. Considering that the NRZ modulation optical module does not contain an oDSP chip, the optical module as the transmitting end is top-modulated to achieve the transmission of optical pulse signals with a predetermined code type.

[0353] Reference Figure 8 , attached Figure 8 FIG. 1 is a schematic diagram showing the structure of a 100G LR4 optical module provided in an embodiment of the present application. Figure 8 The 100G LR4 optical module shown is suitable for executing the method of generating a predetermined code type optical signal by modulating the top as described in the modulation mode 1. Optionally, the attached Figure 1 , Attachment Figure 2 Or attach Figure 3 The first optical module and the third optical module in the network system 10 shown in FIG. Figure 8 Optionally, the hardware structure shown in FIG. Figure 4 The optical module 120 shown has an attached Figure 8 The hardware structure shown.

[0354] In some embodiments, Figure 4 The electro-optical converter 122 in the optical module 120 shown includes an attached Figure 8 The electro-optical converter shown.

[0355] Attached Figure 4 The driver 1222 in the electro-optical converter 122 shown includes, for example, Figure 8 Four LDDs are shown. Each LDD is used to drive a laser. The input end of each LDD is connected to an equalizer or a controller. The output end of each LDD is connected to a laser.

[0356] Attached Figure 4 The laser 1221 in the electro-optical converter 122 shown includes the following Figure 8 The four lasers shown in FIG. 1 are connected to a driver 1222 at the input end of each of the four lasers. The output end of each of the four lasers is connected to an optical multiplexer. The four lasers are used to generate and output four optical pulse signals with a predetermined code pattern.

[0357] Attached Figure 4 The electro-optical converter 122 in the optical module 120 shown further includes an optical multiplexer. The input end of the optical multiplexer is connected to four lasers. The output end of the optical multiplexer is connected to an optical port connector.

[0358] Attached Figure 4 The electrical interface 121 in the optical module 120 shown includes an attached Figure 8The electrical port connector is shown. The electrical port connector is used to electrically connect to the mainboard. The electrical port connector is, for example, a 38-pin electrical connector.

[0359] Attached Figure 4 The optical interface 123 in the optical module 120 shown includes an attached Figure 8 The optical connector is shown. The optical connector is used to connect to the optical fiber link in the optical cable.

[0360] Combined with Figure 8 In the hardware structure shown, for example, in the case of implementation A using optical signal modulation, each of the four LDDs in the driver 1222 generates a first bias current, and the output end of each of the four LDDs outputs a first bias current.

[0361] Each of the four lasers in the laser 1221 receives a first bias current from the LDD. Each of the four lasers in the laser 1221 generates an optical pulse signal of a predetermined code pattern based on the first bias current. Each of the four lasers in the laser 1221 outputs an optical pulse signal of a predetermined code pattern.

[0362] The input end of the optical multiplexer receives four optical pulse signals with a predetermined code pattern. The optical multiplexer combines the four optical pulse signals with a predetermined code pattern into one optical pulse signal with a predetermined code pattern, and the output end of the optical multiplexer outputs one optical pulse signal with a predetermined code pattern. The optical port connector sends one optical pulse signal with a predetermined code pattern to the optical fiber link in the optical cable, so that one optical pulse signal with a predetermined code pattern is transmitted through the optical fiber link.

[0363] Combined with Figure 8 As shown in the hardware structure, for example, in the case of implementation mode B using optical signal modulation, each of the four LDDs in the driver 1222 generates a first driving voltage, and the output end of each of the four LDDs outputs a first driving voltage.

[0364] Each of the four lasers in the laser 1221 receives a first driving voltage from the LDD. Each of the four lasers in the laser 1221 generates an optical pulse signal of a predetermined code pattern based on the first driving voltage. Each of the four lasers in the laser 1221 outputs an optical pulse signal of a predetermined code pattern.

[0365] The input end of the optical multiplexer receives four optical pulse signals with a predetermined code pattern. The optical multiplexer combines the four optical pulse signals with a predetermined code pattern into one optical pulse signal with a predetermined code pattern, and the output end of the optical multiplexer outputs one optical pulse signal with a predetermined code pattern. The optical port connector sends one optical pulse signal with a predetermined code pattern to the optical fiber link in the optical cable, so that one optical pulse signal with a predetermined code pattern is transmitted through the optical fiber link.

[0366] Through implementation method A of optical signal modulation and implementation method B of optical signal modulation, the transmitting end can modulate the signal through the optical module.

[0367] In modulation mode 2, the transmitting end uses an optical module including oDSP to modulate the electrical signal to generate an optical pulse signal with a predetermined code type.

[0368] Reference Fig. 9 , attached Fig. 9 The attached Figure 6 S410 in the method shown is further described. Fig. 9 The method shown focuses on describing how the various hardware components in the optical module in the transmitting end interact to implement S410 when modulation mode 2 is adopted. Fig. 9 Step S504 in the method shown is Figure 6 A specific example of step S410 in the method shown. Fig. 9 The method shown can optionally be applied to Figures 1 to 3 The first optical module or the third optical module in the network system 10 shown in any of the figures.

[0369] Step S502: the oDSP in the optical module generates a first electrical signal. The first electrical signal includes an electrical pulse signal with a predetermined code type, and the first electrical signal is, for example, a digital electrical signal.

[0370] Step S503: the oDSP sends a first electrical signal to the electrical-optical converter in the optical module.

[0371] Step S504: the electro-optical converter receives a first electrical signal.

[0372] Step S505: The electro-optical converter performs electro-optical conversion on the first electrical signal to generate a first optical signal.

[0373] For example, the oDSP outputs the first electrical signal through the output terminal of the oDSP, and the input terminal of the electro-optical converter is electrically connected to the output terminal of the oDSP, so the electro-optical converter can receive the first electrical signal.

[0374] For example, the oDSP includes an encoding unit inside. The oDSP can edit a digital electrical signal of a predetermined code type through the encoding unit, and the oDSP outputs the digital electrical signal of the predetermined code type through the output terminal. The driver generates a first driving electrical signal based on the digital electrical signal of the predetermined code type, and the laser generates an optical pulse signal with a predetermined code type based on the first driving electrical signal and outputs an optical pulse signal with a predetermined code type.

[0375] By adopting oDSP to generate an electrical signal with a predetermined code type, the electrical signal received by the electro-optical converter itself has the predetermined code type. Therefore, the optical signal output by the electro-optical converter after the electro-optical conversion of the electrical signal will also have the predetermined code type, thereby not relying on the business chip on the mainboard to generate an electrical signal with a predetermined code type. In addition, there is no need to require the electro-optical converter in the optical module to support top adjustment to generate an optical signal with a predetermined code type, thereby reducing the implementation complexity of the electro-optical converter in the optical module.

[0376] In some embodiments of signal modulation by oDSP, oDSP receives a configured pattern interleaving to achieve modulation to generate a signal of a predetermined code type. Pattern refers to a binary digital sequence used to describe a predetermined code type. Pattern interleaving refers to inserting a pattern into a signal stream or changing the amplitude of a signal based on a pattern to achieve modulation.

[0377] Modulation mode 2 is applicable to optical modules with PAM4 modulation mode, such as 100G LR1 optical modules. Optical modules with PAM4 modulation mode contain oDSP chips. Optical modules with PAM4 modulation mode can generate optical pulse signals with predetermined code types by configuring pattern interleaving with oDSP chips.

[0378] Reference Fig.10 , attached Fig.10 FIG. 1 is a schematic diagram showing the structure of a 100G LR1 optical module provided in an embodiment of the present application. Fig.10 The 100G LR1 optical module shown is suitable for executing the method for generating a predetermined code type optical signal described in modulation mode 2. Optionally, the attached Figure 1 , Attachment Figure 2 Or attach Figure 3 The first optical module and the third optical module in the network system 10 shown in FIG. Fig.10 Optionally, the hardware structure shown in FIG. Figure 4 The optical module 120 shown has an attached Fig.10 The hardware structure shown.

[0379] Attached Fig.10 The 100G PAM4 DSP in the 100G LR1 optical module is shown in Figure 4A specific example of the oDSP 140 in the optical module 120 is shown. The 100G LR1 optical module can generate an electrical pulse signal with a predetermined code pattern through 100G PAM4 DSP modulation, and the 100G LR1 optical module generates an optical pulse signal with a predetermined code pattern based on the electrical pulse signal with a predetermined code pattern through an electro-optical converter.

[0380] Modulation mode three: the transmitting end modulates the service chip (such as an onboard service chip) to generate an optical pulse signal with a predetermined code type.

[0381] Reference Fig.11 , attached Fig.11 The attached Figure 6 S410 in the method shown is further described. Fig.11 The method shown focuses on describing how the various hardware components in the optical module in the transmitting end interact to implement S410 when modulation mode 2 is adopted. Fig.11 Steps S601 to S604 in the method shown are attached Figure 6 A specific example of step S410 in the method shown. Fig.11 The method shown can optionally be applied to Figures 1 to 3 The first network device or the third network device in the network system 10 shown in any of the figures.

[0382] Step S601: The service chip in the mainboard generates a first electrical signal, and the first electrical signal includes an electrical pulse signal with a predetermined code type.

[0383] In some embodiments, the service chip receives a configuration instruction. The configuration instruction carries parameters that can describe a predetermined code type. For example, the configuration instruction carries at least one of the type of code type, pulse width, pulse period, duty cycle, peak amplitude, valley amplitude, signal frequency, rise time, and fall time. The service chip parses the configuration instruction, obtains the parameters that can describe the predetermined code type carried by the configuration instruction, and generates a first electrical signal based on the parameters that can describe the predetermined code type.

[0384] Step S602: The service chip sends a first electrical signal to a first optical module through an electrical interface.

[0385] Step S603: The electrical interface of the first optical module receives a first electrical signal from the service chip.

[0386] Step S604: The electro-optical converter of the first optical module receives the first electrical signal and performs electro-optical conversion on the first electrical signal to generate a first optical signal.

[0387] Since the electrical pulse signal received by the optical module itself has a predetermined code pattern, after the optical module performs electrical-optical conversion on the electrical pulse signal with the predetermined code pattern, the generated optical pulse signal will have the predetermined code pattern, thereby realizing the function of generating an optical pulse signal with a predetermined code pattern. In addition, there is no need to require the optical module to support top adjustment to generate an optical signal with a predetermined code pattern, thereby reducing the implementation complexity of the optical module.

[0388] In some implementations, the service chip in the first network device detects the state of the service chip, and when the service chip is in an idle state, the service chip sends an electrical pulse signal with a predetermined code pattern. The electrical pulse signal with the predetermined code pattern is converted into an optical pulse signal with a predetermined code pattern after passing through an electro-optical converter in the optical module, and the optical pulse signal with the predetermined code pattern is transmitted to the second network device through an optical fiber link.

[0389] In some embodiments, the transmitting end optical module determines the state of the optical fiber link and sends an optical pulse signal of a predetermined code type in an idle time slot of the optical fiber link. Since the optical pulse signal of the predetermined code type is sent in the idle time slot of the optical fiber link, the optical pulse signal of the predetermined code type used for the same cable detection hardly occupies the transmission time of the service data, thereby reducing the influence of the process of transmitting the optical pulse signal of the predetermined code type on the transmission quality of the service data.

[0390] The above combines the three modulation methods to illustrate how the transmitter generates an optical pulse signal of a predetermined code type. The transmitter can flexibly choose which modulation method to use based on demand. For example, the transmitter determines which modulation method to use based on the hardware capabilities of the device. For example, when the optical module supports the modulation of the optical signal, the transmitter adopts modulation method one. For example, when the optical module includes a direct-drive laser, the transmitter adopts bias current modulation. For example, when the type of laser in the optical module is EML, the transmitter adopts driver modulation. For another example, when the optical module of the transmitter has oDSP, the transmitter adopts modulation method two. For another example, when the optical module does not support the modulation of the optical signal and does not have oDSP, the transmitter adopts modulation method three.

[0391] Reference Fig.12 , attached Fig.12 The attached Figure 6 Steps S430 to S450 in the method shown are further described. Fig.12 The method shown focuses on describing how the various hardware components inside the receiving end optical module interact to perform steps S430 to S450. Fig.12 The method shown is applied to Figures 1 to 3 The second optical module in the network system 10 shown in any of the accompanying drawings. Fig.12 The method shown includes the following steps.

[0392] Step S630: the optical interface in the second optical module receives the first optical signal from the first optical module through the first optical fiber link, where the first optical signal includes an optical pulse signal with a predetermined code pattern, where the predetermined code pattern is the shape of a curve of a relationship between signal power and time.

[0393] In step S642, the photoelectric converter performs photoelectric conversion on the first optical signal to obtain an analog electrical signal.

[0394] In step S644, the analog-to-digital converter samples the analog electrical signal at a predetermined sampling frequency to obtain a digital electrical signal.

[0395] Considering that the object processed by the service chip is usually a digital electrical signal, the optical module at the receiving end samples the electrical signal generated by the photoelectric converter and converts the analog electrical signal generated by the photoelectric converter into a digital electrical signal, so that the service chip at the receiving end can determine the position characteristics of the reflection point based on the digital electrical signal, thereby reducing the risk of the service chip at the receiving end determining the position characteristics of the reflection point due to the failure to support the processing of analog electrical signals. In addition, since the analog-to-digital converter can sample at a predetermined sampling frequency corresponding to a predetermined code type, the accuracy of the sampled digital electrical signal meets the requirements for determining the position characteristics of the reflection point.

[0396] In some embodiments, the sampling frequency based on which the receiving end optical module samples the electrical signal converted from the optical signal is related to the predetermined code type. For example, the sampling frequency used by the receiving end optical module has a corresponding relationship with the predetermined code type. For example, the sampling frequency used by the receiving end optical module has a corresponding relationship with the signal frequency corresponding to the predetermined code type. For example, the sampling frequency used by the receiving end optical module is determined based on the signal frequency corresponding to the predetermined code type. For example, the sampling frequency used by the receiving end optical module is positively correlated with the signal frequency corresponding to the predetermined code type. In other words, the larger the signal frequency corresponding to the predetermined code type, the larger the sampling frequency used by the receiving end optical module.

[0397] Since the sampling frequency used by the optical module at the receiving end increases accordingly with the signal frequency corresponding to the predetermined code pattern, and the optical module at the receiving end can collect more sampling points by increasing the sampling frequency based on the predetermined code pattern, the optical module at the receiving end can better collect the details of the signal, reduce the distortion of the code pattern and information loss of the signal during the sampling process, so that the sampling result can more accurately restore and reflect the predetermined code pattern of the signal sent by the transmitting end, which is equivalent to the optical module at the receiving end acting as a sampling tool with higher precision, which helps to improve the accuracy of the position characteristics of the reflection point determined by the service chip at the receiving end based on the sampling result of the optical module at the receiving end, thereby helping to improve the accuracy of the same cable detection.

[0398] In some embodiments, the ratio between the sampling frequency based on which the receiving end optical module samples the electrical signal converted from the optical signal and the signal frequency corresponding to the predetermined code type meets the conditions. For example, the ratio between the sampling frequency used by the receiving end optical module and the signal frequency corresponding to the predetermined code type is greater than the set ratio. For example, the sampling frequency used by the receiving end optical module is greater than 2 times the signal frequency corresponding to the predetermined code type. For example, the sampling frequency used by the receiving end optical module is 10 times the signal frequency corresponding to the predetermined code type. For example, the frequency of the optical signal of the predetermined code type sent by the transmitting end optical module is greater than 1MHz, and the receiving end optical module samples the electrical signal converted from the optical signal at a sampling frequency greater than 10MHz, so that the details of the signal can be better collected, thereby further reducing the distortion of the predetermined code type and the loss of information during the sampling process, thereby improving the accuracy of the position characteristics of the reflection point determined by the receiving end service chip based on the sampling result of the receiving end optical module, thereby helping to improve the accuracy of the same cable detection.

[0399] In some implementations, the signal frequency corresponding to the predetermined code pattern is greater than 1 MHz, and the sampling frequency is greater than 10 MHz.

[0400] This embodiment does not limit the position of the analog-to-digital converter in the optical module or the source of the analog-to-digital converter, and is described below with reference to three implementation modes.

[0401] In the first implementation of the analog-to-digital converter, the optical module further includes an oDSP. The oDSP includes an analog-to-digital converter; the oDSP performs the sampling process described in step S644 through the built-in analog-to-digital converter.

[0402] In the second implementation of the analog-to-digital converter, the optical module further includes an MCU, the MCU includes an analog-to-digital converter, and the MCU executes the sampling process described in step S644 through the built-in analog-to-digital converter.

[0403] In the third embodiment of the analog-to-digital converter, the optical module includes an independent analog-to-digital converter, which is located outside the oDSP and the MCU. For example, the analog-to-digital converter and the main hardware components (electrical interface, photoelectric converter and optical interface) in the optical module are arranged on the same circuit board. The analog-to-digital converter and the photoelectric converter of the main hardware components (electrical interface, photoelectric converter and optical interface) in the optical module are electrically connected through a circuit board. The input end of the analog-to-digital converter is connected to the photoelectric converter, the output end of the analog-to-digital converter is connected to the electrical interface, the analog-to-digital converter receives an analog electrical signal through the input end, and the analog-to-digital converter performs the sampling process described in step S430 based on the received analog electrical signal and the predetermined sampling frequency.

[0404] Step S650: The electrical interface sends the digital electrical signal to the service chip on the mainboard of the second network device.

[0405] For example, the optical module communicates with the service chip using IIC, the optical module sends a digital electrical signal through an electrical interface based on ICC, the mainboard of the second network device receives the digital electrical signal, the service chip in the mainboard receives the digital electrical signal, and the service chip determines the position characteristics of the reflection point in the first optical fiber link based on the digital electrical signal. The position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0406] In the method provided in this embodiment, after the optical module at the receiving end (the second network device) receives the optical signal from the optical fiber link, the optical module at the receiving end performs photoelectric conversion on the received optical signal to obtain an analog electrical signal; the optical module at the receiving end samples the analog electrical signal to obtain a digital electrical signal; the optical module at the receiving end sends the digital electrical signal to the service chip at the receiving end. The service chip at the receiving end identifies the main pulse signal and the secondary pulse signal based on the digital electrical signal, and compares the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point.

[0407] In particular, considering that the optical signal is a continuously changing analog signal, the amplitude and shape of the optical signal may vary greatly. By converting the optical signal into an electrical signal, such as converting the power of the optical signal into a voltage or current, the parameters of the analog electrical signal (such as amplitude and time position) are related to the optical signal. Considering that most business chips do not support direct analysis of analog electrical signals, but support processing of discrete digital data, the optical module converts the analog electrical signal into a digital electrical signal by sampling the analog signal, so that the business chip can extract the parameters of the main pulse signal and the parameters of the secondary pulse signal from the digital electrical signal.

[0408] Attached Fig.12 The method shown is described by taking the application in the second optical module as an example. Fig.12 The method shown can also be applied to the fourth optical module. For example, the fourth optical module is provided with an additional Fig.12 The method shown implements S930 to S950.

[0409] The following describes how the hardware components of the receiving end network device interact to perform steps S460 to S470 as an example.

[0410] Step S460: The electrical interface receives a digital electrical signal from the second optical module.

[0411] Step S470: The service chip determines the position characteristics of the reflection point in the first optical fiber link based on the digital electrical signal. The position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0412] In some implementations, the process of determining the position characteristics of the reflection point in the first optical fiber link includes the following steps S4701 to S4702.

[0413] Step S4701: The service chip determines a main pulse signal in a digital electrical signal and a secondary pulse signal in the digital electrical signal.

[0414] Step S4702: The service chip compares the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point.

[0415] The main pulse signal is generated through photoelectric conversion and sampling based on an optical pulse signal with a predetermined code pattern, and the secondary pulse signal is generated through photoelectric conversion and sampling based on a derivative tail signal generated by reflection when the optical pulse signal with a predetermined code pattern passes through a reflection point during transmission in the first optical fiber link.

[0416] In some implementations, the service chip compares the position of the main pulse signal with the position of the secondary pulse signal to obtain the distance between the position of the main pulse signal and the position of the secondary pulse signal.

[0417] In some embodiments, the service chip determines the position characteristics of the reflection point by analyzing the difference between the waveform of the main pulse signal and the waveform of the secondary pulse signal.

[0418] For example, the position of the secondary pulse signal generated by different reflection points is different relative to the position of the original pulse signal (main pulse signal) sent by the transmitter. For example, if the distance between reflection point a and the transmitter is 3 kilometers, then the distance between the secondary pulse signal generated by reflection point a and the main pulse signal in the signal received by the receiver will be the distance corresponding to 3 kilometers. After obtaining the digital signal output after sampling, the distance between the position of the derivative pulse signal generated by the reflection point and the position of the original pulse signal (main pulse signal) is detected from the digital signal. If the distance between a reflection point and the transmitter is closer, the distance between the secondary pulse signal generated by the reflection point and the main pulse signal is closer, so the positional relationship between the reflection points can be determined based on the relative time difference of different pulse signals.

[0419] In some embodiments, the service chip compares the amplitude of the main pulse signal with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal. For example, the service chip determines the amplitude of the main pulse signal and compares it with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal.

[0420] The implementation methods for identifying the main pulse signal and the secondary pulse signal include a method based on position identification, a method based on amplitude identification, and a method based on position and amplitude identification.

[0421] In some implementations based on amplitude recognition, the service chip obtains the amplitude of the digital electrical signal, determines the main pulse signal and the secondary pulse signal from the digital electrical signal, the main pulse signal is the pulse signal with the largest amplitude in the digital electrical signal, and the secondary pulse signal is the main pulse signal with a non-largest amplitude in the digital electrical signal. As a specific example, the digital electrical signal is a signal sequence containing a plurality of pulse signals arranged in sequence, and the service chip sorts the pulse signals in the signal sequence in descending order of amplitude; the service chip determines the pulse signal with the largest amplitude as the main pulse signal, and the service chip determines the pulse signal with a non-largest amplitude as the secondary pulse signal.

[0422] In some embodiments based on position identification, the digital electrical signal is a signal sequence containing multiple pulse signals arranged in sequence, and the business chip obtains the relative position of each pulse signal in the signal sequence; the business chip determines the pulse signal at the front position in the signal sequence as the main pulse signal; the business chip determines the pulse signal at a non-front position as a secondary pulse signal. As a specific example, the position of the pulse signal is represented by the coordinates of the pulse signal on the time axis. The coordinates on the time axis represent the time point when the pulse signal arrives at the business chip (or the time point when the optical module samples the pulse signal). The business chip determines the time when each pulse signal in the signal sequence arrives at the business chip, and the business chip selects the pulse signal that first arrives at the business chip from the signal sequence as the main pulse signal; the business chip selects the pulse signal that does not first arrive at the business chip from the signal sequence as the secondary pulse signal.

[0423] In some embodiments based on amplitude and position recognition, the digital electrical signal is a signal sequence comprising multiple pulse signals arranged in sequence, and the business chip determines the pulse signal with the front position and the largest amplitude in the signal sequence as the main pulse signal; the business chip determines the pulse signal with a non-front position or non-largest amplitude as a secondary pulse signal.

[0424] In the case where the transmitting optical module uses a periodic method to send an optical pulse signal of a predetermined code type, in some embodiments, the business chip determines the digital electrical signal sequence within a single cycle based on the received digital electrical signal sequence and the length of the cycle; the business chip determines the pulse signal that is at the front (arrives at the business chip first) and has the largest amplitude from the digital electrical signal sequence within a single cycle as the main pulse signal.

[0425] When the digital electrical signal received by the business chip includes multiple secondary pulse signals, in some embodiments, the business chip filters the target secondary pulse signal from the multiple secondary pulse signals, compares the parameters of the main pulse signal with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

[0426] In some embodiments of screening the target secondary pulse signal, the service chip screens the target secondary pulse signal from the secondary pulse signal based on the amplitude of the secondary pulse signal. For example, the amplitude of the target secondary pulse signal is greater than or equal to the amplitude threshold. As an example, the service chip compares the amplitude of each secondary pulse signal in the received digital electrical signal with the amplitude threshold; if the amplitude of the secondary pulse signal is greater than or equal to the amplitude threshold, the service chip determines the secondary pulse signal as the target secondary pulse signal. If the amplitude of the secondary pulse signal is less than the amplitude threshold, the service chip filters out the secondary pulse signal so that the secondary pulse signal with an amplitude less than the amplitude threshold does not need to participate in further comparison process. As an example, the service chip sorts each secondary pulse signal in the received digital electrical signal in order from large to small amplitude. The service chip selects the secondary pulse signal with the first set number of bits from the secondary pulse signals sorted by amplitude to obtain the target secondary pulse signal. As an example, the service chip selects the secondary pulse signal with the first three amplitudes for each secondary pulse signal in the received digital electrical signal to obtain the target secondary pulse signal.

[0427] Considering that the larger the amplitude of the secondary pulse signal is, the greater the intensity of the secondary pulse signal is, which means that the reflected signal corresponding to the secondary pulse signal is stronger, the probability that the secondary pulse signal comes from the reflected signal of the reflection point at the port of the optical cable connector is higher, and the position feature of the reflection point extracted based on the secondary pulse signal is more accurate, which helps to improve the accuracy of cable detection.

[0428] In some embodiments of screening the target secondary pulse signal, the business chip screens the target secondary pulse signal from the secondary pulse signal based on the position (arrival time) of the secondary pulse signal, and the distance between the position of the target secondary pulse signal and the position of the main pulse signal is greater than the distance threshold. As an example, the business chip determines the distance between the position of each secondary pulse signal and the position of the main pulse signal based on the position of each secondary pulse signal in the received digital electrical signal; the business chip compares the distance between each secondary pulse signal and the main pulse signal with the distance threshold. If the distance between the secondary pulse signal and the main pulse signal is greater than the distance threshold, the business chip determines the secondary pulse signal as the target secondary pulse signal. If the distance of the secondary pulse signal is less than the distance threshold, the business chip filters out the secondary pulse signal, so that the secondary pulse signal whose distance to the main pulse signal is less than the distance threshold does not need to participate in further comparison process.

[0429] Since the distance between the secondary pulse signal and the main pulse signal represents the distance between the physical position of the reflection point generating the secondary pulse signal and the physical position of the transmitting device, if the distance between the secondary pulse signal and the main pulse signal is less than the distance threshold, it means that the distance between the reflection point generating the secondary pulse signal and the transmitting device is too short. Then, it is highly likely that the secondary pulse signal is not generated by the reflection point of the port of the optical cable connector. By performing signal screening, the secondary pulse signal with a distance less than the distance threshold is excluded from the range of signal comparison, thereby reducing the risk of errors in the position characteristics of the reflection point caused by the reflection signal generated by the reflection point of the port other than the optical cable connector, which helps to improve the accuracy of same-cable detection.

[0430] For example, please refer to Fig.18 , Fig.18 FIG. 1 is a schematic diagram showing a sequence of digital electrical signals received by a receiving end service chip, such as Fig.18 As shown in the figure, in one cycle, the main pulse signal is at the front and has the largest amplitude. The main pulse signal is followed by secondary pulse signals, and the amplitude of each secondary pulse signal is smaller than that of the main pulse signal, forming a signal tail. The business chip can use the amplitude and position of a main pulse signal to compare with the amplitude and position of three secondary pulse signals, so as to obtain the position characteristics of the reflection point.

[0431] In some implementations, the service chip sends the position characteristics of the reflection point in the first optical fiber link to the analysis device.

[0432] In some embodiments, the business chip obtains the position characteristics of the reflection point in the second optical fiber link, and in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, determines that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0433] In some embodiments, the service chip executes the method provided in this embodiment by running software. For example, a memory is also provided in the mainboard of the network device. The service chip implements the method in the above embodiment by reading the program code stored in the memory. The program code stored in the memory is, for example, an algorithm for comparing the parameters of the main pulse signal with the parameters of the secondary pulse signal. In other embodiments, the service chip implements the method in the above embodiment through the program code stored internally.

[0434] In some further embodiments, the receiving end determines parameters of the derived tail signal based on the received optical signal, and the receiving end determines the position characteristics of the reflection point based on the parameters of the derived tail signal.

[0435] In some further embodiments, the receiving end determines the positional characteristics of the reflection point based on the amplitude of the derived tail signal. For example, the receiving end determines the positional characteristics of the reflection point that generates the derived tail signal based on the amplitude difference between the amplitude of the derived tail signal and the amplitude of the original pulse signal (such as the first received pulse signal). The amplitude of the derived tail signal represents the strength (power) of the derived tail signal. By comparing the difference between the amplitude of the derived tail signal and the amplitude of the original pulse signal, the attenuation degree of the signal at the reflection point can be determined, thereby determining the positional characteristics of the reflection point.

[0436] The following is attached Figure 6 Step S491 in the method shown is further illustrated by example.

[0437] How the analysis device matches the position characteristics of the reflection point in the first optical fiber link with the position characteristics of the reflection point in the second optical fiber link includes multiple implementations.

[0438] In some embodiments, the analysis device determines the number of reflection points in the first optical fiber link and the second optical fiber link having the same position characteristics, and the analysis device compares the number of reflection points having the same position characteristics with a quantity threshold. If the number of reflection points having the same position characteristics is greater than the quantity threshold, the analysis device determines that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0439] Regarding the method of determining reflection points with the same position characteristics, for example, the first optical fiber link includes a first reflection point, the second optical fiber link includes a second reflection point, the first optical signal is transmitted in the first optical fiber link, and the second optical signal is transmitted in the second optical fiber link, the position characteristic of the first reflection point includes the distance between the secondary pulse signal corresponding to the first reflection point in the first optical signal and the main pulse signal in the first optical signal, and the position characteristic of the second reflection point includes the distance between the secondary pulse signal corresponding to the second reflection point in the second optical signal and the main pulse signal in the second optical signal, and the analysis device determines that the first reflection point and the second reflection point have the same position characteristic based on the fact that the distance between the secondary pulse signal corresponding to the first reflection point and the main pulse signal in the first optical signal is the same as the distance between the secondary pulse signal corresponding to the second reflection point and the main pulse signal in the second optical signal. As a specific example, refer to Figure 1 , Figure 1 The reflection point 1 in the first optical fiber link and the reflection point 2 in the second optical fiber link are a pair of reflection points with the same position characteristics. Figure 1 The reflection point 3 in the first optical fiber link and the reflection point 4 in the second optical fiber link are a pair of reflection points with the same position characteristics.

[0440] If the reflection point in the first optical fiber link and the reflection point in the second optical fiber link have the same positional characteristics, indicating that the two reflection points have the probability of being located in the same optical cable segment, and the number of reflection points with the same positional characteristics is greater than a quantity threshold, the analysis device can determine that the first optical fiber link and the second optical fiber link have a risk of sharing the same optical cable segment.

[0441] In other embodiments, the analyzing device compares the position characteristics of each reflection point in the first optical fiber link with the position characteristics of the corresponding reflection point in the second optical fiber link. In response to the position characteristics of each reflection point in the first optical fiber link being the same as the position characteristics of the corresponding reflection point in the second optical fiber link, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment. For example, referring to Figure 1 , Figure 1 The reflection point 1 in the first optical fiber link and the reflection point 2 in the second optical fiber link are a pair of corresponding reflection points. Figure 1 The reflection point 3 in the first optical fiber link and the reflection point 4 in the second optical fiber link are a pair of reflection points with corresponding positions. The analysis device compares the position characteristics of the reflection point 1 in the first optical fiber link with the position characteristics of the reflection point 2 in the second optical fiber link. The analysis device compares the position characteristics of the reflection point 3 in the first optical fiber link with the position characteristics of the reflection point 4 in the second optical fiber link. The analysis device determines that the first optical fiber link and the second optical fiber link share the same optical cable segment based on the fact that the reflection point 1 in the first optical fiber link and the reflection point 2 in the second optical fiber link have the same position characteristics, and the reflection point 3 in the first optical fiber link and the reflection point 4 in the second optical fiber link have the same position characteristics.

[0442] In some embodiments, the analysis device determines the similarity between the positional characteristics of the reflection point in the first optical fiber link and the positional characteristics of the reflection point in the second optical fiber link. If the similarity between the positional characteristics of the reflection point in the first optical fiber link and the positional characteristics of the reflection point in the second optical fiber link is greater than a similarity threshold, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment. If the similarity between the positional characteristics of the reflection point in the first optical fiber link and the positional characteristics of the reflection point in the second optical fiber link is less than a similarity threshold, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment. For example, the reflection point in the first optical fiber link is located at the starting position of the first optical fiber link, and the reflection point in the second optical fiber link is located at the middle position or the end position of the first optical fiber link. In this case, the analysis device determines that the first optical fiber link and the second optical fiber link do not share the same optical cable segment because the positional characteristics of the reflection points in the two optical fiber links are inconsistent.

[0443] In some embodiments, a same-cable detection device is also provided, the device comprising:

[0444] The receiving unit is used to receive a first optical signal from a first optical fiber link.

[0445] The processing unit is used to determine the position characteristics of the reflection point in the first optical fiber link based on the first optical signal.

[0446] The receiving unit is further used to receive a second optical signal from a second optical fiber link.

[0447] The processing unit is further used to determine the position characteristics of the reflection point in the second optical fiber link based on the second optical signal; in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0448] In some embodiments, the processing unit is used to determine that the first optical fiber link and the second optical fiber link share the same optical cable segment in response to the number of reflection points having the same position characteristics in the first optical fiber link and the second optical fiber link being greater than a quantity threshold; or, in response to the position characteristics of each reflection point in the first optical fiber link being the same as the position characteristics of the corresponding reflection point in the second optical fiber link, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

[0449] In some embodiments, the processing unit is used to determine a main pulse signal in a digital electrical signal and a secondary pulse signal in the digital electrical signal, and compare the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point, where the main pulse signal is generated based on an optical pulse signal with a predetermined code pattern through photoelectric conversion and sampling, and the secondary pulse signal is generated based on a derivative tail signal generated by reflection when the optical pulse signal with a predetermined code pattern passes through a reflection point during transmission in the first optical fiber link through photoelectric conversion and sampling.

[0450] In some embodiments, the position characteristics of the reflection point include the distance between the position of the main pulse signal and the position of the secondary pulse signal corresponding to the reflection point, the position of the main pulse signal indicates the time when the main pulse signal arrives at the second network device, and the position of the secondary pulse signal indicates the time when the secondary pulse signal arrives at the second network device.

[0451] The processing unit is used to compare the position of the main pulse signal with the position of the secondary pulse signal to obtain the distance between the position of the main pulse signal and the position of the secondary pulse signal.

[0452] In some embodiments, the position characteristics of the reflection point include the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, the amplitude of the main pulse signal indicates the power of the main pulse signal, and the amplitude of the secondary pulse signal indicates the power of the secondary pulse signal; the processing unit is used to compare the amplitude of the main pulse signal with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal.

[0453] In some embodiments, the processing unit is used to determine a main pulse signal and a secondary pulse signal from the digital electrical signal based on the amplitude of the digital electrical signal, where the main pulse signal is a pulse signal with the largest amplitude in the digital electrical signal, and the secondary pulse signal is a main pulse signal with a non-largest amplitude in the digital electrical signal.

[0454] In some embodiments, the processing unit is used to filter a target secondary pulse signal from the secondary pulse signals based on the position of the secondary pulse signal, and the distance between the position of the target secondary pulse signal and the position of the main pulse signal is greater than a distance threshold.

[0455] The parameters of the main pulse signal are compared with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

[0456] In some embodiments, an analysis device is also provided, the analysis device comprising a processor, the processor is coupled to a memory, the memory stores at least one computer program instruction, the at least one computer program instruction is loaded and executed by the processor, so that the analysis device implements the above Figure 6 The method provided by the analytical device in the embodiment. The specific details of the analytical device provided in the eighth aspect can be found in Figure 6 The embodiments are not described in detail here.

[0457] In some embodiments, a computer-readable storage medium is further provided, wherein the storage medium stores at least one instruction, which, when executed on a computer, causes the computer to execute Figure 6 , Figure 7 , Fig. 9 , Fig.11 or Fig.12 The method provided.

[0458] In some embodiments, a computer program product is also provided, the computer program product comprising one or more computer program instructions, when the computer program instructions are loaded and executed by a computer, the computer executes Figure 6 , Figure 7 , Fig. 9 , Fig.11 or Fig.12 The method provided.

[0459] In some embodiments, a chip is further provided, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute Figure 6 , Figure 7 , Fig. 9 , Fig.11 or Fig.12 The method provided.

[0460] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0461] A refers to B, which means that A is the same as B or A is a simple variant of B.

[0462] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe the specific order of the objects, and cannot be understood as indicating or implying relative importance. For example, the first optical module and the second optical module are used to distinguish different optical modules, rather than to describe the specific order of the optical modules, and cannot be understood as the first optical module being more important than the second optical module.

[0463] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0464] In the embodiments of the present application, unless otherwise specified, "at least one" means one or more, and "a plurality" means two or more. For example, a plurality of optical modules means two or more optical modules.

[0465] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function described in accordance with 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 device. 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 server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. Available media can be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state hard disk Solid State Disk (SSD)), etc.

[0466] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An optical module, characterized in that: The optical module is a first optical module, the first optical module includes an electrical interface, an electro-optical converter and an optical interface, the electrical interface is connected to a first network device, the optical interface is connected to a second optical module through a first optical fiber link, the second optical module is also connected to a second network device, and the first optical fiber link includes a reflection point; The electro-optical converter is used to generate a first optical signal, wherein the first optical signal includes an optical pulse signal having a predetermined code pattern, wherein the predetermined code pattern is used to describe the shape of a curve of a relationship between signal power and time; The optical interface is used to send the first optical signal to the second optical module through the first optical fiber link, so that the second network device determines the position characteristics of the reflection point in the first optical fiber link according to the electrical signal generated by the second optical module based on the received optical signal, and the position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

2. The optical module according to claim 1, characterized in that: The electro-optical converter includes a laser, and the first optical module is used to modulate the optical signal generated by the laser so that the laser outputs the first optical signal.

3. The optical module according to claim 2, characterized in that: The laser is used to generate the first optical signal based on a first bias current, and a modulation curve between the first bias current and the output optical power of the laser corresponds to the predetermined code type.

4. The optical module according to claim 3, characterized in that: The first optical module further includes a microcontroller unit MCU, and the MCU is used to generate the first bias current and input the first bias current to the laser; or, The electrical interface is also electrically connected to a signal source located outside the first optical module. The electrical interface receives the first bias current from the signal source and inputs the first bias current to the laser.

5. The optical module according to claim 2, characterized in that: The electro-optical converter also includes a driver; The driver is used to generate a first driving electrical signal based on a first control signal, and output the first driving electrical signal to the laser, wherein a modulation curve between the first driving electrical signal and the output optical power of the laser corresponds to the predetermined code pattern; The laser is used to generate the first optical signal based on the first driving electrical signal.

6. The optical module according to claim 1, characterized in that: The first optical module further includes an optical digital signal processor oDSP, wherein the oDSP is used to generate a first electrical signal, wherein the first electrical signal includes an electrical pulse signal having a predetermined code pattern; The electro-optical converter is used to perform electro-optical conversion on the first electrical signal to generate the first optical signal.

7. The optical module according to claim 1, characterized in that: The electrical interface is used to receive a first electrical signal from the first network device, wherein the first electrical signal includes an electrical pulse signal having a predetermined code pattern; The electro-optical converter is used to perform electro-optical conversion on the first electrical signal to generate the first optical signal.

8. The optical module according to any one of claims 1 to 7, characterized in that: The electro-optical converter generates an optical pulse signal having a predetermined code pattern at predetermined time intervals, thereby generating the first optical signal, wherein the first optical signal includes an optical pulse signal having a plurality of cycles, and the optical pulse signal in each cycle has the predetermined code pattern.

9. The optical module according to any one of claims 1 to 8, characterized in that: The duration of a pulse in the optical pulse signal of the predetermined code type is less than 1 us, and the duty cycle of the optical pulse signal of the predetermined code type is less than 5%.

10. The optical module according to any one of claims 1 to 9, characterized in that: The predetermined code pattern includes a square wave, a sine wave or a triangle wave.

11. An optical module, characterized in that: The optical module is a second optical module, the second optical module includes an electrical interface, an optoelectronic converter, an analog-to-digital converter and an optical interface, the electrical interface is connected to the second network device, the optical interface is connected to the first optical fiber link, the first optical fiber link is connected to the first optical module, the first optical fiber link includes a first optical fiber link, and the first optical fiber link includes a reflection point; The optical interface is used to receive a first optical signal from the first optical module through the first optical fiber link, wherein the first optical signal includes an optical pulse signal having a predetermined code pattern, and the predetermined code pattern is the shape of a relationship curve between signal power and time; The photoelectric converter is used to perform photoelectric conversion on the first optical signal to obtain an analog electrical signal; The analog-to-digital converter is used to sample the analog electrical signal at a predetermined sampling frequency to obtain a digital electrical signal, and the ratio between the predetermined sampling frequency and the signal frequency corresponding to the predetermined code pattern meets a condition; The electrical interface is used to send the digital electrical signal to the second network device so that the second network device determines the position characteristics of the reflection point in the first optical fiber link based on the digital electrical signal, and the position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

12. The optical module according to claim 11, characterized in that: The signal frequency corresponding to the predetermined code pattern is greater than 1 MHz, and the sampling frequency is greater than 10 MHz.

13. A network device, characterized in that: The network device is a first network device, the first network device comprises a service chip and an electrical interface, and the electrical interface is connected to the first optical module according to any one of claims 1 to 10; The service chip is used to generate a first electrical signal, wherein the first electrical signal includes an electrical pulse signal having a predetermined code type, and the service chip sends the first electrical signal to the first optical module through the electrical interface.

14. A network device, characterized in that: The network device is a second network device, the second network device comprises a service chip and an electrical interface, and the electrical interface is connected to the second optical module according to claim 11 or claim 12; The electrical interface is used to receive the digital electrical signal from the second optical module; The service chip is used to determine the position characteristics of the reflection point in the first optical fiber link based on the digital electrical signal, and the position characteristics of the reflection point are used to detect whether the first optical fiber link and the second optical fiber link share the same optical cable segment.

15. The network device according to claim 14, characterized in that: The business chip is used to determine the main pulse signal in the digital electrical signal and the secondary pulse signal in the digital electrical signal, and compare the parameters of the main pulse signal with the parameters of the secondary pulse signal to obtain the position characteristics of the reflection point. The main pulse signal is generated based on the optical pulse signal with a predetermined code type through photoelectric conversion and sampling, and the secondary pulse signal is generated based on the derivative tail signal generated by the reflection of the optical pulse signal with a predetermined code type when passing through the reflection point during the transmission of the first optical fiber link through photoelectric conversion and sampling.

16. The network device according to claim 15, characterized in that: The position feature of the reflection point includes the distance between the position of the main pulse signal and the position of the secondary pulse signal corresponding to the reflection point, the position of the main pulse signal indicates the time when the main pulse signal arrives at the second network device, and the position of the secondary pulse signal indicates the time when the secondary pulse signal arrives at the second network device; The service chip is used to compare the position of the main pulse signal with the position of the secondary pulse signal to obtain the distance between the position of the main pulse signal and the position of the secondary pulse signal.

17. The network device according to claim 15, characterized in that: The position feature of the reflection point includes the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal corresponding to the reflection point, the amplitude of the main pulse signal indicates the power of the main pulse signal, and the amplitude of the secondary pulse signal indicates the power of the secondary pulse signal; The business chip is used to compare the amplitude of the main pulse signal with the amplitude of the secondary pulse signal to obtain the distance between the amplitude of the main pulse signal and the amplitude of the secondary pulse signal.

18. The network device according to claim 15, characterized in that: The business chip is used to determine the main pulse signal and the secondary pulse signal from the digital electrical signal based on the amplitude of the digital electrical signal, the main pulse signal being the pulse signal with the largest amplitude in the digital electrical signal, and the secondary pulse signal being the main pulse signal with a non-largest amplitude in the digital electrical signal.

19. The network device according to any one of claims 15 to 18, characterized in that: The service chip is used to screen a target secondary pulse signal from the secondary pulse signals based on the position of the secondary pulse signal, and the distance between the position of the target secondary pulse signal and the position of the main pulse signal is greater than a distance threshold; The parameters of the main pulse signal are compared with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

20. The network device according to any one of claims 15 to 18, characterized in that: The service chip is used to screen a target secondary pulse signal from the secondary pulse signals based on the amplitude of the secondary pulse signal, the amplitude of the target secondary pulse signal being greater than an amplitude threshold, or the amplitude of the target secondary pulse signal being ranked first by a set number of bits in the secondary pulse signals; The parameters of the main pulse signal are compared with the parameters of the target secondary pulse signal to obtain the position characteristics of the reflection point.

21. The network device according to any one of claims 14 to 18, characterized in that: The service chip is further used to send the position characteristics of the reflection point in the first optical fiber link to the analysis device.

22. The network device according to any one of claims 14 to 18, characterized in that: The business chip is also used to obtain the position characteristics of the reflection point in the second optical fiber link, and in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, determine that the first optical fiber link and the second optical fiber link share the same optical cable segment.

23. A cable detection method, characterized in that: The method comprises: receiving a first optical signal from a first optical fiber link; determining, based on the first optical signal, a position characteristic of a reflection point in the first optical fiber link; receiving a second optical signal from a second optical fiber link; determining, based on the second optical signal, a position characteristic of a reflection point in the second optical fiber link; In response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment.

24. The method according to claim 23, characterized in that In response to the position feature of the reflection point in the first optical fiber link and the position feature of the reflection point in the second optical fiber link satisfying a matching condition, determining that the first optical fiber link and the second optical fiber link share the same optical cable segment includes: In response to the number of reflection points having the same positional characteristics in the first optical fiber link and the second optical fiber link being greater than a quantity threshold, determining that the first optical fiber link and the second optical fiber link share the same optical cable segment; or, In response to the position characteristics of each reflection point in the first optical fiber link being the same as the position characteristics of the corresponding reflection point in the second optical fiber link, it is determined that the first optical fiber link and the second optical fiber link share the same optical cable segment.

25. A communication system, characterized in that: The communication system includes a first network device, a first optical module, a second network device, a second optical module, a third network device, a third optical module, a fourth network device and a fourth optical module; The first network device is connected to the first optical module, the first optical module is connected to the second optical module through a first optical fiber link, the second optical module is connected to the second network device, the third network device is connected to the third optical module, the third optical module is connected to the fourth optical module through a second optical fiber link, and the fourth optical module is connected to the fourth network device; The first optical module is used to send a first optical signal to the second optical module through the first optical fiber link, wherein the first optical signal includes an optical pulse signal having a predetermined code pattern, and the predetermined code pattern is used to describe the shape of a curve of a relationship between signal power and time; The second optical module is used to receive the first optical signal through the first optical fiber link, perform photoelectric conversion and sampling on the first optical signal, and obtain a first digital electrical signal; the second network device being configured to determine a position characteristic of a reflection point in the first optical fiber link based on the first digital electrical signal; The third optical module is used to send a second optical signal to the fourth optical module through the second optical fiber link, wherein the second optical signal includes an optical pulse signal having the predetermined code type; The fourth optical module is used to receive the second optical signal through the first optical fiber link, perform photoelectric conversion and sampling on the second optical signal, and obtain a second digital electrical signal; The fourth network device is used to determine the position characteristics of the reflection point in the second optical fiber link based on the second digital electrical signal.

26. The system according to claim 25, characterized in that The system further comprises an analysis device, wherein the analysis device is connected to the second network device and the fourth network device respectively; The second network device is further used to send the position characteristics of the reflection point in the first optical fiber link to the analysis device; The fourth network device is further used to send the position characteristics of the reflection point in the second optical fiber link to the analysis device; The analysis device is used to determine that the first optical fiber link and the second optical fiber link share the same optical cable segment in response to the position characteristics of the reflection point in the first optical fiber link and the position characteristics of the reflection point in the second optical fiber link satisfying a matching condition.

Citation Information

Cited By

  • Optical module, network device, communication system and co-cable detection method

    EP4797569A1

  • Optical module, network device, communication system and co-cable detection method

    WO2025091936A1