Heat dissipation method, electronic device, storage medium and program product

By obtaining server identification and parameters in the baseboard management controller and using the policy library to match the cooling strategy, the problem of poor cooling effect of different servers is solved, and efficient cooling and resource conservation of the server are achieved.

CN120315562BActive Publication Date: 2025-09-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510782686.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-09-12
Estimated Expiration
2045-06-12

AI Technical Summary

Technical Problem

In the prior art, due to the structural differences between different servers, the heat dissipation effect is poor and it is impossible to effectively perform precise adjustments based on the specific conditions of the servers.

Method used

By obtaining the server's identification and parameters in the baseboard management controller and utilizing multiple cooling strategies and device information stored in the strategy library, the most suitable cooling strategy is matched and executed, including identification matching and parameter similarity matching, to ensure precise control of the cooling device.

Benefits of technology

It improves the heat dissipation efficiency of the server, saves equipment resources, and ensures the accuracy and efficiency of the heat dissipation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120315562B_ABST
    Figure CN120315562B_ABST
Patent Text Reader

Abstract

The present application discloses a heat dissipation method, electronic device, storage medium and program product, which relate to the field of heat dissipation technology, including when it is necessary to dissipate heat for a server, first obtaining the server's identifier and server parameters in a baseboard management controller, and then matching in a policy library based on the server's identifier to determine a first matching result of a heat dissipation strategy, wherein the policy library includes multiple device identifiers and multiple heat dissipation strategies corresponding to the multiple device identifiers, and determining a first heat dissipation strategy for the server in the policy library based on the first matching result and the server's parameters, and cooling the server according to the first heat dissipation strategy. Through the above method, matching can be first performed in the policy library based on the server's identifier, and then determining the server's heat dissipation strategy in the policy library based on the matching result and the server's actual parameters, thereby improving the heat dissipation effect of the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of heat dissipation technology, and in particular to a heat dissipation method, electronic equipment, storage medium, and program product. Background Art

[0002] During the operation of the server, the server temperature may be too high due to problems such as excessive load. The server needs to be cooled in time to ensure the normal operation of the server.

[0003] In related technologies, when a server's temperature is too high, an electronic device can obtain the server's current temperature and, based on a temperature-speed mapping table, determine and adjust the fan speed accordingly, thereby dissipating heat from the server. However, this method varies in heat dissipation efficiency between servers, and the electronic device can only control the fan based on a fixed temperature-speed mapping table, resulting in poor heat dissipation. Summary of the Invention

[0004] The present application provides a heat dissipation method, electronic equipment, storage medium and program product to at least solve the problem of poor heat dissipation effect of a server.

[0005] The present application provides a heat dissipation method, comprising:

[0006] Acquire, in a baseboard management controller, an identifier of a first device and parameters of the first device, wherein the first device parameters are associated with a heat dissipation device of the first device;

[0007] Determine, according to the identifier of the first device, a first matching result of the heat dissipation policy in a policy library, where the policy library includes multiple heat dissipation policies and information of the second device corresponding to each heat dissipation policy;

[0008] A first heat dissipation strategy is determined in a strategy library according to the first matching result and the parameters of the first device, and a heat dissipation device of the first device is controlled according to the first heat dissipation strategy.

[0009] The present application also provides a heat dissipation device, comprising: an acquisition module, a first determination module, and a second determination module, wherein:

[0010] The acquisition module is used to acquire, in the baseboard management controller, an identifier of the first device and parameters of the first device, where the first device parameters are associated with a heat dissipation device of the first device;

[0011] The first determining module is configured to determine, based on the identifier of the first device, a first matching result of the heat dissipation policy in a policy library, where the policy library includes multiple heat dissipation policies and information of the second device corresponding to each heat dissipation policy;

[0012] The second determining module is configured to determine a first heat dissipation strategy in a strategy library according to the first matching result and parameters of the first device, and control a heat dissipation device of the first device according to the first heat dissipation strategy.

[0013] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned heat dissipation methods when executing the computer program.

[0014] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned heat dissipation methods are implemented.

[0015] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned heat dissipation methods when executed by a processor.

[0016] Through the present application, when it is necessary to cool the server, the electronic device can obtain the identification of the first device and the parameters of the first device in the baseboard management controller, wherein the parameters of the first device are associated with the heat dissipation device of the first device. The electronic device can determine the first matching result of the heat dissipation strategy in the policy library based on the identification of the first device, and determine the first heat dissipation strategy in the policy library based on the first matching result and the parameters of the first device. The electronic device can control the heat dissipation device of the first device according to the first heat dissipation strategy. In the above method, since the policy library can include multiple heat dissipation strategies and information of the second device corresponding to each heat dissipation strategy, in other words, the policy library can include multiple heat dissipation strategies that match each device type. Therefore, the electronic device can accurately determine the first heat dissipation strategy that matches the first device in the policy library based on the identification of the first device and the device parameters of the first device, thereby improving the control accuracy of the heat dissipation device, improving the efficiency of heat dissipation, and saving equipment resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 A schematic diagram of the system architecture provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a heat dissipation method according to an embodiment of the present invention;

[0020] Figure 3A schematic diagram of a determination process according to a first heat dissipation strategy provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of a process for updating a first heat dissipation strategy provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of the structure of the heat dissipation device provided in an embodiment of the present application;

[0023] Figure 6 A schematic structural diagram of another heat dissipation device provided in an embodiment of the present application;

[0024] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0025] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0026] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0027] First, let’s explain the terms involved in this application:

[0028] Baseboard management and control devices (BMCs): BMCs are embedded controllers commonly found in servers and other enterprise-class hardware, providing remote management and monitoring capabilities. BMCs operate independently of the main operating system, allowing them to maintain management operations even if the operating system crashes or the server is shut down. BMCs are a crucial component of modern data centers and enterprise-class servers. They can be used for remote power control, hardware monitoring, remote console access, firmware updates, and remote management.

