A server firmware upgrade method
By building a server firmware temperature control model based on deep learning algorithms and dynamically adjusting the cooling strategy, the problem of server overheating in traditional methods is solved, the security and success rate of firmware upgrades are improved, and stable operation is ensured.
Patent Information
- Application Number
- CN202410881397.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-03
AI Technical Summary
The traditional server firmware upgrade method has flaws in temperature control management and cannot dynamically adjust the cooling strategy. As a result, the server may overheat during the upgrade process, affecting system stability and upgrade success rate.
Build a server firmware temperature control model based on deep learning algorithms to predict and adjust the server temperature in real time. By dynamically adjusting the fan speed and the flow and cycle frequency of the liquid cooling system, ensure that the server is maintained within a safe temperature range during the firmware upgrade process.
It effectively prevents overheating problems, improves the security and success rate of firmware upgrades, optimizes heat dissipation performance, and ensures stable operation of the server.
Smart Images

Figure CN118426567B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a server firmware upgrading method. Background Art
[0002] Firmware upgrade is an essential maintenance task in modern data centers and enterprise-level server environments. Firmware upgrade not only fixes known security vulnerabilities and software defects, but also improves server performance and stability. However, traditional server firmware upgrade methods have many problems, especially in large data centers, where the firmware upgrade process for hundreds or thousands of servers is time-consuming, inefficient, and prone to errors.
[0003] Traditional firmware upgrade methods have obvious defects in temperature control management. The heat load of the server changes significantly during the firmware upgrade process. If the heat dissipation strategy is not adjusted in time, it may cause the server to overheat, affecting system stability and upgrade success rate. Traditional methods lack the ability to dynamically adjust the heat dissipation strategy and cannot optimize the heat dissipation measures in real time according to the heat load changes during the upgrade process. Therefore, how to provide a server firmware upgrade method is a problem that technicians in this field urgently need to solve. Summary of the invention
[0004] One object of the present invention is to propose a server firmware upgrade method. The present invention constructs a server firmware temperature control model based on a deep learning algorithm to predict and adjust the temperature of the server in real time, thereby ensuring that the server is always maintained within a safe temperature range during the firmware upgrade process.
[0005] A server firmware upgrade method according to an embodiment of the present invention includes the following steps:
[0006] S1. Obtain real-time temperature data of the server during the firmware upgrade process;
[0007] S2. Analyze the heat load change of the real-time temperature data during the firmware upgrade process and generate a heat load change curve;
[0008] S3. Determine the current status of each heat dissipation component of the server according to the heat load change curve, including fan speed, heat sink layout and operating status of the liquid cooling circulation system;
[0009] S4. Build a server firmware temperature control model based on deep learning algorithm;
[0010] S5. Dynamically adjust the speed of the server fan through the server firmware temperature control model to optimize air flow and enhance heat dissipation;
[0011] S6. Control the flow rate and circulation frequency of the liquid cooling circulation system through the server firmware temperature control model to enhance the liquid cooling effect;
[0012] S7. Real-time monitoring of server temperature changes to ensure that the server always remains within the preset safe temperature range during the firmware upgrade process;
[0013] S8. When the temperature exceeds the preset safety range, the alarm mechanism is triggered and relevant data is recorded for subsequent analysis and improvement;
[0014] S9. After completing the firmware upgrade, restore the server cooling components to normal operating state and output a temperature change report of the upgrade process.
[0015] Optionally, S1 includes the following steps:
[0016] S11, obtaining real-time temperature data of the server during the firmware upgrade process through a temperature sensor network, where the temperature data is represented by T(t);
[0017] ;
[0018] Where T(t) represents the real-time temperature data of the server at time t, N represents the number of temperature sensors, Indicates the i-th sensor at time The recorded temperature values, represents the measurement time of the i-th sensor, represents the weight attenuation factor, which reflects the importance of time distance on temperature data;
[0019] S12, each temperature sensor at time The recorded temperature value is , calculate the real-time temperature data T(t) by the following formula;
[0020] ;
[0021] in, is the frequency factor;
[0022] S13, the temperature sensor network collects the temperature data of the server regularly, and the time interval is , the continuity of real-time temperature data is ensured by the following formula;
[0023] ;
[0024] in, is the time decay factor, represents the rate of temperature change at time t.
[0025] Optionally, S2 includes the following steps:
[0026] S21, storing the real-time temperature data T(t) obtained from the temperature sensor network in a database of the temperature control system;
[0027] S22. Calculate the temperature change rate based on historical temperature data and real-time temperature data using an improved weighted time series analysis method , improve the weighted time series analysis method to calculate the temperature change rate at each moment, and introduce the weight factor Reflects the relative importance of each sensor:
[0028] ;
[0029] Where T(t) is the temperature data at the current time t, N is the number of sensors, is the i-th sensor at time Temperature data, is the weight factor of the i-th sensor, which is determined by the historical data accuracy and current status of the sensor;
[0030] S23. The heat load Q(t) of the server during the firmware upgrade process is calculated by a nonlinear heat load model, and the heat load of the server is associated with the temperature change. The adaptability of the nonlinear heat load model to the actual situation is improved by correcting the nonlinear term and the frequency factor. The heat load Q(t) is expressed as:
[0031] ;
[0032] Where Q(t) represents the heat load of the server during the firmware upgrade process, m represents the mass of the server, c represents the specific heat capacity of the server material, and T(t) represents the temperature data at the current time t. Indicates the initial temperature, which is the temperature when the firmware upgrade starts. Represents the time decay factor, which is used to describe the decay characteristics of heat load over time. represents the exponential decay integral from time 0 to the current time t, which represents the cumulative effect of heat load over time. Represents the nonlinear correction factor of the heat load, which is used to adjust the nonlinear term of the heat load. Represents the frequency factor, which is used to describe the periodic changes of heat load;
[0033] S24, synthesizes the heat load at each time point, and models the influence of time through Gaussian decay and cosine function, introduces integral term to generate heat load change curve based on the cumulative effect of historical heat load ;
[0034] ;
[0035] in, For in time Recorded heat load, is the weight decay factor, is the weight factor of the integral term, is the time decay factor;
[0036] S25, smoothing the heat load variation curve to eliminate noise and abnormal values in the data;
[0037] S26. Use multiple regression analysis method to optimize the heat load change curve by combining ambient temperature and server operating load;
[0038] ;
[0039] in, is the regression coefficient of the ambient temperature related variables, is the variable related to the ambient temperature, is the regression coefficient of the server load related variables, Load-related variables for server operation, is the regression coefficient of the nonlinear term, for other relevant variables.
[0040] Optionally, S3 includes the following steps:
[0041] S31, based on the generated heat load change curve , obtain the current status of each heat dissipation component;
[0042] S32, determine the current speed of the fan , so that it matches the server's heat load Q(t):
[0043] ;
[0044] in, is the maximum speed of the fan, is the fan response factor;
[0045] S33. Determine the optimal layout of the heat sink , in order to maximize the heat dissipation efficiency, the layout optimization formula is:
[0046] ;
[0047] in, is the heat load attenuation factor, is the smoothing factor for heat sink layout changes, is the position of the i-th heat sink at time t;
[0048] S34, through the heat load change curve Controlling flow in liquid cooling circulation systems and cycle frequency , in order to enhance the liquid cooling effect, the specific control formula is:
[0049] ;
[0050] ;
[0051] in, is the maximum flow rate of the liquid cooling system, is the peak heat load, is the basic cycle frequency, is the frequency adjustment factor, is the adjustment frequency of the cycle frequency.
[0052] Optionally, S4 includes the following steps:
[0053] S41, collecting the temperature data T(t), heat load data Q(t) and related environmental variable data X(t) and server operation load data Y(t) of the server during the firmware upgrade process;
[0054] S42, dividing the collected data set into a training set and a validation set, and using the training set to train the deep learning model;
[0055] S43, constructing a server firmware temperature control model based on an improved deep learning algorithm, wherein the server firmware temperature control model structure includes an input layer, multiple improved hidden layers, and an output layer, wherein the input layer receives temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t);
[0056] S44. Improved hidden layer uses hybrid convolutional neural network, long short-term memory network and graph neural network to capture the dynamic and spatial characteristics of temperature and heat load changing over time:
[0057] ;
[0058] in, is the weight matrix of the kth convolution kernel, is the bias term of the kth convolution kernel, is the activation function;
[0059] The state update formula of the long short-term memory network unit is:
[0060] ;
[0061] ;
[0062] ;
[0063] ;
[0064] ;
[0065] ;
[0066] in, is the input gate, For the Gate of Forgetfulness, is the output gate, is the cell state, is the hidden state, , , , is the weight matrix, , , , is the bias term, The input data includes temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t);
[0067] The graph neural network layer is used to capture the dependencies between server components:
[0068] ;
[0069] in, is the node at time t, is the neighborhood of node v, is the weight matrix of the GNN layer, is the bias term;
[0070] S45. Introduce a multi-head attention mechanism after the hidden layer, weight the hidden state, and calculate the weighted output A(t):
[0071] ;
[0072] ;
[0073] ;
[0074] in, is the attention vector, is the attention weight matrix, is the attention bias term, is the attention weight, H is the number of attention heads;
[0075] S46. The output layer generates the predicted value of the server temperature , used to dynamically adjust the server's cooling strategy, the output formula is:
[0076] ;
[0077] in, is the output layer weight matrix, is the output layer bias term;
[0078] S47. Use the validation set to validate the trained server firmware temperature control model. Minimize the prediction error and optimize the performance of the server firmware temperature control model. The loss function is:
[0079] ;
[0080] Among them, N is the number of validation samples, is the true temperature value, To predict the temperature value;
[0081] S48. Apply the trained and verified server firmware temperature control model to the server temperature control system to achieve temperature prediction and dynamic regulation during the firmware upgrade process.
[0082] Optionally, S5 includes the following steps:
[0083] S51, temperature data predicted by the server firmware temperature control model , determine the fan speed that needs to be adjusted ;
[0084] S52, based on temperature prediction data and the current heat load Q(t), the target speed of the fan is calculated by the following formula :
[0085] ;
[0086] in, is the base speed of the fan, and is the adjustment coefficient, is the set target temperature;
[0087] S53, using PID control algorithm to adjust the fan speed in real time:
[0088] ;
[0089] in, is the temperature error, , and are proportional, integral and differential control parameters respectively;
[0090] S54, by adjusting the fan speed , optimize the air flow inside the server and improve heat dissipation efficiency.
[0091] Optionally, S6 includes the following steps:
[0092] S61. Temperature data predicted by the server firmware temperature control model and heat load data Q(t), determine the flow rate of the liquid cooling circulation system and cycle frequency ;
[0093] S62. Calculate the target flow rate of the liquid cooling circulation system :
[0094] ;
[0095] in, is the basic flow rate of the liquid cooling system, and is the flow regulation coefficient, is the set target temperature;
[0096] S63. Calculate the cycle frequency of the liquid cooling circulation system :
[0097] ;
[0098] in, is the basic cycle frequency, is the frequency adjustment factor, is the regulation frequency of the cycle frequency;
[0099] S64, Apply PID control algorithm to the flow of liquid cooling circulation system and cycle frequency Make real-time adjustments.
[0100] Optionally, the S7 includes the following steps:
[0101] S71. Obtain temperature data of various parts of the server in real time through the temperature sensor network and transmit the data to the server temperature control system;
[0102] S72. Calculate the real-time average temperature of each part of the server :
[0103] ;
[0104] Where N is the number of temperature sensors, is the temperature data of the i-th sensor at time t;
[0105] S73, real-time average temperature With preset safety temperature range , Compare to ensure that the temperature is within a safe range;
[0106] S74, when When the preset safe temperature range is exceeded, the alarm mechanism is triggered and relevant data is recorded. The alarm conditions are as follows:
[0107] or ;
[0108] S75: After the alarm is triggered, adjust the fan speed through the server temperature control system and the flow rate of the liquid cooling circulation system , lower or increase the server temperature;
[0109] S76. Use the feedback mechanism to adjust the control parameters of the server temperature control system in real time to optimize the temperature control effect and ensure that the server always remains within the preset safe temperature range during the firmware upgrade process;
[0110] S77. Generate a temperature monitoring report, including a temperature change curve, alarm records, and adjustment measures. The report is used to evaluate the temperature control effect during the firmware upgrade process.
[0111] The beneficial effects of the present invention are:
[0112] The present invention predicts and adjusts the temperature of the server in real time by constructing a server firmware temperature control model based on a deep learning algorithm, ensuring that the server always remains within a safe temperature range during the firmware upgrade process. The intelligent temperature control model effectively prevents overheating problems and improves the safety and success rate of the upgrade. The temperature control model dynamically adjusts the speed of the server fan and the flow and cycle frequency of the liquid cooling system to optimize the air flow and liquid cooling effects, enhance the overall heat dissipation performance, and ensure the stable operation of the server. The temperature changes of the server are monitored in real time through a temperature sensor network to ensure that the server always remains within a preset safe temperature range during the firmware upgrade process. When the temperature exceeds the safe range, the system can adjust the heat dissipation measures in time and trigger the alarm mechanism to ensure the normal operation of the server. BRIEF DESCRIPTION OF THE DRAWINGS
[0113] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0114] Figure 1 The present invention is a flowchart of a server firmware upgrade method. DETAILED DESCRIPTION
[0115] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0116] refer to Figure 1 , a server firmware upgrade method, comprising the following steps:
[0117] S1. Obtain real-time temperature data of the server during the firmware upgrade process;
[0118] S2. Analyze the heat load change of the real-time temperature data during the firmware upgrade process and generate a heat load change curve;
[0119] S3. Determine the current status of each heat dissipation component of the server according to the heat load change curve, including fan speed, heat sink layout and operating status of the liquid cooling circulation system;
[0120] S4. Build a server firmware temperature control model based on deep learning algorithm;
[0121] S5. Dynamically adjust the speed of the server fan through the server firmware temperature control model to optimize air flow and enhance heat dissipation;
[0122] S6. Control the flow rate and circulation frequency of the liquid cooling circulation system through the server firmware temperature control model to enhance the liquid cooling effect;
[0123] S7. Real-time monitoring of server temperature changes to ensure that the server always remains within the preset safe temperature range during the firmware upgrade process;
[0124] S8. When the temperature exceeds the preset safety range, the alarm mechanism is triggered and relevant data is recorded for subsequent analysis and improvement;
[0125] S9. After completing the firmware upgrade, restore the server cooling components to normal operating state and output a temperature change report of the upgrade process.
[0126] In this implementation, S1 includes the following steps:
[0127] S11, obtaining real-time temperature data of the server during the firmware upgrade process through a temperature sensor network, where the temperature data is represented by T(t);
[0128] ;
[0129] Where T(t) represents the real-time temperature data of the server at time t, N represents the number of temperature sensors, Indicates the i-th sensor at time The recorded temperature values, represents the measurement time of the i-th sensor, represents the weight attenuation factor, which reflects the importance of time distance on temperature data;
[0130] S12, each temperature sensor at time The recorded temperature value is , calculate the real-time temperature data T(t) by the following formula;
[0131] ;
[0132] in, is the frequency factor;
[0133] S13, the temperature sensor network collects the temperature data of the server regularly, and the time interval is , the continuity of real-time temperature data is ensured by the following formula;
[0134] ;
[0135] in, is the time decay factor, represents the rate of temperature change at time t.
[0136] In this implementation, S2 includes the following steps:
[0137] S21, storing the real-time temperature data T(t) obtained from the temperature sensor network in a database of the temperature control system;
[0138] S22. Calculate the temperature change rate based on historical temperature data and real-time temperature data using an improved weighted time series analysis method , improve the weighted time series analysis method to calculate the temperature change rate at each moment, and introduce the weight factor Reflects the relative importance of each sensor:
[0139] ;
[0140] Where T(t) is the temperature data at the current time t, N is the number of sensors, is the i-th sensor at time Temperature data, is the weight factor of the i-th sensor, which is determined by the historical data accuracy and current status of the sensor;
[0141] S23. The heat load Q(t) of the server during the firmware upgrade process is calculated by a nonlinear heat load model, and the heat load of the server is associated with the temperature change. The adaptability of the nonlinear heat load model to the actual situation is improved by correcting the nonlinear term and the frequency factor. The heat load Q(t) is expressed as:
[0142] ;
[0143] Where Q(t) represents the heat load of the server during the firmware upgrade process, m represents the mass of the server, c represents the specific heat capacity of the server material, and T(t) represents the temperature data at the current time t. Indicates the initial temperature, which is the temperature when the firmware upgrade starts. Represents the time decay factor, which is used to describe the decay characteristics of heat load over time. represents the exponential decay integral from time 0 to the current time t, which represents the cumulative effect of heat load over time. Represents the nonlinear correction factor of the heat load, which is used to adjust the nonlinear term of the heat load. Represents the frequency factor, which is used to describe the periodic changes of heat load;
[0144] S24, synthesizes the heat load at each time point, and models the influence of time through Gaussian decay and cosine function, introduces integral term to generate heat load change curve based on the cumulative effect of historical heat load ;
[0145] ;
[0146] in, For in time Recorded heat load, is the weight decay factor, is the weight factor of the integral term, is the time decay factor;
[0147] S25, smoothing the heat load variation curve to eliminate noise and abnormal values in the data;
[0148] S26. Use multiple regression analysis method to optimize the heat load change curve by combining ambient temperature and server operating load;
[0149] ;
[0150] in, is the regression coefficient of the ambient temperature related variables, is the variable related to the ambient temperature, is the regression coefficient of the server load related variables, Load-related variables for server operation, is the regression coefficient of the nonlinear term, for other relevant variables.
[0151] In this implementation, S3 includes the following steps:
[0152] S31, based on the generated heat load change curve , obtain the current status of each heat dissipation component;
[0153] S32, determine the current speed of the fan , so that it matches the server's heat load Q(t):
[0154] ;
[0155] in, is the maximum speed of the fan, is the fan response factor;
[0156] S33. Determine the optimal layout of the heat sink , in order to maximize the heat dissipation efficiency, the layout optimization formula is:
[0157] ;
[0158] in, is the heat load attenuation factor, is the smoothing factor for heat sink layout changes, is the position of the i-th heat sink at time t;
[0159] S34, through the heat load change curve Controlling flow in liquid cooling circulation systems and cycle frequency , in order to enhance the liquid cooling effect, the specific control formula is:
[0160] ;
[0161] ;
[0162] in, is the maximum flow rate of the liquid cooling system, is the peak heat load, is the basic cycle frequency, is the frequency adjustment factor, is the adjustment frequency of the cycle frequency.
[0163] In this implementation, S4 includes the following steps:
[0164] S41, collecting the temperature data T(t), heat load data Q(t) and related environmental variable data X(t) and server operation load data Y(t) of the server during the firmware upgrade process;
[0165] S42, dividing the collected data set into a training set and a validation set, and using the training set to train the deep learning model;
[0166] S43, constructing a server firmware temperature control model based on an improved deep learning algorithm, wherein the server firmware temperature control model structure includes an input layer, multiple improved hidden layers, and an output layer, wherein the input layer receives temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t);
[0167] S44. Improved hidden layer uses hybrid convolutional neural network, long short-term memory network and graph neural network to capture the dynamic and spatial characteristics of temperature and heat load changing over time:
[0168] ;
[0169] in, is the weight matrix of the kth convolution kernel, is the bias term of the kth convolution kernel, is the activation function;
[0170] The state update formula of the long short-term memory network unit is:
[0171] ;
[0172] ;
[0173] ;
[0174] ;
[0175] ;
[0176] ;
[0177] in, is the input gate, For the Gate of Forgetfulness, is the output gate, is the cell state, is the hidden state, , , , is the weight matrix, , , , is the bias term, The input data includes temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t);
[0178] The graph neural network layer is used to capture the dependencies between server components:
[0179] ;
[0180] in, is the node at time t, is the neighborhood of node v, is the weight matrix of the GNN layer, is the bias term;
[0181] S45. Introduce a multi-head attention mechanism after the hidden layer, weight the hidden state, and calculate the weighted output A(t):
[0182] ;
[0183] ;
[0184] ;
[0185] in, is the attention vector, is the attention weight matrix, is the attention bias term, is the attention weight, H is the number of attention heads;
[0186] S46. The output layer generates the predicted value of the server temperature , used to dynamically adjust the server's cooling strategy, the output formula is:
[0187] ;
[0188] in, is the output layer weight matrix, is the output layer bias term;
[0189] S47. Use the validation set to validate the trained server firmware temperature control model. Minimize the prediction error and optimize the performance of the server firmware temperature control model. The loss function is:
[0190] ;
[0191] Among them, N is the number of validation samples, is the true temperature value, To predict the temperature value;
[0192] S48. Apply the trained and verified server firmware temperature control model to the server temperature control system to achieve temperature prediction and dynamic regulation during the firmware upgrade process.
[0193] In this implementation, S5 includes the following steps:
[0194] S51, temperature data predicted by the server firmware temperature control model , determine the fan speed that needs to be adjusted ;
[0195] S52, based on temperature prediction data and the current heat load Q(t), the target speed of the fan is calculated by the following formula :
[0196] ;
[0197] in, is the base speed of the fan, and is the adjustment coefficient, is the set target temperature;
[0198] S53, using PID control algorithm to adjust the fan speed in real time:
[0199] ;
[0200] in, is the temperature error, , and are proportional, integral and differential control parameters respectively;
[0201] S54, by adjusting the fan speed , optimize the air flow inside the server and improve heat dissipation efficiency.
[0202] In this implementation, S6 includes the following steps:
[0203] S61. Temperature data predicted by the server firmware temperature control model and heat load data Q(t), determine the flow rate of the liquid cooling circulation system and cycle frequency ;
[0204] S62. Calculate the target flow rate of the liquid cooling circulation system :
[0205] ;
[0206] in, is the basic flow rate of the liquid cooling system, and is the flow regulation coefficient, is the set target temperature;
[0207] S63. Calculate the cycle frequency of the liquid cooling circulation system :
[0208] ;
[0209] in, is the basic cycle frequency, is the frequency adjustment factor, is the regulation frequency of the cycle frequency;
[0210] S64, Apply PID control algorithm to the flow of liquid cooling circulation system and cycle frequency Make real-time adjustments.
[0211] In this implementation, S7 includes the following steps:
[0212] S71. Obtain temperature data of various parts of the server in real time through the temperature sensor network and transmit the data to the server temperature control system;
[0213] S72. Calculate the real-time average temperature of each part of the server :
[0214] ;
[0215] Where N is the number of temperature sensors, is the temperature data of the i-th sensor at time t;
[0216] S73, real-time average temperature With preset safety temperature range , Compare to ensure that the temperature is within a safe range;
[0217] S74, when When the preset safe temperature range is exceeded, the alarm mechanism is triggered and relevant data is recorded. The alarm conditions are as follows:
[0218] or ;
[0219] S75: After the alarm is triggered, adjust the fan speed through the server temperature control system and the flow rate of the liquid cooling circulation system , lower or increase the server temperature;
[0220] S76. Use the feedback mechanism to adjust the control parameters of the server temperature control system in real time to optimize the temperature control effect and ensure that the server always remains within the preset safe temperature range during the firmware upgrade process;
[0221] S77. Generate a temperature monitoring report, including a temperature change curve, alarm records, and adjustment measures. The report is used to evaluate the temperature control effect during the firmware upgrade process.
[0222] Based on the defects of the above-mentioned prior art, this embodiment proposes an innovative server firmware upgrade method, which dynamically adjusts the server's heat dissipation strategy during the upgrade process, optimizes air flow, and enhances liquid cooling effects, ensuring that the server always maintains a safe temperature range during the upgrade process. The method includes obtaining real-time temperature data, analyzing heat load changes, determining the status of heat dissipation components, building a temperature control model based on a deep learning algorithm, dynamically adjusting fan speed and liquid cooling system, and real-time monitoring of temperature changes, which can effectively improve the efficiency, safety, and reliability of firmware upgrades.
[0223] Specifically, the real-time temperature data of the server during the firmware upgrade process is obtained through the temperature sensor network, and the heat load changes of these data are analyzed to generate a heat load change curve. According to the heat load change curve, the current status of each heat dissipation component of the server is determined, including the fan speed, heat sink layout, and the operating status of the liquid cooling circulation system. A server firmware temperature control model based on a deep learning algorithm is constructed, and the fan speed and the flow and cycle frequency of the liquid cooling system are dynamically adjusted using the temperature data predicted by the model to optimize the heat dissipation effect.
[0224] In terms of real-time monitoring, the temperature data is obtained in real time through the temperature sensor network, the average temperature is calculated and compared with the preset safe temperature range to ensure that the temperature is within the safe range. When the temperature exceeds the safe range, the alarm mechanism is triggered and the heat dissipation measures are adjusted to ensure the normal operation of the server.
[0225] Example 1: In a data center of a large enterprise, there are 5,000 servers responsible for supporting the enterprise's key businesses. The data center's operations team performs server firmware upgrades every quarter to ensure that the servers can obtain the latest security patches and functional updates. However, traditional firmware upgrade methods are time-consuming, inefficient, and prone to various problems. In order to optimize the upgrade process, the enterprise decided to adopt the server firmware upgrade method of the present invention to improve upgrade efficiency, security, and reliability.
[0226] Specific server firmware upgrade process:
[0227] 1. When the server firmware upgrade starts, the system first obtains the real-time temperature data of the server through the temperature sensor network and stores it in the database of the temperature control system.
[0228] 2. Using the improved time series analysis method, the temperature change rate at each moment is calculated, and the weight factor is introduced to reflect the relative importance of each sensor.
[0229] 3. Calculate the heat load of the server during the firmware upgrade process through a nonlinear heat load model, generate a heat load change curve, and smooth and optimize it.
[0230] 4. According to the heat load change curve, determine the current status of each heat dissipation component of the server, including fan speed, heat sink layout and operating status of the liquid cooling circulation system.
[0231] 5. Build a server firmware temperature control model based on deep learning algorithm. The model includes hybrid convolutional neural network, long short-term memory network and graph neural network to capture the dynamic and spatial characteristics of temperature and heat load changing over time.
[0232] 6. Dynamically adjust the speed of the server fan through the temperature control model to optimize air flow and enhance heat dissipation.
[0233] 7. Control the flow rate and circulation frequency of the liquid cooling circulation system through the temperature control model to enhance the liquid cooling effect.
[0234] 8. Monitor the temperature changes of the server in real time to ensure that the server always maintains within the preset safe temperature range during the firmware upgrade process.
[0235] 9. When the temperature exceeds the preset safety range, the alarm mechanism is triggered and the relevant data is recorded, and necessary adjustments are made.
[0236] 10. After the firmware upgrade is completed, the server cooling components are restored to normal operating status and a temperature change report is generated for subsequent analysis and system optimization.
[0237] Concrete data proves our beneficial effects;
[0238] Time and Place:
[0239] This embodiment is carried out in an enterprise data center located in a large enterprise from May 1, 2024 to May 3, 2024, and is compared with the traditional method. The comparison data is shown in Table 1 below:
[0240] Table 1 Comparison data between this method and traditional method;
[0241] ;
[0242] From the data in Table 1 above, it can be seen that the method of the present invention is significantly superior to the traditional method in various indicators. Specifically,
[0243] 1. Upgrade time: The method of the present invention significantly shortens the time required for firmware upgrade, from 48 hours in traditional methods to 24 hours, thereby improving upgrade efficiency.
[0244] 2. Average temperature: During the entire upgrade process, the method of the present invention keeps the average temperature of the server at 55°C, which is significantly lower than 65°C of the traditional method, effectively avoiding the overheating problem.
[0245] 3. Upgrade success rate: Through intelligent temperature control and automated management, the method of the present invention increases the upgrade success rate to 99%, much higher than the 92% of the traditional method.
[0246] 4. Number of manual interventions required: Since the whole process is automated, the method of the present invention only requires 2 manual interventions, while the traditional method requires 25 manual interventions, which greatly reduces the complexity and error rate of manual operations.
[0247] 5. Average recovery time: When a problem occurs, the average recovery time of the method of the present invention is only 5 minutes, while the traditional method takes 60 minutes, which improves the reliability and emergency handling capabilities of the system.
[0248] 6. Number of server overheating times: By dynamically adjusting the heat dissipation strategy, the method of the present invention reduces the number of server overheating times from 10 times to 1 time, significantly improving the stability of the system.
[0249] In summary, through the above-mentioned embodiment 1, the method of the present invention effectively solves the problems of low efficiency, poor safety, insufficient reliability and poor temperature control management existing in the prior art, and significantly improves the overall performance of server firmware upgrade.
[0250] The present invention predicts and adjusts the temperature of the server in real time by constructing a server firmware temperature control model based on a deep learning algorithm, ensuring that the server always remains within a safe temperature range during the firmware upgrade process. The intelligent temperature control model effectively prevents overheating problems and improves the safety and success rate of the upgrade. The temperature control model dynamically adjusts the speed of the server fan and the flow and cycle frequency of the liquid cooling system to optimize the air flow and liquid cooling effects, enhance the overall heat dissipation performance, and ensure the stable operation of the server. The temperature changes of the server are monitored in real time through a temperature sensor network to ensure that the server always remains within a preset safe temperature range during the firmware upgrade process. When the temperature exceeds the safe range, the system can adjust the heat dissipation measures in time and trigger the alarm mechanism to ensure the normal operation of the server.
[0251] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A server firmware upgrade method, characterized in that: The steps include: S1. Obtain real-time temperature data of the server during the firmware upgrade process; S2. Analyze the heat load change of the real-time temperature data during the firmware upgrade process and generate a heat load change curve; S3. Determine the current status of each heat dissipation component of the server according to the heat load change curve, including fan speed, heat sink layout and operating status of the liquid cooling circulation system; S4. Build a server firmware temperature control model based on deep learning algorithm; S4 includes the following steps: S41, collecting the temperature data T(t), heat load data Q(t) and related environmental variable data X(t) and server operation load data Y(t) of the server during the firmware upgrade process; S42, dividing the collected data set into a training set and a validation set, and using the training set to train the deep learning model; S43, constructing a server firmware temperature control model based on an improved deep learning algorithm, wherein the server firmware temperature control model structure includes an input layer, multiple improved hidden layers, and an output layer, wherein the input layer receives temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t); S44. Improved hidden layer uses hybrid convolutional neural network, long short-term memory network and graph neural network to capture the dynamic and spatial characteristics of temperature and heat load changing over time: ; in, is the weight matrix of the kth convolution kernel, is the bias term of the kth convolution kernel, is the activation function; The state update formula of the long short-term memory network unit is: ; ; ; ; ; ; in, is the input gate, For the Gate of Forgetfulness, is the output gate, is the cell state, is the hidden state, , , , is the weight matrix, , , , is the bias term, The input data includes temperature data T(t), heat load data Q(t), and related environmental variable data X(t) and server operation load data Y(t); The graph neural network layer is used to capture the dependencies between server components: ; in, is the node at time t, is the neighborhood of node v, is the weight matrix of the GNN layer, is the bias term; S45. Introduce a multi-head attention mechanism after the hidden layer, weight the hidden state, and calculate the weighted output A(t): ; ; ; in, is the attention vector, is the attention weight matrix, is the attention bias term, is the attention weight, H is the number of attention heads; S46. The output layer generates the predicted value of the server temperature , used to dynamically adjust the server's cooling strategy, the output formula is: ; in, is the output layer weight matrix, is the output layer bias term; S47. Use the validation set to validate the trained server firmware temperature control model. Minimize the prediction error and optimize the performance of the server firmware temperature control model. The loss function is: ; Among them, N is the number of validation samples, is the true temperature value, To predict the temperature value; S48, applying the trained and verified server firmware temperature control model to the server temperature control system to achieve temperature prediction and dynamic regulation during the firmware upgrade process; S5. Dynamically adjust the speed of the server fan through the server firmware temperature control model to optimize air flow and enhance heat dissipation; S6. Control the flow rate and circulation frequency of the liquid cooling circulation system through the server firmware temperature control model to enhance the liquid cooling effect; S7. Real-time monitoring of server temperature changes to ensure that the server always remains within the preset safe temperature range during the firmware upgrade process; S8. When the temperature exceeds the preset safety range, the alarm mechanism is triggered and relevant data is recorded for subsequent analysis and improvement; S9. After completing the firmware upgrade, restore the server cooling components to normal operating state and output a temperature change report of the upgrade process.
2. A server firmware upgrade method according to claim 1, characterized in that: The S1 comprises the following steps: S11, obtaining real-time temperature data of the server during the firmware upgrade process through a temperature sensor network, where the temperature data is represented by T(t); ; Where T(t) represents the real-time temperature data of the server at time t, N represents the number of temperature sensors, Indicates the i-th sensor at time The recorded temperature values, represents the measurement time of the i-th sensor, represents the weight attenuation factor, which reflects the importance of time distance on temperature data; S12, each temperature sensor at time The recorded temperature value is , calculate the real-time temperature data T(t) by the following formula; ; in, is the regulation frequency of the cycle frequency; S13, the temperature sensor network collects the temperature data of the server regularly, and the time interval is , the continuity of real-time temperature data is ensured by the following formula; ; in, is the time decay factor.
3. A server firmware upgrade method according to claim 2, characterized in that: The S2 comprises the following steps: S21, storing the real-time temperature data T(t) obtained from the temperature sensor network in a database of the temperature control system; S22. Calculate the temperature change rate based on historical temperature data and real-time temperature data using an improved weighted time series analysis method , improve the weighted time series analysis method to calculate the temperature change rate at each moment, and introduce the weight factor Reflects the relative importance of each sensor: ; Where T(t) is the temperature data at the current time t, N is the number of sensors, is the i-th sensor at time Temperature data, is the weight factor of the i-th sensor, which is determined by the historical data accuracy and current status of the sensor; S23. The heat load Q(t) of the server during the firmware upgrade process is calculated by a nonlinear heat load model, and the heat load of the server is associated with the temperature change. The adaptability of the nonlinear heat load model to the actual situation is improved by correcting the nonlinear term and the frequency factor. The heat load Q(t) is expressed as: ; Where Q(t) represents the heat load of the server during the firmware upgrade process, m represents the mass of the server, c represents the specific heat capacity of the server material, and T(t) represents the temperature data at the current time t. Indicates the initial temperature, which is the temperature when the firmware upgrade starts. Represents the time decay factor, which is used to describe the decay characteristics of heat load over time. represents the exponential decay integral from time 0 to the current time t, which represents the cumulative effect of heat load over time. represents the frequency adjustment factor, which is used to adjust the nonlinear term of the heat load. The regulation frequency represents the cycle frequency, which is used to describe the periodic changes of the heat load; S24, synthesizes the heat load at each time point, and models the influence of time through Gaussian decay and cosine function, introduces integral term to generate heat load change curve based on the cumulative effect of historical heat load ; ; in, For in time Recorded heat load, is the weight decay factor, is the weight factor of the integral term, is the time decay factor; S25, smoothing the heat load variation curve to eliminate noise and abnormal values in the data; S26. Use multiple regression analysis method to optimize the heat load change curve by combining ambient temperature and server operating load; ; in, is the regression coefficient of the ambient temperature related variables, is the variable related to the ambient temperature, is the regression coefficient of the server load related variables, Load-related variables for server operation, is the regression coefficient of the nonlinear term, for other relevant variables.
4. A server firmware upgrade method according to claim 3, characterized in that: The S3 comprises the following steps: S31, based on the generated heat load change curve , obtain the current status of each heat dissipation component; S32, determine the current speed of the fan , so that it matches the server's heat load Q(t): ; in, is the maximum speed of the fan, is the fan response factor; S33. Determine the optimal layout of the heat sink , in order to maximize the heat dissipation efficiency, the layout optimization formula is: ; in, is the heat load attenuation factor, is the smoothing factor for heat sink layout changes, is the position of the i-th heat sink at time t; S34, through the heat load change curve Controlling flow in liquid cooling circulation systems and cycle frequency , in order to enhance the liquid cooling effect, the specific control formula is: ; ; in, is the maximum flow rate of the liquid cooling system, is the peak heat load, is the basic cycle frequency, is the frequency adjustment factor, is the adjustment frequency of the cycle frequency.
5. A server firmware upgrade method according to claim 4, characterized in that: The S5 comprises the following steps: S51, temperature data predicted by the server firmware temperature control model , determine the fan speed that needs to be adjusted ; S52, based on temperature prediction data and the current heat load Q(t), the target speed of the fan is calculated by the following formula : ; in, is the base speed of the fan, and is the adjustment coefficient, is the set target temperature; S53, using PID control algorithm to adjust the fan speed in real time: ; in, is the temperature error, , and are proportional, integral and differential control parameters respectively; S54, by adjusting the fan speed , optimize the air flow inside the server and improve heat dissipation efficiency.
6. A server firmware upgrade method according to claim 5, characterized in that: The S6 comprises the following steps: S61. Temperature data predicted by the server firmware temperature control model and heat load data Q(t), determine the flow rate of the liquid cooling circulation system and cycle frequency ; S62. Calculate the flow rate of the liquid cooling circulation system : ; in, is the basic flow rate of the liquid cooling system, and is the flow regulation coefficient, is the set target temperature; S63. Calculate the cycle frequency of the liquid cooling circulation system : ; in, is the basic cycle frequency, is the first frequency adjustment factor, is the regulation frequency of the cycle frequency; S64, Apply PID control algorithm to the flow of liquid cooling circulation system and cycle frequency Make real-time adjustments.
7. A server firmware upgrade method according to claim 6, characterized in that: The S7 comprises the following steps: S71. Obtain temperature data of various parts of the server in real time through the temperature sensor network and transmit the data to the server temperature control system; S72. Calculate the real-time average temperature of each part of the server : ; Where N is the number of temperature sensors, is the temperature data of the i-th sensor at time t; S73, real-time average temperature With preset safety temperature range , Compare to ensure that the temperature is within a safe range; S74, when When the preset safe temperature range is exceeded, the alarm mechanism is triggered and relevant data is recorded. The alarm conditions are as follows: ; S75: After the alarm is triggered, adjust the fan speed through the server temperature control system and the flow rate of the liquid cooling circulation system , lower or increase the server temperature; S76. Use the feedback mechanism to adjust the control parameters of the server temperature control system in real time to optimize the temperature control effect and ensure that the server always remains within the preset safe temperature range during the firmware upgrade process; S77. Generate a temperature monitoring report, including a temperature change curve, alarm records, and adjustment measures. The report is used to evaluate the temperature control effect during the firmware upgrade process.
