Data processing methods, electronic devices, storage media and products for optical communication links

By collecting multi-dimensional status information of the optical modules at the transmitting and receiving ends in real time and dynamically adjusting the pre-emphasis parameters, the problem of communication quality degradation of optical modules is solved, and higher communication quality and stability are achieved.

CN123122677APending Publication Date: 2026-11-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611530672.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the pre-emphasis parameter configuration of optical modules lacks dynamic adjustment capability, which fails to reflect the dynamic quality degradation of optical modules during long-term operation, resulting in a decline in communication quality.

Method used

By collecting multi-dimensional operational status information of the optical modules at the transmitting and receiving ends in real time, the health score of the optical communication link is comprehensively determined, and the target pre-emphasis parameters of the optical modules at the transmitting end are dynamically determined based on the health score to realize optical communication transmission.

Benefits of technology

It improves the accuracy of pre-emphasis parameter configuration, reduces the risk of eye diagram closure, increased inter-symbol interference, and increased bit error rate due to parameter mismatch, and improves the communication quality of optical modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123122677A_ABST
    Figure CN123122677A_ABST
Patent Text Reader

Abstract

This application discloses a data processing method, electronic device, storage medium, and product for an optical communication link, relating to the field of communication technology. The method includes: acquiring status information of the optical communication link; wherein the optical communication link includes a transmitting optical module and a receiving optical module, and the status information includes first status information and second status information, the first status information being used to characterize the multi-dimensional operating state of the transmitting optical module, and the second status information being used to characterize the multi-dimensional operating state of the receiving optical module; determining a health score of the optical communication link based on the status information; determining a target pre-emphasis parameter of the transmitting optical module based on the health score; and controlling the transmitting optical module to achieve optical communication transmission based on the target pre-emphasis parameter. This improves the accuracy of the pre-emphasis parameter configuration, thereby improving the communication quality of the optical module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to data processing methods, electronic devices, storage media and products for optical communication links. Background Technology

[0002] The development of technologies such as cloud computing, artificial intelligence, and big data is driving the evolution of global data centers towards ultra-large scale, high density, and high computing power. Optical modules are the primary carriers of high-speed interconnects within data centers, and their transmission quality directly impacts the overall performance and computing power output efficiency of the data center network. During optical module communication, the rationality of pre-emphasis parameter settings directly affects the eye diagram quality at the receiving end, the bit error rate level, and the long-term operational stability of the link. In related technologies, pre-emphasis parameter configuration is mostly based on static attributes or single instantaneous indicators, achieving static, quasi-static, or single-end local configuration. This method results in poor accuracy in pre-emphasis parameter configuration, affecting the communication quality of optical modules. Therefore, how to accurately configure pre-emphasis parameters and improve the communication quality of optical modules is an urgent technical problem to be solved. Summary of the Invention

[0003] This application provides a data processing method, electronic device, storage medium, and product for optical communication links, in order to at least solve the problem of how to accurately implement pre-emphasis parameter configuration and improve the communication quality of optical modules in related technologies.

[0004] This application provides a data processing method for an optical communication link, including:

[0005] Acquire the status information of the optical communication link; wherein the optical communication link includes a transmitting optical module and a receiving optical module, and the status information includes first status information and second status information. The first status information is used to characterize the multi-dimensional operating status of the transmitting optical module, and the second status information is used to characterize the multi-dimensional operating status of the receiving optical module.

[0006] Based on the status information, determine the health score of the optical communication link;

[0007] Based on the health score, determine the target pre-emphasis parameters for the transmitting optical module;

[0008] Based on the target pre-emphasis parameters, the optical module at the transmitting end is controlled to achieve optical communication transmission.

[0009] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described optical communication link data processing methods.

[0010] This application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of any of the above-described optical communication link data processing methods.

[0011] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described optical communication link data processing methods.

[0012] This application provides an accurate method for configuring pre-emphasis parameters. During the signal transmission process of the optical module, multi-dimensional operational status information from both the transmitting and receiving optical modules is collected in real time. A comprehensive health score of the optical communication link is determined, and the target pre-emphasis parameters for the transmitting optical module are dynamically determined based on this health score, thereby controlling the transmitting optical module to achieve optical communication transmission. Unlike related technologies that rely on static attributes such as model and manufacturer or single instantaneous indicators such as bit error rate and eye diagram, this application uses the health score obtained by comprehensively quantifying the multi-dimensional operational status of the optical modules at both ends as the basis for pre-emphasis parameter decision-making. This accurately reflects the overall health status of the link and its dynamic changes. Therefore, the pre-emphasis parameters can be adaptively updated as the optical module ages and its performance degrades, effectively improving the accuracy of pre-emphasis parameter configuration, reducing the risk of eye diagram closure, increased inter-symbol interference, and increased bit error rate due to parameter mismatch, and improving the communication quality of the optical module. Attached Figure Description

[0013] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This application provides a schematic diagram illustrating the entire process of optical module docking signal transmission within a data center.

[0015] Figure 2 A schematic diagram of the structure of a data system for an optical communication link provided in this application embodiment. Figure 1 ;

[0016] Figure 3 A schematic diagram of the structure of a data system for an optical communication link provided in this application embodiment. Figure 2 ;

[0017] Figure 4 A flowchart illustrating the data processing method for an optical communication link provided in this application embodiment. Figure 1 ;

[0018] Figure 5This application provides a schematic diagram of a staged optical module preset parameter classification method.

[0019] Figure 6 This is a schematic diagram of a method for retraining optical module pre-emphasis parameters provided in an embodiment of this application;

[0020] Figure 7 This is a schematic diagram of the structure of the data processing device for the optical communication link provided in the embodiments of this application;

[0021] Figure 8 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the 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 protection scope of the embodiments of this application.

[0023] It should be noted that, in the description of the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in the embodiments of this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0024] The development of technologies such as cloud computing, artificial intelligence, and big data is driving the evolution of global data centers towards ultra-large scale, high density, and high computing power. Business scenarios such as large-scale model training and inference, distributed storage, and high-performance computing place high demands on the bandwidth, latency, and reliability of data center internal networks. Optical modules are the main carriers of high-speed interconnects within data centers, and their deployment scale continues to expand, with tens of thousands of optical modules deployed in a single data center, and some ultra-large data centers exceeding one hundred thousand. The transmission quality of optical modules directly affects the overall performance and computing power output efficiency of the data center network. Once performance degradation occurs, it will lead to decreased training efficiency and increased inference latency, thereby dragging down overall business performance. In high-speed data center networks, signal transmission between switches and optical modules, as well as between channels within optical modules, all rely on high-speed electrical signals. As single-channel speeds increase from 25 gigabits per second (Gbps) to 56 Gbps and 112 Gbps, the attenuation of high-frequency components is significantly greater than that of low-frequency components when the signal passes through printed circuit board (PCB) traces, connectors, and internal RF links of optical modules. This leads to eye diagram closure at the receiver, increased inter-symbol interference (ISI), and a higher bit error rate (BER). Pre-emphasis technology aims to enhance the high-frequency components of the signal at the transmitter to compensate for the attenuation of high-frequency signals in the transmission link. It is a key means to ensure the integrity of high-speed signals and the quality of link transmission. The rationality of the pre-emphasis parameter settings directly affects the quality of the receiver's eye diagram, the BER level, and the long-term operational stability of the link. In large-scale data center networks, accurate configuration and timely adjustment of pre-emphasis parameters are crucial for reliable network operation.

[0025] In current data center networks, the pre-emphasis parameters of optical modules are mostly configured using factory preset values ​​or one-time calibration values. In actual long-term operation, the adaptability of these parameters will continuously deteriorate over time. The main reasons for this problem are as follows: Factor 1: Long-term aging and performance degradation of internal components of the optical module. The typical operating cycle of a data center is 3 to 5 years, and some equipment operates for even longer. During this period, the vertical-cavity surface-emitting laser (VCSEL) inside the optical module experiences threshold current drift and a decrease in slope efficiency due to long-term high-power output; the output swing and bandwidth of the driver decay with device aging; the gain and noise performance of the trans-impedance amplifier (TIA) gradually deteriorate; and the responsivity of the photodiode (PD) also decreases year by year. This progressive aging of components causes a significant deviation in the actual frequency response characteristics of the optical module compared to its factory specifications. A discrepancy arises between the factory-preset pre-emphasis compensation curve and the actual attenuation characteristics of the current link, causing the originally well-matched pre-emphasis parameters to gradually become ineffective. Factor Two: The Correlation Effect of the Performance Status of the Remote Optical Module. In a data center network, a complete communication link consists of a pair of local optical modules (transmitter) and remote optical modules (receiver). The local pre-emphasis parameters act on the local transmitting link, but their compensation effect is ultimately reflected in the received signal quality of the remote optical module. If the PD responsivity of the remote optical module's receiving side decreases due to aging, or the TIA gain drifts, even if the local pre-emphasis parameters are well-matched with its own transmitting link, the signal received by the remote end may still experience decreased eye diagram quality and excessive bit error rate. Furthermore, the optical modules at both ends of the link may come from different manufacturers and batches, with varying runtimes, resulting in inconsistent performance degradation levels, further increasing the risk of pre-emphasis parameter mismatch. Factor Three: Individual Differences in Large-Scale Deployment Scenarios. The tens of thousands of optical modules deployed in a data center do not age uniformly. Different server racks have different heat dissipation conditions, different ports have different workload intensities, and different batches of optical modules have different factory quality control. These factors lead to varying degrees of performance degradation among different optical modules. Using a uniform static pre-weighting configuration cannot take into account the differences in the health status of individual optical modules under large-scale deployment.

[0026] In summary, in high-speed data center network scenarios, optical module pre-emphasis parameter configuration technologies generally suffer from the following shortcomings: based on static attributes or one-time calibration, they cannot reflect the dynamic quality degradation of optical modules during long-term operation; they lack the ability to comprehensively and quantitatively assess the overall health status of optical modules; they rely solely on a single instantaneous indicator as the basis for adjustment, lacking the ability to identify and differentiate the root causes of degradation; and they do not consider the impact of the performance status of the peer optical module on the adaptability of the local pre-emphasis parameters, lacking an end-to-end global optimization perspective.

[0027] Therefore, how to accurately configure pre-emphasis parameters and improve the communication quality of optical modules are technical problems that urgently need to be solved.

