Optical link monitoring method and apparatus, and network device
By analyzing the frequency peak value of the receiver's probe signal in optical link monitoring and using the superposition technology of the encoded probe signal, the problems of hardware addition and service interruption in optical link monitoring are solved, and efficient and low-cost optical link fault identification and connector location are achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-08-29
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies for optical link monitoring require additional hardware or the suspension of service operations, resulting in high costs and low efficiency.
By acquiring and analyzing the peak values of the probe signals at various frequency points at the receiving end, operational and maintenance problems in the optical link can be identified without adding hardware or suspending services. The signal-to-noise ratio can be improved by superimposing the encoded probe signals to accurately identify fixed interference.
It enables efficient identification of optical link faults and connector problems without adding hardware or interrupting services, reducing monitoring costs and improving service operation efficiency.
Smart Images

Figure CN2025117945_15052026_PF_FP_ABST
Abstract
Description
Optical link monitoring methods, devices and network equipment
[0001] This application claims priority to Chinese Patent Application No. 202411598614.4, filed on November 8, 2024, entitled "Optical Link Monitoring Method, Apparatus and Network Equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to an optical link monitoring method, apparatus and network equipment. Background Technology
[0003] During optical signal transmission through an optical link, return loss occurs due to factors such as Fresnel reflection and Rayleigh scattering. For example, contamination of the connector end face, loose connector fit (such as misalignment or looseness of the air gap and fiber core), fiber cracks, open fiber ends, and impurities introduced into the fiber core during manufacturing can all cause Fresnel reflection or Rayleigh scattering in the optical link, leading to return loss, or in other words, optical link failure.
[0004] Currently, optical link fault identification and location are typically achieved using optical time domain reflectometer (OTDR) technology. OTDR technology requires the inclusion of a specialized laser diode within the optical module. Injecting high-power optical pulses into the fiber via this specialized laser diode increases the cost of optical link monitoring. Furthermore, due to the high power of the optical pulses, services between network devices must be suspended.
[0005] Therefore, there is an urgent need for a solution that can monitor optical links without adding any hardware to the optical module or stopping the service. Summary of the Invention
[0006] This application provides an optical link monitoring method, apparatus, and network device that can reduce the cost of optical link monitoring and improve service operation efficiency.
[0007] In a first aspect, embodiments of this application provide an optical link monitoring method, including:
[0008] Acquire a first detection signal, which is a signal received by the receiver after transmission through an optical link;
[0009] Based on the peak values of the first detection signal at various frequency points, the operation and maintenance issues of the optical link are determined.
[0010] According to this solution, the first detection signal is transmitted from the transmitter to the receiver via an optical link. If there is an operational or maintenance problem with the optical link, it will be considered a fixed interference for the first detection signal. Thus, the first detection signal carries information about this fixed interference. By analyzing the peak values of the first detection signal at various frequency points, the operational or maintenance problem in the optical link can be determined. Therefore, by identifying the operational or maintenance problem using the first detection signal received at the receiver, it is possible to determine the operational or maintenance problem without suspending the optical module at the receiver, and thus without interrupting service operations, thereby improving service efficiency. Furthermore, this solution enables optical link monitoring based on the existing structure of the optical module, without adding any hardware to the optical module, reducing the monitoring cost of the optical link.
[0011] In one possible implementation, the method further includes:
[0012] The time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end are obtained, wherein the reflected signal is the signal generated by the first detection signal during the transmission of the optical link.
[0013] Based on the time when the probe signal arrives at the receiver and the time when the reflected signal arrives at the receiver, the location of the maintenance problem in the optical link can be determined.
[0014] In this way, the first detection signal received by the receiving end can not only determine whether there is an operation and maintenance problem in the optical link, but also locate the specific location of the operation and maintenance problem in the optical link based on the reception time of the first detection signal and the reception time of the reflected signal generated by the first detection signal, thereby improving the operation and maintenance efficiency of the optical link and further improving the service operation efficiency.
[0015] In one possible implementation, the method further includes:
[0016] Acquire a second detection signal, which is the same as the first detection signal;
[0017] The step of determining the operation and maintenance issues of the optical link based on the peak values of the first detection signal at various frequency points includes:
[0018] The first detection signal is obtained by superimposing the first detection signal and the second detection signal;
[0019] The operation and maintenance issues of the optical link are determined based on the peak values of the first signal at each frequency point.
[0020] Thus, after superimposing the first and second detection signals, the random interference energy increases less in the superimposed signal, while the fixed interference energy increases more significantly, thereby enabling more accurate identification of fixed interference and improving the accuracy of operation and maintenance problem identification.
[0021] In one possible implementation, the identification code carried by the first detection signal and the identification code carried by the second detection signal are the same, and the transmission interval between the first detection signal and the second detection signal is greater than a preset interval threshold, the interval threshold being related to the length of the optical link;
[0022] Or the identification code carried by the first detection signal is different from the identification code carried by the second detection signal.
[0023] In this way, the identification code can more accurately identify the first and second detection signals, improving the accuracy of identifying maintenance issues.
[0024] In one possible implementation, determining the operation and maintenance issues of the optical link based on the peak values of the first signal at each frequency point includes:
[0025] Calculate the average value of the peak value of the first signal at each frequency point;
[0026] If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, it is determined that there is an operational or maintenance problem at that frequency point.
[0027] In one possible implementation, the method further includes:
[0028] The monitoring results information is generated and displayed, which is used to indicate the operation and maintenance problems of the optical link.
[0029] In this way, maintenance personnel can more intuitively identify maintenance problems of optical links and improve the efficiency of optical link maintenance.
[0030] In one possible implementation, the method is applied to a controller or network management device.
[0031] The acquisition of the first detection signal includes: receiving the first detection signal sent by the receiving end; or
[0032] The step of acquiring the first detection signal includes: receiving a service signal sent by the receiving end, the service signal including the first detection signal; and extracting the first detection signal from the service signal.
[0033] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0034] In one possible implementation, the method is applied at the receiving end.
[0035] The acquisition of the first detection signal includes: receiving a first detection signal sent by a transmitting end, wherein the receiving end and the transmitting end communicate via the optical link; or
[0036] The step of acquiring the first detection signal includes: receiving a service signal sent by a transmitting end, the service signal including the first detection signal; and extracting the first detection signal from the service signal.
[0037] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0038] In one possible implementation, the operational issues of the optical link include optical link failures and / or the presence of connectors in the optical link.
[0039] In one possible implementation, the first detection signal is an encoded detection signal.
[0040] In this way, the signal-to-noise ratio of the encoded detection signal is high, thereby improving the identification of maintenance problems (i.e., fixed interference) in the optical link, without the need to add any hardware to the optical module, thus reducing the monitoring cost of the optical link.
[0041] In one possible implementation, the first detection signal is a complementary sequence or a simplex code.
[0042] In this way, the first detection signal is encoded into a complementary sequence or a simplex code, which can improve the signal-to-noise ratio of the detection signal, achieve the purpose of accurately identifying maintenance problems, and reduce the cost of optical link monitoring.
[0043] Secondly, embodiments of this application provide an optical link monitoring device, which includes:
[0044] The acquisition module is used to acquire a first detection signal, which is a signal received by the receiving end after transmission through the optical link.
[0045] The determination module is used to determine the operation and maintenance problems of the optical link based on the peak values of the first detection signal at various frequency points.
[0046] According to this solution, the first detection signal is transmitted from the transmitter to the receiver via an optical link. If there is an operational or maintenance problem with the optical link, it will be considered a fixed interference for the first detection signal. Thus, the first detection signal carries information about this fixed interference. By analyzing the peak values of the first detection signal at various frequency points, the operational or maintenance problem in the optical link can be determined. Therefore, by identifying the operational or maintenance problem using the first detection signal received at the receiver, it is possible to determine the operational or maintenance problem without suspending the optical module at the receiver, and thus without interrupting service operations, thereby improving service efficiency. Furthermore, this solution enables optical link monitoring based on the existing structure of the optical module, without adding any hardware to the optical module, reducing the monitoring cost of the optical link.
[0047] In one possible implementation, the acquisition module is further configured to acquire the time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end, wherein the reflected signal is a signal generated by the first detection signal during the transmission of the optical link;
[0048] The device also includes:
[0049] The determination module is used to locate the position of the maintenance problem in the optical link based on the time when the probe signal arrives at the receiver and the time when the reflected signal arrives at the receiver.
[0050] In this way, the first detection signal received by the receiving end can not only determine whether there is an operation and maintenance problem in the optical link, but also locate the specific location of the operation and maintenance problem in the optical link based on the reception time of the first detection signal and the reception time of the reflected signal generated by the first detection signal, thereby improving the operation and maintenance efficiency of the optical link and further improving the service operation efficiency.
[0051] In one possible implementation,
[0052] The acquisition module is further configured to acquire a second detection signal, wherein the second detection signal is the same signal as the first detection signal;
[0053] The determining module is used for:
[0054] The first detection signal is obtained by superimposing the first detection signal and the second detection signal;
[0055] The operation and maintenance issues of the optical link are determined based on the peak values of the first signal at each frequency point.
[0056] Thus, after superimposing the first and second detection signals, the random interference energy increases less in the superimposed signal, while the fixed interference energy increases more significantly, thereby enabling more accurate identification of fixed interference and improving the accuracy of operation and maintenance problem identification.
[0057] In one possible implementation, the identification code carried by the first detection signal and the identification code carried by the second detection signal are the same, and the transmission interval between the first detection signal and the second detection signal is greater than a preset interval threshold, the interval threshold being related to the length of the optical link;
[0058] Or the identification code carried by the first detection signal is different from the identification code carried by the second detection signal.
[0059] In this way, the identification code can more accurately identify the first and second detection signals, improving the accuracy of identifying maintenance issues.
[0060] In one possible implementation, the determining module is used to:
[0061] Calculate the average value of the peak value of the first signal at each frequency point;
[0062] If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, it is determined that there is an operational or maintenance problem at that frequency point.
[0063] In one possible implementation, the device further includes:
[0064] The display module is used to generate and display monitoring result information, which is used to indicate the operation and maintenance problems of the optical link.
[0065] In this way, maintenance personnel can more intuitively identify maintenance problems of optical links and improve the efficiency of optical link maintenance.
[0066] In one possible implementation, the device is applied to a controller or network management device;
[0067] The acquisition module is used to receive the first detection signal sent by the receiving end; or
[0068] The acquisition module is used to receive service signals sent by the receiving end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
[0069] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0070] In one possible implementation, the device is applied at the receiving end.
[0071] The acquisition module is used to receive a first detection signal sent by the transmitting end, wherein the receiving end and the transmitting end communicate via the optical link; or
[0072] The acquisition module is used to receive service signals sent by the sending end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
[0073] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0074] In one possible implementation, the operational issues of the optical link include optical link failures and / or the presence of connectors in the optical link.
[0075] In one possible implementation, the first detection signal is an encoded detection signal.
[0076] In this way, the signal-to-noise ratio of the encoded detection signal is high, thereby improving the identification of maintenance problems (i.e., fixed interference) in the optical link, without the need to add any hardware to the optical module, thus reducing the monitoring cost of the optical link.
[0077] In one possible implementation, the first detection signal is a complementary sequence or a simplex code.
[0078] In this way, the first detection signal is encoded into a complementary sequence or a simplex code, which can improve the signal-to-noise ratio of the detection signal, achieve the purpose of accurately identifying maintenance problems, and reduce the cost of optical link monitoring.
[0079] Thirdly, embodiments of this application provide a network device, including: at least one memory for storing a program; and at least one processor for executing the program stored in the memory, wherein when the program stored in the memory is executed, the processor is used to execute the method provided in the first aspect.
[0080] Fourthly, embodiments of this application provide a network device, characterized in that the device executes computer program instructions to perform the method provided in the first aspect. Exemplarily, the device may be a chip or a processor.
[0081] In one example, the device may include a processor that can be coupled to memory, read instructions from the memory, and execute the methods provided in the first aspect according to those instructions. The memory may be integrated into the chip or processor, or it may be independent of the chip or processor.
[0082] Fifthly, embodiments of this application provide a computer storage medium storing instructions that, when executed on a computer, cause the computer to perform the method provided in the first aspect.
[0083] In a sixth aspect, embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the method provided in the first aspect. Attached Figure Description
[0084] Figure 1 is a schematic diagram of the architecture of an optical link monitoring system provided in an embodiment of this application;
[0085] Figure 2 is a schematic diagram of the structure of a network device provided in an embodiment of this application;
[0086] Figure 3 is a schematic diagram of an optical link monitoring scenario provided by an embodiment of this application;
[0087] Figure 4 is a schematic diagram of signal transmission during optical link monitoring provided in an embodiment of this application;
[0088] Figure 5 is a schematic diagram of the structure of a network management system provided in an embodiment of this application;
[0089] Figure 6 is a flowchart illustrating an optical link monitoring method provided in an embodiment of this application;
[0090] Figure 7 is a schematic diagram of a signal amplitude comparison provided in an embodiment of this application;
[0091] Figure 8 is a schematic diagram of signal peak value and positioning provided in an embodiment of this application;
[0092] Figure 9 is a schematic diagram of a display interface provided in an embodiment of this application;
[0093] Figure 10 is an exemplary schematic diagram of an optical link monitoring method provided in an embodiment of this application;
[0094] Figure 11 is an exemplary flowchart of an optical link monitoring method provided in an embodiment of this application;
[0095] Figure 12 is an exemplary schematic diagram of another optical link monitoring method provided in an embodiment of this application;
[0096] Figure 13 is an exemplary flowchart of another optical link monitoring method provided in an embodiment of this application;
[0097] Figure 14 is a schematic diagram of an optical link monitoring device provided in an embodiment of this application;
[0098] Figure 15 is a schematic diagram of the structure of a network device provided in an embodiment of this application. Detailed Implementation
[0099] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0100] In the field of Information and Communication Technology (ICT), optical link failures are a frequent occurrence. With technological advancements, data center networks, as a crucial component of data centers, directly impact the operational effectiveness of the data center. Data centers are large-scale clusters, and due to economies of scale and the "weakest link" effect, optical link failures degrade data center network performance, thus affecting the overall operation of the data center.
[0101] During optical signal transmission through an optical link, return loss occurs due to factors such as Fresnel reflection and Rayleigh scattering. For example, contamination of the connector end face, loose connector fit (such as misalignment or looseness of the air gap and fiber core), fiber cracks, open fiber ends, and impurities introduced into the fiber core during manufacturing can all cause Fresnel reflection or Rayleigh scattering in the optical link, leading to return loss, or in other words, optical link failure.
[0102] Currently, Optical Time Domain Reflectometer (OTDR) technology is commonly used to identify and locate optical link faults. OTDR technology works by utilizing the propagation characteristics of light in optical fibers. When an optical pulse propagates through an optical fiber, Rayleigh scattering and Fresnel reflection occur due to the fiber's characteristics and the inhomogeneity of its internal structure. OTDR technology measures the intensity and return time of the scattered and reflected light at the transmitting end of the pulse to determine the length, loss, and location of the optical link. However, to make OTDR technology work online, hardware needs to be added or upgraded in the transmitting optical module. For example, a specially designed laser diode can be added to the optical module. This laser diode injects high-power optical pulses into the optical fiber. However, the light pulse intensity emitted by the specially designed laser diode is relatively high, and the receiving optical module is easily damaged. Therefore, to avoid damage to the receiving optical module, it needs to be disconnected from the optical fiber, at which point service is suspended. This results in low service efficiency and consequently affects the operation of the data center. Furthermore, OTDR technology has a detection blind zone, therefore it cannot be applied to short-distance fiber optic links. For example, in scenarios such as data centers and AI computing centers, when the fiber optic links between network devices are short, OTDR cannot detect optical link faults.
[0103] Based on this, embodiments of this application provide an optical link monitoring method, apparatus, and network device. The probe signal is transmitted from the transmitter to the receiver via the optical link. If the connector is faulty and / or a connector is present in the optical link, it constitutes fixed interference for the probe signal. Since the probe signal is an encoded signal, it has a high signal-to-noise ratio, enabling accurate identification of fixed interference. Furthermore, when multiple probe signals are superimposed, the fixed interference is amplified. Thus, if a large peak value exists after the superposition of multiple probe signals, an optical link fault or the presence of a connector in the optical link is determined. This allows for the determination of whether an optical link is faulty or whether a connector is present in the optical link without adding hardware at the receiver, reducing the cost of optical link monitoring. Moreover, because the probe signal is an encoded signal with a high signal-to-noise ratio, there is no need to increase the power of the probe signal, thus enabling optical link monitoring without interrupting service operations, improving service efficiency, and ensuring the operational effectiveness of the data center.
[0104] Before providing a detailed description of the embodiments of this application, the architecture of the optical link monitoring system provided in the embodiments of this application will be described in detail first.
[0105] Figure 1 is a schematic diagram of the architecture of an optical link monitoring system provided in an embodiment of this application. The optical link monitoring system provided in this embodiment of the application can execute the optical link monitoring system method provided in this embodiment of the application. As shown in Figure 1, the optical link monitoring system provided in this embodiment of the application includes a first network device 11, a second network device 12, and a network management system 13.
[0106] The first network device 11 and the second network device 12 can communicate with each other to transmit service data. The network management system 13 is used to maintain and manage the operation of the network. Network maintenance personnel can manage the first network device 11 and the second network device 12 through the network management system 13.
[0107] As shown in Figure 1, the first network device 11 and the second network device 12 communicate via optical fiber; that is, the optical link between the first network device 11 and the second network device 12 is an optical link. The optical link includes connector 1 and connector 2. Both the first network device 11 and the second network device 12 can act as receivers to receive optical signals or as transmitters to transmit optical signals. The network device provided in this application embodiment will be described in detail below. Here, the network device provided in this application embodiment can be either the first network device 11 or the second network device 12. Specifically, the network device provided in this application embodiment includes an optical module 20. The optical module 20 is used to transmit or receive optical signals. For example, the first network device 11 transmits optical signals to the second network device 12 through the optical module. The second network device 12 receives the optical signals transmitted by the first network device 11 through the optical module and processes the optical signals to determine service data. Thus, the first network device 11 and the second network device 12 perform service communication.
[0108] Specifically, as shown in Figure 2, the optical module 20 provided in this application embodiment includes a microcontroller unit (MCU) 201, a transmitter optical subassembly (TOSA) 202, a receiver optical subassembly (ROSA) 203, and an optical digital signal processor (ODSP) 204.
[0109] In one scenario, when the network device acts as a signal transmitter, the MCU22 controls the ODSP204 to generate test sequence signals. Specifically, as shown in Figure 2, the ODSP204 includes a digital-to-analog converter (DAC) 241. The test sequence signals are discrete digital signals. The DAC 241 converts the test sequence signals into analog signals and transmits them to the TOSA 202. The TOSA 202 converts the analog signals into optical signals and transmits them outwards.
[0110] In another scenario, when the network device acts as a signal receiver, the ROSA203 in optical module 20 receives the optical signal and converts it into an analog signal. The ROSA203 then sends the analog signal to the ODSP204. As shown in Figure 2, the ODSP204 also includes an analog-to-digital converter (ADC)242. The ODSP204 converts the analog signal into a digital signal via the ADC242 and sends it to the MCU201. The MCU201 processes the digital signal to identify contaminated and / or loose connectors in the optical link. The MCU201 then sends the monitoring results to the network management system. Alternatively, the MCU201 can send the digital signal directly to the network management system, which processes the signal to identify contaminated and / or loose connectors in the optical link and displays the monitoring results, enabling network maintenance personnel to perform maintenance on the optical link.
[0111] For example, as shown in Figure 3, the first network device 11 sends a probe digital signal to the ODSP 2041 via the MCU 2011. The ODSP 2041 converts the probe signal from a digital signal to an analog signal via the DAC 2411 and sends the probe signal to the TOSA 2021. The TOSA 2021 converts the probe signal from an analog signal to an optical signal and sends the probe signal to the second network device 12 via an optical link. When the probe signal passes through connector 1 and connector 2, if connector 1 and connector 2 are dirty and / or loose, the probe signal will produce Fresnel reflection, resulting in multiple reflected signals. For example, as shown in Figure 4, when connector 1 and connector 2 are dirty and / or loose, when the probe signal passes through connector 1 and connector 2, the probe signal will generate reflected signal 1 between connector 1 and the first network device 11, reflected signal 2 between connector 2 and the first network device 11, and reflected signal 3 between connector 1 and connector 2. The arrival times of reflected signals 1, 2, and 3 at the second network device 12 are all different from the arrival times of the probe signal. The second network device 12 receives reflected signals 1, 2, 3, and the probe optical signal via ROSA2042. Reflected signals 1, 2, 3, and the probe optical signal are all optical signals. ROSA2042 converts these signals into analog signals and transmits them to ODSP2042. ODSP2042 converts these signals from analog to digital signals and transmits them to the MCU. Thus, by analyzing the arrival times of each signal, it is possible to determine whether connectors 1 and 2 in the optical link are dirty and / or loose, and to locate any dirty or loose connectors in the optical link.
[0112] As shown in Figure 5, the network management system provided in this embodiment includes a network management controller 51, a network management analyzer 52, a network management collector 53, an interface display module 54, and a storage module 55. The network management controller 51 manages and controls network devices. The collector 53 communicates with network devices to collect signal data and sends the collected data to the network management analyzer 52, which performs signal analysis to obtain monitoring results of the optical link. The interface display module 54 displays the results, allowing maintenance personnel to determine whether the optical link is faulty or to monitor for connector failures. The storage module 55 stores signal data and final result data.
[0113] It is understood that the optical link monitoring system in the above embodiments is merely an example. A data center network may include at least one optical link monitoring system, and the optical link monitoring system may include multiple network devices. The first network device or the second network device mentioned above can be any of the multiple network devices. Furthermore, the optical link monitoring system provided in this application embodiment can also be applied to any communication scenario with optical links; the data center network is only used as an example.
[0114] Next, based on the embodiments corresponding to Figures 1 to 5 above, the optical link monitoring method provided in this application will be described in detail.
[0115] Figure 6 is a flowchart illustrating an optical link monitoring method provided in an embodiment of this application. The optical link monitoring method provided in this embodiment can be applied to a network management system or a network device acting as a receiver in an optical link monitoring system. The network management system can be a network management device or controller, or other device capable of managing the network. As shown in Figure 6, the optical link monitoring method provided in this embodiment includes the following steps S601 to S602.
[0116] S601, acquire the first detection signal, which is the signal received by the receiver after transmission through the optical link.
[0117] The first detection signal is the signal received by the receiving end after transmission through the optical link. For example, the first network device and the second network device communicate via an optical link, and the first network device can send the first detection signal to the second network device, thereby enabling monitoring of the optical link.
[0118] In some embodiments, taking a first network device as the sender and a second network device as the receiver, the network management system can send control commands to the first network device. These control commands instruct the monitoring of the optical link. As a possible implementation, to ensure service efficiency, the network management system can periodically send control commands to the first network device, enabling maintenance personnel to promptly determine if the optical link is faulty, thereby ensuring service efficiency.
[0119] After receiving a control command, the first network device generates a first probe signal. Specifically, the first network device receives a control command sent by the network management system, parses the control command, and thus determines the information indicated by the control command. Then, the first network device responds to the control command by generating the first probe signal.
[0120] In some embodiments, the signal may become indistinguishable due to return loss and normal fluctuations during transmission, and transmission distance and measurement accuracy are contradictory factors. Furthermore, as the transmission distance increases, the reflected signal weakens, making detection increasingly difficult. Therefore, to improve the signal-to-noise ratio of the optical link monitoring system and make the reflected signal during transmission easier to detect, the first network device can encode the first detection signal, thereby improving its signal-to-noise ratio and enhancing its ability to identify fixed interference, ultimately achieving accurate identification of fixed interference.
[0121] As one possible implementation, the encoded first probe signal exhibits autocorrelation. For example, the encoded first probe signal could be a simplex code, a complementary sequence, etc. Exemplarily, the first network device generates a probe signal and encodes it into a complementary sequence; that is, the probe signal exhibits autocorrelation, and the sum of its frequency spectra is constant at any frequency. The peak value of the autocorrelation function of each sequence in the complementary sequence is equal to the length of the complementary sequence. After adding the two sets of correlation results, the peak value doubles, while other values are zero or constant. In this way, the energy of the encoded probe signal increases, improving the signal-to-noise ratio of the optical link monitoring system without reducing its spatial resolution. This makes it easier to detect fixed interference and improves the accuracy of optical link monitoring.
[0122] In another possible implementation, the encoding of the first detection signal includes using a Genetic Algorithm (GA). Alternatively, the encoding of the detection signal can include using a Cyclic Pulse Code algorithm. This improves the detection signal's ability to detect fixed interference and its resistance to random interference, thereby increasing the accuracy of optical link fault location or connector location.
[0123] In this way, by encoding the detection signal, not only can the detection signal be accurately located to fix interference, but it is also possible to monitor the optical link without sending high-power pulses, without interrupting the service, thus improving the efficiency of service operation.
[0124] In some embodiments, the first probe signal can be carried within the service signal. In this case, step S601 may include: acquiring the service signal and parsing the first probe signal from the service signal. This achieves both the ability to monitor the optical link and improved service operation efficiency.
[0125] S602, Based on the peak values of the first detection signal at various frequency points, determine the operation and maintenance issues of the optical link.
[0126] Due to issues such as dirt or loosening of connectors in the optical link, or the presence of connectors in the optical link itself, there may be fixed interference during the transmission of detection signals. Since the peak value of this fixed interference is higher than the peak value under normal conditions, a high peak value in the first detection signal indicates a maintenance problem in the optical link. These maintenance problems can include optical link faults or the presence of connectors. Optical link faults may include dirty or loose connectors. The presence of connectors in the optical link may lead to the potential for issues such as shared cables and trenches.
[0127] Specifically, by comparing the peak values at each frequency point, the frequency points with larger peak values indicate operational and maintenance issues.
[0128] In some embodiments, to improve the accuracy of determining optical link maintenance problems, this solution can also increase the intensity of fixed interference by superimposing multiple detection signals, while random interference remains relatively stable. Specifically, before S602, it may also include acquiring a second detection signal. The first and second detection signals are the same signal. Here, this embodiment does not limit the number of second detection signals; there can be multiple second detection signals. Thus, S602 may include: superimposing the first and second detection signals to obtain a first signal. Based on the peak values of the first signal at various frequency points, the optical link maintenance problem is determined.
[0129] Specifically, the average value of the peak values of the superimposed first and second detection signals at each frequency point is calculated. If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, that frequency point is determined to be a fault point in the optical link or the frequency point corresponding to when the detection signal passes through a connector. For example, if the peak value at a certain frequency point is a preset multiple of the average value, then a fault point or connector is determined to exist in the optical link. As another possible implementation, the existence of a fault point or connector in the optical link is determined based on the distribution of the peak values of the superimposed multiple detection signals at each frequency point. It should be noted that the above implementation methods are only illustrative examples. The superimposed multiple detection signals can also be analyzed using methods such as maxima and minima to monitor the optical link. The specific method can be selected according to the actual situation, and the embodiments of this application do not impose specific limitations.
[0130] In some embodiments, both the first and second probe signals are encoded signals, resulting in a high signal-to-noise ratio and enabling accurate identification of fixed interference. Therefore, when multiple probe signals are superimposed after passing through the connector, fixed interference is amplified, while random interference remains relatively unchanged. For example, as shown in Figure 7, the intensity of fixed interference and random interference are similar among multiple unencoded probe signals. After multiple encoded probe signals are superimposed, the intensity of fixed interference is significantly greater than that of random interference. Therefore, the peak value of fixed interference in the superimposed probe signal is larger, allowing for more accurate identification of maintenance issues in the optical link. The improved ability of multiple encoded probe signals to identify fixed interference further enhances the accuracy of identifying maintenance problems in the optical link.
[0131] In some embodiments, multiple maintenance issues may exist in an optical link, and the criteria for judging different maintenance issues vary. As one possible implementation, the aforementioned preset thresholds include a first threshold and a second threshold, wherein the first threshold is greater than the second threshold. If the ratio of the peak value to the average value at a frequency point is greater than the first threshold, a fault point is determined to exist in the optical link, such as a dirty or loose connector. If the ratio of the peak value to the average value at a frequency point is greater than the second threshold but less than the first threshold, a connector fault is determined to exist in the optical link. It is understood that the preset thresholds are set according to actual conditions, and this embodiment does not specifically limit their application.
[0132] According to this solution, the first detection signal is transmitted from the transmitter to the receiver via the optical link. If the connector malfunctions and / or a connector is present in the optical link, it constitutes fixed interference for the first detection signal. Thus, the first detection signal carries information about this fixed interference. By analyzing the peak values of the first detection signal at various frequency points, operational problems in the optical link can be identified. Therefore, by identifying operational problems using the first detection signal received at the receiver, it is possible to determine the operational problems without suspending the optical module at the receiver, and consequently, without interrupting service operations, thus improving service efficiency. Furthermore, this solution enables optical link monitoring based on the existing structure of the optical module, without adding any hardware to the optical module, reducing the monitoring cost of the optical link.
[0133] In some embodiments, to improve the operational efficiency of optical links, the optical link monitoring method provided in this application can also locate operational problems. Specifically, it acquires the time when a first detection signal arrives at the receiving end and the time when a reflected signal arrives at the receiving end, wherein the reflected signal is generated during the transmission of the first detection signal. The reflected signal includes at least one component. Based on the time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end, the location of the operational problem in the optical link is determined.
[0134] For example, as shown in Figure 4, the probe signal will generate multiple different reflected signals during transmission in the optical link due to Fresnel reflection. If a fault occurs in the optical link at connector 1 and connector 2, reflected signals 1, 2, and 3 will be generated. The arrival time of the probe signal differs from that of reflected signal 1 by 10 microseconds, the arrival time of the probe signal differs from that of reflected signal 2 by 12 microseconds, and the arrival time of the probe signal differs from that of reflected signal 3 by 1 microsecond. Based on the speed of light c = 2 * 10^8 m / s, and the distance between the first and second network devices is 10 kilometers, the distance traveled by reflected signal 1 is 2 * (10^8 m / s). ^ 8)*[10*10^(-6)]=1000m, therefore, the location of fault point 1 is 1000 / 2=500m from the transmitter. The distance traveled by reflected signal 2 is 2*(10^8)*[12*10^8-6) / 2. ^ [-6] = 1200m, therefore, the location of fault point 2 is 1200 / 2 = 600m from the transmitting end. The distance traveled by reflected signal 3 is 2*(10 ^ 8)*[1*10 ^ [-6] = 200m, and the distance between fault point 1 and fault point 2 is 200 / 2 = 100m. Therefore, the reflected signal 3 is the reflected signal obtained by the detection signal being reflected between fault point 1 and fault point 2.
[0135] Superimposing multiple detection signals allows us to obtain the reflection peak intensity at each frequency point. For example, as shown in part (a) of Figure 8, the location of the peak is unknown when analyzing the peak after superimposing multiple detection signals. The location of the peak can be determined based on the arrival times of the detection and transmission signals. For example, as shown in part (b) of Figure 8, the location of the peak is determined by analyzing the arrival time between the detection and reflection signals, but the specific peak at each location is unknown. Thus, based on the analysis corresponding to parts (a) and (b), the correspondence between the specific location of each peak and the reflection peak intensity can be determined, as shown in part (c) of Figure 8.
[0136] In this way, the first detection signal received by the receiving end can not only determine whether there is an operation and maintenance problem in the optical link, but also locate the specific location of the operation and maintenance problem in the optical link based on the reception time of the first detection signal and the reception time of the reflected signal generated by the first detection signal, thereby improving the operation and maintenance efficiency of the optical link and further improving the service operation efficiency.
[0137] In some embodiments, the optical link monitoring method provided in this application is applied to a network management system. Thus, in step S601, the receiving end sends a first probe signal to the network management system. Alternatively, if the first probe signal carries a service signal, step S601 may include: the receiving end sending a service signal to the network management system, and the network management system extracting the first probe signal from the service signal. This improves the flexibility of implementing the optical link monitoring scheme. Furthermore, optical link monitoring can be performed based on the existing structure of the receiving end, reducing the monitoring cost of the optical link.
[0138] In addition, the receiving end can send the time when the first detection signal arrives at the receiving end and the reflected signal when the reflected signal arrives at the receiving end to the network management system.
[0139] In other embodiments, the optical link monitoring method provided in this application is applied to a network device acting as a receiver. Thus, S601 may include: the receiver receiving a first probe signal sent by the transmitter. Alternatively, if the first probe signal is carried in a service signal, S601 may include: the receiver receiving the service signal sent by the transmitter and extracting the first probe signal from the service signal.
[0140] It is understandable that the first and second detection signals are acquired in the same way, so we will not go into details here.
[0141] In some embodiments, both the first and second detection signals carry an identification code. The identification code indicates the start and end points of the detection signal, thus enabling the differentiation of different detection signals and the separation of the detection signal from the service signal.
[0142] As one possible implementation, the first network device is configured with multiple different identification codes. Based on these identification codes, the first network device can generate multiple detection signals. These multiple detection signals carry different identification codes. Therefore, in this embodiment, the identification codes of the first detection signal and the second detection signal are different.
[0143] As another possible implementation, the first network device is configured with an identification code. Based on the identification code, the first network device can generate multiple detection signals, wherein the identification code carried by the multiple detection signals is the same, and the interval between the transmissions of the multiple detection signals is greater than a preset interval threshold. Therefore, in this embodiment, the first detection signal and the second detection signal carry the same identification code, and the interval threshold is related to the optical link length between the first network device and the second network device. For example, the longer the optical link between the first network device and the second network device, the longer the transmission time of the detection signal, and thus the larger the interval threshold. It should be noted that the interval threshold can be set according to actual conditions, and this embodiment does not specifically limit it.
[0144] In this way, the identification code can more accurately identify the first and second detection signals, improving the accuracy of identifying maintenance issues.
[0145] In some embodiments, to improve the operational efficiency of optical links, monitoring result information can also be generated and displayed. This monitoring result information includes operational problems occurring in the optical link and the location of these problems within the optical link. The display interface can show the operational problem, its corresponding peak value, and its location within the optical link, combined with waveform graphs, allowing maintenance personnel to more intuitively determine the location of the operational problem. For example, as shown in Figure 9, the operational problem is that the connection is dirty or loose, and the location of the operational problem is 101.2m from the transmitting end, with a peak intensity of 20.77.
[0146] In this way, maintenance personnel can more intuitively identify maintenance problems of optical links and improve the efficiency of optical link maintenance.
[0147] Next, with reference to the network management system shown in Figure 5, the optical link monitoring method provided in this application embodiment will be described in detail.
[0148] As one possible implementation, as shown in Figure 10, after receiving multiple probe signals and the reflected signals generated during the transmission of each probe signal, the second network device sends the data of the multiple probe signals and the data of the reflected signals to the network management system. Based on the superimposed data of the multiple probe signals, the network management system determines whether a fault point and / or connector exists in the optical link, and further locates the fault point and / or connector based on the reflected signal data. Finally, the network management system notifies the maintenance personnel of the final result. For example, the final result can be displayed through a display module, or sent to the maintenance personnel's electronic device. The final result refers to whether a fault point and / or connector exists in the optical link, and if so, its specific location within the optical link.
[0149] Specifically, as shown in Figure 11, based on the optical link monitoring system shown in Figure 1, the optical link monitoring method provided in this application embodiment includes the following steps S1101 to S1108.
[0150] S1101, the network management controller sends a control command to the first network device, wherein the control command is used to instruct the monitoring of the optical link.
[0151] S1102, the first network device responds to the control command and generates a probe signal, which is an encoded signal.
[0152] S1103, the first network device sends multiple probe signals to the second network device.
[0153] S1104, the second network device superimposes multiple detection signals to monitor the optical link in order to determine whether there are fault points and / or connectors in the optical link.
[0154] S1105, if the second network device locates the fault point and / or connector based on the arrival time of multiple transmitted signals and the arrival time of the probe signal in the optical link, in the case of whether there is a fault point and / or connector in the optical link.
[0155] S1106, the second network device sends the final result to the network management collector. The final result is used to indicate whether there is a fault point and / or connector in the optical link, and the location of the fault point and / or connector in the optical link.
[0156] S1106, the network management collector stores the final results in the storage module.
[0157] S1107, the interface displays the final result of the module call.
[0158] S1108, the interface display module displays the final result.
[0159] As another possible implementation, as shown in Figure 12, after receiving multiple probe signals and the reflected signals generated by each probe signal during transmission, the second network device determines whether there is a fault point and / or connector in the optical link based on the superimposed multiple probe signals. Furthermore, the second network device needs to further locate the fault point and / or connector. Finally, the second network device sends the final result to the network management system. The network management system then notifies the maintenance personnel of the final result. For example, this can be displayed through a display module or sent to the maintenance personnel's electronic devices.
[0160] Specifically, as shown in Figure 13, based on the optical link monitoring system shown in Figure 1, the optical link monitoring method provided in this application embodiment includes the following steps S1301 to S1310.
[0161] S1301, the network management controller sends a control command to the first network device, wherein the control command is used to instruct the monitoring of the optical link.
[0162] S1302, the first network device responds to the control command and generates a probe signal, which is an encoded signal.
[0163] S1303, the first network device sends multiple probe signals to the second network device.
[0164] S1304, the second network device sends multiple probe signals and the reflected signals generated by each probe signal to the network management collector.
[0165] The S1305 network management collector stores multiple detection signals and the reflected signals generated by each detection signal into the storage module.
[0166] S1306, the network management analyzer calls multiple probe signals and the reflected signals generated by each probe signal.
[0167] S1307, the network management analyzer superimposes multiple probe signals to monitor the optical link, in order to determine whether there is a fault point and / or connector in the optical link, and if there is a fault point and / or connector in the optical link, it locates the fault point and / or connector based on the arrival time of multiple transmitted signals and the arrival time of probe signals.
[0168] S1308, the network management analyzer stores the final results to the storage module. The final results are used to indicate whether there are fault points and / or connectors in the optical link, and the location of the fault points and / or connectors in the optical link.
[0169] S1309, the storage module sends the final result to the interface display module.
[0170] S1310, the interface display module displays the final result.
[0171] The above is only an illustrative example. For the specific implementation process, please refer to the detailed description of S601 and S602, which will not be repeated here.
[0172] According to an embodiment of this application, the first network device can encode the probe signal. A connector failure and / or the presence of a connector in the optical link constitutes fixed interference for the probe signal. Since the probe signal is encoded, it has a high signal-to-noise ratio, enabling accurate identification of fixed interference. Furthermore, the fixed interference is amplified when multiple probe signals are superimposed. Thus, if a large peak value exists after the superposition of multiple probe signals, an optical link failure or the presence of a connector in the optical link is determined. This allows for the determination of whether an optical link is faulty or whether a connector is present in the optical link without adding hardware at the receiving end, reducing the cost of optical link monitoring. Moreover, because the probe signal is encoded and has a high signal-to-noise ratio, there is no need to increase the power of the probe signal, thus enabling optical link monitoring without suspending service operations, improving service efficiency, and ensuring the operational effectiveness of the data center.
[0173] Based on the same concept as the embodiments of the method in this application, this application also provides an optical link monitoring device. The optical link monitoring device includes several modules, each module being used to execute various steps in the optical link monitoring method provided in the embodiments of this application. The division of modules is not limited here. Those skilled in the art will clearly understand that in practical applications, the various steps in the optical link monitoring method provided in the embodiments of this application can be assigned to different modules as needed, that is, the internal structure of the device can be divided into different modules to complete all or part of the functions described above. The modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more modules can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the modules in the above device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0174] For example, the optical link monitoring device is used to execute the optical link monitoring method provided in the embodiments of this application. Figure 14 is a schematic diagram of the structure of the optical link monitoring device provided in the embodiments of this application. As shown in Figure 14, the optical link monitoring device provided in the embodiments of this application includes:
[0175] The acquisition module 1401 is used to acquire a first detection signal, which is a signal received by the receiving end after transmission through the optical link;
[0176] The determination module 1402 is used to determine the operation and maintenance problems of the optical link based on the peak values of the first detection signal at various frequency points.
[0177] According to this solution, the first detection signal is transmitted from the transmitter to the receiver via the optical link. If the connector malfunctions and / or a connector is present in the optical link, it constitutes fixed interference for the first detection signal. Thus, the first detection signal carries information about this fixed interference. By analyzing the peak values of the first detection signal at various frequency points, operational problems in the optical link can be identified. Therefore, by identifying operational problems using the first detection signal received at the receiver, it is possible to determine the operational problems without suspending the optical module at the receiver, and consequently, without interrupting service operations, thus improving service efficiency. Furthermore, this solution enables optical link monitoring based on the existing structure of the optical module, without adding any hardware to the optical module, reducing the monitoring cost of the optical link.
[0178] In one possible implementation, the acquisition module is further configured to acquire the time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end, wherein the reflected signal is a signal generated by the first detection signal during the transmission of the optical link;
[0179] The device also includes:
[0180] The determination module is used to locate the position of the maintenance problem in the optical link based on the time when the probe signal arrives at the receiver and the time when the reflected signal arrives at the receiver.
[0181] In this way, the first detection signal received by the receiving end can not only determine whether there is an operation and maintenance problem in the optical link, but also locate the specific location of the operation and maintenance problem in the optical link based on the reception time of the first detection signal and the reception time of the reflected signal generated by the first detection signal, thereby improving the operation and maintenance efficiency of the optical link and further improving the service operation efficiency.
[0182] In one possible implementation,
[0183] The acquisition module is further configured to acquire a second detection signal, wherein the second detection signal is the same signal as the first detection signal;
[0184] The determining module is used for:
[0185] The first detection signal is obtained by superimposing the first detection signal and the second detection signal;
[0186] The operation and maintenance issues of the optical link are determined based on the peak values of the first signal at each frequency point.
[0187] Thus, after superimposing the first and second detection signals, the random interference energy increases less in the superimposed signal, while the fixed interference energy increases more significantly, thereby enabling more accurate identification of fixed interference and improving the accuracy of operation and maintenance problem identification.
[0188] In one possible implementation, the identification code carried by the first detection signal and the identification code carried by the second detection signal are the same, and the transmission interval between the first detection signal and the second detection signal is greater than a preset interval threshold, the interval threshold being related to the length of the optical link;
[0189] Or the identification code carried by the first detection signal is different from the identification code carried by the second detection signal.
[0190] In this way, the identification code can more accurately identify the first and second detection signals, improving the accuracy of identifying maintenance issues.
[0191] In one possible implementation, the determining module is used to:
[0192] Calculate the average value of the peak value of the first signal at each frequency point;
[0193] If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, it is determined that there is an operational or maintenance problem at that frequency point.
[0194] In one possible implementation, the device further includes:
[0195] The display module is used to generate and display monitoring result information, which is used to indicate the operation and maintenance problems of the optical link.
[0196] In this way, maintenance personnel can more intuitively identify maintenance problems of optical links and improve the efficiency of optical link maintenance.
[0197] In one possible implementation, the device is applied to a controller or network management device;
[0198] The acquisition module is used to receive the first detection signal sent by the receiving end; or
[0199] The acquisition module is used to receive service signals sent by the receiving end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
[0200] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0201] In one possible implementation, the device is applied at the receiving end.
[0202] The acquisition module is used to receive a first detection signal sent by the transmitting end, wherein the receiving end and the transmitting end communicate via the optical link; or
[0203] The acquisition module is used to receive service signals sent by the sending end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
[0204] In this way, the ability to monitor the optical link is achieved, while also improving the efficiency of business operations.
[0205] In one possible implementation, the operational issues of the optical link include optical link failures and / or the presence of connectors in the optical link.
[0206] In one possible implementation, the first detection signal is an encoded detection signal.
[0207] In this way, the signal-to-noise ratio of the encoded detection signal is high, thereby improving the identification of maintenance problems (i.e., fixed interference) in the optical link, without the need to add any hardware to the optical module, thus reducing the monitoring cost of the optical link.
[0208] In one possible implementation, the first detection signal is a complementary sequence or a simplex code.
[0209] In this way, the first detection signal is encoded into a complementary sequence or a simplex code, which can improve the signal-to-noise ratio of the detection signal, achieve the purpose of accurately identifying maintenance problems, and reduce the cost of optical link monitoring.
[0210] Based on the same concept as the embodiments of this application, this application also provides a network device. This network device can be the first network device, the second network device, or the network management system described above. The network device can be a data forwarding device such as a switch or router.
[0211] As shown in Figure 15, the network device provided in this application embodiment includes a processor 1501, a memory 1502, and a communication interface 1503.
[0212] In this embodiment, the processor 1501 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0213] The memory 1502 may include a large-capacity memory for data or instructions, thereby providing storage space for the network device's operating system and executable program code, which may include, but is not limited to: Windows (an operating system), Linux (an operating system), HarmonyOS (an operating system), etc., without limitation.
[0214] For example, and not as a limitation, memory 1502 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1502 may include removable or non-removable (or fixed) media. Where appropriate, memory 1502 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 1502 is non-volatile solid-state memory.
[0215] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory may include one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software that may include computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to this application.
[0216] For example, a computer program may be stored on the memory 1502, and the processor 1501 executes the computer program to implement the steps in the above method embodiments. Alternatively, the processor 1501 executes the computer program to implement the functions of each module in the above device embodiments. Exemplarily, the computer program may be divided into one or more modules / units, which may be a series of computer program instruction segments capable of performing a specific function. The one or more modules / units are stored in the memory 1502 and executed by the processor 1501 to complete this application. For example, the computer program may be divided into multiple modules, as in the modules of the device described above.
[0217] The communication interface 1503 is used to send and receive data, for example, to send data processed by the processor 1501 to other network devices, or to receive data sent by other network devices.
[0218] Of course, for simplicity, Figure 15 only shows some of the components of the network device 1500 relevant to this application, omitting components such as buses, input / output interfaces, etc. In addition, depending on the specific application, the network device 1500 may include any other suitable components. Furthermore, the network device may be a desktop computer, laptop, handheld computer, or cloud server, etc. Those skilled in the art will understand that Figure 15 is merely an example of the network device 1500 and does not constitute a limitation on the network device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the network device may also include input devices, output devices, network access devices, buses, etc. For example, the input device may be a microphone array, and may also include, for example, a keyboard, mouse, etc. For example, the output device may output various information to the outside, and may include, for example, a monitor, speaker, printer, and communication network and its connected remote output devices, etc.
[0219] In addition to the methods, apparatus, and network devices described above, embodiments of this application may also provide a computer program product, comprising computer program instructions. When executed by a processor, these computer program instructions cause the processor to perform the steps of the methods in the various embodiments of this application described in the "Methods" section of this specification. The computer program product may be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The computer program code may be in source code form, object code form, executable file, or some intermediate form. The computer program code may be executed entirely on the user's network device, partially on the user's device, as a standalone software package, partially on the user's network device and partially on a remote network device, or entirely on a remote network device or server.
[0220] Furthermore, embodiments of this application may also provide a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the display control method according to various embodiments of this disclosure as described in the "Method" section above. The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. It should be noted that the content contained in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, a computer-readable medium may not include electrical carrier signals and telecommunication signals.
[0221] The method steps in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC.
[0222] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. It should be understood that in the embodiments of this application, the order of the process numbers does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0223] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of this application.
Claims
1. A method for monitoring optical links, characterized in that, The method includes: Acquire a first detection signal, which is a signal received by the receiver after transmission through an optical link; Based on the peak values of the first detection signal at various frequency points, the operation and maintenance issues of the optical link are determined.
2. The method according to claim 1, characterized in that, The method further includes: The time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end are obtained, wherein the reflected signal is the signal generated by the first detection signal during the transmission of the optical link. Based on the time when the probe signal arrives at the receiver and the time when the reflected signal arrives at the receiver, the location of the maintenance problem in the optical link can be determined.
3. The method according to claim 1 or 2, characterized in that, The method further includes: Acquire a second detection signal, which is the same as the first detection signal; The step of determining the operation and maintenance issues of the optical link based on the peak values of the first detection signal at various frequency points includes: The first detection signal is obtained by superimposing the first detection signal and the second detection signal; The operation and maintenance issues of the optical link are determined based on the peak values of the first signal at each frequency point.
4. The method according to claim 3, characterized in that, The identification code carried by the first detection signal is the same as the identification code carried by the second detection signal, and the transmission interval between the first detection signal and the second detection signal is greater than a preset interval threshold, which is related to the length of the optical link; Or the identification code carried by the first detection signal is different from the identification code carried by the second detection signal.
5. The method according to claim 3 or 4, characterized in that, The step of determining the operation and maintenance issues of the optical link based on the peak values of the first signal at each frequency point includes: Calculate the average value of the peak value of the first signal at each frequency point; If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, it is determined that there is an operational or maintenance problem at that frequency point.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: The monitoring results information is generated and displayed, which is used to indicate the operation and maintenance problems of the optical link.
7. The method according to any one of claims 1-6, characterized in that, The method is applied to controllers or network management devices. The acquisition of the first detection signal includes: receiving the first detection signal sent by the receiving end; or The step of acquiring the first detection signal includes: receiving a service signal sent by the receiving end, the service signal including the first detection signal; and extracting the first detection signal from the service signal.
8. The method according to any one of claims 1-7, characterized in that, The method is applied at the receiving end. The acquisition of the first detection signal includes: receiving a first detection signal sent by a transmitting end, wherein the receiving end and the transmitting end communicate via the optical link; or The step of acquiring the first detection signal includes: receiving a service signal sent by a transmitting end, the service signal including the first detection signal; and extracting the first detection signal from the service signal.
9. The method according to any one of claims 1-8, characterized in that, The first detection signal is a complementary sequence or a simplex code.
10. An optical link monitoring device, characterized in that, The device includes: The acquisition module is used to acquire a first detection signal, which is a signal received by the receiving end after transmission through the optical link. The determination module is used to determine the operation and maintenance problems of the optical link based on the peak values of the first detection signal at various frequency points.
11. The apparatus according to claim 10, characterized in that, The acquisition module is further configured to acquire the time when the first detection signal arrives at the receiving end and the time when the reflected signal arrives at the receiving end, wherein the reflected signal is the signal generated by the first detection signal during the transmission of the optical link; The device further includes: The determination module is used to locate the position of the maintenance problem in the optical link based on the time when the probe signal arrives at the receiver and the time when the reflected signal arrives at the receiver.
12. The apparatus according to claim 10 or 11, characterized in that, The acquisition module is further configured to acquire a second detection signal, wherein the second detection signal is the same signal as the first detection signal; The determining module is used for: The first detection signal is obtained by superimposing the first detection signal and the second detection signal; The operation and maintenance issues of the optical link are determined based on the peak values of the first signal at each frequency point.
13. The apparatus according to claim 12, characterized in that, The identification code carried by the first detection signal is the same as the identification code carried by the second detection signal, and the transmission interval between the first detection signal and the second detection signal is greater than a preset interval threshold, which is related to the length of the optical link; Or the identification code carried by the first detection signal is different from the identification code carried by the second detection signal.
14. The apparatus according to claim 12 or 13, characterized in that, The determining module is used for: Calculate the average value of the peak value of the first signal at each frequency point; If the ratio of the peak value to the average value at a frequency point is greater than a preset threshold, it is determined that there is an operational or maintenance problem at that frequency point.
15. The apparatus according to any one of claims 10-14, characterized in that, The device further includes: The display module is used to generate and display monitoring result information, which is used to indicate the operation and maintenance problems of the optical link.
16. The apparatus according to any one of claims 10-15, characterized in that, The device is applied to controllers or network management equipment; The acquisition module is used to receive the first detection signal sent by the receiving end; or The acquisition module is used to receive service signals sent by the receiving end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
17. The apparatus according to any one of claims 10-16, characterized in that, The device is used at the receiving end. The acquisition module is used to receive a first detection signal sent by the transmitting end, wherein the receiving end and the transmitting end communicate via the optical link; or The acquisition module is used to receive service signals sent by the sending end, the service signals including the first detection signal; and to extract the first detection signal from the service signals.
18. The apparatus according to any one of claims 10-17, characterized in that, The first detection signal is a complementary sequence or a simplex code.
19. A network device, characterized in that, include: Memory, used to store executable code; A processor, when executing the executable code, implements the method of any one of claims 1-9.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed in a computer, causes the computer to perform the method described in any one of claims 1-9.
21. A computer program product containing instructions, characterized in that, When the instructions are executed on a computer, the computer causes the computer to perform the method as described in any one of claims 1-9.