Network signal debugging method, device and equipment, and storage medium

By building and debugging analog circuits and optimizing the signal debugging of the baseboard management controller based on the RGMII signal waveform, the problem of low efficiency and poor accuracy of manual series resistance adjustment is solved, and the efficiency and accuracy of signal debugging are improved.

CN118590198APending Publication Date: 2024-09-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410853879.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, manual adjustment of the series resistance of the RGMII signal is inefficient and cannot meet various requirements in server testing and use, resulting in poor signal debugging accuracy.

Method used

By capturing the RGMII signal waveform of the baseboard management controller, constructing an analog circuit and analyzing it, determining abnormal test items, debugging the analog circuit to produce the optimal waveform, and recording the debugging parameters, based on these parameters, the RGMII of the baseboard management controller is evaluated. signal for debugging.

Benefits of technology

The debugging efficiency and accuracy of the RGMII signal are improved, and the debugging effect is clearly presented through the waveform of the analog signal, so that the RGMII signal reaches the optimal waveform and meets the normal network data transmission needs of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590198A
    Figure CN118590198A
Patent Text Reader

Abstract

The invention discloses a network signal debugging method, device and equipment and a storage medium, the method is applied to an upper computer, the upper computer is connected with a substrate management controller through a debugging interface, the substrate management controller is connected with a network port through a physical layer chip, and the method comprises the following steps: capturing a waveform of an RGMII signal of the substrate management controller, an analog circuit is constructed based on the waveform; wherein the analog circuit is used for generating an analog signal consistent with an RGMII signal in waveform; analyzing the waveform to determine an abnormal test item in the test items of the RGMII signal; debugging the analog circuit according to the abnormal test item so as to enable an analog signal generated by the debugged analog circuit to reach an optimal waveform, and recording a numerical value of a debugging parameter when the analog signal reaches the optimal waveform; and debugging the RGMII signal of the substrate management controller based on the numerical value of the debugging parameter when the analog signal reaches the optimal waveform. According to the invention, the debugging efficiency and accuracy of the RGMII signal are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a network signal debugging method, device and equipment, and storage medium. Background Art

[0002] During the testing and use of the server, it is necessary to access the BMC user management interface through a dedicated network port or a shared network port. The pre-shipment test of the server and the on-site use of the customer after delivery require access to the BMC (Baseboard Management Controller) user management interface to interact with the server or debug. During the testing and use of the server, it is necessary to ensure that the server does not lose packets to ensure the normal operation of the network. The waveform quality of the RGMII (Reduced Gigabit Media Independent Interface) signal determines the quality of network data transmission.

[0003] The BMC MAC (Media Access Control) is connected to the dedicated network port through the PHY (Physical Layer) chip. The clock data and signals of the RGMII between the BMC and the PHY are reserved with string resistance. By adjusting the string resistance value, the waveform quality of the signal is adjusted, which facilitates signal debugging. In the related art, the waveform quality of the RGMII signal is adjusted by manually adjusting the string resistance value. However, manual string resistance is inefficient and cannot meet the requirements of each test item, resulting in poor accuracy.

[0004] Therefore, how to improve the debugging efficiency and accuracy of the RGMII signal is a technical problem that those skilled in the art need to solve. Summary of the invention

[0005] The purpose of this application is to provide a network signal debugging method, device and equipment, and storage medium to improve the debugging efficiency and accuracy of RGMII signals.

[0006] To achieve the above object, the present application provides a network signal debugging method, which is applied to a host computer, wherein the host computer is connected to a baseboard management controller via a debugging interface, and the baseboard management controller is connected to a network port via a physical layer chip. The method includes:

[0007] Capturing the waveform of the RGMII signal of the baseboard management controller, and constructing an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the RGMII signal waveform;

[0008] Analyzing the waveform to determine abnormal test items in the test items of the RGMII signal;

[0009] Debugging the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform;

