Server maintenance method and device, equipment and storage medium

By introducing detection modules and controllers into the server, the fan speed is adjusted in real time to cope with the high temperature problems during hot-swap maintenance, the problem of downtime caused by insufficient heat dissipation of the server is solved and the stability of the server is improved.

CN119493711APending Publication Date: 2025-02-21INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411574815.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In hot-swap maintenance scenarios, the server's cooling function is affected, resulting in the server's downtime due to high temperatures, affecting business stability.

Method used

By introducing a detection module and a controller in the server, the temperature detection frequency is increased when the detection chassis cover is opened, and the fan speed is adjusted in real time according to the temperature of the target component to improve the heat dissipation effect.

Benefits of technology

It effectively prevents server downtime caused by high temperatures and improves server stability in hot-swap scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493711A_ABST
    Figure CN119493711A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of servers, and discloses a server maintenance method, device and equipment and a storage medium, a server comprises a case cover, a fan and a detection module, and when the case cover is opened, the detection module is triggered to send a case cover opening signal; the method comprises the steps that in response to a received case cover opening signal sent by a detection module, the temperatures of at least part of target components in the server are detected according to a first detection frequency, the first component temperatures of the target components are obtained, and when the first detection frequency is higher than a second detection frequency and the second detection frequency is that a case cover is closed, the first component temperatures of the target components are detected; a frequency for detecting the temperature of the target component; a first fan rotating speed matched with the first component temperature is determined under the condition that the cooling target is achieved; and if the first fan rotating speed does not exceed the maximum rotating speed supported by the fan, the rotating speed of the fan is adjusted to be the first fan rotating speed. The stability of the server can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of servers, and in particular to a server maintenance method, apparatus, device and storage medium. Background Art

[0002] With the development of server technology, most of the components in the server support hot-swap maintenance. The so-called hot-swap maintenance means that the components can be plugged and unplugged in the server without turning off the server power. In this way, when adding, replacing, or deleting components in the server, the server can be in normal operation, thus reducing the impact on the business.

[0003] However, in some technologies, when hot-swapped maintenance is performed on components, the heat dissipation function of the server will be affected, which will cause the server to frequently crash due to high temperature, thus affecting the business. Therefore, the stability of the server in this hot-swapped maintenance scenario needs to be improved. Summary of the invention

[0004] In view of this, the present disclosure provides a server maintenance method, a server maintenance device, an electronic device, and a computer-readable storage medium, which can improve the stability of the server in a hot-swap scenario.

[0005] In a first aspect, the present disclosure provides a server maintenance method, wherein the server includes a chassis cover, a fan, and a detection module, and when the chassis cover is opened, the detection module is triggered to send a chassis cover opening signal; the method includes:

[0006] In response to receiving the chassis cover opening signal sent by the detection module, detecting the temperature of at least part of the target components in the server according to a first detection frequency to obtain a first component temperature of the target component, wherein the first detection frequency is higher than a second detection frequency, and the second detection frequency is a frequency for detecting the temperature of the target component when the chassis cover is closed;

[0007] determining a first fan speed that matches the temperature of the first component when a cooling target is achieved;

[0008] If the first fan speed does not exceed the maximum speed supported by the fan, the fan speed is adjusted to the first fan speed.

[0009] In a second aspect, the present disclosure provides a server, the server comprising:

[0010] fan;

[0011] Chassis cover;

[0012] A detection module, used for sending a chassis cover opening signal when the chassis cover is opened, and sending a chassis cover closing signal when the chassis cover is closed;

[0013] The controller is used to execute the server maintenance method as described above based on the chassis cover opening signal or the chassis cover closing signal sent by the detection module.

[0014] In a third aspect, the present disclosure provides a server maintenance device, wherein the server comprises a chassis cover, a fan and a detection module, wherein the detection module is used to detect the switch state of the chassis cover; the device comprises:

[0015] a temperature detection module, configured to detect the temperature of at least part of the target components in the server according to a first detection frequency in response to receiving the chassis cover opening signal sent by the detection module, so as to obtain a first component temperature of the target component, wherein the first detection frequency is higher than a second detection frequency, and the second detection frequency is a frequency for detecting the temperature of the target component when the chassis cover is closed;

[0016] a fan speed determination module, configured to determine a first fan speed that matches the temperature of the first component when a cooling target is achieved;

[0017] A fan speed adjustment module is used to adjust the speed of the fan to the first fan speed if the speed of the first fan does not exceed the maximum speed supported by the fan.

[0018] In a fourth aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the above method by executing the computer instructions.

[0019] In a fifth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the above method.

