Device control method and apparatus, electronic device, and storage medium

CN122227569BActive Publication Date: 2026-09-25APUTURE IMAGING IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610672021.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-15
Publication Date
2026-09-25
Estimated Expiration
2046-05-15

AI Technical Summary

Technical Problem

然而,在现有的基于多风扇的设备控制方法中,当某一风扇发生堵转、老化或性能下降时,往往无法及时感知并处理,极易导致设备的整体散热能力下降,从而使得设备控制效率较低

Benefits of technology

[0014]本申请实施例通过获取目标设备中的多个风扇的实际转速;基于实际转速以及目标转速,识别多个风扇中存在异常的第一目标风扇,目标转速为基于目标设备的目标散热需求所确定的转速;在识别到第一目标风扇的情况下,根据实际转速和目标转速,确定第一目标风扇中满足第二预设异常条件的第二目标风扇;基于第二目标风扇的风扇数量以及多个风扇的总风扇数量,计算针对多个风扇中的第二目标风扇之外的其他风扇的转速补偿系数;基于转速补偿系数对目标转速进行调整,得到调整后目标转速;根据调整后目标转速,对多个风扇中的第二目标风扇之外的其他风扇进行控制。以此,通过根据目标设备中的多个风扇的实际转速以及目标转速,识别多个风扇中是否存在异常的第一目标风扇,在识别到第一目标风扇的情况下,根据实际转速和目标转速确定第一目标风扇中的第二目标风扇,从而根据第二目标风扇的风扇数量以及多个风扇的总风扇数量,计算针对第二目标风扇之外的其他风扇的转速补偿系数并对目标转速进行调整,进而根据调整后目标转速,对第二目标风扇之外的其他风扇进行控制,可以实现对多个风扇中的异常进行及时感知,并根据异常情况进行自适应的转速补偿,以控制目标设备的整体散热能力接近于目标设备的目标散热需求,从而有效提升设备控制效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122227569B_ABST
    Figure CN122227569B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a device control method and device, electronic device and storage medium; the actual rotating speed of a plurality of fans in a target device is obtained; based on the actual rotating speed and a target rotating speed, a first target fan existing abnormity in the plurality of fans is identified, the target rotating speed being a rotating speed determined based on a target heat dissipation requirement of the target device; in a case where the first target fan is identified, a second target fan satisfying a second preset abnormality condition in the first target fan is determined according to the actual rotating speed and the target rotating speed; based on the number of the second target fan and the total number of the plurality of fans, a rotating speed compensation coefficient for other fans except the second target fan in the plurality of fans is calculated; the target rotating speed is adjusted based on the rotating speed compensation coefficient to obtain an adjusted target rotating speed; and the other fans except the second target fan in the plurality of fans are controlled according to the adjusted target rotating speed. In this way, the device control efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to a device control method, apparatus, electronic device, and storage medium. Background Technology

[0002] In existing electronic devices, multiple fans operating in parallel are typically used to meet the heat dissipation requirements of high-power devices or dense structures. However, in existing multi-fan-based device control methods, when a fan stalls, ages, or degrades, it is often impossible to detect and handle the situation in a timely manner. This can easily lead to a decrease in the overall heat dissipation capacity of the device, resulting in low device control efficiency. Summary of the Invention

[0003] This application provides a device control method, apparatus, electronic device, and storage medium that can promptly detect abnormalities in multiple fans and adaptively compensate for fan speeds based on the abnormalities, effectively improving device control efficiency.

[0004] This application provides a device control method, including: Obtain the actual rotational speeds of multiple fans in the target device; Based on the actual rotation speed and the target rotation speed, a first target fan with an abnormality is identified among the plurality of fans, wherein the target rotation speed is determined based on the target heat dissipation requirements of the target device; If the first target fan is identified, a second target fan that meets the second preset abnormal condition is determined based on the actual speed and the target speed. Based on the number of fans of the second target fan and the total number of fans of the plurality of fans, calculate the speed compensation coefficient for the other fans besides the second target fan among the plurality of fans; The target speed is adjusted based on the speed compensation coefficient to obtain the adjusted target speed; Based on the adjusted target speed, control is applied to the fans other than the second target fan among the plurality of fans.

[0005] Accordingly, embodiments of this application also provide a device control apparatus, including: The acquisition unit is used to acquire the actual rotational speed of multiple fans in the target device; The identification unit is used to identify a first target fan with an abnormality among the plurality of fans based on the actual rotation speed and the target rotation speed, wherein the target rotation speed is a rotation speed determined based on the target heat dissipation requirements of the target device; The determining unit is configured to, when the first target fan is identified, determine a second target fan among the first target fans that meets the second preset abnormal condition based on the actual rotation speed and the target rotation speed; The calculation unit is used to calculate the speed compensation coefficient for the fans other than the second target fan among the plurality of fans, based on the number of fans of the second target fan and the total number of fans of the plurality of fans; An adjustment unit is used to adjust the target speed based on the speed compensation coefficient to obtain the adjusted target speed; The control unit is used to control the fans other than the second target fan among the plurality of fans according to the adjusted target speed.

[0006] In one embodiment, the identification unit is used for: Based on the actual speed and the target speed, the fan that meets the first preset abnormal condition among the multiple fans is identified as the first target fan with an abnormality. The first preset abnormal condition includes at least one of the following: the difference between the actual rotational speed and the target rotational speed is within a first preset difference range; the actual rotational speed is continuously lower than the target rotational speed for a duration exceeding a preset duration threshold; the actual rotational speed is a preset abnormal value; and the actual rotational speed exhibits a preset rotational speed jump.