[0029] In related technologies, when a server's temperature is too high, a temperature-speed mapping table can be used to obtain the server's current temperature and adjust the fan speed accordingly, thereby cooling the server. However, due to the differences in server configurations, such as the number of fans and air duct designs, the effectiveness of adjusting the fan speed according to the mapping table may vary, resulting in poor cooling performance.

[0030] In response to the above-mentioned problem, in an embodiment of the present application, when it is necessary to cool the server, the server identifier and the server parameters (for example, the number of fans, the number of central processing units, the air duct structure, etc.) can be obtained in the baseboard management controller. According to the server identifier, a match is performed in the policy library to determine the first matching result of the cooling strategy, wherein the policy library includes multiple cooling strategies and information about the devices corresponding to each cooling strategy. If the first matching result is that there is a cooling strategy that matches the server in the policy library, the cooling strategy that matches the server is determined as the first cooling strategy. If the first matching result is that there is no cooling strategy that matches the server in the policy library, the first cooling strategy is determined in the policy library according to the server parameters, and the server is cooled according to the first cooling strategy. Through the above method, a match can be first performed in the policy library according to the server identifier, and the cooling strategy of the server can be determined in the policy library according to the matching result and the actual parameters of the server, thereby improving the cooling effect of the server.

[0031] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0032] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the heat dissipation method depends, the specific application environment architecture or specific hardware architecture is described herein. Figure 1 , Figure 1 This is a schematic diagram of the system architecture provided by the embodiment of this application. Figure 1 , including electronic devices, which may be equipped with a baseboard management control device 101 and a heat dissipation device 102. The electronic device can be any device with on-device computing capabilities, such as a server or terminal device. The baseboard management control device 101 can obtain the current temperature of the electronic device. When the temperature exceeds a preset threshold, it receives an instruction from the electronic device to control the heat dissipation device 102 to dissipate heat for the electronic device.

[0033] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0034] Figure 2 A schematic diagram of a heat dissipation method according to an embodiment of the present invention is shown in FIG. Figure 2 As shown, an embodiment of the present application provides a heat dissipation method, which is described in detail as follows:

[0035] S201: Obtain an identifier of a first device and parameters of the first device in a baseboard management controller.

[0036] The execution subject of the embodiment of the present application can be an electronic device, or a heat dissipation device provided in the electronic device. The heat dissipation device can be implemented by software, or by a combination of software and hardware.

[0037] A baseboard management controller (BMC) can be installed in an electronic device to monitor and manage the electronic device. For example, the BMC can obtain information about various hardware components in the electronic device.

[0038] The first device may refer to an electronic device that requires heat dissipation processing, and the first device may be a server.

[0039] The baseboard management controller can obtain the identifier of the first device and the parameters of the first device.

[0040] The identifier of the first device may refer to a device model of the first device, and the identifier of the first device may be determined by a manufacturer of the first device.

[0041] The parameters of the first device are associated with the heat dissipation device of the first device. The parameters of the first device may include the number of central processing units (CPUs), the number of graphics processing units (GPUs), the number of memory channels, the number of fans, the air duct type, the maximum fan speed, the minimum fan speed, the safe temperature threshold, the power consumption range, etc. Overloading of the CPU and GPU may cause the temperature of the first device to rise, which is associated with the heat dissipation device of the first device.

[0042] Exemplarily, the parameters of the first device may be: 4 central processing units (CPUs), 2 graphics processing units (GPUs), 2 memory channels, 4 fans, and a horizontal air duct.

[0043] S202: Determine a first matching result of a heat dissipation policy in a policy library according to the identifier of the first device.

[0044] The policy library may include multiple heat dissipation policies and information about the second device corresponding to each heat dissipation policy.

[0045] The second device may indicate the device type for which the heat dissipation policy has been determined. For example, the electronic device may predetermine heat dissipation policies for multiple types of servers and determine the multiple types of servers as the second device. For example, if the electronic device determines a heat dissipation policy for type 1 servers and a heat dissipation policy for type 2 servers, the electronic device may determine the type 1 servers and the type 2 servers as the second devices and store the heat dissipation policies for the type 1 servers and the type 2 servers in the policy library.

[0046] The information of the second device may include an identifier of the second device and parameters of the second device. That is, the policy library includes identifiers of multiple second devices, parameters of multiple second devices corresponding to the identifiers of the multiple second devices, and heat dissipation policies corresponding to the identifiers of the multiple second devices.

[0047] Illustratively, the policy library may be as shown in Table 1. Please refer to Table 1.

[0048] Table 1

[0049]

[0050] As shown in Table 1, when the identifier of the second device is identifier A, the corresponding parameters of the second device are 2 CPUs, 4 fans, and horizontal air ducts, and the corresponding cooling strategy is cooling strategy 1; when the identifier of the second device is identifier B, the corresponding parameters of the second device are 2 CPUs, 4 fans, and side-inlet and side-outlet air ducts, and the corresponding cooling strategy is cooling strategy 2; when the identifier of the second device is identifier C, the corresponding parameters of the second device are 4 CPUs, 6 fans, and front-to-rear outlet air ducts, and the corresponding cooling strategy is cooling strategy 3; when the identifier of the second device is identifier D, the corresponding parameters of the second device are 4 CPUs, 4 fans, and rear-inlet and front-outlet air ducts, and the corresponding cooling strategy is cooling strategy.

[0051] The heat dissipation strategy may refer to the relationship between the temperature and rotational speed of the first device. That is, after determining the current temperature of the first device, the rotational speed corresponding to the current temperature may be queried in the heat dissipation strategy according to the heat dissipation strategy. The rotational speed may refer to the rotational speed of the fan of the heat dissipation device. The temperature of the first device may refer to the temperature detected by the temperature sensor at the air inlet of the first device, and the fan rotational speed may refer to the rotational speed of the fan corresponding to the heat dissipation device of the first device. By adjusting the fan rotational speed, the heat dissipation of the first device may be controlled. For example, when the fan rotational speed is higher, the heat dissipation effect on the first device is better, and when the fan rotational speed is lower, the heat dissipation effect on the first device is worse.

