Heat dissipation mode determination method and device, storage medium and electronic equipment

The Baseboard Management Controller (BMC) combines the preset startup parameters and target temperature information of the server to dynamically determine the target heat dissipation method, which solves the problem in the existing technology that server heat dissipation control is difficult to adapt to dynamic power consumption scenarios, and realizes the power consumption in different scenarios. Reasonable heat dissipation management improves the energy efficiency and stability of the server.

CN118860090APending Publication Date: 2024-10-29INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 14 Cited by

Patent Information

Application Number
CN202410831326.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In the existing technology, the heat dissipation control of servers mainly relies on temperature monitoring, which is difficult to provide the best heat dissipation effect and energy efficiency management in dynamically changing load and power consumption scenarios, resulting in insufficient heat dissipation in high power consumption scenarios and insufficient heat dissipation in low power consumption scenarios. Excessive heat dissipation and inability to reasonably manage the heat dissipation of the server.

Method used

The baseboard management controller (BMC) determines the preset startup parameters and component target temperature information of the server's basic input and output system (BIOS) during the startup process, comprehensively considers the operating power consumption and temperature information, and dynamically determines the target cooling method, including Operation of multiple cooling devices.

Benefits of technology

It achieves reasonable heat dissipation management in different power consumption scenarios, avoids insufficient heat dissipation in high-power consumption scenarios and excessive heat dissipation in low-power consumption scenarios, improves server performance and stability, and reduces energy consumption and carbon emissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860090A_ABST
    Figure CN118860090A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for determining a heat dissipation mode, a storage medium and electronic equipment, and relates to the field of computers.The method for determining the heat dissipation mode comprises the steps that preset starting parameters of a basic input output system (BIOS) of a server in the starting process are determined through a baseboard management controller (BMC), the preset starting parameter has an association relationship with the operation power consumption of the server; target temperature information of the components in the server is determined through the BMC; according to the preset starting parameters and the target temperature information, a target heat dissipation mode of the server is determined, and the target heat dissipation mode comprises to-be-executed operations of a plurality of heat dissipation devices of the server. By adopting the technical scheme, the problem that the server cannot be reasonably cooled is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for determining a heat dissipation method, a storage medium, and an electronic device. Background Art

[0002] With the development of computer technology, the performance and power consumption requirements of servers are constantly increasing, the application scenarios are becoming increasingly diverse, and the requirements for the heat dissipation performance of servers are also constantly increasing. In related technologies, the method of heat dissipation regulation of servers is to monitor the temperature of the server and control the heat dissipation equipment to dissipate heat for the server according to the monitored temperature.

[0003] However, related technologies only use fixed temperature-based cooling solutions, which are difficult to provide optimal cooling effects and energy efficiency management when faced with dynamically changing loads and power consumption. For example, high-performance computers and scientific research institution servers are mostly used for high-power and high-load big data analysis or computing. In such high-power consumption scenarios, heat dissipation may be insufficient, affecting server performance and stability. For example, enterprise-level server managers require comprehensive performance and energy consumption management. In such low-power consumption scenarios, excessive heat dissipation may occur, wasting energy.

[0004] With regard to the problem in the related art that the server cannot be cooled reasonably, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for determining a heat dissipation method, a storage medium, and an electronic device, so as to at least solve the problem that the server cannot be cooled reasonably.

[0006] According to an embodiment of the present application, a method for determining a heat dissipation mode is provided, comprising: determining preset startup parameters of a basic input / output system BIOS of a server during a startup process through a baseboard management controller BMC, wherein the preset startup parameters are associated with the operating power consumption of the server; and determining target temperature information of components in the server through the BMC; determining a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0007] In an exemplary embodiment, determining the preset startup parameters of the basic input and output system BIOS of the server during the startup process through a baseboard management controller BMC includes: obtaining the preset startup parameters from the configuration register of the BIOS using a system management bus or an interconnect integrated circuit I2C bus through the BMC; or accessing the BIOS configuration register using a direct memory access DMA method through the BMC to obtain the preset startup parameters.

[0008] In an exemplary embodiment, determining the target heat dissipation mode of the server according to the preset startup parameters and the target temperature information includes: acquiring target configuration information, wherein the target configuration information is used to indicate power consumption scenarios of the server corresponding to different startup parameters, and the startup parameters include the preset startup parameters; based on the target configuration information, determining the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario; determining from a heat dissipation configuration file whether there is a custom heat dissipation strategy corresponding to the target power consumption scenario, wherein the custom heat dissipation strategy is a heat dissipation strategy obtained through an external interface of the BMC, and the heat dissipation configuration file is used to store heat dissipation strategies corresponding to different power consumption scenarios; in the When a custom cooling policy corresponding to the target power consumption scenario exists in the cooling configuration file, the custom cooling policy is determined as the target cooling policy; when a custom cooling policy corresponding to the target power consumption scenario does not exist in the cooling configuration file, the initial cooling policy corresponding to the target power consumption scenario in the cooling configuration file is determined as the target cooling policy, wherein the target cooling policy is used to indicate the cooling mode corresponding to the server at different temperatures under the target power consumption scenario, the temperature of the server includes the temperature of the components in the server, and the cooling mode includes the target cooling mode; based on the target cooling policy, the target cooling mode of the server is determined according to the target temperature information.