[0010] The RGMII signal of the baseboard management controller is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0011] The host computer is connected to a field programmable gate array through a debugging interface, the field programmable gate array is connected to the baseboard management controller, and the baseboard management controller is connected to the physical layer chip through the field programmable gate array.

[0012] The test items include any one or a combination of any two of the following: voltage value, overshoot value, and timing value.

[0013] After constructing the analog circuit based on the waveform, the method further includes:

[0014] Displaying the waveform of the analog signal in a visual interface;

[0015] Accordingly, debugging the analog circuit according to the abnormal test item includes:

[0016] Receive a debugging instruction, debug corresponding debugging parameters in the analog circuit according to the debugging instruction, and display an analog signal generated by the debugged analog circuit in the visual interface.

[0017] The method further comprises debugging the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0018] Determine the weights and standard values ​​corresponding to various debugging parameters in the analog circuit;

[0019] Acquire current values ​​of various debugging parameters of the analog circuit, and calculate deviation factors of various debugging parameters based on the current values ​​and standard values ​​of various debugging parameters;

[0020] Calculate the product of the weight corresponding to the debugging parameter, the deviation factor, and the proportional control parameter of the PID adjustment as the proportional control value corresponding to the debugging parameter, and sum the proportional control values ​​of the various debugging parameters to obtain a first sum value;

[0021] Calculate the product of the weight corresponding to the debugging parameter, the integral value of the deviation factor, and the integral control parameter of the PID regulation as the integral control value corresponding to the debugging parameter, and sum the integral control values ​​of each debugging parameter to obtain a second sum value;

[0022] Calculate the product of the weight corresponding to the debugging parameter, the differential value of the deviation factor, and the differential control parameter of the PID adjustment as the differential control value corresponding to the debugging parameter, and sum the differential control values ​​of each debugging parameter to obtain a third sum value;

[0023] A signal quality parameter is constructed based on the sum of the first summation value, the second summation value and the third summation value, and the values ​​of each debugging parameter when the signal quality parameter is minimum are determined as the values ​​of each debugging parameter when the analog signal reaches an optimal waveform.

[0024] Among them, the signal quality parameter It is expressed as:

[0025] ;

[0026] in, is the weight corresponding to the i-th debugging parameter, is the deviation factor of the i-th tuning parameter, n is the number of tuning parameters, is the proportional control parameter, is the integral control parameter, is the derivative control parameter, and t is time.

[0027] The debugging parameters include any one or a combination of any one of the resistance value of the series resistor, the resistance value of the pull-up and pull-down resistors, the capacitance value of the capacitor, and the current value of the driving current.

[0028] To achieve the above object, the present application provides a network signal debugging device, which is applied to a host computer, wherein the host computer is connected to a baseboard management controller via a debugging interface, and the baseboard management controller is connected to a network port via a physical layer chip. The device includes:

[0029] A capture module, used to capture the waveform of the RGMII signal of the baseboard management controller, and to construct an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the waveform of the RGMII signal;

[0030] A determination module, configured to analyze the waveform to determine abnormal test items in the test items of the RGMII signal;

[0031] A first debugging module, used for debugging the analog circuit according to the abnormal test item, so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform;

[0032] The second debugging module is used to debug the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0033] To achieve the above objectives, the present application provides an electronic device, including:

[0034] Memory for storing computer programs;

[0035] A processor is used to implement the steps of the above-mentioned network signal debugging method when executing the computer program.

[0036] To achieve the above objectives, the present application provides a non-volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above network signal debugging method are implemented.

[0037] To achieve the above objectives, the present application provides a computer program product, including a computer program, which implements the steps of the above network signal debugging method when executed by a processor.

