Communication link testing device and method
By designing a communication link test device for receiving and returning control signals, the problem of high cost and easy loss of GPU modules is solved, reducing test costs and being suitable for mass production testing.
Patent Information
- Application Number
- CN202410543696.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, GPU modules are high in cost and easy to wear out, which is not conducive to large-scale production testing.
Provides a communication link test device, which is connected to the server baseboard management controller through a connector, receives and returns control signals for signal detection, and uses the controller, hardware interface and sensor chip to simulate the signals required for GPU triggering work and reduce test costs. .
While covering the original link, the test cost is significantly reduced, and it is suitable for large-scale production testing, replacing the HGX platform GPU module for communication link testing.
Smart Images

Figure CN118659990A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a communication link testing device and method. Background Art
[0002] In the existing technology, artificial intelligence AI servers on the market generally adopt the form of CPU+GPU, because the graphics processing unit GPU is different from the central processing unit CPU, and adopts a parallel computing mode, which is good at combing intensive data operations, such as graphics rendering, machine learning, etc. The number of cores of a single card of a graphics processing unit GPU can reach nearly a thousand. The HGX platform GPU is a key component of the new generation of GPU servers and is the main research and development direction of all current artificial intelligence AI servers and GPU servers. The research and development and manufacturing of this type of server will also bring great challenges to server production testing. As the HGX platform GPU baseboard management control module HMC is responsible for the important functions of baseboard firmware updates, GPU telemetry monitoring and baseboard management, and is a signal link that is key to server monitoring.
[0003] As the management module of the HGX platform GPU module, the HGX platform baseboard management control module HMC is an important module that communicates with the server BMC. It is only available on the HGX platform GPU module and can only be attached to the HGX platform GPU baseboard to realize its function. In the laboratory and testing phase, in order to detect this link, a complete GPU module must be used to realize the signal detection of the link. Figure 1 As shown, the existing technical solution is to connect the HGX platform GPU module to the server mainboard through a switch board to test the communication link between the server baseboard management controller BMC and the HGX platform baseboard management control module HMC.
[0004] The GPU modules in the prior art are expensive, and multiple HGX platform GPU modules need to be used at one time. In addition, they are frequently plugged in and out during factory use, which makes them prone to wear and tear, and is not conducive to mass production testing. Summary of the invention
[0005] The purpose of this application is to provide a communication link testing device and method, which is used to overcome the technical defects of the prior art that the GPU module is high in cost, easy to wear, and not conducive to large-scale production testing.
[0006] The present application provides a communication link testing device, comprising:
[0007] A connector, the connector being connected to the server baseboard management controller and being used to receive a first control signal and / or a second control signal sent by the server baseboard management controller;
[0008] A controller, the controller is connected to the connector, and is used for the controller to receive a first control signal and return a first feedback signal to the server baseboard management controller via the connector for signal detection;
[0009] A hardware interface, which is connected to the connector and the external hardware respectively, is used to receive a second control signal sent by the connector to the corresponding external hardware, and return a second feedback signal to the server baseboard management controller via the connector for signal detection.
[0010] Optionally, the device further comprises:
[0011] A sensor chip, the sensor chip is connected to the connector, the sensor chip receives a first detection signal sent by the server baseboard management controller, and is used for the sensor chip to generate first detection information according to the first detection signal;
[0012] The controller is connected to the sensor chip, and the controller sends the second detection signal to the sensor chip, so that the sensor chip generates second detection information according to the second detection signal;
[0013] The controller obtains the first detection information and compares the second detection information, and detects the sensor chip according to the comparison result.
[0014] Optionally, the first control signal includes: a sideband signal; wherein the sideband signal is a signal required for triggering work of the analog graphics processor;
[0015] The controller receives the sideband signal for simulation, generates the first feedback signal and sends it to the server baseboard management controller.
[0016] Optionally, the external hardware includes: a USB device, a hard disk;
[0017] The hardware interface includes: USB interface, hard disk interface;
[0018] The second control signal: USB signal, hard disk signal;
[0019] receiving a USB signal sent by the connector to a corresponding USB device through the USB interface, generating corresponding feedback information according to the USB signal through the USB device, generating a corresponding second feedback signal according to the feedback message corresponding to the USB signal, and returning the second feedback signal corresponding to the generated USB signal to the server baseboard management controller via the USB interface, so that the server baseboard management controller performs signal detection according to the second feedback signal corresponding to the returned USB signal;
[0020] The hard disk signal sent by the connector is received through the hard disk interface to the corresponding hard disk, corresponding feedback information is generated by the hard disk according to the hard disk signal, and a corresponding second feedback signal is generated according to the feedback message corresponding to the hard disk signal, and the generated second feedback signal corresponding to the hard disk signal is returned to the server baseboard management controller via the USB interface, so that the server baseboard management controller performs signal detection according to the second feedback signal corresponding to the returned hard disk signal.
[0021] Optionally, the device further comprises: a host computer interface, used to connect to the host computer, the host computer interface being connected to the controller via a USB module;
[0022] The USB module is used to convert the serial port signal of the controller into a USB signal, so as to report the information of the controller to the host computer through the host computer interface.
[0023] Optionally, the device further comprises: a power supply module, which is respectively connected to the controller, the sensor chip and the hardware interface and is used to provide a working voltage.
[0024] The present application also provides a communication link testing method, which is used for the communication link testing device as described above, and the method includes: receiving a first control signal and / or a second control signal issued by a server baseboard management controller through a connector; when the first control signal is received, sending the first control signal to the controller, and returning the first feedback signal generated by the controller to the server baseboard management controller via the connector for signal detection; when the second control signal is received, sending the second control signal to the corresponding external hardware via a hardware interface, and returning the second feedback signal generated by the external hardware to the server baseboard management controller via the connector for signal detection.
[0025] Optionally, the method further comprises:
[0026] Receiving a first detection signal sent by the server baseboard management controller through a sensor chip, and generating first detection information according to the first detection signal through the sensor chip;
[0027] Sending a second detection signal to a sensor chip through the controller, and generating second detection information according to the second detection signal through the sensor chip;
[0028] The controller obtains the first detection information and compares it with the second detection information, and detects the sensor chip according to the comparison result.
[0029] The present application also provides a computer program product, comprising a computer program / instruction, which implements the steps of any of the above-mentioned communication link testing methods when executed by a processor.
[0030] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned communication link testing methods when executing the program.
[0031] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of any of the above-mentioned communication link testing methods are implemented.
[0032] The communication link testing device and method provided in the present application are connected to the server baseboard management controller through a connector, and receive the first control signal and / or the second control signal issued by the server baseboard management controller; the controller receives the first control signal, and returns the first feedback signal to the server baseboard management controller via the connector for signal detection; the hardware interface is respectively connected to the connector and the external hardware, and is used to receive the second control signal issued by the connector to the corresponding external hardware, and return the second feedback signal to the server baseboard management controller via the connector for signal detection, thereby realizing the communication link testing device of the present application to replace the HGX platform GPU module for communication link testing. While covering the original link, it not only reduces the cost, but also significantly reduces the testing cost, which is conducive to large-scale production testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] Figure 1 It is a structural schematic diagram of a communication link test device provided in the prior art;
[0035] Figure 2 It is one of the structural schematic diagrams of the communication link testing device provided in the embodiment of the present application;
[0036] Figure 3 This is the second structural diagram of the communication link testing device provided in the embodiment of the present application;
[0037] Figure 4 This is the third structural diagram of the communication link testing device provided in the embodiment of the present application;
[0038] Figure 5 This is the fourth detailed structural diagram of the communication link testing device provided in the embodiment of the present application;
[0039] Figure 6 It is one of the flow charts of the communication link testing method provided in the embodiment of the present application;
[0040] Figure 7 This is the second flow chart of the communication link testing method provided in the embodiment of the present application;
[0041] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are 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 creative work are within the scope of protection of this application.
[0043] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0044] First, the terms involved in the embodiments of the present application are explained schematically.
[0045] M2: The M2 interface is a new host interface solution that is compatible with multiple communication protocols, such as SATA, PCIe, etc.
[0046] HMC: HGX platform baseboard management control module.
[0047] HGX: An 8x GPU and NVSwitch baseboard high performance computing and AI accelerator platform.
[0048] BMC (Board Management Controller): A baseboard management controller located on a server, used to send control signals and perform signal detection after receiving feedback signals.
[0049] USB: A serial bus standard that specifies input and output.
[0050] AI: Artificial Intelligence.
[0051] HPC: High Performance Computing.
[0052] I2C: A serial bus communication protocol.
[0053] Switch: A type of substrate.
[0054] The following is a detailed description of the communication link testing device and method provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0055] like Figure 2 and Figure 3 As shown, an embodiment of the present application provides a communication link test device, which is connected to a server mainboard via a switch board. Specifically, the communication link test device of the embodiment of the present application is arranged in a baseboard management control module HMC of a HGX platform GPU module to implement a signal link test between the baseboard management control module HMC and a baseboard management controller BMC of a server.
[0056] Specifically, the communication link test device is connected to the Switch board through various signal lines, such as the integrated circuit bus I2C, the high-speed serial computer expansion bus PCIe, the serial port bus USB, and the sideband signal line; correspondingly, the Switch board is connected to the server mainboard through various signal lines, such as the integrated circuit bus I2C, the high-speed serial computer expansion bus PCIe, the serial port bus USB, and the sideband signal line.
[0057] Specifically, see Figure 3 , the communication link testing device provided in the embodiment of the present application includes:
[0058] A connector, which is connected to the server baseboard management controller BMC, is used to receive a first control signal and / or a second control signal issued by the server baseboard management controller BMC, and return a first feedback signal and / or a second feedback signal generated by the communication link test device to the server baseboard management controller BMC.
[0059] In this embodiment, the connector may be a backplane connector, such as an Airmax connector, an Impact connector, and the like.
[0060] The controller is connected to the connector, and is used for the controller to receive a first control signal and return a first feedback signal to the server baseboard management controller BMC via the connector for signal detection.
[0061] The hardware interface is connected to the connector and the external hardware respectively, and is used to receive the second control signal sent by the connector to the corresponding external hardware, and return the second feedback signal to the BMC via the connector for signal detection.
[0062] The first feedback signal may be a sideband signal, including a CLK signal, GPU_BASE
[0063] _READY signal, GPU_BASE_PWR_GD signal, GPU_BASE_PWR_EN signal, CLK_EN signal, etc. The controller in the communication link test device of the embodiment of the present invention simulates the signal required for the real GPU to trigger the work, and generates a first feedback signal to the server, so that the server baseboard management controller BMC believes that the connected device of the embodiment of the present invention is the GPU module of the HGX platform, thereby realizing sideband signal detection.
[0064] In addition, the controller supplies the clock signal CLK in the sideband signal to the hard disk interface, so that the hard disk interface can send the second control signal to the external hard disk and receive the second feedback signal returned by the hard disk.
[0065] The second feedback signal is a signal sent to external hardware. The second feedback signal sent by the connector can be sent to the corresponding external hardware via the corresponding hardware interface. After the external hardware generates the second feedback signal, the second feedback signal is returned to the server baseboard management controller BMC via the connector for signal detection.
[0066] There are many types of hardware interfaces. This embodiment takes the hardware interfaces including USB interfaces and hard disk interfaces as examples for explanation. Figure 4 As shown. The hard disk may be a solid state disk M2. Of course, in actual application, other hardware interfaces may be added according to actual needs to connect other external hardware.
[0067] The communication link test device provided in the embodiment of the present application is connected to the server baseboard management controller BMC through a connector, and receives the first control signal and / or the second control signal issued by the server baseboard management controller BMC; the controller receives the first control signal, and returns the first feedback signal to the BMC via the connector for signal detection; the hardware interface is respectively connected to the connector and the external hardware, and is used to receive the second control signal issued by the connector to the corresponding external hardware, and return the second feedback signal to the server baseboard management controller BMC via the connector for signal detection, thereby realizing the use of the communication link test device of the present application to replace the HGX platform GPU module for communication link testing. While covering the original link, it not only reduces the cost, but also significantly reduces the testing cost, which is conducive to large-scale production testing.
[0068] Further, see Figure 4 and Figure 5 , the communication link test device further includes: a sensor chip, the sensor chip is connected to the connector, the sensor chip receives a first detection signal sent by a server baseboard management controller BMC, and is used for the sensor chip to generate first detection information according to the first detection signal;
[0069] The controller is connected to the sensor chip, and the controller sends the second detection signal to the sensor chip, so that the sensor chip generates second detection information according to the second detection signal;
[0070] The controller obtains the first detection information and the second detection information for comparison, and detects the sensor chip according to the comparison result.
[0071] The first detection signal and the second detection signal may both be integrated circuit bus I2C signals.
[0072] Further, see Figure 4 and Figure 5 The device further includes: a light emitting diode (LED) light group, which is connected to the controller and can intuitively display the working state of the controller in real time. The LED light group is connected to the power module and is used to receive the 5V power sent by the power module. The LED light group includes 5 LED lights, and each display state is defined by switching the 5 LED lights, and each display state corresponds to a working state of the controller.
[0073] Further, see Figure 4 and Figure 5 In the case where the hardware interface includes a USB interface and a hard disk interface, the external hardware includes a USB device and a hard disk, and the second control signal includes a USB signal and a hard disk signal.
[0074] receiving a USB signal sent by the connector to a corresponding USB device through a USB interface, generating corresponding feedback information according to the USB signal through the USB device, generating a corresponding second feedback signal according to the feedback message corresponding to the USB signal, and returning the second feedback signal corresponding to the generated USB signal to the BMC via the USB interface, so that the BMC performs signal detection according to the second feedback signal corresponding to the returned USB signal;
[0075] The hard disk signal sent by the connector is received through the hard disk interface to the corresponding hard disk, the hard disk generates corresponding feedback information according to the hard disk signal, and generates a corresponding second feedback signal according to the feedback message corresponding to the hard disk signal, and returns the generated second feedback signal corresponding to the hard disk signal to the BMC via the USB interface, so that the BMC performs signal detection according to the second feedback signal corresponding to the returned hard disk signal.
[0076] Through the above process, it is possible to generate a corresponding second feedback signal according to the second control signal, and detect the circuit signal corresponding to the external hardware.
[0077] Further, see Figure 4 ,The communication link test device also includes: a host computer interface for connecting to the host computer, the host computer interface is connected to the controller via a USB module;
[0078] The USB module is used to convert the serial port signal of the controller into a USB signal, so as to report the information of the controller to the host computer through the host computer interface.
[0079] The host computer interface may be a universal serial bus micro USB interface. The host computer interface feeds back information of the controller of the host computer, so that the host computer can obtain the real-time status of the device of the present invention, and also can update the processing logic and rules of the controller of the device of the present invention for the sideband signal.
[0080] Also, see Figure 5 , this embodiment also includes: a power module, which is respectively connected to the controller, the sensor chip and the hardware interface to provide a working voltage. The power module is connected to the GPU server to obtain the voltage provided by the server. The voltage output by the GPU server is 54V, and the normal working voltages in the communication link test device of the present invention are 12V for the control module, 12V and 3.3V for the hard disk interface, 5V for the USB module and the USB interface, and 5V for the sensor chip and the LED light module. The power module on the device is used to realize the conversion from 54V to 12V, 5V and 3.3V, and output it to the device specified by the device to ensure the normal operation of the device.
[0081] The testing device of the embodiment of the present invention realizes the link test between the HGX platform GPU module HMC and the server BMC, covering the power signal, I2C signal, sideband signal, USB signal and PCIe signal in the entire link, simplifies the operation process, improves the operation efficiency, and greatly reduces the testing cost.
[0082] In addition, the testing device of the embodiment of the present application can be used to extend the detection method of the communication link between HGX, HGX-2 and other modules with HMC and server BMC, or modules in other computer fields that need to interact with BMC.
[0083] It should be noted that the communication link test method provided in the embodiment of the present application can be executed by a communication link test device, or a control module in the communication link test device for executing the communication link test method. In the embodiment of the present application, the communication link test device provided in the embodiment of the present application is described by taking the communication link test device executing the communication link test method as an example.
[0084] like Figure 6 As shown, a communication link testing method provided in an embodiment of the present application may include the following steps 601 to 603:
[0085] 601. Receive a first control signal and / or a second control signal sent by a server baseboard management controller through a connector.
[0086] 602. When a first control signal is received, the first control signal is sent to a controller, and a first feedback signal generated by the controller is returned to the server baseboard management controller via the connector for signal detection.
[0087] Specifically, the first control signal is a sideband signal. The controller receives the sideband signal for simulation, generates the first feedback signal and sends it to the server baseboard management controller for signal detection.
[0088] 603. When a second control signal is received, the second control signal is sent to corresponding external hardware via a hardware interface, and a second feedback signal generated by the external hardware is returned to the server baseboard management controller via the connector for signal detection.
[0089] The first feedback signal may be a sideband signal, including a CLK signal, GPU_BASE
[0090] _READY signal, GPU_BASE_PWR_GD signal, GPU_BASE_PWR_EN signal, CLK_EN signal, etc. The controller in the communication link test device of the embodiment of the present invention simulates the signal required for the real GPU to trigger the work, and generates a first feedback signal to the server, so that the server baseboard management controller BMC believes that the connected device of the embodiment of the present invention is the GPU module of the HGX platform, thereby realizing sideband signal detection.
[0091] In addition, the controller supplies the CLK signal in the sideband signal to the hard disk interface as a clock signal, so that the hard disk interface can send the second control signal to the external hard disk and receive the second feedback signal returned by the hard disk.
[0092] The second feedback signal is a signal sent to external hardware. The second feedback signal sent by the connector can be sent to the corresponding external hardware via the corresponding hardware interface. After the external hardware generates the second feedback signal, the second feedback signal is returned to the server baseboard management controller via the connector for signal detection.
[0093] Specifically, step 603 includes:
[0094] S631, receiving a USB signal sent by a connector to a corresponding USB device through a USB interface, generating corresponding feedback information according to the USB signal through the USB device, generating a corresponding second feedback signal according to the feedback message corresponding to the USB signal, and returning the generated second feedback signal corresponding to the USB signal to the BMC through the USB interface, so that the BMC performs signal detection according to the second feedback signal corresponding to the returned USB signal;
[0095] S632, receiving the hard disk signal sent by the connector through the hard disk interface to the corresponding hard disk, generating corresponding feedback information according to the hard disk signal through the hard disk, and generating a corresponding second feedback signal according to the feedback message corresponding to the hard disk signal, and returning the generated second feedback signal corresponding to the hard disk signal to the BMC via the USB interface, so that the BMC performs signal detection according to the second feedback signal corresponding to the returned hard disk signal.
[0096] Furthermore, before step 601, the method further includes:
[0097] S1. Insert the communication link test device according to the embodiment of the present application into a machine to be tested to connect with a server baseboard management controller BMC of the machine to be tested.
[0098] S2, power on, the controller detects the power-on status of the power module. If the power-on status is abnormal, it is determined that the server to be tested reports a test abnormality. If the power-on status is normal, execute step 601.
[0099] Alternatively, see Figure 7 , the method further comprises:
[0100] 701. Receive a first detection signal sent by the BMC through a sensor chip, and generate first detection information according to the first detection signal through the sensor chip.
[0101] 702. Send a second detection signal to a sensor chip through the controller, and generate second detection information according to the second detection signal through the sensor chip.
[0102] The first detection signal and the second detection signal may both be I2C signals.
[0103] 703. Obtain, by the controller, first detection information and second detection information for comparison, and detect the sensor chip according to the comparison result.
[0104] Through steps 701 to 703 , the detection of the first detection signal I2C can be achieved.
[0105] In addition, the device further comprises: a host computer interface, used to connect to the host computer, the host computer interface is connected to the controller via a USB module;
[0106] The method further includes: using the USB module to convert the serial port signal of the controller into a USB signal, so as to report the information of the controller to the host computer through the host computer interface.
[0107] The host computer interface may be a micro USB interface, which feeds back information to the host computer controller through the host computer interface, so that the host computer can obtain the real-time status of the device of the present invention, and also can update the processing logic and rules of the controller of the device of the present invention for the sideband signal.
[0108] The communication link testing method provided in the embodiment of the present application is connected to the server baseboard management controller through a connector, and receives the first control signal and / or the second control signal issued by the server baseboard management controller; the controller receives the first control signal, and returns the first feedback signal to the server baseboard management controller via the connector for signal detection; the hardware interface is respectively connected to the connector and the external hardware, and is used to receive the second control signal issued by the connector to the corresponding external hardware, and return the second feedback signal to the server baseboard management controller via the connector for signal detection, thereby realizing the communication link testing device of the present application to replace the HGX platform GPU module for communication link testing. While covering the original link, it not only reduces the cost, but also significantly reduces the testing cost, which is conducive to large-scale production testing.
[0109] It should be noted that in the embodiments of the present application, the communication link test methods shown in the above-mentioned method drawings are all illustrative descriptions of one of the drawings in the embodiments of the present application. In specific implementation, the communication link test methods shown in the above-mentioned method drawings can also be implemented in combination with any other drawings that can be combined as shown in the above-mentioned embodiments, which will not be repeated here.
[0110] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 complete mutual communication through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the communication link test method, which includes: receiving a first control signal and / or a second control signal sent by a server baseboard management controller through a connector; in the case of receiving the first control signal, sending the first control signal to the controller, and returning the first feedback signal generated by the controller to the server baseboard management controller via the connector for signal detection; in the case of receiving the second control signal, sending the second control signal to the corresponding external hardware via the hardware interface, and returning the second feedback signal generated by the external hardware to the server baseboard management controller via the connector for signal detection.
[0111] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0112] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the communication link test method provided by the above methods, and the method includes: receiving a first control signal and / or a second control signal issued by a server baseboard management controller through a connector; when the first control signal is received, sending the first control signal to the controller, and returning the first feedback signal generated by the controller to the server baseboard management controller via the connector for signal detection; when the second control signal is received, sending the second control signal to the corresponding external hardware via a hardware interface, and returning the second feedback signal generated by the external hardware to the server baseboard management controller via the connector for signal detection.
[0113] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned communication link testing methods, the methods comprising: receiving a first control signal and / or a second control signal issued by a server baseboard management controller through a connector; upon receiving the first control signal, sending the first control signal to the controller, and returning the first feedback signal generated by the controller to the server baseboard management controller via the connector for signal detection; upon receiving the second control signal, sending the second control signal to the corresponding external hardware via a hardware interface, and returning the second feedback signal generated by the external hardware to the server baseboard management controller via the connector for signal detection.
[0114] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication link testing device, characterized in that: include: A connector, the connector being connected to the server baseboard management controller and being used to receive a first control signal and / or a second control signal sent by the server baseboard management controller; A controller, the controller is connected to the connector, and is used for the controller to receive a first control signal and return a first feedback signal to the server baseboard management controller via the connector for signal detection; A hardware interface, which is connected to the connector and the external hardware respectively, is used to receive a second control signal sent by the connector to the corresponding external hardware, and return a second feedback signal to the server baseboard management controller via the connector for signal detection.
2. The communication link test device according to claim 1, characterized in that: Also includes: A sensor chip, the sensor chip is connected to the connector, the sensor chip receives a first detection signal sent by the server baseboard management controller, and is used for the sensor chip to generate first detection information according to the first detection signal; The controller is connected to the sensor chip, and the controller sends the second detection signal to the sensor chip, so that the sensor chip generates second detection information according to the second detection signal; The controller obtains the first detection information and compares the second detection information, and detects the sensor chip according to the comparison result.
3. The communication link test device according to claim 1, characterized in that: The first control signal includes: a sideband signal; wherein the sideband signal is a signal required for triggering the operation of the analog graphics processor; The controller receives the sideband signal for simulation, generates the first feedback signal and sends it to the server baseboard management controller.
4. The communication link test device according to claim 1, characterized in that: The external hardware includes: USB device, hard disk; The hardware interface includes: USB interface, hard disk interface; The second control signal: USB signal, hard disk signal; receiving a USB signal sent by the connector to a corresponding USB device through the USB interface, generating corresponding feedback information according to the USB signal through the USB device, generating a corresponding second feedback signal according to the feedback message corresponding to the USB signal, and returning the second feedback signal corresponding to the generated USB signal to the server baseboard management controller via the USB interface, so that the server baseboard management controller performs signal detection according to the second feedback signal corresponding to the returned USB signal; The hard disk signal sent by the connector is received through the hard disk interface to the corresponding hard disk, corresponding feedback information is generated by the hard disk according to the hard disk signal, and a corresponding second feedback signal is generated according to the feedback message corresponding to the hard disk signal, and the generated second feedback signal corresponding to the hard disk signal is returned to the server baseboard management controller via the USB interface, so that the server baseboard management controller performs signal detection according to the second feedback signal corresponding to the returned hard disk signal.
5. The communication link test device according to claim 1, characterized in that: Also includes: A host computer interface, used to connect to a host computer, wherein the host computer interface is connected to the controller via a USB module; The USB module is used to convert the serial port signal of the controller into a USB signal, so as to report the information of the controller to the host computer through the host computer interface.
6. The communication link test device according to claim 2, characterized in that: Also includes: A power supply module is respectively connected to the controller, the sensor chip and the hardware interface to provide a working voltage.
7. A communication link testing method, characterized in that: For use in a communication link testing device as described in any one of claims 1 to 6, the method comprising: Receiving a first control signal and / or a second control signal sent by a server baseboard management controller through a connector; In case of receiving a first control signal, sending the first control signal to a controller, and returning a first feedback signal generated by the controller to the server baseboard management controller via the connector for signal detection; When the second control signal is received, the second control signal is sent to the corresponding external hardware via the hardware interface, and the second feedback signal generated by the external hardware is returned to the server baseboard management controller via the connector for signal detection.
8. The communication link testing method according to claim 7, characterized in that: The method further comprises: Receiving a first detection signal sent by the server baseboard management controller through a sensor chip, and generating first detection information according to the first detection signal through the sensor chip; Sending a second detection signal to a sensor chip through the controller, and generating second detection information according to the second detection signal through the sensor chip; The controller obtains the first detection information and compares it with the second detection information, and detects the sensor chip according to the comparison result.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the communication link testing method according to any one of claims 7 to 8 when executing the program.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the communication link testing method according to any one of claims 7 to 8 are implemented.
Citation Information
Cited By
Link exception processing method of server and electronic equipment
CN121239603A