[0028] Optionally, based on the above analysis, an adaptive pre-emphasis parameter adjustment scheme based on comprehensive quality assessment of optical modules is needed: continuously track the changes in the health status of optical modules, comprehensively consider the quality status of optical modules at both the transmitting and receiving ends, and achieve accurate adaptive adjustment of pre-emphasis parameters.

[0029] To address the aforementioned technical issues, embodiments of this application provide a data processing method, electronic device, storage medium, and product for an optical communication link. During the signal transmission process of the optical module, multi-dimensional operational status information from both ends of the transmitting and receiving optical modules is collected in real time. The health score of the optical communication link is comprehensively determined, and the target pre-emphasis parameters of the transmitting optical module are dynamically determined based on the health score, thereby controlling the transmitting optical module to achieve optical communication transmission.

[0030] Optionally, Figure 1 This is a schematic diagram illustrating the entire process of optical module interfacing and signal transmission within a data center, provided as an embodiment of this application. Figure 1The diagram illustrates a one-to-one multimode optical module interconnection system for a high-speed data center network. Since optical modules in high-speed data centers are interconnected over short distances, multimode optical modules are commonly used. A 400 Gbps optical module includes four 100Gbps transmitter units, each containing four lasers and drivers. The signals are coupled via multimode fiber connectors and transmitted through multimode fiber. Upon reaching the peer optical module, the signal is detected by photodetector, amplified by a transimpedance amplifier, and finally analyzed by the peer module's signal analysis module. The pre-emphasis module is located after line coding and forward error correction (FEC) coding, and before driver amplification and laser modulation. The pre-emphasis parameters are essentially a set of tap coefficients (Tap) weights that directly determine the shape of the transmitter's eye diagram, including eye height, eye width, overshoot amplitude, and jitter characteristics. Without signal pre-emphasis, transmitting 20 binary digits results in 7 bits of error after transmission through the channel. After signal pre-emphasis, all transmitted bits were correct. Related optical module pre-emphasis parameter configuration technologies generally suffer from the following defects: based on static attributes or one-time calibration, they cannot reflect the dynamic quality degradation of the optical module during long-term operation; they lack the ability to comprehensively and quantitatively assess the overall health status of the optical module; they use only a single instantaneous indicator as the basis for adjustment, lacking the ability to identify and distinguish the root causes of degradation; and they do not consider the impact of the performance status of the peer optical module on the adaptability of the local pre-emphasis parameters, lacking an end-to-end global optimization perspective.

[0031] Optionally, Figure 2 A schematic diagram of the structure of a data system for an optical communication link provided in this application embodiment. Figure 1 .like Figure 2 As shown, both switching device A and switching device B are optical modules, one of which serves as the transmitting optical module and the other as the receiving optical module.

[0032] Optionally, the processing unit can connect to switching device A and switching device B respectively to collect status information and send target pre-emphasis parameters. For example, the processing unit can collect the first status information of the transmitting optical module and the second status information of the receiving optical module, determine the health score of the optical communication link based on the first and second status information, determine the target pre-emphasis parameters of the transmitting optical module based on the health score, and send the target pre-emphasis parameters to the corresponding switching device of the transmitting optical module, so that the switching device can write the target pre-emphasis parameters into the transmitting optical module.

[0033] Optionally, the processing unit here can be a management platform software-defined networking (SDN), or it can be a separately deployed network management device, controller, processor, server, or cloud management platform, etc. This application embodiment does not limit this.

[0034] Optionally, the processing unit can manage the transmitting and receiving optical modules using methods such as telemetry, Secure Shell (SSH), Application Programming Interface (API), and Simple Network Management Protocol (SNMP). The processing unit can collect status information of the transmitting and receiving optical modules through these methods and can also send target pre-emphasis parameters to switching device A and / or switching device B.

[0035] Optionally, the processing unit can continuously monitor the health score of the optical communication link. When the health score meets the update trigger condition, the processing unit determines the target pre-emphasis parameter of the transmitting optical module and writes the target pre-emphasis parameter into the corresponding optical module through switching device A and / or switching device B, thereby realizing the dynamic update of the pre-emphasis parameter as the health status of the optical communication link changes.

[0036] Optionally, Figure 3 A schematic diagram of the structure of a data system for an optical communication link provided in this application embodiment. Figure 2 .like Figure 3 The diagram illustrates the flexible optimization of optical module pre-emphasis parameters based on SDN.

[0037] Optical modules A and B form a connection. The optical link quality early warning unit detects quality degradation in optical module A and promptly notifies the corresponding devices, including switches and servers. The switches and network interface cards (NICs) then re-issue the optimal pre-emphasis configuration parameters via software. Similarly, optical modules C and D form a connection. The optical link quality early warning unit detects contamination or damage to the connected optical fiber, causing changes in the fiber's channel response. It then notifies the devices at both ends of the connection—those corresponding to optical modules C and D—to re-issue the optimal pre-emphasis configuration parameters.

[0038] Optionally, devices A, C, and D can be at least one of the following devices: switches, network interface cards (NICs), servers, etc., capable of carrying optical modules and supporting software-based pre-emphasis parameters. For example, devices A, C, and D can be switches, NICs, or servers, respectively; optical modules A, C, and D are respectively configured on or connected to devices A, C, and D. Devices A, C, and D can support receiving target pre-emphasis parameters via software and writing the target pre-emphasis parameters into the corresponding optical modules. Optionally, at least one of devices A, C, and D can include at least one of switches, NICs, and servers.

[0039] Optionally, the optical link quality early warning unit here can be the aforementioned Figure 2 The processing unit in the embodiment can also be a functional module within the aforementioned processing unit. Optionally, the notification method of the optical link quality early warning unit for devices A, C, and D can be based on SDN. For example, the optical link quality early warning unit can send notifications to devices A, C, and D through the SDN control plane using at least one of the following methods: Telemetry, Secure Shell (SSH), Application Programming Interface (API), and Simple Network Management Protocol (SNMP). After receiving the notification, devices A, C, and D reissue the target pre-emphasis parameters to the corresponding optical modules A, C, and D via software to achieve dynamic updates of the pre-emphasis parameters.

[0040] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the data processing system architecture of an optical communication link. In other feasible implementations of the embodiments of this application, the above architecture may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figures 1 to 3 The components shown can be implemented in hardware, software, or a combination of both.

[0041] It should be understood that the above processing unit can be implemented by a processor reading instructions from memory and executing those instructions, or it can be implemented by a chip circuit.

[0042] Furthermore, the network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0043] Figure 4 A flowchart illustrating the data processing method for an optical communication link provided in this application embodiment. Figure 1 ,like Figure 4 As shown, this application provides a data processing method for an optical communication link. The executing entity can be the aforementioned data processing system or processing unit of the optical communication link. The method is described in detail below:

[0044] S401: Obtain the status information of the optical communication link.

[0045] The optical communication link includes a transmitting optical module and a receiving optical module. The status information includes first status information and second status information. The first status information is used to characterize the multi-dimensional operating status of the transmitting optical module, and the second status information is used to characterize the multi-dimensional operating status of the receiving optical module.

[0046] Here, the optical communication link is used to carry the transmission of optical signals between the transmitting optical module and the receiving optical module. It is the object for subsequent acquisition of operating data, calculation of health scores and adjustment of pre-emphasis parameters. The transmitting optical module is used to convert the electrical signal to be transmitted into an optical signal and transmit it through the link. The receiving optical module is used to receive the optical signal and restore it to an electrical signal.

[0047] Among them, the status information is the input information that characterizes the overall operating status of the link. The first status information and the second status information correspond to the multi-dimensional operating status at both ends of the link, respectively. They are usually obtained by collecting register data, telemetry data or monitoring interface data of the transmitting optical module and the receiving optical module.

[0048] The aforementioned status information can be directly read from the local registers of the transmitting and receiving optical modules by the local acquisition unit, thereby achieving synchronous acquisition of the multi-dimensional operating status of both ends. By incorporating the operating data from both ends of the link into the status information, subsequent deviations caused by judging the link status based on only one side or a single indicator can be avoided, enabling health assessments to cover changes caused by device aging, channel attenuation, and environmental disturbances during long-term link operation.

[0049] In one possible implementation, obtaining the status information of the optical communication link includes: performing a first acquisition process on the transmitting optical module to obtain first status information; and performing a second acquisition process on the receiving optical module to obtain second status information.

[0050] The transmitting optical module is used to convert electrical signals into optical signals and output the signal to be transmitted. Its first acquisition process collects at least one of the following: operating voltage, operating current, transmitted optical power, temperature, bias current, and alarm flags, to form first state information that can characterize the multi-dimensional operating status of the transmitting optical module. The receiving optical module is used to convert optical signals into electrical signals and output the received signal. Its second acquisition process collects at least one of the following: received optical power, bit error rate related indicators, analog front-end operating status, temperature, power supply status, and alarm flags, to form second state information that can characterize the multi-dimensional operating status of the receiving optical module. Both the first and second state information can be read by the control plane through the management interface, or they can be sampled and uploaded in real time by the local monitoring circuit.

[0051] Specifically, the first and second acquisition processes can be executed independently at different acquisition times, or they can be triggered synchronously by the same monitoring clock to ensure that the status information at both ends has a consistent time reference within the same link operation window. The first status information output by the first acquisition process and the second status information output by the second acquisition process are used as inputs for subsequent link health score calculations, thereby reflecting the dynamic changes at both the transmitting and receiving ends simultaneously. By acquiring the status at both ends of the link separately, state drift caused by device aging, channel attenuation, and temperature disturbances can be included in the status information set, thus providing complete input for subsequent parameter updates.

[0052] In this embodiment, the status information of the optical modules at both the transmitting and receiving ends is collected independently, ensuring a clear data source and avoiding the bias caused by single-end collection. This provides a comprehensive and accurate data foundation for the subsequent determination of the link health score.

[0053] Based on the aforementioned embodiments, further, obtaining the status information of the optical communication link also includes: obtaining third status information.

[0054] The third state information is used to characterize the state of the optical fiber channel in the optical communication link. The third state information includes at least one of the following: optical fiber contamination state, optical fiber damage state, optical fiber connector state, and optical fiber channel response.

[0055] In this embodiment, the third state information is a supplementary input to the link state information. Together with the first state information of the transmitting optical module and the second state information of the receiving optical module, it constitutes a multi-dimensional characterization of the link health status.

