Server heat dissipation test method and device, electronic equipment and storage medium
By using human -computer interface interface and motherboard management controllers in the server, the virtual temperature value of the temperature sensor is automatically set and the pulse width adjustment of the fan is output, which solves the high cost, high energy consumption and operation of the temperature box heat dissipation test in the existing technology in the existing technology. The problem has achieved efficient and flexible heat dissipation tests.
Patent Information
- Application Number
- CN202411320349.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2025-01-21
AI Technical Summary
In the prior art, the thermostat heat dissipation test is costly, high energy consumption and complex operation, and requires professional personnel to rely on them. It has certain limitations and is difficult to realize automated heat dissipation test.
Enter the virtual temperature value of the temperature sensors of each temperature sensor to the test server through human -computer interaction, and use the human -machine interactive output interface and motherboard management controller public human -computer interaction to output the observation information to the server, including the pulse width regulation of the fan's pulse regulation value. Based on observation information assessment of the heat dissipation performance to be tested.
It realizes server heat dissipation testing with high automation level and strong human-computer interaction, reduces the cost of heat dissipation testing, improves the efficiency, flexibility and adaptability of testing, and improves user experience.
Smart Images

Figure CN119336556A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a server heat dissipation testing method, device, electronic equipment and storage medium. Background Art
[0002] The server is the core equipment that carries important business of the enterprise, and the high performance and high load operation of the server will cause heat dissipation problems, which requires a good heat dissipation design for the server to ensure its efficient and stable operation. Heat dissipation testing is an important means to verify the effectiveness of heat dissipation design. The conventional heat dissipation test method is the incubator heat dissipation test, which is to put the tested server into the incubator for high and low temperature tests, and use the incubator to provide different ambient temperatures to test the server's heat dissipation performance, operating stability, power consumption, fan noise and other operating conditions. However, the incubator heat dissipation test is costly, energy-intensive, and complex to operate. It needs to rely on professionals and has certain limitations. How to automate the heat dissipation test of the server, improve the test efficiency, flexibility and adaptability, and improve the user experience is a key issue that needs to be solved urgently. Summary of the invention
[0003] The present invention provides a server heat dissipation test method, device, electronic device and storage medium, which are used to solve the defects of the prior art medium-temperature box heat dissipation test, such as high cost, high energy consumption, complex operation, reliance on professionals and certain limitations.
[0004] In a first aspect, the present invention provides a server heat dissipation test method, which is applied to a motherboard management controller of a server to be tested, wherein the server to be tested includes a human-computer interaction input interface, a human-computer interaction output interface, and a common human-computer interaction interface of the motherboard management controller, and the method includes: Inputting virtual temperature values of each temperature sensor of the server to be tested through the human-computer interaction input interface; The observation information of the server under test is output through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller, the observation information including the pulse width modulation value of the fan of the server under test, and the heat dissipation performance of the server under test is evaluated based on the observation information.
[0005] In some embodiments, the human-computer interaction input interface includes an enable interface and a temperature control input interface; The step of inputting the virtual temperature values of the temperature sensors of the server to be tested through the human-computer interaction input interface includes: Inputting virtual temperature values of each temperature sensor of the server to be tested in the form of an automated script through the temperature control input interface; Before inputting the virtual temperature values of the temperature sensors of the server to be tested through the human-computer interaction input interface, the method further includes: Embedding a function code of a heat dissipation test mode under a normal temperature environment in the motherboard management controller, so that the motherboard management controller can directly obtain the virtual temperature value of each temperature sensor in the heat dissipation test mode under the normal temperature environment; Obtaining a start command of the heat dissipation test mode under the normal temperature environment by using the enable interface, and starting the heat dissipation test mode under the normal temperature environment in response to the start command; After outputting the observation information of the server to be tested through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller, the method further includes: Acquiring an exit command of the heat dissipation test mode under the normal temperature environment by using the enabling interface, and exiting the heat dissipation test mode under the normal temperature environment in response to the exit command; Return to the mainboard management controller to poll and obtain the temperature value of each temperature sensor.
[0006] In some embodiments, the step of inputting the virtual temperature value of each temperature sensor of the server to be tested in the form of an automated script through the temperature control input interface includes: Acquiring heat dissipation test parameters through the temperature control input interface; Verifying the heat dissipation test parameters; In case the verification is successful, an automation script is generated based on the heat dissipation test parameters, and the virtual temperature values of the temperature sensors are input based on the automation script.
[0007] In some embodiments, the observation information includes control information and monitoring information; Outputting the observation information of the server to be tested through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller includes: Outputting the control information through the human-computer interaction output interface; The monitoring information is outputted through the public human-computer interaction interface of the mainboard management controller.
[0008] In some embodiments, the human-computer interaction output interface includes a status query interface and a pulse width modulation information query interface; The outputting of control information through the human-computer interaction output interface includes: Through the status query interface, query in real time whether the motherboard management controller is currently in a heat dissipation test mode under a normal temperature environment, and obtain the current status information of the motherboard management controller; The current pulse width modulation value of each fan of the server to be tested is checked in real time through the pulse width modulation information query interface.
[0009] In some embodiments, the pulse width modulation value is calculated based on the virtual temperature value of each temperature sensor and the proportional integral differential heat dissipation strategy, and the pulse width modulation value is used to control the rotation speed of the fan of the server to be tested.
[0010] In some embodiments, the temperature sensors include: an air inlet temperature sensor, a graphics processing unit temperature sensor, a central processing unit temperature sensor, a memory temperature sensor, a platform controller hub temperature sensor, a power supply unit temperature sensor, a hard disk temperature sensor, and a rapid peripheral component interconnect area temperature sensor.
[0011] In a second aspect, the present invention further provides a server heat dissipation testing device, comprising: An input unit, used to input virtual temperature values of each temperature sensor of the server to be tested through a human-computer interaction input interface of the server to be tested; The output unit is used to output the observation information of the server under test through the human-computer interaction output interface of the server under test and the common human-computer interaction interface of the mainboard management controller, wherein the observation information includes the pulse width modulation value of the fan of the server under test, and based on the observation information, the heat dissipation performance of the server under test is evaluated.
[0012] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the server heat dissipation testing method as described above is implemented.
[0013] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described server heat dissipation testing methods.
[0014] The server heat dissipation test method, device, electronic device and storage medium provided by the present invention input virtual temperature values of each temperature sensor of the server to be tested through a human-computer interaction input interface, output observation information of the server to be tested through a human-computer interaction output interface and a common human-computer interaction interface of a mainboard management controller, wherein the observation information includes a pulse width modulation value of a fan of the server to be tested, and the heat dissipation performance of the server to be tested is evaluated based on the observation information, with a high level of automation and strong human-computer interactivity, thereby reducing the cost of heat dissipation testing, improving the efficiency, flexibility and adaptability of heat dissipation testing, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a schematic diagram of the working scene of the heat dissipation test mode of the temperature box in the prior art; Figure 2 It is a work flow chart of the heat dissipation test mode of the temperature box in the prior art; Figure 3 It is a flow chart of a server heat dissipation testing method provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of a working scenario of a heat dissipation test mode under a normal temperature environment provided by an embodiment of the present invention; Figure 5 is a workflow diagram of a heat dissipation test mode under a normal temperature environment provided by an embodiment of the present invention; Figure 6 It is a structural schematic diagram of a server heat dissipation testing device provided by an embodiment of the present invention; Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] Figure 1 This is a schematic diagram of the working scenario of the heat dissipation test mode in the temperature box of the prior art. Figure 1 As shown, the heat dissipation test engineer operates the temperature box to provide different ambient temperatures, and performs heat dissipation tests on the server under test at different ambient temperatures. The heat dissipation test engineer and the server under test perform human-computer interaction through the baseboard management controller (BMC) public interface.
[0019] Figure 2 FIG. 1 is a flow chart of the heat dissipation test mode of the temperature box in the prior art. Figure 2As shown, the ambient temperature around the server under test is changed by a temperature box, and the actual temperature value is detected by the temperature sensor of the server under test. The baseboard management controller (BMC) of the server under test controls the fan speed according to the heat dissipation strategy, and outputs test information such as fan speed and log information through the BMC public human-computer interaction interface.
[0020] Currently, the temperature chamber heat dissipation test has the following defects: 1) Expensive equipment and maintenance costs: Purchasing and maintaining a large temperature, humidity, and thermal shock test chamber requires considerable investment and high costs, which increases the economic burden on the company; 2) Operation and maintenance require professional knowledge: Improper operation and maintenance may lead to inaccurate test results and even equipment failure, so operating and maintaining the equipment requires certain professional knowledge and experience; 3) High energy consumption: In order to maintain high or low temperature environmental conditions, the equipment needs to consume a lot of energy, and long-term use may increase the operating costs of the enterprise; 4) There are specific requirements for test samples: Due to the particularity of the test environment, there are certain requirements for the shape, size, material, etc. of the test samples. It may be necessary to customize special test fixtures or samples; it increases the preparation time and cost of the test, and may also limit the use of certain samples; 5) Complex operation: Due to the large number of functions of the equipment, the operation is relatively complex and requires the reliance on professional operators. The automation level is low and the test efficiency is low. 6) Limitations of test scenarios: The temperature chamber mainly changes the ambient temperature around the server under test, and it is difficult to simulate and detect the heat dissipation of the server in various high-performance, high-density, and high-load operation application scenarios.
[0021] To this end, the embodiment of the present invention provides a server heat dissipation test method, device, electronic device and storage medium, which automatically sets the virtual temperature value of each temperature sensor of the server to be tested through a human-computer interaction input interface, outputs the observation information of the server to be tested through a human-computer interaction output interface and a common human-computer interaction interface of a motherboard management controller, and the observation information includes the pulse width modulation value of the fan of the server to be tested. Based on the observation information, the heat dissipation performance of the server to be tested is evaluated. The present invention has a high level of automation and strong human-computer interaction, can reduce the cost of heat dissipation testing, improve the efficiency, flexibility and adaptability of heat dissipation testing, and improve user experience.
[0022] Figure 3 The following is a flow chart of a server heat dissipation testing method provided by an embodiment of the present invention. Figure 3As shown, a server heat dissipation test method is provided, which is applied to the motherboard management controller BMC of the server to be tested, and the server to be tested includes a human-computer interaction input interface, a human-computer interaction output interface and a BMC public human-computer interaction interface. The method includes the following steps: step 310 and step 320. The method flow steps are only used as a possible implementation of the present invention.
[0023] Step 310: input virtual temperature values of each temperature sensor of the server to be tested through the human-computer interaction input interface.
[0024] Among them, the human-computer interaction input interface is used to convert the instructions and data input by the user into signals that the system can understand and process; the human-computer interaction input interface includes keyboard, mouse, touch screen, voice recognition device and gesture controller, etc. Through the human-computer interaction input interface, users can input commands, control devices, provide feedback and perform tasks, thereby realizing effective human-computer interaction.
[0025] Optionally, the human-computer interaction input interface includes an enable interface and a temperature control input interface.
[0026] Optionally, a startup instruction is obtained by using an enable interface, and a heat dissipation test mode under a normal temperature environment is started in response to the startup instruction.
[0027] Optionally, the virtual temperature value of each temperature sensor of the server to be tested is input through a temperature control input interface.
[0028] Optionally, a key temperature to be measured by each temperature sensor is determined, and a virtual temperature value is set according to the key temperature.
[0029] In some embodiments, the temperature sensors include: an air inlet temperature sensor, a graphics processing unit (GPU) temperature sensor, a central processing unit (CPU) temperature sensor, a memory temperature sensor, a platform controller hub (PCH) temperature sensor, a power supply unit (PSU) temperature sensor, a hard disk temperature sensor, and a peripheral component interconnect Express (PCIe) area temperature sensor.
[0030] Step 320: output observation information of the server under test through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller, the observation information including the pulse width modulation value of the fan of the server under test, and evaluate the heat dissipation performance of the server under test based on the observation information.
[0031] In some embodiments, the pulse width modulation value is calculated based on the virtual temperature value of each temperature sensor and the proportional integral differential heat dissipation strategy, and the pulse width modulation value is used to control the rotation speed of the fan of the server to be tested.
[0032] The core of the Proportional-Integral-Derivative (PID) cooling strategy is to adjust the control output (such as fan speed) to keep the server temperature within a predetermined range.
[0033] It should be noted that pulse width modulation (PWM) is a modulation technology that controls the output power or level by adjusting the pulse width of the signal (i.e. the high level duration of the switching signal).
[0034] Among them, the pulse width modulation PWM value refers to the time ratio of the high level (ON) and low level (OFF) in the PWM signal within a cycle, usually expressed as a duty cycle; the duty cycle refers to the ratio of the high level duration to the entire cycle time within a PWM cycle, usually expressed as a percentage.
[0035] Optionally, the observation information includes a PWM value of a global fan of the server to be tested; the PWM value of the global fan is used to control the rotation speed of the global fan.
[0036] The human-computer interaction output interface is used to convey information to users. Its function is to present the status, results or feedback of the server system under test to users in an easy-to-understand form. The human-computer interaction output interface includes display screens, speakers, indicator lights, etc., which can enable users to obtain the required information, make decisions and operate the system in a timely manner through vision, hearing or touch.
[0037] Optionally, the human-computer interaction output interface includes a status query interface and a PWM information query interface.
[0038] Optionally, the BMC comprehensive information includes BMC control information and BMC monitoring information.
[0039] FIG4 is a schematic diagram of a working scenario of a heat dissipation test mode under a normal temperature environment provided by an embodiment of the present invention. Figure 4 As shown, in the heat dissipation test mode under normal temperature environment, the heat dissipation test engineer and the server under test perform human-computer interaction through the human-computer interaction interface and the BMC public interface.
[0040] It should be noted that the human-computer interaction interface supports multiple implementation methods, such as IPMI commands or redfish commands.
[0041] Figure 5 A flowchart of a heat dissipation test mode under normal temperature environment provided by an embodiment of the present invention.
[0042] like Figure 5 As shown, the virtual temperature value of each temperature sensor is set through the human-computer interaction input interface. The BMC adjusts the fan speed according to the virtual temperature value and the PID cooling strategy. The cooling test mode status and PWM under normal temperature environment are queried through the human-computer interaction output interface. The fan speed, duty cycle, sensor information and log information are queried through the BMC public human-computer interaction interface.
[0043] In the embodiment of the present invention, the virtual temperature value of each temperature sensor of the server to be tested is input through the human-computer interaction input interface, and the observation information of the server to be tested is output through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller. The observation information includes the pulse width modulation value of the fan of the server to be tested. Based on the observation information, the heat dissipation performance of the server to be tested is evaluated. The automation level is high and the human-computer interactivity is strong. The cost of heat dissipation testing can be reduced, the efficiency, flexibility and adaptability of heat dissipation testing can be improved, and the user experience can be improved.
[0044] In some embodiments, the human-computer interaction input interface includes an enable interface and a temperature control input interface; Input the virtual temperature value of each temperature sensor of the server to be tested through the human-computer interaction input interface, including: Through the temperature control input interface, the virtual temperature value of each temperature sensor of the server to be tested is input in the form of an automated script; Before inputting the virtual temperature value of each temperature sensor of the server to be tested through the human-computer interaction input interface, the following steps are also included: The function code of the heat dissipation test mode under normal temperature environment is embedded in the BMC, so that the BMC can directly obtain the virtual temperature value of each temperature sensor under the heat dissipation test mode under normal temperature environment; Obtaining a start command of a heat dissipation test mode under a normal temperature environment by using an enable interface, and starting the heat dissipation test mode under a normal temperature environment in response to the start command; After outputting the observation information of the server to be tested through the human-computer interaction output interface and the BMC public human-computer interaction interface, it also includes: Obtaining an exit command of the heat dissipation test mode under a normal temperature environment by using an enable interface, and exiting the heat dissipation test mode under a normal temperature environment in response to the exit command; Return to BMC polling to obtain the temperature value of each temperature sensor.
[0045] Table 1 is a design table of the enable interface of the thermal test mode under normal temperature environment.
[0046] Table 1 Design table of the enable interface of the thermal test mode under normal temperature environment
[0047] For example, based on the enable interface, the "Ipmitool raw 0x3C 0x3A 0xB3 0x01" command can be used to enable the heat dissipation test mode under the normal temperature environment and start the heat dissipation test under the normal temperature environment.
[0048] For another example, based on the enable interface, the "Ipmitool raw 0x3C 0x3A 0xB3 0x00" command can be used to turn off the heat dissipation test mode under the normal temperature environment and end the heat dissipation test under the normal temperature environment.
[0049] It should be noted that the function of the enable interface is to enter or exit the heat dissipation test mode under normal temperature environment. After using the enable interface to enter the heat dissipation test mode under normal temperature environment, the BMC will no longer use the temperature value obtained from the temperature sensor, but will use the virtual temperature value input by the temperature control input interface to control the fan. In this way, the heat dissipation test engineer can use the manually input virtual temperature value to detect the heat dissipation of the server under various temperature conditions under normal temperature environment. After the test is completed, the heat dissipation test mode under normal temperature environment can be exited through the enable interface and the normal operation mode can be restored, so that the BMC can obtain the actual temperature value from the temperature sensor.
[0050] Table 2 is a design table of the temperature control input interface of the heat dissipation test mode under normal temperature environment.
[0051] Table 2 Design table of temperature control input interface of heat dissipation test mode under normal temperature environment
[0052] Table 3 is a list of commonly used temperature sensors.
[0053] Table 3 List of commonly used temperature sensors
[0054] The application examples of temperature control input interface are as follows: Use Ipmitool raw 0x3C 0xFD 0x20 70 or Ipmitool raw 0x3C 0xFD 0x200x46 (hexadecimal 0x46 represents decimal 70) to set the value of the temperature sensor whose sensor number is 0x20 to 70 degrees Celsius.
[0055] It can be understood that the BMC can be controlled to start or exit the heat dissipation test mode under normal temperature environment through the enable interface, so that the BMC can switch freely between the test mode and the normal mode without affecting each other, with strong flexibility. The user input can be obtained through the temperature control input interface, and then the virtual temperature of each temperature sensor can be determined based on the user input, which facilitates customized testing and improves user experience.
[0056] In some embodiments, the virtual temperature value of each temperature sensor of the server to be tested is input in the form of an automated script through the temperature control input interface, including: Get the heat dissipation test parameters through the temperature control input interface; Verify the thermal test parameters; When the verification is successful, an automation script is generated based on the heat dissipation test parameters, and a virtual temperature value of each temperature sensor is input based on the automation script.
[0057] Optionally, the heat dissipation test parameters include target temperature and test time.
[0058] Optionally, check whether the thermal test parameters exceed the preset threshold range to ensure that the parameters are consistent with the test objectives, for example, the target temperature cannot exceed the maximum withstand temperature of the device, and the test time should meet the expected test cycle.
[0059] Optionally, check whether the combination of heat dissipation test parameters is reasonable and whether the set temperature matches the working status of the device to avoid unrealistic test conditions.
[0060] Among them, the automation script is a program code used to automatically perform specific tasks; by calling pre-defined instructions, the automation script can automatically complete operations, improve efficiency, reduce human intervention, have strong repeatability, and can also automatically record test data to ensure the integrity and accuracy of the test data.
[0061] It can be understood that by obtaining the heat dissipation test parameters through the temperature control input interface and verifying the heat dissipation test parameters, potential setting errors can be discovered and corrected early, ensuring that the input heat dissipation test parameters are accurate, thereby improving the reliability of the test results. The automated verification process reduces the time and effort of manual inspection, making the test process more efficient, and ensuring that all tests are performed under the same, verified conditions, which can improve the repeatability and consistency of the tests.
[0062] In some embodiments, the observed information includes control information and monitoring information; The observation information of the server under test is output through the human-computer interaction output interface and the BMC public human-computer interaction interface, including: Output control information through the human-computer interaction output interface; The monitoring information is output through the BMC public human-computer interaction interface.
[0063] Optionally, the control information includes mode status, PWM and other information; the monitoring information includes fan speed, duty cycle, log and other information.
[0064] It can be understood that by outputting control information through the human-machine interaction output interface and outputting monitoring information through the BMC public human-machine interaction interface, it is possible to more comprehensively understand and judge whether the current heat dissipation strategy meets the needs of the application scenario.
[0065] In some embodiments, the human-computer interaction output interface includes a status query interface and a PWM information query interface; Output control information through the human-computer interaction output interface, including: Through the status query interface, you can query in real time whether the BMC is currently in the heat dissipation test mode under normal temperature environment, and obtain the current status information of the BMC; Through the PWM information query interface, the current PWM value of each fan of the server to be tested can be viewed in real time.
[0066] Table 4 is a design table of the status query interface of the heat dissipation test mode under normal temperature environment.
[0067] Table 4 Design table of the status query interface of the heat dissipation test mode under normal temperature environment
[0068] As shown in Table 4, "0x00" indicates that the heat dissipation test mode under normal temperature environment is turned off, and "0x01" indicates that the heat dissipation test mode under normal temperature environment is turned on.
[0069] Table 5 is a design table of the PWM information query interface of the heat dissipation test mode under normal temperature environment.
[0070] Table 5 Design table of PWM information query interface of heat dissipation test mode under normal temperature environment
[0071] As shown in Table 5, the PWM value of a current single fan or global fan can be queried based on the PWM information query interface.
[0072] For example, the PWM value of the current global fan can be read through the "Ipmitool raw 0x3C 0xFE 0xFF" command. The returned value "00 78" indicates that the PWM value of the current global fan is 0x78 (decimal 120).
[0073] For another example, the current PWM value of fan 1 can be read through the "Ipmitool raw 0x3C 0xFE 0x01" command.
[0074] In the embodiment of the present invention, the heat dissipation test mode and human-computer interaction interface under normal temperature environment have the following advantages: low cost, no need to purchase a test incubator, saving expensive equipment and maintenance costs; simple operation, heat dissipation test can be carried out using commands, avoiding complicated incubator setting operations, and no need to rely on professional operators; normal temperature testing, low energy consumption, no need for an incubator to maintain high or low temperature environmental conditions, avoiding the consumption of a large amount of energy; support script testing, flexible and efficient, can simulate and detect the heat dissipation of the server in various high-performance, high-density, and high-load operation application scenarios; does not affect the normal function of BMC to obtain the values of each temperature Sensor of the server, and the heat dissipation test mode under normal temperature environment can be turned on or off using the enable command. It can be turned on when needed and turned off when not in use.
[0075] The following is a description of a server heat dissipation testing device provided by an embodiment of the present invention. The server heat dissipation testing device described below and the server heat dissipation testing method described above can refer to each other.
[0076] Figure 6 A schematic diagram of the structure of a server heat dissipation testing device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the server heat dissipation testing device 600 includes: An input unit 610, used to input virtual temperature values of each temperature sensor of the server to be tested through a human-computer interaction input interface of the server to be tested; The output unit 620 is used to output the observation information of the server under test through the human-computer interaction output interface of the server under test and the common human-computer interaction interface of the motherboard management controller. The observation information includes the pulse width modulation value of the fan of the server under test. Based on the observation information, the heat dissipation performance of the server under test is evaluated.
[0077] Optionally, the human-computer interaction input interface includes an enable interface and a temperature control input interface; Input the virtual temperature value of each temperature sensor of the server to be tested through the human-computer interaction input interface, including: Through the temperature control input interface, the virtual temperature value of each temperature sensor of the server to be tested is input in the form of an automated script; The server heat dissipation testing device 600 also includes: A configuration unit, used for embedding a function code of a heat dissipation test mode under a normal temperature environment in the BMC, so that the BMC can directly obtain a virtual temperature value of each temperature sensor under the heat dissipation test mode under a normal temperature environment; A starting unit, used to obtain a starting command of a heat dissipation test mode under a normal temperature environment by using an enabling interface, and start the heat dissipation test mode under a normal temperature environment in response to the starting command; The server heat dissipation testing device 600 also includes: An exit unit, used to obtain an exit command of the heat dissipation test mode under normal temperature environment by using the enable interface, and exit the heat dissipation test mode under normal temperature environment in response to the exit command; The return unit is used to return to the BMC to poll and obtain the temperature value of each temperature sensor.
[0078] Optionally, the virtual temperature value of each temperature sensor of the server to be tested is input in the form of an automated script through the temperature control input interface, including: Get the heat dissipation test parameters through the temperature control input interface; Verify the thermal test parameters; When the verification is successful, an automation script is generated based on the heat dissipation test parameters, and a virtual temperature value of each temperature sensor is input based on the automation script.
[0079] Optionally, the observation information includes control information and monitoring information; The observation information of the server under test is output through the human-computer interaction output interface and the BMC public human-computer interaction interface, including: Output control information through the human-computer interaction output interface; Output monitoring information through the BMC public human-computer interaction interface.
[0080] Optionally, the human-computer interaction output interface includes a status query interface and a PWM information query interface; Output control information through the human-computer interaction output interface, including: Through the status query interface, you can query in real time whether the BMC is currently in the heat dissipation test mode under normal temperature environment, and obtain the current status information of the BMC; Through the PWM information query interface, the current PWM value of each fan of the server to be tested can be viewed in real time.
[0081] Optionally, the pulse width modulation value is calculated based on the virtual temperature value of each temperature sensor and the proportional integral differential heat dissipation strategy, and the pulse width modulation value is used to control the rotation speed of the fan of the server to be tested.
[0082] Optionally, the temperature sensors include: an air inlet temperature sensor, a graphics processing unit GPU temperature sensor, a central processing unit CPU temperature sensor, a memory temperature sensor, a platform controller hub PCH temperature sensor, a power supply unit PSU temperature sensor, a hard disk temperature sensor and a peripheral component interconnect express PCIe temperature sensor.
[0083] It should be noted here that the server heat dissipation measurement device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned server heat dissipation measurement method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be specifically described here.
[0084] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 7 As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communications interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the server heat dissipation measurement method, which includes: inputting the virtual temperature value of each temperature sensor of the server to be tested through the human-computer interaction input interface; outputting the observation information of the server to be tested through the human-computer interaction output interface and the common human-computer interaction interface of the motherboard management controller, wherein the observation information includes the pulse width modulation value of the fan of the server to be tested, and evaluating the heat dissipation performance of the server to be tested based on the observation information.
[0085] In addition, the logic instructions in the above-mentioned memory 730 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 invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. 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 invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0086] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the server heat dissipation measurement method provided by the above-mentioned methods. The method includes: inputting the virtual temperature value of each temperature sensor of the server to be tested through a human-computer interaction input interface; outputting the observation information of the server to be tested through a human-computer interaction output interface and a common human-computer interaction interface of a motherboard management controller, the observation information including the pulse width modulation value of the fan of the server to be tested, and evaluating the heat dissipation performance of the server to be tested based on the observation information.
[0087] 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.
[0088] 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, 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.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 invention.
Claims
1. A server heat dissipation testing method, characterized in that: A motherboard management controller applied to a server to be tested, wherein the server to be tested includes a human-computer interaction input interface, a human-computer interaction output interface, and a common human-computer interaction interface of the motherboard management controller, and the method includes: Inputting virtual temperature values of each temperature sensor of the server to be tested through the human-computer interaction input interface; The observation information of the server under test is output through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller, the observation information including the pulse width modulation value of the fan of the server under test, and the heat dissipation performance of the server under test is evaluated based on the observation information.
2. The server heat dissipation testing method according to claim 1, characterized in that: The human-computer interaction input interface includes an enable interface and a temperature control input interface; The step of inputting the virtual temperature values of the temperature sensors of the server to be tested through the human-computer interaction input interface includes: Inputting virtual temperature values of each temperature sensor of the server to be tested in the form of an automated script through the temperature control input interface; Before inputting the virtual temperature values of the temperature sensors of the server to be tested through the human-computer interaction input interface, the method further includes: Embedding a function code of a heat dissipation test mode under a normal temperature environment in the motherboard management controller, so that the motherboard management controller can directly obtain the virtual temperature value of each temperature sensor in the heat dissipation test mode under the normal temperature environment; Obtaining a start command of the heat dissipation test mode under the normal temperature environment by using the enable interface, and starting the heat dissipation test mode under the normal temperature environment in response to the start command; After outputting the observation information of the server to be tested through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller, the method further includes: Acquiring an exit command of the heat dissipation test mode under the normal temperature environment by using the enabling interface, and exiting the heat dissipation test mode under the normal temperature environment in response to the exit command; Return to the mainboard management controller to poll and obtain the temperature value of each temperature sensor.
3. The server heat dissipation testing method according to claim 2, characterized in that: The step of inputting the virtual temperature value of each temperature sensor of the server to be tested in the form of an automated script through the temperature control input interface includes: Acquiring heat dissipation test parameters through the temperature control input interface; Verifying the heat dissipation test parameters; In case the verification is successful, an automation script is generated based on the heat dissipation test parameters, and the virtual temperature values of the temperature sensors are input based on the automation script.
4. The server heat dissipation testing method according to claim 2, characterized in that: The observation information includes control information and monitoring information; Outputting the observation information of the server to be tested through the human-computer interaction output interface and the common human-computer interaction interface of the mainboard management controller includes: Outputting the control information through the human-computer interaction output interface; The monitoring information is outputted through the public human-computer interaction interface of the mainboard management controller.
5. The server heat dissipation testing method according to claim 4, characterized in that: The human-computer interaction output interface includes a status query interface and a pulse width modulation information query interface; The outputting of control information through the human-computer interaction output interface includes: Through the status query interface, query in real time whether the motherboard management controller is currently in a heat dissipation test mode under a normal temperature environment, and obtain the current status information of the motherboard management controller; The current pulse width modulation value of each fan of the server to be tested is checked in real time through the pulse width modulation information query interface.
6. The server heat dissipation testing method according to claim 1, characterized in that: The pulse width modulation value is calculated based on the virtual temperature value of each temperature sensor and the proportional integral differential heat dissipation strategy, and the pulse width modulation value is used to control the rotation speed of the fan of the server to be tested.
7. The server heat dissipation testing method according to any one of claims 2 to 6, characterized in that: The temperature sensors include: an air inlet temperature sensor, a graphics processing unit temperature sensor, a central processing unit temperature sensor, a memory temperature sensor, a platform controller hub temperature sensor, a power supply unit temperature sensor, a hard disk temperature sensor and a peripheral component interconnection rapid area temperature sensor.
8. A server heat dissipation testing device, characterized in that: include: An input unit, used to input virtual temperature values of each temperature sensor of the server to be tested through a human-computer interaction input interface of the server to be tested; The output unit is used to output the observation information of the server under test through the human-computer interaction output interface of the server under test and the common human-computer interaction interface of the mainboard management controller, wherein the observation information includes the pulse width modulation value of the fan of the server under test, and based on the observation information, the heat dissipation performance of the server under test is evaluated.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the server heat dissipation testing method according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the server heat dissipation testing method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Server fan heat dissipation testing method, device and equipment and readable storage medium
CN113027799A
Heat dissipation test method and device, electronic equipment and storage medium
CN116610508A
Test method, device and equipment of heat dissipation regulation and control strategy and storage medium
CN117252012A