[0020] In the technical solutions of some embodiments of the present disclosure, since the temperature inside the server will rise faster when the chassis cover is opened in a hot-swap scenario, after receiving the chassis cover opening signal sent by the detection module, the temperature of the target component in the server is detected at a first detection frequency that is higher than the second detection frequency, so that the temperature change trend of the target component can be discovered in time, and then based on the first component temperature of the target component, the fan speed can be adjusted in time to a first fan speed that matches the first component temperature, so as to cool the target component in time and prevent problems such as server downtime caused by excessively high temperature of the target component. Therefore, the server stability in the hot-swap scenario can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1 is a structural diagram of a server provided by an embodiment of the present disclosure;

[0023] Figure 2 is a flow chart of a server maintenance method provided by an embodiment of the present disclosure;

[0024] Figure 3 is a schematic diagram of module interaction within a server provided by an embodiment of the present disclosure;

[0025] Figure 4 is a module schematic diagram of a server maintenance device provided by some embodiments of the present disclosure;

[0026] Figure 5 It is a schematic diagram of the structure of an electronic device provided by some embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0028] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0029] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "some embodiments" or "the embodiment" should be understood as "at least some embodiments". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0030] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0032] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0034] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0036] When hot-swappable maintenance is performed on components in a server, the server chassis cover is usually opened. Currently, in some servers, after the chassis cover is opened, the chassis cover will damage the server's heat dissipation channel (for example, the chassis cover will block the heat dissipation holes), causing the temperature of the components in the server to rise at an extremely fast rate, and eventually causing the server to shut down due to the excessive temperature of the components, greatly reducing the server stability in the hot-swappable maintenance scenario.

[0037] In view of this, the present disclosure provides a server and a server maintenance method, which can improve the stability of the server in a hot-swap maintenance scenario. Figure 1 , which is a structural diagram of a server 100 provided in one embodiment of the present disclosure. Figure 1 In the example, the server 100 includes a fan 11, a chassis cover 12, a detection module 13, and a controller 14. When the chassis cover 12 is opened, the detection module 13 can be triggered to send a chassis cover opening signal, and when the chassis cover 12 is closed, the detection module 13 can be triggered to send a chassis cover closing signal. The chassis cover opening signal and the chassis cover closing signal can be different signals, for example, the chassis cover opening signal can be a high level, and the chassis cover closing signal can be a low level.

[0038] Specifically, in the present embodiment, the detection module 13 may include a detection switch (not shown) and a detection circuit (not shown). When the chassis cover 12 is opened, the detection switch interacts with the chassis cover 12 (for example, the detection switch is pressed down by the chassis cover 12), and the detection switch can change from a first switch state to a second switch state, and turn on the detection circuit, thereby triggering the detection module 13 to send a chassis cover opening signal; when the chassis cover 12 is closed, the interaction between the detection switch and the chassis cover 12 ends, the detection switch returns to the first switch state from the second switch state, and disconnects the detection circuit, thereby triggering the detection module 13 to send a chassis cover closing signal.

[0039] It should be noted that there are many specific implementations of the detection module 13. For example, a sensing device may be installed in the detection module 13. The detection module 13 may determine whether the chassis cover 12 is opened or closed by sensing the distance to the chassis cover 12 through the sensing device, and then may send a chassis cover opening signal or a chassis cover closing signal that matches the state of the chassis cover 12. The present disclosure does not limit the specific implementation of the detection module 13.

[0040] The controller 14 can be communicatively connected to the detection module 13 and the fan 11 respectively, and is used to execute the server maintenance method of the present disclosure according to the chassis cover opening signal or the chassis cover closing signal sent by the detection module 13 to adjust the rotation speed of the fan 11.

[0041] For details, please refer to Figure 2, which is a flow chart of a server maintenance method provided by an embodiment of the present disclosure. Figure 2 In the server maintenance method, the server maintenance method includes the following steps:

[0042] Step S21, in response to receiving the chassis cover opening signal sent by the detection module 13, the temperature of at least part of the target components in the server 100 is detected according to the first detection frequency to obtain the first component temperature of the target component, the first detection frequency is higher than the second detection frequency, and the second detection frequency is the frequency of detecting the temperature of the target component when the chassis cover 12 is closed.

[0043] Among them, the target component can be all the components in the server 100, or it can be some of the more important components in the server 100 (such as the central processing unit). The target component can have a corresponding maximum operating temperature. After the temperature of the target component reaches the maximum operating temperature allowed by the target component, the target component may fail, which in turn causes problems such as downtime in the server 100. Therefore, the purpose of detecting the temperature of the target component is to monitor the changing trend of the temperature of the target component, and to control the rotation speed of the fan 11 accordingly according to the monitored temperature change trend. For example, when the temperature of the target component is monitored to be on an upward trend, the fan 11 can be controlled to increase the rotation speed to cool the target component and prevent the temperature of the target component from exceeding the maximum operating temperature allowed. For another example, when the temperature of the target component is monitored to be on a downward trend, the fan 11 can be controlled to reduce the rotation speed to reduce the power consumption of the fan 11.