[0007] In one embodiment, the calculation of speed compensation coefficients for fans other than the second target fan among the plurality of fans, based on the number of fans of the second target fan and the total number of fans, is specifically used for: Calculate the total heat dissipation capacity coefficient of the plurality of fans based on the actual rotation speed and the target rotation speed; If the total heat dissipation capacity coefficient is less than a preset coefficient threshold, the speed compensation coefficient for the other fans besides the second target fan is calculated based on the number of fans of the second target fan and the total number of fans of the plurality of fans.

[0008] In one embodiment, the device control apparatus is further configured to: Based on the actual speed and the target speed of the multiple fans, the heat dissipation anomaly level corresponding to the target device is determined; The adjustment unit is used for: Based on the speed compensation coefficient and the adjustment weight corresponding to the heat dissipation anomaly level, the target speed is adjusted to obtain the adjusted target speed.

[0009] In one embodiment, the acquisition unit is configured to: Acquire the speed feedback signals of multiple fans in the target device; The actual speed of each fan is calculated based on the speed feedback signal.

[0010] In one embodiment, the control unit is configured to: Calculate the difference between the actual speed of the fans other than the second target fan among the plurality of fans and the adjusted target speed to obtain the speed deviation value corresponding to each of the other fans; Based on the speed deviation value, determine the pulse width modulation control signal corresponding to each of the other fans; The other fans are controlled based on the pulse width modulation control signal.

[0011] Furthermore, embodiments of this application also provide an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of any of the device control methods provided in embodiments of this application.

[0012] Furthermore, embodiments of this application also provide a computer-readable storage medium including a computer program, which, when run on an electronic device, causes the electronic device to perform the steps of any of the device control methods provided in embodiments of this application.

[0013] Furthermore, embodiments of this application also provide a computer program product, including a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the electronic device to perform the steps of any of the device control methods provided in embodiments of this application.

[0014] This application embodiment obtains the actual rotational speeds of multiple fans in a target device; based on the actual rotational speeds and target rotational speeds, it identifies a first target fan among the multiple fans that exhibits an anomaly, the target rotational speed being determined based on the target heat dissipation requirements of the target device; when the first target fan is identified, it determines a second target fan among the first target fans that meets a second preset anomaly condition based on the actual rotational speed and the target rotational speed; based on the number of the second target fan and the total number of fans in the multiple fans, it calculates rotational speed compensation coefficients for the other fans among the multiple fans besides the second target fan; based on the rotational speed compensation coefficients, it adjusts the target rotational speed to obtain the adjusted target rotational speed; and based on the adjusted target rotational speed, it controls the other fans among the multiple fans besides the second target fan. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram illustrating an implementation scenario of a device control method provided in this application embodiment; Figure 2 This is a flowchart illustrating a device control method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the heat dissipation system distribution of a device control method provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of the device control apparatus provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0018] Furthermore, in the description of the embodiments of this application, the terms "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0019] In existing electronic devices, multiple fans operating in parallel are typically used to meet the heat dissipation requirements of high-power devices or dense structures. However, in some multi-fan control methods, when a fan stalls, ages, or degrades, it is often difficult to detect and address the issue promptly, easily leading to a decrease in the overall heat dissipation capacity of the device. Furthermore, multiple fans usually operate independently, often using the same pulse-width modulation (PWM) control signal, lacking a coordinated control mechanism. This makes it impossible to compensate the cooling system when a local fan malfunctions, resulting in low device control efficiency.

[0020] To address the aforementioned technical issues, this application provides a device control method. This method identifies a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device. When the first target fan is identified, a speed compensation coefficient is determined based on the actual and target speeds. The fan speed is then adjusted according to this coefficient, enabling timely detection of abnormalities among the multiple fans and adaptive speed compensation based on the abnormality. This controls the overall heat dissipation capacity of the target device to closely match its target heat dissipation requirements, thereby effectively improving device control efficiency.

[0021] This application provides a device control method, apparatus, electronic device, and storage medium. The device control apparatus can be integrated into an electronic device, which may be a server or a terminal, etc.

[0022] The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal can include, but is not limited to, lighting fixtures, smart projection devices, mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, and aircraft. The terminal and server can be directly or indirectly connected via wired or wireless communication; this application does not impose any restrictions on this connection.

[0023] Please see Figure 1 Taking the integration of equipment control devices into electronic devices as an example, Figure 1 This is a schematic diagram illustrating an implementation scenario of the device control method provided in this application. The electronic device can be a terminal, capable of acquiring the actual rotational speeds of multiple fans in a target device; identifying a first target fan with an anomaly based on the actual and target rotational speeds, where the target rotational speed is determined based on the target heat dissipation requirements of the target device; upon identifying the first target fan, determining a second target fan that meets a second preset anomaly condition based on the actual and target rotational speeds; calculating rotational speed compensation coefficients for the other fans besides the second target fan based on the number of the second target fan and the total number of fans in the multiple fans; adjusting the target rotational speed based on the rotational speed compensation coefficients to obtain the adjusted target rotational speed; and controlling the other fans besides the second target fan based on the adjusted target rotational speed.