[0038] It can be seen from the above scheme that a network signal debugging method provided by the present application is applied to a host computer, the host computer is connected to a baseboard management controller through a debugging interface, and the baseboard management controller is connected to a network port through a physical layer chip, and the method includes: capturing the waveform of the RGMII signal of the baseboard management controller, and constructing an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the RGMII signal waveform; analyzing the waveform to determine abnormal test items in the test items of the RGMII signal; debugging the analog circuit according to the abnormal test items so that the analog signal generated by the debugged analog circuit reaches the optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform; debugging the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0039] The network signal debugging method provided by the present application builds an analog circuit through a host computer, realizes the analog debugging of the RGMII signal by debugging the analog circuit, quickly tries multiple groups of debugging parameters, and improves the debugging efficiency. At the same time, the debugging effect can be clearly presented through the waveform of the analog signal, and the RGMII signal is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform, so that the RGMII signal can reach the optimal waveform, thereby improving the debugging accuracy. It can be seen that the network signal debugging method provided by the present application improves the debugging efficiency and accuracy of the RGMII signal. The present application also discloses a network signal debugging device, an electronic device, a non-volatile storage medium, and a computer program product, which can also achieve the above-mentioned technical effects.

[0040] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific implementation methods, they are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the drawings:

[0042] Figure 1 It is a structural diagram of a network signal debugging system in the related art;

[0043] Figure 2 The present invention is a flowchart of a network signal debugging method according to an exemplary embodiment;

[0044] Figure 3 is a structural diagram of a network signal debugging system according to an exemplary embodiment;

[0045] Figure 4 is a flow chart of another network signal debugging method according to an exemplary embodiment;

[0046] Figure 5 is a block diagram of a control and regulation system according to an exemplary embodiment;

[0047] Figure 6 is a structural diagram of a network signal debugging device according to an exemplary embodiment;

[0048] Figure 7 The figure is a structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0050] In related technologies, such as Figure 1As shown, the baseboard management controller is connected to the network card through the physical layer chip. String resistance is reserved for the clock data and signal of RGMII between the baseboard management controller and the physical layer chip. The waveform quality of the signal is adjusted by adjusting the string resistance value, which facilitates signal debugging. At the same time, the signal is also reserved for pull-up and pull-down to adjust the RGMII signal waveform. Problems including signal overshoot can be solved by adjusting the string resistance value to ensure normal network functions.

[0051] However, as the string resistance increases, the link's driving capability will be affected, resulting in the BMC network function being affected or even crashing. The driving capability of the BMC's RGMII port and the string resistance in the RGMII link will affect the signal quality and thus the quality of accessing the BMC function. Manually adjusting the string resistance value to adjust the RGMII signal waveform quality is inefficient and inaccurate.

[0052] Therefore, in this application, the signal simulation debugging is realized by the host computer based on labview (laboratory virtual instrument engineering workbench), and multiple groups of debugging parameters are quickly tried to improve the debugging efficiency. The debugging effect can be clearly presented through the waveform of the simulated signal. The RGMII signal is debugged based on the value of the debugging parameter when the simulated signal reaches the optimal waveform, which can make the RGMII signal reach the optimal waveform and improve the debugging accuracy.

[0053] The embodiment of the present application discloses a network signal debugging method, which improves the debugging efficiency and accuracy of RGMII signals.

[0054] See also Figure 2 , according to an exemplary embodiment, a flowchart of a network signal debugging method is shown, such as Figure 2 As shown, including:

[0055] S101: Capture the waveform of the RGMII signal of the baseboard management controller, and construct an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the waveform of the RGMII signal;

[0056] The execution subject of this embodiment is a host computer, which is connected to the baseboard management controller through a debugging interface, and the baseboard management controller is connected to the network port through a physical layer chip. As a feasible implementation method, the host computer is connected to a field programmable gate array through a debugging interface, the field programmable gate array is connected to the baseboard management controller, and the baseboard management controller is connected to the physical layer chip through the field programmable gate array. In a specific implementation, Figure 3As shown in the figure, the baseboard management controller is connected to the field-programmable gate array (FPGA), the field-programmable gate array is connected to the physical layer chip, the physical layer chip is connected to the network port, and the host computer is connected to the field-programmable gate array through the debug interface. The host computer scans and identifies the FPGA and connects it. After the connection is successful, a prompt can be given in the visual interface of the host computer.