[0044] Further, as described above, when the chassis cover 12 is in the closed state, since the server 100 can dissipate heat normally through the heat dissipation channel, the temperature inside the server 100 can rise slowly, and thus the temperature of each target component can rise slowly. However, after the chassis cover 12 is in the open state, since the heat dissipation channel is blocked, the heat generated by the server 100 during operation cannot be dissipated, and therefore the temperature inside the server 100 can rise quickly, and thus the temperature of each target component can also rise quickly.

[0045] Based on this, when the chassis cover 12 is in the open and closed states, two different detection frequencies can be used to detect the temperature of the target component. In this way, on the one hand, when the chassis cover 12 is in the open state, the temperature change trend of the target component can be found in time, and then the rotation speed of the fan 11 can be adjusted in time (such as increasing the rotation speed of the fan 11) to prevent the problem of server downtime due to the excessive temperature of the target component. On the other hand, when the chassis cover 12 is in the closed state, the waste of communication resources and invalid temperature detection can be reduced. For example, since the temperature of the target component changes slowly when the chassis cover 12 is in the closed state, if the temperature of the target component is detected with a higher detection frequency, the temperatures detected several times adjacent to each other may be the same, which causes invalid temperature detection.

[0046] In this embodiment, the target component may be provided with temperature sensors. The controller 14 may be connected to these temperature sensors. In response to receiving the chassis cover opening signal sent by the detection module 13, the controller 14 may detect the first component temperature of the target component through these temperature sensors according to the first detection frequency.

[0047] Step S22, determining a first fan speed that matches the temperature of the first component when the temperature reduction target is achieved.

[0048] Specifically, a correspondence between temperature and fan speed may be pre-established in the controller 14. The correspondence may represent the fan speed required for each temperature of the target component when the temperature reduction target is achieved. For example, when the temperature of the target component is 50 degrees Celsius, the corresponding fan speed may be 200 rpm, indicating that when the fan rotates at 200 rpm, the temperature of the target component may be reduced to below 50 degrees Celsius.

[0049] Based on the first component temperature acquired in step S21 and the correspondence between the temperature and the fan speed established in advance in the controller 14 , the first fan speed may be determined.

[0050] Step S23: if the first fan speed does not exceed the maximum speed supported by the fan 11, the speed of the fan 11 is adjusted to the first fan speed.

[0051] Specifically, the first fan speed may be a speed higher than the current speed of the fan 11. After the speed of the fan 11 is adjusted to the first fan speed, the heat dissipation effect inside the server 100 can be increased, thereby lowering the temperature of the target component, and preventing the server 100 from shutting down due to the excessive temperature of the target component.

[0052] To sum up, in the technical solutions of some embodiments of the present disclosure, since in a hot-swap scenario, when the chassis cover 12 is opened, the temperature inside the server 100 will rise relatively quickly, therefore, after receiving the chassis cover opening signal sent by the detection module 13, the temperature of the target component in the server 100 is detected according to the first detection frequency that is higher than the second detection frequency, so that the temperature change trend of the target component can be discovered in time, and then based on the first component temperature of the target component, the rotation speed of the fan 11 can be adjusted to the first fan speed that matches the first component temperature in time, so as to cool the target component in time, and prevent problems such as server downtime caused by excessively high temperature of the target component. Therefore, the server stability in the hot-swap scenario can be greatly improved.

[0053] In some embodiments, the operating mode of the target component may include a first operating mode and a second operating mode. The business data processing speed when the target component operates in the first operating mode may be higher than the business data processing speed when the target component operates in the second operating mode, and the power consumed by the target component when operating in the first operating mode may be higher than the power consumed by the target component when operating in the second operating mode. Corresponding to the above step S203, if the speed of the first fan exceeds the maximum speed supported by the fan 11, the method of the present disclosure may further include:

[0054] The rotation speed of the fan 11 is adjusted to the maximum rotation speed supported by the fan 11, and the target component is controlled to operate in the second operating mode.

[0055] Specifically, when the speed of the first fan exceeds the maximum speed supported by the fan 11, it means that the fan 11 can no longer meet the current heat dissipation demand of the server 100, that is, the temperature rise rate inside the server 100 is greater than the maximum temperature drop rate that the fan 11 can provide. In this case, the target component can be controlled to operate in the second operating mode. Since the power consumed by the target component when operating in the second operating mode is relatively small, the heat generated by the target component is also relatively small, so the temperature rise rate in the server 100 can be effectively reduced. Combined with the cooling of the fan 11 rotating at the maximum speed, the temperature inside the server 100 can be effectively controlled to prevent the problem of the temperature inside the server 100 rising too fast.

