Hard disk heat dissipation method

By pre-storing the speed regulation function parameters of the hard disk and obtaining and applying them in BMC, the hard disk model adaptation problem in air-cooled servers is solved, and the hard disk is operated under normal temperature environments is realized, avoiding the increase in the cost of upgrading the BMC version.

CN119200773APending Publication Date: 2024-12-27XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411150563.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The BMC version of the existing air-cooled server cannot be effectively adapted to different models of hard disks, resulting in the hard disk being unable to work in normal temperature environments, and upgrading the BMC version will increase R&D costs.

Method used

The hard disk pre-stores the speed regulation function parameters of the heat dissipation device. The BMC determines whether the current speed regulation function is adapted by obtaining the identification information of the hard disk. If it is not adapted, the speed regulation function parameters will be obtained from the hard disk and a new speed regulation function will be generated to control the heat dissipation device. Make sure the hard disk is running under normal temperature environment.

Benefits of technology

It realizes adaptation to any type of hard disk, without upgrading the BMC version, ensuring that the hard disk works in normal temperature environment, expanding the optional range of the hard disk, and reducing R&D costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200773A_ABST
    Figure CN119200773A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a hard disk heat dissipation method, a speed regulation function parameter of a heat dissipation device is pre-stored in a hard disk, the method is executed by a baseboard management controller (BMC), and the method comprises the following steps: obtaining identification information of the hard disk; under the condition that the current speed regulation function in the BMC is determined to be not matched with the hard disk based on the identification information of the hard disk, acquiring the speed regulation function parameter from the hard disk; and based on the speed regulation function parameter, controlling a heat dissipation device in the server. The embodiment of the invention can be adapted to any type of hard disk, and controls the heat dissipation device to dissipate heat without upgrading the BMC version.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a hard disk heat dissipation method. Background Art

[0002] The server includes multiple components, such as CPU, network card, hard disk, etc. In order to ensure the performance and reliability of each component, each component needs to work in a specified temperature environment. Taking air-cooled servers as an example, currently, air-cooled servers usually control the fan speed according to the fan speed control function through BMC (Baseboard Management Controller) to achieve temperature control. In BMC, the fan speed control function is mainly determined by the heat dissipation requirements of the components inside the server, and the hard disk is one of the heat sources. Generally, different models of hard disks have different heat dissipation requirements. At this stage, each BMC version can only adapt to the hard disk that has been adapted when it was released. For subsequent hard disks, if the model of the hard disk is the same as the model of the hard disk that the BMC has adapted, then under the current BMC version, it can be guaranteed that the hard disk can work in a normal temperature environment; if the model of the hard disk is different from the model of the hard disk that the BMC has adapted, then under the current BMC version, it cannot be guaranteed that the hard disk can work in a normal temperature environment. Therefore, in order to ensure that the hard disk can work in a normal temperature environment, you can choose a hard disk of the same model as the hard disk that the BMC has adapted, which will obviously reduce the range of hard disk options. Alternatively, you can upgrade the BMC version, which will obviously increase the R&D cost. Summary of the invention

[0003] The embodiment of the present application provides a hard disk heat dissipation method, which can be adapted to any model of hard disk and control the heat dissipation device to dissipate heat without upgrading the BMC version.

[0004] In a first aspect, an embodiment of the present application provides a hard disk heat dissipation method, characterized in that speed regulation function parameters of a heat dissipation device are pre-stored in the hard disk, and the method is executed by a baseboard management controller BMC, and the method includes: obtaining identification information of the hard disk; when it is determined based on the identification information of the hard disk that a current speed regulation function in the BMC is not suitable for the hard disk, obtaining the speed regulation function parameters from the hard disk; and controlling the heat dissipation device in the server based on the speed regulation function parameters.

[0005] In this embodiment, any model of hard disk can be adapted, and the heat dissipation device can be controlled to dissipate heat without upgrading the BMC version.

[0006] In some possible examples, the hard disk is a solid-state hard disk based on the NVMe protocol, and the speed control function parameters are stored in the first reserved field of the NVMe management interface NVMe-MI protocol; and obtaining the speed control function parameters from the hard disk includes: reading the speed control function parameters from the first reserved field of the solid-state hard disk.

[0007] In this example, a solid-state drive based on the NVMe protocol can be used as a hard disk, and the BMC can read the speed control function parameters from the reserved field of the NVMe-MI protocol.