[0057] In a specific implementation, the host computer captures the waveform of the RGMII signal of the baseboard management controller, and can display the waveform of the RGMII signal in the visual interface of the host computer. At the same time, the host computer constructs an analog circuit based on the waveform of the RGMII signal, and the analog circuit is used to generate an analog signal consistent with the waveform of the RGMII signal, that is, the waveform of the analog signal is also displayed in the visual interface of the host computer.

[0058] S102: Analyze the waveform to determine abnormal test items in the test items of the RGMII signal;

[0059] In a specific implementation, the host computer analyzes the waveform of the RGMII signal, determines the test items of the RGMII signal, which may include voltage value, overshoot value, timing value, etc., and determines abnormal test items among the test items.

[0060] As an optional implementation, the waveform is analyzed to determine abnormal test items in the test items of the RGMII signal, including: determining the expected range corresponding to each test item, analyzing the waveform to determine the current value of each test item, and determining the test item whose current value exceeds the corresponding expected range as an abnormal test item. It can be seen that setting a corresponding expected range for each test item and determining the abnormal test item by comparing the current value of each test item with the corresponding expected range improves the efficiency of determining the abnormal test item.

[0061] S103: Debugging the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform;

[0062] In a specific implementation, the analog circuit is debugged for abnormal test items so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and the value of the debugging parameter when the analog signal reaches the optimal waveform is recorded.

[0063] As a feasible implementation method, after constructing an analog circuit based on the waveform, it also includes: displaying the waveform of the analog signal in a visual interface; correspondingly, debugging the analog circuit according to the abnormal test item, including: receiving a debugging instruction, debugging the corresponding debugging parameters in the analog circuit according to the debugging instruction, and displaying the analog signal generated by the debugged analog circuit in the visual interface.

[0064] In a specific implementation, a manual debugging method can be used to adjust various debugging parameters in the analog circuit, which may include the resistance value of the series resistor, the resistance value of the pull-up and pull-down resistors, the capacitance value of the capacitor, the current value of the driving current, etc. After receiving the debugging instruction, the host computer adjusts the corresponding debugging parameters in the analog circuit, and after the adjustment, updates the waveform of the analog signal in the visual interface, so that the analog signal reaches the ideal waveform through continuous debugging.

[0065] As another feasible implementation, the analog circuit is debugged according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches the optimal waveform, and the value of the debugging parameter when the analog signal reaches the optimal waveform is recorded, including: determining the weight and standard value corresponding to each debugging parameter in the analog circuit; obtaining the current value of each debugging parameter of the analog circuit, and calculating the deviation factor of each debugging parameter based on the current value and standard value of each debugging parameter; calculating the product of the weight, deviation factor, and proportional control parameter of PID adjustment corresponding to the debugging parameter as the proportional control value corresponding to the debugging parameter, and summing the proportional control values ​​of each debugging parameter to obtain a first sum value; calculating The weight corresponding to the debugging parameter, the integral value of the deviation factor, and the product of the integral control parameter of the PID adjustment are used as the integral control value corresponding to the debugging parameter, and the integral control values ​​of each debugging parameter are summed to obtain a second summed value; the weight corresponding to the debugging parameter, the differential value of the deviation factor, and the product of the differential control parameter of the PID adjustment are calculated as the differential control value corresponding to the debugging parameter, and the differential control values ​​of each debugging parameter are summed to obtain a third summed value; a signal quality parameter is constructed based on the sum of the first summed value, the second summed value, and the third summed value, and the value of each debugging parameter when the signal quality parameter is minimum is determined as the value of each debugging parameter when the analog signal reaches an optimal waveform.