[0056] It should be noted that, in the above embodiment, after the target component is controlled to work in the second working mode, although its business data processing speed is reduced, the server 100 is still in a normal operating state, that is, there is no downtime or other problems.

[0057] In some embodiments, the controller 14 may also be connected to a management system. Specifically, the management system may include a management interface. Through the management interface, maintenance personnel may configure information such as maintenance policies and maintenance time periods of the server 100. The management system may send this information to the controller 14, and the controller 14 may manage the maintenance operations of the server 100 based on this information, thereby improving the safety of the server maintenance operations.

[0058] Specifically, in some embodiments, before receiving the chassis cover opening signal, the method of the present disclosure may further include:

[0059] Receiving authentication information sent by the management system, the authentication information including at least one of a target maintenance time period, target maintenance personnel information, and first maintenance verification information;

[0060] After receiving the chassis cover opening signal, the method of the present disclosure may further include:

[0061] If the authentication information includes the target maintenance time period, it is determined whether the time point when the chassis cover opening signal is received is within the target maintenance time period. If not, the chassis cover 12 is controlled to be closed, and an alarm message indicating that the chassis cover 12 is illegally opened is generated;

[0062] If the authentication information includes the target maintenance personnel information, the personnel information of the maintenance personnel who opened the chassis cover is obtained, and it is determined whether the obtained maintenance personnel information matches the target maintenance personnel information. If not, the chassis cover 12 is controlled to be closed, and an alarm message indicating that the chassis cover 12 is illegally opened is generated;

[0063] If the authentication information includes the first maintenance verification information, the second maintenance verification information entered by the maintenance personnel who opened the chassis cover 12 is obtained, and it is determined whether the first maintenance verification information matches the second maintenance verification information. If not, the chassis cover 12 is controlled to be closed, and an alarm message indicating that the chassis cover 12 is illegally opened is generated.

[0064] Specifically, the controller 14 can report the server identification and alarm information of the server 100 to the management system. The management system can display the alarm information in the management interface in the format of server identification + alarm information. In this way, the maintenance personnel can determine the server 100 whose chassis cover 12 is illegally opened based on the alarm information displayed on the alarm interface, thereby improving the maintenance safety of the server 100.

[0065] Specifically, the server 100 may be connected to an input device (such as a keyboard, a mouse, etc.). Based on these input devices, the equipment maintenance personnel may input the target maintenance personnel information, the second maintenance verification information, etc.

[0066] In some embodiments, before receiving the chassis cover opening signal, the method of the present disclosure may further include:

[0067] Receive the maintenance policy issued by the management system, which includes the maximum time the chassis cover is allowed to be opened;

[0068] After receiving the chassis cover opening signal, the method of the present disclosure may further include:

[0069] The opening time of the chassis cover 12 is timed, and when the actual opening time of the chassis cover 12 reaches the maximum opening time allowed for the chassis cover 12, the chassis cover 12 is controlled to be closed.

[0070] Specifically, a clock timer may be provided in the controller 14. After receiving the chassis cover opening signal, the clock timer starts to work to count the opening time of the chassis cover 12.

[0071] In the above embodiment, when the actual opening time of the chassis cover 12 reaches the maximum opening time allowed for the chassis cover, the chassis cover 12 is controlled to be closed, which can avoid the problem of the heat dissipation channel of the server 100 being blocked for a long time and causing the temperature inside the server 100 to be too high.

[0072] It should be noted that the maintenance strategy can be set according to actual needs, and the present disclosure does not limit this. For example, in some other embodiments, the maintenance strategy can also include target components that are not allowed to switch working modes. That is, when the speed of the fan 11 reaches the maximum speed and the target component needs to be controlled to switch the working mode, the working mode of the target component in the maintenance strategy cannot be switched, so as to ensure the business processing capacity of some target components.

[0073] In some embodiments, the server 100 may further include a display device. After receiving the chassis cover opening signal, the method of the present disclosure may further include:

[0074] Displaying the opening time of the chassis cover 12 through a display device; and / or

[0075] After the first component temperature of the target component is detected, the first component temperature is displayed through the display device.

[0076] Specifically, the display device can be a display screen, LED and other devices. The present disclosure does not limit the specific form of the display device. By displaying the opening time of the chassis cover 12 and / or the first component temperature of the target component through the display device, it is convenient for the maintenance personnel to timely understand the current situation of the server 100, so that when the internal temperature of the server 100 is too high or the opening time of the chassis cover 12 is too long, the chassis cover 12 can be manually closed or cooling measures can be manually taken to improve the heat dissipation capacity of the server 100 and ensure the server stability in the hot plug scenario. For example, after adjusting the speed of the fan 11 to the maximum speed supported by the fan 11 and controlling the target component to work in the second working mode, if the temperature inside the server 100 is still on the rise (that is, the temperature of the first component is still on the rise), at this time, after the temperature of the first component is displayed by the display device, the maintenance personnel can manually close the chassis cover 12 to remove the blockage of the heat dissipation channel after discovering that the temperature of the first component of the target component is too high through the display device, thereby improving the heat dissipation capacity of the server 100 and avoiding problems such as downtime of the server 100.

