Serdes parameter adjustment method and device based on DSP optical module and medium

The auto-negotiation mechanism automatically matches electrical port parameters and performs iterative optimization, solving compatibility issues between high-speed DSP optical modules and devices, and enabling fine-grained parameter adjustment and improved link stability.

CN120639167APending Publication Date: 2025-09-12INSPUR NETWORK TECH (SHANDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510844988.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The compatibility issue between high-speed DSP optical modules and devices. Existing technologies require a complex manual adaptation process and cannot guarantee the adaptation effect, especially when interconnecting different optical modules. The operability is poor.

Method used

The auto-negotiation mechanism automatically matches the electrical port parameters between the device and the DSP optical module. It also implements fine-tuning of the optical module through iterative traversal and bidirectional parameter tuning, including adaptive adjustment of electrical and optical port parameters.

Benefits of technology

The optimal channel parameters of the device and optical module can be precisely determined without human intervention, improving the granularity and operational convenience of parameter adaptation, ensuring link stability, and optimizing the signal quality of the entire link.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120639167A_ABST
    Figure CN120639167A_ABST
Patent Text Reader

Abstract

The invention discloses a Serdes parameter adjustment method and device based on a DSP optical module and a medium. The method comprises the steps of determining a target device electrical port emission parameter and a target optical module electrical port emission parameter; determining a second DSP optical module between the to-be-interconnected devices and a first DSP optical module which firstly starts parameter tuning; a first DSP optical module sends an adjustment and optimization request to a second DSP optical module according to a preset emission parameter matrix, so that the second DSP optical module calculates the bit error rate of a network link in response to the adjustment and optimization request, and feeds back the bit error rate to the first DSP optical module; performing iterative traversal on the emission parameter matrix through the first DSP optical module to determine a first optimal bit error rate and a first channel parameter corresponding to the first DSP optical module; performing reverse parameter tuning on the second DSP optical module to obtain a second optimal bit error rate and a second channel parameter corresponding to the second DSP optical module; and restarting a network link based on the configured optical port emission parameters so as to realize Serdes parameter fine adjustment of the DSP optical module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a SerDes parameter adjustment method, device, and medium based on a DSP optical module. Background Art

[0002] Optical modules, a crucial component of fiber-optic communications, are optoelectronic devices that perform both photoelectric and electro-optical conversion. They enable interconnection between network adapters (NICs) and switches, as well as between switches at different levels. However, as SerDes (SerDes) transmission rates increase, factors such as signal loss and crosstalk become increasingly significant, significantly impacting transmission stability. Optical modules initially introduced CDR technology, then evolved to DSP technology. At the signal level, FEC and various equalizer technologies were also introduced. However, even with these advancements, compatibility between high-speed DSP optical modules and other devices has become a significant challenge, necessitating more reliable solutions to ensure link stability.

[0003] To improve link stability, high-speed DSP optical modules typically require a complex manual adaptation process. This results in a large and inadequate granularity. This makes the adaptation process difficult to implement and the final results difficult to guarantee when multiple optical modules with different solutions need to be adapted.

[0004] Therefore, how to solve the compatibility problem between high-speed DSP optical modules and devices has become a technical problem that needs to be solved urgently in this field. Summary of the Invention

[0005] To solve the above problems, this application proposes a SerDes parameter adjustment method based on a DSP optical module, including:

[0006] When the DSP optical module is inserted into the device port, the electrical port parameters between the device and the DSP optical module are matched to determine the target device electrical port transmission parameters and the target optical module electrical port transmission parameters;

[0007] Establishing a network link between the devices to be interconnected, and determining a second DSP optical module between the devices to be interconnected and a first DSP optical module for which parameter tuning is started first;

[0008] When parameter tuning is started on the first DSP optical module, a tuning request is sent to the second DSP optical module through the first DSP optical module according to a preset transmission parameter matrix, so that the second DSP optical module calculates a bit error rate of the network link in response to the tuning request and feeds the bit error rate back to the first DSP optical module;

[0009] Iteratively traverse the transmission parameter matrix through the first DSP optical module to determine a first optimal bit error rate and a first channel parameter corresponding to the first DSP optical module;

[0010] Performing reverse parameter tuning on the second DSP optical module to obtain a second optimal bit error rate and second channel parameters corresponding to the second DSP optical module;

[0011] According to the first channel parameters and the second channel parameters, the optical port transmission parameters of the first DSP optical module and the second DSP optical module are configured respectively, and based on the configured optical port transmission parameters, the network link is restarted to achieve fine adjustment of the SerDes parameters of the DSP optical module.

[0012] In one implementation of the present application, the second DSP optical module calculates the bit error rate of the network link in response to the tuning request and feeds the bit error rate back to the first DSP optical module, specifically including:

[0013] Based on the second DSP optical module, in response to the start tuning request, perform a tuning operation on the optical port transmission parameters of the DSP optical module;

[0014] The steps of the tuning operation are:

[0015] Reply ACK data to the first DSP optical module and start the PRBS checker;

[0016] When the PRBS checker is started and the first DSP optical module starts the PRBS pattern generator, calculating the bit error rate of the network link according to the PRBS code sent by the first DSP optical module; wherein the PRBS code sent by the first DSP optical module is generated by the PRBS pattern generator;

[0017] Generate a bit error rate feedback request, and send the bit error rate feedback request and the bit error rate to the first DSP optical module. When receiving ACK data replied by the first DSP optical module, confirm the completion of the tuning operation of the current iteration round.

[0018] In one implementation of the present application, before sending the tuning request to the second DSP optical module according to the preset optical module optical port transmission parameter matrix, the method further includes:

[0019] A startup tuning request is sent to the second DSP optical module through the first DSP optical module, so that the second DSP optical module responds to the startup tuning request and performs the tuning operation to confirm the startup of the optical port transmission parameter tuning between the second DSP optical module and the module.

[0020] In one implementation of the present application, after determining the first optimal bit error rate and the corresponding first channel parameter, the method further includes:

[0021] A tuning end request is sent to the second DSP optical module through the first DSP optical module, so as to confirm the end of tuning of optical port transmission parameters between the first DSP optical module and the second DSP optical module after receiving ACK data sent by the second DSP optical module in response to the tuning end request.

[0022] In one implementation of the present application, electrical port parameters between the device and the DSP optical module are matched to determine target device electrical port transmission parameters and target optical module electrical port transmission parameters, specifically including:

[0023] Start the PRBS checker through the management interface control module in the device;

[0024] Sending a PRBS code to the DSP optical module according to the PRBS checker, so that the DSP optical module calculates a first bit error rate according to the PRBS code;

[0025] Adjust the SI parameters according to the preset transmission parameter matrix through the device until the target device electrical port transmission parameters are obtained;

[0026] and, starting the PRBS pattern generator through a management interface control module in the device;

[0027] Sending a PRBS code to the device according to the PRBS pattern generator through the DSP optical module, so that the device determines a second bit error rate corresponding to the PRBS code according to the PRBS checker;

[0028] The SI parameters are adjusted according to the preset transmission parameter matrix through the DSP optical module until the target optical module electrical port transmission parameters are obtained.

[0029] In one implementation of the present application, after starting the PRBS checker, the method further includes:

[0030] By setting the delay waiting time, the first DSP optical module is controlled to delay starting the PRBS pattern generator to determine that the second DSP optical module successfully starts the PRBS checker.

[0031] In one implementation of the present application, before matching the electrical port parameters between the device and the DSP optical module to determine the target device electrical port transmission parameters and the target optical module electrical port transmission parameters, the method further includes:

[0032] According to the preset Ethernet protocol, the SerDes parameters of the device and DSP optical module are preliminarily tuned; wherein the Ethernet protocol is the IEEE802.3 protocol.

[0033] In one implementation of the present application, the first DSP optical module and the second DSP optical module turn off the PRBS pattern generator and the PRBS checker during the PRBS test.

[0034] An embodiment of the present application provides a SerDes parameter adjustment device based on a DSP optical module, the device comprising:

[0035] at least one processor;

[0036] and, a memory communicatively coupled to the at least one processor;

[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the SerDes parameter adjustment method based on a DSP optical module as described in any one of the above items.

[0038] An embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to:

[0039] A SerDes parameter adjustment method based on a DSP optical module as described in any of the above items.

[0040] The SerDes parameter adjustment method based on a DSP optical module proposed in this application can bring the following beneficial effects:

[0041] Through automatic matching of electrical port parameters, iterative optimization based on a preset transmission parameter matrix, and a bidirectional parameter optimization mechanism, the optimal channel parameters for the device and optical module can be precisely determined without complex manual adaptation. This eliminates the need for human intervention and effectively addresses the issue of poor compatibility between DSP optical modules and devices. This not only improves the granularity and operational convenience of parameter adaptation, but also maximizes full-link signal quality optimization through bit error rate feedback, ensuring link stability when interconnecting different devices and optical modules. This provides an efficient and reliable adaptive adjustment solution for high-speed optical communication scenarios. Furthermore, adaptive adjustment of electrical and optical port parameters when adapting DSP optical modules to devices is a refined adjustment based on traditional parameter adjustment, which can maximize link signal quality optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0043] Figure 1 A flowchart of a SerDes parameter adjustment method based on a DSP optical module provided in an embodiment of the present application;

[0044] Figure 2 A device link block diagram provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of channel parameters of a switch device port provided in an embodiment of the present application;

[0046] Figure 4 A structural diagram of a SerDes parameter adjustment device based on a DSP optical module provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0048] Optical modules, a crucial component of fiber-optic communications, are optoelectronic devices that perform both photoelectric and electro-optical conversion. They enable interconnection between network cards and switches, as well as between switches at different levels. However, as SerDes (SerDes) rates increase, factors such as signal loss and crosstalk become increasingly significant, significantly impacting transmission stability.