[0009] In an exemplary embodiment, determining the target cooling method of the server according to the preset startup parameters and the target temperature information includes: obtaining a first cooling method prediction model, wherein the first cooling method prediction model is used to determine the cooling method of the server according to the startup parameters of the BIOS during the startup process and the temperature information of the components in the server; inputting the preset startup parameters and the target temperature information into the first cooling method prediction model to obtain the target cooling method determined by the first cooling method prediction model.

[0010] In an exemplary embodiment, obtaining a first cooling method prediction model includes: obtaining a first training sample set, wherein each training sample in the first training sample set includes: sample startup parameters, sample temperature information of components in the server, and sample cooling method of the server; using the first training sample set to train a general machine learning model until the value of the target loss function meets a preset first convergence condition, terminating the training, and determining the general machine learning model at the end of the training as the first cooling method prediction model, wherein, if the value of the target loss function does not meet the preset first convergence condition, the parameters in the general machine learning model are adjusted; wherein the value of the target loss function is determined according to the sample cooling method and the predicted cooling method, and the predicted cooling method is the cooling method determined by the general machine learning model according to the sample startup parameters and the sample temperature information.

[0011] In an exemplary embodiment, determining the target cooling mode of the server according to the preset startup parameters and the target temperature information includes: determining the power consumption scenario of the server according to the preset startup parameters to obtain the target power consumption scenario; obtaining a second cooling mode prediction model, wherein the second cooling mode prediction model is used to determine the cooling mode of the server according to the power consumption scenario of the server and temperature information of components in the server; inputting the target power consumption scenario and the target temperature information into the second cooling mode prediction model to obtain the target cooling mode determined by the second cooling mode prediction model.

[0012] In an exemplary embodiment, after determining the target cooling mode of the server according to the preset startup parameters and the target temperature information, the method further includes: sending a corresponding control instruction to each of the multiple cooling devices according to the target cooling mode to control each cooling device to perform a corresponding cooling operation; when the BMC monitors that the target temperature information of a component in the server changes, determining the target cooling mode of the server again according to the preset startup parameters and the changed temperature information.

[0013] According to another embodiment of the embodiment of the present application, a device for determining a heat dissipation mode is also provided, including: a first determination module, used to determine preset startup parameters of a basic input and output system BIOS of a server during a startup process through a baseboard management controller BMC, wherein the preset startup parameters are associated with the operating power consumption of the server; a second determination module, used to determine target temperature information of components in the server through the BMC; and a third determination module, used to determine a target heat dissipation mode of the server based on the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0014] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0015] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0016] According to another embodiment of the present application, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0017] Through the present application, the preset startup parameters of the server's BIOS during the startup process and the target temperature information of the components in the server are determined through the BMC, and then the heat dissipation method of the server is determined according to the preset startup parameters and target temperature information obtained. Since the operating power consumption of the server and the temperature information of the components are comprehensively considered when determining the heat dissipation method, the server can be cooled reasonably, avoiding insufficient heat dissipation of the server in high power consumption scenarios and excessive heat dissipation in low power consumption scenarios, and solving the problem of being unable to reasonably cool the server. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 It is a hardware structure block diagram of a server device according to a method for determining a heat dissipation mode in an embodiment of the present application;

[0020] Figure 2is a flow chart of a method for determining a heat dissipation method according to an embodiment of the present application;

[0021] Figure 3 is an overall principle diagram of a method for determining an optional heat dissipation method according to an embodiment of the present application;

[0022] Figure 4 is a flow chart of another method for determining a heat dissipation method according to an embodiment of the present application;

[0023] Figure 5 is a structural block diagram of a device for determining a heat dissipation method according to an embodiment of the present application;

[0024] Figure 6 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0027] The heat dissipation method determination method provided in the embodiment of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a server device for determining a heat dissipation method according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for determining the heat dissipation method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0029] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate without the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate without the Internet in a wireless manner.

[0030] In order to solve the above problems, a method for determining a heat dissipation mode is provided in this embodiment, including but not limited to being applied to BMC, such as Figure 2 As shown, the process includes the following steps S202-S206:

[0031] Step S202: determining preset startup parameters of a basic input / output system (BIOS) of the server during startup through a baseboard management controller (BMC), wherein the preset startup parameters are associated with the running power consumption of the server;