[0052] Illustratively, any heat dissipation strategy may be as shown in Table 2. Please refer to Table 2.

[0053] Table 2

[0054]

[0055] Assuming that the heat dissipation strategy of the first device is as shown in Table 2, when the temperature of the first device is within 0°C-30°C, the fan speed of the first device is controlled to be adjusted to 1500RPM; when the temperature of the first device is within 30°C-40°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; when the temperature of the first device is within 40°C-50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; when the temperature of the first device is within 50°C-60°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; when the temperature of the first device is greater than 60°C, the fan speed of the first device is controlled to be adjusted to 6000RPM.

[0056] The first matching result of the heat dissipation strategy can be determined in the following manner: obtain the identifier of the first device, search in the policy library to see whether there is an identifier of the second device that is the same as the identifier of the first device; if so, determine that the first matching result is that there is a heat dissipation strategy that matches the first device; if not, determine that the first matching result is that there is no heat dissipation strategy that matches the first device.

[0057] For example, assuming that the policy library includes identifier 1, identifier 2, and identifier 3, if the identifier of the first device is identifier 2, it can be considered that there is an identifier of a second device in the policy library that is the same as the identifier of the first device, and the electronic device can determine that the first matching result is that there is a heat dissipation strategy that matches the first device; if the identifier of the first device is identifier 4, it can be considered that there is no identifier of a second device in the policy library that is the same as the identifier of the first device, and the electronic device can determine that the first matching result is that there is no heat dissipation strategy that matches the first device.

[0058] S203: Determine a first heat dissipation strategy in a strategy library according to the first matching result and the parameters of the first device, and control a heat dissipation device of the first device according to the first heat dissipation strategy.

[0059] The first heat dissipation strategy may be a heat dissipation strategy determined in a strategy library. For example, the first heat dissipation strategy may be: when the temperature of the first device is within the range of 0°C-30°C, the fan speed of the first device is controlled to be adjusted to 1500RPM; when the temperature of the first device is within the range of 30°C-40°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; when the temperature of the first device is within the range of 40°C-50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; when the temperature of the first device is within the range of 50°C-60°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; and when the temperature of the first device is greater than 60°C, the fan speed of the first device is controlled to be adjusted to 6000RPM.

[0060] The heat dissipation device may refer to a fan of the first device. The electronic device may send a first heat dissipation strategy to the baseboard management controller, and the baseboard management controller may control the heat dissipation device to dissipate heat according to the first heat dissipation strategy.

[0061] The first heat dissipation strategy can be determined in the following manner: when the first matching result is that there is a heat dissipation strategy matching the first device in the policy library, the heat dissipation strategy matching the first device is determined as the first heat dissipation strategy; when the first matching result is that there is no heat dissipation strategy matching the first device in the policy library, the first heat dissipation strategy is determined in the policy library based on the parameters of the first device.

[0062] For example, assuming that the policy library includes identifier 1, identifier 2, and identifier 3, if the identifier of the first device is identifier 1, it can be considered that there is an identifier of a second device that is the same as the identifier of the first device in the policy library, and the first matching result is determined to be that there is a heat dissipation strategy that matches the first device. Then, the second device 1 corresponding to identifier 1 can be determined, and the heat dissipation strategy corresponding to the second device 1 is determined to be the first heat dissipation strategy; if the identifier of the first device is identifier 4, it can be considered that there is no identifier of the second device that is the same as the identifier of the first device in the policy library, and the first matching result is determined to be that there is no heat dissipation strategy that matches the first device. Matching is performed in the policy library according to the parameters of the first device, thereby determining the first heat dissipation strategy in the policy library.

[0063] The heat dissipation device of the first device can be controlled in the following manner: obtain the current temperature of the first device, determine the first sub-strategy corresponding to the current temperature in the first heat dissipation strategy based on the current temperature, and control the heat dissipation device of the first device according to the first sub-strategy.

[0064] For example, assuming the current temperature of the first device is 35°C, and the first heat dissipation strategy can be: when the temperature of the first device is between 0°C and 30°C, the fan speed of the first device is controlled to be adjusted to 1500RPM; when the temperature of the first device is between 30°C and 40°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; when the temperature of the first device is between 40°C and 50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; when the temperature of the first device is between 50°C and 60°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; when the temperature of the first device is greater than 60°C, the fan speed of the first device is controlled to be adjusted to 6000RPM. Based on the current temperature, the first sub-strategy can be determined as: controlling the fan speed of the first device to be adjusted to 2000RPM, and then the fan speed of the heat dissipation device of the first device can be controlled to be adjusted to 2000RPM.

[0065] The heat dissipation device of the first device can also be controlled in the following manner: obtaining multiple historical data for a first preset time period, the historical data can include the air outlet temperature, air inlet temperature, fan speed, and power consumption corresponding to multiple historical moments, and constructing a prediction model based on the multiple historical data, which can be a long short-term memory network model; obtaining multiple historical data for a second preset time period, inputting the multiple historical data for the second preset time period into the prediction model, obtaining a predicted temperature output by the prediction model, and determining a first sub-strategy corresponding to the predicted temperature in the first heat dissipation strategy based on the predicted temperature, and controlling the heat dissipation device of the first device according to the first sub-strategy. The duration of the first preset time period is greater than the duration of the second preset time period. For example, the duration of the first preset time period can be 30 minutes, and the duration of the second preset time period can be 30 seconds.

