Methods, devices, electronic equipment, and storage media for regulating server temperature
By establishing a temperature regulation model that considers the temperature influence between multiple servers and calculating the temperature regulation amount for each server, the problem of inaccurate server temperature regulation is solved, and the server's performance is improved.
Patent Information
- Application Number
- CN202211316673.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-26
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2042-10-26
AI Technical Summary
In existing technologies, server temperature control methods fail to effectively consider the temperature influence between multiple servers, resulting in inaccurate adjustments.
By establishing a temperature regulation model, storing the temperature influence coefficients and reference temperatures between servers, and calculating the temperature regulation amount for each server, the difference between the regulated temperature and the reference temperature is minimized, and the temperature influence of each server is comprehensively considered.
After implementing temperature regulation for multiple servers, the performance of each server approached the reference state, thus improving the overall performance of the servers.
Smart Images

Figure CN115756018B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of temperature control technology, and in particular to a method, apparatus, electronic device and storage medium for regulating server temperature. Background Technology
[0002] Server temperature affects server performance, therefore, server temperature management has become a key concern for many server manufacturers and users.
[0003] Most current technologies for server temperature control rely on simple manual and machine-assisted methods. However, these methods often suffer from technical problems such as difficulty in controlling too many machines or inaccurate temperature control. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this application provides a method, apparatus, electronic device, and storage medium for regulating server temperature. The technical solution of this application is as follows:
[0005] According to a first aspect of the embodiments of this application, a method for adjusting server temperature is provided, comprising:
[0006] Get the current temperature of each of the multiple servers located in the same space;
[0007] The current temperature of each of the multiple servers is input into the temperature regulation model to obtain the temperature regulation amount of each of the multiple servers. The temperature regulation model stores the temperature influence coefficient between the multiple servers and the reference temperature of each of the multiple servers in the reference state.
[0008] The current temperature of each of the multiple servers is adjusted according to its own temperature adjustment amount to obtain the adjusted temperature of each of the multiple servers. The adjusted temperature of a server is affected by its own temperature adjustment amount and the temperature adjustment amounts of other servers. The difference between the adjusted temperature of the multiple servers and the reference temperature of the multiple servers is minimized.
[0009] Optionally, the step of inputting the current temperature of each of the plurality of servers into the temperature regulation model to obtain the temperature regulation amount of each of the plurality of servers includes:
[0010] The current temperature of each of the multiple servers is input into the temperature regulation model to calculate the temperature difference between the current temperature of each server and its own reference temperature.
[0011] Obtain the temperature influence coefficient between the multiple servers;
[0012] Based on the temperature difference between the servers and the temperature influence coefficient between the servers, the temperature adjustment amount of each server and the temperature change amount caused by the temperature adjustment amount of other servers are calculated.
[0013] Optionally, the temperature regulation model also stores the active temperature regulation range of each of the plurality of servers;
[0014] The step of calculating the temperature adjustment amount of each of the multiple servers, based on the temperature difference between the servers and the temperature influence coefficient between the servers, and the resulting temperature change due to the temperature adjustment amount of other servers, includes:
[0015] Based on the temperature difference between the servers and the temperature influence coefficient between them, and constrained by the active temperature adjustment range of each server, the temperature adjustment amount of each server and the temperature change caused by the temperature adjustment amount of other servers are calculated.
[0016] Optionally, before inputting the current temperature of each of the plurality of servers into the temperature regulation model, the method further includes:
[0017] The test temperature of each of the multiple servers is obtained, and the test temperature of each of the multiple servers is adjusted respectively to obtain the test temperature adjustment amount of each of the multiple servers;
[0018] When the test temperature of each of the servers is adjusted, the amount of temperature change it causes to the test temperature of the other servers.
[0019] Based on the temperature adjustment amount of each server and the corresponding temperature change of other servers, the temperature influence coefficient between the multiple servers is obtained.
[0020] Optionally, adjusting the current temperature of each of the plurality of servers according to their respective temperature adjustment amounts includes:
[0021] Generate temperature adjustment commands for each of the multiple servers according to their respective temperature adjustment values.
[0022] The temperature adjustment commands of each of the multiple servers are sent to the corresponding servers to control the temperature adjustment devices of the servers to adjust the temperature.
[0023] Optionally, before obtaining the current temperature of each of the multiple servers located in the same space, the method further includes:
[0024] Obtain the spatial reference temperature of the space where the multiple servers are located when the multiple servers are in the reference state;
[0025] Obtain the current temperature of the space;
[0026] If the current space temperature differs from the space reference temperature, the current space temperature is adjusted to the space reference temperature.
[0027] Optionally, it also includes:
[0028] A reference image is generated based on the reference temperature of the plurality of servers;
[0029] Obtain the current temperature of each of the multiple servers at the latest moment, and generate a real-time image based on the current temperature of the multiple servers at the latest moment;
[0030] The real-time image and the reference image are displayed, and the image regions of the real-time image and the corresponding image regions of the reference image represent the temperature of the same server.
[0031] According to a second aspect of the embodiments of this application, a server temperature regulating device is provided, comprising:
[0032] The temperature acquisition module is configured to acquire the current temperature of multiple servers located in the same space.
[0033] The adjustment amount determination module is configured to input the current temperature of each of the plurality of servers into the temperature adjustment model to obtain the temperature adjustment amount of each of the plurality of servers. The temperature adjustment model stores the temperature influence coefficient between the plurality of servers and the reference temperature of each of the plurality of servers in the reference state.
[0034] The temperature regulation module is configured to adjust the current temperature of each of the plurality of servers according to their respective temperature regulation amounts, thereby obtaining the adjusted temperature of each of the plurality of servers. The adjusted temperature of a server is affected by its own temperature regulation amount and the temperature regulation amounts of other servers, and the difference between the adjusted temperature of the plurality of servers and the reference temperature of the plurality of servers is minimized.
[0035] According to a third aspect of the present application, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the server temperature regulation method as described in the first aspect.
[0036] According to a fourth aspect of the embodiments of this application, a non-volatile readable storage medium is provided, which, when the instructions in the non-volatile readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the server temperature regulation method as described in the first aspect.
[0037] The technical solutions provided in this application embodiment may include the following beneficial effects:
[0038] In this embodiment, the temperature regulation model stores temperature influence coefficients among multiple servers. Therefore, inputting the current temperatures of each server into the temperature regulation model yields individual temperature regulation values for each server, taking into account the mutual influence between their temperatures. Furthermore, the adjusted temperatures of each server, obtained by adjusting the temperature according to its individual values, also incorporate the influence of its own temperature regulation value and the temperature regulation values of other servers. Moreover, the temperature regulation model stores reference temperatures for each server under reference conditions. Therefore, adjusting the temperature according to each server's individual values ensures that the difference between the adjusted temperature and the reference temperature is minimized, thereby ensuring that the server's performance is as close as possible to the reference performance, thus maximizing server performance.
[0039] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0041] Figure 1 This is a flowchart illustrating a method for adjusting server temperature according to an embodiment of this application;
[0042] Figure 2 This is a schematic diagram illustrating a reference image and a real-time image according to an embodiment of this application;
[0043] Figure 3 This is a block diagram illustrating a server temperature regulation device according to an embodiment of this application;
[0044] Figure 4 This is a schematic diagram of the electronic device proposed in the embodiments of this application. Detailed Implementation
[0045] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0046] Server temperature control is becoming increasingly important. Common temperature control methods involve setting a baseline temperature for the server. When the server temperature falls below the baseline, the temperature is increased; when the server temperature exceeds the baseline, the temperature is decreased. This can be done manually or with machine assistance.
[0047] The inventors of this application discovered that when multiple servers are in the same space, their temperatures affect each other; when the temperature of one server is adjusted, the temperatures of adjacent servers also change. Related temperature control methods do not consider the temperature influence between servers, thus leading to inaccurate adjustments.
[0048] Figure 1 This is a flowchart illustrating a method for adjusting server temperature according to an embodiment of this application, as shown below. Figure 1 As shown, this method for adjusting server temperature can be used in electronic devices such as computers, mobile phones, and tablets, and can also be applied to main control servers. It includes the following steps:
[0049] In step S11, the current temperature of each of the multiple servers located in the same space is obtained.
[0050] The same space can refer to a server room or other space that houses multiple servers. Each server has a BMC (Baseboard Management Controller), and the temperature of each server can be obtained through its BMC or by measuring the temperature using temperature measurement devices located near each server.
[0051] In step S12, the current temperature of each of the multiple servers is input into the temperature regulation model to obtain the temperature regulation amount of each of the multiple servers. The temperature regulation model stores the temperature influence coefficient between the multiple servers and the reference temperature of each of the multiple servers in the reference state.
[0052] Among multiple servers, there can be one master control server, or another server outside of the multiple servers can be selected as the master control server. The master control server's BMC includes a temperature regulation model. The master control server's BMC can obtain the current temperature of its own server from the BMCs of multiple servers located in the same space, and calculate the temperature regulation amount for each server based on the current temperature of each server, and control the temperature regulation device of each server to regulate the server temperature.
[0053] Alternatively, an electronic device or similar device that performs server temperature adjustment can obtain the current temperature of each of the BMCs of multiple servers located in the same space, calculate the temperature adjustment amount for each of the multiple servers based on their current temperatures, and control the temperature adjustment device of each server to adjust the server temperature.
[0054] The server's reference temperature can be considered its optimal temperature; correspondingly, the server's reference state can be considered its optimal state. The server's optimal state refers to its condition at the optimal temperature.
[0055] The reference temperatures of multiple servers under reference conditions can be obtained based on experience or testing. The temperature influence coefficients between multiple servers can be predetermined through experiments or calculations. The temperature influence coefficient of one server on another may or may not be equal to the temperature influence coefficient of that other server on itself. Based on the temperature influence coefficients between multiple servers and their respective reference temperatures under reference conditions, a temperature regulation model is pre-established.
[0056] The temperature influence coefficient between multiple servers characterizes how the temperature of other servers changes when the temperature of each server changes. For example, if the temperature of server A rises by 5 degrees, the temperature of its neighboring server B rises by 1 degree, and the temperature of another server C rises by 0.5 degrees, then the temperature influence coefficient of server A on server B is 0.2, and the temperature influence coefficient of server A on server C is 0.1.
[0057] The temperature regulation model stores the temperature influence coefficients between multiple servers, as well as the reference temperatures of each server under reference conditions. When determining the individual temperature regulation amounts for each server, the model considers the temperature influence coefficients between the servers and ensures that the overall regulated temperature of the servers differs from the overall reference temperature of the servers when adjusting the temperature according to the individual server adjustments.
[0058] In step S13, the current temperature of each of the multiple servers is adjusted according to their respective temperature adjustment amounts to obtain the adjusted temperature of each of the multiple servers. The adjusted temperature of a server is affected by its own temperature adjustment amount and the temperature adjustment amounts of other servers. The difference between the adjusted temperature of the multiple servers and the reference temperature of the multiple servers is minimized.
[0059] The adjusted temperature of a server is the sum of its current temperature, the amount of temperature adjustment, and the temperature impact of other servers in the same space. The temperature impact of another server is the product of its temperature adjustment amount and its influence coefficient on the server's temperature.
[0060] For example, if server A and server B are in the same space, the current temperature of server A is 20 degrees, the temperature adjustment amount of server A is +5 (the positive and negative signs represent increasing and decreasing respectively), the temperature adjustment amount of server B is +4, and the temperature influence coefficient of server B on server A is 0.1, then the adjusted temperature of server A = 20 + 5 + 4 × 0.1 = 25.4 degrees.
[0061] The smallest difference between the adjusted temperature of each of the multiple servers and the reference temperature of the multiple servers indicates that the multiple servers are in a state that is closest to the reference state as a whole.
[0062] The technical solution adopted in this application embodiment stores the temperature influence coefficients between multiple servers in the temperature regulation model. Therefore, by inputting the current temperature of each of the multiple servers into the temperature regulation model, the resulting temperature regulation amounts for each server take into account the mutual influence between the temperatures of the multiple servers. Furthermore, the adjusted temperatures of each of the multiple servers, obtained by adjusting the temperature according to their respective temperature regulation amounts, also integrate the influence of their own temperature regulation amounts and the temperature regulation amounts of other servers. Moreover, the temperature regulation model stores the reference temperatures of each of the multiple servers under a reference state. Therefore, adjusting the temperature according to the individual temperature regulation amounts of each server ensures that the difference between the adjusted temperatures of the multiple servers and their reference temperatures is minimized, thereby ensuring that the server's operating performance is as close as possible to the reference operating performance, and thus maximizing the server's operating performance.
[0063] Optionally, based on the above technical solution, the temperature regulation model can calculate the temperature difference between the current temperature of each of the multiple input servers and its own reference temperature.
[0064] Optionally, each server can be assigned a unique number. When inputting the current temperatures of multiple servers into the temperature regulation model, each number and its corresponding current temperature are also input into the model, allowing the model to identify the server corresponding to each current temperature. Correspondingly, the reference temperatures of each of the multiple servers also carry their respective numbers.
[0065] Optionally, the current temperatures of multiple servers can be input into the temperature regulation model in a fixed order. Correspondingly, the reference temperatures of multiple servers stored in the temperature regulation model also have a fixed order, so that the temperature regulation model can obtain the reference temperature corresponding to each current temperature.
[0066] After obtaining the temperature difference for each server, the temperature regulation model can calculate the individual temperature regulation of each server by incorporating the temperature influence coefficients between multiple servers. This can be achieved by establishing a system of N linear equations, where N equals the number of servers, and the unknowns are the temperature regulation of each server. Given the individual temperature regulation of other servers and the known temperature influence coefficients of these servers on the target server, the temperature change of the target server due to the influence of the other servers' temperature regulation can be calculated. The solution to the system of equations can refer to relevant technical methods, such as using mathematical models or programming.
[0067] For example, if there are two servers, server A and server B, where server A's temperature influence coefficient on server B is 0.2, and server B's temperature influence coefficient on server A is 0.1, the temperature difference for server A is 3, and the temperature difference for server B is 2, we can let the temperature adjustment amounts for server A and server B be x and y, respectively. Then we can establish a system of two linear equations: x + 0.1y = 3, y + 0.2x = 1. Solving these equations will give us the values of the temperature adjustment amount x for server A and the temperature adjustment amount y for server B. Accordingly, given the values of x and y, we can calculate the temperature change of 0.1y caused by the temperature adjustment amounts of other servers on server A, and the temperature change of 0.2x caused by the temperature adjustment amounts of other servers on server B.
[0068] Optionally, the temperature regulation model can calculate the individual temperature regulation of multiple servers based on the temperature difference between each server and the temperature influence coefficient between multiple servers. Alternatively, it can be a method other than establishing a set of equations, such as using a computer to traverse the equations or using a corresponding calculation model.
[0069] In this way, by adjusting the temperature of each server according to the temperature adjustment amount calculated by the temperature adjustment model, the difference between the adjusted temperature of the multiple servers and the reference temperature of the multiple servers can be minimized.
[0070] Optionally, based on the above technical solution, the temperature influence coefficient between multiple servers can be calculated first.
[0071] In the testing phase for calculating the temperature influence coefficient, the test temperatures of multiple servers are first obtained, using a method similar to that used for obtaining the current temperatures of the servers. The test temperatures of each server are then adjusted individually to obtain the adjustment amount for each server. The resulting temperature change on the other servers is then calculated based on the adjustment amount for each server and the corresponding temperature changes on the other servers. Finally, the temperature influence coefficient between the multiple servers is obtained.
[0072] For each of the multiple servers, the test temperature of that server is adjusted, and the temperature changes of the other servers caused by this adjustment are recorded. Based on the adjustment amount of that server's test temperature and the temperature changes of the other servers, the temperature influence coefficient of that server on each of the other servers can be calculated. The temperature adjustments of the multiple servers are performed separately.
[0073] For example, if we raise the temperature of server A by 5 degrees Celsius while keeping other conditions constant, and record the temperature change of server B as 1 and the temperature change of server C as 0.5 degrees Celsius, then we can calculate that the temperature influence coefficient of server A on server B is 0.2, and the temperature influence coefficient of server A on server C is 0.1. Similarly, by adjusting the temperature of server B while keeping other conditions constant, we can also obtain the temperature influence coefficients of server B on server A and server B on server C.
[0074] Optionally, if the temperature change caused by a server's own temperature regulation at different test temperatures varies for the test temperatures of other servers, then the temperature influence coefficient between multiple servers at different test temperatures can be obtained by referring to the above method. In practical application of the temperature regulation model, since the current temperature of the servers is fixed, the temperature influence coefficient between multiple servers is also fixed. Therefore, the individual temperature regulation amounts of each server can still be calculated using the temperature regulation model.
[0075] In this way, the temperature influence coefficient between multiple servers can be calculated in advance, and a temperature regulation model can be built based on the temperature influence coefficient between multiple servers. Then, the temperature regulation model can be used to calculate the temperature regulation amount of each of the multiple servers.
[0076] Optionally, based on the above technical solution, due to limitations such as the performance of the temperature control equipment, there may be situations where the server temperature cannot be adjusted to the predetermined temperature. That is, the expected adjusted server temperature exceeds the server's active temperature control range. The active temperature control range refers to the temperature range that a server can achieve under its own temperature control equipment, and this range is not affected by the temperatures of other servers. For example, if you want to adjust the temperature of a server to 50 degrees Celsius, but the server's actual active temperature control range is 10–45 degrees Celsius, then you cannot adjust the server's temperature to 50 degrees Celsius using only that server. In this case, you can only achieve the goal of adjusting the server's temperature to 50 degrees Celsius by increasing the temperature of other servers.
[0077] The active temperature regulation range for each server can be predetermined. The temperature regulation model calculates the individual temperature regulation amounts for each server, as well as the temperature changes resulting from the temperature regulation amounts of other servers, based on the temperature differences between the servers and the temperature influence coefficients between them. This allows the model to obtain the individual active temperature regulation ranges for each server. Using these active temperature regulation ranges as constraints, the model calculates the individual temperature regulation amounts for each server, as well as the temperature changes resulting from the temperature regulation amounts of other servers, based on the temperature differences between the servers and the temperature influence coefficients between them.
[0078] Using the individual active temperature regulation range of multiple servers as a constraint means that, for each of the multiple servers, the sum of the calculated temperature regulation amount of that server and the current temperature of that server does not exceed the active regulation range of that server.
[0079] Determining the active temperature regulation range for multiple servers can be achieved by: adjusting and observing the test temperatures of the servers during the testing phase to determine their active temperature regulation range; and then constructing a temperature regulation model based on the active temperature regulation ranges of the multiple servers, the temperature influence coefficients between the servers, and the individual reference temperatures of each server.
[0080] In this way, it can be ensured that the temperature adjustment of each of the multiple servers can be successfully adjusted, and the difference between the adjusted temperature of the multiple servers and the reference temperature of the multiple servers is minimized.
[0081] Optionally, based on the above technical solution, adjusting the current temperature of multiple servers according to their respective temperature adjustment values can be achieved by: generating multiple temperature adjustment commands for each server according to their respective temperature adjustment values, wherein each server's temperature adjustment command includes its own temperature adjustment value; sending the multiple server's respective temperature adjustment commands to the corresponding servers, and controlling the server's temperature adjustment device to adjust the temperature according to the temperature adjustment value in the received temperature adjustment command.
[0082] The temperature control device for the server can be a radiator, water cooling device, heater, etc., and this application does not limit it.
[0083] The temperature adjustment command can be generated by the BMC of the main control server or an electronic device that executes the server temperature adjustment method, and then sent to each server.
[0084] In this way, the temperature of multiple servers in the same space can be uniformly adjusted to ensure that the difference between the adjusted temperature of multiple servers and the reference temperature of multiple servers is minimized.
[0085] Optionally, based on the above technical solution, when the current temperature of the server differs significantly from the server's reference temperature, or when the temperature of the space where the server is located differs significantly from the server's reference temperature, if temperature control is directly performed through the server's temperature regulation equipment, it may be difficult to achieve successful adjustment because the power of the server's temperature regulation equipment is usually small.
[0086] Therefore, the temperature of the space containing these multiple servers can be adjusted first to achieve macro-level temperature control. This can be done by first setting a reference temperature for the space. This reference temperature can be the temperature of the space when the temperatures of the multiple servers are at the reference temperature. The reference temperature can be predetermined; it can be obtained when the multiple servers are in the reference state, or it can be a temperature preset based on experience or standards.
[0087] When controlling temperature, a predetermined reference temperature and the current temperature of the space are obtained. The space temperature can be obtained using a temperature measuring device such as a thermometer. If the current space temperature differs from the reference temperature, the space temperature is adjusted to the reference temperature. Alternatively, if the difference between the current space temperature and the reference temperature exceeds a preset range, the space temperature is adjusted to ensure that the difference does not exceed the preset range. The space temperature can be adjusted using air conditioning, heating, or similar systems.
[0088] Understandably, the ambient temperature should be adjusted before the server temperature is adjusted, so as not to affect the server temperature adjustment.
[0089] In this way, by first adjusting the temperature of the space macroscopically and then finely adjusting the temperature of multiple servers, the pressure on the server temperature control equipment can be reduced.
[0090] Optionally, based on the above technical solution, an image can be generated according to the server's temperature to visualize the server's temperature.
[0091] The system can generate reference images based on reference temperatures from multiple servers, and obtain the current temperatures of each server at the latest moment. Based on these current temperatures, a real-time image is then generated. The image regions in the real-time image and the corresponding image regions in the reference image represent the temperatures of the same server. Both the real-time and reference images are displayed so users can observe the images at any time.
[0092] The server temperature adjustment method in this application embodiment can be automatic or initiated by the user. Automatic adjustment can be triggered when the similarity between the real-time image and the reference image is less than a preset value. User-initiated adjustment can be initiated after the user observes that the difference between the real-time image and the reference image is too large.
[0093] Figure 2 This is a schematic diagram illustrating a reference image and a real-time image according to an embodiment of this application. Both the reference image and the real-time image are bar charts, with the rectangles corresponding to server numbers. The height of each rectangle represents the temperature of a server. The image regions corresponding to the reference image and the real-time image respectively represent the reference temperature and real-time temperature of the server with the same number.
[0094] Optionally, the reference image and the real-time image can also be line graphs, where the value of a fold point represents the temperature of a server. The shape and color of the reference image and the real-time image can be chosen from various options, and this application does not impose any limitations on them.
[0095] Optionally, for easier observation, the reference image and the real-time image can be displayed on the same image.
[0096] In this way, generating real-time images and reference images helps machines or users determine when to execute the server temperature adjustment method of this application embodiment, and also helps users monitor the server temperature.
[0097] Optionally, as an example, during the reference determination stage, each server in the server room can be numbered, and by adjusting the temperature of the server room and the status of each server, a reference status of multiple servers can be obtained, and the reference temperature of multiple servers in the reference status can be measured and recorded.
[0098] Multiple servers are located in a server room, and the temperature difference between different areas of the server room is not significant. Therefore, if the reference temperatures of two servers differ greatly, those two servers often cannot simultaneously be in their respective reference states. Thus, the reference temperature of each server in its reference state can also refer to the individual temperature of each server that is closest to the overall reference temperature of all servers. Correspondingly, the reference state of each server represents the individual state of the servers that is closest to the overall reference state of all servers.
[0099] For example, suppose a bar chart represents server temperature, with the height of each rectangle in the bar chart corresponding to the temperature of one server. A first bar chart can be generated based on the reference temperatures of multiple servers. However, in reality, the bar chart generated from the individual temperatures of multiple servers in a server room may not accurately represent the first bar chart. The reference temperatures of multiple servers in a server room, as referred to in this application, are the temperatures of those servers when the bar chart generated from their individual temperatures has the highest similarity to the first bar chart. The reference states of the multiple servers refer to the states of those servers when the bar chart generated from their temperatures has the highest similarity to the first bar chart.
[0100] Optionally, a reference image can be generated based on the reference temperatures of multiple servers. Different image regions in the reference image represent the temperatures of each server under reference conditions. The overall temperature of all servers under reference conditions can be used as the reference temperature for all servers. The temperatures of each server can be obtained from the BMC (Browser Control Center) or through other means.
[0101] During the testing phase, the test temperatures of multiple servers are acquired. These multiple server temperatures refer to the temperatures of multiple servers acquired during the testing phase. For each server, its test temperature is adjusted individually, and the highest and lowest test temperatures are observed. Based on these highest and lowest test temperatures, the active temperature adjustment range for the server is determined. For example, for a server, excluding other influencing factors, if adjusting the server's temperature alone can raise its test temperature to a maximum of 50 degrees Celsius and a minimum of 10 degrees Celsius, then the active temperature adjustment range for that server is 10–50 degrees Celsius.
[0102] During the testing phase, for each current server, without actively adjusting the test temperatures of other servers, the test temperature of the current server is adjusted, and the amount of temperature adjustment is obtained. The resulting temperature change on other servers after the current server's test temperature is adjusted is then calculated. This temperature change on other servers refers to the temperature change caused by the change in the current server's test temperature. Based on the current server's test temperature adjustment and the resulting temperature changes on other servers, a temperature influence coefficient of the current server on each other server is calculated. Specifically, the temperature influence coefficient is obtained by dividing the current server's test temperature adjustment by the corresponding temperature change on another server. For example, if the current server's test temperature adjustment is 10, and another server experiences a temperature change of 2 due to the current server's test temperature adjustment, then the temperature influence coefficient of the current server on that other server is 0.2.
[0103] A temperature regulation model is constructed based on the reference temperatures of multiple servers, the temperature influence coefficients between multiple servers, and the active temperature regulation range of each of the multiple servers.
[0104] Optionally, during the testing phase, test images can be generated based on the test temperatures of multiple servers. The image regions of the test images and the corresponding image regions in the reference images respectively represent the test temperature and reference temperature of the server with the same number.
[0105] In the application phase, the current temperatures of multiple servers are acquired and input into a temperature regulation model. The model calculates the temperature difference between each server's current temperature and its own stored reference temperatures. It also obtains the temperature influence coefficients between the servers and their respective active temperature regulation ranges. Based on these coefficients and the temperature differences, and constrained by the active temperature regulation ranges of each server, the model calculates the individual temperature regulation amounts for each server, as well as the temperature changes resulting from the influence of other servers' temperature regulation amounts. This can be achieved by establishing a system of multiple linear equations to calculate the individual temperature regulation amounts, or by using a linear programming model to solve for the individual temperature regulation amounts, constructing an objective function, and listing the constraints.
[0106] After calculating the individual temperature regulation values of multiple servers, the temperature changes resulting from the influence of the temperature regulation values of other servers can be calculated based on the individual temperature regulation values of multiple servers and the temperature influence coefficients between multiple servers.
[0107] Adjusting the current temperature of multiple servers according to their individual temperature settings will change their own temperatures and simultaneously affect the temperatures of other servers, resulting in the adjusted temperature for each server. The adjusted temperature of a server is the sum of its current temperature, its temperature adjustment setting, and the temperature impact of other servers in the server room. The temperature impact of another server is the product of its temperature adjustment setting and its temperature impact coefficient.
[0108] Optionally, a real-time image can be generated based on the current temperature of each of the multiple servers at the latest moment. The image area of the reference image and the image area corresponding to the real-time image respectively represent the reference temperature and the current temperature at the latest moment of the server with the same number.
[0109] Optionally, real-time and reference images can be displayed simultaneously. Users can actively choose to adjust the server temperature when they observe significant differences between the real-time and reference images. This active selection of server temperature adjustment can involve the user triggering an operation, followed by the machine / electronic device / BMC automatically acquiring the current temperatures of multiple servers, inputting these current temperatures into a temperature adjustment model to obtain the individual temperature adjustment amounts for each server, and then adjusting the current temperatures of each server according to these individual adjustment amounts to obtain the adjusted temperatures for each server.
[0110] Optionally, the machine / electronic device / BMC can automatically calculate and detect the difference between the real-time image and the reference image. If the difference between the real-time image and the reference image is greater than a fixed difference, the server temperature can be automatically adjusted. This automatic server temperature adjustment can be achieved by the machine / electronic device / BMC automatically acquiring the current temperature of multiple servers, inputting these current temperatures into a temperature adjustment model to obtain the temperature adjustment amount for each server, and then adjusting the current temperature of each server according to these adjustment amounts to obtain the adjusted temperature for each server.
[0111] In this way, by taking the temperature of each server in the server room as a point, a server temperature point cloud model is constructed. By adjusting the temperature represented by each point in the server temperature point cloud model through a temperature regulation model, rapid and accurate control of server temperature is achieved, optimizing the server room environment, forming a more precise server room management standard, solving the current technical problems of disordered and untimely temperature control in server rooms, improving the working efficiency of server room temperature control, connecting the connections between multiple servers, and helping to enhance enterprise intelligence and optimize the enterprise image.
[0112] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.
[0113] Figure 3 This is a block diagram illustrating a server temperature regulation device according to an embodiment of this application, with reference to... Figure 3 The device includes a temperature acquisition module, an adjustment amount determination module, and a temperature adjustment module, wherein:
[0114] The temperature acquisition module is configured to acquire the current temperature of multiple servers located in the same space.
[0115] The adjustment amount determination module is configured to input the current temperature of each of the plurality of servers into the temperature adjustment model to obtain the temperature adjustment amount of each of the plurality of servers. The temperature adjustment model stores the temperature influence coefficient between the plurality of servers and the reference temperature of each of the plurality of servers in the reference state.
[0116] The temperature regulation module is configured to adjust the current temperature of each of the plurality of servers according to their respective temperature regulation amounts, thereby obtaining the adjusted temperature of each of the plurality of servers. The adjusted temperature of a server is affected by its own temperature regulation amount and the temperature regulation amounts of other servers, and the difference between the adjusted temperature of the plurality of servers and the reference temperature of the plurality of servers is minimized.
[0117] Optionally, the adjustment amount determination module includes:
[0118] The temperature difference calculation unit is configured to input the current temperature of each of the plurality of servers into the temperature regulation model, and calculate the temperature difference between the current temperature of each of the servers and its own reference temperature.
[0119] The coefficient acquisition unit is configured to acquire the temperature influence coefficient between the plurality of servers;
[0120] The calculation unit is configured to calculate the temperature adjustment amount of each of the plurality of servers, and the temperature change amount generated by the temperature adjustment amount of other servers, based on the temperature difference corresponding to each of the plurality of servers and the temperature influence coefficient between the plurality of servers.
[0121] Optionally, the temperature regulation model also stores the active temperature regulation range of each of the plurality of servers;
[0122] The computing unit includes:
[0123] The calculation subunit is configured to calculate the temperature adjustment amount of each of the multiple servers, and the temperature change amount generated by the temperature adjustment amount of other servers, based on the temperature difference between the multiple servers and the temperature influence coefficient between the multiple servers, with the active temperature adjustment range of each of the multiple servers as a constraint.
[0124] Optionally, before inputting the current temperature of each of the plurality of servers into the temperature regulation model, the method further includes:
[0125] The test temperature acquisition module is configured to acquire the test temperature of each of the plurality of servers, and adjust the test temperature of each of the plurality of servers respectively to obtain the test temperature adjustment amount of each of the plurality of servers.
[0126] The temperature change acquisition module is configured to acquire the temperature change caused to the test temperature of other servers when the test temperature of each of the servers is adjusted.
[0127] The coefficient determination module is configured to obtain the temperature influence coefficient between the plurality of servers based on the test temperature adjustment amount of each of the servers and the corresponding change amount of the test temperature of other servers.
[0128] Optionally, the temperature regulation module includes:
[0129] The command generation unit is configured to generate temperature adjustment commands for each of the plurality of servers according to their respective temperature adjustment amounts.
[0130] The issuing unit is configured to issue temperature adjustment commands from the plurality of servers to the corresponding servers, thereby controlling the temperature adjustment devices of the servers to perform temperature adjustment.
[0131] Optionally, before obtaining the current temperature of each of the multiple servers located in the same space, the method further includes:
[0132] The space reference temperature acquisition module is configured to acquire the space reference temperature of the space where the plurality of servers are located when the plurality of servers are in a reference state;
[0133] The current space temperature acquisition module is configured to acquire the current space temperature.
[0134] The space temperature adjustment module is configured to adjust the current space temperature to the space reference temperature when the current space temperature is different from the space reference temperature.
[0135] Optionally, it also includes:
[0136] The reference image generation module is configured to generate a reference image based on the reference temperature of the plurality of servers;
[0137] The real-time image generation module is configured to acquire the current temperature of each of the multiple servers at the latest moment, and generate a real-time image based on the current temperature of the multiple servers at the latest moment;
[0138] The image display module is configured to display the real-time image and the reference image, wherein the image area of the real-time image and the corresponding image area of the reference image represent the temperature of the same server.
[0139] It should be noted that the device embodiments are similar to the method embodiments, so the description is relatively simple. For relevant details, please refer to the method embodiments.
[0140] This application also provides an electronic device, which is described in reference to... Figure 4 , Figure 4 This is a schematic diagram of the electronic device proposed in an embodiment of this application. Figure 4 As shown, the electronic device 100 includes a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus. The memory 110 stores a computer program that can run on the processor 120 to implement the steps in the server temperature regulation method disclosed in the embodiments of this application.
[0141] This application also provides a non-volatile readable storage medium, which, when the instructions in the non-volatile readable storage medium are executed by the processor of an electronic device, enables the electronic device to perform the steps in the server temperature regulation method disclosed in this application.
[0142] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0143] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0144] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, electronic devices, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0145] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0147] Although some embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make further changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0148] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0149] The above provides a detailed description of a server temperature regulation method, apparatus, electronic device, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for regulating server temperature, characterized in that, include: Get the current temperature of each of the multiple servers located in the same space; The current temperature of each of the multiple servers is input into the temperature regulation model to obtain the temperature regulation amount of each of the multiple servers. The temperature regulation model stores the temperature influence coefficient between the multiple servers, the reference temperature of each of the multiple servers in the reference state, and the active temperature regulation range of each of the multiple servers. The step of inputting the current temperature of each of the multiple servers into the temperature regulation model to obtain the temperature regulation amount of each of the multiple servers includes: Input the current temperature of each of the multiple servers into the temperature regulation model, calculate the temperature difference between the current temperature of each server and its own reference temperature, and obtain the temperature influence coefficient between the multiple servers; Based on the temperature difference between the servers and the temperature influence coefficient between the servers, and constrained by the active temperature adjustment range of each server, the temperature adjustment amount of each server and the temperature change amount caused by the temperature adjustment amount of other servers are calculated. The current temperature of each of the multiple servers is adjusted according to its own temperature adjustment amount to obtain the adjusted temperature of each of the multiple servers. The adjusted temperature of a server is affected by its own temperature adjustment amount and the temperature adjustment amounts of other servers. The difference between the adjusted temperature of the multiple servers and the reference temperature of the multiple servers is minimized.
2. The method according to claim 1, characterized in that, Before inputting the current temperature of each of the multiple servers into the temperature regulation model, the following steps are also included: The test temperature of each of the multiple servers is obtained, and the test temperature of each of the multiple servers is adjusted respectively to obtain the test temperature adjustment amount of each of the multiple servers; When the test temperature of each of the servers is adjusted, the amount of temperature change it causes to the test temperature of the other servers. Based on the temperature adjustment amount of each server and the corresponding temperature change of other servers, the temperature influence coefficient between the multiple servers is obtained.
3. The method according to any one of claims 1-2, characterized in that, The step of adjusting the current temperature of each of the plurality of servers according to their respective temperature adjustment values includes: Generate temperature adjustment commands for each of the multiple servers according to their respective temperature adjustment values. The temperature adjustment commands of each of the multiple servers are sent to the corresponding servers to control the temperature adjustment devices of the servers to adjust the temperature.
4. The method according to any one of claims 1-2, characterized in that, Before obtaining the current temperature of each of the multiple servers located in the same space, the method further includes: Obtain the spatial reference temperature of the space where the multiple servers are located when the multiple servers are in the reference state; Obtain the current temperature of the space; If the current space temperature differs from the space reference temperature, the current space temperature is adjusted to the space reference temperature.
5. The method according to any one of claims 1-2, characterized in that, Also includes: A reference image is generated based on the reference temperature of the plurality of servers; Obtain the current temperature of each of the multiple servers at the latest moment, and generate a real-time image based on the current temperature of the multiple servers at the latest moment; The real-time image and the reference image are displayed, and the image regions of the real-time image and the corresponding image regions of the reference image represent the temperature of the same server.
6. A server temperature regulating device, characterized in that, include: The temperature acquisition module is configured to acquire the current temperature of multiple servers located in the same space. The adjustment amount determination module is configured to input the current temperature of each of the plurality of servers into a temperature regulation model to obtain the temperature regulation amount of each of the plurality of servers. The temperature regulation model stores the temperature influence coefficients between the plurality of servers, the reference temperatures of each of the plurality of servers in a reference state, and the active temperature regulation range of each of the plurality of servers. The step of inputting the current temperature of each of the plurality of servers into the temperature regulation model to obtain the temperature regulation amount of each of the plurality of servers includes: Input the current temperature of each of the multiple servers into the temperature regulation model, calculate the temperature difference between the current temperature of each server and its own reference temperature, and obtain the temperature influence coefficient between the multiple servers; Based on the temperature difference between the servers and the temperature influence coefficient between the servers, and constrained by the active temperature adjustment range of each server, the temperature adjustment amount of each server and the temperature change amount caused by the temperature adjustment amount of other servers are calculated. The temperature regulation module is configured to adjust the current temperature of each of the plurality of servers according to their respective temperature regulation amounts, thereby obtaining the adjusted temperature of each of the plurality of servers. The adjusted temperature of a server is affected by its own temperature regulation amount and the temperature regulation amounts of other servers, and the difference between the adjusted temperature of the plurality of servers and the reference temperature of the plurality of servers is minimized.
7. An electronic device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the server temperature regulation method as described in any one of claims 1 to 5.
8. A non-volatile readable storage medium, wherein when instructions in the non-volatile readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a server temperature regulation method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Temperature control method and device for machine room, machine room, equipment and medium
CN113727588A
Inertia self-adaptive temperature control method and system
CN115167641A