[0032] Alternatively, if Figure 3 As shown, during the server startup process, different startup parameters are provided, and the user can select different startup parameters in the BIOS to reflect the power consumption characteristics and requirements of the server in different operating states.

[0033] Optionally, the startup parameters include but are not limited to: High Performance Compute, Balance / Energy Effciency, Power Saving, Low Latency, Virtualization-High Performance, Virtualization based on Balanced, Static Base Frequency, Single core high performance, Online Transaction Processing (OLTP), Input / Output Sensitive, Comprehensive Performance, Memory low latency Base on HPC, Memory low latency Base on balanced, SpecPower, Custom, etc.

[0034] It should be noted that the startup parameters include the preset startup parameters.

[0035] It should be noted that BMC is usually used to manage and monitor the hardware and software of computer systems. BMC can monitor the hardware status of the system, such as the temperature, voltage, fan speed, etc. of each component, and can manage and control the system through process connection. At the same time, it will adjust the fan speed in real time according to the conditions of each temperature sampling point to prevent the server from overheating or excessive power consumption, causing single boards or components to burn out, ensuring that the server is in a healthy state and the business runs stably.

[0036] In an exemplary embodiment, the above step S202 can be implemented by the following steps S21 or S22:

[0037] Step S21: obtaining the preset startup parameters from the configuration register of the BIOS by using the system management bus or the Inter-Integrated Circuit (I2C) bus through the BMC;

[0038] It should be noted that the I2C bus consists of two lines: one is the clock line and the other is the data line. Through the clock line and the data line, multiple devices can communicate on the same bus, where each device has a unique address. During the communication process, the master device (such as a microcontroller or processor) is responsible for initiating communication and controlling the bus, while the slave device passively responds to the master device's request.

[0039] Step S22: Access the BIOS configuration register through the BMC using a direct memory access (DMA) method to obtain the preset startup parameters.

[0040] Optionally, when the BIOS is started using the preset startup parameters, the preset startup parameters are stored in the BIOS configuration register, and then the BMC can obtain the preset startup parameters from the BIOS configuration register.

[0041] It should be noted that DMA is a technology used to transfer data in a computer system. In related technologies, the CPU is responsible for controlling all data transmission, which takes up a lot of CPU time and resources. DMA technology allows devices (such as BMC, network card, hard disk, etc.) to directly access system memory (such as BIOS configuration registers) without the need for CPU intervention, thereby improving the efficiency of data transmission (such as preset startup parameters).

[0042] In this embodiment, the BMC can quickly obtain the preset startup parameters through the above method.

[0043] Step S204: determining target temperature information of components in the server through the BMC;

[0044] In an exemplary embodiment, there is no precedence in which step S202 and step S204 are executed. Step S202 may be executed first, or step S204 may be executed first.

[0045] Step S206: determining a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0046] Optionally, the heat dissipation equipment includes, but is not limited to: a fan, a heat sink, a heat pipe, a liquid cooling system, a heat pipe, a heat dissipation duct, and a water pump.

[0047] It should be noted that the target cooling method includes operations that need to be performed by multiple cooling devices. That is to say, different target cooling methods will call different cooling devices. For different needs and energy consumption scenarios, the fan system may be called, or the water pump system may be called, or the fan system and the water pump system may be called at the same time, so as to improve the cooling performance and maximize the rational use of resources.

[0048] In the above steps S202-S206, the preset startup parameters of the BIOS of the server during the startup process and the target temperature information of the components in the server are determined through the BMC, and then the heat dissipation method of the server is determined according to the preset startup parameters and the target temperature information. Since the operating power consumption of the server and the temperature information of the components are comprehensively considered when determining the heat dissipation method, the server can be cooled reasonably, thereby avoiding insufficient heat dissipation of the server in a high power consumption scenario and excessive heat dissipation in a low power consumption scenario, and solving the problem of being unable to reasonably cool the server.

[0049] In an exemplary embodiment, the above step S206 can be implemented by the following steps S31-S35:

[0050] Step S31: Acquire target configuration information, wherein the target configuration information is used to indicate power consumption scenarios of the server corresponding to different startup parameters, and the startup parameters include the preset startup parameters;

[0051] Step S32: Based on the target configuration information, determine the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario;

[0052] It should be noted that different startup parameters correspond to different power consumption scenarios of the server. Figure 3 As shown, when multiple startup parameters (such as high performance computing, virtualization-high performance, online transaction processing, memory low latency-high performance) are checked, the power consumption scenario of the server is high performance mode.

[0053] Alternatively, if Figure 3 As shown, the power consumption scenarios include but are not limited to: low noise mode, energy saving mode, balanced mode, high performance mode, and custom mode. The custom mode is a power consumption mode configured by the user through the external interface of the BMC before using the system to meet the actual needs of the user. The BMC is not fixed to the power consumption scenario set by the system, which makes the heat dissipation method more flexible and fits the actual usage of the user.