[0024] It should be noted that, Figure 1 The illustrated scenario of the device control method is merely an example. The implementation environment of the device control method described in this application is intended to more clearly illustrate the technical solution of the embodiments of this application and does not constitute a limitation on the technical solution provided in the embodiments of this application. Those skilled in the art will understand that, with the evolution of device control and the emergence of new business scenarios, the technical solution provided in this application is also applicable to similar technical problems.

[0025] The solutions provided in this application are specifically illustrated through the following embodiments. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0026] This embodiment will be described from the perspective of a device control device, which can be integrated into an electronic device, such as a server or a terminal, and this application does not impose any restrictions on it.

[0027] Please see Figure 2 , Figure 2 This is a flowchart illustrating a device control method provided in an embodiment of this application. The device control method includes: In step 101, the actual rotational speeds of multiple fans in the target device are obtained.

[0028] The target device can be an electronic device that uses multiple fans for heat dissipation. These multiple fans can be fans used to cool the target device. The actual rotational speed can be the actual rotational speed reached by the fans during operation. Optionally, the unit of the actual rotational speed can be revolutions per minute (RPM).

[0029] There are several ways to obtain the actual speed of multiple fans in the target device. For example, one can obtain the speed feedback signals of multiple fans in the target device and calculate the actual speed of each fan based on the speed feedback signals.

[0030] The speed feedback signal can be a frequency generator signal (FG signal), which is a pulse signal that the cooling fan feeds back the real-time speed to the control system. The actual speed of multiple fans can be obtained by periodically collecting the FG signals of each fan in the target device through the microcontroller unit (MCU) corresponding to the fan.

[0031] There are several ways to calculate the actual speed of each fan based on the speed feedback signal. For example, the following speed calculation formula can be used to calculate the actual speed of each fan based on the speed feedback signal: Actual rotational speed = signal frequency × 60 ÷ N; Here, the signal frequency can be the frequency of the FG signal, and the unit of frequency can be Hertz (Hz). N can be the number of pulses generated per revolution of the fan. Each pair of magnetic poles generates one pulse. When the fan motor has 4 pairs of magnetic poles, the fan generates 2 pulses per revolution. Therefore, in this case, the actual fan speed RPM = signal frequency × 60 ÷ 2 = signal frequency × 30.

[0032] Optionally, the multiple fans in the target device may include blower fans and suction fans, each fan may have an independent FG signal. For example, please refer to... Figure 3 , Figure 3This is a schematic diagram of the heat dissipation system distribution of a device control method provided in this application embodiment. It is assumed that the heat dissipation system of the target device may include eight fans controlled by PWM signals. These may include four blowing fans arranged at positions F1, F2, F3, and F4 on the front side of the heat dissipation system, and four suction fans arranged at positions F1, F2, F3, and F4 on the rear side. Alternatively, it may include four suction fans arranged at the front side and four blowing fans arranged at the rear side of the heat dissipation system, etc. The specific fan layout can be set according to actual needs.

[0033] In step 102, based on the actual rotational speed and the target rotational speed, the first target fan with an anomaly is identified among the multiple fans.

[0034] The target rotational speed can be determined based on the target heat dissipation requirements of the target device.

[0035] Here, the target heat dissipation requirement can refer to the heat dissipation requirements set for the target device. The target speed can refer to the speed that the fan needs to reach to achieve the target heat dissipation requirement. The first target fan can be a fan that is malfunctioning among multiple fans.

[0036] There are several ways to identify the first target fan with an anomaly among multiple fans based on the actual speed and the target speed. For example, the fan that meets the first preset anomaly condition among multiple fans can be identified as the first target fan with an anomaly based on the actual speed and the target speed. The first preset anomaly condition includes at least one of the following: the difference between the actual speed and the target speed is within the first preset difference range; the actual speed is continuously lower than the target speed for a duration exceeding a preset duration threshold; the actual speed is a preset anomaly value; and the actual speed exhibits a preset speed jump.

[0037] The first preset abnormal condition can be a condition used to determine whether the fan is malfunctioning. The first preset difference range can be the range of the difference between the actual speed and the target speed. The preset duration threshold can be a pre-set duration threshold, such as 1 minute, 2 minutes, 30 seconds, etc. The specific value can be set according to the actual situation, and this embodiment does not limit it here. The preset abnormal value can be the speed value indicating that the fan is in a stopped state, for example, it can be 0. The preset speed jump situation can be an indication that the fan has an abnormal speed jump situation, such as the actual speed of the fan jumping significantly in a short period of time.

[0038] For example, if a target fan meets any of the following conditions, it can be determined that the fan is the first target fan with an anomaly: The actual rotational speed is lower than the preset percentage threshold of the target rotational speed (e.g., lower than 85%). The actual rotation speed remains lower than the target rotation speed for a duration exceeding a preset time threshold (e.g., one minute). The actual rotational speed is zero or there is an abnormal jump.

[0039] Optionally, when the cooling system of the target device starts up, all fans in the target device can be initialized and configured. For example, each fan can be assigned a unique fan number, a PWM output channel can be configured for the fan, an FG signal acquisition channel can be configured for the fan, the parameters of the PID algorithm used for fan control can be initialized, and the target speed corresponding to the target cooling requirements can be set.

[0040] In one embodiment, when the first target fan is identified, an alarm or a reporting communication interface can be triggered to notify the user of the information that there is an abnormal first target fan among multiple fans, so that the user can deal with the abnormal first target fan in a timely manner and avoid affecting the heat dissipation effect of the target device.