[0056] The third state information can be obtained from contamination detection units, bending detection units, connector insertion / removal monitoring units deployed on the fiber endface, or response acquisition units based on link echo and attenuation characteristics. Fiber contamination status reflects changes in transmission loss caused by endface contamination; fiber damage status reflects the impact of fiber bending, compression, or localized damage on the transmission path; fiber connector status reflects coupling anomalies caused by loose connections, contamination, or poor contact; and fiber channel response characterizes the attenuation, distortion, and frequency response changes of the link to test or service signals. The acquired information can be used for threshold discrimination, feature extraction, or comparison with historical baselines to form the third state information, which is then output as state parameters that can participate in health score calculations.

[0057] Optionally, the fiber optic contamination status can be acquired by the end-face imaging module, and the imaging results, after image processing, yield contamination area, contamination level, or transmittance indicators; the fiber optic breakage status can be determined by a bending radius sensor, optical power fluctuation detection results, or standing wave anomaly characteristics; the fiber optic connector status can be determined by insertion loss test results, return loss test results, or mechanical locking status; and the fiber optic channel response can be obtained by frequency domain analysis of the received response to a predetermined detection sequence. The aforementioned acquisition units can be integrated into a processing unit or a standalone monitoring device. The detection results, after standardized processing, form a unified format of third-state information, which, along with other state information, is input into subsequent health assessments or parameter configuration processes.

[0058] This application incorporates the optical fiber channel status into the health assessment system, so that the health score not only reflects the status of the optical modules at both ends of the transmission and reception, but also covers the degradation factors on the optical fiber channel side, realizing end-to-end full-link health monitoring and avoiding mismatch of pre-emphasis parameters due to channel problems such as optical fiber contamination and damage.

[0059] In one possible implementation, a first acquisition process is performed on the transmitting optical module to obtain first state information, including: acquiring the first state information of the transmitting optical module; wherein the first state information includes at least two of the following: laser parameters, driver parameters, transmitted optical parameters, first environmental parameters, and current pre-emphasis configuration parameters.

[0060] The transmitting optical module is used to carry out electro-optical conversion and pre-emphasis transmission functions. Its first state information is used to characterize the multi-dimensional operating state of the module at the time of acquisition. Laser parameters are used to characterize the working condition of the laser, and may include information such as bias current, threshold current, output optical power or emission wavelength; driver parameters are used to characterize the electrical characteristics of the driving circuit, and may include output swing, driving current, rise edge characteristics or distortion-related parameters; transmitted optical parameters are used to characterize the characteristics of the transmitted optical signal, and may include average optical power, extinction ratio or emission eye diagram-related parameters; the first environmental parameters are used to characterize the environmental state of the transmitting optical module, and may include housing temperature, chip temperature or ambient temperature; the current pre-emphasis configuration parameters are used to characterize the pre-emphasis settings currently written to the transmitting optical module, and may include tap coefficient, pre-emphasis amplitude or timing compensation configuration.

[0061] In some cases, the initial data acquisition process can be completed jointly by the monitoring interface inside the transmitting optical module, the on-chip diagnostic circuit, or acquisition commands issued by the control plane. When acquiring the first state information of the transmitting optical module, laser parameters can be read from the laser monitoring unit, driver parameters from the driver register or current detection unit, transmitted optical parameters from the optical power monitoring unit, first environmental parameters from the temperature sensor, and the current pre-emphasis configuration parameters from the configuration register. After these parameters are acquired, a first state information set can be formed and output to the subsequent state evaluation or pre-emphasis update module.

[0062] During operation, multi-dimensional parameter acquisition of the transmitting optical module ensures that the first state information simultaneously covers four dimensions: device operation, optical emission, environmental disturbances, and existing configuration. This allows subsequent processing to make judgments based on a more complete state representation. Since the current pre-emphasis configuration parameters are included in the first state information, they can be directly correlated with the current configuration and device operating status, providing a reference benchmark for subsequent parameter correction.

[0063] With this approach, the first state information is no longer limited to a single monitoring quantity, but is composed of multiple related parameters, which can more completely reflect the real-time state of the transmitting optical module and provide a consistent data basis for link health assessment and pre-emphasis parameter updates, making the correspondence between the state acquisition results and the actual transmission performance clearer.

[0064] In one possible implementation, a second acquisition process is performed on the receiving optical module to obtain second state information, including: acquiring the second state information of the receiving optical module; wherein the second state information includes at least two of the following: photodetector parameters, transimpedance amplifier parameters, received optical parameters, signal quality parameters, and second environmental parameters.

[0065] In this scheme, the receiving optical module carries the object of the second acquisition and processing, and the second state information is a comprehensive characterization of its operating state. Photodetector parameters can be obtained by the photodetector acquisition circuit within the receiving optical module, reflecting the detector's response efficiency, bias operating point, or dark current changes; transimpedance amplifier parameters can be obtained by the transimpedance amplifier monitoring unit, reflecting gain, bandwidth, output swing, or input-output linearity characteristics; received optical parameters can be acquired by the optical power detection circuit, characterizing received optical power, incident light intensity, or related optical states; signal quality parameters can be obtained by the bit error rate statistics unit, jitter detection unit, or eye diagram evaluation unit, characterizing the bit error rate, jitter amplitude, or eye diagram opening; second environmental parameters can be obtained by temperature sensors, humidity sensors, or other environmental monitoring devices, characterizing the impact of the environment on the receiving optical module's state. At least two of the above parameters can be combined to form the second state information. During acquisition, data can be read from the internal monitoring interface, management bus, or external acquisition circuit of the receiving optical module and output to the link state management module for subsequent correlation analysis.

[0066] Optionally, the receiver optical module can be integrated into a pluggable optical module package. Photodetector parameters and transimpedance amplifier parameters can be directly output through on-chip monitoring registers. Received optical parameters and signal quality parameters can be obtained through a combination of analog sampling and digital statistics. Secondary environmental parameters can be acquired through a temperature sensing device within the package. Different parameters can be acquired using synchronous sampling or polling at a preset period to ensure that the secondary state information matches the current operating state of the link.

[0067] This second acquisition process incorporates the status of the receiver's optical module across dimensions such as photoelectric conversion, signal amplification, optical input, and environmental disturbances into the acquisition scope. This allows the second status information to more comprehensively reflect operational changes at the receiver and provides an input basis for subsequent health score assessment. Since the second status information contains parameters across at least two dimensions, it enhances the ability to detect receiver degradation, channel attenuation, and environmental changes.

[0068] By adopting this method, the multidimensional state of the receiver optical module can be stably acquired and formed into a structured information set, thereby improving the completeness of the link state representation and enhancing the correlation between subsequent health assessment and pre-emphasis parameter configuration, making the link control closer to the actual operating state.

[0069] In one possible implementation, acquiring the status information of the optical communication link includes: periodically collecting first and second status information according to a preset period; or triggering collection upon receiving a status collection command; or triggering collection when the optical link quality early warning unit outputs an early warning. This combination of periodic collection and event-triggered collection balances the real-time nature of status monitoring with resource overhead.

[0070] In one possible implementation, the first and second data acquisition processes are triggered synchronously by the same monitoring clock, ensuring that the first and second state information have a consistent time reference. Synchronous acquisition avoids deviations in health score calculations caused by asynchronous acquisition times at both ends.

[0071] In one possible implementation, the collected first and second state information are preprocessed. This preprocessing includes at least one of outlier removal, missing value imputation, moving average filtering, or dimensional normalization. Preprocessing improves the quality of the state information and reduces the impact of noise and outlier data on the calculation of the health score.

[0072] In one possible implementation, the status information also includes alarm flags, which include at least one of the following: temperature alarm, optical power alarm, bias current alarm, and bit error rate alarm for the transmitting and / or receiving optical modules. Incorporating alarm flags into the status information allows for rapid reflection of sudden anomalies in health score calculations.

[0073] S402: Determine the health score of the optical communication link based on the status information.

[0074] Among them, the health score is used to quantify the health status of the optical communication link and is the basis for subsequently determining the target pre-emphasis parameters. It is usually a continuous quantization value, and the higher the health score, the better the link health status, and the lower the health score, the higher the degree of link degradation.

[0075] In one possible implementation, determining the health score based on status information includes: normalizing each parameter in the first and second status information respectively; and weighting and summing the normalized parameters according to preset weights to obtain the health score. The preset weights are set based on the optical module model, historical health data, or expert experience.

[0076] In one possible implementation, the health score is determined by a health quality assessment model, which can be a pre-defined rule model, a statistical model, or a trained scoring model. The model input consists of feature values ​​extracted from the first state information and the second state information, and the output is a single-value score or a segmented score.

[0077] In one possible implementation, after determining the health score, the process includes: determining the trend of health score changes based on historical health scores; and predicting the future health score based on the trend. Through trend prediction, pre-emphasis parameter updates can be triggered in advance, before the health score falls below a threshold, thus achieving preventative adjustments.

[0078] In one possible implementation, the health score calculation also incorporates third-state information of the fiber optic channel, including at least one of fiber contamination status, fiber damage status, fiber connector status, and fiber optic channel response. By including the fiber optic channel in the health assessment, end-to-end full-link health monitoring is achieved.

[0079] In one possible implementation, the health score uses a dynamic threshold determination mechanism to determine the health status of the optical module. The dynamic threshold is determined based on the optical module's historical health score and environmental parameters. This dynamic threshold adapts to individual differences among different optical modules and environmental changes.

[0080] In some scenarios, the first and second state information can be input into a full-dimensional optical link health quality assessment model. This model performs normalization and weighted fusion calculations on the multi-dimensional operational states to obtain a health score characterizing the link's current overall health level. Normalization eliminates scale differences between indicators of different dimensions, while weighted fusion reflects the different contributions of the transmitter and receiver states to the link health assessment. In one possible embodiment, this health quality assessment model can be implemented using a pre-defined rule model, a statistical model, or a trained scoring model. The model inputs are the feature values ​​extracted from the first and second state information, and the output is a single-value score or a segmented score. Alternatively, the first and second state information can be segmented separately, and then fused based on the corresponding segment results to obtain a health score. State segmentation maps one or more state indicators to a pre-defined health level, using the level as an intermediate variable in the fusion calculation, thereby improving the ability to characterize the multi-dimensional operational states of the transmitter and receiver. In this application, the calculated health score directly reflects the overall health level of the link. When the electrical performance of the transmitting end deviates, the transmitted optical power decreases, the noise at the receiving end increases, or the temperature fluctuation increases, the health score will decrease accordingly and can be used as the basis for determining subsequent parameters. Based on the above processing, the link status no longer relies on single-point threshold judgment, but forms a unified quantitative result through joint evaluation of multi-dimensional information, thereby enabling subsequent parameter configuration to be consistent with the actual link degradation process.

