Fan control method and electronic equipment

By determining and adjusting the speed of the target fan in the server that causes the storage read and write performance to drop, the problem of vibration and noise caused by the rapid increase in fan speed is solved, and the read and write performance of the hard disk and the overall device performance are improved.

CN118601926APending Publication Date: 2024-09-06LENOVO (BEIJING) LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410730297.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The rapid increase in fan speed in servers causes vibration and noise, which affects hard disk read and write performance. It is difficult to finely adjust the fan speed to meet cooling needs and reduce physical interference with existing technology.

Method used

By identifying the target fans that cause storage read and write performance to degrade, adjust their speeds to comply with temperature and read and write performance conditions, avoid excessive cooling, and specifically optimize fan speeds to reduce physical vibration interference on the hard drive.

Benefits of technology

It effectively improves the read and write speed and data transmission efficiency of the hard disk, ensuring that the performance of the storage subsystem reaches or exceeds expected standards, achieving a more efficient, stable and environmentally friendly operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118601926A
    Figure CN118601926A
Patent Text Reader

Abstract

The invention discloses a fan control method and electronic equipment, and the method comprises the steps: determining a target fan which causes the reduction of the storage read-write performance of the electronic equipment based on the relation between a hard disk and a fan in the electronic equipment; wherein the target fan is one or part of all fans; the actual rotating speed of the fan to be adjusted is adjusted so that the characteristic parameters of all components in the electronic equipment can meet the performance conditions; wherein the to-be-adjusted fan is determined based on the target fan; wherein the characteristic parameter conforming performance condition of each component comprises that the temperature of each component conforms to the corresponding preset temperature condition, and / or the storage read-write performance of the electronic equipment conforms to the read-write performance condition, and each component comprises a hard disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the field of server technology, and in particular to a fan control method and electronic equipment. Background Art

[0002] As server performance continues to improve, more and more functions are required, and the power consumption of servers is also increasing. When servers work continuously for a long time, the heat inside the server will continue to accumulate, so the fan speed needs to be quickly increased to dissipate heat in time to prevent the corresponding chips and / or hard disk devices from failing or even being damaged due to excessive temperature; it should be noted that the rapid increase in fan speed brings stronger air volume, but also generates higher vibration and noise, which affects the read and write performance of the hard disk device. Summary of the invention

[0003] The embodiments of the present application are intended to provide a fan control method and an electronic device.

[0004] The technical solution of this application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a fan control method, the method comprising:

[0006] Based on the relationship between the hard disk and the fan in the electronic device, determine the target fan that causes the storage read and write performance of the electronic device to decrease; wherein the target fan is one or part of all the fans;

[0007] Adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan;

[0008] Among them, the characteristic parameters of each component meeting the performance conditions include: the temperature of each component meeting the corresponding preset temperature condition, and / or the storage read and write performance of the electronic device meeting the read and write performance condition, and the components include a hard disk.

[0009] In a second aspect, an embodiment of the present application provides a fan control device, the device comprising:

[0010] A determination module, configured to determine a target fan that causes a decrease in storage read / write performance of the electronic device based on a relationship between a hard disk and a fan in the electronic device; wherein the target fan is one or part of all the fans;

[0011] An adjustment module, used for adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan;

[0012] Among them, the characteristic parameters of each component meeting the performance conditions include: the temperature of each component meeting the corresponding preset temperature condition, and / or the storage read and write performance of the electronic device meeting the read and write performance condition, and the components include a hard disk.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor, a memory, and a communication bus;

[0014] The communication bus is used to realize the communication connection between the processor and the memory;

[0015] The processor is used to execute the fan control program stored in the memory to implement the steps of the above-mentioned fan control method.

[0016] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of the above-mentioned fan control method are implemented.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of the above-mentioned fan control method.

[0018] The embodiment of the present application provides a fan control method and an electronic device, based on the relationship between the hard disk and the fan in the electronic device, a target fan that causes the storage read and write performance of the electronic device to decrease is determined; wherein the target fan is one or part of all the fans; the actual speed of the fan to be adjusted is adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan; wherein the characteristic parameters of each component meet the performance conditions including: the temperature of each component meets the corresponding preset temperature conditions, and / or, the storage read and write performance of the electronic device meets the read and write performance conditions, and each component includes a hard disk. In this way, the target fan that causes the storage read and write performance to decrease is determined based on the relationship between the hard disk and the fan; further, the speed of the target fan is finely adjusted to avoid overcooling, meet the heat dissipation requirements, and / or reduce the physical vibration interference to the hard disk, which can effectively improve the read and write speed and data transmission efficiency of the hard disk, and ensure that the performance of the storage subsystem meets or exceeds the expected standards, which is crucial for applications that rely on high-speed data processing. Finally, the fine adjustment based on the relationship between the hard disk and the fan not only solves the problem of storage read and write performance degradation, but also improves the overall performance of the electronic device from multiple dimensions, and achieves a more efficient, stable and environmentally friendly operating state. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic flow chart of a fan control method provided in an embodiment of the present application;

[0020] Figure 2 A schematic flow chart of another fan control method provided in an embodiment of the present application;

[0021] Figure 3 A schematic flow chart of another fan control method provided in an embodiment of the present application;

[0022] Figure 4 A schematic flow chart of a fan control method provided in another embodiment of the present application;

[0023] Figure 5 A flow chart of another fan control method provided in another embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of a fan control device provided in an embodiment of the present application;

[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0029] The embodiment of the present application provides a fan control method, which is applied to electronic equipment, referring to Figure 1 As shown, the method comprises the following steps:

[0030] Step 101: Based on the relationship between a hard disk and a fan in an electronic device, determine a target fan that causes a decrease in storage read / write performance of the electronic device.

[0031] The target fan is one or part of all fans.

[0032] In the embodiments of the present application, the hard disk is the main storage medium of the electronic device, which is used to store various types of data for a long time, including operating systems, applications, user documents, pictures, videos, music, etc. Whether the electronic device is a personal computer or a server, the hard disk is the core device for storing all data. Here, the hard disk includes but is not limited to a mechanical hard disk (Hard Disk Drive, HDD) and a solid state drive (SSD).

[0033] In the embodiment of the present application, the storage read-write performance of the electronic device is a key indicator for measuring the data processing capability of the electronic device. The storage read-write performance of the electronic device directly affects the response speed, data processing efficiency and overall performance of the electronic device. It should be noted that the electronic device can monitor its own storage read-write performance in real time. For example, the electronic device can add a monitoring channel in a baseboard management controller (Baseboard Management Controller, BMC) or a WEB server and other channels to monitor the storage read-write performance of the electronic device in real time. Here, the storage read-write performance of the electronic device can be understood as the read-write performance of the hard disk in the electronic device, wherein the read-write performance of the hard disk can be determined based on the read-write rate of the hard disk.

[0034] In the embodiment of the present application, the controlled fan is the control object of the fan control method provided in the embodiment of the present application. Based on the fan control method provided in the embodiment of the present application, the real-time rotation speed of the controlled fan can be controlled. It should be noted that the controlled fan can be arranged in the chassis of the electronic device, and can be used to dissipate heat for other components arranged in the chassis of the electronic device.

[0035] In the embodiment of the present application, the relationship between the hard disk and the fan includes but is not limited to: a pre-set relationship between the hard disk and the fan, a positional relationship between the hard disk and each fan, and a relationship between the speed adjustment of each fan and changes in the read and write performance of the hard disk.

[0036] The predefined relationship between the hard disk and the fan may be a one-to-one preset relationship between the hard disk and the fan, or a one-to-many preset relationship between the hard disk and the fan.

[0037] The positional relationship between the hard disk and the fans may be determined based on the distance between the hard disk and each fan.

[0038] The relationship between the rotation speed adjustment of the fan and the change in the read / write performance of the hard disk may be a relationship in which whether the read / write performance of the hard disk changes is determined based on the rotation speed adjustment of the fan.

[0039] In an embodiment of the present application, the target fan may be one or some of the fans among all the fans that cause the storage read and write performance of the electronic device to deteriorate, and the target fan is the fan that causes the read and write performance of the electronic device to deteriorate, determined from among all the fans based on the relationship between the hard disk and the fan in the electronic device.

