Server heat dissipation test method, device, equipment and medium

By using execution scripts generated from large language models to simulate server heat dissipation tests in real-world usage scenarios, this technology solves the problem that existing technologies cannot accurately reflect real-world usage scenarios, thereby improving the server's heat dissipation performance and reliability.

CN121807661APending Publication Date: 2026-04-07NINGCHANG INFORMATION TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511883295.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-15
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, server heat dissipation tests cannot accurately reflect the heat dissipation situation in real-world usage scenarios, thus failing to effectively improve server performance.

Method used

By inputting server component information and heat dissipation test conditions into a large language model, an execution script containing multiple load switching scenarios is generated to simulate the heat dissipation test of the server in actual use scenarios.

Benefits of technology

It accurately reflects the server's heat dissipation under various load switching scenarios, identifies potential problems, and improves the server's heat dissipation performance and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807661A_ABST
    Figure CN121807661A_ABST
Patent Text Reader

Abstract

The invention discloses a server heat dissipation test method and device, equipment and a medium, which are used for accurately reflecting the heat dissipation condition of a server in an actual use scene to the greatest extent and improving the performance of the server. In the method, when information of each to-be-tested component and a heat dissipation test condition are obtained, the information of each to-be-tested component and the heat dissipation test condition are used as model cue words to be input into a script generation large language model, the heat dissipation test condition can comprise at least one of target ballast duration and target total duration, and the target ballast duration and the target total duration serve as model cue words. Afterwards, an execution script for carrying out heat dissipation test on each component can be obtained based on the script generation large language model, the execution script comprises a plurality of ballast switching scenes, and when heat dissipation test is carried out on each to-be-tested component in the server based on the execution script, the ballast switching scenes can be switched between the ballast switching scenes. The heat dissipation condition of the server in the actual use scene can be accurately reflected to the maximum extent, and then the heat dissipation performance and reliability of the server can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a server heat dissipation testing method, apparatus, equipment and medium. Background Technology

[0002] With the rapid development of the internet industry, the demands on server performance are increasing, and the requirements for heat dissipation are becoming more stringent. Heat dissipation testing, as an effective means of verifying server heat dissipation design, has always been a key aspect of the server heat dissipation R&D process, determining the quality of server products.

[0003] In related technologies, thermal testing typically involves placing the server under specific load (or pressure) conditions, operating it at maximum power consumption, and then stabilizing it before reading the temperatures of various components to check if they exceed the maximum permissible temperature. This method effectively verifies the server's thermal performance under static load conditions. However, in real-world server usage scenarios, servers typically do not operate under stable load conditions. Therefore, this method of thermal testing under static load conditions cannot accurately reflect the server's thermal performance in actual usage scenarios. There is an urgent need for a technical solution that can accurately reflect the server's thermal performance in real-world usage scenarios to improve server performance. Summary of the Invention

[0004] This application provides a server heat dissipation testing method, apparatus, equipment, and medium to reflect the server's heat dissipation in actual use scenarios to the greatest extent possible, thereby improving server performance.

[0005] Firstly, this application provides a server heat dissipation testing method, the method comprising: Obtain information about each component to be tested, and the corresponding heat dissipation test conditions for each component, wherein the heat dissipation test conditions include at least one of the target ballast duration and the target total duration; The information of each component and the heat dissipation test conditions are input as model prompt words into the script generation large language model. Based on the script generation large language model, an execution script for heat dissipation testing of each component is obtained, wherein the execution script contains multiple ballast switching scenarios. Based on the execution script, a heat dissipation test is performed on each component in the server.

[0006] Using the above method, the information of each component to be tested and the corresponding heat dissipation test conditions can be input into the script generation language model as model prompts. The script generation language model can generate execution scripts containing various load switching scenarios based on its own generalization and reasoning capabilities. Based on these execution scripts, the server can be tested for heat dissipation under various load switching scenarios, thereby reflecting (simulating) the heat dissipation of the server in actual use scenarios to the greatest extent possible. This helps to discover potential heat dissipation problems and thus helps to improve the server's heat dissipation performance and reliability.

[0007] In one possible implementation, obtaining the heat dissipation test conditions corresponding to each component includes: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