[0081] Optionally, the health score can be obtained by normalizing the parameters in the first and second state information and then summing them according to preset weights. The preset weights can be set based on the optical module model, historical health data, or expert experience. For example, parameters such as the transmitter laser threshold current, transmitted optical power, receiver bit error rate, and received optical power can be normalized to the [0, 1] interval, and then summed according to weights to obtain a health score between 0 and 1. A higher health score indicates a healthier link, while a lower score indicates more severe degradation.

[0082] S403: Determine the target pre-emphasis parameters for the transmitting optical module based on the health score.

[0083] Here, the target pre-emphasis parameter is used to control the transmitting optical module to achieve optical communication transmission. It is the final parameter determined and issued for execution based on the health score. In some cases, the health status of the transmitting optical module can be determined based on the health score, and the target pre-emphasis parameter can be determined based on this health status; whereby a mapping relationship between the health status and the pre-emphasis parameter can be established in advance. By mapping the health score to the pre-emphasis parameter, the target parameter can be matched with the current degree of link degradation, thereby providing the transmitting end with targeted signal shaping configuration.

[0084] Optionally, multiple health stages can be divided sequentially according to health scores from high to low. For example, stages can be divided into stages 1 to N (where N is any positive integer) with intervals of 0.1. Stage 1 corresponds to a health score range of [0.9, 1.0], stage 2 corresponds to [0.8, 0.9], and so on. Each health stage corresponds to a set of pre-emphasis parameters, which includes at least one of the pre-index tap coefficient, main tap coefficient, and post-index tap coefficient. When a health score falls into a certain health stage, the pre-emphasis parameter set corresponding to that stage is directly selected from the table as the target pre-emphasis parameter.

[0085] In one possible implementation, the update trigger condition includes the health score change rate exceeding a preset change rate threshold. When the health score drops too rapidly, the pre-emphasis parameter update is triggered even if it has not yet fallen below the absolute threshold. This change rate trigger allows for rapid response to sudden degradation.

[0086] In one possible implementation, the update triggering condition includes a combination of multiple conditions, including at least two of the following: a health score range, a health score threshold, a health score change rate, a change in the status of the peer optical module, and a change in the fiber optic channel response. By combining multiple conditions, the accuracy of trigger judgment is improved, and false triggers are reduced.

[0087] In one possible implementation, when multiple optical communication links simultaneously meet the update triggering conditions, the priority order for updating the pre-emphasis parameters is determined according to the rate of decline in health score, the priority of the services carried by the link, or the importance of the link. By prioritizing these links, those with the greatest impact are processed first.

[0088] In one possible implementation, a hysteresis interval is set when the health score is near the boundary of the health stage; the pre-emphasis parameter update is triggered only when the health score crosses the hysteresis interval. The hysteresis interval prevents the health score from fluctuating near the boundary, thus avoiding frequent parameter switching.

[0089] In one possible implementation, a hybrid approach combining table lookup and retraining is used when determining the target pre-emphasis parameters: table lookup is used when the health score is at the first health level; retraining is used when the health score is at the second health level; the health level of the first health level is higher than that of the second health level.

[0090] In one possible implementation, the target pre-emphasis parameters are determined and distributed separately for each of the multiple channels within the transmitting optical module, with each channel corresponding to its own pre-emphasis configuration register. This independent compensation for each channel adapts to device and link differences between the channels of the multi-channel optical module.

[0091] In one possible implementation, when determining the target pre-emphasis parameters of the transmitting optical module, the transmitting pre-emphasis parameters are also adjusted based on the health score of the receiving optical module to compensate for the degradation in the receiving performance at the other end. Through bidirectional collaboration, end-to-end global optimization is achieved.

[0092] Based on the aforementioned embodiments, the method can further obtain the update triggering conditions of the optical communication link; and determine the target pre-emphasis parameters of the transmitting optical module based on the update triggering conditions and the health score.

[0093] The update trigger condition is used to determine whether the pre-emphasis parameters need to be updated, and serves as the triggering basis between the health score and parameter updates. In this embodiment, the health score represents the current overall operational health level of the optical communication link. The update trigger condition can consist of a health score range, a health score threshold, or a combination of both, so that parameter adjustments are triggered when the link health status changes and reaches a preset update boundary.

[0094] In practical implementation, the health score of the optical communication link can be divided into multiple health stages, and corresponding update trigger conditions are configured for each health stage. After obtaining the health score, the health score is compared with the update trigger conditions. When the health score falls within the corresponding health score range, or meets the update conditions indicated by the health score threshold, it is determined that the pre-emphasis parameter update is triggered, and the target pre-emphasis parameter of the transmitting optical module is further determined based on the health stage to which the health score belongs.

[0095] Optionally, the target pre-emphasis parameters can be obtained through a preset parameter table, parameter group, or a mapping relationship between the pre-emphasis parameter group and the health stage. The parameter values ​​recorded in the parameter table can correspond to the transmitter compensation amount under different link losses, bit error rate changes, and device aging degrees. After outputting the target pre-emphasis parameters, they are sent to the transmitter optical module to update its electrical signal driving characteristics.

[0096] In one implementation, the update trigger conditions are pre-written into a storage unit by the control plane. This storage unit can be a non-volatile memory or a register array to maintain trigger rules under different link scenarios. The health score can be periodically calculated by the link monitoring module and matched numerically with the trigger conditions. This setup allows parameter updates to be determined based on the current link health status and directly linked to the determination of the target pre-emphasis parameters after triggering, facilitating synchronization configuration by the transmitting optical module.

[0097] By adopting the above method, the update of the pre-emphasis parameter can maintain a correspondence with the link status changes reflected by the health score, and the determination of the target pre-emphasis parameter has a clear triggering basis and mapping basis, so that the transmitting optical module can obtain matching compensation parameters when the link status changes, and maintain the consistency between the transmission configuration and the actual operating status.

[0098] In one possible implementation, the update triggering conditions include a range of health scores and / or health score thresholds corresponding to multiple health stages; based on the update triggering conditions and health scores, the target pre-emphasis parameters of the transmitting optical module are determined, including: determining whether to trigger a pre-emphasis parameter update based on the update triggering conditions and health scores; if it is determined that a pre-emphasis parameter update should be triggered, then the target pre-emphasis parameters of the transmitting optical module are determined.

[0099] The health score range is used to divide multiple health stages, with different stages corresponding to different pre-emphasis configuration intervals. The health score threshold is used to indicate whether the health status has fallen to the threshold requiring reconfiguration of pre-emphasis parameters. The target pre-emphasis parameter of the transmitting optical module refers to the pre-emphasis configuration value actually sent to the transmitting optical module after the update is triggered, which is used to complete transmission compensation in conjunction with the current link health status.

[0100] In the specific implementation, after obtaining the update trigger condition, the current health score is compared with the health score range and / or health score threshold corresponding to multiple health stages. When the health score falls within the score range corresponding to a certain health stage, or is lower than a preset threshold, the trigger condition is determined to be met, and the pre-emphasis parameter update is triggered. When the health score does not fall within the trigger range and does not reach the threshold, the current pre-emphasis parameter remains unchanged. Further, after determining that the pre-emphasis parameter update is triggered, a target pre-emphasis parameter is selected according to the pre-emphasis parameter group corresponding to the current health stage, and the target pre-emphasis parameter is sent to the transmitting optical module for configuration. This pre-emphasis parameter group can be pre-established as a correspondence between health stages and pre-emphasis coefficients, pre-emphasis levels, or related combined parameters. In practical applications, this parameter group can also adopt other mapping forms, which are not limited in this application.

[0101] This update trigger condition divides the health score into multiple health stages and uses ranges or thresholds to determine whether to update. Based on this, a decision on whether to update is made first, and then the target pre-emphasis parameters are determined when an update is needed, thus ensuring that parameter updates are consistent with changes in link health status. This allows the transmitting optical module to adjust its pre-emphasis configuration promptly when the link status changes across stages, and maintain the existing configuration when the health status is stable, thereby achieving adaptive parameter management for long-running links.

[0102] S404: Control the transmitting optical module to achieve optical communication transmission based on the target pre-emphasis parameters.

[0103] In some cases, target pre-emphasis parameters can be sent to the local storage area or register of the transmitting optical module. This allows the transmitting optical module to pre-emphasize the signal to be transmitted according to the target pre-emphasis parameters before completing the optical communication transmission. This sending process can be completed by the control plane or the local configuration unit. After the target pre-emphasis parameters are written, the transmitting optical module compensates for the high-frequency components of the electrical signal based on these parameters when transmitting the data stream, ensuring that the transmitted optical signal is adapted to the current link state. Through the above control method, the pre-emphasis configuration on the transmitting side can be adjusted synchronously with changes in the link state, maintaining usable transmission quality under long-term operating conditions.

[0104] The processing unit can write the target pre-emphasis parameters into the pre-emphasis configuration register of the transmitting optical module through a management channel. The management channel is implemented based on at least one of Telemetry, SSH, API, or SNMP. When transmitting data subsequently, the transmitting optical module reads the target pre-emphasis parameters from the pre-emphasis configuration register, performs pre-emphasis processing on the electrical signal, and converts it into an optical signal for transmission.

[0105] In one possible implementation, after the target pre-emphasis parameters are sent to the transmitting optical module, an observation period is set. During the observation period, the health score is continuously monitored. If the updated health score does not achieve the expected improvement or deteriorates, a rollback mechanism is triggered to restore the pre-emphasis parameters before the update. The observation period and rollback improve the security of parameter updates.

[0106] In one possible implementation, the target pre-emphasis parameter carries a version number or timestamp; the transmitting optical module determines whether to perform the write operation based on the version number or timestamp to avoid the old parameter overwriting the new parameter.

[0107] In one possible implementation, the target pre-emphasis parameters are written online to the transmitting optical module without service interruption, and take effect during the transmission of the next data frame or within an idle window. This achieves uninterrupted online updates, ensuring service continuity.

[0108] In one possible implementation, only the pre-emphasis parameter index number is sent to the transmitting optical module; the transmitting optical module reads the corresponding pre-emphasis parameter group from its local pre-emphasis parameter table based on the index number and writes it to the configuration register. This reduces the amount of data sent and improves the update speed.

