Equalization parameter optimization method, apparatus, and device
Patent Information
- Application Number
- PCT/CN2025/080164
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-07
- Filing Date
- 2025-03-03
- Publication Date
- 2025-10-02
AI Technical Summary
The equalization parameter tuning method of traditional optical modules is not suitable for linear direct-drive optical modules. This makes it difficult to implement joint tuning of equalization parameters in linear direct-drive optical modules and fails to meet the TP2 point indicator requirements of IEEE 802.3.
By generating a first mapping relationship, first and second adjustment values are generated according to the mapping relationship between the optical signal quality information output by the linear direct-drive optical module and the electrical signal quality information of the device, and the equalizer parameters in the device and the linear direct-drive optical module are adjusted to achieve joint tuning to meet the requirements of the TP2 point indicator in IEEE 802.3.
The invention realizes the fast and accurate configuration of the equalization parameters in the linear direct-drive optical module communication system, and improves the equalization performance of the communication system.
Smart Images

Figure CN2025080164_02102025_PF_FP_ABST
Abstract
Description
Method, device and equipment for tuning equalization parameters
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 7, 2024, with application number 202410264002.5 and invention name “A method, device and apparatus for tuning equalization parameters”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of data processing technology, and in particular to a method, device and equipment for tuning equalization parameters. Background Art
[0003] For some high-speed interconnection scenarios, in order to reduce the latency, power consumption and cost of traditional optical modules (i.e., retimed optical modules), linear direct-drive optical modules have emerged. Compared with traditional optical modules, linear direct-drive optical modules no longer integrate optical digital signal processing (oDSP) chips. Instead, the equalization capability of the oDSP chip is offloaded to the serializer / deserializer (SerDes) of the device connected to it and the driver (DRV) of the linear direct-drive optical module. In this way, due to the mutual coupling between the equalization parameters in the DRV of the linear direct-drive optical module and the equalization parameters in the SerDes of the device, joint tuning is required to obtain the values of each equalization parameter under better equalization effect. However, the tuning process of the equalization parameters of traditional optical modules is usually completed before the traditional optical module leaves the factory. Therefore, the tuning method of the equalization parameters of traditional optical modules is not applicable to the tuning of the equalization parameters in linear direct-drive optical modules. Summary of the Invention
[0004] Based on this, the present application provides a method, apparatus and device for tuning equalization parameters, which can quickly and conveniently jointly tune the equalization parameters involved in the communication scenario where the device is connected to the linear direct-drive optical module.
[0005] In the first aspect, the present application provides a method for tuning equalization parameters, which can be applied to a device that communicates with a linear direct-drive optical module. The method can be understood as a process of jointly tuning the equalization parameters in the DRV of the linear direct-drive optical module and the equalization parameters in the SerDes of the device. Taking the transmitting-end equalizer to be tuned in the device as the first equalizer and the equalizer to be tuned in the linear direct-drive optical module as the second equalizer as an example, the method may include: first, the device generates a first adjustment value and a second adjustment value based on a first mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device, wherein the electrical signal in the device is converted from the optical signal output by the linear direct-drive optical module, the first adjustment value is used to adjust the first equalizer, and the second adjustment value is used to adjust the second equalizer; then, the device can adjust the first equalizer according to the first adjustment value, and send the second adjustment value to the linear direct-drive optical module. In this way, through this method, the linear direct-drive optical module is connected to the device in the actual operation scenario, and according to the mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device obtained by converting the optical signal, the joint influence of the SerDes on the ASIC side of the device in the existing network and the linear direct-drive optical module on the equalization effect is considered. The equalization parameters of the equalizer at the transmitting end of the device and the equalizer in the linear direct-drive optical module are jointly tuned to meet the requirements of the Institute of Electrical and Electronics Engineers (IEEE) 802.3 for the test point (TP) 2-point index. Therefore, the configuration of the equalization parameters in the communication system including the linear direct-drive optical module is made more accurate, and the equalization performance of the communication system including the linear direct-drive optical module is improved.
[0006] In one possible implementation, the first equalizer and the second equalizer may be any type of equalizer capable of performing an equalization function. For example, the first equalizer may include a continuous time linear equalizer (CTLE) and / or a feed forward equalizer (FFE), and the second equalizer may include a CTLE and / or an FFE. As an example, the first equalizer may include a pattern-dependent look-up table (PDLUT) equalizer, an FFE, etc., and the second equalizer may include a CTLE. Optionally, the second equalizer may also include an analog FFE.
[0007] In a possible implementation, the device may include a physical layer (Physical, PHY), and the PHY chip may include: firmware (Firmware) or main control board control software, and the method is specifically executed by the firmware or the main control board control software.
[0008] In a possible implementation, before the device generates the first adjustment value and the second adjustment value according to the first mapping relationship, the method may further include: the device obtaining the first mapping relationship. In this way, a data basis is provided for the method provided in the embodiment of the present application.
[0009] As an example, the device obtains a first mapping relationship, which may include: the device adjusts the receiving-end equalizer of the device (i.e., the third equalizer) to obtain quality information of the reference electrical signal in the device; the device generates a first mapping relationship based on the quality information of the reference electrical signal and the quality information of the reference optical signal, where the reference electrical signal is converted from the reference optical signal. The reference electrical signal may refer to an electrical signal corresponding to the reference optical signal of the input linear direct-drive optical module, and the reference optical signal is an optical signal that meets the TP2 point indicator requirements in IEEE 802.3. In this way, by fixing the receiving-end equalizer of the device in a better working state, and based on this, the quality information of the reference optical signal that meets the TP2 point indicator requirements in IEEE 802.3 and the quality information of the reference electrical signal corresponding to the reference optical signal looped back to the device are obtained, and at least one set of first mapping relationships is generated, which prepares for the subsequent joint tuning of the equalization parameters of the first equalizer and the second equalizer.
[0010] TP2 metrics in IEEE 802.3 may include, but are not limited to, transmitter dispersion eye closure penalty (TDECQ) for PAM4 and / or extinction ratio (ER). If optical signal quality is represented by TDECQ, which is used to evaluate optical signal eye quality, electrical signal quality can be represented by any of the following metrics: bit error rate (BER), signal-noise ratio (SNR), or symbol error rate (SER). If optical signal quality is represented by ER, electrical signal quality can be represented by half eye height (HEH). It should be noted that there is a certain conversion relationship between BER, SNR, SER, and HEH.
[0011] In one possible implementation, the first mapping relationship may include a first sub-mapping relationship, in which the optical signal quality information is represented by TDECQ, and the electrical signal quality information is represented by any one of the following indicators: BER, SNR, or SER. That is, the first sub-mapping relationship includes at least one mapping relationship between TDECQ and BER, or the first sub-mapping relationship includes at least one mapping relationship between TDECQ and SNR, or the first sub-mapping relationship includes at least one mapping relationship between TDECQ and SER.
[0012] As an example, the method may also include: the device determines, based on the first sub-mapping relationship, the first quality information of the electrical signal in the device corresponding to the second quality information when the quality information of the optical signal output by the linear direct-drive optical module is the second quality information, wherein the second quality information is the TDECQ requirement of the communication protocol for the optical signal output by the linear direct-drive optical module. It can be seen that before obtaining the first adjustment value and the second adjustment value, the device can obtain the output optical signal that meets the TP2 point indicator requirements in IEEE 802.3, and the receiving end in the SerDes on the ASIC side of the device feeds back the corresponding quality threshold of the electrical signal (i.e., the first quality information), so that the first adjustment value and the second adjustment value are obtained based on the first quality information, with the purpose of ensuring that the optical signal output by the adjusted linear direct-drive optical module meets the TP2 point indicator requirements in IEEE 802.3, thereby ensuring good communication performance.
[0013] In one possible implementation, the first mapping relationship may further include a second sub-mapping relationship, in which the quality information of the optical signal is represented by ER, and the quality information of the electrical signal is represented by HEH, that is, the second sub-mapping relationship includes at least one set of mapping relationships between ER and HEH.
[0014] As an example, after the first equalizer of the device is adjusted according to the first adjustment value and the second equalizer of the linear direct-drive optical module is adjusted according to the second adjustment value, the method may also include: the device determines, based on the second sub-mapping relationship, the fourth quality information of the electrical signal in the device corresponding to when the quality information of the optical signal output by the linear direct-drive optical module is the third quality information, wherein the third quality information is the ER requirement of the communication protocol for the optical signal output by the linear direct-drive optical module; then, the device generates a third adjustment value based on the fourth quality information, and the third adjustment value is used to adjust the second equalizer; thereby, the device sends the third adjustment value to the linear direct-drive optical module. It can be seen that after the adjustment of the first adjustment value and the second adjustment value, considering that the value of HEH is more affected by the equalization parameters of the linear direct-drive optical module, the device can further obtain the output optical signal based on the second sub-mapping relationship, which meets the TP2 point indicator requirements in IEEE 802.3, and the receiving end in the SerDes on the ASIC side of the device feeds back the corresponding electrical signal quality threshold (i.e., the third quality information), as a basis for generating a third adjustment value for further adjusting the second equalizer, thereby completing further tuning of the equalization parameters, making the tuning of the equalization parameters of the transmitting end of the device and the linear direct-drive optical module faster and more accurate.
[0015] In one possible implementation, the method may further include: if the performance of the device and the linear direct-drive optical module are the same as the performance of the other end in the communication system, that is, the performance of the device at the local end is the same as that of the device at the other end and the performance of the linear direct-drive optical module at the local end is the same as that of the linear direct-drive optical module at the other end, then the device determines the first mapping relationship and further includes at least one mapping relationship that ignores the quality information of the optical signal output by the linear direct-drive optical module, that is, determining the first mapping relationship may further include a mapping relationship corresponding to when the quality of the electrical signal in the device is optimal (such as when the BER is minimized). In this way, a reliable data foundation is provided for the rapid and accurate tuning of equalization parameters in this specific scenario.
[0016] In one possible implementation, generating the first adjustment value and the second adjustment value based on the first mapping relationship may include: obtaining fifth quality information of the optical signal output by the linear direct-drive optical module and sixth quality information of the electrical signal in the device, under the condition that the first equalizer is at the first equalization value and the second equalizer is at the second equalization value; and generating the first adjustment value and the second adjustment value based on the fifth quality information and the sixth quality information. The first equalization value may be an initial value of the first equalizer, and the second equalization value may be an initial value of the second equalizer; or the first equalization value may be an equalization value of the first equalizer after the i-th tuning, and the second equalization value may be an equalization value of the second equalizer after the i-th tuning, where i is an integer greater than 1. In this way, if the quality indicated by the fifth quality information is worse than the quality indicated by the first quality information, and / or the quality indicated by the sixth quality information is worse than the quality indicated by the second quality information, then configuring the generated first adjustment value and the second adjustment value to the first equalizer and the second equalizer, respectively, can improve the quality of the optical signal output by the linear direct-drive optical module and the quality of the electrical signal in the device.
[0017] In one possible implementation, the device adjusts the first equalizer according to the first adjustment value in a manner that can be: Mode 1: the device adjusts the equalization parameter of the first equalizer from the first equalization value to the first adjustment value, where the first adjustment value in Mode 1 may refer to the value to which the equalization parameter of the first equalizer needs to be adjusted; or Mode 2: the device adjusts the equalization parameter of the first equalizer from the first equalization value to a third equalization value, where the third equalization value is determined based on the first equalization value and the first adjustment value, where the first adjustment value in Mode 2 may refer to the value to which the equalization parameter of the first equalizer needs to be adjusted from the currently configured value (i.e., the first equalization value). In this way, the device adjusts the first equalizer according to the first adjustment value, so that the value of the equalization parameter on the first equalizer is more optimized, and the optical signal output from the device through the linear direct drive optical module meets the IEEE 802.3 requirements for the TP2 point indicator as much as possible.
[0018] In one possible implementation, if the equalization parameter of the first equalizer after adjustment according to the first adjustment value is recorded as a fourth equalization value, and the equalization parameter of the second equalizer after adjustment according to the second adjustment value is recorded as a fifth equalization value, then the method may further include: under the condition that the first equalizer is the fourth equalization value and the second equalizer is the fifth equalization value, the device obtains seventh quality information of its own electrical signal, and determines whether the quality indicated by the seventh quality information meets the communication requirements. If so, generating indication information indicating that the tuning of the equalization parameter is complete; if not, the device generates fourth and fifth adjustment values according to the first mapping relationship, adjusts the first equalizer according to the fourth adjustment value, and sends the fifth adjustment value to the linear direct drive optical module. The fourth adjustment value is used to continue adjusting the first equalizer, and the fifth adjustment value is used to continue adjusting the second equalizer. In this way, according to the first mapping relationship, by jointly tuning the equalization parameters of the first and second equalizers at least once, the electrical signal in the device meets the communication requirements, thereby achieving the purpose of ensuring that the optical signal output from the device through the linear direct drive optical module meets the IEEE 802.3 requirements for the TP2 point.
[0019] In one possible implementation, a device generates a first adjustment value and a second adjustment value based on a first mapping relationship, which may include: first, the device groups multiple equalization parameters based on their impact on equalization performance in a communication system, wherein the multiple equalization parameters to be configured in the first equalizer and the second equalizer are grouped to obtain multiple parameter sets, wherein the multiple parameter sets include at least a first parameter set, which is an important parameter set among the multiple equalization parameters; then, the device downsamples a first parameter belonging to the first parameter set to obtain first downsampled data of the first parameter; then, the device determines a first-generation tuning value of the first parameter based on the first downsampled data and eighth quality information of an electrical signal in the device, wherein the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data; and then, the device determines the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter. In this way, the device can improve the efficiency of joint tuning of equalization parameters by rationally grouping the equalization parameters and downsampling important parameters.
[0020] As an example, the device determines the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter, which may include: the device obtains the first candidate data of the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter, wherein the first candidate data is the value of the first parameter centered on the first-generation tuning value of the first parameter and the number corresponds to the first deviation range; the device determines the second-generation tuning value of the first parameter based on the first candidate data and the ninth quality information in the electrical signal in the device, wherein the ninth quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data; the device updates the first-generation tuning value based on the second-generation tuning value to generate the first adjustment value and the second adjustment value. In this way, the device can only perform first-generation tuning (i.e., tuning corresponding to downsampling) and several second-generation tunings (i.e., deviation tuning) on the important parameters in the equalization parameters to be configured that belong to the important parameter set, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters of the first equalizer and the second equalizer are configured based on the tuning results. By scanning fewer parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0021] As another example, the multiple parameter sets in this implementation may also include a second parameter set, which is a non-important parameter set in the parameters of the equalizer. Then, after the device determines the first-generation tuning value of the first parameter, the method may also include: the device downsamples the second parameter in the second parameter set to obtain second downsampled data of the second parameter; the device determines the first-generation tuning value of the second parameter based on the first-generation tuning value of the first parameter, the second downsampled data and the tenth quality information in the electrical signal in the device, where the tenth quality information is used to characterize the quality of the electrical signal corresponding to the second downsampled data; then, in this example, the device determines the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter, which may include: determining the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter and the first-generation tuning value of the second parameter. In this way, the device can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, and perform several second-generation tunings on important parameters belonging to an important parameter set among the equalization parameters to be configured, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters in the first equalizer and the second equalizer are configured based on the tuning results. By scanning fewer parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0022] As another example, after the device determines the second-generation tuning value of the first parameter, the method may also include: the device obtains second candidate data of the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, the second candidate data being values of the second parameter centered on the first-generation tuning value of the second parameter and the number corresponding to the second deviation range; the device determines the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data and the eleventh quality information in the electrical signal in the device, the eleventh quality information being used to characterize the quality of the electrical signal corresponding to the second candidate data; then, in this example, the device determines the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter, which may include: the device determines the first adjustment value and the second adjustment value based on the second-generation tuning value of the first parameter and the second-generation tuning value of the second parameter. In this way, the device can perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the equalization parameters to be configured, perform several second-generation tunings on important parameters belonging to an important parameter set, and perform several second-generation tunings on unimportant parameters belonging to an unimportant parameter set, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters of the first equalizer and the second equalizer are configured based on the tuning results. By scanning fewer parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0023] In one possible implementation, this method can be applied to a scenario where a linear direct-drive optical module self-loops. The method may further include: a device sends a first signal; the first signal sequentially passes through the linear direct-drive optical module and a fiber loopback device, returning to the linear direct-drive optical module, and the linear direct-drive optical module receives a second signal corresponding to the first signal. The fiber loopback device is used to loop back the transmitting end of the optical signal of the linear direct-drive optical module to the receiving end of the optical signal of the linear direct-drive optical module. In this way, there is no need to pay attention to the opposite device and optical module in the communication system, providing conditions for independent tuning of the device after connecting to the linear direct-drive optical module, making it possible to quickly and accurately tune the equalization parameters after the device is connected to the linear direct-drive optical module.
[0024] In the second aspect, the present application also provides a device for tuning equalization parameters, characterized in that it is applied to a device, the device communicates with a linear direct-drive optical module, the device includes a first equalizer, the linear direct-drive optical module includes a second equalizer, and the device may include: a first generating unit, a first adjusting unit, and a first sending unit. The first generating unit is used to generate a first adjustment value and a second adjustment value according to a first mapping relationship, the first mapping relationship is a mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device, the electrical signal is obtained by converting the optical signal, the first adjustment value is used to adjust the first equalizer, and the second adjustment value is used to adjust the second equalizer; the first adjusting unit is used to adjust the first equalizer according to the first adjustment value, the first equalizer is a transmitting end equalizer of the device; the first sending unit is used to send the second adjustment value to the linear direct-drive optical module.
[0025] In one possible implementation, the apparatus may further include: a second adjustment unit and a second generation unit. The second adjustment unit is configured to adjust a third equalizer to obtain quality information of a reference electrical signal in the device before generating the first adjustment value and the second adjustment value based on the first mapping relationship, where the third equalizer is a receiving-end equalizer of the device; and the second generation unit is configured to generate the first mapping relationship based on the quality information of the reference electrical signal and the quality information of the reference optical signal, where the reference electrical signal is converted from the reference optical signal.
[0026] As an example, the first mapping relationship includes a first sub-mapping relationship, in which the quality information of the optical signal is represented by TDECQ, and the quality information of the electrical signal is represented by any one of the following indicators: BER, SNR, or SER. In this example, the device may also include: a first determination unit, the first determination unit being configured to determine, based on the first sub-mapping relationship, first quality information of the electrical signal in the corresponding device when the quality information of the optical signal output by the linear direct-drive optical module is second quality information, where the second quality information is the TDECQ requirement of the communication protocol for the optical signal output by the linear direct-drive optical module.
[0027] As another example, the first mapping relationship also includes a second sub-mapping relationship, in which the quality information of the optical signal is represented by ER, and the quality information of the electrical signal is represented by HEH. In this example, the device may also include: a second determination unit, a third generation unit, and a second sending unit. The second determination unit is used to determine, according to the second sub-mapping relationship, after the first equalizer is adjusted according to the first adjustment value and the second equalizer is adjusted according to the second adjustment value, the fourth quality information of the electrical signal in the corresponding device when the quality information of the optical signal output by the linear direct-drive optical module is the third quality information, and the third quality information is the ER requirement of the communication protocol for the optical signal output by the linear direct-drive optical module; the third generation unit is used to generate a third adjustment value according to the fourth quality information, and the third adjustment value is used to adjust the second equalizer; and the second sending unit is used to send the third adjustment value to the linear direct-drive optical module.
[0028] In one possible implementation, the device may also include: a third determination unit, which is used to determine that the first mapping relationship includes a mapping relationship corresponding to the best quality of the electrical signal in the device if the performance of the device and the linear direct-drive optical module are the same as the performance of the counterpart in the communication system.
[0029] In one possible implementation, the first generation unit may include: an acquisition subunit and a generation subunit. The acquisition subunit is configured to acquire fifth quality information of an optical signal output by the linear direct-drive optical module and sixth quality information of an electrical signal in the device under the condition that the first equalizer is at a first equalization value and the second equalizer is at a second equalization value; and the generation subunit is configured to generate a first adjustment value and a second adjustment value based on the fifth quality information and the sixth quality information.
[0030] In one possible implementation, the first adjustment unit is specifically used to adjust the equalization parameter of the first equalizer from the first equalization value to the first adjustment value; or, the first adjustment unit is specifically used to adjust the equalization parameter of the first equalizer from the first equalization value to a third equalization value, where the third equalization value is determined based on the first equalization value and the first adjustment value.
[0031] In one possible implementation, the apparatus may further include: a first acquisition unit and a fourth generation unit. The first acquisition unit is configured to acquire seventh quality information of the electrical signal in the device under the condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, where the fourth equalization value is a value adjusted by the first equalizer according to the first adjustment value, and the fifth equalization value is a value adjusted by the second equalizer according to the second adjustment value; and the fourth generation unit is configured to generate indication information if the quality indicated by the seventh quality information meets communication requirements, the indication information being used to indicate that tuning of the equalization parameters is complete.
[0032] In one possible implementation, the apparatus may further include: a second acquisition unit, a fifth generation unit, a third adjustment unit, and a third sending unit. The second acquisition unit is configured to acquire seventh quality information of the electrical signal in the device under the condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, wherein the fourth equalization value is the value after the first equalizer adjusts according to the first adjustment value, and the fifth equalization value is the value after the second equalizer adjusts according to the second adjustment value; the fifth generation unit is configured to generate a fourth adjustment value and a fifth adjustment value according to the first mapping relationship if the quality indicated by the seventh quality information does not meet communication requirements, wherein the fourth adjustment value is used to adjust the first equalizer and the fifth adjustment value is used to adjust the second equalizer; the third adjustment unit is configured to adjust the first equalizer according to the fourth adjustment value; and the third sending unit is configured to send the fifth adjustment value to the linear direct drive optical module.
[0033] In one possible implementation, the first generation unit includes: a grouping subunit, a first downsampling subunit, and a first determination subunit and a second determination subunit. The grouping subunit is configured to group multiple equalization parameters to be configured in the first equalizer and the second equalizer based on their impact on equalization performance in the communication system, thereby obtaining multiple parameter sets, wherein the multiple parameter sets include at least a first parameter set, which is an important parameter set among the multiple equalization parameters; the first downsampling subunit is configured to downsample a first parameter belonging to the first parameter set to obtain first downsampled data of the first parameter; the first determination subunit is configured to determine a first-generation tuning value of the first parameter based on the first downsampled data and eighth quality information of an electrical signal in a device, wherein the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data; and the second determination subunit is configured to determine a first adjustment value and a second adjustment value based on the first-generation tuning value of the first parameter.
[0034] As an example, the second determination subunit is specifically used to: obtain first candidate data of the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter, the first candidate data being the value of the first parameter centered on the first-generation tuning value of the first parameter and the number corresponding to the first deviation range; determine the second-generation tuning value of the first parameter based on the first candidate data and the ninth quality information in the electrical signal in the device, the ninth quality information being used to characterize the quality of the electrical signal corresponding to the first candidate data; update the first-generation tuning value based on the second-generation tuning value to generate a first adjustment value and a second adjustment value.
[0035] As an example, the multiple parameter sets also include a second parameter set, which is a non-important parameter set among the parameters of the equalizer. The first generation unit of the device may also include: a second downsampling subunit and a third determination subunit. The second downsampling subunit is configured to, after determining the first-generation tuning value of the first parameter, downsample the second parameter in the second parameter set to obtain second downsampled data of the second parameter; the third determination subunit is configured to determine the first-generation tuning value of the second parameter based on the first-generation tuning value of the first parameter, the second downsampled data, and tenth quality information in the electrical signal in the device, the tenth quality information being used to characterize the quality of the electrical signal corresponding to the second downsampled data. The second determination subunit is specifically configured to determine the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter and the first-generation tuning value of the second parameter.
[0036] As an example, the first generation unit of the device may further include: a fourth determination subunit and a fifth determination subunit. The fourth determination subunit is configured to, after determining the second-generation tuning value of the first parameter, obtain second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, the second candidate data being values of the second parameter centered on the first-generation tuning value of the second parameter and corresponding in number to the second deviation range; the fifth determination subunit is configured to determine the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and eleventh quality information in the electrical signal in the device, the eleventh quality information being used to characterize the quality of the electrical signal corresponding to the second candidate data. The second determination subunit is specifically configured to determine the first adjustment value and the second adjustment value based on the second-generation tuning value of the first parameter and the second-generation tuning value of the second parameter.
[0037] In one possible implementation, the device may further include: a fourth sending unit and a receiving unit. The fourth sending unit is configured to send a first signal; the receiving unit is configured to sequentially receive a second signal corresponding to the first signal through the linear direct-drive optical module, the optical fiber loopback device, and the linear direct-drive optical module, wherein the optical fiber loopback device is configured to loop back the optical signal sending end of the linear direct-drive optical module to the optical signal receiving end of the linear direct-drive optical module.
[0038] It should be noted that, for the relevant description of the device for tuning the equalization parameters in the second aspect, refer to the corresponding description of the first aspect.
[0039] In a third aspect, the present application provides a chip comprising an interface circuit and a processor;
[0040] An interface circuit for receiving instructions and transmitting them to a processor;
[0041] A processor is used to execute the method provided by the above-mentioned first aspect or any possible implementation of the first aspect.
[0042] In a fourth aspect, the present application further provides a chip, the chip comprising a processor and a memory;
[0043] a memory for storing instructions;
[0044] The processor is configured to execute the instructions in the memory and perform the method provided by the first aspect or any possible implementation of the first aspect.
[0045] In a fifth aspect, the present application further provides a device that communicates with a linear direct-drive optical module, the device including a first equalizer, and the linear direct-drive optical module including a second equalizer;
[0046] A device is used to execute the method provided by the first aspect or any possible implementation of the first aspect to tune parameters of the first equalizer and the second equalizer.
[0047] In a sixth aspect, the present application further provides a device, the device comprising a memory and a processor;
[0048] a memory for storing instructions;
[0049] The processor is configured to execute the instructions in the memory and perform the method provided by the first aspect or any possible implementation of the first aspect.
[0050] In a seventh aspect, the present application further provides a communication system, the communication system comprising a device and a linear direct drive optical module, the device comprising a first equalizer, and the linear direct drive optical module comprising a second equalizer;
[0051] A device is used to execute the method provided by the first aspect or any possible implementation of the first aspect to tune parameters of the first equalizer and the second equalizer.
[0052] In an eighth aspect, the present application further provides a storage medium storing instructions, which, when executed on a processor, implement the method provided in the first aspect or any possible implementation of the first aspect.
[0053] In a ninth aspect, the present application further provides a program product, which includes a program. When the program runs on a processor, it implements the method provided by the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] FIG1 is a schematic diagram of a conventional optical module according to an embodiment of the present application;
[0055] FIG2 is a schematic diagram of a linear direct-drive optical module according to an embodiment of the present application;
[0056] FIG3 is a schematic diagram of a loopback scenario in an embodiment of the present application;
[0057] FIG4 is a flow chart of a method 100 for tuning equalization parameters according to an embodiment of the present application;
[0058] FIG5 is a schematic flow chart of an example corresponding to method 100 in an embodiment of the present application;
[0059] FIG6 is a schematic structural diagram of a communication device 600 according to an embodiment of the present application;
[0060] FIG7 is a schematic structural diagram of a communication device 700 according to an embodiment of the present application;
[0061] FIG8 is a schematic structural diagram of a communication system 800 in an embodiment of the present application. DETAILED DESCRIPTION
[0062] With the continuous improvement of network user demand and the continuous increase in data traffic, the cost, bandwidth density, and energy consumption of high-speed interconnected communication systems are also rising rapidly. Saving costs, bandwidth density, and reducing power consumption have become the goals to be pursued in the next development of communication systems. In high-speed interconnected optical communication systems, high-speed optical modules are an indispensable part to ensure communication quality. High-speed optical modules can include traditional optical modules and linear direct drive optical modules.
[0063] For example, as shown in Figure 1, a traditional optical module includes at least an oDSP, a laser driver (Laser DRV), a laser, a photodiode (PD), and a trans-impedance amplifier (TIA). The oDSP consumes significant power, accounting for over 50% of the power consumption of a traditional optical module. Furthermore, the oDSP is also expensive. This has led to the emergence of linear direct-drive optical modules (also known as linear optical modules). Because linear direct-drive optical modules use a linear optical engine interface to connect to devices, which offers significant advantages in power consumption, cost, and latency, they are likely to be widely used in future high-speed interconnected communication systems.
[0064] For another example, the linear direct-drive optical module is shown in Figure 2 and includes at least: Laser DRV, Laser, PD and TIA. Compared with traditional optical modules, the linear direct-drive optical module removes the oDSP and offloads the equalization capability of the oDSP to its own Laser DRV and the SerDes on the proprietary integrated circuit (Application-specific Integrated Circuit, ASIC) side of the device connected to the linear direct-drive optical module. Specifically, as shown in Figure 2, the linear direct-drive optical module can integrate CTLE to compensate for channel damage. Moreover, the SerDes on the ASIC side of the device connected to the linear direct-drive optical module includes FFE, which reduces the BER of the link through stronger equalization performance. There are many equalization parameters to be configured and they are mutually coupled. It is necessary to consider the impact of each equalization parameter on the end-to-end communication link.
[0065] In a communication system, one end of an optical module 1 is connected to a device 2 as a sender, and the other end is connected to an optical module 3 of a receiver via a cable, and is connected to a device 4 as a receiver via the optical module 3 of the receiver. Wherein, optical module 1 and device 2 serve as a sender, and optical module 3 and device 4 serve as a receiver. Since the performance of the sender has a greater impact on the bit error rate of the receiver, before the communication system performs service transmission, it is necessary to tune and calibrate the equalization parameters of the sender to ensure that the performance of the sender meets the requirements of the TP point index in IEEE 802.3. Therefore, whether it is a traditional optical module or a linear direct-drive optical module, for the above-mentioned communication system, it is necessary to calibrate the equalization parameters of the sender, and the performance of the sender meets the requirements of the TP point index in IEEE 802.3. Taking the TP point index as the TP2 point (i.e., the light output point of the optical module 1) index as an example, after the equalization parameter calibration is required, the quality of the optical signal output by the optical module 1 meets the requirements of the TP2 point index in IEEE 802.3. It should be noted that, in the embodiment of the present application, the TP point index is described as the TP2 point index. The calibration may be understood as configuring the result of tuning the equalization parameters to the corresponding equalization parameters, so that the value of each equalization parameter is the result corresponding to the tuned equalization parameter.
[0066] If optical module 1 is a traditional optical module 1 with an oDSP chip, the process of calibrating the equalization parameters of the transmitter can be understood as follows: Phase 1: The module manufacturer calibrates the equalization parameters of the traditional optical module 1 before it leaves the factory. Phase 2: After leaving the factory, when the traditional optical module 1 is connected to device 2 as a transmitter, the tap coefficient of the transmitter FEE (TX_FEE) of the SerDes on the ASIC side of device 2 is configured to ensure that the quality of the optical signal output by the traditional optical module 1 meets the TP2 point indicator requirements of IEEE 802.3.
[0067] However, in the case where optical module 1 is a linear direct-drive optical module 1, since the oDSP chip is eliminated from the linear direct-drive optical module 1, the equalization capability within the linear direct-drive optical module 1 is moved forward to the SerDes on the ASIC side of device 2. Furthermore, the CTLE integrated in the DRV in the linear direct-drive optical module 1 also compensates for channel impairments. Therefore, on the one hand, the equalization link at the transmitter end of the above-mentioned communication system becomes longer, which increases the equalization difficulty under the same conditions. To ensure that the calibration results of the equalization parameters at the transmitter end meet the TP2 point indicator requirements of IEEE 802.3, the calibration of the equalization parameters at the transmitter end needs to be performed jointly. That is, the equalization parameters of the SerDes on the ASIC side of device 2 and the equalization parameters of the DRV in the linear direct-drive optical module 1 need to be jointly optimized. On the other hand, each lane on the ASIC side of device 2 can be connected to a different linear direct-drive optical module 1, and each lane has a different size. Therefore, it is meaningless to calibrate the linear direct-drive optical module 1 separately. Therefore, the current method for tuning the equalization parameters of the transmitter using traditional optical modules is not applicable to the tuning of the equalization parameters of the transmitter using linear direct-drive optical modules. Jointly tuning the equalization parameters of the devices in the transmitter of the communication system and the linear direct-drive optical modules to achieve rapid and timely calibration of the equalization parameters of the transmitter to meet the requirements of the TP2 point indicator in IEEE 802.3 is an urgent problem to be solved.
[0068] Based on this, an embodiment of the present application provides a method for tuning equalization parameters, and a device that executes the method communicates with a linear direct-drive optical module. The device may include a transmitting-end equalizer of the device - a first equalizer, and the linear direct-drive optical module may include a second equalizer. The tuning process of the equalization parameters may include: after the device generates a first adjustment value and a second adjustment value according to a first mapping relationship, it not only adjusts the first equalizer according to the first adjustment value, but also sends the second adjustment value to the linear direct-drive optical module so that the linear direct-drive optical module adjusts the second equalizer according to the second adjustment value. The first mapping relationship is a mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device, and the electrical signal in the device is obtained by converting the optical signal output by the linear direct-drive optical module. In this way, by connecting the linear direct-drive optical module to the device in the actual operation scenario, according to the mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device obtained by converting the optical signal, considering the joint influence of the linear direct-drive optical module in the existing network and the SerDes on the ASIC side of the device on the equalization effect, the equalization parameters of the linear direct-drive optical module and the equalizer at the transmitting end in the device are jointly tuned to meet the requirements of the TP2 point indicator in IEEE 802.3, thereby making the configuration of the equalization parameters in the communication system including the linear direct-drive optical module more accurate and improving the equalization performance of the communication system including the linear direct-drive optical module.
[0069] As an example, the method provided in the embodiment of the present application can be applicable to: when a linear direct-drive optical module connected to a device is in a self-loopback scenario, the equalization parameters of the device and the linear direct-drive optical module are jointly tuned.
[0070] For example, as shown in FIG3 , the scenario applicable to the embodiment of the present application may include at least: a device 10, a linear direct-drive optical module 20, and a fiber loopback device 30. The device 10 may include: a SerDes 11 on the ASIC side (denoted as ASIC_SerDes 11 in FIG3 ). Taking the example of 4 channels on both the TX and the receiver (RX), the ASIC_SerDes 11 may be connected to TX 10 to TX 13 of the linear direct-drive optical module 20 via TX 0 to TX 3, respectively, and receive signals from RX 10 to RX 13 of the linear direct-drive optical module 20 via RX 0 to RX 3, respectively. The linear direct-drive optical module 20 may include a laser drive array 21, a laser array 22, a detector array 23, and a TIA array 24. Signals output by TX10 to TX13 of the linear direct-drive optical module 20 are sequentially output to TX20 to TX23 of the linear direct-drive optical module 20 through the laser drive array 21 and the laser array 22. Signals received by RX20 to RX23 of the linear direct-drive optical module 20 are sequentially output to RX10 to RX13 of the linear direct-drive optical module 20 through the detector array 23 and the TIA array 24. An optical fiber loopback device 30 connects TX20 to TX23 of the linear direct-drive optical module 20 to RX20 to RX23 of the linear direct-drive optical module 20, respectively. For example, TX20 is connected to RX20, TX21 is connected to RX21, TX22 is connected to RX22, and TX23 is connected to RX23. In this way, the equalization parameters of the device 10 and the linear direct-drive optical module 20 can be jointly tuned through the self-loopback method of the linear direct-drive optical module without relying on the opposite device and the opposite optical module in the communication system, thereby achieving convenient, fast and accurate tuning of the equalization parameters in the communication system.
[0071] It should be noted that linear direct-drive optical modules are usually equipped with dust caps when leaving the factory. The fiber optic loopback device in the embodiment of the present application can be used as a fiber optic loopback cap or other fiber optic loopback device with a dust cap function, and is equipped on the linear direct-drive optical module when leaving the factory. When the linear direct-drive optical module is connected to the ASIC_SerDes of the user's device, the fiber optic loopback device provided by the linear direct-drive optical module can be used to implement the method for tuning the equalization parameters provided in the embodiment of the present application. For example, through the feedback information on the RX side of the ASIC_SerDes, the equalization parameters of the device and the linear direct-drive optical module can be jointly tuned, thereby completing the online calibration of the device and the linear direct-drive optical module when meeting the TP2 point indicator requirements in IEEE 802.3.
[0072] In the embodiments of the present application, a device (also referred to as a communication device) may be a network device or a terminal device. A network device may be, for example, a switch, router, or firewall, and a terminal device may be, for example, a user host or a vehicle-side host. For the self-loopback scenario of a linear direct-drive optical module, the device executing the method provided in the embodiments of the present application may be device 10 in FIG. 3 . Specifically, the device for executing the method provided in the embodiment of the present application may include: a PHY chip, which may include: firmware or main control board control software, wherein the firmware can be understood as the operating system of the SerDes, and the firmware is a control software in the PHY chip, which can be deployed in the microcontroller unit (MCU) of the SerDes, and its functions include: controlling the registers in the equalizer of the SerDes, and the firmware can execute the method provided in the embodiment of the present application; the device where the PHY is located includes a main control board and multiple line cards, the main control board is used to control each line card, and the main control board control software can execute the method provided in the embodiment of the present application, and send the obtained tuning results through the main control board, and use the protocol or other channels to control the PMD layer (that is, the registers of the SerDes, etc.) to achieve downward configuration of the tuning results.
[0073] It should be noted that during the installation and networking phase of a communication system, the method provided in the embodiments of this application can be executed to tune and configure the equalization parameters of the equalizer in the communication system, thereby preparing for operation of the communication system. The method provided in the embodiments of this application can also accelerate the link training process, making link training more efficient.
[0074] In order to introduce the embodiments of the present application more clearly, the method provided in the embodiments of the present application is described below with reference to the accompanying drawings.
[0075] Figure 4 is a flow chart of a method 100 for tuning equalization parameters provided in an embodiment of the present application. In the method 100, the embodiment of the present application is introduced with a device connected to a linear direct-drive optical module as the execution subject, and the tuned equalization parameters belong to the first equalizer of the transmitting end of the device and the second equalizer of the linear direct-drive optical module. The first equalizer may include CTLE and / or FFE, and the second equalizer may include CTLE and / or FFE. The device may be, for example, the device 2 mentioned above, and the linear direct-drive optical module corresponds to the linear direct-drive optical module 1; or, the device may be, for example, the device 10 shown in Figure 3, and the linear direct-drive optical module corresponds to the linear direct-drive optical module 20. Alternatively, the method 100 may also be understood to be implemented by the PHY in the device, and specifically, the method 100 may be implemented by the firmware in the PHY of the device or the main control board control software.
[0076] As shown in FIG4 , the method 100 may include, for example, the following steps S101 to S103 :
[0077] S101, generating a first adjustment value and a second adjustment value according to a first mapping relationship, wherein the first mapping relationship is a mapping relationship between quality information of an optical signal output by a linear direct drive optical module and quality information of an electrical signal in a device, and the electrical signal in the device is obtained by converting the optical signal output by the linear direct drive optical module.
[0078] The first mapping relationship may refer to at least one mapping relationship between quality information of the optical signal output by the linear direct drive optical module and quality information of the electrical signal generated when the optical signal is looped back to the device. The first mapping relationship is the basis for tuning the equalization parameters of the first equalizer and the second equalizer.
[0079] Before S101, the embodiment of the present application may further include: S100, generating a first mapping relationship.
[0080] In some possible implementations, S100 may include, for example: S100a, adjusting the receiving-end equalizer of the device, namely the third equalizer, to obtain quality information of the reference electrical signal in the device; S100b, generating a first mapping relationship based on the quality information of the reference electrical signal and the quality information of the reference optical signal, wherein the reference electrical signal is converted from the reference optical signal. In this way, by fixing the receiving-end equalizer of the device in a better working state, on this basis, the quality information of the reference optical signal that meets the TP2 point indicator requirements in IEEE 802.3 and the quality information of the reference electrical signal corresponding to the reference optical signal looped back to the device are obtained, and at least one set of first mapping relationships is generated, thereby preparing for the subsequent joint tuning of the equalization parameters of the first equalizer and the second equalizer. Among them, the reference electrical signal in S100a refers to the electrical signal corresponding to the reference optical signal of the input linear direct-drive optical module, and the reference optical signal is an optical signal that meets the TP2 point indicator requirements in IEEE 802.3. This example is applicable to the scenario of self-loopback of the linear direct-drive optical module.
[0081] For S100a, a reference light source can be used to calibrate the receiver equalizer of the linear direct-drive optical module and the receiver equalizer in the SerDes on the ASIC side of the device, allowing the receiver to be treated as a reference receiver and operate in an optimal working state. The reference light source can refer to a light source that can output signals that meet the TP2 point specification requirements, such as a traditional optical module or a laser. Since the PD and TIA bandwidth of the linear direct-drive optical module's receiver are sufficient, as long as the PD is biased at the operating point and the TIA is set to an output swing, the PD and TIA at the linear direct-drive optical module's receiver will not significantly affect the communication link. Therefore, the reference light source is used to calibrate the receiver equalizer of the linear direct-drive optical module and the receiver equalizer in the SerDes on the ASIC side of the device, with the focus on calibrating the receiver equalizer in the SerDes on the ASIC side of the device. The receiver of the SerDes on the ASIC side of the device integrates equalizers such as a CTLE, a clock data recovery equalizer (CDR_FFE), an FFE, and a decision feedback equalizer (DFE) to provide equalization capabilities. The CDR_FFE, FFE, and DFE can utilize adaptive algorithms. Therefore, using a reference light source to calibrate the receiver equalizer of the linear direct-drive optical module and the receiver equalizer of the SerDes on the ASIC side of the device essentially involves calibrating the CTLE of the SerDes on the ASIC side of the device using the reference light source. Calibration of the CTLE of the SerDes on the ASIC side of the device can, for example, be based on the BER, SNR, or SER feedback from the SerDes on the ASIC side of the device. The parameters of the CTLE of the SerDes on the ASIC side of the device, which are those that achieve the best quality of the electrical signal in the device (e.g., the lowest BER), are configured on the CTLE, serving as the final calibration result for the CTLE of the SerDes on the ASIC side of the device. It should be noted that the CTLE at the receiving end of the SerDes on the ASIC side of the device is used to compensate for damage to the communication link.
[0082] For S100b, upon completing the calibration of the linear direct-drive optical module's receiver equalizer and the device's ASIC-side SerDes receiver equalizer in S100a, optical signals of varying quality can be input into the linear direct-drive optical module's receiver and passed through the device's ASIC-side SerDes receiver. The device's ASIC-side SerDes receiver then provides feedback on the quality of the corresponding electrical signals, thereby generating a mapping relationship between the optical signal quality information and the corresponding electrical signal quality information. In one scenario, the optical signal input to the linear direct-drive optical module may be an optical signal whose quality meets the IEEE 802.3 requirements for the TP2 point. In this case, all generated mapping relationships can be recorded as first mapping relationships. In another scenario, the optical signal input to the linear direct-drive optical module may include an optical signal whose quality does not meet the IEEE 802.3 requirements for the TP2 point. In this case, among all generated mapping relationships, a mapping relationship including an optical signal whose quality meets the IEEE 802.3 requirements for the TP2 point can be selected and recorded as the first mapping relationship.
[0083] TP2 metrics in IEEE 802.3 may include, but are not limited to, TDECQ and / or ER. If optical signal quality is represented by TDECQ, which is used to evaluate the quality of optical signal eye diagrams, electrical signal quality can be represented by any of the following metrics: BER, SNR, or SER. If optical signal quality is represented by ER, electrical signal quality can be represented by HEH. It should be noted that there is a certain conversion relationship between BER, SNR, SER, and HEH.
[0084] As an example, the first mapping relationship may include a first sub-mapping relationship, wherein the first sub-mapping relationship includes at least one mapping relationship between TDECQ and BER, or the first sub-mapping relationship includes at least one mapping relationship between TDECQ and SNR, or the first sub-mapping relationship includes at least one mapping relationship between TDECQ and SER. After S100b and before S101, the method 100 may further include: determining, based on the first sub-mapping relationship, first quality information of an electrical signal in a corresponding device when the quality information of the optical signal output by the linear direct-drive optical module is second quality information, where the second quality information is the TDECQ requirement of the communication protocol for the optical signal output by the linear direct-drive optical module.
[0085] Taking the first sub-mapping relationship including at least one mapping relationship between TDECQ and SNR as an example, the first sub-mapping relationship may be shown in the following Table 1, for example:
[0086] Table 1
[0087] Where n can be an integer greater than or equal to 1. TDECQ 1, TDECQ 2, ..., TDECQ n are all TDECQ values that meet the TP2 point indicator requirements in IEEE 802.3. For example, TDECQ 1 can be the maximum value of TDECQ that meets the TP2 point indicator requirements in IEEE 802.3. That is, TDECQ 1 is the second quality information, SNR 1 is the first quality information, and SNR 1 is the quality threshold for the optical signal output by the linear direct drive optical module after it is connected to the device, so that the receiving end in the SerDes on the ASIC side of the device feeds back the corresponding electrical signal. In other words, the other SNRs in the first sub-mapping relationship need to be greater than SNR 1 to ensure that the TDECQ values corresponding to the other SNRs meet the TP2 point indicator requirements in IEEE 802.3. It should be noted that a higher SNR indicates better signal quality, and a smaller TDECQ indicates better signal quality.
[0088] As another example, the first mapping relationship may further include a second sub-mapping relationship, where the second sub-mapping relationship includes at least one mapping relationship between ER and HEH. After S100b, the method 100 may further include: determining, based on the second sub-mapping relationship, fourth quality information of the electrical signal in the device corresponding to when the quality information of the optical signal output by the linear direct-drive optical module is third quality information, where the third quality information is the ER requirement of the optical signal output by the linear direct-drive optical module as required by the communication protocol.
[0089] The second sub-mapping relationship may be shown in the following Table 2, for example:
[0090] Table 2
[0091] Wherein, m can be an integer greater than or equal to 1. ER 1, ER 2, ..., ER m are all ER values that meet the TP2 point indicator requirements in IEEE 802.3. For example, ER 1 can be the minimum ER value that meets the TP2 point indicator requirements in IEEE 802.3. That is, ER 1 is the third quality information, HEH 1 is the fourth quality information, and HEH 1 is the quality threshold for the optical signal output by the linear direct drive optical module after it is connected to the device, so that the optical signal meets the TP2 point indicator requirements in IEEE 802.3 and the receiving end in the SerDes on the ASIC side of the device feeds back the corresponding electrical signal. In other words, the other HEHs in the second sub-mapping relationship need to be greater than HEH 1 to ensure that the ER values corresponding to the other HEHs meet the TP2 point indicator requirements in IEEE 802.3.
[0092] It should be noted that S100a and S100b in S100 can be implemented during the network deployment phase or the maintenance phase of the existing network; they can be performed by the optical module manufacturer, PHY chip manufacturer, or equipment manufacturer. Since S100 is performed using a reference light source, the implementation of method 100 does not require calibration of the reference light source. It only requires connecting the linear direct-drive optical module to the user's device and completing the tuning of the equalization parameters of the device and the linear direct-drive optical module.
[0093] In some other possible implementations, S100 may also pre-configure the first mapping relationship based on experience, or may generate the first mapping relationship based on a generation model such as a neural network, which is not specifically described in the embodiments of the present application.
[0094] If the first mapping relationship includes a first sub-mapping relationship, S101 may, for example, include: generating a first adjustment value and a second adjustment value based on an empirical value, a preset rule, or an algorithm. For the specific manner of generating the first adjustment value and the second adjustment value in S101, please refer to the relevant description of the following method 200.
[0095] If the first mapping relationship also includes a second sub-mapping relationship, after S103 described below, method 100 may further include: generating a third adjustment value based on the fourth quality information, and sending the third adjustment value to the linear direct-drive optical module. The third adjustment value is used to adjust the second equalizer of the linear direct-drive optical module. In this way, the second sub-mapping relationship is used to further tune the equalization parameters, making the tuning of the equalization parameters of the device and the transmitter of the linear direct-drive optical module faster and more accurate.
[0096] As an example, S101 may include: obtaining fifth quality information of the optical signal output by the linear direct drive optical module and sixth quality information of the electrical signal in the device under the condition that the first equalizer is a first equalization value and the second equalizer is a second equalization value; generating a first adjustment value and a second adjustment value based on the fifth quality information and the sixth quality information. The first equalization value may be the initial value of the first equalizer, and the second equalization value may be the initial value of the second equalizer. In this case, S101 to S103 may be considered as the first tuning of the equalization parameters; or the first equalization value may be the equalization value of the first equalizer after the i-th tuning, and the second equalization value may be the equalization value of the second equalizer after the i-th tuning. In this case, S101 to S103 may be considered as the (i+1)-th tuning of the equalization parameters, where i is an integer greater than 1.
[0097] It can be understood that if the quality indicated by the fifth quality information is worse than the quality indicated by the first quality information, and / or the quality indicated by the sixth quality information is worse than the quality indicated by the second quality information, then a first adjustment value and a second adjustment value are generated. After the first adjustment value and the second adjustment value are respectively configured on the first equalizer and the second equalizer, the quality of the optical signal output by the linear direct-drive optical module and the quality of the electrical signal in the device can be improved.
[0098] In one case, if the device and optical module at the opposite end in the communication system are not considered, then the device can be connected to the linear direct-drive optical module, and then the linear direct-drive optical module can be looped back to perform tuning and calibration of the equalization parameters. In this scenario, the method 100 may also include: the device sends a first signal, and the first signal passes through the linear direct-drive optical module, the optical fiber loopback device and the linear direct-drive optical module in sequence to reach the receiver of the device, and the device receives a second signal corresponding to the first signal. The optical fiber loopback device is used to loop back the transmitting end of the optical signal of the linear direct-drive optical module to the receiving end of the optical signal of the linear direct-drive optical module. In this scenario, the electrical signal in the device comes from the loopback signal. The first mapping relationship in this scenario can be referred to the first two groups of mapping relationships shown in Table 3 below.
[0099] In another case, if it is determined that the performance of the device at the local end and the device at the opposite end in the communication system is the same, and the performance of the linear direct-drive optical module at the local end and the linear direct-drive optical module at the opposite end are the same, then the first mapping relationship may further include at least one mapping relationship that ignores the quality information of the optical signal output by the linear direct-drive optical module. That is, the first mapping relationship may further include a mapping relationship corresponding to when the quality of the electrical signal in the device is optimal (such as when the BER is minimized). The first mapping relationship in this scenario can be referred to the last set of mapping relationships shown in Table 3 below.
[0100] For example, the first mapping relationship, the first adjustment value, and the second adjustment value may be shown in Table 3 below:
[0101] Table 3
[0102] For the last set of first mapping relationships in Table 3, the requirements for TP2 point indicators in IEEE 802.3 may be ignored, and only the quality information of the electrical signal in the device may be considered. The quality information corresponding to the optimal quality of the electrical signal in the device may be known and can be obtained through definitions in the communication standard or other means.
[0103] The first adjustment value may refer to a general reference to an adjustment value used to adjust the values of the equalization parameters of the first equalizer. Assuming that the first equalizer includes three equalization parameters, then, through S101, three first adjustment values may be generated, which are respectively used to adjust the values of the three equalization parameters of the first equalizer. Similarly, the second adjustment value may refer to a general reference to an adjustment value used to adjust the values of the equalization parameters of the second equalizer. Assuming that the second equalizer includes five equalization parameters, then, through S101, five second adjustment values may be generated, which are respectively used to adjust the values of the five equalization parameters of the second equalizer.
[0104] S102: Adjust a first equalizer according to a first adjustment value.
[0105] As an example, the first adjustment value may be a value to which an equalization parameter of the first equalizer needs to be adjusted. Then, S102 may include, for example: adjusting the equalization parameter of the first equalizer to the first adjustment value.
[0106] As another example, the first adjustment value may be a value of the equalization parameter of the first equalizer that needs to be adjusted from the currently configured value. Then, S102 may, for example, include: adjusting the equalization parameter of the first equalizer to a third equalization value, where the third equalization value is determined based on the first equalization value and the first adjustment value, and the first equalization value is the value configured for the first equalizer before executing S102.
[0107] In this way, the first equalizer is adjusted based on the first adjustment value for adjusting the first equalizer through S102, so that the value of the equalization parameter on the first equalizer is more optimal, and the optical signal output from the device through the linear direct drive optical module meets the IEEE 802.3 requirements for the TP2 point indicator as much as possible.
[0108] S103: Send a second adjustment value to the linear direct drive optical module, where the second adjustment value is used to adjust the second equalizer.
[0109] As an example, S103 may include: the device may send a message to the linear direct drive optical module, where the message carries a control code, and the control code is used to carry the second adjustment value.
[0110] As another example, S103 may include: the device may send a control code to the linear direct drive optical module, where the control code is used to carry the second adjustment value.
[0111] After S103, the linear direct-drive optical module may adjust the second equalizer based on the second adjustment value. As an example, the second adjustment value may be a value to which the equalization parameter of the second equalizer needs to be adjusted. Adjusting the second equalizer based on the second adjustment value by the linear direct-drive optical module may, for example, include: adjusting the equalization parameter of the second equalizer to the second adjustment value by the linear direct-drive optical module. As another example, the second adjustment value may be a value to which the equalization parameter of the second equalizer needs to be adjusted from a currently configured value. Adjusting the second equalizer based on the second adjustment value by the linear direct-drive optical module may, for example, include: adjusting the equalization parameter of the second equalizer to a fourth equalization value by the linear direct-drive optical module, where the fourth equalization value is determined based on the second equalization value and the second adjustment value, where the second equalization value is the value configured for the second equalizer prior to performing the current adjustment. Thus, by adjusting the second equalizer based on the second adjustment value by the linear direct-drive optical module, the values of the equalization parameters on the second equalizer are optimized, and the optical signal output from the device through the linear direct-drive optical module meets the IEEE 802.3 requirements for the TP2 point.
[0112] It should be noted that the execution order of S102 and S103 is not limited in the embodiment of the present application. S102 can be executed first and then S103, or S103 can be executed first and then S102, or S102 and S103 can be executed at the same time.
[0113] In some possible implementations, after S101 to S103, assuming that the first equalizer is the fourth equalization value and the second equalizer is the fifth equalization value, under this condition, the method 100 may also include: S104, obtaining seventh quality information of the electrical signal in the device; S105, judging whether the quality indicated by the seventh quality information meets the communication requirements, if so, executing S106, otherwise, executing S107 to S110; S106, generating indication information, which is used to indicate that the tuning of the equalization parameters is completed; S107, generating a fourth adjustment value and a fifth adjustment value according to the first mapping relationship; S108, adjusting the first equalizer according to the fourth adjustment value; S109, sending the fifth adjustment value to the linear direct drive optical module, and the fifth adjustment value is used to adjust the second equalizer; S110, recording the value of the equalization parameter of the first equalizer as the fourth equalization value, recording the value of the equalization parameter of the second equalizer as the fifth equalization value, and returning to execute S104. In this manner, based on the first mapping relationship, by jointly tuning the equalization parameters of the first equalizer and the second equalizer at least once, the electrical signal in the device meets the communication requirements, thereby achieving the goal of ensuring that the optical signal output from the device through the linear direct-drive optical module meets the IEEE 802.3 requirements for the TP2 point. The implementation of S107-S109 can be found in the description of S101-S103 above.
[0114] It can be understood that the process of tuning the equalization parameters in the method 100 may include: S11, connecting the SerDes on the ASIC side of the device and the linear direct drive optical module, and the receiving end and the transmitting end of the linear direct drive optical module are connected by an optical fiber loopback device; S12, starting the calibration state on the device side, and starting the process of calibrating the equalization parameters of the device and the transmitting end of the linear direct drive optical module. At this time, the receiving end of the SerDes on the ASIC side of the device and the receiving end of the linear direct drive optical module are both in the reference receiver mode (that is, the mode after completing the configuration of S100a); S13, the device connects the ASIC side of the device to the reference receiver mode. The device adjusts only the equalization parameters of the equalizer at the transmitting end of the SerDes on the ASIC side and the equalization parameters of the equalizer at the transmitting end of the linear direct-drive optical module according to the quality information of the electrical signal fed back by the receiving end of the SerDes on the ASIC side of the device, until the quality information of the electrical signal fed back by the receiving end of the SerDes on the ASIC side of the device meets the quality threshold (such as the first quality information). At this time, it can be considered that the calibration of the equalization parameters of the equalizer at the transmitting end of the SerDes on the ASIC side of the device and the equalization parameters of the equalizer at the transmitting end of the linear direct-drive optical module are completed, so that the optical signal output from the device through the linear direct-drive optical module meets the requirements of IEEE 802.3 for the TP2 point indicator; S14, the indicator light indicating that the calibration is completed is on, and the device can enter the operating state based on the indication information.
[0115] It can be seen that through this method 100, the linear direct-drive optical module is connected to the device in the actual operation scenario, and according to the mapping relationship between the quality information of the optical signal output by the linear direct-drive optical module and the quality information of the electrical signal in the device obtained by converting the optical signal, the joint influence of the linear direct-drive optical module in the existing network and the SerDes on the ASIC side of the device on the equalization effect is considered, and the equalization parameters of the linear direct-drive optical module and the equalizer at the transmitting end in the device are jointly tuned to meet the requirements of the TP2 point indicator in IEEE 802.3. Therefore, the configuration of the equalization parameters in the communication system including the linear direct-drive optical module is more accurate, thereby improving the equalization performance of the communication system including the linear direct-drive optical module.
[0116] In order to make the method provided in the embodiment of the present application clearer and easier to understand, an example of the method provided in the embodiment of the present application is exemplarily described below with reference to FIG5 .
[0117] Assume that the receiving end of the SerDes on the ASIC side of the device is denoted as SerDes_RX, the transmitting end of the SerDes on the ASIC side of the device is denoted as SerDes_TX, the receiving end of the linear direct drive optical module is denoted as Liner_RX, and the transmitting end of the linear direct drive optical module is denoted as Liner_TX. Liner_RX and Liner_TX are connected using a fiber loopback cap. According to the definition of the IEEE 802.3 protocol, the linear direct drive optical module is calibrated, as shown in Figure 5. The calibration process may include:
[0118] S21, according to the IEEE 802.3 protocol, the FFE of the standard receiver is 5tap, so the FFE of the SerDes RX is designed to be 5tap;
[0119] S22, calibrate Liner_RX and SerDes_RX using a reference light source so that the reference light source's indicators meet the IEEE 802.3 requirements for TP2 points;
[0120] Ways to generate the reference light source include but are not limited to: traditional optical modules.
[0121] S23, bias the PD in Liner_RX to the operating point, set the TIA to an output swing, and calibrate the CTLE in SerDes_RX using a reference light source;
[0122] Because the PD and TIA bandwidth of the Linear_RX are usually sufficient, they have little impact on the performance of the communication link. The reference light source is mainly used to calibrate the CTLE in the SerDes_RX. For example, based on the BER, SER, or SNR feedback from the SerDes_RX, the CTLE configuration is adjusted to optimize its compensation for communication link impairments.
[0123] S24, after the SerDes_RX and Liner_RX calibration is completed, the RX performance is closest to the standard receiver performance;
[0124] S25, changing the ER and TDECQ values of the reference optical signal input to Liner_RX, recording the HEH and BER (or SER or SNR) values on the SerDes_RX side, and obtaining a mapping relationship 1 between ER and HEH, and a mapping relationship 2 between TDECQ and BER (or SER or SNR);
[0125] S26, setting the HEH and BER (or SER or SNR) thresholds HEH1 and BER1 (or SER1 or SNR1) at SerDes_RX so that their corresponding ER and TDECQ meet the IEEE 802.3 requirements for TP2 point indicators;
[0126] S27, fix the configuration of SerDes_RX and Liner_RX, use a fiber loopback cap to connect Liner_RX and Liner_TX, and adjust the equalization parameters in SerDes_TX and Liner_TX according to the BER (or SER or SNR) fed back by SerDes_RX until the BER (or SER or SNR) meets BER1 (or SER1 or SNR1).
[0127] The equalization parameters of SerDes_TX may be equalization parameters of FFE in SerDes_TX, and the equalization parameters of Liner_TX may be equalization parameters of CTLE in Liner_TX.
[0128] S28, according to the HEH feedback from SerDes_RX, adjust the equalization parameters of Liner_TX until the HEH meets HEH1;
[0129] The equalization parameters of Liner_TX may be equalization parameters of CTLE in Liner_TX. Since ER is more affected by the equalization parameters of the linear direct drive optical module, only the equalization parameters of Liner_TX may be adjusted based on HEH.
[0130] S29, repeat the adjustment steps of S27 and S28 until the equalization parameters configured for SerDes_TX and Liner_TX make the BER (or SER or SNR) meet BER1 (or SER1 or SNR1) and the HEH meet HEH1. It is considered that the joint tuning and calibration of the equalization parameters of SerDes_TX and Liner_TX are completed, and the optical signal output by the linear direct drive optical module can meet the IEEE 802.3 requirements for the TP2 point indicator.
[0131] It can be understood that S21-S26 can be considered the first stage of the tuning process. Since the PD and TIA bandwidth at the receiving end of the linear direct-drive optical module are sufficient and have little impact on the performance of the communication link, the performance of the SerDes_RX can be extrapolated to point TP2. Using a reference light source to calibrate the Liner_RX and SerDes_RX, this is actually calibrating the SerDes_RX's CTLE to optimize its ability to compensate for communication link impairments. S27-S29 can be considered the second stage of the tuning process. This can be performed after the user purchases the linear direct-drive optical module and connects it to their device. Since the SerDes_RX has been calibrated in the first stage, after the linear direct-drive optical module is plugged into the device, the performance of the Liner_RX is basically the same. Therefore, the calibration state of the SerDes_RX and Liner_RX is enabled, and the HEH and BER (or SER or SNR) feedback from the SerDes_RX are used to calibrate the SerDes_TX and Liner_TX.
[0132] It can be seen that the method provided in the embodiment of the present application solves the problem that the transmitting end performance of the linear direct-drive optical module cannot be calibrated before leaving the factory. The equalization parameters of SerDes_TX and Liner_TX are quickly jointly tuned and calibrated, so that the optical signal output by the linear direct-drive optical module can meet the requirements of IEEE 802.3 for the TP2 point indicator, and the plug-and-play calibration effect of the linear direct-drive optical module is achieved, which is conducive to the development and popularization of high-speed interconnected communication systems.
[0133] The present embodiment further provides a method 200 for tuning an equalization parameter to generate an adjustment value of the equalization parameter. The adjustment value may correspond to each generation of tuning values in the following embodiments.
[0134] In some possible implementations, method 200 may perform a full traversal scan of all equalization parameters of the first and second equalizers to determine optimal values for multiple equalization parameters to be configured. Taking the first equalizer as TX_FFE and the second equalizer as DRV_CTLE as an example, the equalization parameters to be configured may include: three tap coefficients of TX_FFE and three equalization parameters of DRV_CTLE. The corresponding solution space example is shown in Table 4 below. The solution space can be expressed as: Q1*Q2*Q3*M1*M2*M3. Jointly optimizing the equalization parameters of the first and second equalizers may take a long time.
[0135] Table 4
[0136] In other possible implementations, to improve tuning efficiency, method 200 may also downsample and perform deviation tuning on all equalization parameters of the first and second equalizers. The tuning process may include: first, downsampling parameters in a set of important equalization parameters, and obtaining first-generation tuning values for each parameter in the set of important equalization parameters based on the quality of the electrical signal corresponding to the downsampled data; then, for each parameter in the set of important equalization parameters, determining a second-generation tuning value for the parameter based on the quality of the electrical signal corresponding to the candidate data from the deviation corresponding to the parameter and the first tuning value of the parameter. In this way, the second-generation tuning values for each parameter in the set of important equalization parameters are obtained, and the equalization parameters are configured using the second-generation tuning values. This eliminates the need to perform a full scan of all equalization parameters to be configured, and only downsamples and performs deviation tuning on the important parameters to be configured. By scanning a small number of parameters a small number of times and using the quality of the corresponding electrical signals as a basis, the tuning results for the joint tuning of all equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0137] As an example, the device may perform first-generation tuning and several second-generation tunings on only the important parameters belonging to the important parameter set among the equalization parameters to be configured, obtain the tuning results when the tuning cutoff conditions are met, and configure the equalization parameters of the first equalizer and the second equalizer based on the tuning results. In this example, method 200 may include the following S201 to S204:
[0138] S201 : Downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among equalization parameters.
[0139] S202 : Determine a first-generation tuning value of a first parameter based on the first down-sampled data and eighth quality information of the electrical signal in the device, where the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data.
[0140] S203: Obtain first candidate data for the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0141] S204 : Determine a second-generation tuning value of the first parameter based on the first candidate data and ninth quality information of the electrical signal in the PHY, where the ninth quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data.
[0142] After S201 to S204, the second-generation tuning value of each parameter in the first parameter set can be obtained. At this time, it can be determined whether the tuning cutoff condition is met. If so, the tuning result is determined based on the second-generation tuning value of the first parameter, and the equalization parameters of the first equalizer and the second equalizer are configured based on the tuning result; if the tuning cutoff condition is not met, the parameters in the first parameter set can be further tuned for more generations, and the implementation method of each subsequent generation of tuning is the same as the implementation method of the second generation tuning. For example, if the second-generation tuning values of each parameter in the first parameter set obtained after S204 do not meet the tuning cutoff condition, the method 200 may further include: obtaining fourth candidate data for the first parameter based on the second-generation tuning value of the first parameter and a fourth deviation range of the first parameter, the fourth candidate data being a number of values of the first parameter corresponding to the fourth deviation range, centered around the second-generation tuning value of the first parameter; determining a third-generation tuning value for the first parameter based on the fourth candidate data and quality information 1 of the electrical signal in the PHY, the quality information 1 being used to characterize the quality of the electrical signal corresponding to the fourth candidate data, and the third-generation tuning value being used to update the second-generation tuning value to configure the equalizer. Subsequently, after obtaining the third-generation tuning values of each parameter in the first parameter set, it may be determined whether the tuning cutoff condition is met. If so, a tuning result is determined based on the third-generation tuning value of the first parameter, and the equalizer is configured based on the tuning result. If the tuning cutoff condition is not met, the parameters in the first parameter set are continuously tuned for more generations in this manner until a certain generation of tuning values of the first parameter set is obtained that meets the tuning cutoff condition.
[0143] It should be noted that the deviation range of the same parameter in different generations of tuning processes can be the same or different. For example, the first deviation range and the fourth deviation range of the first parameter can be the same or different, and can be flexibly set according to needs or experience.
[0144] Among them, the tuning cutoff condition may include at least one of the following conditions: Condition 1, the tuning generation is equal to the preset number of times; Condition 2, the difference between the quality of the electrical signal corresponding to the current generation tuning and the quality of the electrical signal corresponding to the previous generation tuning is less than a preset difference threshold; Condition 3, the tuning value corresponding to the current generation tuning is equal to the tuning value of the corresponding parameter obtained in the previous generation tuning.
[0145] In this way, the device can perform first-generation tuning and several second-generation tunings only on important parameters belonging to the important parameter set among the configured equalization parameters, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters of the first equalizer and the second equalizer are configured according to the tuning results. There is no need to perform a full traversal scan of all the configured equalization parameters. Only the important parameters among the configured equalization parameters need to be downsampled and deviation tuned. By scanning a small number of parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby realizing fast and convenient joint tuning of the equalization parameters.
[0146] As another example, the device may perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set, and perform several second-generation tunings on important parameters belonging to the important parameter set, obtain a tuning result when the tuning cutoff condition is met, and configure the equalization parameters of the first equalizer and the second equalizer based on the tuning result. In this example, method 200 may, for example, include the following S301 to S306:
[0147] S301 : Downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among equalization parameters.
[0148] S302: Determine a first-generation tuning value of a first parameter based on the first down-sampled data and eighth quality information of the electrical signal in the device, where the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data.
[0149] S303 : Downsample the third parameter to obtain third downsampled data of the third parameter, where the third parameter belongs to a second parameter set, which is a non-important parameter set in the equalization parameters.
[0150] S304: Determine a first-generation tuning value for the third parameter based on the first-generation tuning value for the first parameter, the third down-sampled data, and tenth quality information of the electrical signal in the device, where the tenth quality information is used to characterize the quality of the electrical signal corresponding to the third down-sampled data.
[0151] S305: Obtain first candidate data for the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0152] S306: Determine a second-generation tuning value for the first parameter based on the first-generation tuning value for the third parameter, the first candidate data for the first parameter, and ninth quality information of the electrical signal in the device, where the ninth quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data.
[0153] In this way, the device can perform first-generation tuning on important parameters belonging to an important parameter set among the configured equalization parameters, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set among the configured equalization parameters, and perform several second-generation tunings on important parameters belonging to an important parameter set among the configured equalization parameters, to obtain tuning results when the tuning cutoff conditions are met, and configure the equalization parameters in the first equalizer and the second equalizer based on the tuning results. There is no need to perform a full traversal scan of all the configured equalization parameters, and only downsamples the important parameters among the configured equalization parameters, downsamples the unimportant parameters, and performs deviation tuning on the important parameters. By scanning fewer parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0154] As another example, the device may perform first-generation tuning on important parameters belonging to an important parameter set among the equalization parameters to be configured, perform first-generation tuning on unimportant parameters belonging to an unimportant parameter set, perform several second-generation tunings on important parameters belonging to the important parameter set, and perform several second-generation tunings on unimportant parameters belonging to an unimportant parameter set, obtain a tuning result when the tuning cutoff condition is met, and configure the equalization parameters of the first equalizer and the second equalizer based on the tuning result. In this example, method 200 may, for example, include the following S401 to S408:
[0155] S401 : Downsample a first parameter to obtain first downsampled data of the first parameter, where the first parameter belongs to a first parameter set, which is an important parameter set among equalization parameters.
[0156] S402 : Determine a first-generation tuning value of a first parameter based on the first down-sampled data and eighth quality information of the electrical signal in the device, where the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data.
[0157] S403 : Downsample the third parameter to obtain third downsampled data of the third parameter, where the third parameter belongs to a second parameter set, which is a non-important parameter set in the equalization parameters.
[0158] S404: Determine a first-generation tuning value for the third parameter based on the first-generation tuning value for the first parameter, the third down-sampled data, and tenth quality information of the electrical signal in the device, where the tenth quality information is used to characterize the quality of the electrical signal corresponding to the third down-sampled data.
[0159] S405: Obtain first candidate data for the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter. The first candidate data is a value of the first parameter centered on the first-generation tuning value of the first parameter, the number of which corresponds to the first deviation range.
[0160] S406: Determine a second-generation tuning value for the first parameter based on the first-generation tuning value for the third parameter, the first candidate data for the first parameter, and ninth quality information of the electrical signal in the device, where the ninth quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data.
[0161] S407, obtaining third candidate data of the third parameter based on the first-generation tuning value of the third parameter and the third deviation range of the third parameter, where the third candidate data is a value of the third parameter centered on the first-generation tuning value of the third parameter and a number corresponding to the third deviation range.
[0162] S408: Determine the second-generation tuning value of the third parameter based on the second-generation tuning value of the first parameter, the third candidate data of the third parameter, and eleventh quality information of the electrical signal in the device, where the eleventh quality information is used to characterize the quality of the electrical signal corresponding to the third candidate data.
[0163] In this way, the device can perform first-generation tuning on important parameters belonging to the important parameter set among the configured equalization parameters, perform first-generation tuning on unimportant parameters belonging to the unimportant parameter set among the configured equalization parameters, perform several second-generation tunings on important parameters belonging to the important parameter set, and perform several second-generation tunings on unimportant parameters belonging to the unimportant parameter set, and obtain the tuning results when the tuning cutoff conditions are met. The equalization parameters of the first equalizer and the second equalizer are configured based on the tuning results. There is no need to perform a full traversal scan of all the configured equalization parameters, downsample the important parameters among the configured equalization parameters, downsample the unimportant parameters, perform deviation tuning on the important parameters, and perform deviation tuning on the unimportant parameters. By scanning a small number of parameters a small number of times and taking the quality of the corresponding electrical signals as the basis, the tuning results of the joint tuning of all the equalization parameters to be configured can be determined, thereby achieving fast and convenient joint tuning of the equalization parameters.
[0164] It can be seen that whether it is S201~S204, S301~S306 or S401~S408, the order of magnitude of the solution space can be reduced, which not only improves the efficiency of the joint tuning of the equalization parameters of the first equalizer and the second equalizer, but also reduces the memory, computing and other resources consumed by the tuning process.
[0165] It should be noted that the method provided in the embodiment of the present application can also be applied to other scenarios with high reliability requirements and joint tuning of multiple equalization parameters to be configured, including but not limited to: data centers, supercomputing nodes, artificial intelligence data center networks (AI DCN) and other scenarios, and is suitable for high-speed interconnection interfaces and high-speed interface modules, wherein high-speed interface modules include but are not limited to: QSFP-DD, OSFP, COBO, CFP2, CFP8, etc., and high-speed interconnection interfaces include but are not limited to: transceiver module line card point-to-point interconnection interface, router line card dense wavelength division multiplexing (Dense Wavelength Division Multiplexing, DWDM) interconnection interface, transceiver module line card DWDM interconnection interface, etc.
[0166] It should be noted that the method provided in the embodiments of the present application is applicable to linear direct-drive optical interconnect systems. For scenarios where optical fiber loopback is used for linear direct-drive optical modules, the ratio of optical fiber loopback devices to linear direct-drive optical modules can be 1:n, where n is an integer greater than or equal to 1. That is, one optical fiber loopback device can be provided for each linear direct-drive optical module, or one optical fiber loopback device can be provided for multiple linear direct-drive optical modules.
[0167] Accordingly, an embodiment of the present application further provides a communication device 600 (also referred to as a device for tuning equalization parameters 600), as shown in FIG6 . The communication device 600 is applied to a device, the device communicates with a linear direct drive optical module, the device includes a first equalizer, and the linear direct drive optical module includes a second equalizer. The communication device 600 may include: a first generating unit 601, a first adjusting unit 602, and a first sending unit 603. Wherein:
[0168] A first generation unit 601 is configured to generate a first adjustment value and a second adjustment value based on a first mapping relationship, wherein the first mapping relationship is a mapping relationship between quality information of an optical signal output by the linear direct drive optical module and quality information of an electrical signal in the device, where the electrical signal is converted from the optical signal. The first adjustment value is used to adjust the first equalizer, and the second adjustment value is used to adjust the second equalizer. The first generation unit 601 may execute S101 shown in FIG. 4 .
[0169] The first adjustment unit 602 is configured to adjust a first equalizer according to a first adjustment value, where the first equalizer is a transmitter equalizer of the device. The first adjustment unit 602 may execute S102 shown in FIG4 .
[0170] The first sending unit 603 is configured to send the second adjustment value to the linear direct drive optical module. The first sending unit 603 may execute S103 shown in FIG4 .
[0171] In one possible implementation, the apparatus 600 may further include: a second adjustment unit and a second generation unit. The second adjustment unit is configured to adjust a third equalizer to obtain quality information of a reference electrical signal in the device before generating the first adjustment value and the second adjustment value according to the first mapping relationship, where the third equalizer is a receiving-end equalizer of the device; and the second generation unit is configured to generate the first mapping relationship based on the quality information of the reference electrical signal and the quality information of the reference optical signal, where the reference electrical signal is converted from the reference optical signal.
[0172] As an example, the first mapping relationship includes a first sub-mapping relationship, in which the quality information of the optical signal is represented by TDECQ, and the quality information of the electrical signal is represented by any one of the following indicators: BER, SNR, or SER. In this example, the device 600 may further include: a first determination unit, configured to determine, based on the first sub-mapping relationship, first quality information of the electrical signal in the corresponding device when the quality information of the optical signal output by the linear direct-drive optical module is second quality information, where the second quality information is the TDECQ requirement of the communication protocol for the optical signal output by the linear direct-drive optical module.
[0173] As another example, the first mapping relationship also includes a second sub-mapping relationship, in which the quality information of the optical signal is represented by ER, and the quality information of the electrical signal is represented by HEH. In this example, the device 600 may also include: a second determination unit, a third generation unit, and a second sending unit. The second determination unit is used to determine, after the first equalizer is adjusted according to the first adjustment value and the second equalizer is adjusted according to the second adjustment value, the fourth quality information of the electrical signal in the corresponding device when the quality information of the optical signal output by the linear direct-drive optical module is the third quality information according to the second sub-mapping relationship, and the third quality information is the ER requirement of the communication protocol for the optical signal output by the linear direct-drive optical module; the third generation unit is used to generate a third adjustment value according to the fourth quality information, and the third adjustment value is used to adjust the second equalizer; and the second sending unit is used to send the third adjustment value to the linear direct-drive optical module.
[0174] In one possible implementation, the device 600 may also include: a third determination unit, which is used to determine that the first mapping relationship includes a mapping relationship corresponding to the best quality of the electrical signal in the device if the performance of the device and the linear direct-drive optical module are the same as the performance of the counterpart in the communication system.
[0175] In one possible implementation, the first generation unit 601 may include: an acquisition subunit and a generation subunit. The acquisition subunit is configured to acquire fifth quality information of an optical signal output by the linear direct-drive optical module and sixth quality information of an electrical signal in the device under the condition that the first equalizer is at a first equalization value and the second equalizer is at a second equalization value; and the generation subunit is configured to generate a first adjustment value and a second adjustment value based on the fifth quality information and the sixth quality information.
[0176] In one possible implementation, the first adjustment unit 602 is specifically used to adjust the equalization parameter of the first equalizer from the first equalization value to the first adjustment value; or, the first adjustment unit 602 is specifically used to adjust the equalization parameter of the first equalizer from the first equalization value to a third equalization value, where the third equalization value is determined based on the first equalization value and the first adjustment value.
[0177] In one possible implementation, the apparatus 600 may further include: a first acquisition unit and a fourth generation unit. The first acquisition unit is configured to acquire seventh quality information of the electrical signal in the device under the condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, where the fourth equalization value is a value adjusted by the first equalizer according to the first adjustment value, and the fifth equalization value is a value adjusted by the second equalizer according to the second adjustment value; and the fourth generation unit is configured to generate indication information if the quality indicated by the seventh quality information meets communication requirements, the indication information being used to indicate that equalization parameter tuning is complete.
[0178] In one possible implementation, the apparatus 600 may further include: a second acquisition unit, a fifth generation unit, a third adjustment unit, and a third sending unit. The second acquisition unit is configured to acquire seventh quality information of the electrical signal in the device under the condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, wherein the fourth equalization value is the value after the first equalizer adjusts according to the first adjustment value, and the fifth equalization value is the value after the second equalizer adjusts according to the second adjustment value; the fifth generation unit is configured to generate a fourth adjustment value and a fifth adjustment value according to the first mapping relationship if the quality indicated by the seventh quality information does not meet communication requirements, wherein the fourth adjustment value is used to adjust the first equalizer and the fifth adjustment value is used to adjust the second equalizer; the third adjustment unit is configured to adjust the first equalizer according to the fourth adjustment value; and the third sending unit is configured to send the fifth adjustment value to the linear direct drive optical module.
[0179] In one possible implementation, the first generation unit 601 includes: a grouping subunit, a first downsampling subunit, and a first determination subunit and a second determination subunit. The grouping subunit is configured to group multiple equalization parameters to be configured in the first equalizer and the second equalizer based on their impact on equalization performance in the communication system, thereby obtaining multiple parameter sets, wherein the multiple parameter sets include at least a first parameter set, which is an important parameter set among the multiple equalization parameters; the first downsampling subunit is configured to downsample a first parameter belonging to the first parameter set to obtain first downsampled data of the first parameter; the first determination subunit is configured to determine a first-generation tuning value of the first parameter based on the first downsampled data and eighth quality information of an electrical signal in a device, wherein the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first downsampled data; and the second determination subunit is configured to determine a first adjustment value and a second adjustment value based on the first-generation tuning value of the first parameter.
[0180] As an example, the second determination subunit is specifically used to: obtain first candidate data of the first parameter based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter, the first candidate data being the value of the first parameter centered on the first-generation tuning value of the first parameter and the number corresponding to the first deviation range; determine the second-generation tuning value of the first parameter based on the first candidate data and the ninth quality information in the electrical signal in the device, the ninth quality information being used to characterize the quality of the electrical signal corresponding to the first candidate data; update the first-generation tuning value based on the second-generation tuning value to generate a first adjustment value and a second adjustment value.
[0181] As an example, the multiple parameter sets also include a second parameter set, which is a non-important parameter set among the parameters of the equalizer. The first generation unit 601 of the apparatus 600 may further include: a second downsampling subunit and a third determination subunit. The second downsampling subunit is configured to, after determining the first-generation tuning value of the first parameter, downsample the second parameter in the second parameter set to obtain second downsampled data of the second parameter; the third determination subunit is configured to determine the first-generation tuning value of the second parameter based on the first-generation tuning value of the first parameter, the second downsampled data, and tenth quality information of the electrical signal in the device, the tenth quality information being used to characterize the quality of the electrical signal corresponding to the second downsampled data. The second determination subunit is specifically configured to determine the first adjustment value and the second adjustment value based on the first-generation tuning value of the first parameter and the first-generation tuning value of the second parameter.
[0182] As an example, the first generation unit 601 of the apparatus 600 may further include: a fourth determination subunit and a fifth determination subunit. The fourth determination subunit is configured to, after determining the second-generation tuning value of the first parameter, obtain second candidate data for the second parameter based on the first-generation tuning value of the second parameter and the second deviation range of the second parameter, the second candidate data being values of the second parameter centered on the first-generation tuning value of the second parameter and corresponding in number to the second deviation range; the fifth determination subunit is configured to determine the second-generation tuning value of the second parameter based on the second-generation tuning value of the first parameter, the second candidate data, and eleventh quality information in the electrical signal in the device, the eleventh quality information being used to characterize the quality of the electrical signal corresponding to the second candidate data. The second determination subunit is specifically configured to determine the first adjustment value and the second adjustment value based on the second-generation tuning value of the first parameter and the second-generation tuning value of the second parameter.
[0183] In one possible implementation, the device 600 may further include: a fourth sending unit and a receiving unit. The fourth sending unit is configured to send a first signal; the receiving unit is configured to sequentially receive a second signal corresponding to the first signal through the linear direct-drive optical module, the optical fiber loopback device, and the linear direct-drive optical module, wherein the optical fiber loopback device is configured to loop back the optical signal sending end of the linear direct-drive optical module to the optical signal receiving end of the linear direct-drive optical module.
[0184] It should be noted that various specific implementation modes of the communication device 600 can refer to the relevant introduction of the method 100 corresponding to Figure 4, and will not be repeated in this embodiment.
[0185] Referring to Figure 7 , an embodiment of the present application provides a communication device 700 . The communication device 700 can be the execution entity of any of the aforementioned embodiments. The communication device 700 can implement the functions of the aforementioned embodiments. The communication device 700 includes at least one processor 701 , a bus system 702 , a memory 703 , and at least one communication interface 704 .
[0186] The communication device 700 is a hardware structure device that can be used to implement the functional modules in the communication device 600 shown in Figure 6. For example, those skilled in the art can imagine that the first generating unit 601, the first adjusting unit 602, and the first sending unit 603 in the communication device 600 shown in Figure 6 are implemented by the at least one processor 701 calling the code in the memory 703.
[0187] Optionally, the communication device 700 may be a network device or a control entity implementing an embodiment of the present application.
[0188] Optionally, the processor 701 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0189] The bus system 702 may include a path for transmitting information between the components.
[0190] The communication interface 704 is used to communicate with other devices or communication networks.
[0191] The above-mentioned memory 703 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
[0192] The memory 703 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 701. The processor 701 is used to execute the application code stored in the memory 703, thereby realizing the functions of the method of the present application.
[0193] In a specific implementation, as an embodiment, the processor 701 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 7 .
[0194] In a specific implementation, as an embodiment, the communication device 700 may include multiple processors, such as the processor 701 and the processor 707 in FIG7 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0195] It should be understood that the communication devices in the various product forms mentioned above respectively have any functions implemented by the execution subject in the above method embodiments, which will not be described in detail here.
[0196] The present application also provides a chip including a processor and an interface circuit, wherein the interface circuit is configured to receive instructions and transmit them to the processor; the processor, which may be, for example, a specific implementation of the message processing device in the present application embodiment, may be configured to execute the above-described method 100 or method 200. The processor is coupled to a memory configured to store programs or instructions. When the programs or instructions are executed by the processor, the chip system implements the method in any of the above-described method embodiments.
[0197] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0198] Optionally, the memory in the chip system may be one or more memories. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in this application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. This application does not specifically limit the type of memory or the configuration of the memory and the processor.
[0199] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0200] In addition, an embodiment of the present application also provides a device that communicates with a linear direct-drive optical module, the device includes a first equalizer, and the linear direct-drive optical module includes a second equalizer; the device is used to execute the above-mentioned method 100 or method 200 to tune the parameters of the first equalizer and the second equalizer.
[0201] In addition, an embodiment of the present application further provides a communication system 800, as shown in Figure 8. The communication system 800 may include a device 810 and a linear direct drive optical module 820, wherein the device 810 includes a first equalizer 811, and the linear direct drive optical module 820 includes a second equalizer 821;
[0202] The device 810 is configured to execute the above method 100 or method 200 to tune parameters of the first equalizer 811 and the second equalizer 821 .
[0203] In addition, an embodiment of the present application further provides a storage medium, in which program code or instructions are stored. When the storage medium is run on a processor, the processor executes a method in any one of the implementation modes of the above embodiments.
[0204] In addition, an embodiment of the present application also provides a program product, which, when executed on a processor, enables the processor to execute any one of the aforementioned methods 100 or 200.
[0205] It should be understood that "determining B based on A" mentioned in the embodiments of the present application does not mean determining B only based on A, but B can also be determined based on A and / or other information.
[0206] It should be understood that the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0207] In this application, ordinal numbers such as "1", "2", "3", "first", "second" and "third" are used to distinguish multiple objects and are not used to limit the order of multiple objects.
[0208] “A and / or B” mentioned in this application should be understood to include the following situations: only A, only B, or both A and B.
[0209] Through the description of the above embodiments, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment or certain parts of the embodiments of the present application.
[0210] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system embodiments and device embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The device and system embodiments described above are merely schematic. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without making any creative effort.
[0211] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. It should be noted that those skilled in the art may make several improvements and modifications without departing from the scope of protection of the present application, and such improvements and modifications should also be considered as within the scope of protection of the present application.
Claims
1. A method for tuning equalization parameters, characterized in that: Applied to a device, the device communicating with a linear direct-drive optical module, the device including a first equalizer, the linear direct-drive optical module including a second equalizer, the method including: generating a first adjustment value and a second adjustment value according to a first mapping relationship, wherein the first mapping relationship is a mapping relationship between quality information of an optical signal output by the linear direct drive optical module and quality information of an electrical signal in the device, wherein the electrical signal is obtained by converting the optical signal, the first adjustment value is used to adjust the first equalizer, and the second adjustment value is used to adjust the second equalizer; adjusting the first equalizer according to the first adjustment value, where the first equalizer is a transmitting-end equalizer of the device; The second adjustment value is sent to the linear direct-drive optical module.
2. The method according to claim 1, characterized in that Before generating the first adjustment value and the second adjustment value according to the first mapping relationship, the method further includes: adjusting a third equalizer to obtain quality information of a reference electrical signal in the device, wherein the third equalizer is a receiving-end equalizer of the device; A first mapping relationship is generated according to the quality information of the reference electrical signal and the quality information of the reference optical signal, where the reference electrical signal is obtained by converting the reference optical signal.
3. The method according to claim 2, characterized in that The first mapping relationship includes a first sub-mapping relationship, in which the quality information of the optical signal is reflected by the transmitter dispersion eye closure cost TDECQ, and the quality information of the electrical signal is represented by any one of the following indicators: bit error rate BER, signal-to-noise ratio SNR or symbol error rate SER.
4. The method according to claim 3, characterized in that The method further comprises: According to the first sub-mapping relationship, determine that the quality information of the optical signal output by the linear direct-drive optical module is the first quality information of the electrical signal in the device corresponding to the second quality information, and the second quality information is the TDECQ requirement of the communication protocol for the optical signal output by the linear direct-drive optical module.
5. The method according to claim 4, characterized in that The first mapping relationship further includes a second sub-mapping relationship. In the second sub-mapping relationship, the quality information of the optical signal is represented by the extinction ratio ER, and the quality information of the electrical signal is represented by the half eye height HEH.
6. The method according to claim 5, characterized in that After the first equalizer is adjusted according to the first adjustment value and the second equalizer is adjusted according to the second adjustment value, the method further includes: Determining, according to the second sub-mapping relationship, fourth quality information of the electrical signal in the device corresponding to when the quality information of the optical signal output by the linear direct-drive optical module is third quality information, where the third quality information is an ER requirement of the communication protocol for the optical signal output by the linear direct-drive optical module; generating a third adjustment value according to the fourth quality information, wherein the third adjustment value is used to adjust the second equalizer; The third adjustment value is sent to the linear direct-drive optical module.
7. The method according to claim 1, characterized in that The method further comprises: If the performance of the device and the linear direct-drive optical module are the same as the performance of the opposite end in the communication system, it is determined that the first mapping relationship includes a mapping relationship corresponding to when the quality of the electrical signal in the device is the best.
8. The method according to any one of claims 1 to 7, characterized in that The generating the first adjustment value and the second adjustment value according to the first mapping relationship includes: Under the condition that the first equalizer is a first equalization value and the second equalizer is a second equalization value, obtaining fifth quality information of the optical signal output by the linear direct-drive optical module and sixth quality information of the electrical signal in the device; The first adjustment value and the second adjustment value are generated according to the fifth quality information and the sixth quality information.
9. The method according to claim 8, characterized in that The adjusting the first equalizer according to the first adjustment value includes: adjusting an equalization parameter of the first equalizer from the first equalization value to the first adjustment value; Alternatively, the equalization parameter of the first equalizer is adjusted from the first equalization value to a third equalization value, where the third equalization value is determined based on the first equalization value and the first adjustment value.
10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: acquiring seventh quality information of the electrical signal in the device under a condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, the fourth equalization value being a value adjusted by the first equalizer according to the first adjustment value, and the fifth equalization value being a value adjusted by the second equalizer according to the second adjustment value; If the quality indicated by the seventh quality information meets the communication requirement, indication information is generated, where the indication information is used to indicate that the tuning of the equalization parameter is completed.
11. The method according to any one of claims 1 to 9, characterized in that The method further comprises: acquiring seventh quality information of the electrical signal in the device under a condition that the first equalizer is at a fourth equalization value and the second equalizer is at a fifth equalization value, the fourth equalization value being a value adjusted by the first equalizer according to the first adjustment value, and the fifth equalization value being a value adjusted by the second equalizer according to the second adjustment value; If the quality indicated by the seventh quality information does not meet the communication requirement, generating a fourth adjustment value and a fifth adjustment value according to the first mapping relationship, the fourth adjustment value being used to adjust the first equalizer, and the fifth adjustment value being used to adjust the second equalizer; adjusting the first equalizer according to the fourth adjustment value; The fifth adjustment value is sent to the linear direct-drive optical module.
12. The method according to any one of claims 1 to 11, characterized in that The generating the first adjustment value and the second adjustment value according to the first mapping relationship includes: grouping the multiple equalization parameters to be configured in the first equalizer and the second equalizer according to their impact on equalization performance in the communication system to obtain multiple parameter sets, where the multiple parameter sets include at least a first parameter set, and the first parameter set is an important parameter set among the multiple equalization parameters; downsampling a first parameter belonging to the first parameter set to obtain first downsampled data of the first parameter; determining a first-generation tuning value of the first parameter based on the first down-sampled data and eighth quality information of the electrical signal in the device, wherein the eighth quality information is used to characterize the quality of the electrical signal corresponding to the first down-sampled data; The first adjustment value and the second adjustment value are determined according to the first generation tuning value of the first parameter.
13. The method according to claim 12, characterized in that The determining the first adjustment value and the second adjustment value according to the first generation tuning value of the first parameter includes: obtaining, based on the first-generation tuning value of the first parameter and the first deviation range of the first parameter, first candidate data for the first parameter, where the first candidate data is a number of values of the first parameter corresponding to the first deviation range and centered on the first-generation tuning value of the first parameter; determining a second-generation tuning value of the first parameter based on the first candidate data and ninth quality information of the electrical signal in the device, wherein the ninth quality information is used to characterize the quality of the electrical signal corresponding to the first candidate data; The first generation tuning value is updated according to the second generation tuning value to generate the first adjustment value and the second adjustment value.
14. The method according to claim 13, characterized in that The multiple parameter sets further include a second parameter set, where the second parameter set is a non-important parameter set among the parameters of the equalizer. After determining the first-generation tuning value of the first parameter, the method further includes: downsampling the second parameter in the second parameter set to obtain second downsampled data of the second parameter; determining, based on the first-generation tuning value of the first parameter, the second downsampled data, and tenth quality information of the electrical signal in the device, the tenth quality information being used to characterize the quality of the electrical signal corresponding to the second downsampled data; The determining the first adjustment value and the second adjustment value according to the first generation tuning value of the first parameter includes: The first adjustment value and the second adjustment value are determined according to the first generation tuning value of the first parameter and the first generation tuning value of the second parameter.
15. The method according to claim 14, characterized in that After determining the second-generation tuning value of the first parameter, the method further includes: obtaining, based on the first-generation optimized value of the second parameter and the second deviation range of the second parameter, second candidate data for the second parameter, where the second candidate data are values of the second parameter centered on the first-generation optimized value of the second parameter and a number corresponding to the second deviation range; determining, based on the second-generation tuning value of the first parameter, the second candidate data, and eleventh quality information of the electrical signal in the device, the eleventh quality information being used to characterize the quality of the electrical signal corresponding to the second candidate data; The determining the first adjustment value and the second adjustment value according to the first generation tuning value of the first parameter includes: The first adjustment value and the second adjustment value are determined according to the second-generation tuning value of the first parameter and the second-generation tuning value of the second parameter.
16. The method according to any one of claims 1 to 15, characterized in that The method further comprises: sending a first signal; The second signal corresponding to the first signal is received in sequence through the linear direct drive optical module, the optical fiber loopback device and the linear direct drive optical module, and the optical fiber loopback device is used to loop back the transmitting end of the optical signal of the linear direct drive optical module to the receiving end of the optical signal of the linear direct drive optical module.
17. The method according to any one of claims 1 to 16, characterized in that The device includes a physical layer PHY, and the PHY includes firmware or main control board control software.
18. The method according to any one of claims 1 to 17, characterized in that The first equalizer includes a continuous time linear equalizer (CTLE) and / or a feedforward equalizer (FFE), and the second equalizer includes a CTLE and / or an FFE.
19. A chip, characterized in that: including an interface circuit and a processor; The interface circuit is used to receive instructions and transmit them to the processor; The processor is configured to execute the method according to any one of claims 1 to 18.
20. A chip, characterized in that: including processor and memory; The memory is used to store instructions; The processor is configured to call and execute the instructions from the memory to perform the method according to any one of claims 1 to 18.
21. A device, characterized in that The device communicates with a linear direct drive optical module, the device includes a first equalizer, and the linear direct drive optical module includes a second equalizer; The device is used to execute the method described in any one of claims 1 to 18 to tune the parameters of the first equalizer and the second equalizer.
22. A device, characterized in that The device includes a memory and a processor; The memory is used to store instructions; The processor is configured to execute the instructions in the memory and perform the method according to any one of claims 1 to 18.
23. A communication system, characterized in that: The communication system includes a device and a linear direct drive optical module, the device includes a first equalizer, and the linear direct drive optical module includes a second equalizer; The device is used to execute the method according to any one of claims 1 to 18 to tune the parameters of the first equalizer and the second equalizer.
24. A storage medium, characterized in that The storage medium includes instructions, and when the instructions are executed on a processor, the processor is caused to execute the method according to any one of claims 1 to 18.
25. A program product, characterized in that The program product includes a program, and when the program is run on a processor, the method according to any one of claims 1 to 18 is executed.