[0008] Compared to the time-consuming and error-prone process of manually determining heat dissipation test conditions, the above method uses the information of the component to be tested as model prompts. Based on the conditions, a large language model and these model prompts are generated to obtain the heat dissipation test conditions for each component. This improves the automation and intelligence level of heat dissipation test condition generation and enhances the efficiency and accuracy of heat dissipation test condition determination.

[0009] In one possible implementation, generating the output of the large language model based on the conditions to obtain the heat dissipation test conditions corresponding to each component includes: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

[0010] The above method can display the candidate ballast durations for each component output by the condition-generated large language model for users to select. For each component, the ballast duration selected by the user can be determined as the target ballast duration for that component, thereby improving the flexibility and accuracy of the heat dissipation test condition determination process.

[0011] In one possible implementation, the target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

[0012] In this way, since the target ballast time can include the longest target ballast time and the shortest target ballast time, subsequent heat dissipation tests can be carried out flexibly and accurately based on the ballast time range defined by the longest and shortest target ballast times of each component.

[0013] In one possible implementation, generating the output of the large language model based on the conditions to obtain the heat dissipation test conditions corresponding to each component includes: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

[0014] The above method can display multiple candidate total durations output by the condition-generated large language model for users to select. The total duration selected by the user can be determined as the target total duration of this heat dissipation test, thereby improving the flexibility and accuracy of the heat dissipation test condition determination process.

[0015] In one possible implementation, the heat dissipation test conditions further include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

[0016] By using the above methods, when conducting heat dissipation tests based on information such as the maximum number of parallel ballast scenarios, ballast scenario rejection information, and ballast scenario switching quantity information included in the heat dissipation test conditions, the efficiency and accuracy of heat dissipation tests can be improved.

[0017] In one possible implementation, after obtaining the execution script for performing a heat dissipation test on each component, and before performing a heat dissipation test on each component in the server based on the execution script, the method further includes: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

[0018] By using the above methods, we can verify whether the executed script is compliant, and only when the executed script is compliant can we perform the corresponding heat dissipation test based on the executed script, which can improve the accuracy of heat dissipation test.

[0019] Secondly, this application provides a server heat dissipation testing device, the device comprising: The first acquisition module is used to acquire information about each component to be tested, and the corresponding heat dissipation test conditions for each component. The heat dissipation test conditions include at least one of the target ballast time and the target total time. The second acquisition module is used to input the information of each component and the heat dissipation test conditions as model prompt words into the script generation large language model, and based on the script generation large language model, to obtain the execution script for heat dissipation test of each component, wherein the execution script contains multiple ballast switching scenarios. The testing module is used to perform heat dissipation tests on each component in the server based on the execution script.

[0020] In one possible implementation, the first acquisition module is specifically used for: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

[0021] In one possible implementation, the first acquisition module is specifically used for: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

[0022] In one possible implementation, the target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

[0023] In one possible implementation, the first acquisition module is specifically used for: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

[0024] In one possible implementation, the heat dissipation test conditions further include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

[0025] In one possible implementation, the test module is further configured to: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

[0026] Thirdly, this application also provides an electronic device, which includes at least a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the steps of the server heat dissipation test method as described in any of the first aspects.

[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the steps of the server heat dissipation testing method as described in any one of the first aspects.

[0028] Fifthly, embodiments of this application provide a computer program product comprising: computer program code, which, when executed on a computer, causes the computer to perform the steps of the server heat dissipation testing method as described in any one of the first aspects. Attached Figure Description

[0029] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0030] Figure 1 This is a schematic diagram of a server heat dissipation test process provided in an embodiment of this application; Figure 2 This is a schematic diagram of another server heat dissipation test process provided in an embodiment of this application; Figure 3 This is a schematic diagram of a server heat dissipation testing device provided in an embodiment of this application; Figure 4 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation

[0031] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0032] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0033] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0034] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0035] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0036] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0037] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

[0038] This application provides a server heat dissipation testing method, apparatus, device, and medium. In this method, when obtaining information about each component to be tested and the heat dissipation test conditions, the information about each component to be tested and the heat dissipation test conditions are input as model prompts into a script generation large language model. The heat dissipation test conditions may include at least one of target load duration and target total duration. Then, an execution script for heat dissipation testing of each component can be obtained based on the script generation large language model. The execution script contains multiple load switching scenarios. Based on the execution script, when performing heat dissipation testing on each component to be tested in the server, the heat dissipation situation of the server under actual use scenarios can be reflected to the greatest extent accurately, thereby improving server performance.