[0049] To improve signal quality, optical modules with clock recovery, or CDR (Clock Data Recovery) modules, began to appear in the 25G / lane era, and forward error correction (FEC) technology began to be widely adopted. CDR optical modules perform clock recovery on both the transmitter and receiver sides, reducing the probability of misjudgment and lowering the bit error rate. FEC technology further reduces the probability of post-correction errors. This generation of products offers significant signal margins, ensuring the stability of existing networks. Compatibility issues between 25G / 100G optical modules and equipment are rare. However, with the 50G / lane era, CDR solutions have encountered numerous issues. The industry consensus is that 50G has reached the limit of CDR capabilities. The higher the rate, the lower the signal-to-noise ratio, and the more likely CDRs are to experience lock loss or false lock, thus affecting link stability. Industry-wide, Alibaba was the only company initially to use 50G CDR modules to adapt existing network adapters and switches. However, these modules experienced significant signal dropouts and sudden bit errors, leading to plans to deprecate this solution. Most other leading internet companies have abandoned CDR solutions and switched to DSP modules. Typical 50G / lane CDR modules include 100G QSFP56 / DSFP, 200G QSFP56, and 400G QSFP-DD optical modules.

[0050] Compared to CDR, DSP re-encodes the signal and optimizes it through software algorithms. Currently, DSP solutions are widely used in 50G SerDes optical modules and above. DSP optical modules improve signal quality, enabling the successful commercialization of 100G and even 200G SerDes solutions. The stability of DSP optical modules is unmatched by CDR modules. In the 50G / lane era, different optical module vendors using different DSP solutions can produce optical modules compatible with the same equipment. Even without debugging, there are generally no compatibility issues, and signal quality is guaranteed. This is why DSP optical modules have been widely used in the 50G / lane era. In the 100G / lane era, CDR modules were completely phased out, and DSP optical modules became the absolute mainstream, with a small number of LPO modules in use (this section will not be expanded on; LPO's advantage is low power consumption, but compatibility issues are more common). However, as SerDes rates increased, the signal-to-noise ratio (SNR) decreased. Compared to the 50G / lane era, compatibility issues between modules and devices became more and more prominent. Different optical module manufacturers, different DSPs, different optical chip solutions, and even different firmware versions all had a significant impact on module-device compatibility. The corresponding optical and electrical parameters of the modules, as well as the electrical parameters of the devices, required fine-tuning to achieve optimal performance. The bit error rate (BER) on the device side also increased from the 1E-12 level in the 50G / lane era to the more common 1E-10 level. However, 1E-10 is still a relatively stable BER level, with ample margin, ensuring stable signal quality. (The current industry consensus is that the BER before FEC correction for 100G SerDes should not exceed 1E-7; otherwise, the long-term stability of the link cannot be guaranteed.)

[0051] A more prominent problem has emerged in the latest 200G / lane era, such as NVIDIA's CX8 network cards and X800 switches, as well as 200G / lane equipment released by other manufacturers (Broadcom, Marvell, and Centec Solutions). Based on current compatibility, optical modules produced by leading optical module suppliers, when used with 200G / lane equipment, can only achieve a pre-correction BER of the order of 1E-8. Suppliers with mediocre technology and production capabilities can only achieve 1E-7, which is extremely risky for large-scale applications. In the absence of new solutions or innovations in coding, FEC, and equalization technologies, DSP optical modules appear to be approaching their application limits.

[0052] In summary, as SerDes (SerDes) rates increase, various technologies have been used to optimize signal quality and ensure link stability. Optical modules initially introduced CDR technology, later developed DSP technology, and at the signal level, FEC and various equalizer technologies. However, even with these improvements, compatibility between high-speed DSP optical modules and other devices has become a significant challenge, necessitating more reliable solutions to ensure link stability.

[0053] To improve link stability, high-speed DSP optical modules often require a complex manual adaptation process when used. The details are as follows:

[0054] Debugging the transmitter signal parameters on the device side: Based on the loss of each link, referencing the IEEE802.3 Chip to Module model, adjust the transmitter equalizer parameters until the transmitter signal indicators meet the protocol specifications.

[0055] Debugging the optical transmit signal parameters of the DSP optical module: This debugging work is generally completed before the module leaves the factory. The manufacturer refers to the optical eye diagram template in the PMD model in the IEEE802.3 protocol and adjusts the equalizer parameters of the optical transmitter until the transmit optical eye diagram indicators meet the protocol specifications.

[0056] DSP optical module electrical transmission signal parameter debugging: This debugging work is also completed before the module leaves the factory. The manufacturer refers to the electrical eye diagram template in the PMD model in the IEEE802.3 protocol and adjusts the equalizer parameters of the electrical transmitter until the transmission electrical eye diagram indicators meet the protocol specifications.

[0057] During the module and device adaptation phase, the optical module's channel parameters typically need to be re-optimized based on the device's channel parameters. This process currently can only be performed manually, and after multiple verifications and adjustments, the optimal parameters are ultimately obtained.

[0058] Regarding the aforementioned traditional parameter adjustment solutions, the existing IEEE802.3 protocol imposes excessively broad or even unreasonable constraints on electrical and optical port parameters, resulting in the protocol failing to provide effective guidance during actual adaptation. For example, for 100G / lane modules, the protocol requires an output swing of no more than 845mV, distinguishing between two different modes (long mode and short mode). Both modules support this configuration. However, for some devices, when the module output exceeds 600mV, signal clipping occurs at the receiver, leading to a sharp increase in bit error rates. Therefore, ensuring module and device compatibility in high-speed SerDes scenarios solely through public protocols is clearly insufficient.

[0059] Furthermore, the parameter adaptation process for existing modules and devices is still performed manually, resulting in a large granularity and insufficient precision. This makes the process less user-friendly when adapting to multiple optical modules with different solutions, and the final adaptation effect cannot be guaranteed.

[0060] After adjusting the Tx channel parameters of the device's electrical port and the module's optical and electrical ports according to the protocol, it's time to adapt the module and device. The current common practice is as follows:

[0061] Debug the parameters of the module's electrical port output, fix the Tx channel parameters of the device's electrical port unchanged, first perform DSP electrical loopback on the optical module, and loop the signal directly from the module's receiving end to the transmitting end, and then back to the device's receiving end. In this mode, adjust the module's electrical port Tx channel parameters and obtain the optimal configuration through parameter scanning; of course, this process can be achieved through script control, but the problem with this process is that the Tx channel parameters of the device's electrical port remain unchanged by default. When the device is adapted to a large number of modules, there will be obvious differences. Obviously, it is unreasonable to use a fixed set of parameters to adapt modules of different brands and solutions. In the 200G / lane era, in order to achieve better results, optical modules adapted to different solutions often need to re-adapt the device's Tx channel parameters;

[0062] Module optical port output parameter debugging: The module's optical port Tx parameters are debugged before shipment. After the module is installed in the equipment manufacturer, the optical port parameters are not debugged. The manufacturer's internal debugging process is as follows: The module is inserted into a loopback fiber, looping the signal from the transmitter to the receiver. In this mode, the module's PRBS function is enabled, and a parameter scan is performed to obtain the optimal configuration. This solution only adapts the optical path of modules of the same manufacturer and specifications. However, when interconnecting high-speed modules from different manufacturers, the Tx parameters must be readjusted due to significant differences in parameter adaptation between manufacturers, which cannot guarantee the optimal results.

[0063] To address compatibility issues between high-speed DSP optical modules and devices, the present invention employs an auto-negotiation mechanism that enables adaptive adjustment of channel parameters between modules and devices, and between modules. When a module is inserted into a port, the device automatically matches the electrical port parameters of the module with those of the device. After interconnecting with the peer device via optical fiber, the optical port parameters of the modules at both ends are matched. This entire process requires no human intervention, enabling adaptive adjustment of the device's electrical port transmission parameters, the module's optical port transmission parameters, and ultimately, the module's electrical port transmission parameters.

[0064] The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.

[0065] like Figure 1As shown, an embodiment of the present application provides a SerDes parameter adjustment method based on a DSP optical module, including:

[0066] S101: When the DSP optical module is inserted into the device port, electrical port parameters between the device and the DSP optical module are matched to determine target device electrical port transmission parameters and target optical module electrical port transmission parameters.

[0067] The DSP optical module in the embodiment of the present application requires both the optical port and the electrical port to have PRBS function. At present, all DSPs support it, and the optical modules of mainstream manufacturers will also develop this function. In addition, before adapting the module and the device, it is first necessary to perform preliminary SerDes parameter tuning on the device and DSP optical module according to the traditional parameter tuning scheme mentioned above and the IEEE802.3 protocol. Only after the preliminary tuning is completed can the port channel parameters of the device and module meet the protocol specifications, ensuring that the device port can link up when the module is inserted into the device port, facilitating subsequent fine-tuning.

[0068] like Figure 2 The diagram shows a device link block diagram, with the transmitter on the left and the receiver on the right. The PMD (Physical Medium Dependent) service interface connects the transmitter and receiver, while the MDI (Medium Dependent Interface) connects to external media such as optical fibers. The optical transmitter converts electrical signals into optical signals and transmits them into the optical fiber. The optical receiver converts the optical signals back into electrical signals. The retimer function (part of the PMA, part of the Physical Medium Attachment) performs signal retiming. TP1<0:3>, TP2<0:3>, TP3<0:3>, and TP4<0:3> are test points for signal monitoring. Signals enter from L0-L3 on the left, are processed by the transmitter, and then transmitted to the receiver via optical fiber. Signals are then output from L0-L3 on the right. SIGNAL_DETECT is used to detect the presence of signals.

[0069] The port channel parameters of the device port and DSP optical module mainly include Main, Pre-EQ, and Post-EQ, such as Figure 3The diagram below shows the channel parameters for a switch device port. When performing parameter traversal on a device, the parameter matrix is ​​typically designed using methods such as controlled variable methods, orthogonal experiments, and the bisection method. Once designed, this matrix applies to all ports, and the channel parameters of the same module are similar. The parameter matrix does not need to be designed individually; it can be automatically generated using a specific method. In other words, the consistency of parameters such as fir_pre / main / post for each channel indicates that the same set of parameter matrices is being reused. In actual scenarios, the device first generates channel parameters for a specific channel using the controlled variable method, orthogonal experiments, and the bisection method. This set of parameters is then directly copied to other channels, eliminating the need for repeated testing and achieving automatic reuse and generation.

[0070] The channel parameters generated above are multiple groups. In the fine adjustment stage, it is necessary to find the optimal channel parameter combination from the parameter matrix to improve the link signal quality.

[0071] During the fine-tuning phase, the electrical port parameters between the DSP optical module and the device must be optimized. After the DSP optical module is inserted into the device port, the device automatically initiates a matching process between the DSP optical module and the device's electrical port parameters, thereby obtaining the target device electrical port transmission parameters and the target optical module electrical port transmission parameters.

[0072] Specifically, for TP1a (device-side electrical transmission) parameter matching, the device's management interface control module activates the PRBS checker. The PRBS checker sends a PRBS code to the DSP optical module, which calculates a first bit error rate (BER) based on the PRBS code. After determining the first BER, the device adjusts the SI parameters according to a preset transmission parameter matrix until the target device's electrical port transmission parameters are achieved.

[0073] TP4 (module-side electrical transmission) parameter matching: The management interface control module in the device activates the PRBS pattern generator. The DSP optical module transmits the PRBS code to the device based on the PRBS pattern generator, allowing the device to determine the corresponding second bit error rate (BER) using the PRBS checker. After determining the second BER, the DSP optical module adjusts the SI parameters according to the preset transmission parameter matrix until the target optical module electrical port transmission parameters are achieved.

[0074] It should be noted that regarding the adjustment of channel parameters, the embodiments of this application only mention the adjustment of the transmitting end parameters, and do not mention the receiving end. The current equipment and the receiving side of the DSP optical module have already implemented adaptive parameter adjustment, and there is no need to adjust them separately.

[0075] S102: Establishing a network link between the devices to be interconnected, and determining a second DSP optical module between the devices to be interconnected and a first DSP optical module whose parameters are first optimized.

[0076] After completing electrical port matching, connect the two devices to be interconnected via optical fiber to establish a network link. The two interconnected ports are now linked up, allowing normal communication between the devices at both ends, facilitating subsequent tuning of the optical port transmission parameters of the DSP optical modules. The order in which the two ports negotiate parameter tuning can be determined based on the order in which the link is established. The DSP optical module that is activated first is designated the first DSP optical module, followed by the second DSP optical module.

[0077] S103: When parameter tuning is started on the first DSP optical module, a tuning request is sent to the second DSP optical module through the first DSP optical module according to a preset transmission parameter matrix, so that the second DSP optical module responds to the tuning request, calculates the bit error rate of the network link, and feeds back the bit error rate to the first DSP optical module.

[0078] When parameter tuning is initiated on the first DSP optical module, a tuning request is sent to the second DSP optical module via the first DSP optical module based on a preset transmission parameter matrix. The request carries the transmission parameter combination currently being tested. The PRBS code is a standard test signal (pseudo-random binary sequence) used to simulate real data transmission. The second DSP optical module responds to the tuning request by comparing the received pattern with the expected pattern using a PRBS checker to calculate the bit error rate (BER). The BER is a scoring standard for parameter quality; lower values ​​indicate better signal quality. After the second module feeds back the network link's BER to the first module, the first module finds the optimal solution by comparing the BER under different parameters.

[0079] In one embodiment, the second DSP optical module performs an optimization operation on the optical port transmission parameters of the DSP optical module in response to the optimization request. This application implements a response mechanism for the peer device after the request is sent, namely, an ACK mechanism. The local device will continue to send the optimization request until the peer device responds with ACK data. The optimization operation steps are as follows:

[0080] The second DSP optical module replies ACK data to the first DSP optical module and starts the PRBS checker.

[0081] When the PRBS checker is enabled and the PRBS pattern generator is enabled on the first DSP optical module, the second DSP optical module calculates the bit error rate (BER) of the network link based on the PRBS pattern generated by the PRBS pattern generator sent by the first DSP optical module.

[0082] After calculating the bit error rate, the second DSP optical module generates a bit error rate feedback request and sends the bit error rate feedback request and bit error rate to the first DSP optical module. If the first DSP optical module responds with ACK data, it can confirm that the tuning operation of the current iteration is completed.

[0083] It should be noted that when the second DSP optical module starts the PRBS checker, the first DSP optical module will not immediately send the PRBS code to the second DSP optical module, but will delay the start-up by the set delay waiting time. The delay waiting time provides sufficient startup time for the PRBS checker. Through this delay mechanism, it can ensure that the PRBS checker on the other end is turned on.

[0084] In addition, during the PRBS test of the first and second DSP optical modules, the two interconnected ports must be unable to communicate. Therefore, the PRBS pattern generator and PRBS checker need to be turned off. That is to say, after the second DSP optical module sends the PRBS code, it is necessary to turn off the PRBS checker, and then calculate the BER and feed the BER back to the first DSP optical module.

[0085] In one embodiment, before performing the tuning, the first DSP optical module first needs to confirm that the optical port transmission parameter tuning between the first DSP optical module and the second DSP optical module has been started.

[0086] Specifically, before performing the above-mentioned iterative tuning process, the first DSP optical module sends a start-tuning request to the second DSP optical module. In response to the start-tuning request, the second DSP optical module performs the above-mentioned tuning operation. After completing the tuning operation, the first DSP optical module stores the received bit error rate information on the device side and replies with the corresponding ACK data to the second DSP optical module. At this time, it confirms that the optical port transmission parameter tuning between the first DSP optical module and the second DSP optical module has been started, which means that the optical port transmission parameters of the DSP optical module will be fine-tuned next, and the subsequent parameter tuning operation based on the transmission parameter matrix can be performed.

[0087] S104: Iteratively traverse the transmission parameter matrix through the first DSP optical module to determine a first optimal bit error rate and a first channel parameter corresponding to the first DSP optical module.

[0088] After completing the tuning operation of the current iteration round, the first DSP optical module needs to continue to iterate the transmission parameter matrix to obtain a first optimal bit error rate and a first channel parameter corresponding to the first DSP optical module.

[0089] After finding the optimal first channel parameters, the first DSP optical module sends a tuning end request to the second DSP optical module. Upon receiving the tuning end request, the second DSP optical module sends an ACK data to the first DSP optical module to confirm receipt of the request. At this point, parameter tuning for the optical port transmission from the first DSP optical module to the second DSP optical module is complete.

[0090] S105: Perform reverse parameter tuning on the second DSP optical module to obtain a second optimal bit error rate and second channel parameters corresponding to the second DSP optical module.

[0091] After completing the optical port transmission parameter tuning of the first DSP optical module, it is necessary to start reverse parameter tuning of the second DSP optical module. The specific steps are the same as the tuning process of the first DSP optical module mentioned above. After the tuning is completed, the second optimal bit error rate and the second channel parameters corresponding to the second DSP optical module can be obtained.

[0092] S106: According to the first channel parameter and the second channel parameter, configure optical port transmission parameters for the first DSP optical module and the second DSP optical module respectively, and restart the network link based on the configured optical port transmission parameters to implement SerDes parameter adjustment of the DSP optical module.

[0093] After bidirectional link parameter tuning is complete, the devices at both ends configure the DSP optical module's optical port transmitter parameters through the management interface. Specifically, they configure the optical port transmit parameters for the first and second DSP optical modules based on the first and second channel parameters. After configuration is complete, the network link is restarted. Once the ports are linked up, adaptive adjustment of the DSP optical module's SerDes parameters is complete.

[0094] During the above tuning process, if any communication anomaly occurs (for example, plugging or unplugging an optical fiber or a module causing the port to go down), the adaptive adjustment will be declared invalid and you will need to wait until both ends are linked up before re-adjusting.

[0095] The embodiment of the present application actually provides a mechanism method for adaptive negotiation, which can be incorporated into relevant network protocols as an optional solution when Ethernet or Infiniband network devices are interconnected and link-established.

[0096] The above are embodiments of the method proposed in this application. Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.

[0097] Figure 4 This is a structural diagram of a Serdes parameter adjustment device based on a DSP optical module provided in an embodiment of the present application. Figure 4Shown, including:

[0098] at least one processor; and,

[0099] at least one processor communicatively connected to a memory; wherein,

[0100] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the SerDes parameter adjustment method based on the DSP optical module as described in any one of the above items.

[0101] An embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0102] A SerDes parameter adjustment method based on a DSP optical module as described in any of the above items.