[0066] In a specific implementation, the host computer can automatically debug each debugging parameter in the analog circuit so that the analog signal generated by the debugged analog circuit reaches the optimal waveform. The deviation factor of each debugging parameter is calculated according to the current value and the standard value of each debugging parameter, and the signal quality parameter is constructed based on the deviation factor and weight of each debugging parameter using the PID (Proportional-Integral-Derivative Control) adjustment method. The larger the signal quality parameter, the worse the quality of the analog signal. Conversely, the smaller the signal quality parameter, the better the quality of the analog signal. The value of each debugging parameter when the signal quality parameter is the minimum is determined as the value of each debugging parameter when the analog signal reaches the optimal waveform.

[0067] As an optional implementation, the signal quality parameter It is expressed as:

[0068] ;

[0069] in, is the weight corresponding to the i-th debugging parameter, is the deviation factor of the i-th tuning parameter, n is the number of tuning parameters, is the proportional control parameter, is the integral control parameter, is the derivative control parameter, and t is time.

[0070] It can be seen that the PID adjustment method is used to automatically adjust various debugging parameters, so that the debugged signal reaches the optimal waveform, which improves the debugging efficiency and accuracy.

[0071] S104: Debugging the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0072] In a specific implementation, the RGMII signal of the baseboard management controller is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0073] The network signal debugging method provided in the embodiment of the present application builds an analog circuit through the host computer, realizes the analog debugging of the RGMII signal by debugging the analog circuit, and quickly tries multiple groups of debugging parameters, thereby improving the debugging efficiency. At the same time, the debugging effect can be clearly presented through the waveform of the analog signal, and the RGMII signal is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform, so that the RGMII signal can reach the optimal waveform, thereby improving the debugging accuracy. It can be seen that the network signal debugging method provided in the embodiment of the present application improves the debugging efficiency and accuracy of the RGMII signal.

[0074] The embodiment of the present application discloses a network signal debugging method. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically:

[0075] See also Figure 4 , a flowchart of another network signal debugging method according to an exemplary embodiment is shown, such as Figure 4 As shown, including:

[0076] S201: Capture the waveform of the RGMII signal of the baseboard management controller, and construct an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the waveform of the RGMII signal;

[0077] S202: Analyze the waveform to determine abnormal test items in the test items of the RGMII signal;

[0078] S203: Determine the weight and standard value corresponding to each debugging parameter;

[0079] S204: acquiring current values ​​of various debugging parameters of the analog circuit, and calculating deviation factors of various debugging parameters based on the current values ​​and standard values ​​of various debugging parameters;

[0080] S205: constructing a signal quality parameter by using PID adjustment based on the weight and deviation factor corresponding to each debugging parameter, and determining the value of each debugging parameter when the signal quality parameter is minimum as the value of each debugging parameter when the analog signal reaches the optimal waveform;

[0081] S206: Debugging the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0082] In the specific implementation, the host computer automatically debugs each debugging parameter in the analog circuit so that the analog signal generated by the debugged analog circuit reaches the optimal waveform. The deviation factor of each debugging parameter is calculated according to the current value and the standard value of each debugging parameter, and the signal quality parameter is constructed based on the deviation factor and weight of each debugging parameter using the PID adjustment method. The larger the signal quality parameter, the worse the quality of the analog signal. Conversely, the smaller the signal quality parameter, the better the quality of the analog signal. The value of each debugging parameter when the signal quality parameter is the minimum is determined as the value of each debugging parameter when the analog signal reaches the optimal waveform.

[0083] As an optional implementation, the signal quality parameter It is expressed as:

[0084] ;

[0085] in, is the weight corresponding to the i-th debugging parameter, is the deviation factor of the i-th tuning parameter, n is the number of tuning parameters, is the proportional control parameter, is the integral control parameter, is the derivative control parameter, and t is time.

[0086] It can be seen that in this embodiment, the PID adjustment method is used in the upper computer to automatically adjust various debugging parameters, so that the debugged signal achieves the optimal waveform, thereby improving the debugging efficiency and accuracy of the RGMII signal.