[0039] Example 1: Figure 1 This application provides a schematic diagram of a server heat dissipation test process, which includes: S101: Obtain information about each component to be tested, and the corresponding heat dissipation test conditions for each component, wherein the heat dissipation test conditions include at least one of the target ballast duration and the target total duration.

[0040] The server heat dissipation testing method provided in this application is applied to electronic devices, such as personal computers (PCs), mobile terminals, servers, etc., and this application does not specifically limit them.

[0041] In one possible implementation, when a heat dissipation test of the server is required, the server can be placed in a test environment prepared by the user (business personnel), such as the actual usage environment of the server, which will not be elaborated here.

[0042] Users can input information about each component to be tested into the electronic device. These components can also be referred to as components requiring load testing, and may include, for example, a central processing unit (CPU), memory, a graphics processing unit (GPU), and a hard disk, etc. This application does not specifically limit the scope of these components. Users can input the names or numbers of these components, or other information used to identify them (also called identification information), into the electronic device. The electronic device can then obtain the information input by the user for each component to be tested.

[0043] In one possible implementation, when a user inputs (specifies) information about each component to be tested, they can also input (specify) heat dissipation test conditions such as the longest ballast time, the shortest ballast time, and the total ballast time for each component. The electronic device can receive the information about each component input by the user, as well as the corresponding heat dissipation test conditions.

[0044] In one possible implementation, to improve the intelligence and accuracy of server thermal testing, electronic devices can automatically and intelligently generate thermal testing conditions for each component. Specifically, when obtaining the thermal testing conditions for each component, the electronic device can input the information of each component as model prompts into a large language model (conditional generation large language model). Based on these prompts, the conditional generation large language model can generate thermal testing conditions for each component (such as the load duration for each component, the total duration of the thermal test, etc.) using its generalization and reasoning capabilities. The electronic device can then obtain the thermal testing conditions for each component based on the output of the conditional generation large language model. The conditional generation large language model can be an open-source large language model; the process of generating thermal testing conditions based on the conditional generation large language model will not be elaborated here.

[0045] Compared to the time-consuming and error-prone process of manually determining heat dissipation test conditions, this application can improve the automation and intelligence of heat dissipation test condition generation by using the information of the component to be tested as model prompts, generating a large language model and these model prompts based on the conditions, and thus obtaining the heat dissipation test conditions for each component. This can also improve the efficiency and accuracy of heat dissipation test condition determination.

[0046] In one possible implementation, in order to improve the flexibility and accuracy of the heat dissipation test condition determination process, for each component, the output of the condition generation large language model can include multiple candidate ballast durations corresponding to that component. The electronic device can display multiple candidate ballast durations corresponding to that component, and the user can select the appropriate ballast duration for that component from these multiple candidate ballast durations. The electronic device can determine the ballast duration selected by the user as the target ballast duration for that component.

[0047] Since this application can display the candidate ballast durations for each component output by the condition-generated large language model for users to select, the ballast duration selected by the user for each component can be determined as the target ballast duration for that component, thereby improving the flexibility and accuracy of the heat dissipation test condition determination process.

[0048] In one possible implementation, to improve the flexibility of subsequent heat dissipation testing, for each component, the candidate ballast duration output by the conditional generation large language model for that component may include at least one of the longest and shortest candidate ballast durations. For example, it may only include the longest candidate ballast duration for that component, or only include the shortest candidate ballast duration for that component, or it may include both the longest and shortest candidate ballast durations for that component. Correspondingly, for each component, the final determined target ballast duration for that component may include at least one of the longest and shortest target ballast durations. For example, it may only include the longest target ballast duration for that component, or only include the shortest target ballast duration for that component, or it may include both the longest and shortest target ballast durations for that component. The following explanation uses the example of a target ballast duration including both the longest and shortest target ballast durations.

[0049] For example, for each component, the conditional generation large language model can output multiple candidate shortest ballast times and multiple candidate longest ballast times for that component. The electronic device can display these candidate shortest and longest ballast times for user selection, and the candidate shortest ballast time selected by the user can be determined as the shortest target ballast time for that component, and the candidate longest ballast time selected by the user can be determined as the longest target ballast time for that component. This application does not specifically limit the longest and shortest target ballast times; they can be flexibly set according to requirements. For example, for a CPU component, its shortest target ballast time can be 10 minutes, and its longest target ballast time can be 60 minutes.