[0041] In step 103, if the first target fan is identified, the second target fan that meets the second preset abnormal condition is determined based on the actual speed and the target speed.

[0042] The second preset abnormal condition can be used to determine the second target fan in the first target fan. The second target fan can be a severely faulty fan that contributes little to the heat dissipation capacity of the cooling system and therefore does not need to be adjusted through speed compensation.

[0043] Optionally, the second preset abnormal condition may include, but is not limited to, conditions such as the fan stopping or the difference between the actual speed and the target speed being greater than a preset threshold.

[0044] In step 104, based on the number of fans of the second target fan and the total number of fans of the multiple fans, the speed compensation coefficients for the fans other than the second target fan among the multiple fans are calculated.

[0045] The speed compensation coefficient is a factor used to compensate for the fan speed. When an abnormal fan exists among the multiple fans in the target device, a speed compensation coefficient can be determined based on the actual speed and the target speed. This allows for speed adjustment of the fans, ensuring that the cooling capacity of the adjusted multiple fans meets or closely approximates the target cooling requirements. The "other fans" can be any fans other than the second target fan.

[0046] There are several ways to calculate the speed compensation coefficient for fans other than the second target fan based on the number of fans of the second target fan and the total number of fans of the multiple fans. One way is to calculate the total heat dissipation capacity coefficient of the multiple fans based on the actual speed and the target speed. If the total heat dissipation capacity coefficient is less than the preset coefficient threshold, the speed compensation coefficient for fans other than the second target fan is calculated based on the number of fans of the second target fan and the total number of fans of the multiple fans.

[0047] The total heat dissipation capacity coefficient measures the combined heat dissipation capacity of multiple fans. The preset coefficient threshold is a pre-defined threshold value. When the total heat dissipation capacity coefficient is less than the preset threshold, it indicates that the heat dissipation capacity of the current fans in the target device does not meet the target heat dissipation requirements, and speed compensation is needed. When the total heat dissipation capacity coefficient is not less than the preset threshold, it indicates that the heat dissipation capacity of the current fans in the target device meets the target heat dissipation requirements, and speed compensation is not required.

[0048] There are several ways to calculate the total heat dissipation capacity coefficient of multiple fans based on the actual and target speeds. For example, one method is to calculate the equivalent heat dissipation capacity coefficient of each fan based on the actual and target speeds, sum the equivalent heat dissipation capacity coefficients of all fans, and then calculate the ratio of the sum to the total number of fans to obtain the total heat dissipation capacity coefficient of the multiple fans.

[0049] The equivalent heat dissipation capacity coefficient (C_heat) can be used to measure the heat dissipation capacity of a fan.

[0050] There are several ways to calculate the equivalent heat dissipation capacity coefficient of each fan based on the actual speed and the target speed. For example, the ratio between the actual speed and the target speed of each fan can be calculated to obtain the equivalent heat dissipation capacity coefficient of each fan.

[0051] For example, the equivalent heat dissipation capacity coefficient C_heat = actual rotational speed / target rotational speed.

[0052] For example, the equivalent heat dissipation capacity coefficient of a normal fan is close to 1, the equivalent heat dissipation capacity coefficient of an abnormal fan is between 0 and 1, and the equivalent heat dissipation capacity coefficient of a stopped fan is equal to 0.

[0053] There are several ways to calculate the speed compensation coefficient for the fans other than the second target fan among the multiple fans, based on the number of fans of the second target fan and the total number of fans of the multiple fans. For example, the difference between the total number of fans and the number of fans of the second target fan can be calculated, and the ratio of the total number of fans to the difference can be calculated to obtain the speed compensation coefficient for the fans other than the second target fan among the multiple fans.

[0054] For example, the speed compensation coefficient can be expressed as K_comp, where K_comp = N / N_normal. Here, N is the total number of fans, and N_normal is the number of fans other than the second target fan.

[0055] In step 105, the target speed is adjusted based on the speed compensation coefficient to obtain the adjusted target speed.

[0056] The adjusted target speed can be the target speed adjusted based on the speed compensation coefficient.

[0057] Optionally, before adjusting the target speed based on the speed compensation coefficient to obtain the adjusted target speed, the heat dissipation anomaly level corresponding to the target device can be determined based on the actual speed of multiple fans and the target speed. Correspondingly, the step of adjusting the target speed based on the speed compensation coefficient to obtain the adjusted target speed may include: adjusting the target speed based on the speed compensation coefficient and the adjustment weight corresponding to the heat dissipation anomaly level to obtain the adjusted target speed.

[0058] The heat dissipation anomaly level can be information measuring the anomaly level of multiple fans in the target device. The adjustment weight can be the weight corresponding to the heat dissipation anomaly level, which can be used to further adjust the fan speed compensation based on the heat dissipation anomaly levels of multiple fans.

[0059] Optionally, the heat dissipation anomaly level may include at least one level, for example, it may include a level 1 anomaly, a level 2 anomaly, and a level 3 anomaly. Among them, the anomaly severity of a level 1 anomaly is less than that of a level 2 anomaly, and the anomaly severity of a level 2 anomaly is less than that of a level 3 anomaly.

[0060] In one embodiment, the adjustment weight corresponding to a level 1 anomaly can be 1, the adjustment weight corresponding to a level 2 anomaly can be 1.2, the adjustment weight corresponding to a level 3 anomaly can be 1.5, and so on.