[0008] In some possible examples, the hard disk is a SAS hard disk or a SATA hard disk, and the speed control function parameters are stored in the second reserved field of the Identify frame; and obtaining the speed control function parameters from the hard disk includes: reading the speed control function parameters from the second reserved field of the Identify frame reported by the SAS hard disk or the SATA hard disk.

[0009] In this example, a SAS hard disk or a SATA hard disk can be used as a hard disk, and the BMC can read the speed control function parameters from the reserved field of the Identify frame.

[0010] In some possible examples, the heat dissipation device in the server is also used to dissipate heat for multiple components in the server other than the hard disk, each of the multiple components corresponds to a speed control function parameter, and the current speed control function is generated by combining the original hard disk and the speed control function parameters of the multiple components; and controlling the heat dissipation device in the server based on the speed control function parameters includes: generating a new speed control function according to the speed control function parameters of the hard disk and the speed control function parameters of the multiple components; and controlling the heat dissipation device in the server according to the new speed control function.

[0011] In this example, a new speed regulation function may be generated according to the speed regulation function parameters of the hard disk and the speed regulation function parameters of multiple components, so that the BMC may control the heat dissipation device in the server according to the new speed regulation function.

[0012] In some possible examples, the BMC stores target identification information, which is identification information of a hard disk that is adapted to the current speed regulation function; and the method further includes: comparing the identification information of the hard disk with the target identification information; and judging whether the current speed regulation function is adapted to the hard disk based on the comparison result.

[0013] In this example, it can be determined whether the current speed regulation function is suitable for the hard disk.

[0014] In some possible examples, controlling the heat dissipation device in the server based on the speed control function parameters includes: generating a new speed control function based on the speed control function parameters; and controlling the operation of the heat dissipation device in the server according to the new speed control function to dissipate heat for the hard disk. Thus, the newly installed hard disk can operate in a normal temperature environment.

[0015] In a second aspect, an embodiment of the present application provides another hard disk heat dissipation method, characterized in that the speed control function parameters of the heat dissipation device are pre-stored in the hard disk, and the method is executed by the hard disk. The method includes: after the hard disk is connected to the server, the hard disk sends the identification information of the hard disk to the baseboard management controller BMC of the server; when receiving a parameter read request sent by the baseboard management controller BMC, the speed control function parameters are sent to the baseboard management controller BMC.

[0016] In a third aspect, an embodiment of the present application provides a hard disk cooling device, wherein the hard disk pre-stores speed control function parameters of the cooling device, and the device can be deployed in a baseboard management controller BMC. The cooling device may include: a first acquisition unit, configured to acquire identification information of the hard disk; a second acquisition unit, configured to acquire the speed control function parameters from the hard disk when it is determined based on the identification information of the hard disk that the current speed control function in the BMC is not suitable for the hard disk; and a control unit, configured to control the cooling device in the server based on the speed control function parameters.

[0017] In the fourth aspect, an embodiment of the present application further provides a hard disk cooling device, wherein the hard disk pre-stores speed control function parameters of the cooling device, the device can be deployed on the hard disk, and the cooling device may include: a first sending unit 701, configured to send the identification information of the hard disk to the baseboard management controller BMC of the server after the hard disk is connected to the server; a second sending unit 702, configured to send the speed control function parameters to the baseboard management controller BMC upon receiving a parameter read request sent by the baseboard management controller BMC.

[0018] In a fifth aspect, an embodiment of the present application provides a hard disk, characterized in that the hard disk stores a program and speed regulation function parameters of a heat dissipation device, and the program is used to execute any method described in the second aspect.

[0019] In a sixth aspect, an embodiment of the present application provides a server, characterized in that it includes: a baseboard management controller BMC, and the baseboard management controller BMC is used to execute any method described in the first aspect.

[0020] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram showing an application scenario in which an embodiment of the present application is applied;

[0022] Figure 2 A schematic diagram of a process of a hard disk heat dissipation method according to an embodiment is shown;

[0023] Figure 3 A schematic diagram showing the acquisition of speed control function parameters from different hard disks is shown;

[0024] Figure 4 It shows the schematic diagram from hard disk development to application in server;

[0025] Figure 5 A schematic flow chart of a hard disk heat dissipation method according to another embodiment is shown;

[0026] Figure 6 A schematic block diagram of a hard disk heat dissipation device according to an embodiment is shown;