[0040] In practical applications, the electronic device may be a personal computer or a server with a high-performance system, wherein the personal computer may include a desktop computer and a laptop computer. The specific type of the electronic device in the embodiments of the present application is not limited.

[0041] In an embodiment of the present application, the degradation of the storage read-write performance of the electronic device may be that the electronic device monitors its overall storage read-write performance in real time to determine the degradation of the overall storage read-write performance. Of course, the degradation of the storage read-write performance of the electronic device may also be that the electronic device monitors the storage read-write performance of each hard disk in itself in real time to determine the hard disk with the degradation of storage read-write performance, and then determines that the storage read-write performance of the electronic device has been reduced.

[0042] In the embodiment of the present application, when the electronic device can monitor the degradation of its own storage read and write performance in real time, it is necessary to analyze the interaction between the hard disk and the fan to identify which fan or fans are the problem, thereby affecting the hard disk performance. This involves considering the vibration, noise, and heat dissipation efficiency generated by the fan, because improper fan configuration or problems with the fan itself (such as aging, excessive speed, or design defects) may cause the hard disk to work unstably, resulting in an increase in the read and write error rate and a decrease in the data transmission speed. Therefore, determining and optimizing the configuration of the target fan or replacing the problematic fan is a key step in improving the overall performance of the storage system.

[0043] Step 102: adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions.

[0044] The fan to be adjusted is determined based on the target fan.

[0045] Among them, the characteristic parameters of each component meet the performance conditions including: the temperature of each component meets the corresponding preset temperature condition, and / or the storage read and write performance of the electronic device meets the read and write performance condition, and each component includes a hard disk.

[0046] In the embodiment of the present application, the fan to be adjusted is determined based on the target fan, which can be understood as the fan to be adjusted can be the target fan, and the fan to be adjusted can also include the target fan and other fans. This application does not make any specific restrictions on this.

[0047] In the embodiment of the present application, the adjustment of the actual speed of the fan to be adjusted may be to increase or decrease the preset speed of the actual speed of the fan to be adjusted, or to perform weighted processing on the actual speed of the fan to be adjusted based on a weight, and the present application does not make any specific limitation on this.

[0048] In the embodiment of the present application, based on prior knowledge and / or actual conditions, a plurality of components are provided in the chassis of the electronic device, and the plurality of components include but are not limited to a central processing unit, a graphics processing unit, a hard disk, a memory, a sensor, and a power supply assembly.

[0049] In the embodiments of the present application, the characteristic parameters of each component include but are not limited to the temperature of each component, the storage read and write performance of the electronic device such as the read and write performance of a hard disk, and the rotation speed of all fans.

[0050] In the embodiment of the present application, the performance condition includes one or more of the following conditions:

[0051] The temperature of each component meets the corresponding preset temperature conditions;

[0052] The storage read and write performance of the electronic device meets the read and write performance requirements;

[0053] When the rotation speeds of the fans are adjusted, the sum of the rotation speeds of all the fans after the adjustment is the same as or close to the sum of the rotation speeds before the adjustment.

[0054] The above preset temperature conditions can be understood as a series of safe operating temperature thresholds set for each component in the server. The temperature thresholds are related to the performance specifications and temperature limits of the components, and are intended to ensure long-term stable operation while preventing performance degradation or hardware damage caused by overheating. It should be noted that due to the different performance specifications and temperature limits of the components, the temperature thresholds corresponding to different components are also different.

[0055] The above read / write performance condition refers to the read / write performance of the hard disk in the electronic device meeting the preset read / write rate, which is related to the type of hard disk, performance specification parameters, and one or more of the interface and bus standards, and is intended to maximize the performance of the hard disk in the electronic device and meet the needs of efficient data processing. It should be noted that due to the different types of hard disks, performance specification parameters, and interface and bus standards, the preset read / write rates corresponding to different hard disks are also different.

[0056] In the above case where the fan speed is adjusted, the sum of the speeds of all fans after adjustment is the same as or close to the sum of the speeds before adjustment. It can be understood that, in the process of adjusting the fans, in order to maintain the overall air volume range of the electronic equipment to the minimum and / or the overall power consumption of the electronic equipment to the minimum, the speed of the fans after adjustment can be set to be the same as or close to the speed before adjustment of the fans, so as to avoid generating additional power consumption and wasting energy resources.

[0057] In the embodiment of the present application, the electronic device determines the target fan that causes the storage read and write performance of the electronic device to decrease based on the relationship between the hard disk and the fan in the electronic device, and then adjusts the actual speed of the fan to be adjusted, so that the temperature of each component in the electronic device meets the corresponding preset temperature conditions, and / or adjusts the actual speed of the fan to be adjusted, so that the storage read and write performance of the electronic device meets the read and write performance conditions. In this way, the target fan that causes the storage read and write performance to decrease is determined based on the relationship between the hard disk and the fan; further, the speed of the target fan is finely adjusted to avoid overcooling, meet the heat dissipation requirements, and / or reduce the physical vibration interference to the hard disk, which can effectively improve the hard disk read and write speed and data transmission efficiency, and ensure that the performance of the storage subsystem meets or exceeds the expected standards, which is crucial for applications that rely on high-speed data processing. In this way, the fine adjustment based on the relationship between the hard disk and the fan not only solves the problem of storage read and write performance degradation, but also improves the overall performance of the electronic device from multiple dimensions, and achieves a more efficient, stable and environmentally friendly operating state.

[0058] The embodiment of the present application provides a fan control method, which is applied to electronic equipment, referring to Figure 2 As shown, the method comprises the following steps:

[0059] Step 201: Determine a target hard disk with degraded read / write performance.

[0060] In an embodiment of the present application, the electronic device can monitor the read and write rates of each hard disk in itself in real time through an additional monitoring channel. When it is detected that the read and write rate of a hard disk is less than a preset read and write rate, it is determined that the storage read and write performance of the hard disk has declined, and the hard disk with the declined storage read and write performance is determined as the target hard disk.

[0061] Step 202: Determine a target fan corresponding to the target hard disk based on one or more of a preset relationship between the target hard disk and the fan, a position relationship between the target hard disk and the fan, and a relationship between fan speed adjustment and a change in read / write performance of the target hard disk.

[0062] There are one or more target fans.

[0063] In the embodiment of the present application, the predefined relationship between the target hard disk and the fan may be a one-to-one preset relationship between the target hard disk and the fan, or a one-to-many preset relationship between the target hard disk and the fan.

[0064] In the embodiment of the present application, the positional relationship between the target hard disk and the fans can be determined based on the distance between the target hard disk and each fan.

[0065] In the embodiment of the present application, the relationship between the fan speed adjustment and the read / write performance change of the target hard disk may be a relationship for determining whether the read / write performance of the target hard disk changes based on the fan speed adjustment.

[0066] In some embodiments, determining the target fan corresponding to the target hard disk based on the preset relationship between the target hard disk and the fan in step 202 can be achieved by the following steps: determining a fan having a preset corresponding relationship with the target hard disk as the target fan.

[0067] In an embodiment of the present application, a one-to-one correspondence or a one-to-many relationship between the target hard disk and the fan is pre-established, thereby obtaining a first mapping relationship between the target hard disk and the fan. After the electronic device determines the target hard disk with degraded read and write performance, the fan corresponding to the target hard disk is searched in the first mapping relationship as the target fan. In this way, in an embodiment of the present application, when the read and write performance of the electronic device is degraded and the target hard disk with degraded read and write performance has been determined, by referring to the pre-established first mapping relationship, the fan or fan group associated with the target hard disk can be quickly locked, which greatly improves the efficiency of fault diagnosis and reduces troubleshooting time. By analyzing the first mapping relationship, the fan configuration that may have a negative impact on the performance of the target hard disk can be identified in advance and adjusted, thereby preventing storage performance degradation and extending the service life of the hardware.