[0061] There are several ways to determine the heat dissipation anomaly level of a target device based on the actual and target speeds of multiple fans. For example, one can calculate the speed deviation between the actual and target speeds of each fan, calculate the ratio of the speed deviation to the target speed to obtain a speed deviation ratio, and then average the speed deviation ratios of multiple fans to obtain a deviation coefficient. The heat dissipation anomaly level of the target device is then determined based on the deviation coefficient.

[0062] There are several ways to determine the heat dissipation anomaly level of the target device based on the deviation coefficient. For example, when the deviation coefficient is within the first value range, the heat dissipation anomaly level of the target device can be determined to be Level 1. When the deviation coefficient is within the second value range, the heat dissipation anomaly level of the target device can be determined to be Level 2. When the deviation coefficient is within the third value range, the heat dissipation anomaly level of the target device can be determined to be Level 3.

[0063] In this range, the values ​​in the first range are less than the values ​​in the second range, and the values ​​in the second range are less than the values ​​in the third range. For example, the first range could be (0, 0.2], the second range could be (0.2, 0.4], and the third range could be (0.4, 1], etc.

[0064] There are several ways to adjust the target speed based on the speed compensation coefficient and the adjustment weight corresponding to the heat dissipation anomaly level. For example, the adjusted target speed can be obtained by calculating the product of the speed compensation coefficient, the adjustment weight corresponding to the heat dissipation anomaly level, and the target speed.

[0065] In one embodiment, multiple fans in the target device can be grouped according to their physical location or function, thereby enabling speed compensation control within the group. For example, if a second target fan in a group is malfunctioning, the speed of other fans in the same group can be compensated more significantly based on the number of fans in the second target fan and the target heat dissipation requirements.

[0066] The overall cooling capacity of the cooling system decreases, which is essentially due to a reduction in the number of fans operating normally or the effective output capacity. The speed compensation coefficient can be used to redistribute the output capacity of other normal or slightly abnormal fans to make up for the cooling capacity gap caused by the decrease in the total cooling capacity of multiple fans.

[0067] Optionally, the compensation speed based on the speed compensation coefficient can be achieved in a step-by-step incremental manner. For example, each speed compensation adjustment does not exceed a preset step size ΔRPM (e.g., 200 RPM). When an abnormal fan returns to its normal speed, the speeds of other fans can gradually have their compensation removed and return to normal. During the speed compensation process, the speed feedback signals of each fan can be continuously monitored, and the speed compensation coefficient can be dynamically adjusted according to the compensation effect to maintain the overall cooling capacity stability of the multi-fan cooling system.

[0068] In step 106, based on the adjusted target speed, the fans other than the second target fan among the multiple fans are controlled.

[0069] There are several ways to control the fans other than the second target fan among the multiple fans according to the adjusted target speed. For example, the difference between the actual speed of the fans other than the second target fan and the adjusted target speed can be calculated to obtain the speed deviation value of each other fan; based on the speed deviation value, the pulse width modulation control signal corresponding to each other fan can be determined; and based on the pulse width modulation control signal, the other fans can be controlled.

[0070] The speed deviation value can be the difference between the actual fan speed and the adjusted target speed. The pulse width modulation control signal can be a pulse width modulation (PWM) signal for the fan.

[0071] There are several ways to determine the pulse width modulation control signal for each other fan based on the speed deviation value. For example, the proportional-integral-differential (PID) algorithm can be called to calculate the PWM duty cycle based on the speed deviation value to make the actual speed of the fan close to the target speed, and output the pulse width modulation control signal for other fans according to the PWM duty cycle.

[0072] In this way, the PWM control signals of the fans other than the second target fan can be updated according to the adjusted target speed, so as to achieve compensatory control of the speed of the remaining fans.

[0073] In one embodiment, this application also provides a multi-fan control system, including a PWM control module, a speed acquisition module, a PID algorithm speed tuning module, an anomaly detection module, and a state management module. The PWM control module can output PWM control signals to multiple fans. The speed acquisition module can acquire the FG signals of each fan and calculate the actual speed. The PID algorithm speed tuning module can stabilize the output target speed. The anomaly detection module can identify abnormal fans among the multiple fans based on speed deviations. The compensation control module can perform speed compensation control on the remaining fans after detecting an abnormal fan. The state management module can manage the operating status of the fans and anomaly flags, etc.

[0074] In one specific embodiment, it is assumed that the target device has eight fans directly controlled by PWM control signals, each fan having an independent FG signal. The target speed of the target device's cooling system is set to 2000 RPM for the multiple fans. During the operation of the multiple fans, if the actual speed of one fan is detected to be consistently below 1700 RPM, it can be determined that the fan is malfunctioning, and the target speed of the remaining seven fans can be increased to 2100 RPM to compensate for the cooling capacity of the multiple fans in the target device.

[0075] In another specific embodiment, when multiple fans are detected to be abnormal, the cooling system can dynamically calculate the speed compensation coefficient based on the number of abnormal fans to avoid overloading a single fan.

[0076] Therefore, the device control method provided in this application can accurately identify abnormal fans among multiple fans working in parallel in the heat dissipation system by acquiring the actual fan speed feedback signal in real time, and ensure the stability of the overall heat dissipation capacity of the system by adaptive speed compensation for the remaining fans when some fans are abnormal. At the same time, this control method has a simple control strategy, is suitable for embedded systems with limited MCU resources, and can effectively improve the heat dissipation reliability and fault tolerance of multi-fan heat dissipation systems.