[0027] Figure 7 A schematic block diagram of a hard disk heat dissipation device according to yet another embodiment is shown. DETAILED DESCRIPTION

[0028] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0029] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.

[0030] In the description of this document, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.

[0031] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0032] To facilitate understanding of the technical solutions of the embodiments of the present application, the terms involved in this document are explained below.

[0033] Baseboard management controller: The full English name is Baseboard Management Controller, abbreviated as BMC. The baseboard management controller is a dedicated controller used to monitor and manage servers.

[0034] BMC can be used to achieve a variety of functions. For example, it can be used to manage device information. Specifically, it can record detailed information about the server, including model, manufacturer, date, production and technical information of each component, chassis information, motherboard information, etc., as well as BMC's own information, such as server host name, IP address, BMC firmware version, etc.

[0035] For another example, BMC can also be used to implement server status monitoring and management. Specifically, it can detect the temperature, voltage and other health status of each server component (such as CPU, memory, hard disk, fan, frame, etc.). At the same time, according to the conditions of each temperature collection point, the operation of the heat dissipation device is adjusted in real time to ensure that the server does not overheat and control the overall power consumption within a reasonable range. If any abnormality occurs in a single board component, BMC will report the information to the upper-level network management in a timely manner through various industry-wide specifications such as SNMP protocol, SMTP protocol, and Redfish protocol.

[0036] For another example, BMC can also be used to implement remote control management of servers, including server power on / off, restart, maintenance, firmware update, system installation and other operations.

[0037] For example, the BMC can also be used for maintenance management, which can specifically include log management, user management, BIOS management, alarm management, etc.

[0038] The present application embodiment provides a hard disk heat dissipation method. Figure 1 As shown, Figure 1 A schematic diagram showing an application scenario in which the embodiments of this specification can be applied is shown. Figure 1In the application scenario shown, an air-cooled server is taken as an example. The heat dissipation device in the air-cooled server is a fan, and the speed regulation function parameters of the fan are pre-stored in the hard disk 101. By inserting the hard disk 101 into the hard disk slot of the server 100, the hard disk 101 can be connected to the server 100. After that, the baseboard management controller BMC102 can obtain the identification information XX of the hard disk 101. In this example, the identification information of the hard disk 101 may include a model, and the current speed regulation function of the baseboard management controller BMC102 can adapt to a hard disk of model YY, that is, under the current speed regulation function of BMC102, a hard disk of model YY can work in a normal temperature environment. According to the identification information XX of the hard disk 101, BMC102 can determine that the current speed regulation function of BMC102 cannot adapt to the hard disk 101. At this time, BMC102 can obtain the speed regulation function parameters of the heat dissipation device from the hard disk 101. Finally, BMC102 can control the speed of the fan in server 100 based on the speed control function parameters obtained from hard disk 101 to dissipate heat from hard disk 101, so that hard disk 101 can work in a normal temperature environment. In this application scenario, since the speed control function parameters of the heat dissipation device are pre-stored in the hard disk, when BMC determines that the current speed control function is not suitable for the hard disk, it can easily and quickly obtain the speed control function parameters from the hard disk, thereby enabling the hard disk to work in a normal temperature environment. In this way, it is possible to adapt to any model of hard disk and control the heat dissipation device for heat dissipation without upgrading the BMC version.

[0039] Continue to see Figure 2 , Figure 2 FIG. 1 is a flow chart of a hard disk heat dissipation method according to an embodiment. The method can be executed by a baseboard management controller BMC and can be used to dissipate heat for a hard disk after a hard disk is installed in a server. Figure 2 As shown, the hard disk heat dissipation method may include the following steps 201 to 203, specifically:

[0040] Step 201, obtaining identification information of the hard disk.

[0041] In this embodiment, the hard disk may refer to a hard disk used to replace the original hard disk in the server. In practice, the hard disk may be hard disks of various models. When in use, the hard disk may be connected to the server. For example, the hard disk may be inserted into the hard disk slot of the server. After the server is started, the newly inserted hard disk may be identified to establish a connection. Here, the hard disk may store its own identification information, wherein the identification information may include but is not limited to the model information, name, number, etc. of the hard disk. In this way, when the hard disk is connected to the server, the baseboard management controller BMC may obtain the identification information of the hard disk.