[0066] For example, assuming the first preset time period is 30 minutes and the second preset time period is 30 seconds, a prediction model can be constructed based on multiple historical data from the 30 minutes prior to the current moment (the first preset time period). Multiple historical data from the 30 seconds prior to the current moment (the second preset time period) can then be input into the prediction model to obtain the predicted temperature for the current moment. Assuming the predicted temperature for the current moment is 45°C, based on the predicted temperature, the first sub-strategy corresponding to the predicted temperature is determined within the first cooling strategy as follows: If the temperature of the first device is between 40°C and 50°C, then the fan speed of the first device is controlled to be adjusted to 3000 RPM. The fan speed of the first device's cooling device can then be controlled to be adjusted to 3000 RPM. When controlling the fan speed of the first device's cooling device to any temperature, the speed can be adjusted according to a preset adjustment accuracy. For example, if the current fan speed is 1000 RPM and the target speed is 1500 RPM, assuming a preset adjustment accuracy of 1%, the adjustment step size is 1 RPM each time until the current fan speed is adjusted to the target speed.

[0067] In an embodiment of the present application, when it is necessary to dissipate heat for the first device, the identification of the first device and the parameters of the first device are obtained in the baseboard management controller. The parameters of the first device are associated with the heat dissipation device of the first device. The parameters of the first device may include the number of central processing units, the number of graphics processing units, the number of memory channels, the number of fans, the type of air duct, etc. of the first device; based on the identification of the first device, a first matching result of the heat dissipation strategy is determined in the policy library, wherein the policy library may include multiple heat dissipation strategies and information of the second device corresponding to each heat dissipation strategy, and the first matching result may include the existence of a heat dissipation strategy that matches the first device and the absence of a heat dissipation strategy that matches the first device; based on the first matching result and the parameters of the first device, a first heat dissipation strategy is determined in the policy library, and the heat dissipation device of the first device is controlled according to the first heat dissipation strategy. According to the above method, a match can be first performed in the policy library according to the identification of the server, and the heat dissipation strategy of the server can be determined in the policy library according to the matching result and the actual parameters of the server, thereby improving the heat dissipation effect of the server.

[0068] Based on any of the above embodiments, Figure 3 , the process of determining the first heat dissipation strategy is described in detail.

[0069] Figure 3 This is a schematic diagram of the determination process according to the first heat dissipation strategy provided in the embodiment of the present application. Figure 3 , the method may include:

[0070] S301: Determine an identifier of each second device according to information of the second device corresponding to each heat dissipation policy in a policy library.

[0071] The policy library includes information of multiple second devices, and the information of the second devices includes an identifier of the second device and parameters of the second device.

[0072] For example, assuming that the policy library is as shown in Table 1, referring to Table 1, it can be determined that the current policy library includes multiple identifiers of second devices, including identifier A, identifier B, identifier C and identifier D, and the heat dissipation strategy corresponding to identifier A is heat dissipation strategy 1, the heat dissipation strategy corresponding to identifier B is heat dissipation strategy 2, the heat dissipation strategy corresponding to identifier C is heat dissipation strategy 3, and the heat dissipation strategy corresponding to identifier D is heat dissipation strategy 4.

[0073] S302: Determine whether there is an identifier identical to the identifier of the first device among the identifiers of the multiple second devices.

[0074] If so, execute S303.

[0075] If not, execute S305.

[0076] S303: Determine the first matching result as a heat dissipation policy that matches the first device in the policy library.

[0077] S304: Determine the heat dissipation strategy that matches the first device as the first heat dissipation strategy.

[0078] For example, assuming that the policy library is as shown in Table 1, please refer to Table 1. If the identifier of the first device is B, it can be determined that there is an identifier that is the same as the identifier of the first device among the identifiers of multiple second devices, that is, the heat dissipation strategy 2 corresponding to the identifier B of the second device can be determined as the first heat dissipation strategy.

[0079] S305: Determine the first matching result as no heat dissipation policy matching the first device exists in the policy library.

[0080] Exemplarily, assuming that the policy library is as shown in Table 1, referring to Table 1, if the identifier of the first device is E, it can be determined that there is no identifier identical to the identifier of the first device among the identifiers of the plurality of second devices.

[0081] S306: Determine parameters of each second device according to information of the second device corresponding to each heat dissipation strategy in the strategy library.

[0082] The information of the second device includes an identifier of the second device and parameters of the second device, where the parameters of the second device are associated with a heat dissipation device of the second device.

[0083] For example, assuming that the policy library is as shown in Table 1, please refer to Table 1. The parameters of the second device corresponding to the cooling strategy 1 are: 2 CPUs, 4 fans, and horizontal air ducts; the parameters of the second device corresponding to the cooling strategy 2 are: 2 CPUs, 4 fans, and side-inlet and side-outlet air ducts; the parameters of the second device corresponding to the cooling strategy 3 are: 4 CPUs, 6 fans, and front-to-rear outlet air ducts; the parameters of the second device corresponding to the cooling strategy 4 are: 4 CPUs, 4 fans, and rear-inlet and front-outlet air ducts.

[0084] S307: Determine similarities between the parameters of the first device and the parameters of each second device to obtain multiple similarities.

[0085] Similarity can be used to indicate the degree of similarity between the parameters of the first device and the parameters of each second device. A higher similarity indicates a more similar structure between the first and second devices; a lower similarity indicates a less similar structure between the first and second devices. It is understood that the more similar the structures of the first and second devices are, the more similar their heat dissipation strategies are. For example, the similarity can be 20%, 50%, 80%, etc.

[0086] The similarity between the parameters of the first device and the parameters of each second device can be determined in the following manner: for any second device, determine the parameters of the second device; determine the parameters of the first device; preprocess the parameters of the first device and the parameters of the second device, and convert the parameters of the first device and the parameters of the second device into standard parameters of the same representation form, for example, the standard parameters can refer to normalizing the parameters of the first device and the parameters of the second device, or can refer to converting the parameters of the first device and the parameters of the second device into the same format, such as object representation form; perform similarity matching processing on the preprocessed parameters of the first device and the second device to obtain the similarity between the parameters of the first device and the parameters of each second device, wherein the similarity matching processing can be cosine similarity processing, Euclidean distance processing, etc.

[0087] S308: Determine a second matching result in the policy library according to the multiple similarities.