[0077] As can be seen from the above, the embodiments of this application obtain the actual rotational speeds of multiple fans in the target device; based on the actual rotational speeds and target rotational speeds, identify a first target fan among the multiple fans that is abnormal, where the target rotational speed is determined based on the target heat dissipation requirements of the target device; when the first target fan is identified, determine a second target fan among the first target fans that meets the second preset abnormal condition based on the actual rotational speed and the target rotational speed; calculate the rotational speed compensation coefficient for the other fans among the multiple fans other than the second target fan based on the number of the second target fan and the total number of the multiple fans; adjust the target rotational speed based on the rotational speed compensation coefficient to obtain the adjusted target rotational speed; and control the other fans among the multiple fans other than the second target fan based on the adjusted target rotational speed. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency.

[0078] To better implement the above methods, embodiments of the present invention also provide a device control apparatus, which can be integrated into an electronic device, which can be a terminal.

[0079] For example, such as Figure 4 The diagram shown is a structural schematic of a device control apparatus provided in an embodiment of this application. The device control apparatus may include an acquisition unit 201, an identification unit 202, a determination unit 203, a calculation unit 204, an adjustment unit 205, and a control unit 206, as follows: Acquisition unit 201 is used to acquire the actual rotation speed of multiple fans in the target device; The identification unit 202 is used to identify the first target fan with an abnormality among multiple fans based on the actual speed and the target speed, wherein the target speed is the speed determined based on the target heat dissipation requirements of the target device; The determining unit 203 is used to determine, when the first target fan is identified, a second target fan that meets the second preset abnormal condition based on the actual speed and the target speed. The calculation unit 204 is used to calculate the speed compensation coefficient for the fans other than the second target fan among the multiple fans based on the number of fans of the second target fan and the total number of fans of the multiple fans. The adjustment unit 205 is used to adjust the target speed based on the speed compensation coefficient to obtain the adjusted target speed; Control unit 206 is used to control the fans other than the second target fan among a plurality of fans according to the adjusted target speed.

[0080] In one embodiment, the identification unit is used for: Based on the actual speed and the target speed, the fan that meets the first preset abnormal condition among multiple fans is identified as the first target fan with an abnormality. The first preset abnormal condition includes at least one of the following: the difference between the actual speed and the target speed is within a first preset difference range; the actual speed is continuously lower than the target speed for a duration exceeding a preset duration threshold; the actual speed is a preset abnormal value; and the actual speed exhibits a preset speed jump.

[0081] In one embodiment, the calculation of speed compensation coefficients for fans other than the second target fan based on the number of fans of the second target fan and the total number of fans among the multiple fans is specifically used for: Calculate the total heat dissipation capacity coefficient of multiple fans based on the actual speed and the target speed; If the total heat dissipation capacity coefficient is less than the preset coefficient threshold, the speed compensation coefficient for the fans other than the second target fan among the multiple fans is calculated based on the number of fans of the second target fan and the total number of fans of the multiple fans.

[0082] In one embodiment, the device control apparatus is further configured to: The heat dissipation anomaly level of the target device is determined based on the actual and target speeds of multiple fans. Adjustment unit, used for: Based on the speed compensation coefficient and the adjustment weight corresponding to the heat dissipation anomaly level, the target speed is adjusted to obtain the adjusted target speed.

[0083] In one embodiment, the acquisition unit is configured to: Acquire the speed feedback signals of multiple fans in the target device; The actual speed of each fan is calculated based on the speed feedback signal.

[0084] In one embodiment, the control unit is configured to: Calculate the difference between the actual speed of each fan other than the second target fan and the adjusted target speed to obtain the speed deviation value of each other fan; Based on the speed deviation value, determine the pulse width modulation control signal corresponding to each of the other fans; Other fans are controlled based on pulse width modulation control signals.

[0085] As can be seen from the above, in this embodiment of the application, the acquisition unit 201 acquires the actual rotational speed of multiple fans in the target device; the identification unit 202 identifies a first target fan with an abnormality among the multiple fans based on the actual rotational speed and the target rotational speed, where the target rotational speed is determined based on the target heat dissipation requirements of the target device; the determination unit 203, upon identifying the first target fan, determines a second target fan among the first target fans that meets the second preset abnormality condition based on the actual rotational speed and the target rotational speed; the calculation unit 204 calculates the rotational speed compensation coefficient for the other fans among the multiple fans other than the second target fan based on the number of fans of the second target fan and the total number of fans among the multiple fans; the adjustment unit 205 adjusts the target rotational speed based on the rotational speed compensation coefficient to obtain the adjusted target rotational speed; and the control unit 206 controls the other fans among the multiple fans other than the second target fan according to the adjusted target rotational speed. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency.

[0086] Accordingly, this application also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Alternatively, the electronic device can be a server.

[0087] like Figure 5 As shown, Figure 5This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 300 includes a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 and the memory 302 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0088] The processor 301 is the control center of the electronic device 300. It connects various parts of the electronic device 300 through various interfaces and lines. By running or loading software programs and / or units stored in the memory 302, and calling data stored in the memory 302, it executes various functions of the electronic device 300 and processes data. The processor 301 may be a CPU, GPU, network processor (NP), etc., and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0089] In this embodiment, the processor 301 in the electronic device 300 loads the instructions corresponding to the processes of one or more applications into the memory 302 according to the following steps, and the processor 301 runs the applications stored in the memory 302 to realize various functions, such as: The system acquires the actual rotational speeds of multiple fans in the target device; based on the actual and target rotational speeds, it identifies a first target fan among the multiple fans that exhibits an anomaly, the target rotational speed being determined based on the target cooling requirements of the target device; if the first target fan is identified, it determines a second target fan among the first target fans that meets a second preset anomaly condition based on the actual and target rotational speeds; based on the number of the second target fan and the total number of fans in the multiple fan system, it calculates the rotational speed compensation coefficients for the other fans besides the second target fan; it adjusts the target rotational speed based on the rotational speed compensation coefficients to obtain the adjusted target rotational speed; and it controls the other fans among the multiple fans besides the second target fan based on the adjusted target rotational speed.

