Optical fiber link early warning method and device, optical transmission system
By obtaining the target early warning threshold value in the fiber link and performing early warning operations, the signal processing errors and packet loss problems caused by multipath interference in the fiber link are solved, and the correctness of the optical signal and the stability of the system are improved.
Patent Information
- Application Number
- CN202110026206.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-08
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-01-08
AI Technical Summary
There are multipath interference (MPI) problems in optical fiber links, resulting in optical signal processing errors and packet loss, affecting the performance of optical communication equipment.
By obtaining the target early warning threshold value of the fiber link, the early warning operation is performed to reduce the MPI value according to the number of symbol errors and bit error rates of the received data frames, ensuring the correct demodulation of the optical signal and reducing the packet error rate.
It effectively reduces the packet error rate of the optical transmission system, ensures the correct processing of optical signals, and improves the reliability and stability of the optical fiber link.
Smart Images

Figure CN114759979B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an early warning method and device for an optical fiber link, and an optical transmission system. Background Art
[0002] The optical communication equipment in the optical transmission system may include an optical transmitting device and an optical receiving device, and the optical transmitting device and the optical receiving device are connected via an optical fiber link. Among them, an optical module is deployed in the optical communication equipment, and the optical module in the optical transmitting device is used to modulate the optical signal and send the modulated optical signal to the optical fiber link; after the optical module in the optical receiving device receives the optical signal through the optical fiber link, it can demodulate the optical signal. In order to meet business needs, the optical module in the optical transmitting device usually uses four-level pulse amplitude modulation (PAM4) to modulate the optical signal.
[0003] At present, in optical transmission systems, the optical fibers used to deploy optical fiber links are mainly reused optical fibers, which leads to the presence of a large number of adapters in the optical fiber links (for example, the optical fiber link includes multiple sections of optical fiber, and two adjacent sections of optical fiber are connected by adapters). The large number of adapters, the dirty ports on the adapters that connect to the optical fibers, and the poor connection between the adapters and the optical fibers will all cause multi-path interference (MPI) problems in the optical fiber links, affecting the processing of optical signals by the optical modules in the optical communication equipment. For example, MPI can easily cause the optical modules in the optical receiving equipment to be unable to correctly demodulate the received optical signals. If the MPI value of the optical fiber link is large, it can also easily cause problems such as packet loss. Summary of the invention
[0004] The present application provides an early warning method and device for an optical fiber link, and an optical transmission system, which helps the optical module in the optical communication equipment to correctly process the received optical signal and reduce the packet error rate of the system. The technical solution of the present application is as follows:
[0005] In a first aspect, a warning method for an optical fiber link is provided, the method comprising: obtaining a target warning threshold value corresponding to the optical fiber link, the target warning threshold value being used to characterize a maximum number of symbol errors of data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period when the MPI value of the optical fiber link is less than a preset MPI value; and performing a warning operation on the optical fiber link according to the number of symbol errors of the data frames received by the optical communication device through the optical fiber link and the target warning threshold value.
[0006] The technical solution provided by the present application is that the target warning threshold value corresponding to the optical fiber link can be used to characterize the maximum number of symbol errors of the data frames received by the optical communication equipment through the optical fiber link within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value. Therefore, the warning device performs a warning operation on the optical fiber link according to the target warning threshold value. It can be considered that the warning device warns the optical fiber link according to the MPI value of the optical fiber link. In this way, after the network operation and maintenance personnel clean up, check and maintain the optical fiber link according to the warning of the warning device, the MPI value of the optical fiber link can meet the tolerance requirements of the optical module in the optical communication equipment, which is convenient for the optical module to process the optical signal. For example, it can facilitate the optical module to correctly demodulate the received optical signal and reduce the packet error rate of the optical transmission system.
[0007] Optionally, obtaining a target warning threshold value corresponding to the optical fiber link includes: obtaining a target bit error rate of data frames received by the optical communication device through the optical fiber link during the statistical period; obtaining a target false alarm rate, the target false alarm rate being used to characterize the probability of a false alarm occurring when the MPI value of the optical fiber link is less than the preset MPI value; and obtaining the target warning threshold value based on the target bit error rate and the target false alarm rate.
[0008] The technical solution provided by the present application is that the early warning device determines the target early warning threshold value corresponding to the optical fiber link according to the target bit error rate of the data frames received by the optical communication device through the optical fiber link during the statistical period, and the probability of false alarm when the MPI value of the optical fiber link is less than the preset MPI value (that is, the target false alarm rate), so that the target early warning threshold value can be used to characterize the maximum number of symbol errors of the data frames received by the optical communication device connected to the optical fiber link through the optical fiber link during the statistical period when the MPI value of the optical fiber link is less than the preset MPI value, thereby facilitating the early warning device to perform early warning operations on the optical fiber link according to the target early warning threshold value.
[0009] Optionally, according to the target bit error rate and the target false alarm rate, the target warning threshold value is obtained, including: obtaining a warning threshold distribution model corresponding to the target bit error rate, the warning threshold distribution model being used to characterize the correlation between the warning threshold value and the false alarm rate within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value; determining the target warning threshold value according to the warning threshold distribution model and the target false alarm rate.
[0010] Optionally, the warning threshold distribution model is:
[0011]
[0012] Where pf represents the false alarm rate, C represents the number of combinations, n_th represents the warning threshold, n_th is a positive integer, k represents the number of symbols in a single data frame, w represents the number of bits in a single symbol, BER represents the bit error rate, T represents the statistical period, and f T Indicates the number of data frames received by the optical communication device through the optical fiber link per unit time.
[0013] Optionally, obtaining a target bit error rate of data frames received by the optical communication device through the optical fiber link during a statistical period includes: obtaining the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period; and determining the target bit error rate based on the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period.
[0014] Optionally, based on the number of symbol errors of the data frames received by the optical communication device through the optical fiber link and the target warning threshold value, a warning operation is performed on the optical fiber link, including: based on the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within a warning period and the target warning threshold value, a warning operation is performed on the optical fiber link.
[0015] Optionally, based on the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period and the target warning threshold value, a warning operation is performed on the optical fiber link, including: if the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is greater than the target warning threshold value, outputting abnormal warning information, and the abnormal warning information is used to indicate that the MPI of the optical fiber link is abnormal; if the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is less than or equal to the target warning threshold value, outputting normal warning information, and the normal warning information is used to indicate that the MPI of the optical fiber link is normal.
[0016] In a second aspect, an early warning device for an optical fiber link is provided, the early warning device comprising modules for executing the early warning method provided in the first aspect or any optional manner of the first aspect. The modules can be implemented based on software, hardware, or a combination of software and hardware, and the modules can be arbitrarily combined or divided based on specific implementations.
[0017] Optionally, the early warning device is integrated in the optical communication equipment, or the early warning device is located outside the optical communication equipment.
[0018] Optionally, the optical communication equipment includes an optical module and a processor, and the early warning device is integrated in the optical module, or the early warning device is integrated in the processor.
[0019] In a third aspect, an early warning device for an optical fiber link is provided, comprising a memory and a processor;
[0020] The memory is used to store computer programs;
[0021] The processor is used to execute the computer program stored in the memory so that the early warning device of the optical fiber link executes the early warning method provided by the first aspect or any optional manner of the first aspect.
[0022] In a fourth aspect, an optical communication system is provided, the optical communication system comprising optical communication devices connected via an optical fiber link, at least one optical communication device comprising the early warning device provided in the second aspect or the third aspect.
[0023] In a fifth aspect, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the early warning method provided in the first aspect or any optional method of the first aspect is implemented.
[0024] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the early warning method provided in the first aspect or any optional manner of the first aspect.
[0025] In a seventh aspect, a chip is provided, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the early warning method provided in the first aspect or any optional method of the first aspect.
[0026] The beneficial effects of the technical solution provided by this application are:
[0027] The technical solution provided by the present application is that the early warning device of the optical fiber link can obtain the target early warning threshold value corresponding to the optical fiber link, and perform early warning operations on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target early warning threshold value, so that the network operation and maintenance personnel can timely clean up, check and maintain the optical fiber link according to the early warning of the early warning device. Among them, the target early warning threshold value can be used to characterize the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value. Therefore, the early warning device performs an early warning operation on the optical fiber link according to the target early warning threshold value, which can be considered as the early warning device warning the optical fiber link according to the MPI value of the optical fiber link. In this way, after the network operation and maintenance personnel clean up, check and maintain the optical fiber link according to the early warning of the early warning device, the MPI value of the optical fiber link can meet the tolerance requirements of the optical module in the optical communication device, which is convenient for the optical module to process the optical signal, for example, it can be convenient for the optical module to correctly demodulate the received optical signal and reduce the packet error rate of the optical transmission system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a structural schematic diagram of an optical transmission system provided in an embodiment of the present application;
[0029] Figure 2 It is a flow chart of an early warning method for an optical fiber link provided in an embodiment of the present application;
[0030] Figure 3 is a flow chart of a method for obtaining a target warning threshold value provided by an embodiment of the present application;
[0031] Figure 4 is a schematic diagram of a warning threshold distribution model provided in an embodiment of the present application;
[0032] Figure 5 It is a logical structure diagram of an early warning device for an optical fiber link provided in an embodiment of the present application;
[0033] Figure 6 is a structural schematic diagram of an optical communication device provided in an embodiment of the present application;
[0034] Figure 7 is a structural schematic diagram of another optical communication device provided in an embodiment of the present application;
[0035] Figure 8 It is a schematic diagram of the hardware structure of an early warning device for an optical fiber link provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the principles, 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.
[0037] An optical transmission system is a system that uses optical fiber as a transmission medium for signal transmission. The optical communication equipment in the optical transmission system is used for sending, receiving, modulating, demodulating, etc. of optical signals. As an example, please refer to Figure 1 , which shows a schematic diagram of the structure of an optical transmission system provided by an embodiment of the present application, wherein the optical communication device in the optical transmission system includes an optical transmitting device 110 and an optical receiving device 120, and the optical transmitting device 110 is connected to the optical receiving device 120 via an optical fiber link 130. Among them, optical modules can be deployed in both the optical transmitting device 110 and the optical receiving device 120, and the optical module in the optical transmitting device 110 can be used for modulation of optical signals, and the optical module in the optical receiving device 120 can be used for demodulation of optical signals.
[0038] Generally, optical modules can use non-return to zero (NRZ) modulation to modulate optical signals. However, with the continuous development of network technology, enterprises and operators have increasingly greater requirements for bandwidth and higher requirements for the rate of optical modules. The NRZ modulation method can no longer meet the application requirements of optical modules, which has led to the application of PAM4 in optical modules. Optical modules that use PAM4 for optical signal modulation have been widely used in optical communication equipment in scenarios such as data centers and bearer networks. Optical modules that use PAM4 for optical signal modulation include 50GE optical modules, 200GE optical modules, and 400GE optical modules. Among them, 50GE optical modules refer to optical modules that comply with Ethernet standards and have a transmission rate of 50Gbps / s. The same is true for 200GE optical modules and 400GE optical modules, which will not be elaborated here.
[0039] In optical transmission systems, the optical fibers used to deploy optical fiber links are mainly reused optical fibers, which leads to the presence of many adapters in optical fiber links, such as Figure 1 As shown, the optical fiber used in deploying the optical fiber link 130 is a reused optical fiber, and the optical fiber link 130 includes multiple sections of optical fiber 131, and two adjacent sections of optical fiber 131 are connected by adapters 132. However, there are many adapters in the optical fiber link deployed using reused optical fibers, and the port on the adapter that is connected to the optical fiber is usually relatively dirty, which makes the adapter and the optical fiber poorly connected, which can easily cause the MPI problem of the optical fiber link, thereby affecting the optical module's processing of the optical signal. For example, MPI can easily cause the optical module to be unable to correctly demodulate the received optical signal. The larger the MPI value, the greater the impact on the optical module. When the MPI value exceeds the tolerance value of the optical module, it will cause packet loss, port flash disconnection, and port failure (down) and other problems.
[0040] In view of this, the embodiment of the present application provides an early warning method and device for an optical fiber link, and an optical transmission system. The method can be executed by an early warning device for an optical fiber link. The early warning device can perform an early warning operation on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target early warning threshold value corresponding to the optical fiber link, so that the network operation and maintenance personnel can timely clean up, troubleshoot and maintain the optical fiber link according to the early warning of the early warning device. Among them, the target early warning threshold value can be used to characterize the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value. In this way, after the network operation and maintenance personnel clean up, troubleshoot and maintain the optical fiber link according to the early warning of the early warning device, the MPI value of the optical fiber link can meet the tolerance requirements of the optical module in the optical communication device, which is convenient for the optical module to process the optical signal, for example, to ensure that the optical module correctly demodulates the received optical signal and reduce the packet error rate of the system.
[0041] The optical fiber link early warning method of the present application is described below with reference to the accompanying drawings.
[0042] For example, please refer to Figure 2 , which shows a flowchart of an early warning method for an optical fiber link provided by an embodiment of the present application. The early warning method for an optical fiber link can be executed by an early warning device. Figure 2 , the early warning method may include:
[0043] S201. Obtain a target warning threshold value corresponding to an optical fiber link, where the target warning threshold value is used to represent a maximum number of symbol errors in data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period when the MPI value of the optical fiber link is less than a preset MPI value.
[0044] For example, the target warning threshold value is used to characterize the maximum number of symbol errors of data frames received by the optical communication device connected to the optical fiber link through the optical fiber link during the statistical period when the MPI value of the optical fiber link is equal to 0 (that is, when the optical fiber link does not have MPI). The implementation process of S201 will be described in detail below and will not be repeated here.
[0045] S202: Perform an early warning operation on the optical fiber link according to the number of symbol errors of the data frames received by the optical communication device through the optical fiber link and the target early warning threshold value.
[0046] The early warning device can obtain the number of symbol errors of the data frame received by the optical communication device through the optical fiber link, and perform an early warning operation on the optical fiber link according to the number of symbol errors of the data frame and the target early warning threshold value. As an optional implementation, the early warning device can periodically perform an early warning operation on the optical fiber link. For example, the early warning device performs an early warning operation on the optical fiber link according to the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link during the early warning period and the target early warning threshold value. Optionally, if the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link during the early warning period is greater than the target early warning threshold value, the early warning device outputs abnormal early warning information, and if the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link during the early warning period is less than or equal to the target early warning threshold value, the early warning device outputs normal early warning information. For example, the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link during the warning period is Err_Max, and the target warning threshold value is n_th_target. If Err_Max>n_th_target, the warning device outputs abnormal warning information, and if Err_Max≤n_th_target, the warning device outputs normal warning information. The abnormal warning information is used to indicate that the MPI of the optical fiber link is abnormal during the warning period, and the normal warning information is used to indicate that the MPI of the optical fiber link is normal during the warning period. For example, the abnormal warning information indicates that the MPI of the optical fiber link is too large, and the normal warning information indicates that the MPI of the optical fiber link can meet the tolerance of the optical communication device. The warning device can compare the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link during the warning period with the target warning threshold value to determine the size relationship between the maximum number of symbol errors and the target warning threshold value. The warning period can be set according to, for example, changes in the environment in which the optical fiber link is located.
[0047] Optionally, the early warning device and / or the device where the early warning device is located may have a display component and / or a voice broadcast component, and the early warning device may output early warning information (such as abnormal early warning information or normal early warning information) through the display component or the voice broadcast component. Alternatively, the early warning device may be connected to a device having a display component and / or a voice broadcast component, and the early warning device may output early warning information through the device having a display component and / or a voice broadcast component. For example, the early warning device may send the early warning information to the device having a display component and / or a voice broadcast component, and the device may present the early warning information by display or voice broadcast. The embodiments of the present application do not limit this.
[0048] In an embodiment of the present application, a data frame may include multiple symbols, each symbol may include multiple bit codes, and for a data frame, if at least one bit code in a symbol in the data frame is an error bit code (that is, an erroneous bit code), then the symbol is an error symbol (that is, an erroneous symbol). In an early warning cycle, the optical communication device may receive multiple data frames through the optical fiber link, and for each of the multiple data frames, the early warning device determines the number of error symbols of the data frame (that is, the number of error symbols in the data frame), and determines the maximum number of error symbols from the number of error symbols of the multiple data frames, and determines the maximum number of error symbols among the number of error symbols of the multiple data frames as the maximum number of error symbols of the data frames received by the optical communication device through the optical fiber link in the early warning cycle. For example, within one warning cycle, the optical communication device receives A data frames through the optical fiber link, and the symbol error numbers of the A data frames are distributed as {0, 1, 2, 3, 4, 5, 6, 8}, that is, among the A data frames, the symbol error numbers of some data frames are 0, the symbol error numbers of another part of the data frames are 1, and the symbol error numbers of another part of the data frames are 7, and so on. Since the maximum symbol error number among the symbol error numbers of the A data frames is 8, the warning device determines that the maximum symbol error number of the data frames received by the optical communication device through the optical fiber link within the warning cycle is 8.
[0049] In an embodiment of the present application, an optical communication device may include an optical module and an error correction chip, wherein the optical module is connected to an optical fiber link through a port on the optical module, so that the optical communication device is connected to the optical fiber link, and the error correction chip may be, for example, a feedforward error correction (FEC) chip. The optical module may be used to modulate a data frame onto an optical signal and send the optical signal modulated with the data frame to the optical fiber link, and / or the optical module may be used to receive an optical signal modulated with a data frame from the optical fiber link and demodulate the data frame from the optical signal. The error correction chip may be used to perform error detection and / or error correction on the data frame demodulated by the optical module, so as to determine the symbol with the error bit code from the data frame (that is, to determine the error symbol in the data frame), thereby determining the number of error symbols in the data frame. In an embodiment of the present application, the data frame received by the optical communication device through the optical fiber link may refer to the data frame demodulated by the optical module in the optical communication device from the received optical signal. For each data frame received by the optical communication device, after the error correction chip determines the number of symbol errors of the data frame, it can report the number of symbol errors of the data frame to the early warning device, so that the early warning device can obtain the number of symbol errors of the data frame, and thereby determine the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the early warning period based on the number of symbol errors of multiple data frames received by the optical communication device within the early warning period.
[0050] In an embodiment of the present application, the early warning device can be integrated in the optical communication device, or located outside the optical communication device. The optical communication device may include an optical module and a processor. If the early warning device is integrated in the optical communication device, the early warning device may be integrated in the optical module or in the processor, wherein the optical communication device may include a single board, the optical module, the processor and the FEC chip may all be located on the single board, the single board may provide power supply, high-speed interface and low-speed interface for the optical module, wherein the processor is, for example, a central processing unit (CPU), and the deployment mode in which the early warning device is integrated in the optical communication device may be applicable to products such as routers and switches. If the early warning device is located outside the optical communication device, as an optional implementation mode, the early warning device may be integrated in an instrument of the optical communication device, wherein the instrument of the optical communication device may be an instrument for measuring the optical communication device, which is not limited in the embodiment of the present application.
[0051] In summary, the technical solution provided by the embodiment of the present application is that the early warning device of the optical fiber link can obtain the target early warning threshold value corresponding to the optical fiber link, and perform early warning operations on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target early warning threshold value, so that the network operation and maintenance personnel can timely clean up, check and maintain the optical fiber link according to the early warning of the early warning device. Among them, the target early warning threshold value can be used to characterize the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value. Therefore, the early warning device performs an early warning operation on the optical fiber link according to the target early warning threshold value, which can be understood as the early warning device warning the optical fiber link according to the MPI value of the optical fiber link. In this way, after the network operation and maintenance personnel clean up, check and maintain the optical fiber link according to the early warning of the early warning device, the MPI value of the optical fiber link can meet the tolerance requirements of the optical module in the optical communication device, which is convenient for the optical module to process the optical signal.
[0052] The technical solution provided in the embodiment of the present application is that the number of symbol errors of the data frames received by the optical communication equipment through the optical fiber link can reflect the quality of the optical fiber link. The early warning device performs an early warning operation according to the number of symbol errors of the data frames received by the optical communication equipment through the optical fiber link, that is, the early warning device issues an early warning according to the quality of the optical fiber link. In this way, the early warning device can issue early warnings for problems such as aging of the optical fiber link in real time online according to the quality of the optical fiber link, prevent silent failures of the optical fiber link, and avoid abnormalities in the port without the user noticing any alarms. The embodiment of the present application takes the optical module in the optical communication equipment using the PAM4 method for optical signal modulation as an example. The technical solution provided in the present application is also applicable to optical modules with other modulation methods. The embodiment of the present application does not limit the modulation method of the optical module.
[0053] The following describes the implementation process of the early warning device obtaining the target early warning threshold value corresponding to the optical fiber link.
[0054] For example, please refer to Figure 3 , which shows a flow chart of a method for obtaining a target warning threshold value corresponding to an optical fiber link provided by an embodiment of the present application. Figure 3 As shown, the method may include:
[0055] S2011. Obtain a target bit error rate of data frames received by an optical communication device connected to an optical fiber link through the optical fiber link within a statistical period.
[0056] The early warning device can obtain the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period (for example, called the first sum), and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period (for example, called the second sum), and determine the target bit error rate of the data frames received by the optical communication device through the optical fiber link during the statistical period according to the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period (that is, the first sum), and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period (that is, the second sum), for example, the target bit error rate is equal to the ratio of the first sum to the second sum. Wherein, the target bit error rate can be the bit error rate of the target port of the optical communication device during the statistical period, the target port is the port in the optical communication device connected to the optical fiber link, and the target port can be located on the optical module in the optical communication device. Among them, the statistical period can be set according to actual conditions, for example, according to the length of the register in the optical communication device, and the embodiment of the present application does not limit this.
[0057] In an embodiment of the present application, a data frame may include multiple symbols, and each symbol may include multiple bit codes. In a statistical period, the optical communication device may receive multiple data frames through the optical fiber link. For each of the multiple data frames, the early warning device may determine the number of bit errors of the data frame (that is, the number of bit error codes in the data frame), and determine the sum of the number of bit errors of the multiple data frames, and determine the sum of the number of bit errors of the multiple data frames as the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link in the statistical period (that is, the first sum); and, the early warning device may determine the number of bit codes of each of the multiple data frames (that is, the number of bit codes in the data frame, the bit code includes an error bit code and a correct bit code), and determine the sum of the number of bit codes of the multiple data frames, and determine the sum of the number of bit codes of the multiple data frames as the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link in the statistical period (that is, the second sum). For example, within a statistical period, the optical communication device receives B data frames through the optical fiber link, each of the B data frames includes b bit codes, and among the B data frames, the number of bit errors of B1 data frames is b1, the number of bit errors of B2 data frames is b2, the number of bit errors of B3 data frames is b3, and the number of bit errors of B4 data frames is b4, then the early warning device determines that the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period (that is, the first sum) is B1×b1+B2×b2+B3×b3+B4×b4, the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period (that is, the second sum) is B×b, and the target bit error rate can be (B1×b1+B2×b2+B3×b3+B4×b4) / (B×b).
[0058] In an embodiment of the present application, the data frame received by the optical communication device through the optical fiber link may refer to the data frame demodulated from the received optical signal by the optical module in the optical communication device. For each data frame received by the optical communication device, the error correction chip in the optical communication device can determine the number of bit errors of the data frame, and can report the number of bit errors of the data frame to the early warning device, so that the early warning device can determine the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period. Optionally, the error correction chip can also report the number of data frames received by the optical communication device through the optical fiber link within the statistical period and the number of bit codes of a single data frame to the early warning device, so that the early warning device can determine the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period.
[0059] S2012. Obtain a target false alarm rate, where the target false alarm rate is used to characterize the probability of a false alarm occurring when the MPI value of the optical fiber link is less than a preset MPI value.
[0060] The target false alarm rate may be a fixed value set according to the false alarm tolerance of the optical transmission system (that is, the tolerance of the system to false alarms) when the MPI value of the optical fiber link is less than the preset MPI value, for example, a fixed value set manually. For example, the target false alarm rate may be 1e-4 (that is, 1 / 10 -4 ).
[0061] S2013. Obtain a target early warning threshold value according to the target bit error rate and the target false alarm rate.
[0062] Optionally, the early warning device can obtain an early warning threshold distribution model corresponding to the target bit error rate, and determine the target early warning threshold value according to the early warning threshold distribution model and the target false alarm rate. The early warning threshold distribution model is used to characterize the correlation between the early warning threshold value and the false alarm rate within the statistical period when the MPI value of the optical fiber link is less than a preset MPI value.
[0063] Among them, the warning threshold distribution model can be:
[0064]
[0065] In the warning threshold distribution model, pf represents the false alarm rate, C represents the number of combinations, pf is greater than 0 and less than or equal to 1, n_th represents the warning threshold value, n_th is a positive integer, k represents the number of symbols in a single data frame (that is, the number of symbols contained in a single data frame), w represents the number of bit codes in a single symbol (that is, the number of bit codes contained in a single symbol), BER represents the bit error rate, T represents the statistical period, and f T Indicates the number of data frames received by the optical communication device through the optical fiber link per unit time.
[0066] In the above warning threshold distribution model, T is a known number. When the error correction chip in the optical communication equipment is fixed, k and w are known numbers, and n_th has a fixed value range. For example, when the error correction chip in the optical communication equipment is a KP4 FEC chip, the value of k is 544 (that is, a FEC data frame includes 544 symbols), the value of w is 10 (that is, a symbol includes 10 bits), and the value range of n_th can be {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}. When the BER is fixed, the warning threshold distribution model is a function with n_th as the independent variable and pf as the dependent variable. Among them, the optical modules corresponding to the KP4FEC chip can include 50GE, 200GE, and 400GE optical modules.
[0067] The early warning device can substitute the target bit error rate obtained in S2011 into the early warning threshold distribution model, so that the early warning threshold distribution model becomes a function with n_th as the independent variable and pf as the dependent variable, and n_th has a fixed value range. The early warning device can traverse the n_th values in the value range of n_th, and for each n_th value in the value range of n_th, the early warning device substitutes the n_th value into the early warning threshold distribution model to calculate the corresponding pf value, and finally the early warning device determines the n_th value corresponding to the pf value closest to the target false alarm rate as the target early warning threshold value.
[0068] According to the Figure 3 It can be understood from the description of the illustrated embodiment that in the embodiment of the present application, the early warning device can periodically determine the target early warning threshold value corresponding to the optical fiber link, that is, the early warning device can periodically update the target early warning threshold value corresponding to the optical fiber link. In this way, the target early warning threshold value corresponding to the optical fiber link can be adapted to the performance and / or state changes of the optical fiber link, which helps to improve the accuracy of performing early warning operations on the optical fiber link.
[0069] The following is an introduction to the process of establishing the above-mentioned warning threshold distribution model.
[0070] When the MPI value of the optical fiber link is less than the preset MPI value (for example, the MPI value of the optical fiber link is equal to 0), in the data frame received by the optical communication device through the optical fiber link, the white noise on each symbol obeys independent and identical distribution. Assuming that the data frame includes k symbols and the probability of each symbol being wrong is q, the probability of n erroneous symbols appearing in the data frame is:
[0071]
[0072] Among them, x i =0 means that the symbol i is judged wrong, the value range of i is {0,1,2,...,n}, x j =0 indicates that the symbol j is judged correctly, and the value range of j is {n+1, n+2, ..., k}, and n specifically indicates the number of erroneous symbols appearing in the data frame when the data frame can be corrected by the error correction chip (that is, the number of erroneous symbols). For example, for the KP4 FEC chip, the value of n can be {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}.
[0073] In a white noise environment, the logarithm of the probability of n erroneous symbols appearing in the data frame is approximately linearly related to n. Therefore, the logarithm of both sides of the above formula (1) can be taken to obtain the following formula (2):
[0074]
[0075] In an ideal situation, the relationship between the probability q of each symbol error and the BER of the symbol is as shown in the following formula (3):
[0076] q=1-(1-BER) w Formula (3);
[0077] Wherein, w represents the number of bit codes of the symbol (that is, the number of bit codes contained in the symbol).
[0078] Assume that the statistical period is T, and the number of data frames received by the optical communication device through the optical fiber link per unit time is f T , then the number of data frames received by the optical communication device through the optical fiber link during the statistical period is T×f T , the number of frames with n erroneous symbols in the data frames received by the optical communication device through the optical fiber link during the statistical period is as shown in the following formula (4):
[0079]
[0080] Let (T×f T )×p k,n =m (that is, the number of frames with n erroneous symbols in the data frames received by the optical communication device through the optical fiber link during the statistical period is m), and the logarithm of both sides of formula (4) is obtained to obtain the following formula (5):
[0081]
[0082] Substituting formula (3) into formula (5) yields the following formula (6):
[0083]
[0084] In formula (6), k represents the number of symbols in a single data frame (that is, the number of symbols contained in a single data frame), n represents the number of error symbols in a single data frame (that is, the number of error symbols contained in a single data frame), w represents the number of bits in a single symbol, BER represents the bit error rate, T represents the statistical period, and f Trepresents the number of data frames received by the optical communication device through the optical fiber link in a unit time, and m represents the number of frames with n erroneous symbols in the data frames received by the optical communication device through the optical fiber link during the statistical period. Wherein, T is a known number. When the error correction chip in the optical communication device is fixed, k and w are known numbers, and n has a fixed value range. When the BER is fixed, the formula (6) is a function with n as the independent variable and m as the dependent variable, which is used to characterize the relationship between the number of data frames with erroneous symbols m received by the optical communication device through the optical fiber link during the statistical period and the erroneous symbol n in a single frame.
[0085] For example, please refer to Figure 4 , which shows a relationship diagram between the number m of data frames with erroneous symbols received by an optical communication device through an optical fiber link within a statistical period and the erroneous symbols n in a single frame provided by an embodiment of the present application. Figure 4 As shown, curve S11, curve S21, curve S31, curve S41 and curve S51 respectively represent that BER is equal to 10 -7 , 10 -6 , 10 -5 , 10 -4 , 2×10 -4 Simulation relationship diagram of the time frame number m and the error symbol n; curve S12, curve S22, curve S32, curve S42 and curve S52 respectively represent BER equal to 10 -7 , 10 -6 , 10 -5 , 10 -4 , 2×10 -4 The measured relationship between the number of time frames m and the number of error symbols n. -7 ), when m is greater than 0 and less than or equal to 1, for the same fixed n value, the m value corresponding to the simulation relationship curve is the false alarm rate corresponding to the n value, and the n value is the warning threshold value corresponding to the false alarm rate. Then, according to formula (6), the above warning threshold distribution model can be obtained. Figure 4 In the figure, the simulation relationship curve corresponding to m being greater than 0 and less than or equal to 1 is also the curve used to characterize the warning threshold distribution model.
[0086] The following describes the device embodiments of the present application, which can be used to execute the method of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0087] Please refer to Figure 5 , which shows a logical structure diagram of an early warning device 500 for an optical fiber link provided in an embodiment of the present application. The early warning device 500 can be used to execute the aforementioned early warning method. Figure 5 , the early warning device 500 comprises:
[0088] The acquisition module 510 is used to acquire the target warning threshold value corresponding to the optical fiber link, and the target warning threshold value is used to represent the maximum number of symbol errors of data frames received by the optical communication device connected to the optical fiber link through the optical fiber link within a statistical period when the MPI value of the optical fiber link is less than the preset MPI value. The functional implementation of the acquisition module 510 can refer to the relevant description of S201 above.
[0089] The warning module 520 is used to perform a warning operation on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target warning threshold value. The function of the warning module 520 can refer to the relevant description of S202 above.
[0090] Optionally, the acquisition module 510 is specifically used to: obtain a target bit error rate of the data frames received by the optical communication device through the optical fiber link during the statistical period; obtain a target false alarm rate, which is used to characterize the probability of a false alarm occurring when the MPI value of the optical fiber link is less than the preset MPI value; and obtain the target warning threshold value based on the target bit error rate and the target false alarm rate.
[0091] Optionally, according to the target bit error rate and the target false alarm rate, the target warning threshold value is obtained, including: obtaining a warning threshold distribution model corresponding to the target bit error rate, the warning threshold distribution model being used to characterize the correlation between the warning threshold value and the false alarm rate within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value; determining the target warning threshold value according to the warning threshold distribution model and the target false alarm rate.
[0092] Optionally, the warning threshold distribution model is:
[0093]
[0094] Where pf represents the false alarm rate, C represents the number of combinations, n_th represents the warning threshold, n_th is a positive integer, k represents the number of symbols in a single data frame, w represents the number of bits in a single symbol, BER represents the bit error rate, T represents the statistical period, and f T Indicates the number of data frames received by the optical communication device through the optical fiber link per unit time.
[0095] Optionally, obtaining a target bit error rate of data frames received by the optical communication device through the optical fiber link during a statistical period includes: obtaining the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period; and determining the target bit error rate based on the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link during the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link during the statistical period.
[0096] Optionally, the warning module 520 is used to perform a warning operation on the optical fiber link according to the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period and the target warning threshold value.
[0097] Optionally, the early warning module 520 is specifically used to: if the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the early warning period is greater than the target early warning threshold value, output abnormal early warning information, and the abnormal early warning information is used to indicate that the MPI of the optical fiber link is abnormal; if the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the early warning period is less than or equal to the target early warning threshold value, output normal early warning information, and the normal early warning information is used to indicate that the MPI of the optical fiber link is normal.
[0098] Optionally, the early warning device 500 is integrated in the optical communication device, or the early warning device 500 is located outside the optical communication device. Figure 6 and Figure 7 , which shows a schematic diagram of the structure of two optical communication devices provided in an embodiment of the present application, such as Figure 6 and Figure 7 As shown, the optical communication device includes an optical module and a processor. Figure 6 As shown, the early warning device 500 is integrated in the optical module 610 of the optical communication device 600, and the optical communication device 600 may also include a processor 620. Alternatively, as Figure 7 As shown, the warning device 500 is integrated in the processor 720 of the optical communication device 700, and the optical communication device 700 may further include an optical module 710. Optionally, if the warning device 500 is located outside the optical communication device, the warning device 500 may be located in an instrument of the optical communication device.
[0099] In summary, the technical solution provided by the embodiment of the present application is that the early warning device of the optical fiber link can obtain the target early warning threshold value corresponding to the optical fiber link, and perform early warning operations on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target early warning threshold value, so that the network operation and maintenance personnel can timely clean up, check and maintain the optical fiber link according to the early warning of the early warning device. Among them, the target early warning threshold value can be used to characterize the maximum number of symbol errors of the data frame received by the optical communication device through the optical fiber link within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value. Therefore, the early warning device performs an early warning operation on the optical fiber link according to the target early warning threshold value, which can be understood as the early warning device warning the optical fiber link according to the MPI value of the optical fiber link. In this way, after the network operation and maintenance personnel clean up, check and maintain the optical fiber link according to the early warning of the early warning device, the MPI value of the optical fiber link can meet the tolerance requirements of the optical module in the optical communication device, which is convenient for the optical module to process the optical signal.
[0100] It should be understood that the early warning device provided in the embodiment of the present application can also be implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), and the above-mentioned PLD can be a complex programmable logical device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The early warning method provided in the above-mentioned method embodiment can also be implemented by software. When the above-mentioned early warning method is implemented by software, each module in the early warning device can also be a software module.
[0101] Please refer to Figure 8 , which shows a hardware structure diagram of an early warning device 800 for an optical fiber link provided in an embodiment of the present application. The early warning device 800 may be an optical communication device. Figure 8 The early warning device 800 includes a processor 802, a memory 804, a communication interface 806, an optical module 808 and a bus 810. The processor 802, the memory 804, the communication interface 806 and the optical module 808 can be connected to each other through the bus 810. Figure 8The connection between the processor 802, the memory 804, the communication interface 806 and the optical module 808 shown is only exemplary. In the implementation process, the processor 802, the memory 804, the communication interface 806 and the optical module 808 can also be connected to each other in communication with each other using other connection methods other than the bus 810. Optionally, the early warning device 800 includes a single board, and the processor 802, the memory 804, the communication interface 806, the optical module 808 and the bus 810 are all located on the single board.
[0102] Among them, the memory 804 can be used to store a computer program 8042, which may include instructions and data. In the embodiment of the present application, the memory 804 may be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, optical storage and registers, etc. In addition, the memory 804 may include a hard disk and / or a memory.
[0103] Among them, the processor 802 can be a general-purpose processor, which can be a processor that performs specific steps and / or operations by reading and executing a computer program (e.g., computer program 8042) stored in a memory (e.g., memory 804), and the general-purpose processor may use data stored in the memory (e.g., memory 804) in the process of performing the above steps and / or operations. The stored computer program can be executed, for example, to implement the related functions of the aforementioned acquisition module 510 and the early warning module 520. The general-purpose processor can be, for example, but not limited to a CPU. In addition, the processor 802 can also be a dedicated processor, which can be a processor specially designed to perform specific steps and / or operations, and the dedicated processor can be, for example, but not limited to, a digital signal processor (digital signal processor, DSP), ASIC and FPGA, etc. In addition, the processor 802 can also be a combination of multiple processors, such as a multi-core processor. The processor 802 may include at least one circuit to perform all or part of the steps of the early warning method provided in the above embodiment.
[0104] The communication interface 806 may include an input / output (I / O) interface, a physical interface, and a logical interface, etc., which are used to interconnect the components inside the early warning device 800, and an interface used to interconnect the early warning device 800 with other devices (such as network devices or user devices). The physical interface may be a gigabit Ethernet interface (GE), which may be used to interconnect the early warning device 800 with other devices (such as network devices or user devices), and the logical interface is an interface inside the early warning device 800, which may be used to interconnect the components inside the early warning device 800. The communication interface 806 may be used for the early warning device 800 to communicate with other network devices and / or user devices, for example, the communication interface 806 is used to send and receive information between the early warning device 800 and other devices.
[0105] The optical module 808 may be, for example, a 50GE optical module, a 200GE optical module, a 400GE optical module, etc.
[0106] The bus 810 may be any type of communication bus for interconnecting the processor 802 , the memory 804 , and the communication interface 806 , such as a system bus.
[0107] The above devices may be arranged on independent chips, or at least partially or completely on the same chip. Whether to arrange each device independently on different chips or to integrate them on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the specific implementation form of the above devices.
[0108] Figure 8 The early warning device 800 shown is only exemplary. During implementation, the early warning device 800 may also include other components, which are not listed here. Figure 8 The warning device 800 shown can provide warning for a fiber optic link by executing all or part of the steps of the warning method provided in the above embodiment.
[0109] The embodiment of the present application provides an optical communication system, which includes optical communication devices connected by optical fiber links, at least one optical communication device in the optical communication system includes: Figure 5 The warning device 500 or Figure 8 The warning device 800 shown, the warning device 500 or the warning device 800 is used to perform a warning operation on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target warning threshold value corresponding to the optical fiber link.
[0110] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, all or part of the steps of the early warning method provided in the above method embodiment are implemented.
[0111] An embodiment of the present application provides a computer program product comprising instructions. When the computer program product is executed on a computer, the computer is caused to execute all or part of the steps of the early warning method provided in the above method embodiment.
[0112] An embodiment of the present application provides a chip, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement all or part of the steps of the early warning method provided in the above method embodiment.
[0113] In the above embodiments, it 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, and the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a computer network, or other programmable device. The computer instructions may 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 may 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) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium, or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0114] It should be understood that "at least one" in this article refers to one or more, and "plurality" refers to two or more. "At least two" refers to two or more. In this application, unless otherwise specified, " / " means or. For example, A / B can represent A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, for the convenience of clear description, in this application, the words "first", "second", "third" and so on are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second", "third" and so on do not limit the quantity and execution order.
[0115] The different types of embodiments such as the method embodiments and device embodiments provided in the embodiments of the present application can refer to each other, and the embodiments of the present application are not limited thereto. The sequence of operations of the method embodiments provided in the embodiments of the present application can be appropriately adjusted, and the operations can also be increased or decreased in response to the situation. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated.
[0116] In the corresponding embodiments provided in the present application, it should be understood that the disclosed devices and the like can be implemented by other configuration methods. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components described as units may or may not be physical units, and may be located in one place or distributed on multiple network devices (such as terminal devices). Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An early warning method for an optical fiber link, characterized in that: The method comprises: Obtaining a target bit error rate of data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period; Obtaining a target false alarm rate, where the target false alarm rate is used to characterize the probability of a false alarm occurring when the multipath interference MPI value of the optical fiber link is less than a preset MPI value; According to the target bit error rate and the target false alarm rate, a target early warning threshold value corresponding to the optical fiber link is obtained, wherein the target early warning threshold value is used to characterize the maximum number of symbol errors of data frames received by the optical communication device through the optical fiber link during the statistical period when the MPI value of the optical fiber link is less than the preset MPI value, and the target early warning threshold value is related to the performance and / or state change of the optical fiber link; According to the number of symbol errors of the data frames received by the optical communication device through the optical fiber link and the target warning threshold value, warning information is output to perform a warning operation on the optical fiber link, and the warning information is used to indicate whether the MPI of the optical fiber link is normal or abnormal.
2. The method according to claim 1, characterized in that The step of obtaining a target warning threshold value corresponding to the optical fiber link according to the target bit error rate and the target false alarm rate includes: Obtaining a warning threshold distribution model corresponding to the target bit error rate, wherein the warning threshold distribution model is used to characterize the correlation between the warning threshold value and the false alarm rate within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value; The target warning threshold value is determined according to the warning threshold distribution model and the target false alarm rate.
3. The method according to claim 2, characterized in that The warning threshold distribution model is: Where pf represents the false alarm rate, C represents the number of combinations, n_th represents the warning threshold, n_th is a positive integer, k represents the number of symbols in a single data frame, w represents the number of bits in a single symbol, BER represents the bit error rate, T represents the statistical period, and f T It represents the number of data frames received by the optical communication device through the optical fiber link per unit time.
4. The method according to any one of claims 1 to 3, characterized in that: The obtaining of a target bit error rate of data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period includes: Obtaining the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period; The target bit error rate is determined according to the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period.
5. The method according to any one of claims 1 to 3, characterized in that: The step of outputting warning information to perform a warning operation on the optical fiber link according to the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target warning threshold value comprises: According to the maximum number of symbol errors of data frames received by the optical communication device through the optical fiber link within a warning period and the target warning threshold value, warning information is output to perform a warning operation on the optical fiber link.
6. The method according to claim 5, characterized in that The step of outputting warning information to perform a warning operation on the optical fiber link according to the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period and the target warning threshold value comprises: If the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is greater than the target warning threshold value, output abnormal warning information, wherein the abnormal warning information is used to indicate that the MPI of the optical fiber link is abnormal; If the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is less than or equal to the target warning threshold, normal warning information is output, and the normal warning information is used to indicate that the MPI of the optical fiber link is normal.
7. An early warning device for an optical fiber link, characterized in that: The early warning device comprises: An acquisition module is used to: acquire a target bit error rate of data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period; acquire a target false alarm rate, wherein the target false alarm rate is used to characterize the probability of a false alarm occurring when the multipath interference MPI value of the optical fiber link is less than a preset MPI value; acquire a target early warning threshold value corresponding to the optical fiber link according to the target bit error rate and the target false alarm rate, wherein the target early warning threshold value is used to characterize the maximum number of erroneous symbols of data frames received by the optical communication device through the optical fiber link within a statistical period when the MPI value of the optical fiber link is less than the preset MPI value, and the target early warning threshold value is related to the performance and / or state change of the optical fiber link; An early warning module is used to output early warning information to perform an early warning operation on the optical fiber link based on the number of symbol errors of the data frame received by the optical communication device through the optical fiber link and the target early warning threshold value, wherein the early warning information is used to indicate whether the MPI of the optical fiber link is normal or abnormal.
8. The early warning device according to claim 7, characterized in that: The step of obtaining a target warning threshold value corresponding to the optical fiber link according to the target bit error rate and the target false alarm rate includes: Obtaining a warning threshold distribution model corresponding to the target bit error rate, wherein the warning threshold distribution model is used to characterize the correlation between the warning threshold value and the false alarm rate within the statistical period when the MPI value of the optical fiber link is less than the preset MPI value; The target warning threshold value is determined according to the warning threshold distribution model and the target false alarm rate.
9. The early warning device according to claim 8, characterized in that: The warning threshold distribution model is: Where pf represents the false alarm rate, C represents the number of combinations, n_th represents the warning threshold, n_th is a positive integer, k represents the number of symbols in a single data frame, w represents the number of bits in a single symbol, BER represents the bit error rate, T represents the statistical period, and f T It represents the number of data frames received by the optical communication device through the optical fiber link per unit time.
10. The early warning device according to any one of claims 7 to 9, characterized in that: The obtaining of a target bit error rate of data frames received by an optical communication device connected to the optical fiber link through the optical fiber link within a statistical period includes: Obtaining the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period, and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period; The target bit error rate is determined according to the sum of the number of bit errors of the data frames received by the optical communication device through the optical fiber link within the statistical period and the sum of the number of bit codes of the data frames received by the optical communication device through the optical fiber link within the statistical period.
11. The early warning device according to any one of claims 7 to 9, characterized in that: The warning module is used to output warning information to perform a warning operation on the optical fiber link according to the maximum number of symbol errors of the data frames received by the optical communication equipment through the optical fiber link within the warning period and the target warning threshold value.
12. The early warning device according to claim 11, characterized in that: The early warning module is specifically used for: If the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is greater than the target warning threshold value, output abnormal warning information, wherein the abnormal warning information is used to indicate that the MPI of the optical fiber link is abnormal; If the maximum number of symbol errors of the data frames received by the optical communication device through the optical fiber link within the warning period is less than or equal to the target warning threshold, normal warning information is output, and the normal warning information is used to indicate that the MPI of the optical fiber link is normal.
13. The early warning device according to any one of claims 7 to 9 and 12, characterized in that: The early warning device is integrated in the optical communication device, or the early warning device is located outside the optical communication device.
14. The early warning device according to claim 13, characterized in that: The optical communication equipment includes an optical module and a processor, and the early warning device is integrated in the optical module, or the early warning device is integrated in the processor.
15. An early warning device for an optical fiber link, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to perform the early warning method according to any one of claims 1 to 6.
16. An optical communication system, characterized in that: The optical communication system comprises optical communication devices connected via optical fiber links, and at least one of the optical communication devices comprises the early warning device according to any one of claims 7 to 15.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the early warning method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Signal error warning method
CN108964757A