[0042] In this embodiment, the speed control function can be an important tool for the BMC to control the heat dissipation device according to the temperature of the component to be dissipated in the server. Here, the heat dissipation device may include a fan, a cold plate, etc. Taking an air-cooled server as an example, the speed control function can realize the control of the fan speed by setting the fan speed corresponding to different temperature points. Taking a liquid-cooled server as an example, the speed control function can realize the control of the liquid flow speed in the cold plate by setting the liquid flow speed in the cold plate corresponding to different temperature points. For example, the speed control function can be a curve describing the relationship between the operating speed of the heat dissipation device and the temperature of the component to be dissipated. In this example, the current speed control function of the BMC can be adapted to some models of hard disks. Based on this, the BMC can determine whether the current speed control function is adapted to the hard disk according to the identification information of the hard disk. If the current speed control function of the BMC can be adapted to the hard disk, it means that the BMC controls the operation of the heat dissipation device according to the current speed control function, which can meet the heat dissipation requirements of the hard disk and ensure that the hard disk can work in a normal temperature environment. On the contrary, if the current speed regulation function of the BMC cannot adapt to the hard disk, it means that the BMC controls the operation of the heat dissipation device according to the current speed regulation function and cannot meet the heat dissipation requirements of the hard disk. Therefore, the hard disk may work in an over-temperature environment.

[0043] In some implementations, target identification information may be stored in the BMC, and the target identification information may be identification information of a hard disk that is adapted to the current speed control function. Based on this, the BMC may also: compare the identification information of the hard disk obtained in step 201 with the target identification information. Afterwards, based on the comparison result, determine whether the current speed control function is adapted to the hard disk. For example, if, through comparison, it is found that the identification information of the obtained hard disk is the same as the target identification information, it means that the current speed control function is adapted to the hard disk; conversely, if they are different, it means that the current speed control function is not adapted to the hard disk. Through this implementation, it can be determined whether the current speed control function is adapted to the hard disk.

[0044] In some implementations, when the current speed control function is adapted to the hard disk, the BMC can continue to use the current speed control function to control the operation of the heat dissipation device in the server to dissipate heat for the newly connected hard disk. Thus, when the current speed control function is adapted to the hard disk, heat dissipation for the hard disk can be achieved.

[0045] Step 202: when it is determined based on the identification information of the hard disk that the current speed adjustment function in the BMC is not compatible with the hard disk, obtain speed adjustment function parameters from the hard disk.

[0046] In this embodiment, the speed regulation function parameters of the heat dissipation device may be pre-stored in the hard disk. As an example, the speed regulation function parameters of the heat dissipation device corresponding to the hard disk may be set by a technician based on experience or obtained through testing. Here, the speed regulation function parameters may include various parameters related to the speed regulation of the heat dissipation device. In this way, when the current speed regulation function of the BMC is not compatible with the hard disk, the BMC may obtain the speed regulation function parameters of the hard disk from the hard disk.

[0047] In some implementations, the hard disk can be a solid-state hard disk based on the NVMe protocol, wherein the NVMe protocol is a logical device interface specification. The NVMe disk has an out-of-band management function, and the speed control function parameters can be passed through the NVMe-MI (NVMe Management Interface) protocol. The NVMe-MI protocol is an extension of the NVMe specification, which defines a set of commands and mechanisms for managing and monitoring NVMe storage devices. These commands and mechanisms allow administrators to interact with NVMe devices in an in-band or out-of-band manner to perform tasks such as firmware updates, health information retrieval, performance monitoring, and security configuration. In the NVMe-MI protocol, VPD (Vital Product Data) or SMD (Subsystem Management Data) have reserved fields for manufacturer-defined functions. In this example, the speed control function parameters of the hard disk can be stored in the first reserved field of the NVMe-MI protocol, for example, it can be stored in any reserved field of VPD or SMD in the NVMe-MI protocol.

[0048] Based on this, obtaining the speed control function parameters from the hard disk in step 202 can be specifically implemented as follows: the BMC can read the speed control function parameters from the first reserved field of the solid-state hard disk based on the NVMe protocol. For example, assuming that the speed control function parameters are stored in certain reserved fields of the VPD in the NVMe-MI protocol, the BMC can directly go to the reserved field of the VPD area of ​​the solid-state hard disk through the out-of-band IIC (Inter-Integrated Circuit, the integrated circuit bus is also called I2C) to read the speed control function parameters. Through this implementation method, the solid-state hard disk based on the NVMe protocol can be used as a hard disk, and the BMC can read the speed control function parameters from the reserved field of the NVMe-MI protocol.

