Server temperature regulation and control method and device, expansion card and storage medium
By using expansion card slot position information and voltage signals to determine the device interface information in the server, and accurately adjust the fan wind speed, the problem of high power consumption for server fan regulation in the prior art is solved, and more efficient thermal management and energy consumption optimization are achieved.
Patent Information
- Application Number
- CN202412000516.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-27
AI Technical Summary
The existing server fan control method has the problem of high power consumption, and it is impossible to accurately control the fans at the location of the overtemperature PCIE device, resulting in an increase in the global fan speed and unnecessary power consumption.
The position information of the reference device is determined by the position information of the expansion card slot, and the interface information of the device interface is determined by the voltage signal of the first chip of the expansion card, so as to accurately adjust the wind speed of the target fan under overtemperature.
It realizes precise control of the heat dissipation of specific areas or devices within the server without affecting the overall server performance, thereby optimizing thermal management and energy consumption management, and reducing power consumption during fan regulation.
Smart Images

Figure CN120045037A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of hardware management, and in particular, to a server temperature regulation method and device, an expansion card, and a storage medium. Background Art
[0002] In a server, each Peripheral Component Interconnect Express (PCIE) interface integrated in a CPU can be used to link a PCIE device. During the operation of the server, a large amount of heat can be generated by multiple PCIE devices. Therefore, for the stability of the server, it is necessary to effectively discharge the heat generated by the server, so as to keep the server within a suitable temperature range.
[0003] In the related art, a Baseboard Management Controller (BMC) communicates with a PCIE device through a Management Component Transport Protocol (MCTP) based on a PCIE link, obtains the real-time temperature, and calculates the target rotation speed of the fan according to the temperature of the device to control the temperature of the server. However, the BMC cannot determine the location of the over-temperature PCIE device, so it cannot precisely control a certain fan. Therefore, when the temperature of a certain device is too high, the wind speed of all fans will be increased, resulting in unnecessary power consumption. That is, the server fan regulation method in the related art has the problem of high power consumption.
[0004] In view of the technical problem of high power consumption in the current server fan regulation method in the related art, no effective solution has been proposed yet. Summary of the Invention
[0005] The embodiments of the present application provide a server temperature regulation method and device, an expansion card, and a storage medium, so as to at least solve the technical problem of high power consumption in the current server fan regulation method in the related art.
[0006] According to an embodiment of the present application, a server temperature regulation method is provided, including: determining the location information of a reference device corresponding to a slot according to the location information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; determining the interface information of a device interface allocated to the slot of the expansion card according to the voltage signal of a first chip of the expansion card, where the interface information is used to indicate the device interface of a processor; and when the temperature information of the reference device connected to the device interface meets a preset condition, determining a target fan according to the location information of the reference device, and adjusting the wind speed of the target fan according to the temperature information of the reference device.
[0007] In an exemplary embodiment, the interface information of the device interface that determines the slot allocation of the expansion card according to the voltage signal of the first chip of the expansion card includes: searching in the signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interfaces corresponding to multiple slots of the expansion card.
[0008] In an exemplary embodiment, the interface information of the device interface that determines the slot allocation of the expansion card according to the voltage signal of the first chip of the expansion card further includes: when there are three slots for the expansion card, searching in the signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interfaces allocated to the first slot and the second slot of the expansion card; determining the interface information of the device interface allocated to the third slot of the expansion card according to the communication bus.
[0009] In an exemplary embodiment, before determining the position information of the reference device corresponding to the slot according to the position information of the expansion card slot, it further includes: determining the device connection status of the expansion card slot according to the voltage signal of the second chip of the expansion card, where the device connection status is used to indicate whether the slot is connected to a reference device.
[0010] In an exemplary embodiment, before determining the target fan according to the position information of the reference device when the temperature information of the reference device connected to the device interface meets the preset conditions, it further includes: receiving the correspondence between the device information of the reference device and the interface information of the device interface; accessing the reference device to determine the correspondence between the device information and the temperature information; determining the temperature information of the reference device connected to the device interface.
[0011] In an exemplary embodiment, the above method further includes: when the server is started, obtaining the voltage information of the second chip of the expansion card through a communication bus; determining the reference device connected to the slot of the expansion card according to the voltage information of the second chip; obtaining a signal interface comparison table, and obtaining the voltage information of the first chip of the expansion card through the communication bus; determining the interface information of multiple device interfaces connected to multiple slots of the expansion card according to the information interface comparison table and the voltage information of the first chip of the expansion card; receiving asset information, where the asset information is used to indicate the correspondence between the device information of the reference device and the interface information of the device interface; accessing the registers of all reference devices connected to the slots of the expansion card to determine the temperature information corresponding to all reference devices; determining the temperature information of the reference device connected to the device interface according to the correspondence between the device information and the temperature information of the reference device, and the correspondence between the device information and the interface information of the device interface; determining the correspondence between the temperature information of multiple reference devices connected to multiple slots and the position information of the expansion card slots; when the temperature information of the reference device connected to the device interface meets a preset condition, determining a target fan according to the position information of the reference device, where the fan partition where the target fan is located corresponds to the position information; adjusting the wind speed of the target fan according to the temperature information of the reference device.
[0012] According to another embodiment of the present application, an expansion card is provided, including: a first chip, where the first chip is connected to a third chip, and the voltage signal of the pin of the first chip is used to indicate the interface information of the device interface allocated to the slot of the expansion card; a second chip, where the second chip is connected to the third chip, and the voltage signal of the pin of the second chip is used to indicate the device connection situation of the slot of the expansion card; a third chip, where the third chip is connected to the first chip and the second chip, and the third chip is connected to the slot and the bus; a slot, where the slot is used to connect a reference device.
[0013] According to yet another embodiment of the present application, a server temperature control device is provided, including: a position information determination module, configured to determine the position information of the reference device corresponding to the slot according to the position information of the expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; an interface information determination module, configured to determine the interface information of the device interface allocated to the slot of the expansion card according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; a wind speed adjustment module, configured to determine a target fan according to the position information of the reference device and adjust the wind speed of the target fan according to the temperature information of the reference device when the temperature information of the reference device connected to the device interface meets a preset condition.
[0014] According to another embodiment of the present application, there is also provided a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0015] According to another embodiment of the present application, there is also provided an electronic device including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0016] According to another embodiment of the present application, there is also provided a computer program product including a computer program, and the steps of the methods in the various embodiments of the present application are implemented when the computer program is executed by a processor.
[0017] Through the present application, the position information of a reference device corresponding to a slot is determined according to the position information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; the interface information of a device interface allocated to the expansion card slot is determined according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; when the temperature information of the reference device connected to the device interface meets a preset condition, the target fan is determined according to the position information of the reference device, and the wind speed of the target fan is adjusted according to the temperature information of the reference device. It is possible to determine the position information of the reference device connected to the slot by using the slot of the expansion card, and determine the interface information of the device interface connected according to the expansion card, and the temperature information of the reference device connected to the interface can be obtained through the interface information. When the temperature of the reference device meets the adjustment condition, the position of the reference device that needs to adjust the temperature can be determined, and the fan at the corresponding position can be determined according to the position information of the overheated reference device to adjust the wind speed of the fan. Thus, the technical problem of high power consumption existing in the current server fan control method in the related art is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a hardware structure block diagram of an optional server temperature control method according to an embodiment of the present application;
[0019] Figure 2 is a flowchart of an optional server temperature control method according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of an optional server temperature control method according to an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of another optional server temperature control method according to an embodiment of the present application;
[0022] Figure 5 It is a structural diagram of an optional expansion card according to an embodiment of the present application;
[0023] Figure 6 It is a structural block diagram of an optional server temperature control device according to an embodiment of the present application. Specific embodiments
[0024] In the following, embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence.
[0026] Figure 1 It is a hardware structural block diagram of an optional server temperature control method according to an embodiment of the present application. As Figure 1 shown, according to one aspect of an embodiment of the present application, a server temperature control method is provided. As an optional implementation, the above-mentioned server temperature control method can be but is not limited to being applied to a server temperature control system in a hardware environment as Figure 1 shown. The above-mentioned server temperature control system can be composed of a central processing unit 102, a baseboard management controller 104, a PCIE expansion card 106 (which may include a PCA9555 chip 108) and multiple PCIE devices (such as PCIE device 110, PCIE device 112, and PCIE device 114).
[0027] Among them, the central processing unit 102 is used to process computing tasks, including arithmetic operations, logical operations, and data transmission. After the server starts, the Basic Input / Output System (BIOS) runs, which can initialize hardware devices, check the system health status, and it will detect all PCIE devices in the system and record their bus number, device number, and function number (Bus, Device, Function, BDF) information for the operating system to identify and configure the devices. A PCIE Port is integrated on the central processing unit (CPU) 102, and these interfaces allow the CPU to directly connect to various PCIE devices. Through the PCIE Port, the connected PCIE devices can be recognized in the operating system, and the operating system can load the corresponding driver programs to control these devices. After the server is powered on, the BIOS will directly obtain the PCIE Port information and BDF information of the PCIE devices through the central processing unit 102, and then send them to the baseboard management controller 104, that is, send the correspondence between the PCIE Port and the BDF.
[0028] The Baseboard Management Controller 104 is an independent controller dedicated to monitoring and managing server hardware and systems. The BMC is an independent system that does not rely on other hardware (such as CPUs, memory, etc.) or software (such as BIOS, operating system OS) on the server. The BMC is responsible for monitoring the key hardware states of the server, such as temperature, voltage, fan speed, and power status, and making corresponding adjustments to maintain system health. The BMC is connected to other components in the system through different interfaces, such as LPC, I2C, SMBUS, and Serial, etc. The BMC can traverse each slot of the PCIE expansion card 106 via the I2C link to access the PCIE devices, and can access the configuration space of the PCIE devices to obtain BDF information. It can also directly obtain the temperature values of the PCIE devices to establish the correspondence of "BDF, temperature value".
[0029] The PCIE expansion card 106 is used to expand the slots on the server motherboard, providing additional slot space for installing more devices, such as GPU cards, network adapters, hard disk controllers, etc. The Riser card can convert one slot on the motherboard into multiple slots, or convert the interface type of one slot into another type. For example, it can convert a PCIe x16 slot into multiple PCIe x8 or PCIe x4 slots.
[0030] The PCA9555 chip 108 is the chip included in the PCIE expansion card 106. There can be two PCA9555 chips 108 included in the PCIE expansion card 106. The pins of different PCA9555 chips 108 can be set to different information, and the corresponding information can be determined through the pin information. For example, it can be determined whether the PCIE device on the slot is present through the pins, which PCIE Port of the CPU the slot is assigned to through the pins, and the correspondence between the slot and the PCIE Port can be determined to determine the relationship between the physical address of the PCIE device on the slot and the PCIE Port.
[0031] The PCIE device is fully called the Peripheral Component Interconnect Express device, which is a high-speed serial computer expansion bus standard mainly used to connect various components inside the computer, such as graphics cards, network cards, sound cards, etc., enabling them to efficiently transfer data and work together.
[0032] In the above server temperature regulation system, it can also include fans. The fans can be installed inside the chassis to provide airflows and cool the PCIE devices. The fans can drive the blades to rotate to generate airflows to achieve heat dissipation. The BMC can control the fan speed corresponding to the area after determining the area where the temperature needs to be adjusted to change the temperature.
[0033] The above usage scenarios are only examples. Any scenario related to server temperature regulation can utilize the solution of this application. This embodiment does not make any limitations in this regard.
[0034] Through this application, the location information of the reference device corresponding to the slot is determined according to the location information of the expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; the interface information of the device interface allocated to the slot of the expansion card is determined according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; when the temperature information of the reference device connected to the device interface meets the preset conditions, the target fan is determined according to the location information of the reference device, and the wind speed of the target fan is adjusted according to the temperature information of the reference device. The location information of the reference device connected to the slot can be determined by using the slot of the expansion card, and the interface information of the connected device interface can be determined according to the expansion card. Moreover, the temperature information of the reference device connected to the interface can be obtained through the interface information. When the temperature of the reference device meets the adjustment condition, the location of the reference device that needs to adjust the temperature can be determined, and the fan at the corresponding location can be determined according to the location information of the over-temperature reference device to adjust the wind speed of the fan. Therefore, the technical problem of high power consumption existing in the current server fan regulation method in the related art is solved.
[0035] In this embodiment, a server temperature regulation method is provided. Figure 2 It is a flowchart of an optional server temperature regulation method according to an embodiment of this application, as Figure 2 shown. The server temperature regulation method includes:
[0036] Step S202, determine the location information of the reference device corresponding to the slot according to the location information of the expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one;
[0037] It should be noted that in the server chassis, the expansion card (Riser card) is usually physically connected through a dedicated slot. Each slot has its specific location information. For example, based on the silk screen serial number of the rear window slot of the chassis (such as PCIE0, PCIE1, etc.). When a PCIE device is inserted into these slots, it becomes a part of the server and can be called a "reference device".
[0038] In an optional implementation manner, the BMC (Baseboard Management Controller) needs to determine the actual location information of the reference device inserted into the slot according to the physical location information of the expansion card slot (slot). This information is obtained by reading the presence signal in the hardware or by querying the pre-stored slot location information table.
[0039] Step S204: Determine the interface information of the device interface assigned to the expansion card slot according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor.
[0040] It should be noted that the PCIE device is physically connected to the inside of the server through its slot and communicates with the processor through a specific device interface (such as the PCIE interface of the CPU). The interface information indicates which device interface of the processor is connected to the expansion card, which is crucial for understanding the in-band connection relationship of the device.
[0041] In an alternative embodiment, the BMC can read the voltage signal (VPP signal) sent by the first chip (such as the PCA9555 chip) on the expansion card. By analyzing these signals and referring to the stored correspondence table between the VPP signal and the processor device interface, the BMC can determine which device interface of which processor each expansion card slot is assigned to. This step establishes the correspondence between the physical location of the device and its in-band communication interface.
[0042] Step S206: When the temperature information of the reference device connected to the device interface meets the preset conditions, determine the target fan according to the location information of the reference device, and adjust the wind speed of the target fan according to the temperature information of the reference device.
[0043] It should be noted that the temperature monitoring inside the server is the key to ensuring the stable operation of the device. When it is detected that the temperature of a certain reference device is too high, it is necessary to increase the heat dissipation by adjusting the fan speed, thereby reducing the temperature and preventing performance degradation or system failure caused by overheating of the device.
[0044] In an alternative embodiment, the BMC obtains the temperature information of the reference device through a temperature sensor or a register on the expansion card. If the temperature information indicates that the device temperature exceeds the preset safe range, the BMC will locate a specific area inside the chassis according to the location information of the expansion card (reference device) determined in step S202, so as to determine the "target fan" whose wind speed needs to be adjusted. Then, the BMC adjusts the wind speed of the target fan according to the temperature information of the reference device and the preset heat dissipation control algorithm (such as PID control) to effectively dissipate heat without affecting the noise level and energy efficiency of the entire server.
[0045] Through this application, the location information of a reference device corresponding to a slot is determined according to the location information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference devices and the slots are in one-to-one correspondence; the interface information of a device interface allocated to the slot of the expansion card is determined according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; when the temperature information of the reference device connected to the device interface meets a preset condition, a target fan is determined according to the location information of the reference device, and the wind speed of the target fan is adjusted according to the temperature information of the reference device. The location information of the reference device connected to the slot can be determined by using the slot of the expansion card, and the interface information of the device interface connected can be determined according to the expansion card, and the temperature information of the reference device connected to the interface can be obtained through the interface information. When the temperature of the reference device meets the adjustment condition, the location of the reference device that needs to adjust the temperature can be determined, and the fan at the corresponding location can be determined according to the location information of the overheated reference device to adjust the wind speed of the fan. It is possible to accurately control the heat dissipation of a certain area or device without affecting the overall performance of the server, thereby optimizing the thermal management and energy consumption management inside the server. Thus, the technical problem of high power consumption existing in the current server fan control method in the related art is solved.
[0046] In an alternative embodiment, the determining the interface information of the device interface allocated to the slot of the expansion card according to the voltage signal of the first chip of the expansion card includes: searching in a signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interfaces corresponding to multiple slots corresponding to the expansion card.
[0047] It should be noted that the interface information of which device interface (such as the PCIE interface of the CPU) the slot of the expansion card is allocated to can be determined through the voltage signal (VPP signal) of the first chip (usually a PCA9555 or similar I / O expansion chip) on the expansion card. This process is one of the key steps for the BMC (Baseboard Management Controller) to achieve accurate location recognition and heat dissipation control of the internal devices of the server.
[0048] In an alternative embodiment, after the reference device is inserted into the slot of the server, the physical connection inside the slot triggers one or more voltage signals, which are generated by the circuit design in the slot. The specific value (level) of the voltage signal corresponds to the connection relationship between the reference device and a certain device interface in the server, that is, which PCIE interface of which CPU in the server the reference device is connected to through this slot.
[0049] In an alternative embodiment, to understand and parse these voltage signals, a signal interface look-up table is created during the design of the server. This look-up table details the association between each voltage signal level and a specific device interface. Since different types of servers or Riser cards may have different physical designs and meanings of voltage signal levels, the look-up table is specific to the server model or Riser card type.
[0050] In an alternative embodiment, when the server starts up or an expansion card is inserted, the BMC reads the voltage signals sent by the first chip (PCA9555) on the expansion card via the I2C bus. Then, the BMC uses these signal values to look up in the above-mentioned signal interface look-up table to determine which device interface of the server the slot of the expansion card is connected to.
[0051] In an alternative embodiment, based on the corresponding relationship found through the look-up table, the BMC can determine the specific connection information between each expansion card slot and the internal device interface of the server, that is, which PCIe interface of which CPU the expansion card is inserted into. This process enables the BMC to establish the association between the physical location of the expansion card and the in-band communication interface, which is crucial for subsequent device management and thermal control.
[0052] This method of parsing device interface information through voltage signals is not only applicable to PCIe expansion cards but can also be applied to the location of other devices with VPP signals, such as hard disks, CXL cards, etc. As long as the insertion of the device triggers the voltage signals associated with the device interface, by the BMC reading and parsing these signals and combining with the signal look-up table, it can be determined which device interface in the server the device is connected to.
[0053] Through the above embodiments of the present application, the BMC can obtain the accurate location and interface information of various expansion devices in the server, providing a basis for more precise device management and thermal control. For example, when heat dissipation is required for a certain reference device, the BMC can accurately control the rotation speed of the fans directly related to or physically adjacent to it according to the location information and interface information of the slot, thus avoiding the unnecessary increase in the global fan speed and achieving efficient use of energy and minimization of server noise.
[0054] In an alternative embodiment, the above-mentioned interface information for determining the device interface assigned to the slot of the expansion card based on the voltage signals of the first chip of the expansion card further includes: when there are three slots on the expansion card, looking up in the signal interface look-up table according to the voltage signals of the first chip to determine the interface information of the device interfaces assigned to the first slot and the second slot of the expansion card; determining the interface information of the device interface assigned to the third slot of the expansion card according to the communication bus.
[0055] It should be noted that in the server, when the expansion card can be inserted into three slots, the Baseboard Management Controller (BMC) can use the voltage signal (VPP signal) of the first chip (such as the PCA9555_1 chip) and the I2C bus (i.e., the communication bus) to determine the information of the device interface (such as the PCIE interface of the CPU) corresponding to each slot.
[0056] It should be noted that each expansion card slot has its unique physical design, including voltage signal pins for identifying the connection relationship with the internal device interfaces of the server. When the reference device is inserted, these pins will activate the VPP signal, and the specific level of the signal represents the connection information between the expansion card and a specific device interface in the server. In the case of different reference devices inserted into the three slots, the position information and device interface allocation of the first two slots can be obtained through the VPP signal of the first chip (usually PCA9555).
[0057] In an alternative embodiment, for the position information and device interface allocation of the third slot, since the pins of the first chip may not provide enough VPP signals, or the parsing of its VPP signal is not as intuitive as that of the first two slots, the BMC can use the I2C bus (Inter-Integrated Circuit bus) to communicate with the controller on the expansion card to obtain more specific position and connection information. The I2C bus is a two-way two-wire serial bus that allows the master controller (such as the BMC) to communicate with multiple slave devices (such as the controller on the expansion card) to send and receive data.
[0058] In an alternative embodiment, the BMC communicates with the control chip on the expansion card through the I2C bus to query and read the detailed information of the third slot, including its physical position and the connection relationship with the internal device interfaces of the server. The information read also needs to be matched with the signal interface comparison table or other configuration information.
[0059] In an alternative embodiment, after obtaining the interface information of the first two slots (through the VPP signal) and the interface information of the third slot (through the I2C bus), the BMC can completely determine the physical positions of the PCIE devices (reference devices) on each slot of the expansion card in the server and their connection relationships with the internal device interfaces of the server. This information is crucial for subsequent device management and thermal control. For example, when it is detected that a certain expansion card is overheated, the BMC can accurately control the fan connected to the area of the slot according to its position and the device interface information connected to it, achieving efficient heat dissipation without affecting the overall operating efficiency and noise level of the server.
[0060] Through the above embodiments of the present application, even in complex situations where an expansion card can be inserted into multiple slots, the BMC of the server can still accurately identify the location information of each slot and the device interface allocation, providing key data support for subsequent device monitoring and thermal control.
[0061] In an alternative embodiment, before determining the location information of the reference device corresponding to the slot according to the location information of the expansion card slot, it further includes: determining the device connection condition of the slot of the expansion card according to the voltage signal of the second chip of the expansion card, where the device connection condition is used to indicate whether a reference device is connected to the slot.
[0062] It should be noted that before determining the specific location information of the expansion card and its connection relationship with the internal device interfaces of the server, the voltage signal sent by the second chip (such as the PCA9555_0 chip) on the expansion card can be used to determine whether the expansion card has been inserted into a specific slot and whether there is a device connected to the slot.
[0063] In an alternative embodiment, in addition to the first chip for identifying device interface allocation, the expansion card may also include a second chip that can send another type of voltage signal, which is usually referred to as the "presence signal". The purpose of this signal is to inform the server management controller (BMC) whether the reference device has been correctly inserted into the slot. The change in the level of the presence signal indicates a change in the device connection state on the slot.
[0064] It should be noted that when the server starts up, the BMC will read the voltage signal (presence signal) sent by the second chip and determine whether the reference device has been inserted into a specific slot according to the level of the signal. If the signal indicates that there is a device connected, then the BMC will further perform subsequent steps, such as using the voltage signal of the first chip to determine the device interface information.
[0065] In an alternative embodiment, when the server is designed, a comparison table will be prepared for each expansion card, which details the relationship between the level of the presence signal and the device connection state. For example, a high level may represent that there is a device connected, and a low level represents that the slot is empty. After reading the presence signal, the BMC will determine the device connection state of the slot according to this comparison table.
[0066] It should be noted that before the BMC determines the connection relationship between the slot of the expansion card and the internal device interfaces of the server, it is first necessary to confirm whether there is a device on the slot. This is because if the slot is empty, the voltage signal analysis in the subsequent steps will be meaningless and may even result in incorrect device interface information being recorded. By reading and analyzing the presence signal, the BMC can avoid unnecessary processing of empty slots, thereby improving the accuracy and efficiency of the system management and thermal control strategies.
[0067] When the server administrator inserts or removes a PCIe device, the BMC can quickly detect these changes and update the server's device list and connection status in a timely manner by reading the presence signal. This is crucial for the server's health monitoring, resource management, and dynamic thermal management strategy adjustment. For example, after detecting that a device is inserted into a certain slot, the BMC will further obtain the interface information of the device and precisely control the fan speed related to the position of that slot when the operating temperature of the device exceeds a preset threshold to achieve efficient heat dissipation.
[0068] Through the above implementation manner of the present application, the BMC can ensure that when parsing the device interface information, it only processes the slots where there are actually devices connected, avoiding waste of resources and incorrect device management. This step is a necessary prerequisite for building an accurate database of device positions and interface information, providing key support for the efficient management and maintenance of the server.
[0069] In an alternative implementation manner, before determining the target fan according to the position information of the reference device under the condition that the temperature information of the reference device connected to the device interface meets the preset conditions, it further includes: receiving the correspondence between the device information of the reference device and the interface information of the device interface; accessing the reference device to determine the correspondence between the device information and the temperature information; determining the temperature information of the reference device connected to the device interface.
[0070] It should be noted that before determining and adjusting the target fan speed based on the expansion card slot position information and the temperature information of the reference device (i.e., the device connected to the server through the slot, such as a PCIe card), the BMC (Baseboard Management Controller) needs to determine the correspondence between the PCIe position information and the temperature value of the reference device.
[0071] In an alternative implementation manner, when the server starts up, the BIOS (Basic Input / Output System) will scan all hardware devices, including reference devices connected through device interfaces (such as the PCIe interface of the CPU), such as PCIe cards, hard disks, CXL cards, etc. The BIOS sends the correspondence between the scanned device information (such as device type, BDF information, etc.) and the interface information of the device interface (such as which PCIe interface of the CPU) to the BMC. Receiving this information is the basis for the BMC to comprehensively understand the server's hardware architecture and device connection status.
[0072] In an alternative embodiment, a reference device can be accessed to determine the correspondence between device information and temperature information. The BMC directly accesses these reference devices via the I2C bus, PCIE link, or other hardware interfaces to read the temperature information from the temperature sensors or temperature registers on the devices. By reading the temperature information, the BMC can establish a correspondence database of "device information (BDF) - temperature information", where the device information typically includes the BDF information, type, and location information of the device, and the temperature information is the real-time temperature reading of the device during operation. This database is a key data source for formulating subsequent heat dissipation control strategies.
[0073] It should be noted that the BMC will further analyze the correspondence between device information and temperature information to determine which reference devices' temperature information meets the preset temperature thresholds or conditions (such as overheat alarm thresholds, normal operating temperature ranges, etc.). For example, if the preset condition is that the device temperature exceeds 85°C, the BMC will filter out all reference devices with a temperature exceeding 85°C, which is the list of devices that require heat dissipation control.
[0074] The BMC has collected all the necessary information, including the device information, device interface information, device location information, and real-time temperature information of the reference devices. Next, the BMC will determine which fans are the target fans whose rotation speeds need to be adjusted based on the collected location information of the reference devices to achieve effective heat dissipation for overheated devices. By precisely controlling the target fans instead of blindly increasing the rotation speeds of all fans, the power consumption, noise, and vibration of the server can be reduced, thereby improving the overall operating efficiency of the server and the service life of the hardware devices.
[0075] Through the above-described embodiments of the present application, it is ensured that the BMC can accurately identify and locate the reference devices that require heat dissipation control, laying a solid foundation for implementing more intelligent and energy-efficient server heat dissipation strategies. By directly communicating to obtain temperature information, the BMC can monitor the device status in real time and quickly adjust the fan rotation speed when necessary, avoiding performance degradation or failures caused by device overheating, and at the same time reducing unnecessary energy waste and environmental impacts.
[0076] In an alternative embodiment, the above method further includes: when the server is started, obtaining the voltage information of the second chip of the expansion card through a communication bus; determining the reference device connected to the slot of the expansion card according to the voltage information of the second chip; obtaining a signal interface comparison table, and obtaining the voltage information of the first chip of the expansion card through the communication bus; determining the interface information of the multiple device interfaces connected to the multiple slots of the expansion card according to the information interface comparison table and the voltage information of the first chip of the expansion card; receiving asset information, where the asset information is used to indicate the correspondence between the device information of the reference device and the interface information of the device interface; accessing the registers of all the reference devices connected to the slots of the expansion card to determine the temperature information corresponding to all the reference devices; determining the temperature information of the reference device connected to the device interface according to the correspondence between the device information and the temperature information of the reference device, and the correspondence between the device information of the reference device and the interface information of the device interface; determining the correspondence between the temperature information of the multiple reference devices connected to the multiple slots and the position information of the expansion card slots; when the temperature information of the reference device connected to the device interface meets a preset condition, determining a target fan according to the position information of the reference device, where the fan partition where the target fan is located corresponds to the position information; adjusting the wind speed of the target fan according to the temperature information of the reference device.
[0077] In an alternative embodiment, taking the expansion card with three slots as an example, the expansion card may include a first chip and a second chip. The first chip may be a PCA9555_1 chip, and the second chip may be a PCA9555_0 chip. The second chip can indicate whether there is a reference device connected to the slot through the voltage information of three pins. The first chip can indicate the specific PCIEPort (interface) of the CPU corresponding to the slot through the voltage information of multiple pins. For example, the voltage information of 8 pins can be used to form an 8-byte data to indicate the interface information of the CPU.
[0078] In an alternative embodiment, after the server is powered on and booted, the BMC obtains the hardware presence signal of each SLOT in the PCA9555_0 of the Riser card through i2c. At the same time, the BMC loads the VPP signal and the CPUPORT comparison configuration file into the memory; reads the data of the PCA9555_1 of the PCIE expansion card through i2c to obtain the VPP data corresponding to the SLOT, so as to obtain the correspondence between "PCIE position information, PCIE Port". The BMC parses the asset information sent by the BIOS to obtain the correspondence between "PCIE Port, BDF". The BMC directly accesses the registers of the PCIE device through an out-of-band link, such as I2C or PCIE, to obtain the correspondence between "BDF, temperature value". Through the above correspondences, the relationship between the PCIE position information and the temperature value can be determined, that is, it can be determined which position needs to adjust the temperature.
[0079] In an alternative embodiment, after determining which position requires temperature adjustment, the BMC can load a pre-saved configuration file, obtain the partition information of the fans through the configuration file, and determine the target fans based on the location information of the reference devices. The target fans are the fans determined according to the partition information, and all the fans in a target partition can be determined as the target fans. For example, the fans can be divided into three zones, A, B, and C, in pairs, and the air flow direction in each zone can be directly facing the PCIE devices inserted at different positions. Figure 3 It is a schematic diagram of an alternative server temperature regulation method according to an embodiment of the present application; as Figure 3 shown, it can be the rear window view of the server chassis, and different reference devices can be inserted at different positions. Figure 4 It is a schematic diagram of another alternative server temperature regulation method according to an embodiment of the present application; as Figure 4 shown, it can be the top view of the server chassis. When the reference device in a certain slot exceeds the set temperature threshold, such as the PCIE4 device, then by comparing the temperature value with the set value and calculating according to the PID regulation parameters, the rotation speed of the fans in zone B where FAN2 and FAN3 (fan 2 and fan 3) are located is increased to the target rotation speed, and the rotation speeds of the remaining fans remain unchanged.
[0080] The method of the present application has strong replicability and scalability, and can be applied to the positioning of other devices with VPP signals, such as hard disks or CXL cards. The VPP signal (i.e., voltage signal) is a signal used by many devices to determine their physical positions or interface allocations in the system. The following is the specific implementation idea of how to extend the technical solution of the present application to the positioning of hard disk and CXL card devices:
[0081] Applied to hard disk device positioning: Hard disk devices in a server are usually connected through a backplane. Similarly, a PCA9555 chip similar to that in the Riser card may be designed on the backplane to monitor the presence signal and VPP signal. In this way, by the BMC reading the presence signal and VPP signal of the PCA9555 chip on the backplane, the position of the hard disk device and under which controller or channel it is can be determined.
[0082] The specific implementation steps are as follows: Obtain the presence signal. The BMC accesses the PCA9555_0 chip on the backplane through the I2C link to obtain the presence signal of each hard disk slot to determine whether the hard disk is installed. Read the VPP signal. Access the PCA9555_1 chip to read the VPP signal, and use the pre-stored correspondence table between the VPP signal and the controller or channel to determine the physical location of each hard disk and the controller or channel it is connected to. Temperature monitoring and corresponding fan speed regulation. The BMC obtains the hard disk temperature through the temperature sensor on the hard disk backplane. When the hard disk temperature exceeds the preset threshold, the fan speed of the corresponding area is adjusted according to the hard disk location. Configuration file and partition information. The hard disk partition information is also saved in the configuration file. The BMC loads the configuration file during initialization and partitions according to the hard disk location and fan location to implement an accurate fan speed regulation strategy.
[0083] Applied to CXL (Cardinal eXtended Link) card device positioning: CXL is a high-speed interconnection protocol used to connect CPUs, memory, and I / O devices, especially in the fields of AI and high-performance computing. The position and connection relationship of the CXL card can also be determined through the VPP signal.
[0084] The specific implementation steps are as follows: VPP signal parsing. The BMC accesses the PCA9555 chip on the CXL card through I2C to obtain the VPP signal, and uses the correspondence table between the VPP signal stored in the BMC and the CXL Port to determine the physical location of the CXL card. Temperature monitoring. The BMC obtains the real-time temperature through the temperature sensor on the CXL card and compares it with the preset threshold. Fan speed regulation strategy. When the temperature of the CXL card reaches or exceeds the threshold, the BMC increases the fan speed of the corresponding area according to the position information of the card, and the fan speed of other areas remains unchanged. Dynamic configuration and partition strategy. The partition information of the CXL card is also saved in the BMC in the form of a configuration file and is adjusted according to the actual server model and internal layout to achieve precise control of fans in different areas.
[0085] In an alternative implementation, the BMC can directly read the hardware presence signal. After the BMC scans all PCIe devices and compares with the number of devices sent by the BIOS, if they are inconsistent, an alarm of inconsistent hardware presence quantity can be generated to remind the operation and maintenance personnel that the number of PCIe devices recognized by the BIOS is abnormal.
[0086] Through this application, the position information of a reference device corresponding to a slot is determined according to the position information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; the interface information of a device interface allocated to the slot of the expansion card is determined according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; when the temperature information of the reference device connected to the device interface meets a preset condition, a target fan is determined according to the position information of the reference device, and the wind speed of the target fan is adjusted according to the temperature information of the reference device. The position information of the reference device connected to the slot can be determined by using the slot of the expansion card, and the interface information of the connected device interface can be determined according to the expansion card. Moreover, the temperature information of the reference device connected to the interface can be obtained through the interface information. When the temperature of the reference device meets the adjustment condition, the position of the reference device that needs to adjust the temperature can be determined, and the fan at the corresponding position can be determined according to the position information of the overheated reference device to adjust the wind speed of the fan. Therefore, the technical problem of high power consumption existing in the current server fan control method in the related art is solved.
[0087] Based on the fan control method based on the position of PCIE devices proposed in this application, the solution can be further extended to improve the thermal management efficiency and intelligent level of the server, such as integrating a cooling system with intelligent learning and prediction.
[0088] A machine learning algorithm can be integrated into the BMC to enable it to learn the thermal patterns of different PCIE devices in the server based on historical data and predict the future temperature change trend of the devices. According to the learned thermal patterns, the fan partition and the overheat warning threshold are dynamically adjusted to more accurately respond to the rising temperature. The system can automatically adjust the fan speed strategy according to the external environmental temperature and the server load, reducing unnecessary energy consumption and noise. Combining thermal pattern analysis, potential overheat risks of the devices are predicted, and heat dissipation intervention is carried out in advance to extend the service life of the hardware.
[0089] In an alternative embodiment, the following steps can be executed: The BMC continuously collects the temperature information of PCIE devices, the server load information, and the environmental temperature information during the operation of the server. Machine learning algorithms (such as time series prediction models, support vector machines, neural networks, etc.) are used to analyze the relationship between historical temperature data and the device operating state, and a thermal pattern model is learned and established.
[0090] According to the learning results, the fan partition of each PCIE device is dynamically adjusted to ensure that the fans in each partition are targeted at the devices most likely to generate heat. The PID parameters are optimized to adapt to the thermal characteristics of different devices, and the fan speed is controlled more accurately. The warning temperature threshold is adjusted according to the environmental temperature and the server load to ensure that the cooling system can operate efficiently under different conditions.
[0091] When it is predicted that the temperature of a certain PCIE device may reach or exceed the warning threshold, the BMC adjusts the fan speed of the corresponding partition in advance to prevent the device from overheating. The overall temperature distribution of the server is monitored in real time, and the global fan speed is intelligently adjusted according to the changes in load and ambient temperature to achieve the optimal heat dissipation effect.
[0092] Moreover, it can analyze the thermal mode model, predict the potential overheating risk of the device, implement heat dissipation intervention and maintenance measures in advance, and reduce the server failure rate. Regularly evaluate the health status of the fan and cooling system, predict the lifespan, and remind for maintenance or replacement to keep the system in the best operating condition.
[0093] Through the above implementation manners of the present application, through intelligent prediction, the heat dissipation system can respond to temperature changes earlier, avoid device overheating, and improve the stability and performance of the server. The dynamic adjustment strategy can reduce unnecessary fan speed increases, reduce the energy consumption and noise level of the server, and optimize the overall operating environment. Early fault prediction and health management can effectively extend the service life of the server hardware, reduce maintenance costs and the risk of data loss. By integrating an intelligent learning and prediction heat dissipation system, the thermal management ability of the server can be further improved, more efficient and energy-saving operation can be achieved, while extending the service life of the hardware device and reducing maintenance costs.
[0094] In this embodiment, an expansion card is further provided. The expansion card includes: a first chip, wherein the first chip is connected to a third chip, and the voltage signal of the pins of the first chip is used to indicate the interface information of the device interface assigned to the slot of the expansion card; a second chip, wherein the second chip is connected to the third chip, and the voltage signal of the pins of the second chip is used to indicate the device connection condition of the slot of the expansion card; a third chip, wherein the third chip is connected to the first chip and the second chip, and the third chip is connected to the slot and the bus; a slot, wherein the slot is used to connect a reference device.
[0095] Figure 5 It is a structural diagram of an optional expansion card according to an embodiment of the present application; as Figure 5 shown, the first chip in the PCIE expansion card (such as Figure 5In the PCA9555_1), its 16 pins (IO_0_7 - IO_1_0) can be divided into two groups. For example, the 8 pins from IO_0_7 to IO_0_0 can form one group, and the different pin information can indicate the corresponding interface information. For instance, these 8 pins can indicate the CPU interface information allocated to SLOT2 (slot 2). The 8 pins from IO_1_7 to IO_1_0 can form another group, and the different pin information can indicate the corresponding interface information. For example, these 8 pins can indicate the CPU interface information allocated to SLOT1 (slot 1). The specific CPU and the specific interface information on the CPU can be determined through the voltage information of the 8 pins.
[0096] Such as Figure 5 As shown, for the second chip (PCA9555_0), its pin IO_1_0 can indicate the device connection status of SLOT2 (slot 2). For example, 1 can indicate connection, and 0 can indicate non - connection. Pin IO_1_1 can indicate the device connection status of SLOT1 (slot 1). For example, 1 can indicate connection, and 0 can indicate non - connection. Pin IO_1_2 can indicate the device connection status of SLOT0 (slot 0). For example, 1 can indicate connection, and 0 can indicate non - connection.
[0097] Such as Figure 5 As shown, the third chip (PCA9546) can be connected to the first chip and the second chip, and can provide three slots (PCIE_SLOT2, PCIE_SLOT1, PCIE_SLOT0) to connect reference devices.
[0098] Through the above - mentioned implementation manners of this application, the BMC obtains hardware information through the Riser card, traverses the RISER VPP signal and PCIE PORT comparison table pre - loaded into the memory to determine the PCIE location information and the corresponding relationship between the PCIE PORT, and then obtains the relationship between the PCIE device temperature and the location; the BMC precisely adjusts the speed of the fans corresponding to the components through the fan partition configuration table. The fan partition configuration table contains the fan positions and device physical location information of different models, which is saved in the form of a configuration file and loaded into the memory when in use. The temperature of the PCIE device can be associated with its physical location, and the fans corresponding to the devices that need to be cooled can be accurately regulated, thereby reducing the noise and vibration problems caused by too high fan speed and improving the service life of devices such as hard disks. At the same time, since only the speeds of several corresponding fans increase, the overall power consumption of the machine can be maintained within the normal range, avoiding the sudden increase in the overall power consumption of the machine caused by the increase in fan speed and the resulting pressure on the power supply line. The fan partition information is saved in the form of a configuration file, which can be adapted to multiple models and is convenient for developers to maintain.
[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, this computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which may be a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application.
[0100] In this embodiment, a server temperature control device is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0101] Figure 6 is a structural block diagram of an optional server temperature control device according to an embodiment of the present application. As Figure 6 shown, the device includes:
[0102] A location information determination module 62, configured to determine the location information of a reference device corresponding to a slot according to the location information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one;
[0103] An interface information determination module 64, configured to determine the interface information of the device interface allocated to the expansion card slot according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor;
[0104] A wind speed adjustment module 66, configured to, when the temperature information of the reference device connected to the device interface meets a preset condition, determine a target fan according to the location information of the reference device, and adjust the wind speed of the target fan according to the temperature information of the reference device.
[0105] Through the present application, the location information of a reference device corresponding to a slot is determined according to the location information of an expansion card slot, where the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; the interface information of a device interface allocated to the slot of the expansion card is determined according to the voltage signal of the first chip of the expansion card, where the interface information is used to indicate the device interface of the processor; when the temperature information of the reference device connected to the device interface meets a preset condition, a target fan is determined according to the location information of the reference device, and the wind speed of the target fan is adjusted according to the temperature information of the reference device. The location information of the reference device connected to the slot can be determined by using the slot of the expansion card, and the interface information of the device interface connected can be determined according to the expansion card. Moreover, the temperature information of the reference device connected to the interface can be obtained through the interface information. When the temperature of the reference device meets the adjustment condition, the location of the reference device that needs to adjust the temperature can be determined, and the fan at the corresponding location can be determined according to the location information of the overheated reference device to adjust the wind speed of the fan. Thus, the technical problem of high power consumption existing in the current server fan control method in the related art is solved.
[0106] Optionally, the above-mentioned interface information determining module 64 is further configured to: search in a signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interfaces corresponding to multiple slots of the expansion card.
[0107] Optionally, the above-mentioned interface information determining module 64 is further configured to: when there are three slots of the expansion card, search in a signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interfaces allocated to the first slot and the second slot of the expansion card; determine the interface information of the device interface allocated to the third slot of the expansion card according to the communication bus.
[0108] Optionally, the above-mentioned location information determining module 62 is further configured to: determine the device connection situation of the slot of the expansion card according to the voltage signal of the second chip of the expansion card, where the device connection situation is used to indicate whether a reference device is connected to the slot.
[0109] Optionally, the above-mentioned wind speed adjusting module 66 is further configured to: receive the correspondence between the device information of the reference device and the interface information of the device interface; access the reference device to determine the correspondence between the device information and the temperature information; determine the temperature information of the reference device connected to the device interface.
[0110] Optionally, the above server temperature control device further includes: a second voltage acquisition module, configured to acquire the voltage information of the second chip of the expansion card through a communication bus when the server is started; a device determination module, configured to determine a reference device connected to the slot of the expansion card according to the voltage information of the second chip; a first voltage acquisition module, configured to acquire a signal interface comparison table and acquire the voltage information of the first chip of the expansion card through a communication bus; an interface determination module, configured to determine the interface information of multiple device interfaces connected to multiple slots of the expansion card according to the information interface comparison table and the voltage information of the first chip of the expansion card; an asset information acquisition module, configured to receive asset information, where the asset information is used to indicate the correspondence between the device information of the reference device and the interface information of the device interface; a temperature determination module, configured to access the registers of all reference devices connected to the slots of the expansion card and determine the temperature information corresponding to all reference devices; a device temperature determination module, configured to determine the temperature information of the reference device connected to the device interface according to the correspondence between the device information of the reference device and the temperature information, and the correspondence between the device information of the reference device and the interface information of the device interface; a temperature position relationship determination module, configured to determine the correspondence between the temperature information of multiple reference devices connected to multiple slots and the position information of the expansion card slots; a fan determination module, configured to determine a target fan according to the position information of the reference device when the temperature information of the reference device connected to the device interface meets a preset condition, where the fan partition where the target fan is located corresponds to the position information; a wind speed adjustment module, configured to adjust the wind speed of the target fan according to the temperature information of the reference device.
[0111] It should be noted that the above-mentioned various modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above-mentioned modules are all located in the same processor; or, the above-mentioned various modules are respectively located in different processors in any combination form.
[0112] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is set to execute the steps in any one of the above method embodiments when running.
[0113] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: a USB flash drive, a read-only memory (ROM for short), a random access memory (RAM for short), a mobile hard disk, a magnetic disk, or an optical disc and other various media that can store computer programs.
[0114] Embodiments of the present application also provide an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0115] In an exemplary embodiment, the above electronic device may further include a transmission device and an input / output device. The transmission device is connected to the above processor, and the input / output device is connected to the above processor.
[0116] Embodiments of the present application also provide a computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores the computer program product, and when the computer program is executed by a processor, it implements the steps of the methods in various embodiments of the present application.
[0117] Specific examples in this embodiment may refer to the examples described in the above embodiments and exemplary embodiments, and will not be repeated here.
[0118] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.
[0119] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application shall be included in the protection scope of the present application.
Claims
1. A server temperature control method, characterized in that: The method comprises: Determine the position information of a reference device corresponding to the slot according to the position information of the expansion card slot, wherein the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; Determining interface information of a device interface assigned to a slot of the expansion card according to a voltage signal of a first chip of the expansion card, wherein the interface information is used to indicate the device interface of a processor; When the temperature information of the reference device connected to the device interface meets a preset condition, a target fan is determined according to the position information of the reference device, and a wind speed of the target fan is adjusted according to the temperature information of the reference device.
2. The method according to claim 1, characterized in that The step of determining the interface information of the device interface assigned to the slot of the expansion card according to the voltage signal of the first chip of the expansion card comprises: The signal interface comparison table is searched according to the voltage signal of the first chip to determine the interface information of the device interfaces corresponding to the plurality of slots corresponding to the expansion card.
3. The method according to claim 2, characterized in that The step of determining the interface information of the device interface assigned to the slot of the expansion card according to the voltage signal of the first chip of the expansion card further includes: In the case where the expansion card has three slots, searching in the signal interface comparison table according to the voltage signal of the first chip to determine the interface information of the device interface allocated to the first slot and the second slot of the expansion card; The interface information of the device interface allocated to the third slot corresponding to the expansion card is determined according to the communication bus.
4. The method according to any one of claims 1 to 3, characterized in that Before determining the position information of the reference device corresponding to the slot according to the position information of the expansion card slot, the method further includes: The device connection status of the slot of the expansion card is determined according to the voltage signal of the second chip of the expansion card, wherein the device connection status is used to indicate whether the slot is connected to the reference device.
5. The method according to claim 1, characterized in that Before determining the target fan according to the location information of the reference device when the temperature information of the reference device connected to the device interface meets the preset condition, the method further includes: Receive a correspondence between device information of the reference device and interface information of the device interface; Accessing the reference device to determine a corresponding relationship between the device information and the temperature information; Determine temperature information of a reference device to which the device interface is connected.
6. The method according to claim 1, characterized in that The method further comprises: When the server is started, obtaining voltage information of the second chip of the expansion card through the communication bus; Determine the reference device connected to the slot of the expansion card according to the voltage information of the second chip; obtain the signal interface comparison table, and obtain the voltage information of the first chip of the expansion card through the communication bus; Determine interface information of multiple device interfaces connected to multiple slots of the expansion card according to the information interface comparison table and voltage information of the first chip of the expansion card; receiving asset information, wherein the asset information is used to indicate a correspondence between device information of the reference device and interface information of the device interface; Accessing registers of all reference devices connected to the slots of the expansion card to determine temperature information corresponding to all the reference devices; Determine the temperature information of the reference device connected to the device interface according to the correspondence between the device information of the reference device and the temperature information, and the correspondence between the device information of the reference device and the interface information of the device interface; Determine a correspondence between temperature information of a plurality of the reference devices connected to the plurality of slots and position information of the expansion card slots; When the temperature information of the reference device connected to the device interface meets the preset conditions, the target fan is determined according to the location information of the reference device, wherein the fan partition where the target fan is located corresponds to the location information; and the wind speed of the target fan is adjusted according to the temperature information of the reference device.
7. An expansion card, characterized in that: The expansion card comprises: A first chip, wherein the first chip is connected to a third chip, and a voltage signal of a pin of the first chip is used to indicate interface information of a device interface assigned to a slot of the expansion card; A second chip, wherein the second chip is connected to the third chip, and a voltage signal of a pin of the second chip is used to indicate a device connection status of the slot of the expansion card; A third chip, wherein the third chip is connected to the first chip and the second chip, and the third chip is connected to the slot and the bus; A slot, wherein the slot is used to connect a reference device.
8. A server temperature control device, characterized in that: The device comprises: A location information determination module, used to determine location information of a reference device corresponding to the expansion card slot according to the location information of the expansion card slot, wherein the reference device is a device connected to the server through the slot, and the reference device corresponds to the slot one by one; An interface information determination module, used to determine interface information of a device interface assigned to a slot of the expansion card according to a voltage signal of a first chip of the expansion card, wherein the interface information is used to indicate a device interface of a processor; The wind speed adjustment module is used to determine the target fan according to the position information of the reference device connected to the device interface when the temperature information of the reference device meets the preset conditions, and adjust the wind speed of the target fan according to the temperature information of the reference device.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 6 when executed by a processor.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Data processing method and device, electronic equipment, storage medium and program product
CN120743611A
Circuit board temperature alarm method and computer program product
CN122045007A