[0068] In some embodiments, in step 202, based on the positional relationship between the target hard disk and the fan, determining the target fan corresponding to the target hard disk can be achieved by the following steps: obtaining the distance between the target hard disk and each fan; determining the fan whose distance is less than the first distance as the target fan.

[0069] In the embodiment of the present application, the first distance is a distance threshold for selecting a fan closest to the target hard disk from all fans, and the first distance may also be a distance threshold for selecting multiple fans closest to the target hard disk from all fans, and fans within the distance threshold have a greater impact on the read and write performance of the hard disk. This application does not make specific restrictions on this.

[0070] In one achievable manner, after determining the target hard disk with reduced read / write performance, the electronic device calculates the distance between the target hard disk and each fan among all fans, selects multiple fans whose distance is less than the first distance from all fans, and determines that the selected fans are the target fans corresponding to the target hard disk; wherein, there is a second mapping relationship between the target hard disk and the selected fans. Thus, firstly, the embodiment of the present application calculates the distance between the target hard disk and all fans, and sets a threshold (first distance) to select fans whose distance meets the conditions. This method can more accurately identify the fans that have the greatest impact on the heat dissipation and vibration of the target hard disk, thereby avoiding blindly adjusting all fans, being more targeted, and improving the accuracy of problem solving. Secondly, since the selected fans are directly related to the microenvironment of the target hard disk, the refined adjustment of their rotation speed can more effectively control the temperature around the hard disk and reduce unnecessary vibration, thereby improving the working conditions of the hard disk and improving the read / write performance. Finally, after establishing the second mapping relationship between the target hard disk and the selected fans, the future maintenance and troubleshooting process will be more simplified. Maintenance personnel can directly refer to the mapping relationship to quickly locate and handle problems and improve work efficiency.

[0071] In another achievable manner, after the electronic device determines the target hard disk with degraded read / write performance, if there is a one-to-many first mapping relationship between the target hard disk and the fan, the electronic device calculates the distance between the target hard disk and the fan with the first mapping relationship, selects one or more fans with a distance less than the first distance from the fans with the first mapping relationship, and determines that the selected fans are the target fans corresponding to the target hard disk; wherein, there is a third mapping relationship between the target hard disk and the selected fans. Thus, firstly, the embodiment of the present application reduces the range of fans that need to calculate the distance by calculating the distance between the target hard disk and all fans with the first mapping relationship, reduces the amount of calculation, and thus improves the efficiency of finding fans that affect the performance degradation of the target hard disk. The computing resources are reduced and the computing efficiency is improved; then, based on the preset first distance threshold, the fans with the most direct impact are selected, and the key fans that have a negative impact on the performance of the target hard disk can be accurately identified. Finally, after identifying the fans with a distance less than the set threshold (first distance) from the target hard disk and having a direct impact, a third mapping relationship is formed, which facilitates the targeted optimization of the operating parameters (such as speed, working mode, etc.) of these fans, while ensuring the heat dissipation efficiency, reducing the interference with the hard disk read / write performance, and realizing the refined management of resources.

[0072] In some embodiments, determining the target fan corresponding to the target hard disk based on the relationship between the fan speed adjustment and the read and write performance change of the target hard disk in step 202 can be achieved through the following steps: adjusting the actual speed of each fan in turn, and obtaining a monitoring result of whether the read and write performance of the target hard disk has changed; if the monitoring result indicates that the read and write performance of the target hard disk has changed, determining that the currently adjusted fan is the target fan.

[0073] In one achievable method, after the electronic device determines the target hard disk with degraded read / write performance, it adjusts the actual rotation speeds of all fans in the electronic device in turn, and after adjusting the rotation speed of each fan, observes whether the read / write performance of the target hard disk changes. If the read / write performance of the target hard disk changes, it determines that the currently adjusted fan causes the read / write performance of the target hard disk to decrease, and determines the currently adjusted fan as the target fan. In this way, by adjusting the fan speeds one by one and observing the results, the embodiment of the present application can directly observe which fan's speed change directly affects the read / write performance of the target hard disk. This method can intuitively and accurately identify the root cause of the problem, avoiding unnecessary assumptions and speculations. Furthermore, the fine-tuning of the fan speeds one by one reflects a highly refined management strategy, which is conducive to discovering and optimizing factors that have subtle effects on system performance, and improving the overall efficiency and stability of the system.

[0074] In another achievable manner, after the electronic device determines the target hard disk with reduced read / write performance, first, obtains a one-to-many target mapping relationship between the target hard disk and the fan, wherein the target mapping relationship includes one or more of the first mapping relationship, the second mapping relationship, and the third mapping relationship. Secondly, the actual rotation speed of the fans in the electronic device that have a target mapping relationship with the target hard disk is adjusted in sequence, and the rotation speed of each fan is adjusted to observe whether the read / write performance of the target hard disk changes. If the read / write performance of the target hard disk changes, it is determined that the currently adjusted fan causes the read / write performance of the target hard disk to decrease, and the currently adjusted fan is determined as the target fan. In this way, firstly, the embodiment of the present application only adjusts the actual rotation speed of the fans that have a target mapping relationship with the target hard disk in a targeted manner, thereby greatly reducing the number of fans that need to adjust the rotation speed, thereby significantly improving the efficiency of the troubleshooting and optimization process, and saving valuable time and resources. Secondly, by adjusting the fan rotation speed one by one and observing the results, it can be directly observed which fan's rotation speed change directly affects the read / write performance of the target hard disk. This method can intuitively and accurately identify the root cause of the problem and avoid unnecessary assumptions and speculations. Finally, the fine-tuning of fan speeds one by one reflects a highly refined management strategy, which helps to discover and optimize factors that have subtle effects on system performance, thereby improving the overall efficiency and stability of the system.

[0075] Step 203: adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions.

[0076] The fan to be adjusted is determined based on the target fan.

[0077] Among them, the characteristic parameters of each component meet the performance conditions including: the temperature of each component meets the corresponding preset temperature condition, and / or the storage read and write performance of the electronic device meets the read and write performance condition, and each component includes a hard disk.

[0078] In some embodiments, the fan to be adjusted includes a target fan, and the actual rotation speed of the fan to be adjusted in step 203 can be adjusted through the following process.

[0079] The actual speed of the target fan is gradually reduced or increased with a first step speed; or,

[0080] Obtain a first weight of the target fan; based on the first weight, gradually reduce or increase the actual rotation speed of the target fan; wherein the weight is determined based on the distance between each fan and the target hard disk, and / or the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in an electronic device.

[0081] In the embodiment of the present application, the first step speed may be a preset fixed speed value, or the first step speed may be determined based on a first percentage value of the maximum speed of the target fan, such as 10%; of course, the first step speed may also be determined based on a second percentage value of the current speed of the target fan, where the first percentage value is different from or the same as the second percentage value. The present application does not impose any specific restrictions on the setting of the first step speed.

[0082] In the embodiment of the present application, the first weight can be determined based on the distance between the target fan and the target hard disk. For example, the closer the distance between the target fan and the target hard disk is, the greater the weight is; on the contrary, the farther the distance between the target fan and the target hard disk is, the smaller the weight is. Of course, the first weight can also be determined by the degree of influence of the target fan on the read and write performance of the target hard disk. For example, the greater the degree of influence of the target fan on the read and write performance of the target hard disk is, the greater the weight is; on the contrary, the greater the degree of influence of the target fan on the read and write performance of the target hard disk is, the smaller the weight is.

[0083] In one achievable manner, after determining that the target hard disk corresponds to the target fan, the actual speed of the target fan is gradually reduced or increased with a first step speed. It should be noted that the embodiment of the present application reduces or increases the actual speed of the target fan with a first step speed; in this way, by adjusting the fan speed in smaller steps, it is possible to achieve refined control of the heat dissipation effect, which helps to more accurately match the current heat dissipation requirements, avoid temperature fluctuations caused by excessive speed adjustment, and maintain stable system operation; at the same time, compared with directly adjusting the fan speed significantly, gradual adjustment can more smoothly achieve the required heat dissipation level and reduce unnecessary energy consumption. At the same time, small step speed adjustment can reduce the noise generated by high-speed operation of the fan.