[0077] In some embodiments, based on the display device, the temperature change trend of the target component can also be displayed. For example, when the temperature of the target component is on an upward trend, an upward red arrow can be displayed through the display device, and when the temperature of the target component is on a downward trend, a downward green arrow can be displayed through the display device. In this way, the maintenance personnel who open the chassis cover 12 can be intuitively prompted.

[0078] It should be noted that the display content of the display device can be specified according to actual needs. The present disclosure does not limit the display content of the display device.

[0079] In some embodiments, the server 100 may further include an alarm device. The alarm device may include, but is not limited to, a sound alarm, a light alarm, etc. When it is detected that the temperature of the first component of the target component is close to the maximum operating temperature supported by the target component, or when it is detected that the opening time of the chassis cover 12 reaches the maximum opening time allowed by the chassis cover 12, the alarm device may be controlled to work, so as to facilitate the maintenance personnel who open the chassis cover 12 to take measures in time to reduce the temperature inside the server 100 (such as closing the chassis cover 12 in time), thereby preventing the server 100 from shutting down due to the excessive temperature of the target component.

[0080] The scheme of the present disclosure is further described below.

[0081] Combined with reference Figure 3 , which is a schematic diagram of module interaction within the server 100 provided in one embodiment of the present disclosure. Figure 3In the embodiment, the server 100 includes, in addition to the fan 11, the detection module 13 and the target component 15, a thermal maintenance controller 141 and a baseboard management controller 142. Among them, a first program code is burned into the baseboard management controller 142, and the first program code may be a program code that has been burned into the baseboard management controller 142 before the method disclosed in the present invention is proposed. By running the first program code, the baseboard management controller 142 can also detect the temperature of the target component 15, adjust the speed of the fan 11, and switch the working mode of the target component 15. However, the control logic in the first program code is adapted to the scenario when the chassis cover 12 is in a closed state. For example, when detecting the temperature of the target component 15, the baseboard management controller 142 usually only detects according to the second detection frequency. It can be seen from the above-mentioned relevant description that when the chassis cover 12 is open, if the first program code is still run through the baseboard management controller 142 to detect the temperature of the target component 15, there will inevitably be problems such as insufficient timeliness in temperature detection and insufficient timeliness in adjusting the speed of the fan 11, which will cause the server 100 to crash due to excessively high temperature of the target component 15. That is, the code logic of the first program code in the baseboard management controller 142 is not compatible with the scenario where the chassis cover 12 is open.

[0082] In view of this, in this embodiment, a thermal maintenance controller 141 can be added to the server 100. A second program code can be burned into the thermal maintenance controller 141, and the code logic of the second program code can adapt to the scene where the chassis cover 12 is opened. That is, the thermal maintenance controller 141 can be used as the above-mentioned controller 14 to execute the maintenance method disclosed in the present invention.

[0083] Specifically, in the server 100 including the baseboard management controller 142 and the thermal maintenance controller 141, the thermal maintenance controller 141 can be directly connected to the detection module 13 and receive a chassis cover opening signal or a chassis closing signal sent by the detection module 13. Based on the received signal, the thermal maintenance controller 141 can specifically perform the following operations:

[0084] In response to receiving the chassis cover opening signal sent by the detection module 13, detecting the temperature of at least part of the target component 15 in the server according to the first detection frequency to obtain a first component temperature of the target component 15;

[0085] determining a first fan speed that matches the temperature of the first component when a cooling target is achieved;

[0086] If the first fan speed does not exceed the maximum speed supported by the fan 11, the speed of the fan 11 is adjusted to the first fan speed;

[0087] In response to the chassis cover closing signal sent by the receiving detection module, the temperature detection of the target component 15 is stopped, and the baseboard management controller 142 is triggered to perform the following operations:

[0088] Detecting the temperature of the target component 15 according to the second detection frequency to obtain a second component temperature of the target component 15;

[0089] determining a second fan speed that matches the temperature of the second component when a cooling target is achieved;

[0090] If the second fan speed does not exceed the maximum speed supported by the fan 11 , the speed of the fan 11 is adjusted to the second fan speed.

[0091] In this way, when the chassis cover 12 is in the open state, the thermal maintenance controller 141 can detect the temperature of the target component 15 according to the first detection frequency and adjust the rotation speed of the fan 11; when the chassis cover 12 is in the closed state, the baseboard management controller 142 can detect the temperature of the target component 15 according to the second detection frequency and adjust the rotation speed of the fan 11.