[0090] This solution obtains the actual rotational speeds of multiple fans in a target device; based on the actual and target rotational speeds, it identifies a first target fan with an anomaly, where the target rotational speed is determined based on the target cooling requirements of the target device; upon identifying the first target fan, it determines a second target fan that meets a second preset anomaly condition based on the actual and target rotational speeds; based on the number of the second target fan and the total number of fans, it calculates rotational speed compensation coefficients for the other fans besides the second target fan; it adjusts the target rotational speed based on the rotational speed compensation coefficients to obtain the adjusted target rotational speed; and it controls the other fans besides the second target fan based on the adjusted target rotational speed. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency.

[0091] Furthermore, the various functions implemented by running the application stored in memory 302 can also be found in the description of the foregoing embodiments, and will not be repeated here.

[0092] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0093] Optional, such as Figure 5 As shown, the electronic device 300 also includes: a touch display screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch display screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0094] The touch display screen 303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 303 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 301. It can also receive and execute commands from the processor 301. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 301 to determine the type of touch event. Subsequently, the processor 301 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 303 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 303 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 303 can also be used as part of the input unit 306 to achieve input functions.

[0095] The radio frequency circuit 304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

[0096] Audio circuitry 305 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuitry 305 converts received audio data into electrical signals, transmits them to the speaker, and the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 305, converted back into audio data, and then processed by processor 301 before being transmitted via radio frequency circuitry 304 to, for example, another electronic device, or output to memory 302 for further processing. Audio circuitry 305 may also include an earphone jack to facilitate communication between peripheral headphones and electronic devices.

[0097] The input unit 306 can be used to receive input target video and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0098] Power supply 307 is used to supply power to various components of electronic device 300. Optionally, power supply 307 can be logically connected to processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 307 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0099] although Figure 5 As not shown in the diagram, the electronic device 300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0100] In the above embodiments, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be found in the relevant descriptions of other embodiments. It should be noted that the electronic device provided in this application's embodiments and the device control method described in the above embodiments belong to the same concept, and its specific implementation process is detailed in the above method embodiments, and will not be repeated here.

[0101] As can be seen from the above, the electronic device provided in this application embodiment can obtain the actual rotation speed of multiple fans in the target device; based on the actual rotation speed and the target rotation speed, identify a first target fan among the multiple fans that is abnormal, the target rotation speed being the rotation speed determined based on the target heat dissipation requirements of the target device; when the first target fan is identified, determine a second target fan among the first target fans that meets the second preset abnormal condition based on the actual rotation speed and the target rotation speed; calculate the rotation speed compensation coefficient for the other fans among the multiple fans other than the second target fan based on the number of the second target fan and the total number of the multiple fans; adjust the target rotation speed based on the rotation speed compensation coefficient to obtain the adjusted target rotation speed; and control the other fans among the multiple fans other than the second target fan based on the adjusted target rotation speed. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency.

[0102] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0103] Therefore, embodiments of this application provide a computer-readable storage medium, including a computer program, which, when run on an electronic device, causes the electronic device to execute any of the device control methods provided in embodiments of this application. For example, the computer program can execute the steps of the following device control method: The system acquires the actual rotational speeds of multiple fans in the target device; based on the actual and target rotational speeds, it identifies a first target fan among the multiple fans that exhibits an anomaly, the target rotational speed being determined based on the target cooling requirements of the target device; if the first target fan is identified, it determines a second target fan among the first target fans that meets a second preset anomaly condition based on the actual and target rotational speeds; based on the number of the second target fan and the total number of fans in the multiple fan system, it calculates the rotational speed compensation coefficients for the other fans besides the second target fan; it adjusts the target rotational speed based on the rotational speed compensation coefficients to obtain the adjusted target rotational speed; and it controls the other fans among the multiple fans besides the second target fan based on the adjusted target rotational speed.

[0104] This solution obtains the actual rotational speeds of multiple fans in a target device; based on the actual and target rotational speeds, it identifies a first target fan with an anomaly, where the target rotational speed is determined based on the target cooling requirements of the target device; upon identifying the first target fan, it determines a second target fan that meets a second preset anomaly condition based on the actual and target rotational speeds; based on the number of the second target fan and the total number of fans, it calculates rotational speed compensation coefficients for the other fans besides the second target fan; it adjusts the target rotational speed based on the rotational speed compensation coefficients to obtain the adjusted target rotational speed; and it controls the other fans besides the second target fan based on the adjusted target rotational speed. Therefore, by identifying a first target fan with an abnormality based on the actual and target speeds of multiple fans in the target device, and if the first target fan is identified, a second target fan is determined based on the actual and target speeds. Then, based on the number of second target fans and the total number of fans, speed compensation coefficients are calculated for the other fans besides the second target fan, and the target speeds are adjusted. Subsequently, based on the adjusted target speeds, the other fans besides the second target fan are controlled. This allows for timely detection of abnormalities among multiple fans and adaptive speed compensation based on the abnormalities, so as to control the overall heat dissipation capacity of the target device to be close to the target heat dissipation requirements of the target device, thereby effectively improving the device control efficiency.