[0049] In other implementations, the hard disk may also be a SAS (Serial Attached SCSI) hard disk or a SATA (Serial Advanced Technology Attachment) hard disk. SAS hard disks and SATA hard disks may report hard disk information and supported features through an Identify frame. Here, an Identify frame is a frame type used in a communication protocol to identify or scan devices in a network. The specific format and function of an Identify frame may vary in different communication protocols, but generally contain elements for identifying and exchanging device information. In general, the frame structure of an Identify frame may contain reserved fields, which may not be used in the current version of the protocol, but are reserved for possible future expansion or specific purposes. Therefore, the speed control function parameters may be stored in the second reserved field of the Identify frame, for example, they may be stored in any reserved field of the Identify frame.

[0050] Based on this, the acquisition of the speed control function parameters from the hard disk in step 202 can be specifically implemented as follows: the BMC reads the speed control function parameters from the second reserved field of the Identify frame reported by the SAS hard disk or the SATA hard disk. For example, the reserved field of the Identify frame can be read through a Raid (Redundant Arrays of Independent Disks) card. Through this implementation, a SAS hard disk or a SATA hard disk can be used as a hard disk, and the BMC can read the speed control function parameters from the reserved field of the Identify frame.

[0051] like Figure 3 As shown, Figure 3 A schematic diagram of obtaining speed control function parameters from different hard disks is shown. Figure 3 The example shown includes solid-state drives, SAS hard drives, and SATA hard drives based on the NVMe protocol.

[0052] For SSDs based on the NVMe protocol, the speed control function parameters can be transmitted through the NVMe-MI protocol, and the BMC can directly read the speed control function parameters from the SSDs based on the NVMe protocol through out-of-band IIC.

[0053] For SAS hard disks or SATA hard disks, the BMC can read the speed control function parameters in the Identify frame reported by the hard disk through the Raid card.

[0054] After the BMC reads the speed control function parameters in the hard disk, it can generate a new speed control function based on the speed control function parameters to control the operation of the heat dissipation device to dissipate heat for the hard disk. Figure 3 The types of hard disks, data transmission methods, etc. are merely illustrative, and are not intended to limit the types of hard disks, data transmission methods, etc. In practice, various types of hard disks may be used as hard disks according to actual needs.

[0055] In some implementations, taking an air-cooled server as an example, the fan speed control function parameters stored in the hard disk may include at least one of the following: fan number, target temperature value, heat dissipation device speed, triggering full speed threshold, alarm temperature, etc.

[0056] As shown in Table 1 below, Table 1 shows two sets of speed control function parameters.

[0057] Table 1:

[0058]

[0059] The fan number may refer to the number of the fan in the server. Usually, an air-cooled server may include multiple fans. In order to distinguish different fans, the fans may be numbered.

[0060] The target temperature value may refer to the temperature value of the hard disk. As an example, the temperature value of the location where the hard disk is located may be collected by a temperature sensor.

[0061] The fan speed may refer to the speed of the fan. As an example, the fan speed may be expressed in the form of a percentage, that is, a percentage of the maximum speed. For example, 50% may indicate that the speed is 50% of the maximum speed of the fan.

[0062] The full speed triggering threshold may refer to a threshold for triggering the start of the maximum speed of the fan, and the threshold may be a temperature value.

[0063] The alarm temperature may mean that an alarm is issued when the temperature value of the hard disk reaches a certain preset value.

[0064] It can be understood that the various speed regulation function parameters listed in Table 1 are merely illustrative and not limiting on the types of speed regulation function parameters. In practice, different types of parameters can be set according to specific fan speed regulation strategies, which are not limited here.

[0065] Step 203: Control the heat dissipation device in the server based on the speed regulation function parameters.

[0066] In this embodiment, the BMC can control the heat dissipation device in the server based on the speed regulation function parameters obtained from the hard disk. For example, the heat dissipation device can be directly controlled according to the obtained speed regulation function parameters.

[0067] In some implementations, the above step 203 may further specifically include the following contents:

[0068] First, a new speed control function is generated based on the speed control function parameters.

[0069] Here, the generated new speed regulation function can be adapted to the hard disk. For example, the BMC can adjust the parameters of the current speed regulation function based on the speed regulation function parameters obtained from the hard disk, thereby generating a new speed regulation function.

