Temperature control method, temperature control system and device, electronic equipment, medium and product
By using temperature control chips and network card fans in the temperature control system and dynamically adjusting the fan speed according to real-time status, the problem of high-performance network card temperature control is solved, and more efficient energy consumption management and temperature control are achieved.
Patent Information
- Application Number
- CN202510162164.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-06-06
AI Technical Summary
High-performance network cards have high energy consumption problems in temperature control, which leads to an increase in heat production and affects the reliability of the server.
By introducing temperature control chips and network card fans into the temperature control system, and dynamically adjusting the speed of network card fans according to the working status of the motherboard, the in-position status of the network card and the current temperature of the temperature control chip to achieve temperature control.
It effectively reduces the energy consumption of temperature control, avoids the waste of energy consumption when the network card fan is running at full speed, and ensures the normal temperature control of the network card.
Smart Images

Figure CN120104418A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server technology, and in particular to a temperature control method, temperature control system, device, electronic equipment, medium and product. Background Art
[0002] With the rapid development of big data and cloud computing, higher requirements are placed on the performance and reliability of servers, and servers are also being upgraded accordingly. Among them, server upgrades include network card upgrades, which can provide reliable network services to servers through high-performance network cards.
[0003] In actual applications, high-performance network cards provide high-performance networks, but also have the problem of high heat generation. In related technologies, high-performance network cards and temperature control systems are installed on the motherboard, and the motherboard controls the temperature control system to control the temperature of the high-performance network card.
[0004] However, controlling high-performance network cards through the motherboard causes the temperature control system to consume a lot of energy. Summary of the invention
[0005] Embodiments of the present application provide a temperature control method, a temperature control system, a device, an electronic device, a medium and a product for reducing energy consumption of temperature control.
[0006] In a first aspect, an embodiment of the present application provides a temperature control method, which is applied to a temperature control system, wherein the temperature control system includes a temperature control chip and a network card fan, and the method includes: determining the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip; determining a temperature control strategy based on the working status, the network card in-place status, and the current temperature; and executing the temperature control strategy on the network card fan to achieve temperature control of the network card.
[0007] Optionally, in the method as described above, the working state includes a running state and a soft-shutdown state; according to the working state, the network card in-place state, and the current temperature, a temperature control strategy is determined, including: if the working state is a running state, then the temperature control strategy is determined to be that the network card fan is not working; if the working state is a soft-shutdown state, then the controller in-place state of the controller on the mainboard is determined, and the temperature control strategy is determined according to the controller in-place state, the network card in-place state, and the current temperature.
[0008] Optionally, in the method as described above, the controller in-place state is in-place or not in-place, and the network card in-place state is in-place or not in-place; determining a temperature control strategy based on the controller in-place state, the network card in-place state, and the current temperature, including: if the controller in-place state is in-place and the network card in-place state is in-place, receiving the temperature control strategy from the controller; if the controller in-place state is not in-place and the network card in-place state is in-place, determining the fan in-place state of the network card fan on the temperature control system, and determining the temperature control strategy based on the current temperature and the fan in-place state, the fan in-place state is in-place or not in-place.
[0009] Optionally, in the method as described above, the fan in-place state is in-place; according to the current temperature and the fan in-place state, the temperature control strategy is determined, including: determining the current pulse width modulation PWM duty cycle, a first temperature threshold, and a second temperature threshold of the network card fan, the first temperature threshold being greater than the second temperature threshold; if the current temperature is greater than the first temperature threshold, determining the temperature control strategy to adjust the current PWM duty cycle to a first PWM duty cycle, the first PWM duty cycle being greater than the current PWM duty cycle; if the current temperature is less than the second temperature threshold, determining the temperature control strategy to adjust the current PWM duty cycle to a second PWM duty cycle, the second PWM duty cycle being less than the current PWM duty cycle.
[0010] In a second aspect, an embodiment of the present application provides a temperature control system, comprising: a temperature control chip, a network card fan, a temperature sensor, and an in-place detector, wherein the temperature sensor is connected to the temperature control chip, and the temperature sensor is used to determine the current temperature of the temperature control chip and send the current temperature to the temperature control chip; the in-place detector is connected to the network card fan, and the in-place detector is used to detect the fan in-place status of the network card fan on the temperature control system; the temperature control chip is connected to the high-speed peripheral component interconnect extension PCIE interface of the mainboard through an expansion card, and the temperature control chip is connected to the network card fan, and the temperature control chip is used to execute a temperature control strategy for the network card fan; the temperature control system is used to execute any one of the methods described in the first aspect.
[0011] Optionally, in the system as described above, the temperature control system also includes a programmable memory, wherein the presence detector is connected to the PCIE interface of the mainboard through the expansion card, the presence detector is used to receive power from the mainboard, and determine whether to power the network card fan according to the fan presence status; the first end of the programmable memory is connected to the presence detector, the second end of the programmable memory is connected to the network card fan, the programmable memory is used to store power supply information, and the power supply information is used to power the network card fan.
[0012] In a third aspect, an embodiment of the present application provides a temperature control device, which is applied to a temperature control system, wherein the temperature control system includes a temperature control chip and a network card fan, and the device includes: a determination module, used to determine the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip; a policy module, used to determine the temperature control strategy according to the working status, the network card in-place status, and the current temperature; and an execution module, used to execute the temperature control strategy on the network card fan to achieve temperature control of the network card.
[0013] Optionally, in the device as described above, the working state includes a running state and a soft-shutdown state; the policy module is specifically used to determine that the temperature control policy is that the network card fan is not working if the working state is a running state; the policy module is also specifically used to determine the controller in-place state of the controller on the mainboard if the working state is a soft-shutdown state, and determine the temperature control strategy according to the controller in-place state, the network card in-place state, and the current temperature.
[0014] Optionally, in the device as described above, the controller in-place state is in-place or not in-place, and the network card in-place state is in-place or not in-place; the policy module is specifically used to receive the temperature control policy from the controller if the controller in-place state is in-place and the network card in-place state is in-place; the policy module is also specifically used to determine the fan in-place state of the network card fan on the temperature control system if the controller in-place state is not in-place and the network card in-place state is in-place, and determine the temperature control policy according to the current temperature and the fan in-place state, and the fan in-place state is in-place or not in-place.
[0015] Optionally, in the device as described above, the fan in-place state is in-place; the device also includes: a judgment module, used to determine the current pulse width modulation PWM duty cycle, a first temperature threshold, and a second temperature threshold of the network card fan, the first temperature threshold being greater than the second temperature threshold; the judgment module is also used to determine that the temperature control strategy is to adjust the current PWM duty cycle to a first PWM duty cycle if the current temperature is greater than the first temperature threshold, and the first PWM duty cycle is greater than the current PWM duty cycle; the judgment module is also used to determine that the temperature control strategy is to adjust the current PWM duty cycle to a second PWM duty cycle if the current temperature is less than the second temperature threshold, and the second PWM duty cycle is less than the current PWM duty cycle.
[0016] In a fourth aspect, an embodiment of the present application provides a temperature control device, including: a memory, a processor;
[0017] The memory stores computer-executable instructions;
[0018] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0021] The temperature control method, temperature control system, device, electronic device, medium and product provided in the embodiments of the present application are applied to the temperature control system, wherein the temperature control system includes a temperature control chip and a network card fan, and the method includes: determining the working state of the mainboard, the network card in-place state of the network card on the mainboard, and the current temperature of the temperature control chip; determining the temperature control strategy according to the working state, the network card in-place state, and the current temperature; executing the temperature control strategy on the network card fan to achieve temperature control of the network card. The above scheme determines the corresponding temperature control strategy through the real-time state of the mainboard and the real-time state of the temperature control system. Compared with the full speed operation of the network card fan, it can effectively reduce energy consumption while achieving temperature control. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0023] Figure 1 A schematic diagram of an application scenario of a temperature control method provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of a temperature control method provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of a temperature control method provided in an embodiment of the present application;
[0026] Figure 4 A schematic diagram of determining a temperature control strategy provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of determining a PWM duty cycle provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of the structure of a temperature control system provided in an embodiment of the present application;
[0029] Figure 7 A schematic diagram of the structure of a temperature control system provided in an embodiment of the present application;
[0030] Figure 8 A schematic diagram of the structure of a temperature control device provided in an embodiment of the present application;
[0031] Fig. 9 A schematic diagram of the structure of a temperature control device provided in an embodiment of the present application;
[0032] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0033] Description of reference numerals:
[0034] 1- Temperature control chip; 2- Network card fan; 3- Temperature sensor; 4- In-place detector; 5- Programmable memory.
[0035] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0037] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0038] In addition, this application involves conducting big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and using artificial intelligence technology to make automated decisions, and making technical solutions that have a significant impact on personal rights and interests based on the results of automated decisions. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decisions; if the user chooses to reject, the expert decision-making process will be entered.
[0039] It should be noted that the temperature control method, temperature control system, device, electronic device, medium and product of the present application can be used in the server field, and can also be used in any field other than the server. The application field of the temperature control method, temperature control system, device, electronic device, medium and product of the present application is not limited.
[0040] Figure 1 A schematic diagram of an application scenario of a temperature control method provided in an embodiment of the present application is given as an example in combination with the illustrated scenario: a network card and a temperature control system are connected to a server motherboard, the network card is used to provide network services to the server, and the temperature control system is used to control the temperature of the network card.
[0041] Optionally, the network card of the present application is a high-performance network card (hereinafter referred to as the network card).
[0042] Optionally, the high-performance network card may be a server network interface card (Open Compute Project, referred to as OCP network card), etc. The high-performance network card supports a high-speed network interface and can meet the server's network requirements for high bandwidth and low latency.
[0043] For example, a high-performance network card provides a high-performance network, but has the problem of high energy consumption, which leads to increased heat generation. The temperature control system is used to perform targeted temperature control on the network card to prevent the server from malfunctioning due to excessive temperature of the network card.
[0044] In related technologies, the motherboard monitors and supplies power to the temperature control system. When the temperature control system is powered on, the network card fan of the temperature control system runs at full speed to control the temperature of the network card. In some scenarios, when the server is running at low load, the energy consumption and heat generation of the network card are low. At this time, running the network card fan at full speed will waste energy.
[0045] The temperature control method provided in this application is intended to solve the above technical problems in the prior art.
[0046] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] Figure 2 A flow chart of a temperature control method provided in an embodiment of the present application, the method comprising the following steps:
[0048] S201, determining the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip.
[0049] Among them, the temperature control system includes a temperature control chip and a network card fan.
[0050] Optionally, the working state of the mainboard includes but is not limited to S0 running state and S5 soft shutdown state.
[0051] For example, in the running state, multiple components on the motherboard and multiple components in the server are in operation. At this time, other heat dissipation devices in the server can control the temperature of the network card, and the network card fan does not need to run at full speed. In the soft shutdown state, the main components on the motherboard and the main components in the server are in a stopped state, and other heat dissipation devices also stop working. Only some low-power devices or functions are running, such as power management circuits or real-time clocks.
[0052] Exemplarily, the network card in-place status is used to indicate whether the network card is correctly installed on the mainboard.
[0053] Optionally, the mainboard determines the network card presence status through a device manager or an interface level connected to the network card, and sends the network card presence status to the temperature control system.
[0054] Exemplarily, the current temperature of the temperature control chip is determined by a temperature sensor of the temperature control system.
[0055] Optionally, the working status, the network card in-place status, and the current temperature are status information obtained in real time.
[0056] S202: Determine a temperature control strategy according to the working status, the network card status, and the current temperature.
[0057] Exemplarily, the temperature control policy is used to currently instruct the network card fan to operate at a certain speed.
[0058] Combined with the scenario example, by obtaining multiple status information in real time, it is possible to flexibly determine the temperature control strategy that is suitable for the current situation based on multiple dimensions.
[0059] S203: Execute a temperature control strategy on the network card fan to achieve temperature control of the network card.
[0060] Optionally, a corresponding control signal is determined according to the temperature control strategy, and a control signal is dynamically sent to the network card fan to achieve real-time control of the rotation speed of the network card fan, thereby achieving temperature control of the network card.
[0061] Optionally, the control signal may be a pulse width modulation (PWM) duty cycle. PWM duty cycle is a technique for controlling output power by changing the duty cycle of a signal. The duty cycle refers to the ratio of the time that a signal is at a high level to the total cycle time within a PWM cycle.
[0062] The temperature control method provided in the embodiment of the present application is applied to a temperature control system, the temperature control system includes a temperature control chip and a network card fan, and the method includes: determining the working state of the mainboard, the network card in-place state of the network card on the mainboard, and the current temperature of the temperature control chip; determining the temperature control strategy according to the working state, the network card in-place state, and the current temperature; executing the temperature control strategy on the network card fan to achieve temperature control of the network card. The above scheme determines the corresponding temperature control strategy through the real-time state of the mainboard and the real-time state of the temperature control system. Compared with the full speed operation of the network card fan, it can effectively reduce energy consumption while achieving temperature control.
[0063] Based on any of the above embodiments, Figure 3 , the detailed process of temperature control is explained.
[0064] Figure 3 A schematic diagram of a temperature control method provided in an embodiment of the present application. Figure 3 As shown, the method includes:
[0065] S301, determining the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip.
[0066] It should be noted that the execution process of S301 refers to S201 and will not be repeated here.
[0067] S302: If the working state is the running state, determine that the temperature control strategy is that the network card fan is not working.
[0068] Optionally, the server includes a fan board, and the fan board is used to control the temperature of the entire interior of the server, that is, the fan board cools down all devices inside the server so that the server can work normally.
[0069] Combined with the scenario example, if the working status is running, it means that the server is working normally. At this time, the devices in the server are in running state, including the fan board. The temperature control system can be controlled by the fan board. The temperature control policy is set as the network card fan is not working, which can effectively reduce energy consumption while ensuring the normal temperature of the network card.
[0070] S303: If the working state is the soft shutdown state, determine the controller in-place state of the controller on the mainboard, and determine the temperature control strategy according to the controller in-place state, the network card in-place state, and the current temperature.
[0071] Optionally, the controller may be a baseboard management controller (BMC), which may be used to monitor and manage the status of server hardware. In the present application, the BMC may be used to generate a temperature control strategy.
[0072] Combined with the scenario example, if the working state is soft shutdown, it means that the main components in the server are in a stopped state. At this time, the fan board is not working, and the temperature of the network card needs to be controlled by the temperature control system.
[0073] Based on the above implementation methods, the rotation speed of the network card fan can be flexibly controlled according to the working state, which can effectively reduce energy consumption compared to the network card fan working at full speed.
[0074] A feasible implementation method can determine the temperature control strategy by the following method: if the controller in-place state is in-place and the network card in-place state is in-place, then receive the temperature control strategy from the controller; if the controller in-place state is not in-place and the network card in-place state is in-place, then determine the fan in-place state of the network card fan on the temperature control system, and determine the temperature control strategy based on the current temperature and the fan in-place state, and the fan in-place state is in-place or not in-place.
[0075] The controller in-place status is in-place or not in-place, and the network card in-place status is in-place or not in-place.
[0076] Exemplarily, in place means that the device is correctly installed at the corresponding position, and not in place means that the device is not correctly installed at the corresponding position.
[0077] Optionally, the presence status is detected by a micro switch, a photoelectric sensor, an electrical contact, or a device manager.
[0078] For example, a micro switch is installed on the device, and the micro switch is triggered when the device is correctly installed. When the device is correctly installed, it blocks light, so that it can be accurately identified by the photoelectric sensor. Metal contacts are designed on the device. When the device is correctly installed in the interface, the metal contacts of the device contact the metal contacts of the interface, forming a closed circuit, thereby determining whether the device is in place. The status of the device is checked through the device manager to determine whether the device is correctly installed.
[0079] For example, if the controller in-place state is in-place, it means that the controller can currently generate a temperature control strategy, and if the network card in-place state is in-place, it means that the current network card may generate heat and needs temperature control. If the controller in-place state is in-place and the network card in-place state is in-place, the temperature control system does not need to generate a temperature control strategy, but only needs to execute the temperature control strategy generated by the controller, so as to control the temperature of the network card when the fan board is not working.
[0080] For example, if the controller is not in place and the network card is in place, the controller cannot generate a temperature control policy or the generated temperature control policy cannot be sent to the temperature control system. At this time, the temperature control system generates and executes the temperature control policy. The temperature control system determines the temperature control policy based on multiple dimensions.
[0081] Next, combine Figure 4 Determining the temperature control strategy is described.
[0082] Figure 4 This is a schematic diagram of determining a temperature control strategy provided in an embodiment of the present application. Figure 4 As shown, if the server is in operation, the fan board of the server performs temperature control. If the server is not in soft shutdown state, for example, it is in power-off state, temperature control does not need to be performed. If the network card and the network card fan are both in place, determine whether the controller is in place. If the controller is not in place, the temperature control policy is generated by the temperature control system. If the controller is in place, the temperature control policy is generated by the temperature control system and executed. Monitor whether the controller is hung in real time. If it is hung, switch to generating the temperature control policy through the temperature control system.
[0083] In this feasible implementation, the controller status and the network card status are integrated to flexibly determine the temperature control strategy according to the current scenario, thereby effectively reducing energy consumption.
[0084] In a feasible implementation, the temperature control strategy can be determined by the following method: determine the current pulse width modulation (PWM) duty cycle, the first temperature threshold, and the second temperature threshold of the network card fan, where the first temperature threshold is greater than the second temperature threshold; if the current temperature is greater than the first temperature threshold, determine the temperature control strategy to adjust the current PWM duty cycle to the first PWM duty cycle, where the first PWM duty cycle is greater than the current PWM duty cycle; if the current temperature is less than the second temperature threshold, determine the temperature control strategy to adjust the current PWM duty cycle to the second PWM duty cycle, where the second PWM duty cycle is less than the current PWM duty cycle.
[0085] The fan in-place state is in-place.
[0086] Combined with the scenario example, by verifying the fan status, you can check whether the current network card fan is working normally. Based on this, temperature control can improve the reliability of temperature control.
[0087] Exemplarily, the current PWM duty cycle determines the current network card fan speed.
[0088] Exemplarily, the first temperature threshold and the second temperature threshold are used to control the temperature range of the network card. When the temperature is between the first temperature threshold and the second temperature threshold, it is considered that the network card can work normally.
[0089] Optionally, the current temperature may be the real-time temperature of a temperature control chip, the real-time temperature of a server, or the real-time temperature of a network card.
[0090] Optionally, the current temperature is obtained through a temperature sensor.
[0091] Next, combine Figure 5 Determination of the PWM duty ratio will be described.
[0092] Figure 5 Schematic diagram of determining PWM duty cycle provided in an embodiment of the present application. Figure 5 As shown, read the current temperature. If the current temperature is greater than the first temperature threshold, it means that the operating temperature of the network card is too high and there may be risks. Then, increase the PWM duty cycle to increase the speed of the network card fan, so as to cool the network card. If the current temperature is less than the first temperature threshold, it means that there is no risk in the operating temperature of the network card, but the speed of the network card fan is too high, resulting in unnecessary energy consumption. Reducing the PWM duty cycle can effectively reduce energy consumption. The current temperature is between the first temperature threshold and the second temperature threshold by dynamically adjusting the PWM duty cycle.
[0093] In this feasible implementation, the temperature control strategy is adjusted in real time according to the current temperature, which can effectively reduce energy consumption while ensuring the normal operation of the network card.
[0094] S304: Execute a temperature control strategy on the network card fan to achieve temperature control of the network card.
[0095] It should be noted that the execution process of S304 refers to S203 and will not be repeated here.
[0096] Figure 6 This is a schematic diagram of the structure of a temperature control system provided in an embodiment of the present application. Figure 6 As shown, the temperature control system may include: a temperature control chip 1, a network card fan 2, a temperature sensor 3, and a presence detector 4, wherein:
[0097] The temperature sensor 3 is connected to the temperature control chip 1, and the temperature sensor 3 is used to determine the current temperature of the temperature control chip 1 and send the current temperature to the temperature control chip 1;
[0098] The in-position detector 4 is connected to the network card fan 2, and the in-position detector 4 is used to detect the fan in-position state of the network card fan 2 on the temperature control system;
[0099] The temperature control chip 1 is connected to the high-speed peripheral component interconnection expansion PCIE interface of the mainboard through an expansion card, and the temperature control chip 1 is connected to the network card fan 2. The temperature control chip 1 is used to execute a temperature control strategy for the network card fan 2.
[0100] Exemplary, reference Figure 6 The temperature control chip 1 obtains the current speed of the network card fan 2, and the temperature control chip 1 controls the speed of the network card fan 2 through the PWM duty cycle. The in-place detector 4 obtains the in-place status of the network card fan 2. When the network card fan 2 is in place, power is supplied to the network card fan 2 through the in-place detector 4.
[0101] Optionally, the temperature control system is connected to the expansion card via an Inter-Integrated Circuit (I2C), and the expansion card is connected to a PCIE interface of the mainboard via the I2C.
[0102] In the related art, the motherboard provides a 1*6PIN connector for monitoring and powering the external network card fan. The signal of this connector is monitored by a complex programmable logic device (CPLD). The connector has the problem of complicated structural design. Due to the variety of network card fans, the connector also has structural compatibility issues.
[0103] Exemplarily, the PCIE interface has good compatibility and can be compatible with different types of temperature control systems.
[0104] Combined with the scenario example, by using a temperature control system based on the PCIE interface, the motherboard layout and wiring space is effectively saved, and there is no need to specially design a fixture to fix the network card fan, which greatly reduces the complexity of structural design and the tediousness of manual installation and disassembly, and realizes flexible matching of the cooling needs and server configuration requirements of different network card types.
[0105] Based on the above implementation methods, the present application designs a temperature control system based on the PCIE interface, which structurally improves the flexibility and compatibility of the whole machine assembly.
[0106] A feasible implementation method is as follows: Figure 7 As shown, Figure 7 The temperature control system is a schematic diagram of a temperature control system provided in an embodiment of the present application. The temperature control system also includes a programmable memory 5, wherein:
[0107] The in-place detector 4 is connected to the PCIE interface of the mainboard through the expansion card. The in-place detector 4 is used to receive the power supply of the mainboard and determine whether to supply power to the network card fan 2 according to the fan in-place status;
[0108] A first end of the programmable memory 5 is connected to the in-place detector 4 , and a second end of the programmable memory 5 is connected to the network card fan 2 . The programmable memory 5 is used to store power supply information, and the power supply information is used to supply power to the network card fan 2 .
[0109] Exemplarily, the presence detector 4 determines whether to supply power to the network card fan 2 according to the fan presence status. The programmable memory 5 determines specific parameters of the power supply, such as voltage value or current value, according to a preset rule.
[0110] Based on the above implementation, the power supply parameters stored in the programmable memory 5 can be used to dynamically adjust the power supply to the network card fan, thereby ensuring that the best cooling effect can be obtained under different load and temperature conditions.
[0111] Figure 8 This is a schematic diagram of the structure of a temperature control device provided in an embodiment of the present application. Figure 8 As shown, the temperature control device 80 may include: a determination module 81, a strategy module 82 and an execution module 83, wherein:
[0112] The determination module 81 is used to determine the working state of the mainboard, the network card in-place state of the network card on the mainboard, and the current temperature of the temperature control chip.
[0113] The policy module 82 is used to determine the temperature control policy according to the working status, the network card in-place status, and the current temperature.
[0114] The execution module 83 is used to execute the temperature control strategy on the network card fan to achieve temperature control of the network card.
[0115] Optionally, the determination module 81 may execute Figure 2 S201 in the embodiment.
[0116] Optionally, the policy module 82 may execute Figure 2 S202 in the embodiment.
[0117] Optionally, the execution module 83 may execute Figure 2 S203 in the embodiment.
[0118] It should be noted that the temperature control device shown in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0119] In a possible implementation, the working state includes a running state and a soft shutdown state; the strategy module 82 is specifically used to:
[0120] If the working state is running, the temperature control strategy is determined as the network card fan not working;
[0121] If the working state is the soft shutdown state, the controller in-place state of the controller on the mainboard is determined, and the temperature control strategy is determined according to the controller in-place state, the network card in-place state, and the current temperature.
[0122] In a possible implementation manner, the controller in-place state is in-place or not in-place, and the network card in-place state is in-place or not in-place; the policy module 82 is specifically used to:
[0123] If the controller in-place state is in-place and the network card in-place state is in-place, receiving a temperature control strategy from the controller;
[0124] If the controller in-place state is not in-place and the network card in-place state is in-place, determine the fan in-place state of the network card fan on the temperature control system, determine the temperature control strategy according to the current temperature and the fan in-place state, and the fan in-place state is in-place or not in-place.
[0125] Fig. 9 This is a schematic diagram of the structure of a temperature control device provided in an embodiment of the present application. Figure 8 Based on the embodiment shown, Fig. 9 As shown, the temperature control device 90 also includes: a judgment module 84, wherein:
[0126] The judging module 84 is used for:
[0127] Determine a current pulse width modulation (PWM) duty cycle, a first temperature threshold, and a second temperature threshold of the network card fan, wherein the first temperature threshold is greater than the second temperature threshold;
[0128] If the current temperature is greater than the first temperature threshold, determining the temperature control strategy is to adjust the current PWM duty cycle to a first PWM duty cycle, where the first PWM duty cycle is greater than the current PWM duty cycle;
[0129] If the current temperature is lower than the second temperature threshold, the temperature control strategy is determined to adjust the current PWM duty cycle to a second PWM duty cycle, where the second PWM duty cycle is lower than the current PWM duty cycle.
[0130] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device includes:
[0131] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 292 to execute the method of the above embodiment.
[0132] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0133] The memory 292 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.
[0134] The memory 292 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.
[0135] An embodiment of the present application provides a non-temporary computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method as described in the above embodiment.
[0136] An embodiment of the present application provides a computer program product, including a computer program, which implements the method of the above embodiment when the computer program is executed by a processor.
[0137] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0138] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0139] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0140] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0141] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. The processor may be any appropriate hardware processor, such as CPU, GPU, FPGA, DSP, and ASIC, etc. The storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0142] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0143] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0144] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0145] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A temperature control method, characterized in that: Applied to a temperature control system, the temperature control system includes a temperature control chip and a network card fan, and the method includes: Determine the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip; Determine a temperature control strategy according to the working state, the network card in-place state, and the current temperature; The temperature control strategy is executed on the network card fan to achieve temperature control of the network card.
2. The method according to claim 1, characterized in that The working state includes a running state and a soft shutdown state; and determining a temperature control strategy according to the working state, the network card in-place state, and the current temperature, including: If the working state is the running state, determining that the temperature control strategy is that the network card fan does not work; If the working state is a soft shutdown state, the controller in-place state of the controller on the mainboard is determined, and a temperature control strategy is determined according to the controller in-place state, the network card in-place state, and the current temperature.
3. The method according to claim 2, characterized in that The controller in-place state is in-place or not in-place, and the network card in-place state is in-place or not in-place; Determining a temperature control strategy according to the controller in-place status, the network card in-place status, and the current temperature includes: If the controller in-place state is in-place and the network card in-place state is in-place, receiving the temperature control strategy from the controller; If the controller in-place state is not in place and the network card in-place state is in place, determine the fan in-place state of the network card fan on the temperature control system, and determine the temperature control strategy according to the current temperature and the fan in-place state. The fan in-place state is in place or not in place.
4. The method according to claim 3, characterized in that: The fan in-position state is in-position; Determining the temperature control strategy according to the current temperature and the fan in-place status includes: Determine a current pulse width modulation (PWM) duty cycle, a first temperature threshold, and a second temperature threshold of the network card fan, wherein the first temperature threshold is greater than the second temperature threshold; If the current temperature is greater than the first temperature threshold, determining that the temperature control strategy is to adjust the current PWM duty cycle to a first PWM duty cycle, wherein the first PWM duty cycle is greater than the current PWM duty cycle; If the current temperature is less than the second temperature threshold, the temperature control strategy is determined to adjust the current PWM duty cycle to a second PWM duty cycle, where the second PWM duty cycle is less than the current PWM duty cycle.
5. A temperature control system, characterized in that: include: Temperature control chip, network card fan, temperature sensor, and in-place detector, among which, The temperature sensor is connected to the temperature control chip, and the temperature sensor is used to determine the current temperature of the temperature control chip and send the current temperature to the temperature control chip; The in-position detector is connected to the network card fan, and the in-position detector is used to detect the fan in-position state of the network card fan on the temperature control system; The temperature control chip is connected to the high-speed peripheral component interconnection expansion PCIE interface of the mainboard through an expansion card, and the temperature control chip is connected to the network card fan, and the temperature control chip is used to execute a temperature control strategy for the network card fan; The temperature control system is used to execute the method according to any one of claims 1 to 4.
6. The temperature control system according to claim 5, characterized in that: The temperature control system also includes a programmable memory, wherein: The in-place detector is connected to the PCIE interface of the mainboard through the expansion card, and the in-place detector is used to receive power from the mainboard and determine whether to supply power to the network card fan according to the in-place status of the fan; The first end of the programmable memory is connected to the in-place detector, the second end of the programmable memory is connected to the network card fan, and the programmable memory is used to store power supply information, and the power supply information is used to supply power to the network card fan.
7. A temperature control device, characterized in that: Applied to a temperature control system, the temperature control system includes a temperature control chip and a network card fan, and the device includes: A determination module, used to determine the working status of the mainboard, the network card in-place status of the network card on the mainboard, and the current temperature of the temperature control chip; A strategy module, used to determine a temperature control strategy according to the working state, the network card in-place state, and the current temperature; An execution module is used to execute the temperature control strategy on the network card fan to achieve temperature control of the network card.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 4.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 4 when executed by a processor.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 4 when being executed by a processor.