[0054] Step S33: determining from the heat dissipation configuration file whether there is a custom heat dissipation strategy corresponding to the target power consumption scenario, wherein the custom heat dissipation strategy is a heat dissipation strategy obtained through the external interface of the BMC, and the heat dissipation configuration file is used to store heat dissipation strategies corresponding to different power consumption scenarios;

[0055] Step S34: when there is a custom cooling policy corresponding to the target power consumption scenario in the cooling configuration file, the custom cooling policy is determined as the target cooling policy; when there is no custom cooling policy corresponding to the target power consumption scenario in the cooling configuration file, the initial cooling policy corresponding to the target power consumption scenario in the cooling configuration file is determined as the target cooling policy, wherein the target cooling policy is used to indicate the cooling mode corresponding to the server at different temperatures under the target power consumption scenario, the temperature of the server includes the temperature of the components in the server, and the cooling mode includes the target cooling mode;

[0056] Optionally, the BMC preferentially confirms whether there is a custom cooling strategy set by the user in the cooling configuration file. If so, the custom cooling strategy is preferentially used to meet the user's usage requirements. If not, the cooling strategy corresponding to the target power consumption scenario is used as the target cooling strategy based on the corresponding relationship in the cooling configuration file.

[0057] Step S35: Based on the target heat dissipation strategy, determine the target heat dissipation mode of the server according to the target temperature information.

[0058] Optionally, the target cooling strategy includes: when the CPU temperature exceeds 70°C, the fan runs at full speed and the water cooling system is enabled; when the target component temperature reaches 30°C, the cooling method is the fan running at first gear; when the target component temperature reaches 60°C, the cooling method is the fan running at full speed and the water cooling system is turned on.

[0059] In this embodiment, through the above steps, the power consumption scenario of the server and the temperature information of the components are comprehensively considered when determining the heat dissipation method, so that the server can be cooled reasonably, avoiding insufficient heat dissipation of the server in high power consumption scenarios and excessive heat dissipation in low power consumption scenarios.

[0060] In an exemplary embodiment, the above step S206 can also be implemented by the following steps S41-S42:

[0061] Step S41: obtaining a first heat dissipation mode prediction model, wherein the first heat dissipation mode prediction model is used to determine the heat dissipation mode of the server according to the startup parameters of the BIOS during the startup process and the temperature information of the components in the server;

[0062] In an exemplary embodiment, the above step S41 can be implemented by the following steps S411-S412:

[0063] Step S411: obtaining a first training sample set, wherein each training sample in the first training sample set includes: sample startup parameters, sample temperature information of components in the server, and sample heat dissipation mode of the server;

[0064] Step S412: Use the first training sample set to train the general machine learning model until the value of the target loss function meets the preset first convergence condition, and end the training. Determine the general machine learning model at the end of the training as the first heat dissipation method prediction model, wherein, when the value of the target loss function does not meet the preset first convergence condition, the parameters in the general machine learning model are adjusted; wherein, the value of the target loss function is determined according to the sample heat dissipation method and the predicted heat dissipation method, and the predicted heat dissipation method is the heat dissipation method determined by the general machine learning model according to the sample startup parameters and the sample temperature information.

[0065] That is to say, in this embodiment, a first heat dissipation method prediction model can be trained through a machine learning algorithm, a large amount of historical power consumption and temperature data is collected, and a machine learning model is trained. The input of the first heat dissipation method prediction model is the startup parameters of the BIOS during the startup process and the temperature data of the components, and the output of the first heat dissipation method prediction model is the recommended heat dissipation method.

[0066] Optionally, general machine learning models include but are not limited to: decision trees, random forests, neural networks, etc.

[0067] In this embodiment, the first heat dissipation mode prediction model can be quickly obtained through the above method.

[0068] Step S42: inputting the preset startup parameters and the target temperature information into the first heat dissipation mode prediction model to obtain the target heat dissipation mode determined by the first heat dissipation mode prediction model.

[0069] In this embodiment, the first heat dissipation method prediction model can recommend a heat dissipation method based on real-time temperature data, thereby improving accuracy and flexibility.

[0070] In an exemplary embodiment, the above step S206 can also be implemented by the following steps S51-S53:

[0071] Step S51: determining the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario;

[0072] Step S52: obtaining a second heat dissipation mode prediction model, wherein the second heat dissipation mode prediction model is used to determine the heat dissipation mode of the server according to the power consumption scenario of the server and the temperature information of the components in the server;

[0073] That is to say, in this embodiment, the input of the second heat dissipation mode prediction model is the power consumption scenario of the server and the temperature information of the components in the server, and the output is the heat dissipation mode of the server.

[0074] Step S53: inputting the target power consumption scenario and the target temperature information into the second heat dissipation mode prediction model to obtain the target heat dissipation mode determined by the second heat dissipation mode prediction model.