[0088] The second matching result is used to indicate whether the second heat dissipation policy exists in the policy library. The second matching result includes whether the second heat dissipation policy exists in the policy library and whether the second heat dissipation policy does not exist in the policy library.

[0089] The second matching result can be determined in the following manner: obtaining multiple similarities, determining whether there is a target similarity within the multiple similarities, where the value of the target similarity is greater than or equal to a first threshold, and the first threshold is a value preset in advance by the user, for example, the first threshold is 60%; if it is determined that there is a target similarity within the multiple similarities, then the second matching result is that the second heat dissipation strategy exists in the strategy library; if it is determined that there is no target similarity within the multiple similarities, then the second matching result is that the second heat dissipation strategy does not exist in the strategy library.

[0090] For example, assuming that there are multiple similarities and the first threshold is 70%, wherein similarity 1 is 30%, similarity 2 is 50%, similarity 3 is 70%, and similarity 4 is 80%, then the target similarity can be determined to be similarity 4, and the second matching result is that the second heat dissipation strategy exists in the strategy library. It can be understood that, assuming that the first threshold is 60%, the target similarities can be determined to be similarity 3 and similarity 4, and since the similarity of similarity 4 is greater than the similarity of similarity 3, the target similarity can be determined to be the similarity corresponding to similarity 4; assuming that there are multiple similarities and the first threshold is 60%, wherein similarity 1 is 30%, similarity 2 is 50%, similarity 3 is 40%, and similarity 4 is 55%, then it can be determined that the target similarity does not exist within the multiple similarities, that is, the second matching result is that the second heat dissipation strategy does not exist in the strategy library.

[0091] The second heat dissipation strategy may refer to a strategy in the strategy library, and the similarity between the parameters of the second device corresponding to the second heat dissipation strategy and the parameters of the first device is greater than or equal to a first threshold.

[0092] S309: Determine whether the second matching result indicates that the second heat dissipation strategy exists in the strategy library.

[0093] If so, execute S310.

[0094] If not, execute S311.

[0095] S310: Determine a second heat dissipation strategy in a strategy library, and determine the second heat dissipation strategy as the first heat dissipation strategy.

[0096] The second heat dissipation strategy can be determined in the following manner: determining a target similarity among multiple similarities, and determining the parameters of the second device corresponding to the target similarity based on the target similarity; determining a second heat dissipation strategy corresponding to the parameters of the second device in a strategy library based on the parameters of the second device, and determining the second heat dissipation strategy as the first heat dissipation strategy.

[0097] S311: Obtain a third heat dissipation strategy from a strategy library, and determine the third heat dissipation strategy as the first heat dissipation strategy.

[0098] The third heat dissipation policy may refer to a default policy set in the policy library, that is, the third heat dissipation policy is a common policy in the policy library and is applicable to any first device.

[0099] For example, the third heat dissipation strategy can be: when the temperature of the first device is within 0°C-30°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; when the temperature of the first device is within 30°C-50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; when the temperature of the first device is within 50°C-70°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; when the temperature of the first device is greater than 70°C, the fan speed of the first device is controlled to be adjusted to 6000RPM.

[0100] It can be understood that the method for determining the first heat dissipation strategy can be as shown in Table 3. Please refer to Table 3.

[0101] Table 3

[0102]

[0103] exist Figure 3In the embodiment shown, when it is necessary to dissipate heat for the first device, it is necessary to first determine a first heat dissipation strategy for heat dissipation processing. The identifier of each second device can be determined based on the information of the second device corresponding to each heat dissipation strategy in the strategy library, and it is judged whether there is an identifier identical to the identifier of the first device among the identifiers of the multiple second devices. If there is an identifier identical to the identifier of the first device, the first matching result is determined to be that there is a heat dissipation strategy matching the first device in the strategy library, and the heat dissipation strategy matching the first device is determined as the first heat dissipation strategy; if there is no identifier identical to the identifier of the first device, the first matching result is determined to be that there is no heat dissipation strategy matching the first device in the strategy library, and the identifier of each second device is determined based on the information of the second device corresponding to each heat dissipation strategy in the strategy library. Parameters, and determine the similarity between the parameters of the first device and the parameters of each second device, obtain multiple similarities, and determine a second matching result in the policy library based on the multiple similarities. The second matching result is used to indicate whether there is a second heat dissipation strategy in the policy library. The second matching result includes whether the second heat dissipation strategy exists in the policy library and whether the second heat dissipation strategy does not exist in the policy library. It is judged whether the second matching result indicates that the second heat dissipation strategy exists in the policy library. If the second heat dissipation strategy exists in the policy library, the second heat dissipation strategy is determined in the policy library, and the second heat dissipation strategy is determined as the first heat dissipation strategy; if the second heat dissipation strategy does not exist in the policy library, a third heat dissipation strategy is obtained in the policy library. The third heat dissipation strategy may refer to a default strategy set in the policy library, and the third heat dissipation strategy is determined as the first heat dissipation strategy. In the above method, an exact match can be performed first, that is, when a second device with the same identifier as the first device exists in the policy library, the heat dissipation strategy corresponding to the second device is directly determined as the first heat dissipation strategy; if the exact match fails, an approximate match is performed to determine whether there is a second device with parameters similar to those of the first device in the policy library. If so, the approximate match is successful, and the heat dissipation strategy corresponding to the second device is determined as the first heat dissipation strategy. If not, the approximate match fails, and the default strategy in the policy library is determined as the first heat dissipation strategy. In this way, by using three matching strategies, the heat dissipation strategy corresponding to the first device can be quickly determined in the policy library, thereby improving the heat dissipation efficiency of the first device.

[0104] Based on any of the above embodiments, Figure 4 , after controlling the heat dissipation device of the first device according to the first heat dissipation strategy, a process of updating the first heat dissipation strategy is described in detail.

[0105] Figure 4 This is a schematic diagram of the process of updating the first heat dissipation strategy provided in the embodiment of the present application. Figure 4 , the method may include:

[0106] S401: Obtain the temperature and power consumption of a first device for any first sub-strategy in a first heat dissipation strategy.

[0107] The first heat dissipation strategy may include multiple first sub-strategies, and the first sub-strategies may refer to heat dissipation strategies corresponding to any temperature range.

[0108] For example, assume that the first heat dissipation strategy is: when the temperature of the first device is within 0°C-30°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; when the temperature of the first device is within 30°C-50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; when the temperature of the first device is within 50°C-70°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; when the temperature of the first device is greater than 70°C, the fan speed of the first device is controlled to be adjusted to 6000RPM. Then, the first heat dissipation strategy includes four first sub-strategies, among which sub-strategy 1 is: when the temperature of the first device is within 0°C-30°C, the fan speed of the first device is controlled to be adjusted to 2000RPM; sub-strategy 2 is: when the temperature of the first device is within 30°C-50°C, the fan speed of the first device is controlled to be adjusted to 3000RPM; sub-strategy 3 is: when the temperature of the first device is within 50°C-70°C, the fan speed of the first device is controlled to be adjusted to 4000RPM; sub-strategy 4 is: when the temperature of the first device is greater than 70°C, the fan speed of the first device is controlled to be adjusted to 6000RPM.

[0109] After the first device controls the heat dissipation device of the first device according to any one of the first sub-strategies in the first heat dissipation strategy, the current temperature and power consumption of the first device can be obtained, where the temperature of the first device can refer to the temperature obtained by the sensor at the air inlet of the first device, or it can refer to the average value of the temperature at the air inlet and the temperature at the air outlet of the first device.

[0110] S402: Determine whether the temperature of the first device is stable in a target range and whether the power consumption saving rate is greater than or equal to a second threshold.

[0111] The target range may be a temperature range preset by the user, for example, the target range may be 30°C to 50°C.

[0112] The power consumption saving rate may be the power consumption after the heat dissipation device of the first device is controlled according to the first sub-strategy, compared to the power consumption before the heat dissipation device of the first device is controlled according to the first sub-strategy. Optionally, the power consumption saving rate may be equal to the ratio of the difference between the power consumption before control and the power consumption after control to the power consumption before control. For example, the power consumption saving rate may be 30%. The second threshold value may be a value preset by the user, and the second threshold value may be 20%.

[0113] If yes, execute S403.

[0114] If not, execute S404.

[0115] S403: Determine whether the first sub-strategy is valid.

[0116] If the temperature of the first device is stable within the target range and the power consumption saving rate is greater than or equal to the second threshold, it is proved that the heat dissipation of the first sub-strategy is effective, and the first sub-strategy is not updated.

[0117] S404: Determine a second sub-strategy based on the first sub-strategy.

[0118] If the temperature of the first device is not stabilized within the target range and / or the power consumption increases, it indicates that the first sub-strategy is invalid and needs to be modified.

[0119] The second sub-strategy may refer to an effective strategy obtained by modifying the first sub-strategy.

[0120] The second sub-strategy may be determined in the following manner: a historical sub-strategy before controlling the heat dissipation device of the first device is obtained, and the historical sub-strategy is valid, and the historical sub-strategy is determined as the second sub-strategy.

[0121] The second sub-strategy can also be determined in the following manner: determine the first fan speed corresponding to the first sub-strategy, adjust the first fan speed according to a preset step size to obtain a second fan speed, for example, the preset step size can be an increase of 5% or a decrease of 3%, etc.; control the heat dissipation device according to the second fan speed, and judge whether the temperature of the first device is stable in the target range and the power consumption saving rate is greater than or equal to the second threshold. If so, determine the second fan speed as the fan speed corresponding to the second sub-strategy; if not, continue to adjust according to the preset step size to obtain a third fan speed, until the temperature of the first device is stable in the target range and the power consumption saving rate is greater than or equal to the second threshold, and determine the third fan speed as the fan speed corresponding to the second sub-strategy.

[0122] Determining the second sub-strategy also includes, if the preset step size is adjusted to decrease the step size, determining the minimum speed of the heat dissipation device corresponding to the first device. Specifically, when the fan speed is adjusted to a fourth fan speed, if it is detected that the temperature of the first device exceeds a temperature safety threshold, or if the fan speed exhibits periodic fluctuations, i.e., if the fan operation is unstable, the current fourth fan speed can be determined to be the minimum speed of the heat dissipation device corresponding to the first device. The temperature safety threshold can be a value preset by the user, such as 80°C.

[0123] Preferably, the second sub-strategy can also be determined in the following manner: according to the prediction model, input the data of the historical period into the prediction model, the prediction model can refer to the long short-term memory network LSTM model, and the data of the historical period can include the outlet temperature, air inlet temperature, fan speed and power consumption corresponding to multiple historical moments; receive the predicted temperature output by the prediction model, and determine the first sub-strategy in the first heat dissipation strategy according to the predicted temperature; input the first sub-strategy into the reinforcement learning model, the reinforcement learning model can refer to the DQN model, receive the pre-generated strategy output by the reinforcement learning model, perform safety verification on the pre-generated strategy under extreme scenarios, and determine whether the temperature of the first device is stable in the target range and the power consumption saving rate is greater than or equal to the second threshold. If the verification is successful, the pre-generated strategy is determined as the second sub-strategy, and the second sub-strategy is the strategy updated by the reinforcement learning model through the action reward feedback mechanism; if the verification fails, it falls back to the historical sub-strategy, and the historical sub-strategy is a valid strategy, and the historical sub-strategy is determined as the second sub-strategy.

[0124] The prediction model can be trained in the following way: obtain the predicted temperature at the target moment output by the prediction model and the actual temperature at the target moment collected by the baseboard management controller; if the temperature deviation between the predicted temperature and the actual temperature exceeds the preset deviation value, the current first sub-strategy is judged to be invalid, and the first sub-strategy is switched to the last valid first sub-strategy; the data of the historical period and the actual temperature at the target moment are re-input into the prediction model as abnormal data for training.