[0109] In one possible implementation, after writing the target pre-emphasis parameters into the transmitting optical module, the actual written value is read back from the pre-emphasis configuration register and compared with the target pre-emphasis parameters; if they do not match, a retry or an alarm is output. Successful writing is ensured through readback verification.

[0110] In one possible implementation, pre-emphasis parameters are simultaneously sent to both the transmitting and receiving optical modules to achieve end-to-end collaborative optimization of the bidirectional link.

[0111] In this application embodiment, during the signal transmission process of the optical module, multi-dimensional operational status information from both the transmitting and receiving optical modules is collected in real time. A comprehensive health score of the optical communication link is determined, and based on this health score, the target pre-emphasis parameters of the transmitting optical module are dynamically determined, thereby controlling the transmitting optical module to achieve optical communication transmission. Unlike related technologies that rely on static attributes such as model and manufacturer or single instantaneous indicators such as bit error rate and eye diagram, this application uses the health score obtained by comprehensively quantifying the multi-dimensional operational status of the optical modules at both ends as the basis for pre-emphasis parameter decision-making. This can truly reflect the overall health status of the link and its dynamic changes. Therefore, the pre-emphasis parameters can be adaptively updated as the optical module ages and its performance degrades, effectively improving the accuracy of pre-emphasis parameter configuration, reducing the risk of eye diagram closure, increased inter-symbol interference, and increased bit error rate due to parameter mismatch, and improving the communication quality of the optical module.

[0112] The above step S403 will be explained in detail below with reference to specific embodiments:

[0113] In one possible implementation, embodiments of this application use a health score range to determine whether to perform an update of the pre-emphasis parameters.

[0114] Based on the aforementioned embodiments, the update triggering condition further includes a health score range; determining whether to trigger the pre-emphasis parameter update based on the update triggering condition and the health score includes: determining whether the optical communication link has experienced a change in health status based on the health score and the health score range corresponding to multiple health stages; if it is determined that a change in health status has occurred, then determining to trigger the pre-emphasis parameter update.

[0115] The health status change is used to characterize whether the current health score has crossed the boundary of a preset health stage. When the health score moves from the range corresponding to one health stage to the range corresponding to another health stage, the link health status is considered to have changed. The pre-emphasis parameter update is used to recalculate or switch the pre-emphasis parameters of the transmitting optical module after a health status change, so that the parameters match the current link status.

[0116] Optionally, multiple health score ranges corresponding to different health stages can be pre-stored. After obtaining the current health score, the health score is compared with each of these health score ranges. If the current health score falls into a new health score range, or if it changes from the range of the previous health score, a change in the health status of the optical communication link is determined, and a trigger flag is generated accordingly. This trigger flag is used to enter the pre-emphasis parameter update logic of the transmitting optical module, whereby the target pre-emphasis parameters can be redefined and sent to the transmitting optical module for execution.

[0117] When the update trigger condition includes a health score range, the system determines whether the optical communication link has experienced a change in health status based on the health score and the health score ranges corresponding to multiple health stages. If such a change occurs, an update is triggered. By mapping health scores to different health stages, changes in health stages can be used as the trigger for updating pre-emphasis parameters, enabling timely responses to optical module performance degradation or link status changes, and preventing delays in adjusting pre-emphasis parameters due to a continuous and slow decline in health scores.

[0118] In one possible implementation, obtaining the update triggering condition of the optical communication link includes: obtaining attribute information of the transmitting optical module and / or the receiving optical module; wherein the attribute information includes at least one of model, manufacturer, batch, runtime, and operating temperature; and determining the health score range corresponding to multiple health stages based on the attribute information.

[0119] The transmitting optical module is used to transmit optical communication signals, and its attribute information is used to characterize the module's static configuration and operational aging status. The receiving optical module is used to receive optical communication signals, and its attribute information is used to characterize the operating status and environmental adaptability of the receiving device. The model number in the attribute information identifies the device specifications, the manufacturer identifies the production source, the batch number identifies manufacturing differences within the same batch, the runtime characterizes the cumulative working time, and the operating temperature characterizes the current thermal environment. A correspondence between health score ranges and health stages can be established based on one or more of these attribute information.

[0120] In this embodiment, the link management unit can read the model, manufacturer, batch, runtime, and operating temperature from the optical module's management interface and input the results into a preset health segmentation model. This model can be formed by statistical analysis of historical link samples. Different models, manufacturers, or batches correspond to different health score distribution characteristics. The longer the runtime or the higher the operating temperature, the lower the corresponding health score range will be. Based on this, the health status is divided into multiple stages, and a corresponding health score range is configured for each stage, thereby forming update trigger conditions. When the link health score is obtained subsequently, the current health stage can be determined based on the range of the health score, and it can be determined whether to trigger a pre-emphasis parameter update accordingly.

[0121] By acquiring attribute information of the transmitting and / or receiving optical modules, including at least one of model, manufacturer, batch, runtime, and operating temperature, and determining the health score range corresponding to multiple health stages based on this attribute information, health stages can be personalized for optical modules of different models, manufacturers, batches, runtimes, and operating temperatures. This fully considers the impact of device differences, aging levels, and environmental factors on health status, improving the accuracy of health score range setting and the targeted nature of pre-emphasis parameter updates.

[0122] In one possible implementation, obtaining the update triggering condition of the optical communication link includes: obtaining the configuration information of the transmitting optical module and / or the receiving optical module; wherein the configuration information includes at least one of the following: transmission rate, modulation format, number of channels, type of service carried, type and length of connecting optical fiber, and type of access port; and determining the health score range corresponding to multiple health stages based on the configuration information.

[0123] The transmitting optical module is used to transmit optical communication signals, and the receiving optical module is used to receive optical communication signals. Their configuration information characterizes the link's operating conditions under the current service configuration. The transmission rate in the configuration information characterizes the link's transmission capacity per unit time; the modulation format characterizes the encoding method used during electro-optical conversion; the number of channels characterizes the number of parallel transmission paths; the service type carried characterizes the data service attributes served by the link; the type and length of the connecting optical fiber characterize the link's medium characteristics and transmission distance; and the access port type characterizes the physical interface form with the switching equipment or host equipment. This information can be read by the control plane from the optical module registers, device configuration tables, or link management messages, and cached locally as a set of configuration information associated with the link identifier.

[0124] In practical implementation, a correspondence can be established based on a single configuration information, or multiple configuration information can be combined and input into a preset mapping table for matching. The mapping table pre-stores the correspondence between different health stages and health score ranges. For example, for combinations of high transmission rates, long-distance optical fibers, and high-order modulation formats, a narrower health score distribution range is set to reflect the link's greater sensitivity to state changes; for low-rate, short-distance, and low-complexity service scenarios, a relatively lenient score range is set. Upon receiving the current configuration information, multiple corresponding health stages are searched from the mapping table, and the health score range corresponding to each health stage is output as the basis for subsequent update triggering judgments.

[0125] The embodiments of this application can adapt to optical communication links with different transmission rates, modulation formats, number of channels, service types, fiber types, and port types, so that the health phase division can be matched with specific application scenarios and the adaptability of the pre-emphasis parameter update strategy under different deployment scenarios can be improved.

[0126] Based on the aforementioned embodiments, further, obtaining the update triggering conditions of the optical communication link includes: obtaining historical health data of the optical communication link; wherein, the historical health data includes at least one of historical health score, the collection time corresponding to each historical health score, and the operating parameter record corresponding to each collection time; and performing clustering processing on the historical health data to obtain a range of health scores corresponding to multiple health stages.

[0127] In this embodiment, the optical communication link refers to the link object that carries the historical health status collection and analysis. The historical health data is used to characterize the health evolution process of the link in different time periods. The historical health score can be obtained by comprehensively mapping the link's bit error rate performance, eye diagram margin, transmit and receive power, temperature drift, and other operating parameters. The collection time is used to identify the timestamp of the corresponding health score or operating parameter. The operating parameter record can include at least one of the following: temperature, current, optical power, equalization parameters, and alarm status of the transmitting and receiving optical modules.

[0128] In the specific implementation, historical health data is preprocessed to unify data from different sources and sampling periods into clusterable data samples, and missing or outlier values ​​can be removed or imputed. Subsequently, sample vectors are established based on historical health scores and their corresponding collection times. When historical health data also includes operational parameter records, these records can be added as an additional dimension to participate in clustering, so that the clustering results simultaneously reflect the correlation between the changing trend of health scores and the operational status of the link. Clustering can employ distance-based clustering, density-based clustering, or time-series segmented clustering to group samples with similar health states into the same class, and based on this, the health score boundaries corresponding to each class are extracted, forming health score ranges corresponding to multiple health stages.

[0129] In a feasible scenario, the boundary thresholds for each health stage are output based on the clustering results and stored in the link management unit as update trigger conditions. When a subsequently collected health score falls into the boundary region of an adjacent health stage, it can be determined that a stage switch has occurred in the link health status. If the collection time and operating parameter records are incorporated during clustering, the same health score can be assigned to different stages under different operating backgrounds, thus ensuring that the range of health scores remains consistent with long-term link aging, environmental changes, and device drift. This approach enables the update trigger conditions to adaptively form based on historical operating patterns and provides a staged basis for subsequent pre-emphasis parameter updates.

[0130] The embodiments of this application can automatically divide the health stage based on actual operating data, reduce the subjective bias of manually setting the health score range, make the health stage division more consistent with the actual degradation distribution of the optical module, and improve the accuracy and data-driven nature of the pre-emphasis parameter update triggering.

[0131] In one possible implementation, embodiments of this application use a health score threshold to determine whether to perform an update of the pre-emphasis parameters.

[0132] Optionally, the update triggering condition includes a health score threshold; based on the update triggering condition and the health score, determine whether to trigger the pre-emphasis parameter update, including: when the health score is lower than the health score threshold, determine to trigger the pre-emphasis parameter update.

[0133] The health score threshold is used to characterize the boundary for determining whether an optical communication link enters a preset update interval. This threshold can be pre-written into a configuration parameter table and saved in relation to link type, transmission rate, and runtime. The health score is a comprehensive evaluation value of the link calculated based on the status information of the transmitting and receiving optical modules. It is usually represented by a normalized value, with a lower value indicating a worse link health status.