[0092] Furthermore, considering that there are many developed program code function blocks in the baseboard management controller 142, such as the program code block for switching the working mode of the target component 15 and the program code block for adjusting the rotation speed of the fan 11 through the control command. These program code blocks should be the same in the baseboard management controller 142 and the thermal maintenance controller 141. Therefore, in order to reduce the amount of code development, the thermal maintenance controller 141 can call the relevant program function blocks in the baseboard management controller 142. Based on this, when performing at least one of the following operations, the thermal maintenance controller 141 can be completed by calling the baseboard management controller 142:

[0093] Controlling the target component 15 to operate in a second operating mode;

[0094] The rotation speed of the fan 11 is adjusted to a first fan rotation speed or a maximum rotation speed supported by the fan.

[0095] Of course, considering that there is also a time consumption problem in the process of calling the baseboard management controller 142, which affects the efficiency of adjusting the fan speed or the switching efficiency of the working mode, some necessary program code blocks that are repeated with the baseboard management controller 142 can also be burned in the thermal maintenance controller 141, such as a program code block for adjusting the speed of the fan 11. In this way, when the temperature in the server 100 rises relatively quickly, the thermal maintenance controller 141 can directly adjust the speed of the fan 11 by running the local program code block, thereby reducing the time consumption of the baseboard management controller 142 and improving the efficiency of adjusting the fan speed.

[0096] To sum up, in some embodiments, the second program code in the thermal maintenance controller 141 may include at least the following code modules: server intrusion detection module, working mode input module, thermal maintenance working mode switching module, server temperature monitoring module, server abnormal heat dissipation control module and monitoring module.

[0097] in:

[0098] The server intrusion detection module is used to verify the legitimacy of the time of opening the chassis cover 12 or the legitimacy of the maintenance personnel according to the authentication information issued by the management system;

[0099] The working mode input module is used to manage the maintenance process of the server 100 according to the maintenance policy issued by the management system, such as closing the chassis cover 12 after the maintenance time reaches the maximum time specified in the maintenance policy;

[0100] The thermal maintenance working mode switching module is used to control the target component to switch the working mode, for example, to control the target component to switch from the first working mode to the second working mode;

[0101] The server temperature monitoring module is used to detect a first component temperature of a target component according to a first detection frequency;

[0102] The server abnormal heat dissipation control module is used to directly control the speed of the fan 11;

[0103] The monitoring module is used to control the display content of the display device, or control the alarm device to alarm, etc.

[0104] In some embodiments, considering that the scenarios corresponding to the program codes in the baseboard management controller 142 and the thermal maintenance controller 141 are different, and when the chassis cover 12 is open, the temperature in the server 100 rises faster, and when the chassis cover 12 is closed, the temperature in the server 100 rises slower. Therefore, the thermal maintenance controller 141 can determine the first fan speed that matches the temperature of the first component according to the first corresponding relationship between the preset temperature and the fan speed, and the baseboard management controller 142 can determine the second fan speed that matches the temperature of the second component according to the second corresponding relationship between the preset temperature and the fan speed. Specifically, for the same target temperature, in the first corresponding relationship, the fan speed corresponding to the target temperature can be relatively large, and in the second corresponding relationship, the fan speed corresponding to the target temperature can be relatively small. In this way, it is avoided that when the chassis cover 12 is opened, the temperature in the server 100 rises too fast, resulting in the rotation speed of the fan 11 being unable to adapt to the server temperature.

[0105] exist Figure 3In the illustrated embodiment, when the chassis cover 12 is open, the newly added thermal maintenance controller 141 detects the first component temperature of the target component 15, and adjusts the rotation speed of the fan 11 according to the first component temperature, and when the chassis cover 12 is closed, the original baseboard management controller 142 detects the second component temperature of the target component 15, and adjusts the rotation speed of the fan 11 according to the second component temperature. In this way, the pressure on the baseboard management controller 142 can be reduced.

[0106] In some other embodiments, in order to reduce the cost of the server, the first program code and the second program code may be burned simultaneously in the baseboard management controller 142. In this case, the baseboard management controller 142 is used to run the program code matching the state of the chassis cover 12 according to the state of the chassis cover 12 to complete the component temperature detection and fan speed control.

[0107] and Figure 2 Corresponding to the server maintenance method in the present disclosure, a server maintenance device is also provided. Figure 4 , which is a module diagram of a server maintenance device provided in some embodiments of the present disclosure.

[0108] Figure 4 In the embodiment, the server maintenance device includes:

[0109] The temperature detection module 401 is used to detect the temperature of at least part of the target components in the server according to a first detection frequency in response to receiving the chassis cover opening signal sent by the detection module, so as to obtain a first component temperature of the target component, wherein the first detection frequency is higher than the second detection frequency, and the second detection frequency is the frequency of detecting the temperature of the target component when the chassis cover is closed;

