A method, device, equipment and readable medium for protecting server components
By measuring the fan speed and wind pressure values and adjusting the fan speed and hard disk status, the problem of insufficient heat dissipation capacity of servers in high-altitude areas is solved and the stable operation and performance protection of the hard disk are ensured.
Patent Information
- Application Number
- CN202210605723.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-05-30
AI Technical Summary
In high-altitude areas, the heat dissipation capacity of server fans is reduced, causing mechanical hard disks to be prone to bad sectors and shortening the life of the hard disk. It is also difficult for existing technology to effectively protect the stable operation of server components.
By measuring the fan speed and air pressure, adjust the fan speed and calculate the atmospheric pressure, and adjust the switch status of the mechanical hard drive based on this to ensure that the server runs at a more stable temperature and prevent hard drive damage.
It effectively improves the operating temperature stability of servers in high-altitude areas, extends the service life of mechanical hard drives, and protects the overall performance of server components.
Smart Images

Figure CN114816937B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and more particularly to a method, an apparatus, a device and a readable medium for protecting server components. Background Art
[0002] BMC (Baseboard Management Controller) is a baseboard management system on the server, responsible for important functions such as server asset information display, hardware monitoring, heat dissipation control, system configuration, remote monitoring, log collection, fault diagnosis, and system maintenance.
[0003] The heat dissipation capacity of the server fan is affected by the air pressure. When the air pressure is low, the fan wind force is small, and the fan heat dissipation capacity is reduced. To achieve the same heat dissipation effect, the fan speed must be increased. Therefore, the fan wind force is an important indicator to measure the fan heat dissipation capacity, and the fan wind force is also an important auxiliary parameter in server heat dissipation.
[0004] At the same time, the wind force is different at the same fan speed, and the atmospheric pressure of the server environment can be calculated. In the enterprise market, mechanical hard disks are still irreplaceable due to their unique advantages. Especially with the advancement of technologies such as cloud computing, big data, and artificial intelligence, mechanical hard disks will have great potential in the future. Mechanical hard disks are still the mainstream storage for file servers. When the mechanical hard disk is running, the high-speed rotation of the disk will generate airflow to lift the head. The lifting height is very, very low, and the lower it is, the more accurate the reading and writing. But the head must not move completely against the disk, otherwise it will scratch the track. The scratched track can no longer be used. When in a low-pressure environment, the rotation of the disk cannot generate enough airflow to lift the head, which can easily lead to bad sectors and shorten the life of the hard disk. Summary of the invention
[0005] In view of this, the purpose of the embodiments of the present invention is to propose a method, device, equipment and readable medium for protecting server components. By using the technical solution of the present invention, servers in high-altitude areas can be kept at a more stable operating temperature, thereby improving the overall performance of the server and protecting mechanical hard drives from damage.
[0006] Based on the above purpose, according to one aspect of the present invention, a method for protecting a server component is provided, comprising the following steps:
[0007] The speed of the fan in the server and the wind pressure value generated by the fan are measured every time a threshold time passes, and the speed and wind pressure values are transmitted to the BMC;
[0008] The measured wind pressure value is compared with a wind pressure value threshold value at the same fan speed;
[0009] In response to the measured wind pressure value being less than a wind pressure value threshold value of the fan at the same speed, adjusting the speed of the fan, and calculating the atmospheric pressure based on the measured speed and wind pressure value of the fan;
[0010] Adjust the mechanical hard disk in the server on or off based on the calculated atmospheric pressure.
[0011] According to an embodiment of the present invention, in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, adjusting the speed of the fan includes:
[0012] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0013] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0014] According to an embodiment of the present invention, adjusting the turning on or off of a mechanical hard disk in a server based on the calculated atmospheric pressure includes:
[0015] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0016] Record the corresponding SEL and IDL low voltage logs via BMC.
[0017] According to an embodiment of the present invention, measuring the rotation speed of a fan in a server and the wind pressure value generated by the fan every time a threshold time passes includes:
[0018] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0019] According to another aspect of the present invention, there is also provided a device for protecting a server, the device comprising:
[0020] A measuring module, the measuring module is configured to measure the rotation speed of the fan in the server and the wind pressure value generated by the fan every time a threshold time passes, and transmit the rotation speed and wind pressure value to the BMC;
[0021] A comparison module, the comparison module is configured to compare the measured wind pressure value with a wind pressure value threshold of the fan at the same speed;
[0022] a calculation module, the calculation module being configured to adjust the speed of the fan in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, and calculate the atmospheric pressure based on the measured fan speed and wind pressure value;
[0023] The adjustment module is configured to adjust the mechanical hard disk in the server to be turned on or off based on the calculated atmospheric pressure.
[0024] According to one embodiment of the present invention, the computing module is further configured to:
[0025] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0026] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0027] According to one embodiment of the present invention, the adjustment module is further configured to:
[0028] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0029] Record the corresponding SEL and IDL low voltage logs via BMC.
[0030] According to one embodiment of the present invention, the measuring module is further configured as follows:
[0031] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0032] Another aspect of the embodiments of the present invention further provides a computer device, the computer device comprising:
[0033] at least one processor; and
[0034] The memory stores computer instructions executable on the processor, and the instructions implement the steps of any one of the above methods when executed by the processor.
[0035] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above methods are implemented.
[0036] The present invention has the following beneficial technical effects: the method for protecting server components provided by the embodiment of the present invention measures the rotation speed of the fan in the server and the wind pressure value generated by the fan every threshold time, and transmits the rotation speed and wind pressure value to the BMC; compares the measured wind pressure value with the wind pressure value threshold of the fan at the same rotation speed; in response to the measured wind pressure value being less than the wind pressure value threshold of the fan at the same rotation speed, adjusts the fan rotation speed, and calculates the atmospheric pressure based on the measured fan rotation speed and wind pressure value; the technical solution of adjusting the on or off of the mechanical hard disk in the server based on the calculated atmospheric pressure can make the server in high altitude areas have a more stable operating temperature, improve the overall performance of the server, and protect the mechanical hard disk from damage. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0038] Figure 1 A schematic flow chart of a method for protecting a server component according to an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of a device for protecting a server component according to an embodiment of the present invention;
[0040] Figure 3 is a schematic diagram of a computer device according to an embodiment of the present invention;
[0041] Figure 4 FIG. 1 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0043] Based on the above objectives, a first aspect of an embodiment of the present invention provides an embodiment of a method for protecting a server component. Figure 1 Shown is a schematic flow chart of the method.
[0044] like Figure 1 As shown in , the method may include the following steps:
[0045] S1 measures the rotation speed of the fan in the server and the wind pressure value generated by the fan every time a threshold time passes, and transmits the rotation speed and wind pressure value to the BMC.
[0046] In the present invention, a strain gauge type wind pressure gauge is used to measure the wind pressure value. The strain gauge is fixed on the air outlet of the fan in the server. The wind pressure value is measured by converting the deformation of the strain gauge into a digital signal. The current speed of the fan can be obtained in the system, and the threshold time can be set to 3 seconds, that is, data can be obtained from the wind pressure gauge every 3 seconds through the I2C bus.
[0047] S2 compares the measured wind pressure value with a wind pressure value threshold of the fan at the same speed.
[0048] A fan at a relatively low altitude will generate a certain wind pressure value at a certain speed. As the altitude increases, the wind pressure value will gradually decrease, and the cooling effect of the fan will also decrease. Therefore, comparing the measured wind pressure value with the wind pressure value threshold can determine whether the server is in a high altitude area.
[0049] In response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, S3 adjusts the speed of the fan and calculates the atmospheric pressure based on the measured speed and wind pressure value of the fan.
[0050] If the measured wind pressure value is less than the wind pressure value threshold of the fan at the same speed, it means that the server is in a high altitude area, and the fan's heat dissipation effect is less than the ideal value, which may cause poor heat dissipation of the server and damage the server components. The temperature value of the preset component of the server can be obtained at a preset interval, and the temperature change trend of the preset component can be judged based on the obtained temperature. If the temperature change trend is a temperature increase, the fan speed can be increased and an early warning can be issued. At the same time, the local altitude and atmospheric pressure of the server can be calculated based on the fan speed and wind force curve.
[0051] S4 adjusts the mechanical hard disk in the server on or off based on the calculated atmospheric pressure.
[0052] If it is detected that the atmospheric pressure of the server is lower than the atmospheric pressure required for the normal operation of the mechanical hard disk, the BMC prohibits the hard disk from being powered on through the hard disk backplane to prevent the hard disk from starting. The BMC also records the corresponding SEL and IDL low-pressure logs, which contain information such as the current atmospheric pressure and altitude. If the user must use the mechanical hard disk in an emergency, the BMC can provide an IPMI command to remove the BMC's restriction on the hard disk power-on due to low atmospheric pressure.
[0053] Through the technical solution of the present invention, servers in high-altitude areas can be kept at a more stable operating temperature, the overall performance of the server can be improved, and the mechanical hard disk can be protected from damage.
[0054] In a preferred embodiment of the present invention, in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, adjusting the speed of the fan includes:
[0055] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0056] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0057] In a preferred embodiment of the present invention, adjusting the turning on or off of a mechanical hard disk in a server based on the calculated atmospheric pressure includes:
[0058] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0059] The corresponding SEL and IDL low pressure logs are recorded by the BMC. The logs contain information such as the current atmospheric pressure and altitude. If the user must use a mechanical hard disk in an emergency, the BMC can provide an IPMI command to remove the BMC's restriction on the hard disk power-on due to low pressure.
[0060] In a preferred embodiment of the present invention, measuring the rotation speed of a fan in the server and the wind pressure value generated by the fan every time a threshold time passes includes:
[0061] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0062] Through the technical solution of the present invention, servers in high-altitude areas can be kept at a more stable operating temperature, thereby improving the overall performance of the server. For servers using mechanical hard disks, especially storage servers, the mechanical hard disks can be protected from damage.
[0063] It should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiment can achieve the same or similar effect as any of the above-mentioned method embodiments corresponding thereto.
[0064] In addition, the method disclosed in the embodiment of the present invention can also be implemented as a computer program executed by a CPU, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the CPU, the above functions defined in the method disclosed in the embodiment of the present invention are performed.
[0065] Based on the above purpose, a second aspect of the embodiment of the present invention provides a device for protecting a server, such as Figure 2 As shown, the device 200 includes:
[0066] A measuring module, the measuring module is configured to measure the rotation speed of the fan in the server and the wind pressure value generated by the fan every time a threshold time passes, and transmit the rotation speed and wind pressure value to the BMC;
[0067] A comparison module, the comparison module is configured to compare the measured wind pressure value with a wind pressure value threshold of the fan at the same speed;
[0068] a calculation module, the calculation module being configured to adjust the speed of the fan in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, and calculate the atmospheric pressure based on the measured fan speed and wind pressure value;
[0069] The adjustment module is configured to adjust the mechanical hard disk in the server to be turned on or off based on the calculated atmospheric pressure.
[0070] In a preferred embodiment of the present invention, the calculation module is further configured to:
[0071] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0072] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0073] In a preferred embodiment of the present invention, the adjustment module is further configured to:
[0074] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0075] Record the corresponding SEL and IDL low voltage logs via BMC.
[0076] In a preferred embodiment of the present invention, the measuring module is further configured as follows:
[0077] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0078] Based on the above purpose, a third aspect of an embodiment of the present invention provides a computer device. Figure 3 FIG. 2 is a schematic diagram of an embodiment of a computer device provided by the present invention. Figure 3 As shown, the embodiment of the present invention includes the following apparatus: at least one processor S21; and a memory S22, the memory S22 stores computer instructions S23 that can be run on the processor, and when the instructions are executed by the processor, the following method is implemented:
[0079] The speed of the fan in the server and the wind pressure value generated by the fan are measured every time a threshold time passes, and the speed and wind pressure values are transmitted to the BMC;
[0080] The measured wind pressure value is compared with a wind pressure value threshold value at the same fan speed;
[0081] In response to the measured wind pressure value being less than a wind pressure value threshold value of the fan at the same speed, adjusting the speed of the fan, and calculating the atmospheric pressure based on the measured speed and wind pressure value of the fan;
[0082] Adjust the mechanical hard disk in the server on or off based on the calculated atmospheric pressure.
[0083] In a preferred embodiment of the present invention, in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, adjusting the speed of the fan includes:
[0084] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0085] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0086] In a preferred embodiment of the present invention, adjusting the turning on or off of a mechanical hard disk in a server based on the calculated atmospheric pressure includes:
[0087] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0088] Record the corresponding SEL and IDL low voltage logs via BMC.
[0089] In a preferred embodiment of the present invention, measuring the rotation speed of a fan in the server and the wind pressure value generated by the fan every time a threshold time passes includes:
[0090] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0091] Based on the above purpose, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium. Figure 4 FIG. 2 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 4 As shown, the computer readable storage medium S31 stores a computer program S32 that performs the following method when executed by the processor:
[0092] The speed of the fan in the server and the wind pressure value generated by the fan are measured every time a threshold time passes, and the speed and wind pressure values are transmitted to the BMC;
[0093] The measured wind pressure value is compared with a wind pressure value threshold value at the same fan speed;
[0094] In response to the measured wind pressure value being less than a wind pressure value threshold value of the fan at the same speed, adjusting the speed of the fan, and calculating the atmospheric pressure based on the measured speed and wind pressure value of the fan;
[0095] Adjust the mechanical hard disk in the server on or off based on the calculated atmospheric pressure.
[0096] In a preferred embodiment of the present invention, in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, adjusting the speed of the fan includes:
[0097] In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature;
[0098] In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
[0099] In a preferred embodiment of the present invention, adjusting the turning on or off of a mechanical hard disk in a server based on the calculated atmospheric pressure includes:
[0100] In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting;
[0101] Record the corresponding SEL and IDL low voltage logs via BMC.
[0102] In a preferred embodiment of the present invention, measuring the rotation speed of a fan in the server and the wind pressure value generated by the fan every time a threshold time passes includes:
[0103] The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
[0104] In addition, the method disclosed in the embodiment of the present invention can also be implemented as a computer program executed by a processor, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the above functions defined in the method disclosed in the embodiment of the present invention are performed.
[0105] In addition, the above method steps and system units may also be implemented using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the above steps or unit functions.
[0106] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0107] In one or more exemplary designs, the function can be implemented in hardware, software, firmware or any combination thereof. If implemented in software, the function can be stored on a computer-readable medium or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include computer storage media and communication media, and the communication media include any media that helps to transfer a computer program from one location to another. The storage medium can be any available medium that can be accessed by a general or special computer. As an example and not limiting, the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, disk storage devices or other magnetic storage devices, or any other medium that can be used to carry or store the required program code in the form of an instruction or data structure and can be accessed by a general or special computer or a general or special processor. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwaves are used to send software from a website, server or other remote source, the above-mentioned coaxial cable, optical fiber cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwaves are all included in the definition of the medium. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disks usually reproduce data magnetically, while optical discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0108] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0109] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0110] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0111] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0112] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A method for protecting a server component, characterized in that: The following steps are involved: The speed of the fan in the server and the wind pressure value generated by the fan are measured every time a threshold time passes, and the speed and wind pressure values are transmitted to the BMC; The measured wind pressure value is compared with a wind pressure value threshold value at the same fan speed; In response to the measured wind pressure value being less than a wind pressure value threshold value of the fan at the same speed, adjusting the speed of the fan, and calculating the atmospheric pressure based on the measured speed and wind pressure value of the fan; Adjust the mechanical hard disk in the server on or off based on the calculated atmospheric pressure.
2. The method according to claim 1, characterized in that In response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, adjusting the speed of the fan includes: In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature; In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
3. The method according to claim 1, characterized in that Adjusting the hard disk in the server on or off based on the calculated atmospheric pressure includes: In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting; Record the corresponding SEL and IDL low voltage logs via BMC.
4. The method according to claim 1, characterized in that: The speed of the fan in the server and the wind pressure value generated by the fan are measured every time a threshold time passes, including: The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
5. A device for protecting a server, characterized in that: The device comprises: A measuring module, wherein the measuring module is configured to measure the rotation speed of a fan in the server and the wind pressure value generated by the fan every time a threshold time passes, and transmit the rotation speed and the wind pressure value to the BMC; A comparison module, wherein the comparison module is configured to compare the measured wind pressure value with a wind pressure value threshold of the fan at the same speed; a calculation module, the calculation module being configured to adjust the speed of the fan in response to the measured wind pressure value being less than a wind pressure value threshold of the fan at the same speed, and calculate the atmospheric pressure based on the measured fan speed and wind pressure value; An adjustment module is configured to adjust the mechanical hard disk in the server to be turned on or off based on the calculated atmospheric pressure.
6. The device according to claim 5, characterized in that The computing module is further configured as: In response to the wind pressure value obtained by measurement being less than a wind pressure value threshold value of the fan at the same speed, obtaining a temperature value of a preset component of the server at a preset time interval, and determining a change trend of the temperature of the preset component based on the obtained temperature; In response to determining that the temperature change trend is a temperature increase, the speed of the fan is increased and an early warning is issued.
7. The device according to claim 5, characterized in that The adjustment module is further configured as: In response to the calculated atmospheric pressure being lower than the atmospheric pressure required for normal operation of the mechanical hard disk, prohibiting the mechanical hard disk from being powered on through the hard disk backplane to prevent the mechanical hard disk from starting; Record the corresponding SEL and IDL low voltage logs via BMC.
8. The device according to claim 5, characterized in that The measurement module is further configured as: The strain gauge is fixed on the air outlet of the fan in the server, and the wind pressure value is measured by converting the deformation of the strain gauge into a digital signal.
9. A computer device, characterized in that: include: at least one processor; as well as A memory storing computer instructions executable on the processor, wherein the instructions, when executed by the processor, implement the steps of the method according to any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and device for controlling heat radiating fan of welding equipment, medium and electronic equipment
CN108916099A
Cooling fan control method and device of server, server and storage medium
CN114326989A