[0134] Optionally, after health score collection, the current health score is compared with a health score threshold. If the current health score is less than the threshold, a pre-emphasis parameter update instruction is generated and sent to the target control unit to re-determine the pre-emphasis parameters of the transmitting optical module. If the current health score is not lower than the threshold, the existing pre-emphasis parameters remain unchanged. The threshold can be a single fixed value or one of multiple thresholds corresponding to different service scenarios, selected based on the scenario to which the current link belongs.

[0135] This approach limits the update trigger condition to a health score threshold and uses the direct comparison between the health score and the threshold as the trigger basis. This ensures that pre-emphasis parameter updates are executed when the link health status drops to a preset limit, thus keeping parameter adjustments consistent with the degree of link degradation. Because the trigger condition is clear and the judgment logic is simple, it reduces invalid updates and improves the stability and consistency of parameter adjustments under long-term operating conditions, further enhancing the accuracy of pre-emphasis parameter configuration.

[0136] The above step S404 will be explained in detail below with reference to specific embodiments:

[0137] In one possible implementation, embodiments of this application use a health score range to determine the pre-weighting parameters.

[0138] In one possible implementation, determining the target pre-emphasis parameters of the transmitting optical module includes: obtaining a first mapping relationship; wherein the first mapping relationship is a mapping relationship between a health score range and a health stage; determining the target health stage of the optical communication link based on the health score and the first mapping relationship; obtaining a second mapping relationship; wherein the second mapping relationship is a mapping relationship between the health stage and a pre-emphasis parameter group; and determining the target pre-emphasis parameters based on the target health stage and the second mapping relationship.

[0139] Optionally, the pre-emphasis parameter group may include multiple pre-emphasis configuration values ​​adopted by the transmitting optical module under the corresponding health stage.

[0140] In this embodiment, after obtaining the health score, the health score is matched with multiple pre-configured health score ranges in the first mapping relationship to determine the target interval to which the current health score belongs, and the target health stage corresponding to the interval is output accordingly. Subsequently, the pre-emphasis parameter group corresponding to the target health stage in the second mapping relationship is read, the target pre-emphasis parameter as the output result is determined from the parameter group, and the target pre-emphasis parameter is used to configure the transmitting optical module. The first and second mapping relationships can be pre-written into the memory by the processing unit, or they can be dynamically updated based on the historical operation data of the link. In practical applications, the mapping relationship can be implemented by a table structure, lookup table, or key-value index, which can improve the selection efficiency of the target pre-emphasis parameter. In practical applications, other models of this component can also be selected, and this application does not limit this.

[0141] This scheme achieves hierarchical determination of link health status and transmitter configuration parameters by first converting the health score into a target health stage, and then mapping the target health stage to a target pre-emphasis parameter set. Since parameter selection is based on the health stage, the target pre-emphasis parameters can maintain a correspondence with the current link degradation level, thus making the pre-emphasis configuration output by the transmitter optical module more consistent with the link status.

[0142] With this implementation method, a clear mapping link is formed between the health score, health stage and pre-emphasis parameters. The determination process of the target pre-emphasis parameters is more deterministic and interpretable, which can reduce the parameter selection deviation caused by a single threshold or local state, and enable the transmitting optical module to complete the matching configuration according to the link health status.

[0143] Based on the foregoing embodiments, further, obtaining the second mapping relationship includes: obtaining attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module; performing retrieval processing from a preset database based on the attribute information and / or configuration information to obtain the second mapping relationship; or, receiving the second mapping relationship input by the user.

[0144] Attribute information is used to characterize the static or semi-static characteristics of the device, and configuration information is used to characterize the current transmission organization method of the link. Both can be obtained in accordance with the methods described in the above embodiments.

[0145] Optionally, a preset database is used to store the corresponding data between different device types, link configurations and the second mapping relationship, which is then used to determine the target pre-emphasis parameters based on the health stage.

[0146] In practical implementation, after receiving the identifiers of the transmitting optical module and / or receiving optical module, attribute information and / or configuration information can be extracted from the device management table, link configuration table, or online monitoring interface. Attribute information may include model, manufacturer, batch, runtime, or operating temperature; configuration information may include transmission rate, modulation format, number of channels, service type, fiber type and length, or access port type. The extracted information is used as a retrieval key and written into the query conditions of a preset database. Based on this, a mapping entry for the health stage and pre-emphasis parameter group corresponding to the current link conditions is matched to obtain a second mapping relationship. This mapping relationship can be expressed as a correspondence between the health stage and one or more pre-emphasis parameter groups, or as a joint index relationship between the health stage, device configuration, and parameter groups. If multiple candidate entries exist in the preset database, the final entry can be determined according to the matching confidence of attribute information and configuration information, device manufacturer consistency, or link configuration consistency, to output a second mapping relationship adapted to the current scenario. In practical applications, this database can also be implemented as a local storage table, a remote configuration library, or a cloud mapping service; this application does not limit this.

[0147] In another implementation, the system receives the second mapping relationship directly input by the user through a management interface, script interface, or configuration file, and writes the input content into the mapping table after format and field validation. The user input can directly specify the correspondence between the health stage and the pre-emphasis parameter group, or it can be combined with the attribute information and / or configuration information of the transmitting optical module and / or receiving optical module to form a second mapping relationship applicable to a specific link.

[0148] Here, the mapping relationship between the health stage and the pre-emphasis parameter group can be flexibly obtained and configured according to different optical module attributes, configurations and application scenarios. It supports both automated retrieval and matching and manual configuration intervention, improving the maintainability and applicability of the mapping relationship, and further improving the flexibility and accuracy of pre-emphasis parameter configuration.

[0149] Based on the foregoing embodiments, further, obtaining the first mapping relationship includes: obtaining attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module; determining the health score range corresponding to multiple health stages based on the attribute information and / or configuration information to obtain the first mapping relationship; or, obtaining historical health data of the optical communication link and performing clustering processing on the historical health data to obtain the first mapping relationship.

[0150] The transmitting and receiving optical modules provide operational information at both ends of the link. Attribute information may include model, manufacturer, batch, operating time, or operating temperature. Configuration information may include transmission rate, modulation format, number of channels, service type, type and length of connecting optical fiber, or access port type. The first mapping relationship establishes the correspondence between health score ranges and health stages, enabling subsequent determination of the target health stage based on the health score.

[0151] When generating the first mapping relationship based on attribute information and / or configuration information, after obtaining the above information, the health score ranges corresponding to different stages are configured according to the preset health stage division rules. These score ranges can be adjusted based on the aging characteristics of different device models, performance drift characteristics at different operating temperatures, and tolerance differences under different rates or modulation methods, thus establishing a one-to-one correspondence between health stages and health score ranges. For cases where historical health data is used to generate the first mapping relationship, the collected historical health scores, collection times, and operating parameter records are organized, and data under the same health state are aggregated into the same cluster. Then, the health score ranges corresponding to multiple health stages are determined based on the cluster boundaries. Clustering can employ an unsupervised clustering algorithm based on distance metrics, ensuring that samples with similar health states fall into the same cluster, thereby obtaining a first mapping relationship that better reflects the actual operating distribution.

[0152] In practical applications, this first mapping relationship can be stored in the mapping table of the control plane and called during the operation of the link to map the real-time health score to the target health stage. By constructing the mapping relationship through attribute information, configuration information, or historical health data, the health stage division can be kept consistent with the specific device status and link operation characteristics, thereby providing a stable stage determination basis for subsequent pre-emphasis parameter determination.

[0153] The mapping relationship between health score range and health stage can be generated either by customizing based on device attributes and configuration information, or by automatically clustering based on historical operating data, thereby improving the flexibility and accuracy of health stage division.

[0154] In one possible implementation, embodiments of this application employ parameter decision-making to determine the pre-emphasis parameters.

[0155] In one possible implementation, determining the target pre-emphasis parameters of the transmitting optical module includes: acquiring the original analog signals of the transmitting optical module and / or the receiving optical module; and determining the target pre-emphasis parameters of the transmitting optical module based on the original analog signals.

[0156] In practical applications, the transmitting optical module can output analog quantities related to the transmitting output swing, equalization tap response, and overshoot characteristics, while the receiving optical module can output analog quantities related to the receiving eye diagram, decision edge, and link attenuation response. The original analog signal can be acquired by the sampling circuit, analog-to-digital conversion circuit, or link monitoring interface.

[0157] In practical implementation, after acquiring the original analog signals from the transmitting optical module and / or the receiving optical module, the signals can be processed by amplitude normalization, time-domain alignment, frequency-domain feature extraction, or noise suppression. The processed results characterize the actual transmission characteristics of the current optical communication link, and these characteristics are then mapped to the pre-emphasis tap coefficients, main tap gain, front and rear vernier parameters, or corresponding combined parameters of the transmitting optical module, thus obtaining the target pre-emphasis parameters. If only the original analog signal from the transmitting end is acquired, the parameters can be determined based on the transmitted waveform distortion, drive current response, and inter-symbol interference characteristics of the transmitting end. If the original analog signal from the receiving end is also acquired, the parameters can be corrected by combining the feedback information from the receiving end regarding the link transmission results, making the parameters more closely match the current link state.

[0158] During operation, the original analog signal is first acquired as input to characterize the actual physical state of the link. Then, through signal processing and parameter solving, the target pre-emphasis parameters are obtained. Subsequently, these parameters are written into the configuration register of the transmitting optical module to drive the transmitting end to output a pre-emphasis waveform that matches the link characteristics. Since the parameters are directly determined based on the original analog signal, the transmission compensation at the transmitting end can be kept consistent with the current attenuation, distortion, and noise changes of the link.

[0159] After adopting the above method, the determination of the target pre-emphasis parameter no longer depends on a single static threshold, but is generated based on the original analog signal of the transmitting end and / or receiving end reflecting the real state of the link. Therefore, it can improve the matching degree between the parameter and the actual link characteristics, and make the compensation waveform output by the transmitting end more in line with the current transmission conditions, thereby improving the link operation stability and transmission consistency.

[0160] Based on the aforementioned embodiments, further, determining the target pre-emphasis parameters of the transmitting optical module according to the original analog signal includes: performing time-frequency domain transformation processing on the original analog signal to obtain a first frequency domain feature; performing pre-emphasis tap coefficient retraining processing according to the first frequency domain feature to obtain a second tap coefficient; and determining the target pre-emphasis parameters of the transmitting optical module according to the second tap coefficient.

