[go: up one dir, main page]

CN114489292B - Heat dissipation regulation and control method, system, device and server - Google Patents

Heat dissipation regulation and control method, system, device and server Download PDF

Info

Publication number
CN114489292B
CN114489292B CN202210043942.2A CN202210043942A CN114489292B CN 114489292 B CN114489292 B CN 114489292B CN 202210043942 A CN202210043942 A CN 202210043942A CN 114489292 B CN114489292 B CN 114489292B
Authority
CN
China
Prior art keywords
pcie
temperature
information acquisition
pcie device
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210043942.2A
Other languages
Chinese (zh)
Other versions
CN114489292A (en
Inventor
刘永敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210043942.2A priority Critical patent/CN114489292B/en
Publication of CN114489292A publication Critical patent/CN114489292A/en
Application granted granted Critical
Publication of CN114489292B publication Critical patent/CN114489292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/18Packaging or power distribution
    • G06F1/183Internal mounting support structures, e.g. for printed circuit boards, internal connecting means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Engineering (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The invention discloses a heat dissipation regulation and control method, a system, a device and a server, wherein the type of M PCIE devices currently externally connected with the server and the positions of the M PCIE devices in N hardware interfaces are obtained, physical links correspondingly connected between each PCIE device and a BMC are determined according to the positions, information obtaining threads corresponding to each PCIE device are determined according to the types, so that for each PCIE device, the BMC obtains alarm temperature and operation temperature of each PCIE device through the physical links corresponding to the PCIE device according to information obtaining rules of the information obtaining threads corresponding to the PCIE device, and finally controls a fan module to regulate speed according to the alarm temperature and the operation temperature of each PCIE device. Compared with the prior art, the scheme does not need to pre-establish the temperature regulation table in the firmware of the BMC, solves the problems of firmware update required to be carried out due to maintenance of the temperature regulation table and firmware update carried out by a client, is convenient for the client to use and avoids the waste of human resources.

Description

一种散热调控方法、系统、装置及服务器A heat dissipation control method, system, device and server

技术领域technical field

本发明涉及散热控制领域,特别是涉及一种散热调控方法、系统、装置及服务器。The present invention relates to the field of heat dissipation control, in particular to a heat dissipation control method, system, device and server.

背景技术Background technique

服务器中包括用于实现不同功能的PCIE设备(Peripheral ComponentInterconnect Express,高速串行计算机扩展总线标准),如CPU,网卡等,若这些设备的温度过高,会直接影响其性能,严重时该设备可能不工作,进而影响了服务器的工作性能和市场竞争力,因此为了实现对服务器中各个设备的温度控制,可以由BMC(BaseboardManagement Controller,基板管理控制器)根据设备的调温点对风扇模块进行对应的控制。不同的PCIE设备具有不同的调温点且出自不同厂家的相同的PCIE设备也具有不同的调温点,如果对于不同的设备设置随意设置一个调温点,即意味着针对各个设备,风扇吹出的风力的大小相同,这将导致对于一些设备来说散热冗余,即风扇转速过高且功耗过大;对于一些设备来说,散热力度不够,即设备很有可能因温度过高报废。The server includes PCIE devices (Peripheral Component Interconnect Express, high-speed serial computer expansion bus standard) used to realize different functions, such as CPU, network card, etc. If the temperature of these devices is too high, it will directly affect its performance. In severe cases, the device may If it does not work, it will affect the working performance and market competitiveness of the server. Therefore, in order to realize the temperature control of each device in the server, the BMC (Baseboard Management Controller, Baseboard Management Controller) can correspond to the fan module according to the temperature adjustment point of the device. control. Different PCIE devices have different temperature adjustment points, and the same PCIE devices from different manufacturers also have different temperature adjustment points. If you set a temperature adjustment point for different devices, it means that for each device, the fan blows The magnitude of the wind force is the same, which will lead to redundant heat dissipation for some devices, that is, the fan speed is too high and the power consumption is too large; for some devices, the heat dissipation is not enough, that is, the device is likely to be scrapped due to excessive temperature.

因此,现有技术中会预先按照不同的厂商针对不同的PCIE设备的调温点建立调温表,并将该调温表存入BMC的固件中,以便BMC获取该调温点并进行后续风扇模块的风速控制。但该方法的缺陷在于,针对每一次接入服务器的PCIE设备都要确保调温表中有与该PCIE设备、该厂家的调温信息,否则BMC会按照默认的调温点对风扇进行调速,这使得调速结果很不精准,不能精准地实现对该PCIE设备的散热;而且如果想要在调温表中增加信息都需要重新更新BMC的固件并进行发布,客户也需要进行相应的固件升级,这给客户带来了使用上的不便且进行相关的维护与升级也浪费了人力。Therefore, in the prior art, a temperature regulation table will be established in advance according to the temperature regulation points of different manufacturers for different PCIE devices, and the temperature regulation table will be stored in the firmware of the BMC, so that the BMC can obtain the temperature regulation point and carry out subsequent fan operation. Module wind speed control. However, the disadvantage of this method is that for each PCIE device connected to the server, it is necessary to ensure that the temperature adjustment table has the temperature adjustment information related to the PCIE device and the manufacturer, otherwise the BMC will adjust the fan speed according to the default temperature adjustment point , which makes the speed adjustment result very inaccurate, and cannot accurately realize the heat dissipation of the PCIE device; and if you want to add information to the temperature adjustment table, you need to re-update the BMC firmware and release it, and the customer also needs to carry out the corresponding firmware Upgrade, which brings inconvenience to customers and wastes manpower for related maintenance and upgrades.

发明内容Contents of the invention

本发明的目的是提供一种散热调控方法、系统、装置及服务器,无需在BMC的固件中预先建立调温表,解决了现有技术中因维护调温表而需要进行的固件更新及需要客户进行的相应的固件升级的问题,便于客户使用,且避免了用于升级维护的人力资源的浪费。The purpose of the present invention is to provide a heat dissipation control method, system, device and server, without pre-establishing a temperature regulation table in the firmware of the BMC, which solves the need for firmware updates and the need for customers to maintain the temperature regulation table in the prior art. The problem of corresponding firmware upgrade is convenient for customers to use, and the waste of human resources for upgrade and maintenance is avoided.

为解决上述技术问题,本发明提供了一种散热调控方法,应用于服务器中的BMC,所述服务器还包括风扇模块及用于外接PCIE设备的N个硬件接口,其中,N≥1且N为整数,所述散热调控方法包括:In order to solve the above-mentioned technical problems, the present invention provides a heat dissipation control method, which is applied to the BMC in the server, and the server also includes a fan module and N hardware interfaces for external PCIE devices, where N≥1 and N is Integer, the heat dissipation control method includes:

获取所述服务器当前外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,1≤M≤N且M为整数;Obtain the types of M PCIE devices currently connected to the server and their positions in the N hardware interfaces, where 1≤M≤N and M is an integer;

根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路;Determine the physical link correspondingly connected between each of the PCIE devices and the BMC according to the location of each of the PCIE devices;

根据各个所述PCIE设备的类型确定与各个所述PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的所述信息获取线程的信息获取规则不同;According to the type of each said PCIE device, determine the information acquisition thread for grabbing data respectively corresponding to each said PCIE device, wherein, the information acquisition rules of different said information acquisition threads are different;

对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度;For each of the PCIE devices, obtain the warning temperature and the operating temperature of the PCIE devices through the physical link corresponding to the PCIE devices according to the information acquisition rules of the information acquisition threads corresponding to the PCIE devices;

根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速。The fan module is controlled to adjust the speed according to the alarm temperature and the operating temperature of each PCIE device.

优选的,获取当前所述服务器外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,包括:Preferably, the types of M PCIE devices connected to the current server and the positions in the N hardware interfaces are obtained, including:

从所述服务器的非易失存储介质中获取当前所述服务器外接的M个PCIE设备的类型及在N个所述硬件接口中的位置。Obtain the types of the M PCIE devices externally connected to the server and their positions in the N hardware interfaces from the non-volatile storage medium of the server.

优选的,根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路,包括:Preferably, according to the position of each said PCIE device, determine the physical link correspondingly connected between each said PCIE device and said BMC, including:

根据各个所述PCIE设备所在的位置从预先存储于所述服务器的非易失存储介质中的接口-链路对应关系中确定各个所述PCIE设备与所述BMC之间对应连接的物理链路。According to the location of each PCIE device, determine the corresponding physical link between each PCIE device and the BMC from the interface-link correspondence relationship pre-stored in the non-volatile storage medium of the server.

优选的,所述信息获取线程为II2C信息获取线程或PCIE信息获取线程。Preferably, the information acquisition thread is an II2C information acquisition thread or a PCIE information acquisition thread.

优选的,对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度之后,还包括:Preferably, for each of the PCIE devices, the alarm temperature and operating temperature of the PCIE device are obtained through the physical link corresponding to the PCIE device according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device After that, also include:

控制提示模块提示各个所述PCIE设备的所述告警温度及所述运行温度。The control prompting module prompts the warning temperature and the operating temperature of each of the PCIE devices.

优选的,所述提示模块为显示模块。Preferably, the prompt module is a display module.

优选的,所述告警温度包括P个告警温度,其中,P≥1且P为整数,且当P>1时第j个所述告警温度<第j+1个所述告警温度,1≤j≤P-1且j为整数;Preferably, the alarm temperature includes P alarm temperatures, wherein P≥1 and P is an integer, and when P>1, the jth alarm temperature<j+1th alarm temperature, 1≤j ≤P-1 and j is an integer;

根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速,包括:Controlling the fan module for speed regulation according to the alarm temperature and the operating temperature of each of the PCIE devices includes:

对于第i个所述PCIE设备,1≤i≤M且i为整数,执行如下步骤:For the i-th PCIE device, 1≤i≤M and i is an integer, perform the following steps:

当P=1且所述运行温度≥所述告警温度时,确定第i个所述PCIE设备拟控制所述风扇模块按照第一预设速度运转;When P=1 and the operating temperature ≥ the alarm temperature, determine that the i-th PCIE device intends to control the fan module to operate at a first preset speed;

当P>1且第j个所述告警温度≤所述运行温度<第j+1个所述告警温度时,确定第i个所述PCIE设备拟按照第j+1预设速度运转;When P>1 and the jth alarm temperature≤the operating temperature<the j+1th alarm temperature, it is determined that the ith PCIE device intends to operate at the j+1th preset speed;

当P>1且所述运行温度≥第P个所述告警温度时,确定第i个所述PCIE设备拟按照第j+2预设速度运转,其中,所述第j+1预设速度<所述第j+2预设速度;When P>1 and the operating temperature ≥ the Pth warning temperature, it is determined that the i-th PCIE device intends to operate at the j+2th preset speed, wherein the j+1th preset speed< said j+2 preset speed;

控制所述风扇模块按照各个所述PCIE设备确定的拟控制所述风扇模块运转的速度的最大值进行调速。The fan module is controlled to adjust the speed according to the maximum value of the speed determined by each PCIE device to control the operation of the fan module.

为解决上述技术问题,本发明还提供了一种散热调控系统,包括:In order to solve the above technical problems, the present invention also provides a heat dissipation control system, including:

第一获取单元,用于获取所述服务器当前外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,1≤M≤N且M为整数;The first obtaining unit is used to obtain the types of M PCIE devices currently connected to the server and the positions in the N hardware interfaces, where 1≤M≤N and M is an integer;

第一确定单元,用于根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路;A first determining unit, configured to determine a physical link correspondingly connected between each of the PCIE devices and the BMC according to the location of each of the PCIE devices;

第二确定单元,用于根据各个所述PCIE设备的类型确定与各个所述PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的所述信息获取线程的信息获取规则不同;The second determination unit is used to determine the information acquisition threads for grabbing data corresponding to each of the PCIE devices according to the type of each of the PCIE devices, wherein the information acquisition rules of different information acquisition threads are different;

第二获取单元,用于对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度;The second acquiring unit is configured to, for each of the PCIE devices, acquire the alarm of the PCIE device through the physical link corresponding to the PCIE device according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device temperature and operating temperature;

调速控制单元,用于根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速。A speed regulation control unit, configured to control the fan module to perform speed regulation according to the alarm temperature and the operating temperature of each of the PCIE devices.

为解决上述技术问题,本发明还提供了一种散热调控装置,包括:In order to solve the above technical problems, the present invention also provides a heat dissipation control device, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行如上述所述的散热调控方法的步骤。A processor, configured to execute the steps of the heat dissipation regulation method as described above.

为解决上述技术问题,本发明还提供了一种服务器,包括BMC、风扇模块及用于外接PCIE设备的N个硬件接口,还包括如上述所述的散热调控装置。In order to solve the above-mentioned technical problems, the present invention also provides a server, including a BMC, a fan module, and N hardware interfaces for connecting external PCIE devices, and also includes the heat dissipation control device as described above.

本发明提供了一种散热调控方法、系统、装置及服务器,该方案首先获取服务器当前外接的M个PCIE设备的类型及其在N个硬件接口中的位置,随后,根据上述位置确定各个PCIE设备与BMC之间对应连接的物理链路,根据上述类型确定与各个PCIE设备分别对应的用于抓取数据的信息获取线程,于是对于每个PCIE设备,BMC按照与该PCIE设备对应的信息获取线程的信息获取规则通过与该PCIE设备对应的物理链路获取其告警温度及运行温度,最后根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速。与现有技术相比,该方案无需在BMC的固件中预先建立调温表,即可确定各个PCIE设备的告警温度及运行温度并据此对风扇模块进行调速,解决了现有技术中因维护调温表而需要进行的固件更新及需要客户进行的相应的固件升级的问题,便于客户使用,且避免了用于升级维护的人力资源的浪费。The present invention provides a heat dissipation control method, system, device and server. The solution first obtains the types of M PCIE devices currently connected to the server and their positions in N hardware interfaces, and then determines each PCIE device according to the above positions The physical link corresponding to the connection with the BMC determines the information acquisition threads corresponding to each PCIE device for capturing data according to the above types, so for each PCIE device, the BMC obtains the thread according to the information corresponding to the PCIE device The information acquisition rules of the PCIE device obtain its alarm temperature and operating temperature through the physical link corresponding to the PCIE device, and finally control the fan module to adjust the speed according to the alarm temperature and operating temperature of each PCIE device. Compared with the existing technology, this solution does not need to pre-establish a temperature regulation table in the firmware of the BMC, and can determine the alarm temperature and operating temperature of each PCIE device and adjust the fan module speed accordingly, which solves the problems in the existing technology. The problem of firmware update required for maintaining the temperature control table and the corresponding firmware update required by customers is convenient for customers to use and avoids waste of human resources for upgrade and maintenance.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对现有技术和实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the prior art and the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明提供的一种散热调控方法的流程图;Fig. 1 is a flow chart of a heat dissipation control method provided by the present invention;

图2为本发明提供的一种散热调控系统的结构示意图;Fig. 2 is a structural schematic diagram of a heat dissipation control system provided by the present invention;

图3为本发明提供的一种散热调控装置的结构示意图。Fig. 3 is a schematic structural diagram of a heat dissipation control device provided by the present invention.

具体实施方式Detailed ways

本发明的核心是提供一种散热调控方法、系统、装置及服务器,无需在BMC的固件中预先建立调温表,解决了现有技术中因维护调温表而需要进行的固件更新及需要客户进行的相应的固件升级的问题,便于客户使用,且避免了用于升级维护的人力资源的浪费。The core of the present invention is to provide a heat dissipation control method, system, device, and server without pre-establishing a temperature regulation table in the firmware of the BMC, which solves the need for firmware updates and the need for customers to maintain the temperature regulation table in the prior art. The problem of corresponding firmware upgrade is convenient for customers to use, and the waste of human resources for upgrade and maintenance is avoided.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

请参照图1,图1为本发明提供的一种散热调控方法的流程图。Please refer to FIG. 1 , which is a flowchart of a heat dissipation control method provided by the present invention.

该散热调控方法,应用于服务器中的BMC,服务器还包括风扇模块及用于外接PCIE设备的N个硬件接口,N≥1且N为整数,该散热调控方法包括:The heat dissipation control method is applied to the BMC in the server. The server also includes a fan module and N hardware interfaces for external PCIE devices, where N≥1 and N is an integer. The heat dissipation control method includes:

S11:获取服务器当前外接的M个PCIE设备的类型及在N个硬件接口中的位置,其中,1≤M≤N且M为整数;S11: Obtain the types of M PCIE devices currently connected to the server and their positions in the N hardware interfaces, where 1≤M≤N and M is an integer;

S12:根据各个PCIE设备所在的位置确定各个PCIE设备与BMC之间对应连接的物理链路;S12: Determine the physical link corresponding to the connection between each PCIE device and the BMC according to the location of each PCIE device;

S13:根据各个PCIE设备的类型确定与各个PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的信息获取线程的信息获取规则不同;S13: Determine the information acquisition threads corresponding to each PCIE device for capturing data according to the type of each PCIE device, wherein different information acquisition threads have different information acquisition rules;

S14:对于每个PCIE设备,按照与PCIE设备对应的信息获取线程的信息获取规则通过与PCIE设备对应的物理链路获取PCIE设备的告警温度及运行温度;S14: For each PCIE device, obtain the alarm temperature and operating temperature of the PCIE device through the physical link corresponding to the PCIE device according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device;

S15:根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速。S15: Control the fan module to adjust the speed according to the alarm temperature and operating temperature of each PCIE device.

本实施例中,考虑到在现有技术中,需要预先在BMC的固件中存储按照不同的厂商且针对不同的PCIE设备的调温点建立的调温表,此时若当前外接的PCIE设备不在该调温表中,则BMC会按照默认的调温点对风扇进行调速,使得调速结果不精准;而且若想要在该调温表中增加信息都需要重新更新固件并进行发布,再由客户进行相应的固件升级,使得后续维护及客户使用均不方便。为解决上述技术问题,本发明提供了一种散热调控方法,可以根据外接的PCIE设备的不同来动态适配散热策略。In this embodiment, considering that in the prior art, it is necessary to store in advance in the firmware of the BMC the temperature regulation tables established according to different manufacturers and for the temperature regulation points of different PCIE devices, if the current external PCIE device is not in the In this temperature adjustment table, BMC will adjust the fan speed according to the default temperature adjustment point, making the speed adjustment result inaccurate; and if you want to add information to this temperature adjustment table, you need to re-update the firmware and release it. The corresponding firmware upgrade is performed by the customer, which makes subsequent maintenance and customer use inconvenient. In order to solve the above technical problems, the present invention provides a heat dissipation control method, which can dynamically adapt the heat dissipation strategy according to the difference of the external PCIE devices.

具体来说,N个硬件接口用于接入各种PCIE设备,风扇模块用于散热,于是该方案中首先获取服务器当前外接的M个PCIE设备的类型及上述M个PCIE设备分别在N个硬件接口中的位置,这里的PCIE设备可以为网卡,也可以为RAID(Redundant Arrays ofIndependent Disks,磁盘阵列),本申请在此不作特别的限定;随后,根据各个PCIE设备所在的位置确定各个PCIE设备与BMC之间对应连接的物理链路;根据各个PCIE设备的类型确定与各个PCIE设备分别对应的用于抓取数据的信息获取线程,这里的信息获取线程可以为II2C信息获取线程,也可以为PCIE信息获取线程,具体采用哪种信息获取线程与PCIE设备的类型有关;于是,对于每个PCIE设备,按照与PCIE设备对应的信息获取线程的信息获取规则通过与PCIE设备对应的物理链路获取PCIE设备的告警温度及运行温度,动态获取了各个PCIE设备的告警温度及运行温度;最后根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速。Specifically, N hardware interfaces are used to connect to various PCIE devices, and fan modules are used to dissipate heat. Therefore, in this solution, the types of M PCIE devices currently connected to the server and the types of the above M PCIE devices on the N hardware Position in the interface, the PCIE device here can be a network card, also can be RAID (Redundant Arrays of Independent Disks, disk array), the application is not specifically limited at this; Subsequently, determine each PCIE device and Correspondingly connected physical links between BMCs; according to the type of each PCIE device, determine the information acquisition thread corresponding to each PCIE device for grabbing data. The information acquisition thread here can be II2C information acquisition thread or PCIE The information acquisition thread, which information acquisition thread is specifically used is related to the type of PCIE device; then, for each PCIE device, according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device, the PCIE device is obtained through the physical link corresponding to the PCIE device. The alarm temperature and operating temperature of the equipment are dynamically obtained from the alarm temperature and operating temperature of each PCIE device; finally, the speed of the fan module is controlled according to the alarm temperature and operating temperature of each PCIE device.

综上,本申请提供了一种散热调控方法,与现有技术相比,该方案无需在BMC的固件中预先建立调温表,即可动态确定各个PCIE设备的告警温度及运行温度并据此对风扇模块进行调速,解决了现有技术中因维护调温表而需要进行的固件更新及需要客户进行的相应的固件升级的问题,便于客户使用,且避免了用于升级维护的人力资源的浪费。In summary, the present application provides a heat dissipation control method. Compared with the prior art, this solution does not need to pre-establish a temperature regulation table in the firmware of the BMC, and can dynamically determine the alarm temperature and operating temperature of each PCIE device and based on this Adjusting the speed of the fan module solves the problem of firmware update required for maintenance of the temperature control table and the corresponding firmware upgrade required by customers in the prior art, which is convenient for customers to use and avoids human resources for upgrade and maintenance waste.

在上述实施例的基础上:On the basis of above-mentioned embodiment:

作为一种优选的实施例,获取当前服务器外接的M个PCIE设备的类型及在N个硬件接口中的位置,包括:As a kind of preferred embodiment, obtain the type of M PCIE equipments connected to the current server and the positions in N hardware interfaces, including:

从服务器的非易失存储介质中获取当前服务器外接的M个PCIE设备的类型及在N个硬件接口中的位置。The types of the M PCIE devices connected to the current server and their positions in the N hardware interfaces are obtained from the non-volatile storage medium of the server.

本申请中,可以直接从服务器的非易失存储介质(即内存)中获取当前服务器外接的M个PCIE设备的类型及在N个硬件接口中的位置,需要说明的是,若服务器预先将当前服务器外接的M个PCIE设备的类型及其在N个硬件接口中的位置存储在其他存储器中,BMC只需从其他存储器中进行数据抓取即可,本申请在此不作特别的限定。In this application, the types of the M PCIE devices connected to the current server and the positions in the N hardware interfaces can be obtained directly from the non-volatile storage medium (i.e. memory) of the server. It should be noted that if the server pre-installs the current The types of the M PCIE devices connected to the server and their positions in the N hardware interfaces are stored in other memories, and the BMC only needs to fetch data from other memories, which is not specifically limited in this application.

可见,通过这种方式可以简单可靠的直接获取当前服务器外接的M个PCIE设备的类型及其在N个硬件接口中的位置,以便后续动作。It can be seen that in this way, the types of the M PCIE devices connected to the current server and their positions in the N hardware interfaces can be obtained directly and simply and reliably for subsequent actions.

作为一种优选的实施例,根据各个PCIE设备所在的位置确定各个PCIE设备与BMC之间对应连接的物理链路,包括:As a kind of preferred embodiment, determine the physical link correspondingly connected between each PCIE device and BMC according to the position of each PCIE device, including:

根据各个PCIE设备所在的位置从预先存储于服务器的非易失存储介质中的接口-链路对应关系中确定各个PCIE设备与BMC之间对应连接的物理链路。According to the location of each PCIE device, the physical link corresponding to the connection between each PCIE device and the BMC is determined from the interface-link correspondence relationship pre-stored in the non-volatile storage medium of the server.

本实施例中,考虑到针对N个硬件接口,在服务器中的非易失存储介质中预先存储有接口-链路对应关系,该接口-链路对应关系中包括BMC与各个硬件接口对应的物理链路信息,因此,本申请中可以根据各个PCIE设备所在的位置从预先存储于服务器的非易失存储介质中的接口-链路对应关系中确定各个PCIE设备与BMC之间对应连接的物理链路,且该实现方法简单可靠。In this embodiment, it is considered that for N hardware interfaces, an interface-link correspondence is pre-stored in the non-volatile storage medium in the server, and the interface-link correspondence includes the physical link between the BMC and each hardware interface. Link information, therefore, in this application, the physical link corresponding to the connection between each PCIE device and BMC can be determined from the interface-link correspondence relationship pre-stored in the non-volatile storage medium of the server according to the location of each PCIE device way, and the implementation method is simple and reliable.

作为一种优选的实施例,信息获取线程为II2C信息获取线程或PCIE信息获取线程。As a preferred embodiment, the information acquisition thread is an II2C information acquisition thread or a PCIE information acquisition thread.

本实施例中,考虑到当外接的PCIE设备的类型不同时,需要加载的用于抓取数据的信息获取线程也不同,因此,本申请中需要根据各个PCIE设备的类型来确定与各个PCIE设备分别对应的用于抓取数据的信息获取线程,不同的信息获取线程的信息获取规则不同,这里的信息获取线程可以为II2C信息获取线程,也可以为PCIE信息获取线程,可以简单有效的根据各个PCIE设备的类型抓取数据以实现信息监控。In this embodiment, considering that when the types of external PCIE devices are different, the information acquisition threads for grabbing data that need to be loaded are also different. Corresponding to the information acquisition threads used to capture data, different information acquisition threads have different information acquisition rules, the information acquisition threads here can be II2C information acquisition threads, or PCIE information acquisition threads, which can be simple and effective according to each The type of PCIE device captures data for information monitoring.

作为一种优选的实施例,对于每个PCIE设备,按照与PCIE设备对应的信息获取线程的信息获取规则通过与PCIE设备对应的物理链路获取PCIE设备的告警温度及运行温度之后,还包括:As a kind of preferred embodiment, for each PCIE equipment, after obtaining the warning temperature and the running temperature of PCIE equipment by the physical link corresponding to PCIE equipment according to the information acquisition rule of the information acquisition thread corresponding to PCIE equipment, also include:

控制提示模块提示各个PCIE设备的告警温度及运行温度。The control prompt module prompts the alarm temperature and operating temperature of each PCIE device.

本实施例中,为了更直观地展现各个PCIE设备的告警温度及运行温度,本申请中在按照与PCIE设备对应的信息获取线程的信息获取规则通过与PCIE设备对应的物理链路获取PCIE设备的告警温度及运行温度之后,处理器还会控制提示模块提示各个PCIE设备的告警温度及运行温度,展示更直观,便于开发人员或用户掌握各个PCIE设备的告警温度及运行温度,并进行后续的处理等。In this embodiment, in order to present the alarm temperature and operating temperature of each PCIE device more intuitively, in the present application, according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device, the physical link corresponding to the PCIE device is used to obtain the information of the PCIE device. After the alarm temperature and operating temperature, the processor will also control the prompt module to prompt the alarm temperature and operating temperature of each PCIE device, the display is more intuitive, and it is convenient for developers or users to grasp the alarm temperature and operating temperature of each PCIE device and perform subsequent processing wait.

作为一种优选的实施例,提示模块为显示模块。As a preferred embodiment, the prompt module is a display module.

本申请中该提示模块可以为显示模块,直接显示各个PCIE设备的告警温度及运行温度,展示更直观;需要说明的是,这里的提示模块也可以为语音模块,直接将各个PCIE设备的告警温度及运行温度以语音播报的形式展示,本申请在此不作特别的限定。In this application, the prompt module can be a display module, which directly displays the alarm temperature and operating temperature of each PCIE device, and the display is more intuitive; it should be noted that the prompt module here can also be a voice module, which directly displays the alarm temperature of each PCIE device. And the operating temperature is displayed in the form of voice broadcast, which is not specifically limited in this application.

作为一种优选的实施例,告警温度包括P个告警温度,其中,P≥1且P为整数,且当P>1时第j个告警温度<第j+1个告警温度,1≤j≤P-1且j为整数;As a preferred embodiment, the warning temperature includes P warning temperatures, where P≥1 and P is an integer, and when P>1, the jth warning temperature<j+1th warning temperature, 1≤j≤ P-1 and j is an integer;

根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速,包括:According to the alarm temperature and operating temperature of each PCIE device, the fan module is controlled to adjust the speed, including:

对于第i个PCIE设备,1≤i≤M且i为整数,执行如下步骤:For the i-th PCIE device, 1≤i≤M and i is an integer, perform the following steps:

当P=1且运行温度≥告警温度时,确定第i个PCIE设备拟控制风扇模块按照第一预设速度运转;When P=1 and the operating temperature is greater than or equal to the warning temperature, it is determined that the i-th PCIE device intends to control the fan module to operate at the first preset speed;

当P>1且第j个告警温度≤运行温度<第j+1个告警温度时,确定第i个PCIE设备拟按照第j+1预设速度运转;When P>1 and the jth alarm temperature≤operating temperature<j+1th alarm temperature, determine that the i-th PCIE device intends to operate at the j+1th preset speed;

当P>1且运行温度≥第P个告警温度时,确定第i个PCIE设备拟按照第j+2预设速度运转,其中,第j+1预设速度<第j+2预设速度;When P>1 and the operating temperature ≥ the Pth alarm temperature, it is determined that the i-th PCIE device intends to operate at the j+2th preset speed, wherein the j+1th preset speed<j+2th preset speed;

控制风扇模块按照各个PCIE设备确定的拟控制风扇模块运转的速度的最大值进行调速。The control fan module performs speed regulation according to the maximum value of the speed to be controlled by each PCIE device to control the operation of the fan module.

本实施例中,考虑每个PCIE设备包括P个告警温度,为了最终确定风扇模块的转速,需要首先确定各个PCIE设备拟控制风扇模块的转速,于是,对于第i个PCIE设备,当P=1且运行温度≥告警温度时,说明该PCIE设备只包括一个告警温度,于是确定第i个PCIE设备拟控制风扇模块按照第一预设速度运转,需要说明的是,本申请对于这里的第一预设速度的具体数值不作限定,根据实际需要设定且符合控制逻辑即可;In this embodiment, considering that each PCIE device includes P alarm temperatures, in order to finally determine the speed of the fan module, it is necessary to first determine the speed of each PCIE device to control the fan module, so, for the i-th PCIE device, when P=1 And when the operating temperature is greater than or equal to the warning temperature, it means that the PCIE device only includes one warning temperature, so it is determined that the i-th PCIE device intends to control the fan module to run at the first preset speed. The specific value of the set speed is not limited, it can be set according to actual needs and conforms to the control logic;

当P>1且第j个告警温度≤运行温度<第j+1个告警温度时,确定第i个PCIE设备拟按照第j+1预设速度运转;当P>1且运行温度≥第P个告警温度时,确定第i个PCIE设备拟按照第j+2预设速度运转,其中,第j+1预设速度<第j+2预设速度。在得到各个PCIE设备拟控制风扇模块的转速后,BMC控制风扇模块按照各个PCIE设备确定的拟控制风扇模块运转的速度的最大值进行调速。When P>1 and the jth alarm temperature ≤ operating temperature < j+1th alarm temperature, determine that the i-th PCIE device intends to operate at the j+1th preset speed; when P>1 and the operating temperature ≥ Pth When an alarm temperature is reached, it is determined that the i-th PCIE device intends to operate at the j+2th preset speed, wherein the j+1th preset speed<j+2th preset speed. After obtaining the speed of the fan module to be controlled by each PCIE device, the BMC controls the fan module to adjust the speed according to the maximum value of the speed of the fan module to be controlled by each PCIE device.

具体的,以P=3为例进行举例说明,每个PCIE设备包括三个告警温度,且第一告警温度<第二告警温度<第三告警温度,于是在第一告警温度≤运行温度<第二告警温度时,确定第i个PCIE设备拟控制风扇模块按照第二预设速度运转;在第二告警温度≤运行温度<第三告警温度时,确定第i个PCIE设备拟控制风扇模块按照第三预设速度运转;在运行温度≥第三告警温度时,确定第i个PCIE设备拟控制风扇模块按照第四预设速度运转,其中这里的第二预设速度<第三预设速度<第四预设速度。需要说明的是,这里的诸如第一和第二、第三等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。在得到各个PCIE设备拟控制风扇模块的转速后,在所有的PCIE设备确定的拟控制风扇模块运转的速度的最大值为上述第四预设速度时,说明与该第四预设速度对应的PCIE设备的运行温度已经不小于其自身的第三告警温度,于是控制风扇模块按照第四预设速度运转;在所有的PCIE设备确定的拟控制风扇模块运转的速度的最大值为第三预设速度时,控制风扇模块按照第三预设速度运转;在所有的PCIE设备确定的拟控制风扇模块运转的速度的最大值为第二预设速度时,控制风扇模块按照第二预设速度运转。需要说明的是,当风扇模块是按照占空比进行调速时,这里的第二预设速度可以为风扇模块按照80%占空比进行调速,这里的第三预设速度可以为风扇模块按照90%占空比进行调速,这里的第四预设速度可以为风扇模块按照100%占空比进行调速,本申请在此不作特别的限定,满足上述限定的逻辑要求即可。Specifically, taking P=3 as an example, each PCIE device includes three warning temperatures, and the first warning temperature < the second warning temperature < the third warning temperature, so when the first warning temperature ≤ operating temperature < the third warning temperature When the second alarm temperature is reached, determine that the i-th PCIE device intends to control the fan module to operate at the second preset speed; when the second alarm temperature ≤ operating temperature < the third alarm temperature, determine that the i-th PCIE device intends to control the fan module to operate at the second preset speed Run at three preset speeds; when the operating temperature ≥ the third alarm temperature, determine that the i-th PCIE device intends to control the fan module to run at the fourth preset speed, where the second preset speed<the third preset speed<the third preset speed Four preset speeds. It should be noted that the relational terms such as first, second, third, etc. herein are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. After obtaining the speed of the fan module to be controlled by each PCIE device, when the maximum value of the speed of the fan module to be controlled by all PCIE devices is the fourth preset speed, explain the PCIE corresponding to the fourth preset speed The operating temperature of the device is not lower than its own third alarm temperature, so the fan module is controlled to run at the fourth preset speed; the maximum speed of the fan module to be controlled to be determined by all PCIE devices is the third preset speed , control the fan module to run at the third preset speed; when the maximum value of the speed to be controlled by all PCIE devices to control the fan module is the second preset speed, control the fan module to run at the second preset speed. It should be noted that when the speed of the fan module is adjusted according to the duty cycle, the second preset speed here can be that the speed of the fan module is adjusted according to the duty cycle of 80%, and the third preset speed here can be that the fan module The speed is adjusted according to the duty cycle of 90%. The fourth preset speed here can be the speed adjustment of the fan module according to the duty cycle of 100%. This application does not make a special limitation here, and it only needs to meet the above-mentioned logical requirements.

还需要说明的是,对于PCIE设备的运行温度在P个告警温度以下时对风扇模块的转速的调速,本申请在此不作特别的限定,根据实际调速需求设定,比如可以为按照转速-温度调速曲线对风扇模块的转速进行调速。It should also be noted that, when the operating temperature of the PCIE device is below P alarm temperatures, the speed regulation of the fan module's speed is not specifically limited in this application, and it is set according to the actual speed regulation requirements. For example, it can be set according to the speed -The temperature speed regulation curve regulates the speed of the fan module.

此外,这里基于应用实际考虑的每个PCIE设备均包括P个告警温度,且更进一步来说,尽管现在某些PCIE设备可能只包括如两个告警温度,但是从未来的应用实际来说,每个PCIE设备都包括三个告警温度是更符合生产生活中的调速需要的,调速效果也能更精准更好,也是未来发展的趋势;且若在使用中针对不同的PCIE设备包括不同个数的告警温度的话,只需按照本申请中的逻辑,在获取了各个PCIE设备的告警温度及运行温度之后控制风扇模块按照各个PCIE设备确定的拟控制风扇模块运转的速度的最大值进行调速即可,本申请在此不作特别的限定。In addition, each PCIE device considered here based on the actual application includes P alarm temperatures, and further, although some PCIE devices may only include two alarm temperatures, from the actual application in the future, each Each PCIE device includes three alarm temperatures, which is more in line with the speed regulation needs in production and life, and the speed regulation effect can be more accurate and better, which is also the trend of future development; and if different PCIE devices include different personal If there are several alarm temperatures, you only need to follow the logic in this application, after obtaining the alarm temperature and operating temperature of each PCIE device, control the fan module to adjust the speed according to the maximum value of the speed of the fan module to be controlled by each PCIE device That is, the present application does not make a special limitation here.

可见,通过这种方式可以简单可靠的实现根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速,调速效果更好。It can be seen that in this way, the speed regulation of the fan module can be controlled simply and reliably according to the alarm temperature and operating temperature of each PCIE device, and the speed regulation effect is better.

请参照图2,图2为本发明提供的一种散热调控系统的结构示意图。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of a heat dissipation control system provided by the present invention.

该散热调控系统,包括:The cooling control system includes:

第一获取单元21,用于获取服务器当前外接的M个PCIE设备的类型及在N个硬件接口中的位置,1≤M≤N且M为整数;The first obtaining unit 21 is used to obtain the types of M PCIE devices currently connected to the server and the positions in the N hardware interfaces, where 1≤M≤N and M is an integer;

第一确定单元22,用于根据各个PCIE设备所在的位置确定各个PCIE设备与BMC之间对应连接的物理链路;The first determining unit 22 is used to determine the physical link correspondingly connected between each PCIE device and the BMC according to the position of each PCIE device;

第二确定单元23,用于根据各个PCIE设备的类型确定与各个PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的信息获取线程的信息获取规则不同;The second determining unit 23 is used to determine the information acquisition thread for grabbing data corresponding to each PCIE device according to the type of each PCIE device, wherein, the information acquisition rules of different information acquisition threads are different;

第二获取单元24,用于对于每个PCIE设备,按照与PCIE设备对应的信息获取线程的信息获取规则通过与PCIE设备对应的物理链路获取PCIE设备的告警温度及运行温度;The second acquisition unit 24 is used for each PCIE device, according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device, to obtain the warning temperature and the operating temperature of the PCIE device through the physical link corresponding to the PCIE device;

调速控制单元25,用于根据各PCIE设备的告警温度及运行温度控制风扇模块进行调速。The speed regulation control unit 25 is used to control the fan module to regulate the speed according to the alarm temperature and operating temperature of each PCIE device.

对于本发明中提供的散热调控系统的介绍请参照上述散热调控方法的实施例,此处不再赘述。For the introduction of the heat dissipation control system provided in the present invention, please refer to the above embodiment of the heat dissipation control method, which will not be repeated here.

请参照图3,图3为本发明提供的一种散热调控装置的结构示意图。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a heat dissipation regulating device provided by the present invention.

该散热调控装置,包括:The heat dissipation control device includes:

存储器31,用于存储计算机程序;memory 31 for storing computer programs;

处理器32,用于执行如上述所述的散热调控方法的步骤。The processor 32 is configured to execute the steps of the heat dissipation control method as described above.

对于本发明中提供的散热调控装置的介绍请参照上述散热调控方法的实施例,此处不再赘述。For the introduction of the heat dissipation control device provided in the present invention, please refer to the above embodiment of the heat dissipation control method, which will not be repeated here.

本发明还提供了一种服务器,包括BMC、风扇模块及用于外接PCIE设备的N个硬件接口,还包括如上述所述的散热调控装置。The present invention also provides a server, which includes a BMC, a fan module, and N hardware interfaces for connecting external PCIE devices, and also includes the heat dissipation control device as described above.

对于本发明中提供的服务器的介绍请参照上述散热调控方法的实施例,此处不再赘述。For the introduction of the server provided in the present invention, please refer to the above-mentioned embodiment of the heat dissipation control method, which will not be repeated here.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1.一种散热调控方法,其特征在于,应用于服务器中的BMC,所述服务器还包括风扇模块及用于外接PCIE设备的N个硬件接口,N≥1且N为整数,所述散热调控方法包括:1. A heat dissipation control method is characterized in that, applied to the BMC in the server, the server also includes a fan module and N hardware interfaces for external PCIE equipment, N≥1 and N is an integer, the heat dissipation control Methods include: 获取所述服务器当前外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,其中,1≤M≤N且M为整数;Obtain the types of M PCIE devices currently externally connected to the server and the positions in the N hardware interfaces, where 1≤M≤N and M is an integer; 根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路;Determine the physical link correspondingly connected between each of the PCIE devices and the BMC according to the location of each of the PCIE devices; 根据各个所述PCIE设备的类型确定与各个所述PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的所述信息获取线程的信息获取规则不同;所述信息获取线程为II2C信息获取线程或PCIE信息获取线程;According to the type of each described PCIE device, determine the information acquisition thread for grabbing data corresponding to each of the PCIE devices respectively, wherein, the information acquisition rules of different described information acquisition threads are different; the information acquisition thread is II2C Information acquisition thread or PCIE information acquisition thread; 对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度;For each of the PCIE devices, obtain the warning temperature and the operating temperature of the PCIE devices through the physical link corresponding to the PCIE devices according to the information acquisition rules of the information acquisition threads corresponding to the PCIE devices; 根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速。The fan module is controlled to adjust the speed according to the alarm temperature and the operating temperature of each PCIE device. 2.如权利要求1所述的散热调控方法,其特征在于,获取当前所述服务器外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,包括:2. The heat dissipation control method as claimed in claim 1, wherein obtaining the types of M PCIE devices externally connected to the current server and the positions in the N hardware interfaces includes: 从所述服务器的非易失存储介质中获取当前所述服务器外接的M个PCIE设备的类型及在N个所述硬件接口中的位置。Obtain the types of the M PCIE devices externally connected to the server and their positions in the N hardware interfaces from the non-volatile storage medium of the server. 3.如权利要求1所述的散热调控方法,其特征在于,根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路,包括:3. The heat dissipation control method as claimed in claim 1, wherein the physical link correspondingly connected between each said PCIE device and said BMC is determined according to the position of each said PCIE device, comprising: 根据各个所述PCIE设备所在的位置从预先存储于所述服务器的非易失存储介质中的接口-链路对应关系中确定各个所述PCIE设备与所述BMC之间对应连接的物理链路。According to the location of each PCIE device, determine the corresponding physical link between each PCIE device and the BMC from the interface-link correspondence relationship pre-stored in the non-volatile storage medium of the server. 4.如权利要求1所述的散热调控方法,其特征在于,对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度之后,还包括:4. The heat dissipation control method as claimed in claim 1, wherein, for each of the PCIE devices, according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device, pass through the corresponding information of the PCIE device. After the physical link obtains the alarm temperature and operating temperature of the PCIE device, it also includes: 控制提示模块提示各个所述PCIE设备的所述告警温度及所述运行温度。The control prompting module prompts the warning temperature and the operating temperature of each of the PCIE devices. 5.如权利要求4所述的散热调控方法,其特征在于,所述提示模块为显示模块。5. The heat dissipation control method according to claim 4, wherein the prompt module is a display module. 6.如权利要求1至5任一项所述的散热调控方法,其特征在于,所述告警温度包括P个告警温度,其中,P≥1且P为整数,且当P>1时第j个所述告警温度<第j+1个所述告警温度,1≤j≤P-1且j为整数;6. The heat dissipation control method according to any one of claims 1 to 5, wherein the alarm temperature includes P alarm temperatures, where P≥1 and P is an integer, and when P>1, the jth The first alarm temperature < the j+1th alarm temperature, 1≤j≤P-1 and j is an integer; 根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速,包括:Controlling the fan module for speed regulation according to the alarm temperature and the operating temperature of each of the PCIE devices includes: 对于第i个所述PCIE设备,1≤i≤M且i为整数,执行如下步骤:For the i-th PCIE device, 1≤i≤M and i is an integer, perform the following steps: 当P=1且所述运行温度≥所述告警温度时,确定第i个所述PCIE设备拟控制所述风扇模块按照第一预设速度运转;When P=1 and the operating temperature ≥ the alarm temperature, determine that the i-th PCIE device intends to control the fan module to operate at a first preset speed; 当P>1且第j个所述告警温度≤所述运行温度<第j+1个所述告警温度时,确定第i个所述PCIE设备拟控制所述风扇模块按照第j+1预设速度运转;When P>1 and the jth alarm temperature≤the operating temperature<the j+1th alarm temperature, it is determined that the ith PCIE device intends to control the fan module according to the j+1th preset speed operation; 当P>1且所述运行温度≥第P个所述告警温度时,确定第i个所述PCIE设备拟控制所述风扇模块按照第j+2预设速度运转,其中,所述第j+1预设速度<所述第j+2预设速度;When P>1 and the operating temperature ≥ the Pth alarm temperature, it is determined that the i-th PCIE device intends to control the fan module to operate at the j+2th preset speed, wherein the j+th 1 preset speed < said j+2 preset speed; 控制所述风扇模块按照各个所述PCIE设备确定的拟控制所述风扇模块运转的速度的最大值进行调速。The fan module is controlled to adjust the speed according to the maximum value of the speed determined by each PCIE device to control the operation of the fan module. 7.一种散热调控系统,其特征在于,应用于服务器中的BMC,所述服务器还包括风扇模块及用于外接PCIE设备的N个硬件接口,N≥1且N为整数,包括:7. A heat dissipation control system, characterized in that it is applied to the BMC in the server, and the server also includes a fan module and N hardware interfaces for external PCIE devices, N≥1 and N is an integer, including: 第一获取单元,用于获取所述服务器当前外接的M个PCIE设备的类型及在N个所述硬件接口中的位置,1≤M≤N且M为整数;The first obtaining unit is used to obtain the types of M PCIE devices currently connected to the server and the positions in the N hardware interfaces, where 1≤M≤N and M is an integer; 第一确定单元,用于根据各个所述PCIE设备所在的位置确定各个所述PCIE设备与所述BMC之间对应连接的物理链路;A first determining unit, configured to determine a physical link correspondingly connected between each of the PCIE devices and the BMC according to the location of each of the PCIE devices; 第二确定单元,用于根据各个所述PCIE设备的类型确定与各个所述PCIE设备分别对应的用于抓取数据的信息获取线程,其中,不同的所述信息获取线程的信息获取规则不同;所述信息获取线程为II2C信息获取线程或PCIE信息获取线程;The second determination unit is used to determine the information acquisition threads for grabbing data corresponding to each of the PCIE devices according to the type of each of the PCIE devices, wherein the information acquisition rules of different information acquisition threads are different; Described information acquisition thread is II2C information acquisition thread or PCIE information acquisition thread; 第二获取单元,用于对于每个所述PCIE设备,按照与所述PCIE设备对应的信息获取线程的信息获取规则通过与所述PCIE设备对应的所述物理链路获取所述PCIE设备的告警温度及运行温度;The second acquisition unit is used to obtain the alarm of the PCIE device through the physical link corresponding to the PCIE device according to the information acquisition rule of the information acquisition thread corresponding to the PCIE device for each of the PCIE devices temperature and operating temperature; 调速控制单元,用于根据各所述PCIE设备的所述告警温度及所述运行温度控制所述风扇模块进行调速。A speed regulation control unit, configured to control the fan module to perform speed regulation according to the alarm temperature and the operating temperature of each of the PCIE devices. 8.一种散热调控装置,其特征在于,包括:8. A heat dissipation control device, characterized in that it comprises: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行如权利要求1至6任一项所述的散热调控方法的步骤。A processor, configured to execute the steps of the thermal regulation method according to any one of claims 1 to 6. 9.一种服务器,其特征在于,包括BMC、风扇模块及用于外接PCIE设备的N个硬件接口,还包括如权利要求8所述的散热调控装置。9. A server, characterized in that it comprises a BMC, a fan module, and N hardware interfaces for externally connecting PCIE devices, and also comprises a heat dissipation regulating device as claimed in claim 8.
CN202210043942.2A 2022-01-14 2022-01-14 Heat dissipation regulation and control method, system, device and server Active CN114489292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210043942.2A CN114489292B (en) 2022-01-14 2022-01-14 Heat dissipation regulation and control method, system, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210043942.2A CN114489292B (en) 2022-01-14 2022-01-14 Heat dissipation regulation and control method, system, device and server

Publications (2)

Publication Number Publication Date
CN114489292A CN114489292A (en) 2022-05-13
CN114489292B true CN114489292B (en) 2023-08-04

Family

ID=81512007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210043942.2A Active CN114489292B (en) 2022-01-14 2022-01-14 Heat dissipation regulation and control method, system, device and server

Country Status (1)

Country Link
CN (1) CN114489292B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169222A1 (en) * 2015-04-24 2016-10-27 北京百度网讯科技有限公司 Method and device for controlling server fan of complete machine cabinet
CN106762765A (en) * 2016-12-26 2017-05-31 郑州云海信息技术有限公司 Server fan under being configured for different type board regulates and controls method and system
CN110389637A (en) * 2019-06-26 2019-10-29 苏州浪潮智能科技有限公司 A kind of automatic setting method, BMC and the server of server radiating strategy
CN113900718A (en) * 2021-09-30 2022-01-07 苏州浪潮智能科技有限公司 Method, system and device for decoupling asset information of BMC (baseboard management controller) and BIOS (basic input/output system)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169222A1 (en) * 2015-04-24 2016-10-27 北京百度网讯科技有限公司 Method and device for controlling server fan of complete machine cabinet
CN106762765A (en) * 2016-12-26 2017-05-31 郑州云海信息技术有限公司 Server fan under being configured for different type board regulates and controls method and system
CN110389637A (en) * 2019-06-26 2019-10-29 苏州浪潮智能科技有限公司 A kind of automatic setting method, BMC and the server of server radiating strategy
CN113900718A (en) * 2021-09-30 2022-01-07 苏州浪潮智能科技有限公司 Method, system and device for decoupling asset information of BMC (baseboard management controller) and BIOS (basic input/output system)

Also Published As

Publication number Publication date
CN114489292A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US7921203B2 (en) Specifying associations among attributes of entities in
US7426109B2 (en) System and method for adaptive information handling system cooling profiles
CN114911332B (en) Method and system for regulating and controlling server fan, electronic equipment and storage medium
CN106762765B (en) Server fan under being configured for different type board regulates and controls method and system
TWI683215B (en) Method and system of thermal management in a computing device using a management controller
US20220066530A1 (en) Information processing apparatus and method
CN116027865A (en) Method and device for regulating and controlling heat dissipation of server, electronic equipment and storage medium
US10178808B2 (en) Method and system for automatically scaling performance in an information handling system
CN114996096A (en) A kind of server, fan speed regulation method and circuit of server
CN115469728A (en) A server cooling system and its method, electronic equipment and storage medium
CN111309123B (en) Fan regulation and control method, device, equipment and medium
US20060277401A1 (en) System and method for information handling system interoperable firmware storage
CN106774731A (en) A kind of method for designing and system of compatible various fan regulation and controlling strategies
US10466770B2 (en) Operating voltage regulators in an information handling system
CN114489292B (en) Heat dissipation regulation and control method, system, device and server
CN115494930A (en) Optimal low energy consumption keeping method, device, equipment and medium
CN115263793A (en) A speed regulation method, speed regulation device, equipment and medium of a server fan
CN118815738A (en) Server and fan speed regulation method, device, equipment and volatile storage medium thereof
CN112065757A (en) Intelligent regulation and control method for server fan in S5 state
CN102410237A (en) Fan speed control method and related computer system
TWI863428B (en) Method for controlling cooling fan and related equipment
CN120428836B (en) Heat dissipation method of processor, computer device, storage medium and program product
CN110794937A (en) Temperature control method, system and related device for backup power supply in storage device
CN110989814A (en) A protection method, device and equipment for a server
CN221827286U (en) Server based on electric data regulation and control heat dissipation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China