[0103] The various embodiments in this application are described in a progressive manner. Similar portions between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device and medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For relevant portions, refer to the descriptions of the method embodiments.

[0104] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0105] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0106] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0107] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0109] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0110] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0111] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0112] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0113] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A Serdes parameter adjustment method based on a DSP optical module, characterized in that: The method comprises: When the DSP optical module is inserted into the device port, the electrical port parameters between the device and the DSP optical module are matched to determine the target device electrical port transmission parameters and the target optical module electrical port transmission parameters; Establishing a network link between the devices to be interconnected, and determining a second DSP optical module between the devices to be interconnected and a first DSP optical module for which parameter tuning is started first; When parameter tuning is started on the first DSP optical module, a tuning request is sent to the second DSP optical module through the first DSP optical module according to a preset transmission parameter matrix, so that the second DSP optical module calculates a bit error rate of the network link in response to the tuning request and feeds the bit error rate back to the first DSP optical module; Iteratively traverse the transmission parameter matrix through the first DSP optical module to determine a first optimal bit error rate and a first channel parameter corresponding to the first DSP optical module; Performing reverse parameter tuning on the second DSP optical module to obtain a second optimal bit error rate and second channel parameters corresponding to the second DSP optical module; According to the first channel parameters and the second channel parameters, the optical port transmission parameters of the first DSP optical module and the second DSP optical module are configured respectively, and based on the configured optical port transmission parameters, the network link is restarted to achieve fine adjustment of the SerDes parameters of the DSP optical module.