[0161] Time-frequency domain transformation processing includes at least one of Fourier transform, short-time Fourier transform, or wavelet transform, used to extract the amplitude spectrum, phase spectrum, or power spectrum of the original analog signal as the first frequency domain feature. Pre-emphasized tap coefficient retraining processing can employ the minimum mean square error criterion, gradient descent method, or recursive least squares method, iteratively updating the tap coefficients based on the first frequency domain feature until a preset convergence condition is met, such as the change in tap coefficients between two adjacent iterations being less than a set threshold, or the loss function value being less than a set threshold.

[0162] The original analog signal is the input signal used for time-frequency domain transformation processing. The time-frequency domain transformation processing is used to convert the time-domain waveform into frequency-domain features that are easy to analyze. The first frequency-domain feature is used to characterize the frequency characteristics of the original analog signal after time-frequency domain transformation. The second tap coefficient is the parameter result obtained by retraining based on the first frequency-domain feature. The target pre-emphasis parameter is the final parameter generated accordingly and used for the configuration of the transmitting optical module.

[0163] In practical implementation, the raw analog signal acquired by the transmitting optical module and / or the receiving optical module is sent to the transformation unit. The transformation unit can use Fourier transform or short-time Fourier transform to map the signal to the frequency domain and extract the amplitude spectrum, phase spectrum, or power spectrum as the first frequency domain feature. Subsequently, the retraining unit constructs a loss function based on the first frequency domain feature and iteratively updates the pre-emphasis tap coefficients to make the tap coefficients fit the attenuation and distortion characteristics of the current link, and outputs the second tap coefficients. Then, the parameter generation unit determines the target pre-emphasis parameters of the transmitting optical module based on the second tap coefficients. The target pre-emphasis parameters can correspond to the pre-emphasis amplitude, tap weight combination, or tap interval configuration, and are used to send them to the transmitting optical module for execution. For the transformation unit, retraining unit, and parameter generation unit, other models or implementation methods can also be selected in practical applications, and this application does not limit them.

[0164] This processing method first extracts the frequency domain features of the original analog signal, then retrains the pre-emphasis tap coefficients to ensure that the obtained target pre-emphasis parameters match the current link state, thereby completing the parameter configuration of the transmitting optical module. Since the parameter generation is based on frequency domain features and retrained coefficients, the output parameters can better fit the link transmission characteristics.

[0165] After adopting the above method, the pre-emphasis parameters of the transmitting optical module no longer depend on static configuration, but are dynamically generated based on the frequency domain characteristics of the original analog signal. This can improve the correspondence between parameters and link status, and make the transmission configuration more adaptable to changes in link attenuation. This allows the pre-emphasis compensation to more accurately match the actual frequency response of the link, thereby improving the quality of high-speed signal transmission.

[0166] Optionally, in conjunction with the methods in the above embodiments, Figure 5 This application provides a schematic diagram of a staged optical module preset parameter classification method, as shown in the embodiment. Figure 5 The staged optical module preset parameter classification method shown indicates that the optical link quality early warning unit (which can be part of the processing unit) will monitor the optical module health score in real time. For optical modules from any manufacturer, pre-set pre-emphasis parameters for each of the N stages are configured in advance. Figure 5 The optical module health status is segmented at intervals of 0.1 (where N is any positive integer). When the health score of optical module A changes, the SDN control plane (or any other processing unit or part of the structure within the processing unit) will notify the device, which will then select appropriate pre-emphasis parameters from a preset pre-emphasis parameter table to update the status.

[0167] Optionally, in conjunction with the methods in the above embodiments, Figure 6 This is a schematic diagram of a pre-emphasis parameter retraining method for an optical module provided in an embodiment of this application. The optical link quality early warning unit monitors the health score of the optical module in real time. For optical modules from any manufacturer, pre-emphasis parameters for each of the N stages are preset in advance. Figure 6 The optical module health status is segmented at 0.1 intervals (where N is any positive integer). When the health score of optical module A changes, the processing unit (e.g., the SDN control plane) notifies all optical modules on this link. All optical modules upload their pre-sampling analog signals to the processing unit (e.g., the SDN control plane). The processing unit (e.g., the SDN control plane) uses its powerful computing capabilities to perform time-frequency domain transformation on the transmit / receive signals uploaded by the optical modules and performs pre-emphasis parameter retraining. After the tap coefficient feedback converges, the signal is then transmitted to the device, which then distributes it to the optical modules through the software layer.

[0168] This application embodiment quantifies the multi-dimensional operating status of optical modules into continuous health scores, and uses these scores as the driving basis for adjusting pre-emphasis parameters. This fundamentally solves the problem that related technologies rely on static attributes or single instantaneous indicators and cannot adapt to dynamic quality changes during long-term operation of optical modules. When the optical link quality early warning unit detects a significant change in the health score of any optical module, whether it is a drift in the local VCSEL threshold, a decrease in PD responsivity, a degradation in TIA gain, or a deterioration in the receiving performance at the remote end, or a contamination or breakage of the fiber channel, the SDN control plane triggers a pre-emphasis parameter update. This involves a rapid lookup and switching from a preset phased parameter table, or using the controller's powerful computing capabilities to collect analog signals from the transceiver ends for online retraining of tap coefficients, achieving dynamic adaptation of parameters throughout their entire lifecycle. This method considers both the health status of the optical modules at both ends and the actual response of the fiber channel, performing collaborative optimization from an end-to-end global perspective, avoiding the one-sidedness of optimizing only one end. The entire solution is based on SDN architecture to uniformly manage switches, optical modules, servers, and network cards. It is suitable for large-scale deployment scenarios with tens of thousands of optical modules in data centers and can effectively reduce the risk of increased bit error rate, link breakage, and speed reduction caused by mismatch of pre-emphasis parameters.

[0169] End-to-end collaborative optimization refers to determining the target pre-emphasis parameters of the transmitting optical module based not only on the first state information of the transmitting optical module itself, but also on the second state information of the receiving optical module and the third state information of the optical fiber channel. For example, when the PD responsivity of the receiving optical module decreases or the TIA gain degrades, even if the transmitting optical module itself is healthy, the transmitting pre-emphasis parameters need to be adjusted to compensate for the decline in the receiving performance at the other end; similarly, when the optical fiber channel becomes contaminated or damaged, the transmitting pre-emphasis parameters are also triggered to be updated. This achieves global optimization through collaboration among the local end, the other end, and the channel.

[0170] The core of this application's embodiments lies in establishing a closed-loop system for adaptive updating of pre-emphasis parameters under SDN centralized decision-making driven by optical module health scores:

[0171] The system uses the full-dimensional health score of optical modules (rather than static attributes such as model and manufacturer or single instantaneous indicators such as bit error rate and eye diagram) as the trigger source and decision basis for adjusting pre-emphasis parameters. The health score is calculated by a publicly available full-dimensional optical link health quality assessment system. The SDN control plane continuously collects the health data of optical modules across the entire network through Telemetry, SSH, API, SNMP and other methods, and uniformly monitors, makes decisions and distributes pre-emphasis parameters to achieve centralized management and control of pre-emphasis configuration of optical modules in large-scale data centers. It provides two adaptive adjustment methods: the first is to preset a parameter table according to the health score range and quickly switch the table when the score changes; the second is for the controller to collect the original analog signals of the transceiver end, perform time-frequency domain transformation and online retraining of tap coefficients, and distribute the results after convergence, which is a flexible choice that takes into account both real-time performance and accuracy. The adjustment strategy also incorporates the health status of the local optical module, the peer optical module and the actual response of the fiber optic channel, to achieve end-to-end global optimization of pre-emphasis parameters in coordination between the transceiver end and the channel.

[0172] Figure 7 This is a schematic diagram of the structure of a data processing device for an optical communication link provided in an embodiment of this application. Figure 7 As shown in the figure, this application embodiment also provides a data processing device for an optical communication link, the device including: an acquisition module 701, a first determination module 702, a second determination module 703 and a control module 704.

[0173] The acquisition module is used to acquire the status information of the optical communication link. The optical communication link includes a transmitting optical module and a receiving optical module. The status information includes first status information and second status information. The first status information is used to characterize the multi-dimensional operating status of the transmitting optical module, and the second status information is used to characterize the multi-dimensional operating status of the receiving optical module.

[0174] The first determining module is used to determine the health score of the optical communication link based on the status information;

[0175] The second determining module is used to determine the target pre-emphasis parameters of the transmitting optical module based on the health score;

[0176] The control module is used to control the transmitting optical module to achieve optical communication transmission based on the target pre-emphasis parameters.

[0177] In one possible embodiment, the second determining module includes:

[0178] The acquisition submodule is used to acquire the update trigger conditions of the optical communication link;

[0179] The determination submodule is used to determine the target pre-emphasis parameters of the transmitting optical module based on the update trigger conditions and health score.

[0180] In one possible embodiment, the update triggering conditions include multiple health score ranges and / or health score thresholds corresponding to multiple health stages; the determination submodule is used for:

[0181] Based on the update trigger conditions and health score, determine whether to trigger the pre-emphasis parameter update;

[0182] If it is determined that a pre-emphasis parameter update is triggered, then the target pre-emphasis parameter of the transmitting optical module is determined.

[0183] In one possible embodiment, the update trigger condition includes a health score range; the determining submodule is specifically used for:

[0184] Based on the health score and the range of health scores corresponding to multiple health stages, it is determined whether the health status of the optical communication link has changed;

[0185] If a change in health status is determined, then the pre-aggravation parameter update is triggered.

[0186] In one possible embodiment, the acquisition submodule is specifically used for:

[0187] Obtain attribute information of the transmitting optical module and / or the receiving optical module; wherein the attribute information includes at least one of the following: model, manufacturer, batch, running time, and operating temperature;

[0188] Based on the attribute information, determine the range of health scores corresponding to multiple health stages.

[0189] In one possible embodiment, the acquisition submodule is specifically used for:

[0190] Obtain configuration information for the transmitting optical module and / or the receiving optical module; wherein, the configuration information includes at least one of the following: transmission rate, modulation format, number of channels, type of service carried, type and length of connecting optical fiber, and type of access port;

[0191] Based on the configuration information, determine the range of health scores corresponding to multiple health stages.

[0192] In one possible embodiment, the acquisition submodule is specifically used for:

[0193] Acquire historical health data of the optical communication link; wherein, the historical health data includes at least one of the following: historical health score, the acquisition time corresponding to each historical health score, and the operating parameter record corresponding to each acquisition time;