[0050] Since the target ballast time in the embodiments of this application may include the longest target ballast time and the shortest target ballast time, heat dissipation tests can be carried out flexibly and accurately based on the ballast time range defined by the longest target ballast time and the shortest target ballast time of each component.

[0051] In one possible implementation, to improve the flexibility and accuracy of the heat dissipation test condition determination process, the output of the condition generation large language model may also include the total duration of the heat dissipation test (hereinafter referred to as the total duration for ease of description). Optionally, the output of the condition generation large language model may include multiple candidate total durations. The electronic device may display these candidate total durations, and the user may select a suitable total duration from these candidate total durations. The electronic device may then determine the total duration selected by the user as the target total duration for the heat dissipation test.

[0052] Since this application can display multiple candidate total durations output by the conditional generation large language model for users to select, and can determine the total duration selected by the user as the target total duration of this heat dissipation test, it can improve the flexibility and accuracy of the heat dissipation test condition determination process.

[0053] In one possible implementation, to conduct rapid and accurate heat dissipation testing, the user can also input heat dissipation test conditions such as the maximum number of parallel ballast scenarios, ballast scenario exclusion information, and ballast scenario switching quantity information. That is, in addition to time information such as target ballast duration and target total duration, the heat dissipation test conditions can also include ballast information such as the maximum number of parallel ballast scenarios, ballast scenario exclusion information, and ballast scenario switching quantity information. The maximum number of parallel ballast scenarios can also be referred to as the maximum number of pressures executed simultaneously; this number can be flexibly set according to requirements, and this application does not impose specific limitations on it. Ballast scenario exclusion information can be, for example, specifying which specific ballast scenario (pressure) should not be executed, and can be flexibly set according to requirements. The ballast scenario switching quantity information can be a specific numerical value or text information without a specific quantity requirement, such as "as many ballast switching scenarios as possible"; this application does not impose specific limitations on it. Subsequently, the electronic device can generate an execution script for heat dissipation testing that meets the user's requirements based on these heat dissipation test conditions.

[0054] In addition, users can also input the format information of the subsequently generated execution script. That is, the heat dissipation test conditions can also include the format information of the execution script. The format of the execution script can be, for example, JavaScript key-value pairs (also known as JavaScript Object Notation, JSON), Extensible Markup Language (XML), etc., and this application does not impose specific limitations on it. Subsequent electronic devices can generate execution scripts conforming to the user's format requirements, such as JSON and XML, according to these heat dissipation test conditions.

[0055] Since the heat dissipation test conditions can also include information such as the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching information, the efficiency and accuracy of heat dissipation testing can be improved when conducting heat dissipation tests based on these test conditions.

[0056] S102: Input the information of each component and the heat dissipation test conditions as model prompt words into the script generation large language model, generate the large language model based on the script, and obtain the execution script for heat dissipation test of each component, wherein the execution script contains multiple ballast switching scenarios.

[0057] In one possible implementation, to improve the intelligence and accuracy of server thermal testing, electronic devices can automatically and intelligently generate execution scripts for thermal testing of each component. Specifically, information about each component to be tested and the thermal testing conditions can be used as model prompts and input into a large language model (script generation large language model). Based on these prompts, the script generation large language model can generate execution scripts for thermal testing of each component using its own generalization and reasoning capabilities. These execution scripts can include information such as the time and order of thermal testing for each component; for example, the script can include information such as at which time point a stress test (thermal testing) is performed on which component and for how long. The execution scripts can contain multiple load switching scenarios, where a load switching scenario can be a change from testing one component to testing another. The script generation large language model, based on its generalization and reasoning capabilities, can arrange and combine various components to be tested and their load durations (longest target load duration, shortest target load duration) to generate execution scripts that encompass as many load switching scenarios as possible. This ensures the scripts comprehensively cover various load switching scenarios, thus accurately reflecting the server's heat dissipation under real-world usage. Optionally, the script generation large language model can be an open-source large language model, such as the DeepSeek-R1 large language model. The process of generating execution scripts based on this large language model will not be elaborated here.