[0125] The reinforcement learning model can be trained in the following manner: obtaining the state information of the first device after adjustment according to the second sub-strategy, the state information of the first device may include the adjusted temperature and the adjusted power consumption, obtaining a reward model, illustratively, the reward model may be as shown in Table 4, see Table 4, determining reward information within the reward model based on the state information of the first device, and training the reinforcement learning model based on the reward information. If the reward information is a positive reward, it indicates that the second sub-strategy is effective, and the policy parameters of the second sub-strategy are determined in a reinforced manner. The policy parameters may refer to the mapping weights of the speed and temperature. If the reward information is a negative reward, it indicates that the second sub-strategy is invalid, and the reinforcement learning model may correct the second sub-strategy based on historical data.

[0126] Table 4

[0127]

[0128] S405: Determine a fourth heat dissipation strategy according to the valid first sub-strategy and the second sub-strategy.

[0129] A second sub-strategy obtained by updating multiple valid first sub-strategies and invalid first sub-strategies is updated into the first heat dissipation strategy to obtain a fourth heat dissipation strategy. The fourth heat dissipation strategy may refer to a heat dissipation strategy obtained after update optimization.

[0130] S406: Store the fourth heat dissipation strategy, the identifier of the first device, and the parameters of the first device in a strategy library.

[0131] The fourth heat dissipation strategy corresponds to the identifier of the first device and the parameters of the first device, is stored in the strategy library, and the strategy library is updated.

[0132] exist Figure 4 In the illustrated embodiment, after controlling the heat dissipation device of the first device according to the first heat dissipation strategy, the first heat dissipation strategy can also be updated. For any first sub-strategy in the first heat dissipation strategy, the temperature and power consumption of the first device are obtained to determine whether the temperature of the first device is stable in the target range and the power consumption saving rate is greater than or equal to the second threshold. If so, the first sub-strategy is determined to be valid; if not, the first sub-strategy is determined to be invalid and needs to be revised to obtain the second sub-strategy; the second sub-strategy obtained by updating multiple valid first sub-strategies and invalid first sub-strategies is updated to the first heat dissipation strategy to obtain a fourth heat dissipation strategy; the fourth heat dissipation strategy and the identifier of the first device and the parameters of the first device are stored in the strategy library. In this way, after matching the first heat dissipation strategy to the first device, the first heat dissipation strategy can be continuously updated, thereby improving the accuracy of the heat dissipation strategy and improving the efficiency of heat dissipation.

[0133] 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 the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0134] Figure 5 This is a schematic diagram of the structure of the heat dissipation device provided in the embodiment of the present application. Figure 5 As shown, an embodiment of the present application further provides a heat dissipation device 10, comprising: an acquisition module 11, a first determination module 12 and a second determination module 13, wherein:

[0135] The acquisition module 11 is configured to acquire, in a baseboard management controller, an identifier of a first device and parameters of the first device, where the parameters of the first device are associated with a heat dissipation device of the first device;

[0136] The first determining module 12 is configured to determine, based on the identifier of the first device, a first matching result of the heat dissipation policy in a policy library, wherein the policy library includes information about multiple heat dissipation policies and second devices corresponding to each heat dissipation policy;

[0137] The second determining module 13 is configured to determine a first heat dissipation strategy in the strategy library according to the first matching result and the parameters of the first device, and control a heat dissipation device of the first device according to the first heat dissipation strategy.

[0138] A heat dissipation device provided in an embodiment of the present application can implement the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0139] In one possible design, the second determining module 13 is specifically configured to:

[0140] When the first matching result is that a heat dissipation policy matching the first device exists in the policy library, determining the heat dissipation policy matching the first device as the first heat dissipation policy;

[0141] When the first matching result is that no heat dissipation policy matching the first device exists in the policy library, the first heat dissipation policy is determined in the policy library according to the parameters of the first device.

[0142] In one possible design, the second determining module 13 is specifically configured to:

[0143] determining parameters of each second device according to information of the second device corresponding to each heat dissipation strategy in the strategy library, where the parameters of the second device are associated with a heat dissipation device of the second device;

[0144] Determining similarities between parameters of the first device and parameters of each second device to obtain multiple similarities;

[0145] The first heat dissipation strategy is determined in the strategy library according to the multiple similarities.

[0146] In one possible design, the second determining module 13 is specifically configured to:

[0147] Determining a second matching result in the policy library based on the multiple similarities, where the second matching result indicates whether a second heat dissipation policy exists in the policy library, and a similarity between parameters of the second device corresponding to the second heat dissipation policy and parameters of the first device is greater than or equal to a first threshold;

[0148] When the second matching result indicates that the second heat dissipation policy exists in the policy library, determining the second heat dissipation policy as the first heat dissipation policy;

[0149] When the second matching result indicates that the second heat dissipation policy does not exist in the policy library, a third heat dissipation policy is obtained from the policy library, and the third heat dissipation policy is determined as the first heat dissipation policy.

[0150] A heat dissipation device provided in an embodiment of the present application can implement the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0151] Figure 6 This is a schematic diagram of the structure of another heat dissipation device provided in an embodiment of the present application. Figure 5 Based on the examples shown, see Figure 6 The heat dissipation device 10 further includes: a third determination module 14 and a processing module 15, wherein:

[0152] The third determining module 14 is configured to determine the identifier of each second device according to the information of the second device corresponding to each heat dissipation strategy in the strategy library;

[0153] When there is an identifier identical to the identifier of the first device among the identifiers of the plurality of second devices, determining that the first matching result is that there is a heat dissipation policy matching the first device in the policy library;

[0154] When there is no identifier identical to the identifier of the first device among the identifiers of the plurality of second devices, it is determined that the first matching result is that there is no heat dissipation policy matching the first device in the policy library.

[0155] The processing module 15 is used to obtain the temperature and power consumption of the first device;

[0156] The first sub-strategy is processed according to the temperature and power consumption of the first device.