2. The Serdes parameter adjustment method based on a DSP optical module according to claim 1, wherein: The second DSP optical module calculates the bit error rate of the network link in response to the tuning request and feeds the bit error rate back to the first DSP optical module, specifically including: Based on the second DSP optical module, in response to the start tuning request, perform a tuning operation on the optical port transmission parameters of the DSP optical module; The steps of the tuning operation are: Reply ACK data to the first DSP optical module and start the PRBS checker; When the PRBS checker is started and the first DSP optical module starts the PRBS pattern generator, calculating the bit error rate of the network link according to the PRBS code sent by the first DSP optical module; wherein the PRBS code sent by the first DSP optical module is generated by the PRBS pattern generator; Generate a bit error rate feedback request, and send the bit error rate feedback request and the bit error rate to the first DSP optical module. When receiving ACK data replied by the first DSP optical module, confirm the completion of the tuning operation of the current iteration round.

3. The Serdes parameter adjustment method based on a DSP optical module according to claim 2, wherein: Before sending the tuning request to the second DSP optical module according to the preset optical module optical port transmission parameter matrix, the method further includes: A startup tuning request is sent to the second DSP optical module through the first DSP optical module, so that the second DSP optical module responds to the startup tuning request and performs the tuning operation to confirm the startup of the optical port transmission parameter tuning between the second DSP optical module and the module.

