A server heat dissipation regulation method and device
By combining ambient temperature and external device expansion card temperature information before and after server startup, accurately matching slot information, and employing flexible control strategies, the problem of excessive fan speed increase and device overheating during server startup is solved, achieving more efficient heat dissipation management and system stability.
Patent Information
- Application Number
- CN202411585931.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-11-07
AI Technical Summary
Existing technologies cannot accurately match slot and temperature information during server startup, leading to an over-reliance on ambient temperature for aggressive heat dissipation control. This results in excessive fan speed increases and overheating issues caused by external expansion cards accumulating excessive temperatures.
Before the target firmware is started, the first target control parameter is determined by combining the ambient temperature and the temperature information of the external device expansion card. After startup, the second target control parameter of the fan is determined by matching the temperature information with the slot information and considering the case of inconsistency in the identification. Different control strategies are adopted to finely control the fan speed.
It enables more precise heat dissipation management, avoids unnecessary increases in fan speed, reduces server energy consumption and noise, and improves system stability and reliability.
Smart Images

Figure CN119739269B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of server heat dissipation, and in particular to a server heat dissipation regulation method and device. BACKGROUND
[0002] As the core component of a data center, a server bears the heavy responsibility of data processing, storage, and network transmission. With the continuous development of server technology and applications, the heat dissipation management of the server has become an indispensable part of the server design.
[0003] In the related art, during the basic input / output system startup process, a relatively aggressive heat dissipation regulation logic based on the environment temperature is used for heat dissipation regulation to cover possible over-temperature problems. After the basic input / output system startup is completed, when the baseboard management controller (BMC) detects that a PCIe (Peripheral Component Interconnect Express) card is inserted into a slot, but cannot match the temperature information of the PCIe card through the identification information of the PCIe card, a relatively aggressive heat dissipation regulation logic based on the environment temperature is used for heat dissipation regulation to cover possible over-temperature problems.
[0004] However, the related art relies too much on location recognition. In the case where the slot cannot match the temperature information, a relatively aggressive heat dissipation regulation logic based on the environment temperature is directly used, which may excessively increase the fan speed. Moreover, during the basic input / output system startup process, only a relatively aggressive heat dissipation regulation logic based on the environment temperature is used, which may also excessively increase the fan speed and may cause the temperature of the external device expansion card to accumulate over-temperature during the initial process. SUMMARY
[0005] To overcome the problems in the related art, the present disclosure provides a server heat dissipation regulation method and device. The technical solutions of the present disclosure are as follows.
[0006] According to a first aspect of the embodiments of the present disclosure, a server heat dissipation regulation method is provided, comprising:
[0007] Before the target firmware is started, a first target regulation parameter is determined according to the environment temperature and the temperature information of the external device expansion card; the first target regulation parameter is used to regulate the fan speed before the target firmware is started;
[0008] After the target firmware is started, the first identification information corresponding to the temperature information is matched with the second identification information corresponding to the slot information, in the case that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information, and / or in the case that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information, the second target control parameter of each fan in the server is determined according to the inconsistent identification condition; the second target control parameter is used to control the fan speed after the target firmware is started.
[0009] Optionally, further comprising:
[0010] In the case that the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information, the third control parameter of each fan corresponding to the slot represented by the slot information is determined according to the temperature information;
[0011] The second target control parameter of each fan in the server is determined according to the inconsistent identification condition, comprising:
[0012] The fourth control parameter of each fan in the server is determined according to the inconsistent identification condition;
[0013] The second target control parameter of each fan in the server is determined according to the third control parameter and the fourth control parameter.
[0014] Optionally, the first target control parameter is determined according to the environmental temperature and the temperature information of the external device expansion card, comprising:
[0015] The first control parameter is determined according to the environmental temperature according to the pre-set ring temperature starting process control strategy, the first control temperature changes with the change of the environmental temperature; and the second control parameter is determined according to the temperature information of the external device expansion card according to the pre-set component single temperature control strategy, the second control parameter changes with the change of the temperature of the external device expansion card;
[0016] The first target control parameter of each fan in the server is determined according to the first control parameter and the second control parameter;
[0017] In the case that the temperature information corresponding to all the external device expansion cards is obtained, the first target control parameter of each fan in the server is determined according to the second control parameter; in the case that no temperature information corresponding to any external device expansion card is obtained, the first target control parameter of each fan in the server is determined according to the first control parameter.
[0018] Optionally, further comprising:
[0019] determining a fifth regulation parameter according to an ambient temperature after the target firmware is started;
[0020] The fifth regulation parameter is used as a basic regulation parameter after the target firmware is started, and the basic regulation parameter represents a minimum regulation parameter of each fan in the server.
[0021] The second target regulation parameter of each fan in the server is determined according to the third regulation parameter and the fourth regulation parameter.
[0022] The second target regulation parameter of each fan in the server is determined according to the third regulation parameter, the fourth regulation parameter and the fifth regulation parameter.
[0023] Optionally, the information of the external device expansion card is obtained in the following manner:
[0024] After the server is powered on, the baseboard management controller communicates with the external device expansion cards according to a preset period, identifies each external device expansion card, and obtains first target information corresponding to each external device expansion card; the first target information at least includes first identification information used to identify the external device expansion card that communicates with the baseboard management controller.
[0025] The slot information is obtained in the following manner:
[0026] Before the target firmware is started, second target information corresponding to each slot is obtained through the target firmware, and after the target firmware is started, the second target information is sent to the baseboard management controller through the target firmware; the second target information at least includes second identification information of the external device expansion card inserted into the slot.
[0027] Optionally, after the target firmware is started, matching the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information includes:
[0028] When the in-place information of the slot indicates that the external device expansion card is currently inserted, the baseboard management controller matches the first identification information with the second identification information corresponding to the slot;
[0029] When the first identification information is consistent with the second identification information, and the first target information corresponding to the first identification information includes the temperature information, it is determined that the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information.
[0030] in a case where the first identification information is inconsistent with the second identification information and the first target information corresponding to the first identification information includes the temperature information, it is determined that there is first identification information corresponding to the temperature information that is inconsistent with the second identification information corresponding to each of the slot information;
[0031] in a case where the first identification information is consistent with the second identification information and the first target information corresponding to the first identification information does not include the temperature information, it is determined that there is second identification information corresponding to the slot information that is inconsistent with the first identification information corresponding to each of the temperature information.
[0032] Optionally, in a case where there is first identification information corresponding to the temperature information that is inconsistent with the second identification information corresponding to each of the slot information, the determining, according to the identification inconsistency, of the fourth regulation parameter of each fan in the server comprises:
[0033] determining an external device expansion card corresponding to the temperature information;
[0034] determining, according to the external device expansion card and the temperature information, the fourth regulation parameter of each fan in the server.
[0035] Optionally, in a case where there is second identification information corresponding to the slot information that is inconsistent with the first identification information corresponding to each of the temperature information, the determining, according to the identification inconsistency, of the fourth regulation parameter of each fan in the server comprises:
[0036] determining a risk level of an external device expansion card inserted into the slot; the risk level is preset according to types and importance levels of each of the external device expansion cards;
[0037] in a case where the risk level of the external device expansion card is a low risk, determining a basic regulation parameter as the fourth regulation parameter corresponding to each fan corresponding to the slot;
[0038] in a case where the risk level of the external device expansion card is a medium risk, determining a target category of the external device expansion card; obtaining a maximum temperature of each external device expansion card in the target category; and determining, through the maximum temperature, the fourth regulation parameter corresponding to each fan corresponding to the slot;
[0039] in a case where the risk level of the external device expansion card is a high risk, determining, through an environmental temperature, the fourth regulation parameter corresponding to each fan corresponding to the slot.
[0040] Optionally, in the case that the second identification information corresponding to the plurality of slot information and the first identification information corresponding to each temperature information are inconsistent, the fourth control parameter of each fan in the server is determined according to the inconsistent identification information.
[0041] The fourth control parameter of each fan corresponding to each slot is determined according to the environmental temperature.
[0042] According to a second aspect of the embodiments of the present disclosure, a server heat dissipation control device is provided, comprising:
[0043] A first control module is configured to determine a first target control parameter according to the environmental temperature and the temperature information of the external device expansion card before the target firmware is started and completed, and the first target control parameter is used to control the fan speed before the target firmware is started and completed.
[0044] A second control module is configured to match the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information after the target firmware is started and completed, and in the case that the first identification information corresponding to each temperature information and the second identification information corresponding to each slot information are inconsistent, and / or in the case that the second identification information corresponding to each slot information and the first identification information corresponding to each temperature information are inconsistent, at least the second target control parameter of each fan in the server is determined according to the inconsistent identification information, and the second target control parameter is used to control the fan speed after the target firmware is started and completed.
[0045] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the server heat dissipation control method in the first aspect are implemented.
[0046] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the server heat dissipation control method in the first aspect are implemented.
[0047] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising a computer program, and when the computer program is executed by a processor, the steps of the server heat dissipation control method in the first aspect are implemented.
[0048] The present disclosure can more accurately determine the first target control parameter of fan rotating speed by considering the temperature information of the external device expansion card and the environmental temperature before the target firmware startup is completed. By matching the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information after the target firmware startup is completed, and considering the identification inconsistency, the second target control parameter of each fan in the server can be determined according to the identification inconsistency, which can increase the flexibility of heat dissipation management. According to the identification inconsistency, different control strategies can be adopted to more finely control the fan rotating speed. Through more accurate heat dissipation control, unnecessary increase of fan rotating speed can be avoided, thereby reducing the energy consumption and noise generated during operation of the server. BRIEF DESCRIPTION OF DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor under the premise of the drawings.
[0050] Figure 1 is a step schematic diagram of a server heat dissipation control method shown by an embodiment of the present disclosure;
[0051] Figure 2 is a heat dissipation control timing diagram shown by an embodiment of the present disclosure;
[0052] Figure 3 is a block diagram of a server heat dissipation control device shown by an embodiment of the present disclosure;
[0053] Figure 4 is a schematic diagram of an electronic device shown by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0054] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present disclosure.
[0055] The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of a kind and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in a "or" relationship.
[0056] As the core component of data centers, servers bear the heavy responsibility of data processing, storage, and network transmission. To meet the needs of different business scenarios, the design of servers not only needs to consider computing power and storage capacity, but also needs to focus on thermal management, energy efficiency, and running stability. Server design needs to consider the variability of hardware configuration. For example, AI servers may replace or increase the number of GPUs according to actual needs, and the RAID configuration of storage servers may also be adjusted as the business grows.
[0057] Servers are usually equipped with intelligent heat dissipation management systems, such as BMC, which can automatically adjust the heat dissipation strategy according to the server's workload, environmental temperature, and hardware state. And because the server design takes into account the variability of hardware configuration, the server's heat dissipation system must have sufficient adaptability and flexibility to support hardware changes in different scenarios while maintaining stable running state.
[0058] The related technology proposes that during the basic input / output system startup process, because the slot and temperature cannot be matched at this time, a more aggressive heat dissipation control logic based on environmental temperature is used for heat dissipation control to cover possible over-temperature problems; after the basic input / output system startup is completed, the slot and temperature are matched, in the case that the slot can match the temperature, the slot associated with each fan is fine-tuned based on the slot, and in the case that the slot cannot match the temperature, each fan associated with the slot is controlled using a more aggressive heat dissipation control logic based on the environmental temperature for heat dissipation control.
[0059] In the basic input and output system startup process and abnormal conditions after the basic input and output system startup is completed, the related technologies all use relatively aggressive heat dissipation regulation logic based on the environment temperature for heat dissipation regulation, the fineness of the regulation of the fan is low, in all cases, the most conservative strategy based on the environment temperature is used for regulation, which can cause excessive increase of the fan speed, and since each external device expansion card cannot be concerned, in some extreme cases, even if the relatively aggressive heat dissipation regulation logic based on the environment temperature is used for heat dissipation regulation, the external device expansion card cannot be effectively cooled, which can cause the temperature of the external device expansion card to accumulate and overheat.
[0060] To solve the above technical problems, the present disclosure proposes a server heat dissipation regulation method, which can effectively avoid the problems of overheating of components and excessive increase of fan speed caused by delayed heat dissipation in related technologies.
[0061] Figure 1 is a step schematic diagram of a server heat dissipation regulation method according to an embodiment of the present disclosure. As shown in Figure 1 The server heat dissipation regulation method can specifically include the following steps:
[0062] Step S11: Before the target firmware is started, a first target regulation parameter is determined according to the environment temperature and the temperature information of the external device expansion card; the first target regulation parameter is used to regulate the fan speed before the target firmware is started.
[0063] The target firmware can be a basic input and output system.
[0064] Before the basic input and output system is started, the temperature information of the external device expansion card can be considered, the temperature information of the external device expansion card is used as the regulation basis of the fan speed, and the first target regulation parameter of the fan corresponding to the basic input and output system before the basic input and output system is started is determined in combination with the environment temperature.
[0065] And since the temperature information of the external device expansion card can be considered before the basic input and output system is started, the current server heat dissipation demand can be better understood. When the regulation parameter of the fan is determined according to the environment temperature, the relatively aggressive regulation logic is not used.
[0066] The first target regulation parameter is used to adjust the fan speed.
[0067] Step S12: After the target firmware is started, the first identification information corresponding to each temperature information is matched with the second identification information corresponding to each slot information. In the case that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information, and / or in the case that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information, at least according to the inconsistent identification, the second target control parameter of each fan in the server is determined; the second target control parameter is used to control the fan speed after the target firmware is started.
[0068] After the basic input output system is started, the slot information corresponding to each slot can be obtained, and the temperature information corresponding to each external device expansion card can be obtained. The external device expansion card is inserted into the slot, and the second identification information of the external device expansion card can be obtained through the slot information, which is used to determine which external device expansion card is inserted into the slot. The temperature information can be used to determine which external device expansion card generates the temperature information, and the first identification information of the external device expansion card is carried in the temperature information. The temperature information and the slot information are obtained through different devices, so that it is impossible to determine which slot generates the temperature before the temperature information and the slot information are matched.
[0069] Since the position of the slot in the server is fixed, the association relationship between each slot and the fan can be determined according to the layout of the fan and the position of the slot. For any one slot, the fan associated with the slot can effectively cool the external device expansion card inserted into the slot, and the fan not associated with the slot has a low cooling efficiency for the external device expansion card in the slot.
[0070] Therefore, after the basic input output system is started, the slot information needs to be matched with the temperature information one by one to obtain the matching pairs of the temperature information and the slot information, each matching pair including one temperature information and one slot information. According to the matching pairs, it is determined which slot the external device expansion card is inserted into, so as to determine the position of the temperature information corresponding to each external device expansion card in the server. Specifically, the matching can be realized by matching the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information.
[0071] In the process of matching the slot information and the temperature information, there can be a matching failure, including: it can be determined which external device expansion card is inserted into the slot, but the temperature cannot be obtained, which is specifically manifested by that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information; the temperature information of the external device expansion card can be obtained, but it cannot be determined which slot the external device expansion card is located in, which is specifically manifested by that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information; and it can be recognized that the external device expansion card is inserted into the slot, but other information cannot be obtained.
[0072] According to the identification matching condition, the identification inconsistency condition is determined. For different identification inconsistency conditions, different regulation strategies are adopted to determine the regulation parameters of each fan in the server in the case that there is a matching failure in the server.
[0073] In combination with the matching successful slot, the temperature of the slot that cannot be matched, and the slot that cannot be matched to the temperature, the second target regulation parameter of each fan in the server is determined. The second target regulation parameter is used to regulate the fan speed after the basic input and output system is started.
[0074] By using the embodiments of the present disclosure, in the target firmware startup phase, by comprehensively considering the environmental temperature and the temperature information of the external device expansion card, the overall heat dissipation demand of the server can be more accurately evaluated. After the target firmware is started, by matching the slot information and the temperature information, heat dissipation regulation can be performed according to the specific hardware configuration. When the slot information and the temperature information fail to match, according to the type of the matching failure, the fan speed can be flexibly adjusted to adapt to different heat dissipation demands. Precise heat dissipation management helps to prevent the server from malfunctioning or performance degradation due to overheating, and prevents unnecessary increase of the fan speed.
[0075] The present disclosure pre-provisions regulation strategies for different conditions.
[0076] When the regulation parameter is determined based on the environmental temperature, three regulation strategies are formulated, including the ambient temperature startup process regulation strategy, the ambient temperature post-startup regulation strategy, and the ambient temperature abnormality regulation strategy. For the same environmental temperature, different regulation parameters are obtained by using the ambient temperature startup process regulation strategy, the ambient temperature post-startup regulation strategy, and the ambient temperature abnormality regulation strategy. The regulation parameter corresponding to the ambient temperature post-startup regulation strategy is the lowest, the regulation parameter corresponding to the ambient temperature startup process regulation strategy is medium, and the regulation parameter corresponding to the ambient temperature abnormality regulation strategy is the highest. The ambient temperature startup process regulation strategy is applied before the target firmware is started; the ambient temperature post-startup regulation strategy is applied after the target firmware is started; and the ambient temperature abnormality regulation strategy is applied after the target firmware is started and needs to meet specific conditions.
[0077] The regulation strategy further includes a component single temperature regulation strategy. In a case where it is unable to determine in which slot of the server the temperature information is located, the regulation parameter of the fan can be determined through the external device expansion card corresponding to the temperature information.
[0078] The regulation strategy further includes a component maximum temperature regulation strategy. In a case where it is unable to determine the temperature information of the external device expansion card, the temperature of other external device expansion cards of the same category in the current server can be determined, the maximum temperature among the temperatures is regarded as the temperature of the external device expansion card whose temperature is unable to be determined, and the regulation parameter of the fan is determined.
[0079] When the regulation parameter of the fan is determined through the temperature information of the external expansion card, the specific steps can include determining the type of the external device expansion card corresponding to the temperature information, determining the regulation parameter of the corresponding fan when the external device expansion card of the type is at different temperatures through the type of the external device expansion card. For example, the existing type 1 external device expansion card and type 2 external device expansion card have different regulation parameters of the fan when the two types of external device expansion cards are at the same temperature.
[0080] The regulation strategy further includes a slot regulation strategy. In a case where it is able to determine which external device expansion card is inserted into the slot and obtain the temperature information of the external device expansion card, the slot regulation strategy is the most accurate regulation strategy. The heat dissipation requirement of the slot can be determined through the temperature information corresponding to the slot, the heat dissipation requirement can be represented by a regulation parameter, the fan associated with the slot is determined, and the influence degree of each fan on the cooling of the slot is determined; the regulation parameter of the fan associated with each slot is determined according to the influence degree and the heat dissipation requirement, and the greater the influence degree of the fan, the greater the regulation parameter corresponding to the fan.
[0081] The regulation parameter is associated with the rotation speed of the fan, and the greater the regulation parameter, the greater the rotation speed of the fan obtained when the rotation speed of the same fan is regulated through the regulation parameter. The regulation parameter can be a percentage, indicating that the rotation speed of the fan corresponding to the regulation parameter is a percentage of the maximum rotation speed of the fan.
[0082] In an alternative embodiment, the information of the external device expansion card is obtained in the following manner: after the server is powered on, the baseboard management controller communicates with the external device expansion cards at a preset period, identifies each external device expansion card, and obtains the first target information corresponding to each external device expansion card; the first target information at least includes first identification information for identifying the external device expansion card that communicates with the baseboard management controller; the slot information is obtained in the following manner: before the target firmware is started, the target firmware obtains the second target information corresponding to each slot, and after the target firmware is started, the target firmware sends the second target information to the baseboard management controller; the second target information at least includes second identification information of the external device expansion card inserted into the slot.
[0083] The server being powered on means that the server is connected to a power supply. The server being powered on includes a basic input / output system starting process stage and a basic input / output system starting completion stage.
[0084] After the server is powered on, the baseboard management controller periodically reads the in-place information of each slot. The in-place information is used to identify whether an external device expansion card is inserted into the slot. In addition, the baseboard management controller communicates with the external device expansion card inserted into the slot at a preset period and obtains the first target information corresponding to the external device expansion card. Each external device expansion card corresponds to different first target information, and the first target information is stored in a volatile medium. However, at this time, the external device expansion card is located in which slot cannot be determined by the baseboard management controller communicating with the external device expansion card.
[0085] The period of the baseboard management controller querying the slot in-place information and the period of obtaining the first target information can be consistent.
[0086] The first target information can include BDF (Bus-Device-Function) information, type information, and temperature information of the external device expansion card. The type information is used to indicate the category corresponding to the external device expansion card, such as RAID (Redundant Array of Independent Disks), a network card, a GPU (Graphics Processing Unit), an HBA (Host Bus Adapter), an HCA (Host Channel Adapter), etc. The BDF information is used to represent the unique identification of the external device expansion card.
[0087] The BDF information obtained by the baseboard management controller is determined as first identification information. The first target information includes the first identification information,
[0088] After the baseboard management controller obtains the first target information corresponding to each external device expansion card, the baseboard management controller can determine the maximum temperature corresponding to each type of server at present according to the temperature information contained in each first target information. Specifically, the maximum temperature of each type of server can be obtained by obtaining the temperature of each external device expansion card of each type, and the maximum temperature of each type of server is determined as the maximum temperature corresponding to the type.
[0089] The first target information does not necessarily include all information corresponding to the external device expansion card. Errors may occur when obtaining information, for example, the temperature information corresponding to the external device expansion card may be obtained.
[0090] Before the basic input output system is started, the basic input output system obtains second target information corresponding to each slot in the server. Each slot corresponds to different second target information. The second target information can include BDF information of the external device expansion card inserted into the slot, and four ID information corresponding to the external device expansion card. The four ID information is another information for uniquely identifying the external device expansion card, which is different from the BDF information.
[0091] The BDF information obtained by the basic input output system is determined as second identification information. The second target information includes the second identification information.
[0092] After the basic input output system is started, the basic input output system sends the second target information to the baseboard management controller. After the baseboard management controller receives the second target information, the second target information is stored in the non-volatile memory.
[0093] By using the embodiments of the present disclosure, the communication mechanism with a preset period ensures that the baseboard management controller can obtain the latest state and information of the external device expansion card in real time or near real time. Before the target firmware is started, the BIOS is responsible for obtaining the second target information of each slot, and sends the information to the BMC after the BIOS is started. This mechanism ensures the accuracy and integrity of the slot information, and helps to accurately manage each slot and the external device expansion card thereon. Since the expansion card can be monitored and identified in real time, the system can respond more quickly to hardware changes, and timely adopt the corresponding heat regulation strategy, which can improve the reliability and stability of the overall system.
[0094] In an alternative embodiment, the first target control parameter is determined according to the ambient temperature and the temperature information of the external device expansion card, including: determining the first control parameter according to a pre-set ambient temperature start-up process control strategy, the first control parameter varying with the ambient temperature; and determining the second control parameter according to a pre-set component individual temperature control strategy, the second control parameter varying with the temperature of the external device expansion card, according to the temperature information of the external device expansion card; determining the first target control parameter of each fan in the server according to the first control parameter and the second control parameter; wherein, when the temperature information of all the external device expansion cards is obtained, the first target control parameter of each fan in the server is determined according to the second control parameter; when the temperature information of none of the external device expansion cards is obtained, the first target control parameter of each fan in the server is determined according to the first control parameter.
[0095] The first control parameter can be determined according to the ambient temperature according to a pre-set ambient temperature start-up process control strategy, the first control parameter varying with the ambient temperature. The first control parameter is an overall control parameter, and is for all the fans in the server, the first control parameter of each fan being the same.
[0096] The second control parameter can be determined according to the temperature information of the external device expansion card according to a pre-set component individual temperature control strategy, the second control parameter varying with the temperature of the external device expansion card. Since the temperature information cannot be matched with the slot information before the basic input output system is started up, in order to achieve effective heat dissipation of the external device expansion card in any position in the server, the second control parameter is also an overall control parameter, and is for all the fans in the server, the second control parameter of each fan being the same.
[0097] For the same fan, the first control parameter and the second control parameter are both present before the basic input output system is started up, the control parameter with the largest value in the first control parameter and the second control parameter being determined as the first target control parameter, and the speed of the fan being adjusted using the first target control parameter.
[0098] Since there can be multiple temperature information of the external device expansion card, each second control parameter corresponding to different values can be determined according to each temperature information, the second control parameter with the largest value in each second control parameter being determined as the second control parameter for determining the first target control parameter.
[0099] The temperature information of the external device expansion card is obtained by the baseboard management controller communicating with the external device expansion card. With the start of the basic input / output system, the obtained temperature information of the external device expansion card will increase.
[0100] Therefore, before the basic input / output system is started, there are two special fan control scenarios. One is that no temperature information of any external device expansion card is obtained, and the other is that temperature information of all external device expansion cards included in the server can be obtained, which can be determined when the number of recognized external device expansion cards is the same as the number of obtained temperature information.
[0101] For these two special fan control scenarios, corresponding fan control strategies are set.
[0102] In the case where the temperature information of all the external device expansion cards is obtained, the rotation speed of the fan is controlled only by using the temperature information of the external device expansion card instead of the environmental temperature. That is, only the second control parameter is used to determine the first target control parameter of the fan.
[0103] In the case where no temperature information of the external device expansion card is obtained, since no temperature information is obtained, only the environmental temperature is used as the control basis, and the first target control parameter is determined by the first control parameter determined by the environmental temperature.
[0104] By comprehensively considering the environmental temperature and the temperature information of the external device expansion card, the rotation speed of the server fan can be more flexibly adjusted by using the embodiments of the present disclosure. By determining the control parameter of the fan according to the temperature of the external device expansion card, the heat dissipation can be more effectively, and the rotation speed of the fan can be avoided to be excessively increased. In the case where no temperature information of the external device expansion card is obtained, the environmental temperature is used as the control basis, and in the case where all the temperature information of the external device expansion card is obtained, only the temperature information of the external device expansion card is used as the control basis, on the basis of more flexibly adapting to different heat dissipation scenarios, the heat dissipation effect is improved.
[0105] In an optional embodiment, the method further comprises: in the case where the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information, determining a third control parameter of each fan corresponding to the slot information according to the temperature information; and determining the second target control parameter of each fan in the server according to at least the inconsistent identification, comprising: determining a fourth control parameter of each fan in the server according to the inconsistent identification; and determining the second target control parameter of each fan in the server according to the third control parameter and the fourth control parameter.
[0106] In the case that the slot information matches the temperature information successfully, that is, in the case that the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information, it is indicated that the temperature information corresponding to the external device expansion card can be determined to be in the position in the server, which is indicated by the position of the slot in the server.
[0107] In the case that it is determined which external device expansion card is inserted into the slot, and in the case that the temperature information corresponding to the external device expansion card can be obtained, the third regulation parameter of the fan associated with the slot at this time can be determined.
[0108] Since not all the temperature information and slot information of the system can be matched successfully one by one, there may be matching abnormal cases, that is, identification inconsistency cases, for example, the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information, and the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information. According to the identification inconsistency case, different heat dissipation regulation strategies are determined, so as to determine the fourth regulation parameter of each fan in the server in the matching abnormal aspect.
[0109] The second target regulation parameter of each fan in the server is combined with the third regulation parameter and the fourth regulation parameter.
[0110] For the same fan, the third regulation parameter and the fourth regulation parameter can be simultaneously possessed, for example, the existing fan 1 and fan 2 in the server, the matching successful slot 1, and the matching slot failed temperature information; the matching successful slot 1 is associated with the fan 1, and the third regulation parameter of the fan 1 is determined through the temperature information corresponding to the slot 1; the matching slot failed temperature information will affect the fan 1 and the fan 2; the fourth regulation parameter of the fan 1 and the fan 2 is determined through the matching slot failed temperature information; the third regulation parameter and the fourth regulation parameter are simultaneously possessed for the fan 1.
[0111] When the same fan simultaneously possesses the third regulation parameter and the fourth regulation parameter, the regulation parameter with the largest value in the third regulation parameter and the fourth regulation parameter is taken as the second target regulation parameter, and the second target regulation parameter is used for adjusting the rotation speed of the fan.
[0112] With the embodiments of the present disclosure, when the matching succeeds, the third regulation parameter of the fan associated with the matched slot can be determined, and the fan can be finely adjusted according to the temperature condition corresponding to the normal slot. When the slot information and the temperature information fail to match, the second target regulation parameter of each fan in the server can be determined according to the type of the matching failure, so that the system stability and reliability can be improved when facing abnormal conditions. Precise fan regulation not only helps heat dissipation, but also effectively reduces the energy consumption of the server and reduces unnecessary fan speed.
[0113] In an optional embodiment, after the target firmware is started, the first identification information corresponding to each temperature information is matched with the second identification information corresponding to each slot information, including: in the case that the in-place information of the slot indicates that the external device expansion card is currently inserted, the first identification information is matched with the second identification information corresponding to the slot by the baseboard management controller; in the case that the first identification information is consistent with the second identification information, and the first target information corresponding to the first identification information includes the temperature information, it is determined that the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information; in the case that the first identification information is inconsistent with the second identification information, and the first target information corresponding to the first identification information includes the temperature information, it is determined that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information; in the case that the first identification information is consistent with the second identification information, and the first target information corresponding to the first identification information does not include the temperature information, it is determined that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information.
[0114] The first target information obtained by the baseboard management controller and the second target information obtained by the basic input output system can be used to match the slot information and the temperature information.
[0115] Before the matching of the slot information and the temperature information is performed, the in-place information of the slot needs to be determined. Only when the in-place information of the slot indicates that the external device expansion card is inserted into the slot, the slot information of the slot is matched with the temperature information. Each slot matched with the temperature information is a slot in which the external device expansion card is inserted.
[0116] The first identification information included in the first target information and the second identification information included in the second target information can be compared.
[0117] In a case where the first identification information and the second identification information are consistent, it is indicated that the external device expansion card corresponding to the second identification information can be determined to be in which slot. Moreover, if the first target information corresponding to the first identification information includes the temperature information, the temperature information corresponding to the external device expansion card can also be determined. Thus, the temperature information can also be matched with the slot information. For the fan associated with the slot, the fan associated with the slot can be accurately controlled according to the external device expansion card inserted into the slot. Specifically, a pre-set slot control strategy can be used.
[0118] In the matching process, a matching failure case can occur.
[0119] In a case where the first identification information and the second identification information are inconsistent, and the first target information corresponding to the first identification information includes the temperature information, it is indicated that the temperature information included in the first target information cannot be determined to be in which slot at this time. This case is determined as a first matching failure type, and the first matching failure type specifically means that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information. This can mean that the expansion card can be incorrectly installed in a non-matching slot, or the identification information of the slot is incorrect.
[0120] In a case where the first identification information and the second identification information are consistent, and the first target information corresponding to the first identification information does not include the temperature information, it is indicated that which external device expansion card inserted into the slot can be determined at this time, but the temperature information of the external device expansion card cannot be obtained. This case is determined as a second matching failure type, and the second matching failure type specifically means that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information. This can mean that the expansion card itself does not support temperature monitoring, or the temperature information is lost or damaged in the transmission process.
[0121] By matching the first identification information and the second identification information, each external device expansion card is correctly identified and associated with its physical installation position, which helps the system administrator or the automated management system to accurately track and monitor the hardware configuration of the server and implement targeted heat dissipation strategies. Through the specific matching failure reason and the determination of the corresponding matching failure type, the server can be more intelligently cooled.
[0122] In an optional embodiment, in the case that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each of the slot information, the fourth control parameter of each fan in the server is determined according to the inconsistency of the identification, including: determining an external device expansion card corresponding to the temperature information; and determining the fourth control parameter of each fan in the server according to the external device expansion card and the temperature information.
[0123] In the case that the matching failure type is the first matching failure type, that is, in the case that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each of the slot information, it indicates that there is temperature information in the server that cannot be determined in a physical position. In order to ensure that the heat dissipation requirement of the external device expansion card corresponding to the temperature information can be met in any position in the server, the fourth control parameter of each fan in the server is determined by the temperature information at this time, and the fourth control parameter of each fan is the same.
[0124] At this time, the fourth control parameter of the fan is determined by the temperature information corresponding to the external device expansion card, and a single temperature control strategy can be used. A fourth control parameter is determined, and the fourth control parameter will affect all the fans included in the server.
[0125] By real-time detection of the matching failure type and adjustment of the fan parameter according to the temperature information, the system can quickly respond to hardware configuration errors or temperature abnormalities, thereby improving the response speed and flexibility of the system. By real-time detection of the matching failure type and determination of the control parameter of all the fans included in the server according to the temperature information of the external device expansion card in the case of the first matching failure type, the heat dissipation requirement of the external device expansion card can be met when the temperature information cannot be matched to a specific physical position.
[0126] In an optional embodiment, in the case where the second identification information corresponding to the slot information and the first identification information corresponding to each temperature information are inconsistent, the fourth control parameter of each fan in the server is determined according to the inconsistent identification, including: determining the risk level of the external device expansion card inserted into the slot; the risk level is set in advance according to the type and importance of each external device expansion card; in the case where the risk level of the external device expansion card is low, the basic control parameter is determined as the fourth control parameter corresponding to each fan corresponding to the slot; in the case where the risk level of the external device expansion card is medium, the target category of the external device expansion card is determined; the maximum temperature of each external device expansion card in the target category is obtained; the fourth control parameter corresponding to each fan corresponding to the slot is determined through the maximum temperature; in the case where the risk level of the external device expansion card is high, the fourth control parameter corresponding to each fan corresponding to the slot is determined through the environmental temperature.
[0127] In the case where the matching failure type is the second matching failure type, that is, in the case where the second identification information corresponding to the slot information and the first identification information corresponding to each temperature information are inconsistent, it indicates that the current external device expansion card corresponds to which slot can be determined, but the temperature corresponding to the external device expansion card cannot be obtained. At this time, the fourth control parameter of each fan associated with the slot can be determined according to the heat dissipation risk level of the external device expansion card inserted into the slot, without determining the fourth control parameter of all fans included in the server.
[0128] The risk level corresponding to each external device expansion card can be determined in advance according to the type of the external device expansion card and the importance of the external device expansion card, and the corresponding relationship between the external device expansion card and the risk level is stored in the accessible memory. In the heat dissipation control scene of the second matching failure type, the risk level of the external device expansion card inserted into the slot is determined from the memory.
[0129] The risk level includes low risk, medium risk and high risk from low to high.
[0130] In the case where the second matching failure type is determined, the slot of the second matching failure type is determined; the external device expansion card inserted into the slot is determined; the control strategy is determined according to the risk level set in advance for the external device expansion card.
[0131] In the case that the risk level of the external device expansion card inserted in the slot is low, the additional regulation parameters can not be determined at this time, and the basic heat dissipation capacity of the system is trusted. The basic regulation parameters are determined as the fourth regulation parameters corresponding to each fan corresponding to the slot, and the basic regulation parameters are used to control the rotating speed of each fan associated with the slot. The basic regulation parameters can be determined by the environmental temperature, and the regulation strategy used can be the ambient temperature start-up regulation strategy.
[0132] In the case that the risk level of the external device expansion card inserted in the slot is medium, the heat dissipation demand of the external device expansion card needs to be concerned at this time. The maximum temperature of each external device expansion card in the target category can be obtained according to the type corresponding to the external device expansion card. Specifically, each external device expansion card included in the type in the server and the temperature information corresponding to each external device expansion card are determined, and the temperature information with the highest value is taken as the maximum temperature from the plurality of temperature information. Through the maximum temperature, the fourth regulation parameters of each fan associated with the slot are determined.
[0133] In the case that the risk level of the external device expansion card inserted in the slot is high, the fourth regulation parameters of each fan associated with the slot are determined by the environmental temperature. Specifically, the ambient temperature abnormal regulation strategy is used.
[0134] Among them, the fourth regulation parameters corresponding to the same fan can be multiple, and the fourth regulation parameter with the largest value is taken as the target fourth regulation parameter of the fan.
[0135] By dynamically adjusting the regulation parameters of the fan according to the risk level of the external device expansion card, the heat dissipation management can be more refined by adopting the embodiments of the present disclosure. Different regulation strategies are adopted for external device expansion cards with different risk levels. Low-risk devices can only need basic regulation, while high-risk devices need more aggressive heat dissipation measures, which helps to ensure the stable operation of the server. Under the premise of ensuring the heat dissipation effect, the operation power consumption of the fan can be reduced through refined regulation, which helps to reduce the overall energy consumption of the server.
[0136] Among them, in an optional embodiment, in the case that the second identification information corresponding to the slot information and the first identification information corresponding to each temperature information are inconsistent in the same area of the server, the fourth regulation parameters of each fan in the server are determined according to the inconsistent identification, which comprises: the fourth regulation parameters of each fan corresponding to each slot are determined by the environmental temperature.
[0137] When multiple slots in the same area fail to match under the second type of failure, it means that a large amount of temperature information is lost in that area. This indicates that there may be a serious monitoring blind spot in that area, which requires special attention and indicates that the area has a high risk of heat dissipation.
[0138] Therefore, even if a low-risk device is inserted into a slot in the region where the failure type is the second type of failure, the most conservative control strategy will be adopted directly.
[0139] Using a pre-set ambient temperature anomaly control strategy, the fourth control parameter of the fan associated with each slot is determined based on the current ambient temperature. At this time, the values of all control parameters are the same.
[0140] By employing the embodiments of this disclosure, in situations where monitoring blind spots exist, the most conservative control strategy can ensure maximum heat dissipation in that area. By using a unified ambient temperature anomaly control strategy and setting the same control parameter values, the heat dissipation management process can be simplified. The pre-set ambient temperature anomaly control strategy can quickly respond to changes in the current ambient temperature and adjust the fan control parameters as needed.
[0141] In one optional embodiment, the method further includes: determining a fifth control parameter based on ambient temperature after the target firmware has booted; using the fifth control parameter as the basic control parameter after the target firmware boots; the basic control parameter representing the minimum control parameter of each fan in the server; and determining the second target control parameter of each fan in the server using the third control parameter and the fourth control parameter, which includes determining the second target control parameter of each fan in the server using the third control parameter, the fourth control parameter, and the fifth control parameter.
[0142] After the Basic Input / Output System (BIOS) starts up, ambient temperature is used as the basis for fan speed adjustment. At this point, the fifth adjustment parameter corresponding to the ambient temperature is the lowest value among all fans in the system. Using this fifth adjustment parameter as the basic adjustment parameter after BIOS startup means that even if individual devices in the server do not require cooling from this fan, it still needs to run to meet the overall cooling requirements of the server. The statement that individual devices in the server do not require cooling from this fan indicates that none of the slots with external expansion cards are associated with this fan.
[0143] After the basic input / output system has started up, the ambient temperature startup control strategy is used to determine the fifth control parameter corresponding to the ambient temperature. This fifth control parameter applies to all fans in the server, and the same fifth control parameter applies to each fan.
[0144] In the determination of the second target control parameter of each fan in the server after the basic input output system startup is completed, the third control parameter, the fourth control parameter and the fifth control parameter are combined to determine.
[0145] One fan at least has the fifth control parameter, and in the case that the same fan has the third control parameter, the fourth control parameter and the fifth control parameter, the control parameter with the largest value is selected as the second target control parameter of the fan.
[0146] By using the embodiments of the present disclosure, after the target firmware startup is completed, the fifth control parameter is determined by monitoring the environmental temperature, which can help the system to adjust the running state of the fan according to the current environmental conditions, so as to ensure that the equipment works in the best temperature range. The target control parameter of the fan is determined by using multiple control parameters, so that the system can quickly respond to environmental changes, maintain cooling performance, and adapt to the needs of different loads and environmental conditions. By setting the minimum control parameter and dynamically controlling the running state of the fan, it can be avoided that the fan runs at full speed in unnecessary cases.
[0147] Figure 2 is a heat dissipation control timing diagram shown by an embodiment of the present disclosure. According to the diagram, the heat dissipation control of the server is divided into two stages. Figure 2
[0148] In the first stage, the server is powered on, and the basic input output system is started; with the startup of the basic input output system, the basic input output system first queries and obtains the second target information in real time; the second target information includes the second identification information of the external device expansion card on the slot, 4 ID information, slot information; then the baseboard management controller queries the state of the basic input output system regularly and obtains the state of the basic input output system; after the startup of the basic input output system, the ring temperature startup process control is enabled; the baseboard management controller regularly queries the in-place information of each slot and obtains the in-place information of each slot; the baseboard management controller regularly communicates with the external device expansion card; the first target information is queried and obtained; the first target information includes the type of the external device expansion card, the first identification information and the temperature information; wherein, based on the slot in-place information and the temperature, different heat dissipation speed control strategies are started if all the slots in place have temperature, only the component single temperature control strategy is started, and the ring temperature startup process control strategy is closed
[0149] In the second stage, the Basic Input / Output System (BIOS) completes startup. The BIOS sends the first target information to the baseboard management controller. After the BIOS startup is complete, if ambient temperature startup process control is not disabled, it is disabled and ambient temperature startup completion control is enabled. Ambient temperature startup process control is enabled after the BIOS startup. The baseboard management controller periodically queries the availability information of each slot and obtains the availability information. The baseboard management controller periodically communicates with external device expansion cards; queries the first target information and obtains the first target information. The baseboard management controller matches the second target information from the BIOS with the first target information. If the match is successful, the slot control strategy is enabled. For second matching failure types, the control strategy is determined based on the risk level of the external device expansion card. If regional temperature information is lost, ambient temperature anomaly control is enabled.
[0150] Figure 3 This is a block diagram illustrating a server heat dissipation control device according to an embodiment of this disclosure. Figure 3 As shown, the server heat dissipation control device includes:
[0151] The first control module 310 is used to determine a first target control parameter based on the ambient temperature and the temperature information of the external device expansion card before the target firmware is fully booted; the first target control parameter is used to control the fan speed before the target firmware is fully booted.
[0152] The second control module 320 is used to match the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information after the target firmware is started. If the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information, and / or if the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information, the second target control parameter is determined based on the inconsistency of the identification information to determine the second target control parameter of each fan in the server. The second target control parameter is used to control the fan speed after the target firmware is started.
[0153] This disclosure also provides an electronic device, with reference to... Figure 4 , Figure 4 This is a schematic diagram of an electronic device according to an embodiment of this disclosure. For example... Figure 4 As shown, the electronic device 400 includes a memory 410 and a processor 420. The memory 410 and the processor 420 are connected via a bus for communication. The memory 410 stores a computer program that can run on the processor 420 to implement the steps in the server heat dissipation control method disclosed in this embodiment.
[0154] The embodiment of the present disclosure further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in the server heat dissipation regulation method.
[0155] The embodiment of the present disclosure further provides a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the steps in the server heat dissipation regulation method.
[0156] Each of the embodiments in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts between the embodiments can be referred to each other.
[0157] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, device or computer program product. Therefore, the embodiments of the present disclosure can adopt a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present disclosure can adopt the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0158] The embodiments of the present disclosure are described with reference to flowcharts and / or block diagrams of the method, device, electronic equipment and computer program product according to the embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal equipment to produce a machine, so that the instructions executed by the computer or other programmable data processing terminal equipment produce a device for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 The device for implementing the functions specified in one or more flows and / or blocks. Figure 1 The device for implementing the functions specified in one or more flows and / or blocks.
[0159] These computer program instructions can also be stored in a computer readable storage medium to guide the computer or other programmable data processing terminal equipment to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a product including instruction devices, which implement the functions specified in the flowcharts and / or block diagrams. Figure 1 The device for implementing the functions specified in one or more flows and / or blocks. Figure 1 The device for implementing the functions specified in one or more flows and / or blocks.
[0160] These computer program instructions can also be loaded into a computer or other programmable data processing terminal device, so that a series of operational steps are performed on the computer or other programmable terminal device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide a process for implementing the functions specified in the flowchart Figure 1 one flow or multiple flows and / or the functions specified in the block Figure 1 one block or multiple blocks.
[0161] Although some embodiments of the present disclosure have been described, those skilled in the art who have the basic inventive concept can make further changes and modifications to these embodiments. Therefore, the appended claims are intended to include the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present disclosure.
[0162] The above describes in detail a server heat dissipation regulation method and device provided by the present disclosure, and the principles and implementation manners of the present disclosure are described by applying specific examples. The above description of the embodiments is only for helping to understand the method of the present disclosure and its core idea; meanwhile, for those skilled in the art, according to the idea of the present disclosure, there will be changes in the specific implementation manners and application ranges; and in summary, the content of the present description should not be understood as a limitation of the present disclosure.
Claims
1. A method for regulating the heat dissipation of a server, characterized in that, The application comprises the following steps: Before the target firmware is started, a first target control parameter is determined according to the ambient temperature and the temperature information of the external device expansion card; The first target control parameter is used to control the rotation speed of the fan before the target firmware is started; After the target firmware is started, the first identification information corresponding to each temperature information is matched with the second identification information corresponding to each slot information, the first identification information is the BDF information obtained by the baseboard management controller, the second identification information is the BDF information obtained by the basic input / output system, in the case that the first identification information corresponding to the temperature information and the second identification information corresponding to each slot information are inconsistent, and / or in the case that the second identification information corresponding to the slot information and the first identification information corresponding to each temperature information are inconsistent, a second target control parameter of each fan in the server is determined according to the inconsistent identification information; The second target control parameter is used to control the rotation speed of the fan after the target firmware is started; In the case that the first identification information corresponding to the temperature information and the second identification information corresponding to the slot information are consistent, a third control parameter of each fan corresponding to the slot information represented by the slot information is determined according to the temperature information; The second target control parameter of each fan in the server is determined according to the inconsistent identification information, comprising: The fourth control parameter of each fan in the server is determined according to the inconsistent identification information; The second target control parameter of each fan in the server is determined according to the third control parameter and the fourth control parameter, the second target control parameter is the value with the largest value in the third control parameter and the fourth control parameter.
2. The method of claim 1, wherein, The first target control parameter is determined according to the ambient temperature and the temperature information of the external device expansion card, comprising: The first control parameter is determined by the ambient temperature according to the pre-set ambient temperature starting process control strategy, the first control parameter changes with the change of the ambient temperature; and the second control parameter is determined by the temperature information of the external device expansion card according to the pre-set component single temperature control strategy, the second control parameter changes with the change of the temperature of the external device expansion card; The first target control parameter of each fan in the server is determined by the first control parameter and the second control parameter; In the case that the temperature information corresponding to all the external device expansion cards is obtained, the first target control parameter of each fan in the server is determined by the second control parameter; in the case that no temperature information corresponding to any external device expansion card is obtained, the first target control parameter of each fan in the server is determined by the first control parameter.
3. The method of claim 1, wherein, Further comprising: After the target firmware is started, a fifth control parameter is determined by the ambient temperature; The fifth control parameter is used as the basic control parameter after the target firmware is started; The basic control parameter represents the minimum control parameter of each fan in the server; The second target control parameter of each fan in the server is determined by the third control parameter and the fourth control parameter, comprising: The fourth control parameter of each fan in the server is determined according to the inconsistent identification information. The third regulation parameter, the fourth regulation parameter and the fifth regulation parameter are used to determine the second target regulation parameter of each fan in the server.
4. The method of claim 1, wherein, The information of the external device expansion card is obtained in the following way: After the server is powered on, the first target information corresponding to each external device expansion card is obtained by communicating with the external device expansion card through a baseboard management controller at a preset period. The first target information at least includes first identification information used to identify the external device expansion card which communicates with the baseboard management controller. The slot information is obtained in the following way: Before the target firmware is started, the second target information corresponding to each slot is obtained through the target firmware, and after the target firmware is started, the second target information is sent to the baseboard management controller through the target firmware; the second target information at least includes second identification information of the external device expansion card inserted in the slot.
5. The method of claim 4, wherein, After the target firmware is started, the first identification information corresponding to each temperature information is matched with the second identification information corresponding to each slot information, including: When the in-place information of the slot indicates that the external device expansion card is currently inserted, the first identification information is matched with the second identification information corresponding to the slot through the baseboard management controller; When the first identification information is consistent with the second identification information, and the first target information corresponding to the first identification information includes the temperature information, it is determined that the first identification information corresponding to the temperature information is consistent with the second identification information corresponding to the slot information; When the first identification information is inconsistent with the second identification information, and the first target information corresponding to the first identification information includes the temperature information, it is determined that the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information; When the first identification information is consistent with the second identification information, and the first target information corresponding to the first identification information does not include the temperature information, it is determined that the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information.
6. The method of claim 1, wherein, When the first identification information corresponding to the temperature information is inconsistent with the second identification information corresponding to each slot information, the fourth regulation parameter of each fan in the server is determined according to the inconsistent identification, including: The external device expansion card corresponding to the temperature information is determined; The fourth regulation parameter of each fan in the server is determined according to the external device expansion card and the temperature information.
7. The method of claim 1, wherein, When the second identification information corresponding to the slot information is inconsistent with the first identification information corresponding to each temperature information, the fourth regulation parameter of each fan in the server is determined according to the inconsistent identification, including: determining a risk level of the external device expansion card inserted into the slot; the risk level is preset according to the type and importance of each external device expansion card; in the case that the risk level of the external device expansion card is low, determining the basic regulation parameter as the fourth regulation parameter corresponding to each fan corresponding to the slot; in the case that the risk level of the external device expansion card is medium, determining a target category of the external device expansion card; obtaining the maximum temperature of each external device expansion card in the target category; and determining the fourth regulation parameter corresponding to each fan corresponding to the slot through the maximum temperature; in the case that the risk level of the external device expansion card is high, determining the fourth regulation parameter corresponding to each fan corresponding to the slot through the environmental temperature.
8. The method of claim 1, wherein, in the case that the first identification information corresponding to each temperature information and the second identification information corresponding to each slot information are inconsistent, the fourth regulation parameter of each fan in the server is determined according to the inconsistent identification information, comprising: determining the fourth regulation parameter corresponding to each fan corresponding to each slot through the environmental temperature.
9. A server heat regulation device, comprising: comprising: a first regulation module, configured to determine a first target regulation parameter according to the environmental temperature and the temperature information of the external device expansion card before the target firmware is started; the first target regulation parameter is used to regulate the fan speed before the target firmware is started; a second regulation module, configured to match the first identification information corresponding to each temperature information with the second identification information corresponding to each slot information after the target firmware is started; the first identification information is the BDF information obtained by the baseboard management controller, and the second identification information is the BDF information obtained by the basic input / output system; in the case that the first identification information corresponding to each temperature information and the second identification information corresponding to each slot information are inconsistent, and / or in the case that the second identification information corresponding to each slot information and the first identification information corresponding to each temperature information are inconsistent, the second target regulation parameter of each fan in the server is determined at least according to the inconsistent identification information; the second target regulation parameter is used to regulate the fan speed after the target firmware is started; in the case that the first identification information corresponding to the temperature information and the second identification information corresponding to the slot information are consistent, the third regulation parameter of each fan corresponding to the slot represented by the slot information is determined according to the temperature information; determining the second target regulation parameter of each fan in the server at least according to the inconsistent identification information, comprising: determining the fourth regulation parameter of each fan in the server according to the inconsistent identification information; determining the second target regulation parameter of each fan in the server according to the third regulation parameter and the fourth regulation parameter; the second target regulation parameter is the value of the maximum value of the third regulation parameter and the fourth regulation parameter.
Citation Information
Patent Citations
Method, device and equipment for controlling heat dissipation of PCIe card and storage medium
CN114356057A
Server heat dissipation regulation and control method, device and equipment and storage medium
CN118625903A