[0084] Then, after each time the actual speed of the target fan is reduced or increased at the first step speed, the electronic device can detect the temperature of each component in the electronic device and / or the read and write rate of the target hard disk (such as through the BMC); in this way, the electronic device of the embodiment of the present application continuously monitors the temperature of each component and / or the read and write performance of the hard disk, and can capture any temperature changes of each component in the electronic device and / or fluctuations in the read and write performance of the hard disk at the first time.

[0085] Furthermore, the electronic device determines whether the temperature of each component meets the corresponding preset temperature condition, and / or whether the read / write rate of the target hard disk meets the read / write performance condition. If it is determined that the temperature of each component does not meet the corresponding preset temperature condition, and / or the read / write rate of the target hard disk does not meet the read / write performance condition, the actual speed of the target fan is reduced or increased at the first step speed; thus, the electronic device timely adjusts the fan speed to cope with the above conditions. This instant feedback mechanism ensures a quick response to heat dissipation needs and achieves more refined temperature control.

[0086] Of course, if the electronic device determines that the temperature of each component meets the corresponding preset temperature conditions, and / or the read and write rates of the target hard disk meet the read and write performance conditions, stop reducing or increasing the actual speed of the target fan at the first incremental speed. In this way, the adjustment is stopped after the ideal heat dissipation effect is achieved, thereby avoiding energy waste caused by excessive heat dissipation, helping to reduce the system failure rate, and ensuring stable and continuous operation of electronic equipment, which is especially important for data processing and storage intensive applications. At the same time, timely stopping unnecessary fan speed adjustments can reduce power consumption, reduce operating costs, and reduce wear on motors and other mechanical components in electronic equipment, thereby extending service life.

[0087] In another possible implementation, after determining that the target hard disk corresponds to the target fan, the first weight of the target fan relative to the target hard disk is obtained, and the actual rotation speed of the target fan is gradually reduced or increased based on the first weight. It should be noted that the embodiment of the present application reduces or increases the actual rotation speed of the target fan based on the first weight; in this way, the embodiment of the present application dynamically adjusts the actual rotation speed of the target fan according to the distance between the target fan and the target hard disk and the degree of influence, and can more accurately guide cold air to key areas that require heat dissipation, especially around hard disks with heavy workloads or high temperatures. This can not only effectively dissipate heat, but also avoid overcooling other components, thereby saving energy.

[0088] Then, each time after lowering or increasing the actual speed of the target fan based on the first weight, the electronic device can detect the temperature of each component in the electronic device and / or the read and write rate of the target hard disk (such as through the BMC); in this way, the electronic device of the embodiment of the present application continuously monitors the temperature of each component and / or the read and write performance of the hard disk, and can capture any temperature changes of each component in the electronic device and / or fluctuations in the read and write performance of the hard disk at the first time.

[0089] Furthermore, the electronic device determines whether the temperature of each component meets the corresponding preset temperature condition, and / or whether the read and write rate of the target hard disk meets the read and write performance condition. If it is determined that the temperature of each component does not meet the corresponding preset temperature condition, and / or the read and write rate of the target hard disk does not meet the read and write performance condition, the actual speed of the target fan is further reduced or increased based on the first weight. In this way, the electronic device adjusts the fan speed in time to cope with the above conditions. This instant feedback mechanism ensures a rapid response to heat dissipation needs and achieves more refined temperature control.

[0090] Of course, if the electronic device determines that the temperature of each component meets the corresponding preset temperature conditions, and / or the read and write rates of the target hard disk meet the read and write performance conditions, stop reducing or increasing the actual speed of the target fan based on the first weight. In this way, excessive cooling or overheating can be avoided, and the hardware can be maintained within the most suitable operating temperature range, which helps to reduce the system failure rate and ensure the stable and continuous operation of the electronic equipment, which is especially important for data processing and storage intensive applications. At the same time, timely stopping unnecessary fan speed adjustments can reduce power consumption and operating costs, while reducing the wear of motors and other mechanical components in electronic equipment and extending service life.

[0091] In some embodiments, the fans to be adjusted also include the remaining fans among all the fans except the target fan. Adjusting the actual rotation speed of the fans to be adjusted in step 203 can be achieved through the following process.

[0092] The actual speed of the target fan is gradually reduced or increased with a first step speed, and the actual speed of the remaining fans is gradually increased or reduced with a second step speed, and the first step speed is the same as or different from the second step speed; or

[0093] Obtain a first weight of a target fan and a second weight of remaining fans; gradually reduce or increase the actual rotation speed of the target fan based on the first weight, and gradually increase or reduce the actual rotation speed of remaining fans based on the second weight; wherein the weight is determined based on the distance between each fan and a target hard disk, and / or the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in an electronic device.

[0094] In the embodiment of the present application, the first step speed may be a preset fixed speed value, or the first step speed may be determined based on a first percentage value of the maximum speed of the target fan, such as 10%; of course, the first step speed may also be determined based on a second percentage value of the current speed of the target fan, where the first percentage value is different from the second percentage value. The present application does not impose any specific restrictions on the setting of the first step speed.

[0095] In an embodiment of the present application, the remaining fans may be other fans among all fans except the target fan, and the remaining fans may also be other fans except the target fan among fans that have a one-to-many target mapping relationship with the target hard disk; wherein the target mapping relationship includes one or more of the first mapping relationship, the second mapping relationship and the third mapping relationship.

[0096] In an embodiment of the present application, the second step speed may be a preset fixed speed value, or the second step speed may be determined based on a third percentage value of the maximum speed of each of the remaining fans, and / or the distance between each fan and the target hard disk; of course, the second step speed may also be determined based on a fourth percentage value of the current speed corresponding to each of the remaining fans, where the third percentage value is different from or the same as the fourth percentage value. The second step speed is less than the first step speed. The present application does not impose any specific restrictions on the setting of the second step speed.

[0097] In the embodiment of the present application, the first weight can be determined based on the distance between the target fan and the target hard disk. For example, the closer the distance between the target fan and the target hard disk is, the greater the weight is; on the contrary, the farther the distance between the target fan and the target hard disk is, the smaller the weight is. Of course, the first weight can also be determined by the degree of influence of the target fan on the read and write performance of the target hard disk. For example, the greater the degree of influence of the target fan on the read and write performance of the target hard disk is, the greater the weight is; on the contrary, the smaller the degree of influence of the target fan on the read and write performance of the target hard disk is, the smaller the weight is.

[0098] In an embodiment of the present application, the second weight may be determined based on the distance between each of the remaining fans and the target hard disk. For example, the closer the distance between each of the remaining fans and the target hard disk is, the greater the weight is; on the contrary, the farther the distance between each of the remaining fans and the target hard disk is, the smaller the weight is. Of course, the second weight may also be determined by the degree of influence of each of the remaining fans on the read and write performance of the target hard disk. For example, the greater the degree of influence of each of the remaining fans on the read and write performance of the target hard disk is, the smaller the weight is; on the contrary, the smaller the degree of influence of each of the remaining fans on the read and write performance of the target hard disk is, the greater the weight is. It should be noted that the second weight is much smaller than the first weight.

[0099] In one achievable manner, after determining that the target hard disk corresponds to the target fan, the actual speed of the target fan is gradually reduced or increased with a first step speed, and the actual speed of the remaining fans is gradually increased or reduced with a second step speed different from the first step speed. It should be noted that the embodiment of the present application reduces or increases the actual speed of the target fan with a first step speed, and increases or reduces the actual speed of the remaining fans with a second step speed different from the first step speed; in this way, according to the location of different fans and the degree of direct impact on the target hard disk, the speed is adjusted by different steps, which can more accurately match the actual heat dissipation requirements of each area and realize differentiated heat dissipation management. In this way, it can effectively strengthen the heat dissipation for hot spots and avoid unnecessary wind flow interference or energy consumption increase for the entire system. At the same time, a more refined first step speed adjustment is adopted for the target fan that directly affects the heat dissipation of the target hard disk, which may achieve the ideal heat dissipation effect faster and reduce energy consumption. At the same time, adopting different second step speeds for other fans can further optimize energy consumption and improve system energy efficiency under the premise of ensuring the overall heat dissipation requirements. By adjusting the fan speed in smaller steps, the cooling effect can be finely controlled, which helps to more accurately match the current cooling needs, avoid temperature fluctuations caused by excessive speed adjustment, and maintain stable system operation; at the same time, compared with directly adjusting the fan speed by a large amount, gradual adjustment can more smoothly achieve the required cooling level and reduce unnecessary energy consumption. At the same time, small-step speed adjustment can reduce the noise generated by high-speed fan operation.