[0070] Then, according to the new speed regulation function, the operation of the heat dissipation device in the server is controlled to dissipate heat for the hard disk.

[0071] Here, after generating the new speed control function, the BMC can control the operation of the heat dissipation device in the server according to the new speed control function to dissipate heat for the hard disk, thereby enabling the newly installed hard disk to work in a normal temperature environment.

[0072] In some implementations, the heat dissipation device in the server can also be used to dissipate heat for multiple components (e.g., CPU, network card, memory, etc.) in the server except the hard disk. Each component in the multiple components can correspond to a speed control function parameter, and the current speed control function can be generated by combining the original hard disk and the speed control function parameters of the multiple components. Here, the original hard disk can refer to the hard disk used in the server before the hard disk is connected to the server, that is, the hard disk replaced by the hard disk. Based on this, the above step 203 can be specifically performed as follows: according to the speed control function parameters of the hard disk and the speed control function parameters of the multiple components, a new speed control function is generated. Afterwards, according to the new speed control function, the heat dissipation device in the server is controlled.

[0073] Here, for each speed control function parameter, a corresponding integration rule can be pre-set, and the speed control function parameters of multiple components can be integrated according to the integration rule. Here, the integration rule corresponding to each speed control function parameter can be set according to actual needs (for example, manually set), and is not limited here. For example, taking the heat dissipation device as a fan as an example, the integration rule of the fan speed can be to take the maximum value, take the weighted value, etc. Taking the maximum value as an example, assuming that there are 5 components to be cooled, and the 5 components to be cooled have different requirements for the speed of the same fan at the same temperature, at this time, the maximum value of the fan speed corresponding to the 5 components to be cooled can be selected as the fan speed value in the speed control function. For another example, for parameters involving threshold classes, the integration rule can be to select the maximum value, or the minimum value, etc. Through this implementation method, a new speed control function can be generated according to the speed control function parameters of the hard disk and the speed control function parameters of multiple components, so that the BMC can control the heat dissipation device in the server according to the new speed control function.

[0074] In some implementations, the model of the hard disk may be a first model, and the model of the server may be a second model. Based on this, the speed control function parameters may be obtained by connecting the first model of the hard disk to the second model of the server for testing. For example, in order to obtain the speed control function parameters of each model of hard disk on each server, each model of hard disk may be connected to each model of server for thermal testing. For example, multiple sets of parameters are manually set for testing, and speed control function parameters suitable for cooling the hard disk are selected based on the test results. Through this implementation, the speed control function parameters of the heat dissipation device corresponding to the hard disk can be obtained through testing.

[0075] like Figure 4 As shown, Figure 4 The diagram shows the process from hard disk development to server application. Figure 4 In the example shown, the following steps 401) to 403) may be included, specifically:

[0076] Step 401), test the speed control function parameters of the hard disk on the corresponding server, and integrate the speed control function parameters into the FW (Firmware) burning file of the hard disk, and publish it to production.

[0077] Here, FW burning can refer to the process of writing firmware into the hard disk. Firmware is a software program that controls how the hard disk operates.

[0078] Step 402), when the hard disk is produced, the firmware incorporating the speed regulation function parameters is burned into the hard disk.

[0079] Step 403), when the hard disk is in use, the BMC Figure 2 The hard disk heat dissipation method shown uses the speed regulation function parameters in the hard disk to perform speed regulation to dissipate heat for the hard disk.

[0080] Continue to see Figure 5 , Figure 5 FIG. 2 shows a flow chart of a hard disk heat dissipation method according to another embodiment. The method can be executed by a hard disk and can be used to dissipate heat for the hard disk after the hard disk is installed in the server. Figure 5 As shown, the hard disk heat dissipation method may include the following steps 501 and 502, specifically:

[0081] Step 501: After the hard disk is connected to the server, the hard disk sends identification information of the hard disk to the baseboard management controller BMC of the server.

[0082] In this embodiment, the hard disk may store its own identification information, so that after the hard disk is connected to the server, the hard disk may send its own identification information to the baseboard management controller BMC.

[0083] Step 502: upon receiving a parameter reading request sent by a baseboard management controller BMC, sending a speed control function parameter to the baseboard management controller BMC.