4. The Serdes parameter adjustment method based on a DSP optical module according to claim 1, wherein: After determining the first optimal bit error rate and the corresponding first channel parameter, the method further includes: A tuning end request is sent to the second DSP optical module through the first DSP optical module, so as to confirm the end of tuning of optical port transmission parameters between the first DSP optical module and the second DSP optical module after receiving ACK data sent by the second DSP optical module in response to the tuning end request.

5. The Serdes parameter adjustment method based on a DSP optical module according to claim 1, wherein: Match the electrical port parameters between the device and the DSP optical module to determine the target device electrical port transmission parameters and the target optical module electrical port transmission parameters. Specifically, the parameters include: Start the PRBS checker through the management interface control module in the device; Sending a PRBS code to the DSP optical module according to the PRBS checker, so that the DSP optical module calculates a first bit error rate according to the PRBS code; Adjust the SI parameters according to the preset transmission parameter matrix through the device until the target device electrical port transmission parameters are obtained; and, starting the PRBS pattern generator through a management interface control module in the device; Sending a PRBS code to the device according to the PRBS pattern generator through the DSP optical module, so that the device determines a second bit error rate corresponding to the PRBS code according to the PRBS checker; The SI parameters are adjusted according to the preset transmission parameter matrix through the DSP optical module until the target optical module electrical port transmission parameters are obtained.

6. The Serdes parameter adjustment method based on a DSP optical module according to claim 2, wherein: After starting the PRBS checker, the method further includes: By setting the delay waiting time, the first DSP optical module is controlled to delay starting the PRBS pattern generator to determine that the second DSP optical module successfully starts the PRBS checker.

7. The SerDes parameter adjustment method based on a DSP optical module according to claim 1, characterized in that: Before matching electrical port parameters between the device and the DSP optical module to determine electrical port transmission parameters of the target device and electrical port transmission parameters of the target optical module, the method further includes: According to the preset Ethernet protocol, the SerDes parameters of the device and DSP optical module are preliminarily tuned; wherein the Ethernet protocol is the IEEE802.3 protocol.

8. The SerDes parameter adjustment method based on a DSP optical module according to claim 1, characterized in that: During the PRBS test, the first DSP optical module and the second DSP optical module turn off the PRBS pattern generator and the PRBS checker.

9. A Serdes parameter adjustment device based on a DSP optical module, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the SerDes parameter adjustment method based on a DSP optical module as described in any one of claims 1-8.

10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: A SerDes parameter adjustment method based on a DSP optical module according to any one of claims 1 to 8.