[0100] Then, after each time the actual speed of the target fan is reduced or increased at the first step speed and the actual speed of the remaining fans is increased or reduced at the second step speed different from the first step speed, the electronic device can (such as through the BMC) detect the temperature of each component in the electronic device and / or the read and write rate of the target hard disk; in this way, the electronic device of the embodiment of the present application continuously monitors the temperature of each component and / or the read and write performance of the hard disk, and can capture any temperature changes of each component in the electronic device and / or fluctuations in the read and write performance of the hard disk at the first time.

[0101] Furthermore, the electronic device determines whether the temperature of each component meets the corresponding preset temperature condition, and / or whether the read / write rate of the target hard disk meets the read / write performance condition. If it is determined that the temperature of each component does not meet the corresponding preset temperature condition, and / or the read / write rate of the target hard disk does not meet the read / write performance condition, the actual speed of the target fan is continued to be reduced or increased at the first step speed, and the actual speed of the remaining fans is increased or reduced at the second step speed different from the first step speed; in this way, the electronic device timely adjusts the fan speed to respond based on the above conditions. This instant feedback mechanism ensures a rapid response to heat dissipation needs and achieves more refined temperature control.

[0102] Of course, if the electronic device determines that the temperature of each component meets the corresponding preset temperature conditions, and / or the read and write rates of the target hard disk meet the read and write performance conditions, stop reducing or increasing the actual speed of the target fan at the first step speed, and increase or reduce the actual speed of the remaining fans at a second step speed different from the first step speed. In this way, the adjustment is stopped after the ideal heat dissipation effect is achieved, thereby avoiding energy waste caused by excessive heat dissipation, helping to reduce the system failure rate, and ensuring stable and continuous operation of electronic equipment, which is especially important for data processing and storage intensive applications. At the same time, timely stopping unnecessary fan speed adjustments can reduce power consumption, reduce operating costs, and reduce wear on motors and other mechanical components in electronic equipment, thereby extending service life.

[0103] In another achievable manner, after determining that the target hard disk corresponds to the target fan, the first weight of the target fan relative to the target hard disk is obtained, and the actual speed of the target fan is successively reduced or increased based on the first weight. It should be noted that the embodiment of the present application reduces or increases the actual speed of the target fan based on the first weight, and increases or reduces the actual speed of the remaining fans based on the second weight; in this way, the embodiment of the present application gives a higher weight (first weight) to the target fan that directly affects the heat dissipation of the target hard disk, and gives priority to adjusting its speed, which can achieve the ideal heat dissipation effect faster and reduce energy consumption. The adjustment of other fans with a smaller weight (second weight) is more conservative, ensuring the maximization of overall energy efficiency. According to the location of different target fans and the degree of direct influence on the target hard disk, as well as the degree of direct influence of the location of the remaining fans on the target hard disk, different weights are used to adjust the actual speeds of the target fans and the remaining fans in two different directions (increase or decrease), respectively, which can more accurately match the actual heat dissipation requirements of each area and realize differentiated heat dissipation management. In this way, it can effectively strengthen heat dissipation for hot spots and avoid unnecessary wind flow interference or energy consumption increase to the entire system. At the same time, a more refined first-step speed adjustment is used for the target fan that directly affects the heat dissipation of the target hard disk, which may achieve the ideal heat dissipation effect faster and reduce energy consumption. At the same time, different second-step speeds are used for other fans, which can further optimize energy consumption and improve system energy efficiency while ensuring the overall heat dissipation requirements. Based on a smaller weight, adjusting the fan speed can achieve refined control of the heat dissipation effect, which helps to more accurately match the current heat dissipation requirements, avoid temperature fluctuations caused by excessive speed adjustment, and maintain stable system operation; at the same time, compared with directly adjusting the fan speed significantly, gradual adjustment can more smoothly achieve the required heat dissipation level and reduce unnecessary energy consumption. At the same time, speed adjustment with a smaller weight can reduce the noise generated by high-speed operation of the fan.

[0104] Then, each time after lowering or increasing the actual speed of the target fan based on the first weight and increasing or lowering the actual speed of the remaining fans based on the second weight, the electronic device can detect the temperature of each component in the electronic device and / or the read and write rate of the target hard disk (such as through the BMC); in this way, the electronic device of the embodiment of the present application continuously monitors the temperature of each component and / or the read and write performance of the hard disk, and can capture any temperature changes of each component in the electronic device and / or fluctuations in the read and write performance of the hard disk at the first time.

[0105] Furthermore, the electronic device determines whether the temperature of each component meets the corresponding preset temperature conditions, and / or whether the read and write rate of the target hard disk meets the read and write performance conditions. If it is determined that the temperature of each component does not meet the corresponding preset temperature conditions, and / or the read and write rate of the target hard disk does not meet the read and write performance conditions, the actual speed of the target fan is continuously reduced or increased based on the first weight, and the actual speed of the remaining fans is gradually increased or reduced based on the second weight. In this way, the electronic device timely adjusts the fan speed to respond based on the above conditions. This instant feedback mechanism ensures a rapid response to heat dissipation needs and achieves more refined temperature control.

[0106] Of course, if the electronic device determines that the temperature of each component meets the corresponding preset temperature conditions, and / or the read and write rates of the target hard disk meet the read and write performance conditions, stop reducing or increasing the actual speed of the target fan based on the first weight, and gradually increase or reduce the actual speed of the remaining fans based on the second weight. In this way, excessive cooling or overheating can be avoided, and the hardware can be maintained within the most suitable operating temperature range, which helps to reduce the system failure rate and ensure the stable and continuous operation of electronic equipment, which is especially important for data processing and storage intensive applications. At the same time, timely stopping unnecessary fan speed adjustments can reduce power consumption and operating costs, while reducing the wear of motors and other mechanical components in electronic equipment and extending their service life.

[0107] In some embodiments, the actual speed of the fan to be adjusted may be adjusted once or multiple times. After each adjustment of the actual speed of the fan to be adjusted, the following steps may be performed: Figure 3 Steps shown.

[0108] Step 301: After the current speed of the fan to be adjusted is adjusted each time, the current temperature of each component is obtained.

[0109] The current rotation speed includes: the adjusted actual rotation speed and / or the actual rotation speed.

[0110] In the embodiments of the present application, each component may be all components in the electronic device, and each component may also be a key component in the electronic device, and the present application does not make any specific limitation on this.

[0111] In the embodiment of the present application, the current temperature is the temperature of the component at the current moment after the current speed of the fan to be adjusted is adjusted.

[0112] In the embodiment of the present application, since the electronic device can gradually adjust the speed of the fan to be adjusted with a step speed or a weight, each time the electronic device adjusts the current speed of the fan to be adjusted, the electronic device can detect the temperature of each component in the electronic device through the BMC. In this way, after the electronic device adjusts the speed of the fan, it can capture any temperature changes of the components in the electronic device in the first time, so as to determine whether the components in the electronic device meet the corresponding preset temperature conditions; further, by finely adjusting the fan speed, the temperature of each component inside the electronic device can be maintained within an ideal range, thereby avoiding local overheating and extending the service life of the hardware.

[0113] Step 302: If the current temperatures do not meet the corresponding preset temperature conditions, continue to adjust the current speed of the fan to be adjusted until the current temperature of each component meets the corresponding preset temperature conditions.