[0058] For example, suppose the components to be tested include a CPU, memory, network card, and hard drive. The longest target load time for the CPU is 60 minutes, and the shortest target load time is 15 minutes. The longest target load time for the memory is 60 minutes, and the shortest target load time is 10 minutes. The longest target load time for the network card is 60 minutes, and the shortest target load time is 20 minutes. The longest target load time for the hard drive is 60 minutes, and the shortest target load time is 15 minutes. The total target time is 3 hours. Then, the information for the heat dissipation test of each component in the execution script can be as follows: within the target total time of 3 hours, first apply pressure to the CPU for 20 minutes, then switch to apply pressure to the memory for 10 minutes, then switch to apply pressure to the network card for 20 minutes, then switch to apply pressure to the hard drive for 15 minutes, then switch to apply pressure to the memory for 15 minutes, and so on. These details will not be elaborated here.

[0059] In one possible implementation, after obtaining the execution script for performing heat dissipation tests on each component, the compliance of the execution script can be verified first. If the verification passes, the step of performing heat dissipation tests on each component in the server based on the execution script can then be carried out.

[0060] When verifying the compliance of the executed script, it can be checked from several preset dimensions. If the executed script is compliant in all dimensions, it is considered compliant, meaning the compliance check passes. Otherwise, if the executed script is non-compliant in any dimension, it is considered non-compliant, and a non-compliance message can be output for testers to investigate the cause. Further details will not be elaborated here.

[0061] The preset dimensions may include: whether the execution script is in a preset format, whether the load duration for each component in the execution script meets the target load duration requirement for the corresponding component in the heat dissipation test conditions, and whether the target total duration in the execution script matches the target total duration in the heat dissipation test conditions. The execution script can be considered compliant when the execution script is in a preset format, the load duration for each component in the execution script meets the target load duration requirement for the corresponding component in the heat dissipation test conditions, and the target total duration in the execution script matches the target total duration in the heat dissipation test conditions.

[0062] Since this application can verify whether the execution script is compliant, and only when the execution script is compliant, the corresponding heat dissipation test is performed based on the execution script, the accuracy of the heat dissipation test can be improved.

[0063] S103: Based on the execution script, perform a heat dissipation test on each component in the server.

[0064] In one possible implementation, when the electronic device is a sub-device integrated into the server under test or a virtual device composed of virtual capabilities, the electronic device can directly start and execute a script, causing the server under test to run the script to apply stress to each component and collect the temperature of each component under test in the server under test.

[0065] When the electronic device is independent of the server under test, it can send an execution script to the server under test, causing the server to run the script to stress the components. During the execution of the script on the server under test, the electronic device can collect the temperature of each component under test; alternatively, it can instruct the server under test to record the temperature of each component during the test, and then send the recorded temperature information back to the electronic device after the test is completed.

[0066] For example, an electronic device can access the baseboard management controller (BMC) of the server under test every few seconds to collect temperature data of each component under test. Based on the collected temperature data, it generates temperature change curves for each component over time and marks one or more ballast scenarios executed at each moment on the curves. These curves allow users (test personnel) to observe the temperature change trends of each component, facilitating the summarization of temperature change patterns and optimization of the server's heat dissipation design. Further details are omitted here.

[0067] This application allows the information of each component to be tested and the corresponding heat dissipation test conditions to be input into a script generation language model as model prompts. The script generation language model can generate execution scripts containing various load switching scenarios based on its own generalization and reasoning capabilities. Based on these execution scripts, the server can be tested for heat dissipation under various load switching scenarios, thereby reflecting (simulating) the heat dissipation of the server in actual use scenarios to the greatest extent possible. This helps to discover potential heat dissipation problems and thus helps to improve the heat dissipation performance and reliability of the server.

[0068] Furthermore, the process of generating the execution script for heat dissipation testing based on a large language model in this embodiment of the application can automate and intelligently control the heat dissipation testing process, greatly reducing the workload of testers manually switching ballast scenarios and improving the accuracy of heat dissipation testing. In addition, the execution script can be reused, which is beneficial for testers to perform regression testing, and will not be elaborated further here.

[0069] Example 2: To facilitate understanding, the server heat dissipation testing process provided in this application will be explained and illustrated below through a specific embodiment. (See reference...) Figure 2 , Figure 2 This application provides another schematic diagram of a server heat dissipation test process, which includes the following steps: S201: Obtain information on each component to be tested, the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information input by the user.