[0087] The following is an application example provided by the present application. At the software level, a host computer system based on Labview is developed. The host computer system includes a device connection unit, a signal debugging unit, a signal waveform capture unit, a waveform analysis unit, and a test data storage unit, which can be implemented by Python or other programs. At the hardware level, the BMC MAC is connected to the PHY chip through the FPGA module, and the FPGA module on the link establishes a communication connection with the host computer through the debug interface.

[0088] Through the host computer, a simulation is performed on the debugging of the RGMII signal to achieve comprehensive debugging of the RGMII signal, so that the RGMII signal reaches the optimal value under the influence of various adjustment parameters. It mainly includes the following steps:

[0089] Step 1: Before starting the test, the host computer scans and identifies the FPGA module through the device connection unit and connects it. After the connection is successful, a prompt will be displayed on the host computer interface;

[0090] Step 2: The host computer captures the waveform of the RGMII signal of the BMC through the signal waveform capture unit. The captured signal may include the clock, data, and control signal of the RGMII, and the waveform is displayed on the visual interface;

[0091] Step 3: The host computer analyzes the captured waveform through the waveform analysis unit to obtain the test items required for the RGMII signal, such as voltage value, overshoot value, timing value, etc., and obtains the abnormal test items of the waveform;

[0092] Step 4: For abnormal test items, perform signal debugging through the signal debugging unit. Manual debugging or automatic debugging can be selected. Manual debugging adjusts various debugging parameters to achieve the expected ideal waveform. Automatic debugging is for the host computer to adaptively debug the signal until the optimal waveform is achieved.

[0093] This step is implemented by the labview control program. After the signal enters the signal collector in labview, the analog signal debugging circuit is set in labview, and the debugged signal is displayed on the waveform display. The circuit can be debugged manually or automatically through the control and regulation system. The block diagram of the control and regulation system is shown in the figure below. Figure 5 As shown, given the control and adjustment system with an initial set value, that is, the signal target value, the controller obtains the difference between the actual signal value and the current set value, and the signal adjustment mechanism adjusts the signal according to the difference. Whether to continue the action after adjustment is determined by the feedback link.

[0094] Step 5: The test data storage unit stores and compares the signal waveforms each time.

[0095] The following is an introduction to a network signal debugging device provided in an embodiment of the present application, which is applied to a host computer, the host computer is connected to a baseboard management controller via a debugging interface, and the baseboard management controller is connected to a network port via a physical layer chip. The network signal debugging device described below can be referenced to the network signal debugging method described above.

[0096] See also Figure 6 , according to an exemplary embodiment, a structural diagram of a network signal debugging device is shown, such as Figure 6 As shown, including:

[0097] A capture module 601 is used to capture the waveform of the RGMII signal of the baseboard management controller and construct an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the RGMII signal waveform;

[0098] A determination module 602, configured to analyze the waveform to determine abnormal test items in the test items of the RGMII signal;

[0099] A first debugging module 603 is used to debug the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and record the value of the debugging parameter when the analog signal reaches the optimal waveform;

[0100] The second debugging module 604 is used to debug the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

[0101] The network signal debugging device provided in the embodiment of the present application builds an analog circuit through the host computer, realizes the analog debugging of the RGMII signal by debugging the analog circuit, and quickly tries multiple groups of debugging parameters, thereby improving the debugging efficiency. At the same time, the debugging effect can be clearly presented through the waveform of the analog signal, and the RGMII signal is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform, so that the RGMII signal can reach the optimal waveform, thereby improving the debugging accuracy. It can be seen that the network signal debugging device provided in the embodiment of the present application improves the debugging efficiency and accuracy of the RGMII signal.

[0102] Based on the above embodiments, as a preferred implementation mode, the host computer is connected to the field programmable gate array through a debugging interface, the field programmable gate array is connected to the baseboard management controller, and the baseboard management controller is connected to the physical layer chip through the field programmable gate array.

[0103] Based on the above embodiment, as a preferred implementation manner, the test items include any one or a combination of any several of the voltage value, overshoot value, and timing value.

[0104] Based on the above embodiment, as a preferred implementation, it also includes:

[0105] A display module, used for displaying the waveform of the analog signal in a visual interface;

[0106] Correspondingly, the first debugging module 603 is specifically used to: receive a debugging instruction, debug the corresponding debugging parameters in the analog circuit according to the debugging instruction, and display the analog signal generated by the debugged analog circuit in the visual interface.

[0107] On the basis of the above embodiments, as a preferred implementation mode, the first debugging module 603 is specifically used to: determine the weights and standard values ​​corresponding to each debugging parameter in the analog circuit; obtain the current values ​​of each debugging parameter of the analog circuit, and calculate the deviation factors of each debugging parameter based on the current values ​​and standard values ​​of each debugging parameter; calculate the product of the weights, deviation factors, and proportional control parameters of PID regulation corresponding to the debugging parameters as the proportional control values ​​corresponding to the debugging parameters, and sum the proportional control values ​​of the various debugging parameters to obtain a first summation value; calculate the integral values ​​of the weights, deviation factors, and proportional control parameters corresponding to the debugging parameters; The product of the integral control parameters of PID regulation is used as the integral control value corresponding to the debugging parameter, and the integral control values ​​of each debugging parameter are summed to obtain a second summed value; the weight corresponding to the debugging parameter, the differential value of the deviation factor, and the product of the differential control parameter of PID regulation are calculated as the differential control value corresponding to the debugging parameter, and the differential control values ​​of each debugging parameter are summed to obtain a third summed value; a signal quality parameter is constructed based on the sum of the first summed value, the second summed value, and the third summed value, and the value of each debugging parameter when the signal quality parameter is minimum is determined as the value of each debugging parameter when the analog signal reaches an optimal waveform.

[0108] Based on the above embodiment, as a preferred implementation, the signal quality parameter It is expressed as:

[0109] ;

[0110] in, is the weight corresponding to the i-th debugging parameter, is the deviation factor of the i-th tuning parameter, n is the number of tuning parameters, is the proportional control parameter, is the integral control parameter, is the derivative control parameter, and t is time.

[0111] Based on the above embodiments, as a preferred implementation mode, the debugging parameters include any one or a combination of any one of the resistance value of the series resistor, the resistance value of the pull-up and pull-down resistors, the capacitance value of the capacitor, and the current value of the driving current.

[0112] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0113] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, Figure 7FIG. 1 is a structural diagram of an electronic device according to an exemplary embodiment. Figure 7 As shown, the electronic equipment includes:

[0114] Communication interface 1, capable of exchanging information with other devices such as network devices;

[0115] The processor 2 is connected to the communication interface 1 to implement information interaction with other devices, and is used to execute the network signal debugging method provided by one or more technical solutions when running a computer program. The computer program is stored in the memory 3.

[0116] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 4.

[0117] The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0118] It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 3 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.

[0119] The method disclosed in the above embodiment of the present application can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2 or the instruction in the form of software. The above processor 2 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 3, and the processor 2 reads the program in the memory 3 and completes the steps of the above method in combination with its hardware.

[0120] When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be repeated here for the sake of brevity.

[0121] In an exemplary embodiment, the embodiment of the present application further provides a non-volatile storage medium storing a computer program, which can be executed by the processor 2 to complete the steps of the aforementioned method.

[0122] In an exemplary embodiment, the present application also provides a computer program product, including a computer program, which is executed by the processor 2 to complete the steps of the aforementioned method.

[0123] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to computer program instructions, and the aforementioned computer program can be stored in a non-volatile storage medium. When the computer program is executed, it executes the steps of the above-mentioned method embodiment. Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product, which is stored in a non-volatile storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, a network device, etc.) to execute all or part of the methods described in each embodiment of the present application.

[0124] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A network signal debugging method, characterized in that: Applied to a host computer, the host computer is connected to a baseboard management controller via a debugging interface, and the baseboard management controller is connected to a network port via a physical layer chip. The method includes: Capturing the waveform of the RGMII signal of the baseboard management controller, and constructing an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the RGMII signal waveform; Analyzing the waveform to determine abnormal test items in the test items of the RGMII signal; Debugging the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform; The RGMII signal of the baseboard management controller is debugged based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