[0114] In the embodiment of the present application, after each adjustment of the actual speed after adjustment or the actual speed of the fan to be adjusted, the current temperature of each component is obtained. If each current temperature does not meet the corresponding preset temperature condition, the current speed of the fan to be adjusted is adjusted continuously until the current temperature of each component meets the corresponding preset temperature condition. In this way, since the stability of temperature is directly related to the stability of the performance of the electronic device, the temperature can be controlled by adjusting the fan speed in real time in a multi-stage refined manner, which can reduce the performance degradation or system instability caused by overheating, ensure continuous high-performance output, ensure stable and efficient operation of the system, and improve the reliability of the system and the stability of long-term operation.

[0115] Step 303: If the current temperature of each component meets the corresponding preset temperature condition, the current read and write rate of the target hard disk is obtained.

[0116] The target hard disk is a hard disk in an electronic device with degraded storage read and write performance.

[0117] In the embodiment of the present application, in order to ensure the stability and reliability of the electronic device, first ensure that the operating temperature of each component is maintained within a safe range, that is, monitor the current temperature of the components in the electronic device in real time to ensure that they do not exceed the temperature threshold set by each component. The temperature threshold is intended to prevent performance degradation or hardware damage caused by overheating, and is the basis for ensuring the normal operation of the device. Complying with the temperature threshold is the first line of defense to prevent overheating damage. Because before any performance optimization is performed, first ensure that the temperature of all components meets the safety standards. Only when the temperature of all components is under control, that is, it does not exceed the respective temperature threshold, can other performance adjustments be further considered. Further, on the basis of completing the temperature management, the read and write performance of the hard disk is further considered, especially the monitoring of the read and write rate of the hard disk, and the current read and write rate of the target hard disk is obtained, which is used as the basis for evaluating whether the fan speed continues to be adjusted. Here, based on the actual read and write rate of the target hard disk, it is analyzed whether it is necessary to further adjust the fan speed related to it. If the read and write rate fails to meet expectations or there is a downward trend, consider optimizing the heat dissipation conditions by adjusting the fan speed to indirectly improve the hard disk performance.

[0118] Step 304: If the current read / write rate does not meet the read / write performance condition, continue to adjust the current speed of the fan to be adjusted until the current temperature of each component meets the corresponding preset temperature condition and the current read / write rate of the target hard disk meets the read / write performance condition.

[0119] Among them, read and write performance includes read and write rate.

[0120] In the embodiment of the present application, the current read / write rate meets the read / write performance conditions including: the current read / write rate is greater than or equal to the preset read / write rate, and the preset read / write rate is used to ensure that the hard disk performance in the electronic device is maximized to meet the needs of efficient data processing.

[0121] In the embodiment of the present application, when the current read / write rate of the target hard disk does not meet the read / write performance condition, the current speed of the fan to be adjusted is adjusted once or multiple times. After each adjustment of the actual speed or actual speed of the fan to be adjusted, the current temperature of each component is obtained. If each current temperature meets the corresponding preset temperature condition, the current read / write rate of the target hard disk is obtained until the current temperature of each component meets the corresponding preset temperature condition, and the current read / write rate of the target hard disk meets the read / write performance condition. As can be seen from the above, when the read / write rate of the target hard disk does not meet the standard, the fan speed is adjusted carefully, and the temperature of the components and the read / write rate of the target hard disk are monitored after each adjustment until both the temperature threshold and the performance standard are met. In this way, by continuously monitoring and ensuring that the temperature of all components is maintained within the preset safety range, hardware damage and system failure caused by overheating are effectively prevented, and the overall stability and operation safety of the electronic device are improved. And the fan speed is adjusted in a targeted manner, the heat dissipation conditions of the target hard disk are improved and unnecessary vibration interference is reduced, which directly promotes the improvement of the hard disk read / write rate until the expected performance index is reached, and the data processing efficiency and the response speed of the storage subsystem are guaranteed. Finally, while ensuring that the temperature and performance meet the standards, unnecessary high-speed operation of the fan is avoided, energy consumption is reduced, which is conducive to energy conservation, emission reduction and lower operating costs.

[0122] In summary, since temperature stability is directly related to the stability of electronic equipment performance, controlling temperature by fine-tuning fan speed in real time in multiple stages can reduce performance degradation or system instability caused by overheating, ensure continuous high-performance output, ensure stable and efficient system operation, and improve system reliability and long-term operation stability.

[0123] In some embodiments, before the actual speed of the fan to be adjusted is adjusted in step 203, the following steps may be performed: Figure 4 Steps shown.

[0124] Step 401: Determine the risk speed range of each fan.

[0125] Wherein, each fan includes a target fan.

[0126] In the embodiment of the present application, the risk speed interval can be determined based on the following two methods:

[0127] Method 1: Determined based on the obtained vibration frequency of the fan and the sensitive frequency of the hard disk.

[0128] Here, there are different ways to obtain the vibration frequency of the fan. For example, it can be obtained by the current rotation speed of the fan. If the current vibration frequency of the fan is obtained by the current rotation speed of the fan, then it is naturally necessary to first obtain the current rotation speed of the fan. To obtain the current rotation speed of the fan, there are also different ways to obtain it, such as monitoring the rotation speed of the fan in real time through the BMC. In this regard, the embodiments of the present application do not make specific restrictions.

[0129] Here, the sensitive frequency of the hard disk may include a frequency that can cause the hard disk to resonate. The sensitive frequency of a hard disk may include at least one of a frequency point and a frequency band. For example, the sensitive frequency of a hard disk may include at least one frequency point and / or at least one frequency band. Optionally, the sensitive frequency of the hard disk may be provided by the manufacturer when the hard disk is produced, for example, it may be obtained through the manual of the hard disk provided by the manufacturer, or it may be obtained by testing and measuring the hard disk. This embodiment of the application does not impose any specific restrictions on this.

[0130] In actual applications, when the vibration frequency of the fan is close to or equal to the sensitive frequency of the hard disk, it may cause the hard disk read / write head to jump or the internal structure to resonate, affecting the data reading and writing performance, or even causing physical damage. Therefore, the embodiment of the present application obtains the current vibration frequency of each fan and the sensitive frequency of each hard disk, compares the vibration frequency of each fan with the sensitive frequency of each hard disk, and finds the matching result of the overlapping area between the two. Further, based on the above matching results, the specific speed range of each fan relative to each hard disk is determined. It should be noted that within this specific speed range, its vibration frequency matches the sensitive frequency of the hard disk, constituting a risk speed range.

[0131] Method 2: When there is a target hard disk with reduced read and write performance in the electronic device, for the target fan corresponding to the target hard disk, the speed value of the target fan is gradually reduced until the read and write rate of the target hard disk returns to normal, and the upper limit speed value of the target fan is recorded; further, the speed value of the target fan is gradually increased until the read and write rate of the target hard disk returns to normal, and the lower limit speed value of the target fan is recorded; and the interval formed by the upper limit speed value and the lower limit speed value is determined as the fan speed interval.

[0132] Step 402: Determine the safe speed range corresponding to each fan based on the risk speed range.

[0133] In the embodiment of the present application, within the preset interval, the risk speed interval is eliminated to obtain the safe speed interval corresponding to the fan.

[0134] Furthermore, adjusting the actual rotation speed of the fan to be adjusted in executing step 203 includes the following step 403 .

[0135] Step 403: Adjust the actual speed of the fan to be adjusted within the safe speed range corresponding to the fan to be adjusted, so that the characteristic parameters of the components in the electronic device meet the performance conditions.

[0136] In the embodiment of the present application, after the electronic device determines the safe speed interval corresponding to each fan, the actual speed of the fan to be adjusted is adjusted within the safe speed interval corresponding to the fan to be adjusted, so that the characteristic parameters of the components in the electronic device meet the performance conditions. In this way, within the determined safe speed interval, a method of gradually adjusting the fan speed by a small amplitude is adopted. After each adjustment, the system status, especially the read and write rate of the target hard disk and the temperature of the components in the system, must be monitored. Further, the hard disk read and write rate is monitored in real time. If the read and write rate begins to rise or stabilizes at a satisfactory level, it means that the current fan speed is appropriate; if the read and write rate decreases, it may be necessary to go back to the previous speed or try a lower speed; in this way, through careful adjustment, the read and write performance of the hard disk is effectively improved or restored to ensure data processing efficiency. At the same time, ensure that the temperature of the components is maintained within a safe range during all adjustments to avoid overheating. Vibration sensor monitoring is used to avoid system resonance caused by fan speed adjustment. Hard disk performance attenuation caused by physical interference such as resonance is avoided, and system stability is enhanced.