[0075] In this embodiment, the second heat dissipation method prediction model can also recommend a heat dissipation method based on real-time temperature data, thereby improving accuracy and flexibility.

[0076] In an exemplary embodiment, after the above step S206, the method further includes the following steps S61-S62:

[0077] Step S61: sending a corresponding control instruction to each of the plurality of heat dissipation devices according to the target heat dissipation mode, so as to control each heat dissipation device to perform a corresponding heat dissipation operation;

[0078] Optionally, the BMC can convert the selected target cooling mode into specific control instructions through calculation, such as fan speed setting, water cooling system start and stop control, etc. The control instructions are sent to the corresponding cooling device through PWM signals, I2C, SPI or other interfaces.

[0079] Step S62: when the BMC monitors that the target temperature information of the components in the server changes, the target heat dissipation mode of the server is determined again according to the preset startup parameters and the changed temperature information.

[0080] Optionally, the BMC can continuously monitor the operating status of the server, collect real-time power consumption, temperature, and working status data of the cooling device, and fine-tune the current cooling method based on the real-time feedback data, such as adjusting the fan speed, changing the operating parameters of the water cooling system, etc., to ensure the best cooling effect and energy efficiency management.

[0081] Obviously, the above-described embodiments are only embodiments of a part of the present invention, rather than all embodiments. In order to better understand the above method, the above process is described below in conjunction with embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention. Optionally:

[0082] like Figure 3 As shown, the BMC may include the following modules:

[0083] 1. BIOS power consumption scenario identification module: During the server startup process, the power consumption scenario settings are read from the BIOS to identify the current power consumption scenario;

[0084] 2. Data acquisition module: monitors the power consumption and temperature data of each component of the server in real time, and stores these data in the data storage module for use by other processing units.

[0085] 3. Strategy selection module: According to the power consumption scenario, the most suitable cooling strategy for the current power consumption scenario is selected from the preset cooling strategy library. The strategy library supports customer customization on demand (i.e., custom mode), and then determines the cooling method based on the selected cooling strategy and the monitored temperature data. It should be noted that machine learning and self-learning mechanisms can also be introduced to enable the BMC system to continuously optimize the strategy selection module and improve the intelligence level and adaptive ability of the system.

[0086] 4. Cooling strategy execution module: The module calculates the optimal output value of the selected cooling method through real-time data and cooling control algorithm, converts it into specific control instructions, and sends it to cooling devices such as fans and water cooling systems to dynamically adjust their working status.

[0087] 5. Feedback adjustment module: Continuously monitor the operating status of the server and fine-tune the cooling strategy based on real-time feedback data to ensure optimal cooling effect and energy efficiency management.

[0088] like Figure 4 As shown, an optional specific process of the embodiment of the present invention is as follows:

[0089] 1. The BMC main process is started, and the power consumption scenario recognition thread, data collection thread, strategy matching thread, heat dissipation control thread, exception handling thread, and data self-learning thread are established successively.

[0090] 2. When the server starts, the BIOS will initialize the hardware configuration and set it according to the preset power consumption scenarios (such as high-performance mode, balanced mode, and energy-saving mode). These settings are stored in the BIOS configuration register. The BMC power consumption scenario identification thread reads the power consumption scenario settings in the BIOS configuration register through SMBus, I2C, or direct memory access (DMA), converts it into a power consumption scenario identifier that the system can recognize, and saves the identification information to the data storage module for the policy selection module to read.

[0091] 3. The data collection thread is an independent processing unit, which is mainly responsible for collecting the temperature or power consumption sensor value of the server motherboard, as well as the temperature and power consumption reading of the core components. The data collection cycle is polled, and the collection frequency is set according to actual needs, such as once per second or higher, and saved to the data storage module;

[0092] 4. The strategy selection thread reads the power consumption scenario and the real-time power consumption and temperature data collected from the data storage module, and selects the most suitable strategy for the current scenario from the preset cooling strategy library. The strategy selection logic can be based on rule-based algorithms or machine learning algorithms. Rule-based algorithm: Set thresholds and cooling strategies corresponding to different power consumption scenarios. For example, in high-performance mode, when the CPU temperature exceeds 70°C, the fan runs at full speed and the water cooling system is enabled. Machine learning algorithm: Collect a large amount of historical power consumption and temperature data, train machine learning models (such as decision trees, random forests, neural networks, etc.), the input of the model is the current power consumption and temperature data, and the output is the recommended cooling strategy. The model can make predictions and strategy recommendations based on real-time data to improve the accuracy and flexibility of strategy selection.

[0093] 5. The heat dissipation control thread converts the selected heat dissipation strategy into specific control instructions through calculation, such as fan speed setting, water cooling system start and stop control, etc. The control instructions are sent to the corresponding heat dissipation device through PWM signals, I2C, SPI or other interfaces.