[0070] S202: Input the information of each component to be tested as model prompts into the conditional generation large language model. Based on the output of the conditional generation large language model, for each component, display the multiple longest candidate ballast durations and the shortest candidate ballast durations corresponding to that component in the output results. The ballast duration selected from the multiple longest candidate ballast durations is determined as the longest target ballast duration for that component, and the ballast duration selected from the multiple shortest candidate ballast durations is determined as the shortest target ballast duration for that component. At the same time, it can also display the multiple candidate total durations in the output results of the conditional generation large language model, and determine the total duration selected from the multiple candidate total durations as the target total duration.

[0071] The conditional generation large language model can be deployed locally on an electronic device or on a cloud platform; this application does not make any specific restrictions on this.

[0072] S203: Input the information of each component to be tested, as well as the longest target ballast time, the shortest target ballast time, the total target time of the heat dissipation test, the maximum number of parallel ballast scenarios, ballast scenario exclusion information, and the number of ballast scenario switching conditions, as model prompt words into the script generation large language model. Based on the script generation large language model, obtain the execution script for heat dissipation testing of each component. The execution script contains multiple ballast switching scenarios.

[0073] The script-generated large language model can be deployed locally on an electronic device or on a cloud platform; this application does not impose any specific limitations on this.

[0074] S204: Verify the compliance of the executed script. If the verification passes, perform a heat dissipation test on each component in the server based on the executed script.

[0075] Example 3: Based on the same technical concept and the above embodiments, this application provides a server heat dissipation testing device. Figure 3 This is a schematic diagram of a server heat dissipation testing device provided in an embodiment of this application, as shown below. Figure 3 As shown, the device includes: The first acquisition module 301 is used to acquire information about each component to be tested and the heat dissipation test conditions corresponding to each component. The heat dissipation test conditions include at least one of the target ballast time and the target total time. The second acquisition module 302 is used to input the information of each component and the heat dissipation test conditions as model prompt words into the script generation large language model, and based on the script generation large language model, obtain the execution script for heat dissipation test of each component, wherein the execution script contains multiple ballast switching scenarios. Test module 303 is used to perform heat dissipation tests on each component in the server based on the execution script.

[0076] In one possible implementation, the first acquisition module 301 is specifically used for: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

[0077] In one possible implementation, the first acquisition module 301 is specifically used for: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

[0078] In one possible implementation, the target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

[0079] In one possible implementation, the first acquisition module 301 is specifically used for: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

[0080] In one possible implementation, the heat dissipation test conditions further include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

[0081] In one possible implementation, the test module 303 is further configured to: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

[0082] Example 4: Based on the same technical concept, this application also provides an electronic device. Figure 4 This application provides a schematic diagram of an electronic device structure, such as... Figure 4As shown, it includes: processor 401, communication interface 402, memory 403 and communication bus 404, wherein processor 401, communication interface 402 and memory 403 communicate with each other through communication bus 404. The memory 403 stores a computer program. When the program is executed by the processor 401, the processor 401 performs the following steps: Obtain information about each component to be tested, and the corresponding heat dissipation test conditions for each component, wherein the heat dissipation test conditions include at least one of the target ballast duration and the target total duration; The information of each component and the heat dissipation test conditions are input as model prompt words into the script generation large language model. Based on the script generation large language model, an execution script for heat dissipation testing of each component is obtained, wherein the execution script contains multiple ballast switching scenarios. Based on the execution script, a heat dissipation test is performed on each component in the server.

[0083] In one possible implementation, the processor 401 is specifically used for: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

[0084] In one possible implementation, the processor 401 is specifically used for: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

[0085] In one possible implementation, the target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

[0086] In one possible implementation, the processor 401 is specifically used for: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

[0087] In one possible implementation, the heat dissipation test conditions further include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

[0088] In one possible implementation, the processor 401 is further configured to: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

[0089] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0090] Communication interface 402 is used for communication between the above-mentioned electronic device and other devices.