[0137] Next, we will discuss a possible application scenario. The heat dissipation pressure caused by the continuous increase in power consumption of electronic equipment such as server systems has increased dramatically. The fan speed has increased rapidly, which has brought stronger air volume and also generated higher vibration and noise. The impact of system fan noise is a key factor causing the hard disk read and write performance to decline (Performance Loss Validation, PLV). In response to the PLV problem, related technologies directly limit the maximum fan speed value to ensure that the PLV risk is reduced, resulting in performance waste and reducing the system's maximum heat dissipation capacity.

[0138] In order to solve the above problems, the present application provides a fan control method. Figure 5 As shown, the method includes the following steps.

[0139] Step 501: Continuously monitor the read and write rate of the hard disk in the electronic device and the actual rotation speed of each fan.

[0140] Here, the electronic device can monitor the read and write rates of each hard disk by adding a channel monitoring of the hard disk read and write rates through channels such as BMC or WEB, thereby realizing the monitoring of the read and write rates of each hard disk.

[0141] In some embodiments, while detecting the actual speed of the fan, the fan speed that causes the PLV problem can also be collected through the fan's operating data, and the risk speed range can be accurately determined. When adjusting the fan speed, the risk speed range can be automatically avoided to avoid risks. For example, if the running fans include fans 0, 1, 2, and 3, if fan 0 causes the PLV problem of the hard disk, for fan 0, the upper limit speed value is gradually reduced by X RPM from the real-time speed value until the hard disk read and write rate returns to normal, and the upper limit speed value is recorded. Similarly, the lower limit speed value is obtained, and the speed range is avoided from the speed control strategy; for the remaining fans, the system increases the fan speed, and similarly obtains the risk speed range for avoidance. After the PLV problem disappears, fans 0-3 take speed values ​​within the safe speed range. If fans 0 and 1 cause PLV problems at the same time, they are solved in the same way.

[0142] Step 502: If it is detected that the read / write rate of the hard disk decreases, determine whether the fan speed reaches a preset speed risk value.

[0143] In an embodiment of the present application, when the electronic device recognizes that the hard disk read and write rate has dropped, the real-time speed of the fan in the running state in the electronic device is read, and it is determined whether the real-time speed exceeds the preset speed risk value, so as to determine whether the PLV problem is caused by the fan speed being too high.

[0144] Here, the embodiment of the present application determines whether the rotation speed of the fan in the electronic device reaches a preset rotation speed risk value. If so, step 503 is executed; if not, the process returns to step 501 to continue monitoring.

[0145] Step 503: locate the wrong WORSE hard disk and determine the position of the system fan that causes the PLV problem.

[0146] Here, if the read and write rate of the hard disk is lower than the preset read and write rate corresponding to the hard disk, the hard disk is determined to be a WORSE hard disk (corresponding to the target hard disk mentioned above); further, based on the relationship between the hard disk and the fan, the target fan that causes the PLV problem of the WORSE hard disk is determined.

[0147] Step 504: Reduce the rotation speed of the target fan.

[0148] Here, if the speed of the target fan is A1 revolutions per minute (RPM), the electronic device can reduce the speed of the target fan by the first step speed T1 or the first weight W1 to obtain a speed A2 of the target fan after one reduction.

[0149] It should be noted that after executing step 504, you can continue to execute step 505 or step 506. This application does not make any specific restrictions on this.

[0150] Step 505: Increase the rotation speed of the remaining fans.

[0151] Here, the remaining fans include all fans in operation except the target fan.

[0152] Here, if the rotation speed of each of the remaining fans is B1RPM, the electronic device can increase the rotation speed of each of the remaining fans by the second step speed T2 or the second weight W2 to obtain a reduced rotation speed B2 of each of the remaining fans.

[0153] It should be noted that the rotation speed of each of the remaining fans is different, and the closer the distance between each of the remaining fans and the WORSE disk is, the smaller the second step speed T2 or the second weight W2 is, and the second step speed T2 is less than the first step speed T1, and the second weight W2 is less than the first weight W1.

[0154] Step 506: Detect whether the temperature value of each sensor in the electronic device is within the fluctuation range.

[0155] Here, the electronic device monitors the temperature change value of the sensor (SENSOR) inside itself caused by the change of fan speed, and determines whether the temperature after the sensor change is within the fluctuation range corresponding to the sensor (corresponding to the above-mentioned preset temperature condition). If it exceeds the fluctuation range, return to step 504 to continue execution; if it does not exceed the fluctuation range, execute step 507.

[0156] Step 507: Read the current read and write rate of the WORSE hard disk.

[0157] Step 508: Determine whether the current read / write rate has recovered to the specified read / write rate threshold.

[0158] Here, the electronic device determines whether the current read / write rate has recovered the specified read / write rate threshold. If so, the adjustment is completed and the PLV risk is resolved; if not, the process returns to step 504 to continue. In this way, the embodiment of the present application adjusts the fan speed in real time to avoid fan performance loss and improve heat dissipation capacity.

[0159] The embodiment of the present application provides a fan control device, which can be used to implement Figures 1 to 4 A fan control method provided by a corresponding embodiment, referring to Figure 6 As shown, the fan control device 6 includes:

[0160] The determination module 601 is used to determine the target fan that causes the storage read / write performance of the electronic device to decrease based on the relationship between the hard disk and the fan in the electronic device; wherein the target fan is one or part of all the fans;

[0161] The adjustment module 602 is used to adjust the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan; wherein the characteristic parameters of each component meet the performance conditions include: the temperature of each component meets the corresponding preset temperature condition, and / or, the storage read and write performance of the electronic device meets the read and write performance conditions, and each component includes a hard disk.

[0162] In some embodiments of the present application, the determination module 601 is also used to determine a target hard disk with reduced read and write performance; based on one or more of a pre-set relationship between the target hard disk and the fan, a positional relationship between the target hard disk and the fan, and a relationship between the fan speed adjustment and the read and write performance change of the target hard disk, determine the target fan corresponding to the target hard disk, wherein the target fan is one or more.

[0163] In some embodiments of the present application, the determination module 601 is also used to determine that a fan having a preset corresponding relationship with the target hard disk is the target fan; obtain the distance between the target hard disk and each fan; determine that the fan whose distance is less than the first distance is the target fan; traverse and adjust the actual rotation speed of each fan in turn, and obtain a monitoring result of whether the read and write performance of the target hard disk has changed; if the monitoring result indicates that the read and write performance of the target hard disk has changed, determine that the currently adjusted fan is the target fan.

[0164] In some embodiments of the present application, the adjustment module 602 is also used to gradually reduce or increase the actual speed of the target fan with a first step speed; or, obtain a first weight of the target fan; and gradually reduce or increase the actual speed of the target fan based on the first weight; wherein the weight is determined based on the distance between each fan and the target hard disk, and / or the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in an electronic device.

[0165] In some embodiments of the present application, the adjustment module 602 is also used to gradually reduce or increase the actual speed of the target fan with a first step speed, and gradually increase or reduce the actual speed of the remaining fans with a second step speed, and the first step speed is the same as or different from the second step speed; or, obtain a first weight of the target fan and a second weight of the remaining fans; based on the first weight, gradually reduce or increase the actual speed of the target fan, and based on the second weight, gradually increase or reduce the actual speed of the remaining fans; wherein the weight is determined based on the distance between each fan and the target hard disk, and / or, the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in an electronic device.

[0166] In some embodiments of the present application, the adjustment module 602 is also used to obtain the current temperature of each component after each adjustment of the current speed of the fan to be adjusted; wherein the current speed includes: the actual speed after adjustment and / or the actual speed; if each current temperature does not meet the corresponding preset temperature conditions, continue to adjust the current speed of the fan to be adjusted until the current temperature of each component meets the corresponding preset temperature conditions.