[0110] A fan speed determination module 402 is used to determine a first fan speed that matches the temperature of the first component when a temperature reduction target is achieved;

[0111] The fan speed adjustment module 403 is configured to adjust the fan speed to the first fan speed if the first fan speed does not exceed the maximum speed supported by the fan.

[0112] In some embodiments, the power consumed by the target component when operating in the first operating mode is greater than the power consumed by the target component when operating in the second operating mode;

[0113] If the first fan speed exceeds the maximum speed supported by the fan, the fan speed adjustment module 403 is further configured to:

[0114] The rotation speed of the fan is adjusted to the maximum rotation speed supported by the fan, and the target component is controlled to operate in the second operating mode.

[0115] In some embodiments, the server further includes a baseboard management controller and a thermal maintenance controller, and the fan speed adjustment module 403 performs at least one of the following operations by calling the baseboard management controller:

[0116] Controlling the target component to operate in a second operating mode;

[0117] Adjust the fan speed to the first fan speed or the maximum speed supported by the fan.

[0118] In some embodiments, before receiving the chassis cover opening signal, the temperature detection module 401 is further used to:

[0119] Receiving authentication information sent by the management system, the authentication information including at least one of a target maintenance time period, target maintenance personnel information, and first maintenance verification information;

[0120] If the authentication information includes the target maintenance time period, it is determined whether the time point when the chassis cover opening signal is received is within the target maintenance time period. If not, the chassis cover is controlled to be closed, and an alarm message indicating that the chassis cover is illegally opened is generated;

[0121] If the authentication information includes the target maintenance personnel information, the personnel information of the maintenance personnel who opened the chassis cover is obtained, and it is determined whether the obtained maintenance personnel information matches the target maintenance personnel information. If not, the chassis cover is controlled to be closed, and an alarm message indicating that the chassis cover is illegally opened is generated;

[0122] If the authentication information includes the first maintenance verification information, the second maintenance verification information entered by the maintenance personnel who opened the chassis cover is obtained, and it is determined whether the first maintenance verification information matches the second maintenance verification information. If not, the chassis cover is controlled to be closed, and an alarm message indicating that the chassis cover is illegally opened is generated.

[0123] In some embodiments, before receiving the chassis cover opening signal, the temperature detection module 401 is further used to:

[0124] Receive the maintenance policy issued by the management system, which includes the maximum time the chassis cover is allowed to be opened;

[0125] The opening time of the chassis cover is timed, and when the actual opening time of the chassis cover reaches the maximum opening time allowed for the chassis cover, the chassis cover is controlled to close.

[0126] In some embodiments, the server further comprises a display device;

[0127] After receiving the chassis cover opening signal, the temperature detection module 401 is further used to:

[0128] Timing the opening time of the chassis cover and displaying the opening time of the chassis cover through a display device; and / or

[0129] After the first component temperature of the target component is detected, the first component temperature is displayed through the display device.

[0130] In some embodiments, the server further includes a baseboard management controller and a thermal maintenance controller. When the chassis cover is closed, the detection module is triggered to send a chassis cover closing signal. The temperature detection module 401 is also used to:

[0131] In response to the chassis cover closing signal sent by the receiving detection module, the temperature detection of the target component is stopped, and the baseboard management controller is triggered to perform the following operations:

[0132] Detecting the temperature of the target component according to a second detection frequency to obtain a second component temperature of the target component;

[0133] determining a second fan speed that matches the temperature of the second component when a cooling target is achieved;

[0134] If the second fan speed does not exceed the maximum speed supported by the fan, the fan speed is adjusted to the second fan speed.

[0135] The server maintenance device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0136] The server maintenance device disclosed in the present invention has the same beneficial effects as the above-mentioned server maintenance method, which will not be described in detail here.

[0137] The present disclosure also provides an electronic device having the above Figure 4 The server maintenance device shown.

[0138] Combined with reference Figure 5 , is a schematic diagram of the structure of an electronic device provided by some embodiments of the present disclosure. Figure 5As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0139] The processor 10 may be a first PCIe device, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0140] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0141] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0142] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0143] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.

[0144] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0145] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.

[0146] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A server maintenance method, characterized in that: The server includes a chassis cover, a fan and a detection module. When the chassis cover is opened, the detection module is triggered to send a chassis cover opening signal. The method includes: In response to receiving the chassis cover opening signal sent by the detection module, detecting the temperature of at least part of the target components in the server according to a first detection frequency to obtain a first component temperature of the target component, wherein the first detection frequency is higher than a second detection frequency, and the second detection frequency is a frequency for detecting the temperature of the target component when the chassis cover is closed; determining a first fan speed that matches the temperature of the first component when a cooling target is achieved; If the first fan speed does not exceed the maximum speed supported by the fan, the fan speed is adjusted to the first fan speed.