[0084] In this embodiment, after the baseboard management controller BMC receives the identification information sent by the hard disk, it can determine whether the current speed control function is adapted to the hard disk according to the identification information of the hard disk. If the current speed control function of the BMC cannot be adapted to the hard disk, the BMC can send a parameter reading request to the hard disk, and based on the parameter reading request, the hard disk can send the speed control function parameters to the baseboard management controller BMC, so that the BMC generates a new speed control function based on the speed control function parameters, and controls the operation of the heat dissipation device in the server according to the new speed control function to dissipate heat for the hard disk.

[0085] In some implementations, the hard disk can be a solid-state disk based on the NVMe protocol. The NVMe disk has an out-of-band management function and can pass the speed control function parameters through the NVMe-MI protocol. In this example, the speed control function parameters of the hard disk can be stored in the first reserved field of the NVMe-MI protocol. For example, it can be stored in any reserved field of VPD or SMD in the NVMe-MI protocol. Based on this, sending the speed control function parameters to the baseboard management controller BMC in step 502 can be specifically implemented as follows: sending the speed control function parameters stored in the first reserved field of the NVMe-MI protocol to the baseboard management controller BMC.

[0086] In other implementations, the hard disk may also be a SAS hard disk or a SATA hard disk. The SAS hard disk and the SATA hard disk may report the hard disk information and supported features through the Identify frame, and therefore, the speed control function parameters may be stored in the second reserved field of the Identify frame. Based on this, sending the speed control function parameters to the baseboard management controller BMC in step 502 may be specifically implemented as follows: reporting the Identify frame to the baseboard management controller BMC, so that the baseboard management controller BMC obtains the speed control function parameters from the Identify frame.

[0087] According to another embodiment, a hard disk heat dissipation device is provided, wherein the hard disk has speed regulation function parameters of a heat dissipation device pre-stored therein, and the device can be deployed in a baseboard management controller BMC. Figure 6 FIG. 2 shows a schematic block diagram of a hard disk heat dissipation device according to an embodiment. Figure 6As shown, the hard disk cooling device 600 may include: a first acquisition unit 601, configured to obtain identification information of the hard disk; a second acquisition unit 602, configured to obtain the speed control function parameters from the hard disk when it is determined based on the identification information of the hard disk that the current speed control function in the BMC is not suitable for the hard disk; and a control unit 603, configured to control the cooling device in the server based on the speed control function parameters.

[0088] In some optional implementations, the hard disk is a solid-state hard disk based on the NVMe protocol, and the speed control function parameters are stored in the first reserved field of the NVMe management interface NVMe-MI protocol; and the second acquisition unit 602 is further configured to: read the speed control function parameters from the first reserved field of the solid-state hard disk.

[0089] In some optional implementations, the hard disk is a SAS hard disk or a SATA hard disk, and the speed control function parameters are stored in a second reserved field of the Identify frame; and the second acquisition unit 602 is further configured to: read the speed control function parameters from the second reserved field of the Identify frame reported by the SAS hard disk or the SATA hard disk.

[0090] In some optional implementations, the heat dissipation device in the server is also used to dissipate heat for multiple components in the server other than the hard disk, each of the multiple components corresponds to a speed control function parameter, and the current speed control function is generated by combining the speed control function parameters of the original hard disk and the multiple components; and the control unit 603 is further configured to: generate a new speed control function according to the speed control function parameters of the hard disk and the speed control function parameters of the multiple components; and control the heat dissipation device in the server according to the new speed control function.

[0091] In some optional implementations, the BMC stores target identification information, which is identification information of a hard disk that is adapted to the current speed regulation function; and the device further includes a judgment unit (not shown in the figure), configured to: compare the identification information of the hard disk with the target identification information; and determine whether the current speed regulation function is adapted to the hard disk based on the comparison result.

[0092] In some optional implementations, the control unit 603 is further configured to: generate a new speed regulation function based on the speed regulation function parameters; and control the operation of the heat dissipation device in the server according to the new speed regulation function to dissipate heat for the hard disk.

[0093] According to another embodiment, a hard disk heat dissipation device is provided, wherein the hard disk has speed regulation function parameters of the heat dissipation device pre-stored therein, and the device can be deployed on the hard disk. Figure 7 FIG. 2 shows a schematic block diagram of a hard disk heat dissipation device according to another embodiment. Figure 7 As shown, the hard disk cooling device 700 may include: a first sending unit 701, configured to send the identification information of the hard disk to the baseboard management controller BMC of the server after the hard disk is connected to the server; a second sending unit 702, configured to send the speed control function parameters to the baseboard management controller BMC when receiving a parameter read request sent by the baseboard management controller BMC.