[0167] In some embodiments of the present application, the adjustment module 602 is also used to obtain the current read and write rate of the target hard disk if the current temperature of each component meets the corresponding preset temperature condition, and the target hard disk is a hard disk with reduced storage read and write performance in the electronic device; if the current read and write rate does not meet the read and write performance condition, continue to adjust the current speed of the fan to be adjusted until the current temperature of each component meets the corresponding preset temperature condition and the current read and write rate of the target hard disk meets the read and write performance condition; wherein the read and write performance includes the read and write rate.

[0168] In some embodiments of the present application, the characteristic parameters of each component meeting the performance conditions also include: the sum of the rotational speeds of all fans after adjustment is the same as or close to the sum of the rotational speeds before adjustment.

[0169] In some embodiments of the present application, the adjustment module 602 is also used to determine the risk speed range of each fan; based on the risk speed range, determine the safe speed range corresponding to each fan; within the safe speed range corresponding to the fan to be adjusted, adjust the actual speed of the fan to be adjusted so that the characteristic parameters of the components in the electronic device meet the performance conditions.

[0170] Based on the foregoing embodiments, the electronic device can be used for Figures 1 to 4 A fan control method provided by a corresponding embodiment, referring to Figure 7 As shown, the electronic device 7 ( Figure 7 Electronic devices 7 and Figure 6 The fan control device 6 in FIG. 1 includes: a processor 701, a memory 702 and a communication bus 703, wherein:

[0171] The communication bus 703 is used to realize the communication connection between the processor 701 and the memory 702;

[0172] The processor 701 is used to execute the fan control program stored in the memory 702 to implement the following steps:

[0173] Based on the relationship between the hard disk and the fan in the electronic device, determine the target fan that causes the storage read and write performance of the electronic device to decrease; wherein the target fan is one or part of all the fans;

[0174] Adjust the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan; wherein the characteristic parameters of each component meet the performance conditions include: the temperature of each component meets the corresponding preset temperature condition, and / or, the storage read and write performance of the electronic device meets the read and write performance condition, and each component includes a hard disk.

[0175] The method provided in the embodiment of the present application can be directly embodied as a combination of software modules executed by the processor 701. The software module can be located in a storage medium, and the storage medium is located in the memory 702. The processor 701 reads the executable instructions included in the software module in the memory 702, and completes the method provided in the embodiment of the present application in combination with the necessary hardware.

[0176] As an example, the processor 701 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0177] It should be noted that the specific implementation process of the steps executed by the processor in this embodiment can refer to Figures 1 to 4 The implementation process of the fan control method provided in the corresponding embodiment will not be repeated here.

[0178] An embodiment of the present application provides a storage medium storing a computer program. When the computer program is executed by at least one processor, Figures 1 to 4 The implementation process of the fan control method provided in the corresponding embodiment will not be repeated here.

[0179] The present application provides a computer program product, including a computer program or an instruction. When the computer program or the instruction is executed by a processor, Figures 1 to 4 The implementation process of the fan control method provided in the corresponding embodiment will not be repeated here.

[0180] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0181] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0182] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0184] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A fan control method, the method comprising: Based on the relationship between the hard disk and the fan in the electronic device, determine the target fan that causes the storage read and write performance of the electronic device to decrease; wherein the target fan is one or part of all the fans; Adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of each component in the electronic device meet the performance conditions; wherein the fan to be adjusted is determined based on the target fan; Among them, the characteristic parameters of each component meeting the performance conditions include: the temperature of each component meeting the corresponding preset temperature condition, and / or the storage read and write performance of the electronic device meeting the read and write performance condition, and the components include a hard disk.

2. The method according to claim 1, wherein determining the target fan that causes the storage read / write performance of the electronic device to decrease based on the relationship between the hard disk and the fan in the electronic device comprises: Identify the target hard disk with degraded read / write performance; Based on one or more of a pre-set relationship between the target hard disk and the fan, a positional relationship between the target hard disk and the fan, and a relationship between an adjustment of the fan speed and a change in the read and write performance of the target hard disk, the target fan corresponding to the target hard disk is determined, wherein the target fan is one or more.

3. The method according to claim 2, The determining the target fan corresponding to the target hard disk based on a preset relationship between the target hard disk and the fan includes: Determine a fan having a preset corresponding relationship with the target hard disk as the target fan; The step of determining the target fan corresponding to the target hard disk based on the positional relationship between the target hard disk and the fan comprises: obtaining the distance between the target hard disk and each fan; and determining that the fan whose distance is less than a first distance is the target fan; The target fan corresponding to the target hard disk is determined based on the relationship between the fan speed adjustment and the change in the read and write performance of the target hard disk, including: traversing and adjusting the actual speed of each fan in turn, and obtaining a monitoring result of whether the read and write performance of the target hard disk has changed; if the monitoring result indicates that the read and write performance of the target hard disk has changed, determining that the fan currently being adjusted is the target fan.

4. The method according to any one of claims 1 to 3, wherein adjusting the actual rotation speed of the fan to be adjusted comprises: gradually reducing or increasing the actual speed of the target fan at a first step speed; or, Obtaining a first weight of the target fan; Based on the first weight, the actual rotation speed of the target fan is gradually reduced or increased; wherein the weight is determined based on the distance between each fan and the target hard disk, and / or the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in the electronic device.

5. The method according to any one of claims 1 to 3, wherein the fans to be adjusted further include the remaining fans among all fans except the target fan, and the adjusting the actual rotation speed of the fans to be adjusted comprises: The actual speed of the target fan is gradually reduced or increased with a first step speed, and the actual speed of the remaining fans is gradually increased or reduced with a second step speed, wherein the first step speed is the same as or different from the second step speed; or, Obtain a first weight of the target fan and a second weight of the remaining fans; gradually reduce or increase the actual rotation speed of the target fan based on the first weight, and gradually increase or reduce the actual rotation speed of the remaining fans based on the second weight; wherein the weight is determined based on the distance between each fan and the target hard disk, and / or the degree of influence of each fan on the target hard disk, and the target hard disk is a hard disk with reduced storage read and write performance in the electronic device.

6. The method according to any one of claims 1 to 3, wherein the actual speed of the fan to be adjusted is adjusted once or more times, and the method further comprises: After each adjustment of the current speed of the fan to be adjusted, the current temperature of each of the components is obtained; wherein the current speed includes: the actual speed after adjustment and / or the actual speed; If the current temperatures do not meet the corresponding preset temperature conditions, the current rotation speed of the fan to be adjusted continues to be adjusted until the current temperatures of the components meet the corresponding preset temperature conditions.

7. The method according to claim 6, further comprising: If the current temperature of each of the components meets the corresponding preset temperature condition, obtaining the current read / write rate of the target hard disk, the target hard disk being a hard disk with reduced storage read / write performance in the electronic device; If the current read and write rate does not meet the read and write performance condition, continue to adjust the current speed of the fan to be adjusted until the current temperature of each of the components meets the corresponding preset temperature condition and the current read and write rate of the target hard disk meets the read and write performance condition; wherein the read and write performance includes the read and write rate.

8. The method according to any one of claims 1 to 3, wherein the characteristic parameters of each component meet the performance conditions and further comprises: The sum of the speeds of all fans after adjustment is the same as or close to the sum of the speeds before adjustment.

9. The method according to any one of claims 1 to 3, wherein the adjusting the actual rotation speed of the fan to be adjusted so that the characteristic parameters of the components in the electronic device meet the performance conditions comprises: Determine the risk speed range of each fan; Based on the risk speed range, determining a safe speed range corresponding to each of the fans; Within the safe rotation speed range corresponding to the fan to be adjusted, the actual rotation speed of the fan to be adjusted is adjusted so that the characteristic parameters of the components in the electronic device meet the performance conditions.

10. An electronic device, comprising: processor, memory, and communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the fan control program stored in the memory to implement the steps of the fan control method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Data migration method and device, computer equipment and readable storage medium

    CN119201011A

  • Data migration method, device, computer equipment and readable storage medium

    CN119201011B

  • Solid-state drive device and fan speed control method thereof

    TWI944771B