[0194] Historical health data is clustered to obtain a range of health scores corresponding to multiple health stages.

[0195] In one possible embodiment, the update trigger condition includes a health score threshold; the determining submodule is specifically used for:

[0196] When the health score falls below the health score threshold, the pre-emphasis parameter update is triggered.

[0197] In one possible embodiment, the determined submodule is specifically used for:

[0198] Obtain the first mapping relationship; where the first mapping relationship is the mapping relationship between the health score range and the health stage;

[0199] The target health stage of the optical communication link is determined based on the health score and the first mapping relationship;

[0200] Obtain the second mapping relationship; wherein, the second mapping relationship is the mapping relationship between the healthy stage and the pre-aggravation parameter group;

[0201] Based on the target health stage and the second mapping relationship, determine the target pre-emphasis parameters.

[0202] In one possible embodiment, the determined submodule is specifically used for:

[0203] Obtain the attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module;

[0204] Based on attribute information and / or configuration information, a retrieval process is performed from a preset database to obtain a second mapping relationship; or,

[0205] The second mapping relationship is received from user input.

[0206] In one possible embodiment, the determined submodule is specifically used for:

[0207] Obtain the attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module;

[0208] Based on attribute information and / or configuration information, determine the health score ranges corresponding to multiple health stages to obtain a first mapping relationship; or,

[0209] Historical health data of the optical communication link is acquired, and the historical health data is clustered to obtain the first mapping relationship.

[0210] In one possible embodiment, the determined submodule is specifically used for:

[0211] Acquire the raw analog signals from the transmitting optical module and / or the receiving optical module;

[0212] Based on the original analog signal, determine the target pre-emphasis parameters of the transmitting optical module.

[0213] In one possible embodiment, the determined submodule is specifically used for:

[0214] The original analog signal is subjected to time-frequency domain transformation to obtain the first frequency domain features;

[0215] Based on the first frequency domain characteristics, pre-emphasized tap coefficients are retrained to obtain the second tap coefficients.

[0216] The target pre-emphasis parameters of the transmitting optical module are determined based on the second tap coefficient.

[0217] In one possible embodiment, the acquisition module is specifically used for:

[0218] The transmitting optical module undergoes a first acquisition process to obtain first status information;

[0219] The receiving optical module undergoes a second acquisition process to obtain second status information.

[0220] In one possible embodiment, the acquisition module is further specifically used for:

[0221] Obtain third state information; wherein, the third state information is used to characterize the state of the optical fiber channel in the optical communication link, and the third state information includes at least one of optical fiber contamination state, optical fiber damage state, optical fiber connector state, and optical fiber channel response.

[0222] In one possible embodiment, the acquisition module is specifically used for:

[0223] The first state information of the transmitting optical module is collected; wherein the first state information includes at least two of the following: laser parameters, driver parameters, transmitted optical parameters, first environmental parameters, and current pre-emphasis configuration parameters.

[0224] In one possible embodiment, the acquisition module is specifically used for:

[0225] The second state information of the receiving optical module is collected; wherein the second state information includes at least two of the following: photodetector parameters, transimpedance amplifier parameters, received optical parameters, signal quality parameters, and second environmental parameters.

[0226] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 80 provided in this embodiment includes at least one processor 801 and a memory 802. In one possible implementation, the electronic device 80 further includes a communication component 803. The processor 801, memory 802, and communication component 803 are connected via a bus.

[0227] In a specific implementation, at least one processor 801 executes computer execution instructions stored in memory 802, causing at least one processor 801 to execute the above-described data processing embodiment of the optical communication link.

[0228] The specific implementation process of processor 801 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0229] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0230] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0231] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings of this application are not limited to a single bus or a single type of bus.

[0232] This application also provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the data processing method for an optical communication link.

[0233] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0234] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described optical communication link data processing method embodiments.

[0235] This application also provides another computer program product, including a non-volatile computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-described embodiments of the data processing method for optical communication links.

[0236] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the embodiments of this application.

[0237] The data processing of an optical communication link provided by the embodiments of this application has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the embodiments of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of the embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made to the embodiments of this application without departing from the principles of the embodiments of this application, and these improvements and modifications also fall within the protection scope of the embodiments of this application.

Claims

1. A data processing method for an optical communication link, characterized in that, include: Acquire the status information of the optical communication link; wherein the optical communication link includes a transmitting optical module and a receiving optical module, and the status information includes first status information and second status information, wherein the first status information is used to characterize the multi-dimensional operating status of the transmitting optical module, and the second status information is used to characterize the multi-dimensional operating status of the receiving optical module; Based on the status information, the health score of the optical communication link is determined; Based on the health score, the target pre-emphasis parameters of the transmitting optical module are determined; Based on the target pre-emphasis parameters, the transmitting optical module is controlled to achieve optical communication transmission.

2. The method according to claim 1, characterized in that, The step of determining the target pre-emphasis parameters of the transmitting optical module based on the health score includes: Obtain the update trigger condition of the optical communication link; Based on the update triggering conditions and the health score, the target pre-emphasis parameters of the transmitting optical module are determined.

3. The method according to claim 2, characterized in that, The update triggering conditions include health score ranges and / or health score thresholds corresponding to multiple health stages; The step of determining the target pre-emphasis parameters of the transmitting optical module based on the update trigger condition and the health score includes: Based on the update triggering conditions and the health score, determine whether to trigger the pre-emphasis parameter update; If it is determined that a pre-emphasis parameter update is triggered, then the target pre-emphasis parameter of the transmitting optical module is determined.

4. The method according to claim 3, characterized in that, The update triggering condition includes the health score range; determining whether to trigger the pre-emphasis parameter update based on the update triggering condition and the health score includes: Based on the health score and the range of health scores corresponding to the multiple health stages, it is determined whether the health status of the optical communication link has changed; If a change in health status is determined, then the pre-aggravation parameter update is triggered.

5. The method according to claim 4, characterized in that, The update triggering conditions for obtaining the optical communication link include: Obtain attribute information of the transmitting optical module and / or the receiving optical module; wherein, the attribute information includes at least one of model, manufacturer, batch, running time, and operating temperature; Based on the attribute information, determine the range of health scores corresponding to the multiple health stages.

6. The method according to claim 4, characterized in that, The update triggering conditions for obtaining the optical communication link include: Obtain the configuration information of the transmitting optical module and / or the receiving optical module; wherein the configuration information includes at least one of the following: transmission rate, modulation format, number of channels, type of service carried, type and length of connecting optical fiber, and type of access port; Based on the configuration information, determine the range of health scores corresponding to the multiple health stages.

7. The method according to claim 4, characterized in that, The update triggering conditions for obtaining the optical communication link include: Obtain historical health data of the optical communication link; wherein, the historical health data includes at least one of the following: historical health score, the acquisition time corresponding to each historical health score, and the operating parameter record corresponding to each acquisition time; The historical health data is clustered to obtain the health score ranges corresponding to the multiple health stages.

8. The method according to claim 3, characterized in that, The update triggering condition includes the health score threshold; determining whether to trigger the pre-emphasis parameter update based on the update triggering condition and the health score includes: When the health score is lower than the health score threshold, the pre-emphasis parameter update is triggered.

9. The method according to any one of claims 3 to 8, characterized in that, Determining the target pre-emphasis parameters of the transmitting optical module includes: Obtain the first mapping relationship; wherein, the first mapping relationship is the mapping relationship between the health score range and the health stage; The target health stage of the optical communication link is determined based on the health score and the first mapping relationship; Obtain the second mapping relationship; wherein, the second mapping relationship is the mapping relationship between the health stage and the pre-aggravation parameter group; The target pre-emphasis parameters are determined based on the target health stage and the second mapping relationship.

10. The method according to claim 9, characterized in that, The process of obtaining the second mapping relationship includes: Obtain the attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module; Based on the attribute information and / or the configuration information, a retrieval process is performed from a preset database to obtain the second mapping relationship; or, The second mapping relationship is received from user input.

11. The method according to claim 9, characterized in that, Obtaining the first mapping relationship includes: Obtain the attribute information and / or configuration information of the transmitting optical module and / or the receiving optical module; Based on the attribute information and / or the configuration information, determine the health score range corresponding to the multiple health stages to obtain the first mapping relationship; or, Historical health data of the optical communication link is obtained, and the historical health data is clustered to obtain the first mapping relationship.

12. The method according to any one of claims 3 to 8, characterized in that, Determining the target pre-emphasis parameters of the transmitting optical module includes: Acquire the original analog signals of the transmitting optical module and / or the receiving optical module; Based on the original analog signal, the target pre-emphasis parameters of the transmitting optical module are determined.

13. The method according to claim 12, characterized in that, The step of determining the target pre-emphasis parameters of the transmitting optical module based on the original analog signal includes: The original analog signal is subjected to time-frequency domain transformation to obtain the first frequency domain features; Based on the first frequency domain features, pre-emphasized tap coefficient retraining is performed to obtain the second tap coefficients. The target pre-emphasis parameters of the transmitting optical module are determined based on the second tap coefficient.

14. The method according to any one of claims 1 to 8, characterized in that, The acquisition of the optical communication link status information includes: The transmitting optical module undergoes a first acquisition process to obtain the first status information; The receiving optical module is subjected to a second acquisition process to obtain the second status information.

15. The method according to claim 14, characterized in that, The acquisition of the optical communication link status information also includes: Obtain third state information; wherein the third state information is used to characterize the state of the optical fiber channel in the optical communication link, and the third state information includes at least one of optical fiber contamination state, optical fiber damage state, optical fiber connector state, and optical fiber channel response.

16. The method according to claim 14, characterized in that, The first acquisition process performed on the transmitting optical module to obtain the first status information includes: The first state information of the transmitting optical module is collected; wherein the first state information includes at least two of the following: laser parameters, driver parameters, transmitted optical parameters, first environmental parameters, and current pre-emphasis configuration parameters.

17. The method according to claim 14, characterized in that, The second acquisition process performed on the receiving optical module to obtain the second status information includes: The second state information of the receiving optical module is collected; wherein the second state information includes at least two of the following: photodetector parameters, transimpedance amplifier parameters, received optical parameters, signal quality parameters, and second environmental parameters.

18. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the data processing method for the optical communication link as described in any one of claims 1 to 17.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the data processing method for the optical communication link as described in any one of claims 1 to 17.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the data processing method for the optical communication link as described in any one of claims 1 to 17.