[0094] In some optional implementations, the hard disk is a solid-state hard disk based on the NVMe protocol, and the speed control function parameters are stored in the first reserved field of the NVMe management interface NVMe-MI protocol; or, the hard disk is a SAS hard disk or a SATA hard disk, and the speed control function parameters are stored in the second reserved field of the Identify frame.

[0095] Based on the method in the above embodiment, the embodiment of the present application provides a hard disk, characterized in that the hard disk stores a program and a speed control function parameter of a heat dissipation device, and the program is used to execute the following Figure 5 The method shown.

[0096] Based on the method in the above embodiment, the embodiment of the present application provides a server, characterized in that it includes: a baseboard management controller BMC, the baseboard management controller BMC is used to perform the following Figure 2 The method shown.

[0097] It is understandable that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in some possible implementations, each step in the above embodiment can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here.

[0098] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0099] The method steps in the embodiments of the present application can be implemented by hardware, or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0100] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0101] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

Claims

1. A hard disk heat dissipation method, characterized in that: The hard disk pre-stores the speed regulation function parameters of the heat dissipation device. The method is executed by a baseboard management controller BMC. The method includes: Obtaining identification information of the hard disk; When it is determined based on the identification information of the hard disk that the current speed adjustment function in the BMC is not suitable for the hard disk, obtaining the speed adjustment function parameter from the hard disk; Based on the speed regulation function parameters, a heat dissipation device in the server is controlled.

2. The method according to claim 1, characterized in that The hard disk is a solid-state hard disk based on the NVMe protocol, and the speed control function parameter is stored in the first reserved field of the NVMe management interface NVMe-MI protocol; as well as The obtaining the speed regulation function parameter from the hard disk includes: The speed regulation function parameter is read from the first reserved field of the solid state drive.

3. The method according to claim 1, characterized in that The hard disk is a SAS hard disk or a SATA hard disk, and the speed adjustment function parameter is stored in the second reserved field of the Identify frame; and The obtaining the speed regulation function parameter from the hard disk includes: The speed adjustment function parameter is read from the second reserved field of the Identify frame reported by the SAS hard disk or the SATA hard disk.

4. The method according to claim 1, characterized in that The heat dissipation device in the server is also used to dissipate heat for multiple components in the server except the hard disk, each of the multiple components corresponds to a speed regulation function parameter, and the current speed regulation function is generated by combining the original hard disk and the speed regulation function parameters of the multiple components; as well as The controlling of the heat dissipation device in the server based on the speed control function parameter includes: Generate a new speed regulation function according to the speed regulation function parameters of the hard disk and the speed regulation function parameters of the multiple components; The heat dissipation device in the server is controlled according to the new speed regulation function.

5. The method according to claim 1, characterized in that The BMC stores target identification information, which is identification information of a hard disk adapted to the current speed regulation function; And, the method further comprises: Comparing the identification information of the hard disk with the target identification information; According to the comparison result, it is determined whether the current speed regulation function is suitable for the hard disk.

6. The method according to claim 1, characterized in that The controlling of the heat dissipation device in the server based on the speed control function parameter includes: Based on the speed control function parameters, generate a new speed control function; According to the new speed regulation function, the operation of the heat dissipation device in the server is controlled to dissipate heat for the hard disk.

7. A hard disk heat dissipation method, characterized in that: The hard disk stores speed regulation function parameters of the heat dissipation device, and the method is executed by the hard disk. The method includes: After the hard disk is connected to the server, the identification information of the hard disk is sent to the baseboard management controller BMC of the server; In case of receiving the parameter reading request sent by the baseboard management controller BMC, the speed control function parameter is sent to the baseboard management controller BMC.

8. The method according to claim 7, characterized in that The hard disk is a solid-state hard disk based on the NVMe protocol, and the speed control function parameters are stored in the first reserved field of the NVMe management interface NVMe-MI protocol; or, the hard disk is a SAS hard disk or a SATA hard disk, and the speed control function parameters are stored in the second reserved field of the Identify frame.

9. A hard disk, characterized in that: The hard disk stores a program and speed regulation function parameters of a heat dissipation device, and the program is used to execute the method according to any one of claims 7-8.

10. A server, characterized in that: include: A baseboard management controller BMC, wherein the baseboard management controller BMC is used to execute the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Baseboard management controller starting method and device, electronic equipment and storage medium

    CN119690530A