2. The method according to claim 1, characterized in that The power consumed by the target component when operating in the first operating mode is greater than the power consumed by the target component when operating in the second operating mode; If the speed of the first fan exceeds the maximum speed supported by the fan, the method further includes: The rotation speed of the fan is adjusted to the maximum rotation speed supported by the fan, and the target component is controlled to operate in the second operating mode.

3. The method according to claim 2, characterized in that The server further includes a baseboard management controller and a thermal maintenance controller, and the method is applied to the thermal maintenance controller, wherein at least one of the following operations is performed by calling the baseboard management controller: controlling the target component to operate in the second operating mode; The rotation speed of the fan is adjusted to the first fan rotation speed or the maximum rotation speed supported by the fan.

4. The method according to any one of claims 1 to 3, characterized in that: Before receiving the chassis cover opening signal, the method further includes: Receiving authentication information issued by the management system, the authentication information including at least one of a target maintenance time period, target maintenance personnel information, and first maintenance verification information; After receiving the chassis cover opening signal, the method further includes: If the authentication information includes the target maintenance time period, determining whether the time point of receiving the chassis cover opening signal is within the target maintenance time period; if not, controlling the chassis cover to be closed, and generating an alarm message indicating that the chassis cover is illegally opened; If the authentication information includes the target maintenance personnel information, the personnel information of the maintenance personnel who opens the chassis cover is obtained, and it is determined whether the obtained maintenance personnel information matches the target maintenance personnel information. If not, the chassis cover is controlled to be closed, and an alarm message indicating that the chassis cover is illegally opened is generated; If the authentication information includes the first maintenance verification information, the second maintenance verification information input by the maintenance personnel who opens the chassis cover is obtained, and it is determined whether the first maintenance verification information matches the second maintenance verification information. If not, the chassis cover is controlled to be closed, and an alarm message indicating that the chassis cover is illegally opened is generated.

5. The method according to any one of claims 1 to 3, characterized in that: Before receiving the chassis cover opening signal, the method further includes: Receiving a maintenance strategy issued by a management system, wherein the maintenance strategy includes a maximum time duration for which the chassis cover is allowed to be opened; After receiving the chassis cover opening signal, the method further includes: The opening time of the chassis cover is timed, and when the actual opening time of the chassis cover reaches the maximum opening time allowed for the chassis cover, the chassis cover is controlled to be closed.

6. The method according to any one of claims 1 to 3, characterized in that: The server also includes a display device; After receiving the chassis cover opening signal, the method further includes: timing the opening time of the chassis cover, and displaying the opening time of the chassis cover through the display device; and / or After the first component temperature of the target component is detected, the first component temperature is displayed through the display device.

7. The method according to claim 1, characterized in that The server further includes a baseboard management controller and a thermal maintenance controller. The method is applied to the thermal maintenance controller. When the chassis cover is closed, the detection module is triggered to send a chassis cover closing signal. The method further includes: In response to receiving the chassis cover closing signal sent by the detection module, stopping detecting the temperature of the target component, and triggering the baseboard management controller to perform the following operations: Detecting the temperature of the target component according to the second detection frequency to obtain a second component temperature of the target component; determining a second fan speed that matches the temperature of the second component when a cooling target is achieved; If the second fan speed does not exceed the maximum speed supported by the fan, the fan speed is adjusted to the second fan speed.

8. A server, characterized in that: The server comprises: fan; Chassis cover; A detection module, used for sending a chassis cover opening signal when the chassis cover is opened, and sending a chassis cover closing signal when the chassis cover is closed; A controller, configured to execute the method according to any one of claims 1 to 7 based on the chassis cover opening signal or the chassis cover closing signal sent by the detection module.

9. A server maintenance device, characterized in that: The server includes a chassis cover, a fan and a detection module, wherein the detection module is used to detect the switch state of the chassis cover; the device includes: a temperature detection module, configured to detect the temperature of at least part of the target components in the server according to a first detection frequency in response to receiving the chassis cover opening signal sent by the detection module, so as to obtain a first component temperature of the target component, wherein the first detection frequency is higher than a second detection frequency, and the second detection frequency is a frequency for detecting the temperature of the target component when the chassis cover is closed; a fan speed determination module, configured to determine a first fan speed that matches the temperature of the first component when a cooling target is achieved; A fan speed adjustment module is used to adjust the speed of the fan to the first fan speed if the speed of the first fan does not exceed the maximum speed supported by the fan.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the server maintenance method according to any one of claims 1 to 7 by executing the computer instructions.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the server maintenance method according to any one of claims 1 to 7.