[0091] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0092] The processors mentioned above can be general-purpose processors, including central processing units, network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits, field-programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0093] Example 5: Based on the same technical concept, embodiments of this application provide a computer-readable storage medium storing a computer program executable by an electronic device. When the program is run on the electronic device, the electronic device performs the following steps: Obtain information about each component to be tested, and the corresponding heat dissipation test conditions for each component, wherein the heat dissipation test conditions include at least one of the target ballast duration and the target total duration; The information of each component and the heat dissipation test conditions are input as model prompt words into the script generation large language model. Based on the script generation large language model, an execution script for heat dissipation testing of each component is obtained, wherein the execution script contains multiple ballast switching scenarios. Based on the execution script, a heat dissipation test is performed on each component in the server.

[0094] In one possible implementation, obtaining the heat dissipation test conditions corresponding to each component includes: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

[0095] In one possible implementation, generating the output of the large language model based on the conditions to obtain the heat dissipation test conditions corresponding to each component includes: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

[0096] In one possible implementation, the target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

[0097] In one possible implementation, generating the output of the large language model based on the conditions to obtain the heat dissipation test conditions corresponding to each component includes: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

[0098] In one possible implementation, the heat dissipation test conditions further include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

[0099] In one possible implementation, after obtaining the execution script for performing a heat dissipation test on each component, and before performing a heat dissipation test on each component in the server based on the execution script, the method further includes: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

[0100] The aforementioned computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor in an electronic device, including but not limited to magnetic storage such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), optical storage such as CDs, DVDs, BDs, HVDs, etc., and semiconductor storage such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs), etc.

[0101] Based on the same technical concept, this application also provides a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to execute any of the above embodiments. Since the principle by which the above computer program product solves the problem is similar to that of the server heat dissipation testing method, the implementation of the above computer program product can refer to the implementation of the method, and repeated details will not be described again.

[0102] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0103] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0104] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0105] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0106] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A server heat dissipation testing method, characterized in that, The method includes: Obtain information about each component to be tested, and the corresponding heat dissipation test conditions for each component, wherein the heat dissipation test conditions include at least one of the target ballast duration and the target total duration; The information of each component and the heat dissipation test conditions are input as model prompt words into the script generation large language model. Based on the script generation large language model, an execution script for heat dissipation testing of each component is obtained, wherein the execution script contains multiple ballast switching scenarios. Based on the execution script, a heat dissipation test is performed on each component in the server.

2. The method according to claim 1, characterized in that, Obtaining the heat dissipation test conditions corresponding to each component includes: The information of each component is input as a model prompt word into the conditional generation large language model. Based on the output of the conditional generation large language model, the heat dissipation test conditions corresponding to each component are obtained.

3. The method according to claim 2, characterized in that, The output of the large language model generated based on the conditions is used to obtain the heat dissipation test conditions corresponding to each component, including: For each component, multiple candidate ballast durations corresponding to that component are displayed in the output results. The ballast duration selected from the multiple candidate ballast durations is determined as the target ballast duration for that component.

4. The method according to claim 3, characterized in that, The target ballast duration includes at least one of the longest target ballast duration and the shortest target ballast duration.

5. The method according to claim 2, characterized in that, The output of the large language model generated based on the conditions is used to obtain the heat dissipation test conditions corresponding to each component, including: The output results are displayed, and the total duration selected from the multiple candidate total durations is determined as the target total duration.

6. The method according to claim 1, characterized in that, The heat dissipation test conditions also include at least one of the following: the maximum number of ballast scenarios running in parallel, ballast scenario rejection information, and ballast scenario switching quantity information.

7. The method according to claim 1, characterized in that, After obtaining the execution script for performing heat dissipation testing on each component, and before performing heat dissipation testing on each component in the server based on the execution script, the method further includes: The compliance of the execution script is verified. If the verification passes, the subsequent step of performing heat dissipation tests on each component in the server based on the execution script is carried out.

8. A server heat dissipation testing device, characterized in that, The device includes: The first acquisition module is used to acquire information about each component to be tested, and the corresponding heat dissipation test conditions for each component. The heat dissipation test conditions include at least one of the target ballast time and the target total time. The second acquisition module is used to input the information of each component and the heat dissipation test conditions as model prompt words into the script generation large language model, and based on the script generation large language model, to obtain the execution script for heat dissipation test of each component, wherein the execution script contains multiple ballast switching scenarios. The testing module is used to perform heat dissipation tests on each component in the server based on the execution script.

9. An electronic device, characterized in that, The electronic device includes at least a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the steps of the server heat dissipation test method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the server heat dissipation test method as described in any one of claims 1-7.