[0105] Furthermore, the detailed steps of the above method can be found in the description of the foregoing embodiments, and will not be repeated here.

[0106] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0107] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0108] Since the computer program stored in the computer-readable storage medium can execute any of the device control methods provided in the embodiments of this application, the beneficial effects that any of the device control methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0109] According to one aspect of this application, a computer program product is also provided, comprising a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the electronic device to perform the methods provided in various optional implementations of the above embodiments.

[0110] In the above embodiments of the device control apparatus, computer-readable storage medium, electronic device, and computer program product, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the device control apparatus, computer-readable storage medium, computer program product, electronic device, and their corresponding units described above can be referred to the description of the device control method in the above embodiments, and will not be repeated here.

[0111] The foregoing has provided a detailed description of a device control method, apparatus, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A device control method, characterized in that, include: Obtain the actual rotational speeds of multiple fans in the target device; Based on the actual rotation speed and the target rotation speed, a first target fan with an abnormality is identified among the plurality of fans, wherein the target rotation speed is determined based on the target heat dissipation requirements of the target device; If the first target fan is identified, a second target fan that meets the second preset abnormal condition is determined based on the actual speed and the target speed. Based on the actual rotational speed and the target rotational speed, the total heat dissipation capacity coefficient of the plurality of fans is calculated, and the total heat dissipation capacity coefficient is used to measure the total heat dissipation capacity of the plurality of fans; If the total heat dissipation capacity coefficient is less than a preset coefficient threshold, the speed compensation coefficient for the other fans besides the second target fan is calculated based on the number of fans of the second target fan and the total number of fans of the plurality of fans. The target speed is adjusted based on the speed compensation coefficient to obtain the adjusted target speed; Based on the adjusted target speed, control is applied to the fans other than the second target fan among the plurality of fans.

2. The equipment control method as described in claim 1, characterized in that, The step of identifying a first target fan with an anomaly among the plurality of fans based on the actual rotational speed and the target rotational speed includes: Based on the actual speed and the target speed, the fan that meets the first preset abnormal condition among the multiple fans is identified as the first target fan with an abnormality. The first preset abnormal condition includes at least one of the following: the difference between the actual rotational speed and the target rotational speed is within a first preset difference range; the actual rotational speed is continuously lower than the target rotational speed for a duration exceeding a preset duration threshold; the actual rotational speed is a preset abnormal value; and the actual rotational speed exhibits a preset rotational speed jump.

3. The equipment control method as described in claim 1, characterized in that, Before adjusting the target speed based on the speed compensation coefficient to obtain the adjusted target speed, the method further includes: Based on the actual speed and the target speed of the multiple fans, the heat dissipation anomaly level corresponding to the target device is determined; The step of adjusting the target speed based on the speed compensation coefficient to obtain the adjusted target speed includes: Based on the speed compensation coefficient and the adjustment weight corresponding to the heat dissipation anomaly level, the target speed is adjusted to obtain the adjusted target speed.

4. The equipment control method as described in claim 1, characterized in that, The process of obtaining the actual rotational speeds of multiple fans in the target device includes: Acquire the speed feedback signals of multiple fans in the target device; The actual speed of each fan is calculated based on the speed feedback signal.

5. The equipment control method according to any one of claims 1 to 4, characterized in that, The step of controlling the fans other than the second target fan among the plurality of fans according to the adjusted target speed includes: Calculate the difference between the actual speed of the fans other than the second target fan among the plurality of fans and the adjusted target speed to obtain the speed deviation value corresponding to each of the other fans; Based on the speed deviation value, determine the pulse width modulation control signal corresponding to each of the other fans; The other fans are controlled based on the pulse width modulation control signal.

6. A device control apparatus, characterized in that, include: The acquisition unit is used to acquire the actual rotational speed of multiple fans in the target device; The identification unit is used to identify a first target fan with an abnormality among the plurality of fans based on the actual rotation speed and the target rotation speed, wherein the target rotation speed is a rotation speed determined based on the target heat dissipation requirements of the target device; The determining unit is configured to, when the first target fan is identified, determine a second target fan among the first target fans that meets the second preset abnormal condition based on the actual rotation speed and the target rotation speed; The calculation unit is used to calculate the total heat dissipation capacity coefficient of the plurality of fans based on the actual speed and the target speed. The total heat dissipation capacity coefficient is used to measure the total heat dissipation capacity of the plurality of fans. If the total heat dissipation capacity coefficient is less than a preset coefficient threshold, the unit calculates the speed compensation coefficient for the fans other than the second target fan among the plurality of fans based on the number of fans of the second target fan and the total number of fans of the plurality of fans. An adjustment unit is used to adjust the target speed based on the speed compensation coefficient to obtain the adjusted target speed; The control unit is used to control the fans other than the second target fan among the plurality of fans according to the adjusted target speed.

7. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the device control method according to any one of claims 1 to 5.

8. A storage medium, characterized in that, Includes a computer program, which, when run on an electronic device, causes the electronic device to perform the steps of the device control method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for controlling fan rotating speed of electronic equipment

    CN104863881A

  • Fan control method and device, product, server and medium

    CN120595919A