2. The network signal debugging method according to claim 1, characterized in that: The host computer is connected to a field programmable gate array through a debugging interface, the field programmable gate array is connected to the baseboard management controller, and the baseboard management controller is connected to the physical layer chip through the field programmable gate array.

3. The network signal debugging method according to claim 1, characterized in that: The test items include any one or a combination of any two of the following: voltage value, overshoot value, and timing value.

4. The network signal debugging method according to claim 1, characterized in that: After constructing the simulation circuit based on the waveform, the method further includes: Displaying the waveform of the analog signal in a visual interface; Accordingly, debugging the analog circuit according to the abnormal test item includes: Receive a debugging instruction, debug corresponding debugging parameters in the analog circuit according to the debugging instruction, and display an analog signal generated by the debugged analog circuit in the visual interface.

5. The network signal debugging method according to claim 1, characterized in that: Debugging the analog circuit according to the abnormal test item so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform, including: Determine the weights and standard values ​​corresponding to various debugging parameters in the analog circuit; Acquire current values ​​of various debugging parameters of the analog circuit, and calculate deviation factors of various debugging parameters based on the current values ​​and standard values ​​of various debugging parameters; Calculate the product of the weight corresponding to the debugging parameter, the deviation factor, and the proportional control parameter of the PID adjustment as the proportional control value corresponding to the debugging parameter, and sum the proportional control values ​​of the various debugging parameters to obtain a first sum value; Calculate the product of the weight corresponding to the debugging parameter, the integral value of the deviation factor, and the integral control parameter of the PID regulation as the integral control value corresponding to the debugging parameter, and sum the integral control values ​​of each debugging parameter to obtain a second sum value; Calculate the product of the weight corresponding to the debugging parameter, the differential value of the deviation factor, and the differential control parameter of the PID adjustment as the differential control value corresponding to the debugging parameter, and sum the differential control values ​​of each debugging parameter to obtain a third sum value; A signal quality parameter is constructed based on the sum of the first summation value, the second summation value and the third summation value, and the values ​​of each debugging parameter when the signal quality parameter is minimum are determined as the values ​​of each debugging parameter when the analog signal reaches an optimal waveform.

6. The network signal debugging method according to claim 5, characterized in that: The signal quality parameter It is expressed as: ; in, is the weight corresponding to the i-th debugging parameter, is the deviation factor of the i-th tuning parameter, n is the number of tuning parameters, is the proportional control parameter, is the integral control parameter, is the derivative control parameter, and t is time.

7. The network signal debugging method according to claim 1, characterized in that: The debugging parameters include any one or a combination of any one of the resistance value of the series resistor, the resistance value of the pull-up and pull-down resistors, the capacitance value of the capacitor, and the current value of the driving current.

8. A network signal debugging device, characterized in that: Applied to a host computer, the host computer is connected to a baseboard management controller via a debugging interface, the baseboard management controller is connected to a network port via a physical layer chip, and the device includes: A capture module, used to capture the waveform of the RGMII signal of the baseboard management controller, and to construct an analog circuit based on the waveform; wherein the analog circuit is used to generate an analog signal consistent with the waveform of the RGMII signal; A determination module, configured to analyze the waveform to determine abnormal test items in the test items of the RGMII signal; A first debugging module, used for debugging the analog circuit according to the abnormal test item, so that the analog signal generated by the debugged analog circuit reaches an optimal waveform, and recording the value of the debugging parameter when the analog signal reaches the optimal waveform; The second debugging module is used to debug the RGMII signal of the baseboard management controller based on the value of the debugging parameter when the analog signal reaches the optimal waveform.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the network signal debugging method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, and when the computer program is executed, the steps of the network signal debugging method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method, device, system and equipment for adjusting delay parameter of RGMII interface

    CN119155176A