[0094] 6. Continuously monitor the operating status of the server and collect real-time power consumption, temperature, and working status data of the cooling equipment. Fine-tune the current cooling strategy based on real-time feedback data, such as adjusting the fan speed, changing the operating parameters of the water cooling system, etc., to ensure the best cooling effect and energy efficiency management. Feedback adjustment can work in conjunction with the strategy selection module to continuously optimize the strategy selection algorithm based on feedback data.

[0095] It should be noted that the present application effectively solves the problem that traditional fixed cooling strategies are difficult to adapt to dynamic power consumption scenarios, thereby improving the energy efficiency and reliability of servers; through the implementation of the present invention, various types of data centers, cloud computing platforms, high-performance computing systems, and edge computing devices can achieve efficient, energy-saving, and reliable operation, and promote the development of information technology infrastructure towards intelligence, greening, and sustainability.

[0096] It should be noted that the technical solution of the present application has the following advantages: (1) Energy efficiency improvement: By dynamically adjusting the heat dissipation strategy, the energy efficiency of the server can be effectively improved, energy consumption and carbon emissions can be reduced, which is in line with the development trend of green energy use and has significant environmental protection significance; (2) Intelligent management: By adopting the method of automatically identifying power consumption scenarios and dynamically adjusting the heat dissipation strategy, intelligent heat dissipation management is realized, so that the server can make adaptive adjustments according to actual load and environmental changes, thereby improving the intelligent level of management; (3) High performance guarantee: It can ensure the high performance operation of the server under high load and complex environment, avoid performance degradation and hardware damage caused by overheating, and ensure the stability and reliability of the system; (4) Cost saving: By extending the hardware life, reducing maintenance costs and improving energy efficiency, it can help enterprises reduce overall operating costs and enhance competitiveness; (5) Strong adaptability: It is suitable for various types of servers and data center environments, has good versatility and adaptability, and can meet the needs of different users; (6) Easy to integrate: The BMC module of the present application can be integrated into the existing server system without significantly changing the hardware structure, and has strong compatibility.

[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0098] In this embodiment, a device for determining a heat dissipation mode is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the modules described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0099] Figure 5 : is a structural block diagram of a device for determining a heat dissipation method according to an embodiment of the present application, the device comprising:

[0100] A first determining module 52 is used to determine preset startup parameters of a basic input and output system BIOS of a server during startup through a baseboard management controller BMC, wherein the preset startup parameters are associated with the running power consumption of the server;

[0101] A second determination module 54 is used to determine target temperature information of components in the server through the BMC;

[0102] The third determination module 56 is configured to determine a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0103] The above device determines the preset startup parameters of the server's BIOS during the startup process and the target temperature information of the components in the server through the BMC, and then determines the heat dissipation method of the server according to the preset startup parameters and the target temperature information obtained. Since the operating power consumption of the server and the temperature information of the components are comprehensively considered when determining the heat dissipation method, the server can be reasonably cooled, avoiding insufficient heat dissipation of the server in a high power consumption scenario and excessive heat dissipation in a low power consumption scenario, and solving the problem of being unable to reasonably cool the server.

[0104] In an exemplary embodiment, the first determination module 52 is used to obtain the preset startup parameters from the configuration register of the BIOS using the system management bus or the interconnect integrated circuit I2C bus through the BMC; or to access the BIOS configuration register using direct memory access DMA through the BMC to obtain the preset startup parameters.

[0105] In an exemplary embodiment, the third determination module 56 is used to obtain target configuration information, wherein the target configuration information is used to indicate the power consumption scenarios of the server corresponding to different startup parameters, and the startup parameters include the preset startup parameters; based on the target configuration information, the power consumption scenario of the server is determined according to the preset startup parameters to obtain a target power consumption scenario; from the heat dissipation configuration file, it is determined whether there is a custom heat dissipation policy corresponding to the target power consumption scenario, wherein the custom heat dissipation policy is a heat dissipation policy obtained through the external interface of the BMC, and the heat dissipation configuration file is used to store heat dissipation policies corresponding to different power consumption scenarios; if there is a custom heat dissipation policy corresponding to the target power consumption scenario in the heat dissipation configuration file, the custom heat dissipation policy is determined as the target heat dissipation policy; if there is no custom heat dissipation policy corresponding to the target power consumption scenario in the heat dissipation configuration file, the initial heat dissipation policy corresponding to the target power consumption scenario in the heat dissipation configuration file is determined as the target heat dissipation policy, wherein the target heat dissipation policy is used to indicate the heat dissipation mode corresponding to the server at different temperatures under the target power consumption scenario, the temperature of the server includes the temperature of the components in the server, and the heat dissipation mode includes the target heat dissipation mode; based on the target heat dissipation policy, the target heat dissipation mode of the server is determined according to the target temperature information.