[0157] In one possible design, the processing module 15 is specifically configured to:

[0158] If the temperature of the first device is stable within the target range, and the power consumption saving rate is greater than or equal to a second threshold, determining that the first sub-strategy is effective;

[0159] If the temperature of the first device is greater than or equal to a third threshold, or the power consumption increases, it is determined that the first sub-strategy is invalid, and a second sub-strategy is determined based on the first sub-strategy.

[0160] A heat dissipation device provided in an embodiment of the present application can implement the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0161] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 7As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus.

[0162] During the specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502 , so that the at least one processor 501 executes the above-mentioned embodiment of the method for managing a server cluster.

[0163] The specific implementation process of the processor 501 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0164] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.

[0165] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0166] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.

[0167] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above-mentioned heat dissipation method embodiments when running.

[0168] 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.

[0169] 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 of the above-mentioned heat dissipation method embodiments are implemented.

[0170] 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-mentioned heat dissipation method embodiments are implemented.

[0171] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0172] The above is a detailed introduction to a heat dissipation method, electronic device, storage medium and program product provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A heat dissipation method, characterized in that: Applied to electronic equipment, the method includes: Acquire, in a baseboard management controller, an identifier of a first device and parameters of the first device, where the parameters of the first device are associated with a heat dissipation device of the first device; Determining, according to the identifier of the first device, a first matching result of the heat dissipation policy in a policy library, wherein the policy library includes information about a plurality of heat dissipation policies and a second device corresponding to each heat dissipation policy; determining a first heat dissipation strategy in the strategy library according to the first matching result and the parameters of the first device, and controlling a heat dissipation device of the first device according to the first heat dissipation strategy; Determining a first heat dissipation strategy in the strategy library according to the first matching result and the parameters of the first device includes: When the first matching result is that there is a cooling strategy matching the first device in the policy library, the cooling strategy matching the first device is determined as the first cooling strategy; when the first matching result is that there is no cooling strategy matching the first device in the policy library, the parameters of each second device are determined based on the information of the second device corresponding to each cooling strategy in the policy library, and the parameters of the second device are associated with the cooling device of the second device; the similarity between the parameters of the first device and the parameters of each second device is determined to obtain multiple similarities; and the first cooling strategy is determined in the policy library based on the multiple similarities.

2. The method according to claim 1, characterized in that Determining the first heat dissipation strategy in the strategy library according to the multiple similarities includes: Determining a second matching result in the policy library based on the multiple similarities, where the second matching result indicates whether a second heat dissipation policy exists in the policy library, and a similarity between parameters of the second device corresponding to the second heat dissipation policy and parameters of the first device is greater than or equal to a first threshold; When the second matching result indicates that the second heat dissipation policy exists in the policy library, determining the second heat dissipation policy as the first heat dissipation policy; When the second matching result indicates that the second heat dissipation policy does not exist in the policy library, a third heat dissipation policy is obtained from the policy library, and the third heat dissipation policy is determined as the first heat dissipation policy.

3. The method according to claim 1 or 2, characterized in that Determining a first matching result of the heat dissipation policy in a policy library according to the identifier of the first device includes: Determining an identifier of each second device according to information of the second device corresponding to each heat dissipation strategy in the strategy library; When there is an identifier identical to the identifier of the first device among the identifiers of the plurality of second devices, determining that the first matching result is that there is a heat dissipation policy matching the first device in the policy library; When there is no identifier identical to the identifier of the first device among the identifiers of the plurality of second devices, it is determined that the first matching result is that there is no heat dissipation policy matching the first device in the policy library.

4. The method according to claim 1 or 2, characterized in that For any one of the first sub-strategies in the first heat dissipation strategy; after controlling the heat dissipation device of the first device according to the first heat dissipation strategy, the method further includes: Obtaining the temperature and power consumption of the first device; The first sub-strategy is processed according to the temperature and power consumption of the first device.

5. The method according to claim 4, characterized in that Processing the first sub-strategy according to the temperature and power consumption of the first device includes: If the temperature of the first device is stable within the target range, and the power consumption saving rate is greater than or equal to a second threshold, determining that the first sub-strategy is effective; If the temperature of the first device is greater than or equal to a third threshold, or the power consumption increases, it is determined that the first sub-strategy is invalid, and a second sub-strategy is determined based on the first sub-strategy.

6. The method according to claim 5, characterized in that The method further comprises: Determining a fourth heat dissipation strategy according to the valid first sub-strategy and the second sub-strategy; The fourth heat dissipation strategy, the identifier of the first device, and the parameters of the first device are stored in the strategy library.

7. A heat dissipation device, characterized in that: include: an acquisition module, a first determination module, and a second determination module, wherein: The acquisition module is used to acquire, in the baseboard management controller, an identifier of the first device and parameters of the first device, where the parameters of the first device are associated with a heat dissipation device of the first device; The first determining module is configured to determine, based on the identifier of the first device, a first matching result of the heat dissipation policy in a policy library, wherein the policy library includes information about a plurality of heat dissipation policies and a second device corresponding to each heat dissipation policy; The second determining module is configured to determine a first heat dissipation strategy in the strategy library according to the first matching result and the parameters of the first device, and control the heat dissipation device of the first device according to the first heat dissipation strategy; The second determining module is specifically configured to: When the first matching result is that there is a cooling strategy matching the first device in the policy library, the cooling strategy matching the first device is determined as the first cooling strategy; when the first matching result is that there is no cooling strategy matching the first device in the policy library, the parameters of each second device are determined based on the information of the second device corresponding to each cooling strategy in the policy library, and the parameters of the second device are associated with the cooling device of the second device; the similarity between the parameters of the first device and the parameters of each second device is determined to obtain multiple similarities; and based on the multiple similarities, the first cooling strategy is determined in the policy library.

8. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the heat dissipation method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the heat dissipation method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • BMC and heat dissipation strategy adaptation method and device thereof, server and storage medium

    CN112000205A