[0106] In an exemplary embodiment, the third determination module 56 is also used to obtain a first heat dissipation method prediction model, wherein the first heat dissipation method prediction model is used to determine the heat dissipation method of the server according to the startup parameters of the BIOS during the startup process and the temperature information of the components in the server; the preset startup parameters and the target temperature information are input into the first heat dissipation method prediction model to obtain the target heat dissipation method determined by the first heat dissipation method prediction model.

[0107] In an exemplary embodiment, the third determination module 56 includes: an acquisition unit for acquiring a first training sample set, wherein each training sample in the first training sample set includes: sample startup parameters, sample temperature information of components in the server, and sample heat dissipation method of the server; a training unit for training a general machine learning model using the first training sample set until the value of the target loss function meets a preset first convergence condition, and then terminating the training, and determining the general machine learning model at the end of the training as a first heat dissipation method prediction model, wherein, when the value of the target loss function does not meet the preset first convergence condition, the parameters in the general machine learning model are adjusted; wherein, the value of the target loss function is determined according to the sample heat dissipation method and the predicted heat dissipation method, and the predicted heat dissipation method is the heat dissipation method determined by the general machine learning model according to the sample startup parameters and the sample temperature information.

[0108] In an exemplary embodiment, the third determination module 56 is further used to determine the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario; obtain a second heat dissipation method prediction model, wherein the second heat dissipation method prediction model is used to determine the heat dissipation method of the server according to the power consumption scenario of the server and the temperature information of the components in the server; input the target power consumption scenario and the target temperature information into the second heat dissipation method prediction model to obtain the target heat dissipation method determined by the second heat dissipation method prediction model.

[0109] In an exemplary embodiment, the above-mentioned device also includes: a control module, which is used to send a corresponding control instruction to each of the multiple cooling devices according to the target cooling mode after determining the target cooling mode of the server according to the preset startup parameters and the target temperature information, so as to control each cooling device to perform a corresponding cooling operation; when the target temperature information of the component in the server is monitored to change through the BMC, the target cooling mode of the server is determined again according to the preset startup parameters and the changed temperature information.

[0110] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0111] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0112] Optionally, in this embodiment, the computer program may be configured to perform the following steps by means of the computer program:

[0113] S1, determining, through a baseboard management controller BMC, a preset startup parameter of a basic input / output system BIOS of a server during startup, wherein the preset startup parameter is associated with an operating power consumption of the server; and

[0114] S2, determining target temperature information of components in the server through the BMC;

[0115] S3, determining a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0116] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0117] The embodiment of the present application also provides an electronic device, such as Figure 6 As shown, the electronic device includes a memory 602 and a processor 604. The memory 602 stores a computer program, and the processor 604 is configured to execute the steps in any of the above method embodiments through the computer program.

[0118] Optionally, in this embodiment, the processor 604 may be configured to perform the following steps through a computer program:

[0119] S1, determining preset startup parameters of a basic input and output system BIOS of a server during startup through a baseboard management controller BMC, wherein the preset startup parameters are associated with the operating power consumption of the server; and S2, determining target temperature information of components in the server through the BMC;

[0120] S3, determining a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

[0121] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0122] Alternatively, a person skilled in the art may understand that: Figure 6 The structure shown is for illustration only. Figure 6 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 6 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 6 Different configurations shown.

[0123] Among them, the memory 602 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method for determining the heat dissipation method and the device for determining the heat dissipation method in the embodiment of the present application. The processor 604 executes various functional applications and data processing by running the software programs and modules stored in the memory 602, that is, realizing the above-mentioned method for determining the heat dissipation method. The memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 602 may further include a memory remotely arranged relative to the processor 604, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 602 can be specifically, but not limited to, used to store information such as system configuration files. As an example, such as Figure 6 As shown, the memory 602 may include, but is not limited to, the first determination module 52, the second determination module 54, and the second determination module 56 in the heat dissipation determination device. In addition, other module units in the heat dissipation determination device may also be included but are not limited to, which will not be described in detail in this example.

[0124] Optionally, the transmission device 606 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 606 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 606 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0125] In addition, the electronic device mentioned above further includes: a display 608; and a connection bus 610, which is used to connect various module components in the electronic device mentioned above.

[0126] In other embodiments, the electronic device may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, the nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0127] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0128] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0129] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.

[0130] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0131] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining a heat dissipation method, It is characterized in that include: Determining, by means of a baseboard management controller BMC, a preset startup parameter of a basic input / output system BIOS of a server during startup, wherein the preset startup parameter is associated with the operating power consumption of the server; and Determining target temperature information of components in the server through the BMC; A target heat dissipation mode of the server is determined according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

2. The method according to claim 1, It is characterized in that The method of determining the preset startup parameters of the basic input and output system BIOS of the server during the startup process by using the baseboard management controller BMC includes: Obtaining the preset startup parameters from the configuration register of the BIOS by the BMC using a system management bus or an interconnect integrated circuit I2C bus; or The BIOS configuration register is accessed by the BMC using a direct memory access (DMA) mode to obtain the preset startup parameters.

3. The method according to claim 1, It is characterized in that The determining the target heat dissipation mode of the server according to the preset startup parameter and the target temperature information includes: Acquire target configuration information, wherein the target configuration information is used to indicate power consumption scenarios of the server corresponding to different startup parameters, and the startup parameters include the preset startup parameters; Based on the target configuration information, determining the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario; Determine from the heat dissipation configuration file whether there is a custom heat dissipation strategy corresponding to the target power consumption scenario, wherein the custom heat dissipation strategy is a heat dissipation strategy obtained through the external interface of the BMC, and the heat dissipation configuration file is used to store heat dissipation strategies corresponding to different power consumption scenarios; In the case where a custom cooling policy corresponding to the target power consumption scenario exists in the cooling configuration file, the custom cooling policy is determined as the target cooling policy; in the case where a custom cooling policy corresponding to the target power consumption scenario does not exist in the cooling configuration file, an initial cooling policy corresponding to the target power consumption scenario in the cooling configuration file is determined as the target cooling policy, wherein the target cooling policy is used to indicate the cooling mode corresponding to the server at different temperatures under the target power consumption scenario, the temperature of the server includes the temperature of the components in the server, and the cooling mode includes the target cooling mode; Based on the target heat dissipation strategy, a target heat dissipation mode of the server is determined according to the target temperature information.

4. The method according to claim 1, It is characterized in that The determining the target heat dissipation mode of the server according to the preset startup parameter and the target temperature information includes: Acquire a first heat dissipation mode prediction model, wherein the first heat dissipation mode prediction model is used to determine the heat dissipation mode of the server according to the startup parameters of the BIOS during the startup process and the temperature information of the components in the server; The preset startup parameters and the target temperature information are input into the first heat dissipation mode prediction model to obtain the target heat dissipation mode determined by the first heat dissipation mode prediction model.

5. The method according to claim 4, It is characterized in that The obtaining of the first heat dissipation mode prediction model comprises: Acquire a first training sample set, wherein each training sample in the first training sample set includes: sample startup parameters, sample temperature information of components in the server, and sample heat dissipation mode of the server; Using the first training sample set to train the general machine learning model until the value of the target loss function meets the preset first convergence condition, ending the training, and determining the general machine learning model at the end of the training as the first heat dissipation method prediction model, wherein, when the value of the target loss function does not meet the preset first convergence condition, the parameters in the general machine learning model are adjusted; Among them, the value of the objective loss function is determined according to the sample heat dissipation method and the predicted heat dissipation method, and the predicted heat dissipation method is the heat dissipation method determined by the general machine learning model according to the sample startup parameters and the sample temperature information.

6. The method according to claim 1, It is characterized in that The determining the target heat dissipation mode of the server according to the preset startup parameter and the target temperature information includes: Determine the power consumption scenario of the server according to the preset startup parameters to obtain a target power consumption scenario; Acquire a second heat dissipation mode prediction model, wherein the second heat dissipation mode prediction model is used to determine the heat dissipation mode of the server according to the power consumption scenario of the server and temperature information of components in the server; The target power consumption scenario and the target temperature information are input into the second heat dissipation mode prediction model to obtain the target heat dissipation mode determined by the second heat dissipation mode prediction model.

7. The method according to claim 1, It is characterized in that After determining the target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, the method further includes: Sending a corresponding control instruction to each of the plurality of heat dissipation devices according to the target heat dissipation mode, so as to control each heat dissipation device to perform a corresponding heat dissipation operation; When the BMC monitors that the target temperature information of the components in the server changes, the target heat dissipation mode of the server is determined again according to the preset startup parameters and the changed temperature information.

8. A device for determining a heat dissipation method, It is characterized in that include: A first determination module is used to determine preset startup parameters of a basic input and output system BIOS of a server during startup through a baseboard management controller BMC, wherein the preset startup parameters are associated with the operating power consumption of the server; and to determine target temperature information of components in the server through the BMC; The second determination module is used to determine a target heat dissipation mode of the server according to the preset startup parameters and the target temperature information, wherein the target heat dissipation mode includes operations to be performed by multiple heat dissipation devices of the server.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • A visual dynamic control method for tablet computer based on heat dissipation balance

    CN119781593A

  • A visual dynamic control method for tablet computer based on heat dissipation balance

    CN119781593B

  • Fan rotating speed regulation and control system, method and equipment, medium and product

    CN119878575A

  • A fan speed regulation system, method, device, medium and product

    CN119878575B

  • Liquid cooling flow adjusting method and device and storage medium

    CN120406698A