Method, device, storage medium and program product for monitoring the state of a heat dissipation fan
By using microphone arrays and frequency domain transformation technology to monitor the status of switch fans, the problem of difficult fan status monitoring has been solved, enabling accurate identification and timely handling of abnormal fan conditions, and improving the heat dissipation reliability of the equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- RUIJIE NETWORKS CO LTD
- Filing Date
- 2025-01-24
- Publication Date
- 2026-07-24
AI Technical Summary
Existing technologies cannot effectively monitor the status of cooling fans inside switches, leading to abnormal heat dissipation and affecting the stable operation and data forwarding performance of switches.
A microphone array is used to identify differences in the arrival delay of fan noise. The fan audio data is processed by frequency domain transformation to obtain spectral density information to determine the fan status.
Accurately identify and differentiate abnormal conditions of cooling fans, improve the reliability of equipment heat dissipation, and facilitate timely handling by maintenance personnel.
Smart Images

Figure CN122450765A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of switch technology, and in particular to a method, device, storage medium, and program product for monitoring the status of a cooling fan. Background Technology
[0002] With the large-scale deployment of applications such as cloud computing, Artificial Intelligence Generated Content (AIGC), and short videos, data center traffic is growing rapidly. As a core component for data forwarding, it is crucial for switch equipment to maintain stable operation. Fans, as an important part of the switch's cooling system, are responsible for dissipating heat from the switch, ensuring it operates within a normal temperature environment.
[0003] If fans experience abnormalities such as dust accumulation on the blades, bearing wear, or blade breakage during long-term operation, it will affect the airflow into the switch, leading to abnormal heat dissipation and impacting the switch's data forwarding performance. In severe cases, it can cause the device to overheat and crash. Therefore, monitoring the status of the fans inside the switch to prevent them from affecting the switch's heat dissipation is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a method, device, storage medium, and program product for monitoring the status of a cooling fan, which can be used to identify and distinguish abnormal fan operation using a microphone array, thereby improving the reliability of device heat dissipation.
[0005] In a first aspect, embodiments of this application provide a method for monitoring the status of a cooling fan, applied to an electronic device, wherein the electronic device is provided with at least two cooling fans and a first microphone array, the method comprising:
[0006] Based on the first delay difference in the arrival of noise from at least two of the cooling fans at the first microphone array, audio data corresponding to any one of the cooling fans collected by the first microphone array is obtained;
[0007] For any of the cooling fans, the audio data corresponding to the cooling fan is subjected to frequency domain transformation processing to obtain the spectral density information corresponding to the cooling fan;
[0008] Based on the spectral density information corresponding to the cooling fan, determine whether the cooling fan is in normal condition.
[0009] In one possible implementation, the first microphone array includes at least two microphones, and the step of acquiring audio data corresponding to any one of the cooling fans collected by the first microphone array based on a first delay difference in the arrival time of noise from the at least two cooling fans at the first microphone array includes:
[0010] For any of the cooling fans, based on the first delay difference, the audio data of the cooling fan collected by each microphone in the first microphone array is obtained;
[0011] Based on the second delay difference in the arrival of the cooling fan noise at each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is compensated to obtain the audio data corresponding to the cooling fan.
[0012] In one possible implementation, the step of compensating the audio data of the cooling fan collected by each microphone based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array to obtain the audio data corresponding to the cooling fan includes:
[0013] Based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is time-aligned.
[0014] The audio data of the cooling fan collected by each of the microphones after time alignment is subjected to signal enhancement processing to obtain the audio data corresponding to the cooling fan.
[0015] In one possible implementation, for any of the cooling fans, performing frequency domain transformation on the audio data corresponding to the cooling fan to obtain the spectral density information corresponding to the cooling fan includes:
[0016] The audio data corresponding to the cooling fan is subjected to Fourier transform processing to obtain the spectral density information corresponding to the cooling fan.
[0017] The step of determining whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan includes:
[0018] If the difference between the spectral density information corresponding to the cooling fan and the preset first spectral density information is greater than or equal to a first threshold, the cooling fan is determined to be in an abnormal state.
[0019] In one possible implementation, determining whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan includes:
[0020] The frequency domain corresponding to the spectral density information is divided into multiple frequency ranges;
[0021] Based on the spectral density information corresponding to each frequency range, determine whether the cooling fan is in normal condition.
[0022] In one possible implementation, determining whether the cooling fan is in normal operation based on the spectral density information corresponding to each of the frequency ranges includes:
[0023] If the difference between the spectral density information corresponding to the frequency range and the preset second spectral density information corresponding to the frequency range is greater than or equal to a second threshold, the cooling fan is determined to be in an abnormal state.
[0024] In one possible implementation, the method further includes:
[0025] Fan components corresponding to frequency ranges where the difference is greater than or equal to the second threshold are identified as abnormal components.
[0026] In one possible implementation, determining whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan includes:
[0027] Obtain the spectral density information of the audio data corresponding to the first number of fan speeds;
[0028] Based on the spectral density information corresponding to the first number of fan speeds, and the comparison results with the corresponding preset third spectral density information, it is determined whether the cooling fan is in a normal state.
[0029] In one possible implementation, determining whether the cooling fan is in a normal state by comparing the spectral density information corresponding to the first number of fan speeds with the corresponding preset third spectral density information includes:
[0030] For any of the aforementioned fan speeds, determine the difference between the spectral density information corresponding to the fan speed and the preset third spectral density information of the fan speed;
[0031] If a second number of fan speeds with a difference greater than or equal to a third threshold is greater than or equal to a quantity threshold, the cooling fan is determined to be in an abnormal state, wherein the second number is less than or equal to the first number.
[0032] In one possible implementation, the electronic device further includes a second microphone array comprising at least two microphones, and the method further includes:
[0033] Acquire wind noise data within the electronic device collected by the second microphone array, and determine the measured wind speed corresponding to the wind noise data;
[0034] Based on the measured wind speed and the target wind speed corresponding to the current fan speed, determine whether the wind speed of the cooling fan is normal; the target wind speed is obtained based on the current fan speed and the correspondence between the fan speed and the target wind speed.
[0035] In one possible implementation, the electronic device further includes a barometric pressure acquisition component, and the method further includes:
[0036] Obtain the air pressure information collected by the air pressure acquisition component;
[0037] Based on the air pressure information, the measured wind speed is compensated to obtain the compensated measured wind speed;
[0038] The step of comparing the measured wind speed with the target wind speed corresponding to the current fan speed to determine whether the cooling fan's wind speed is normal includes:
[0039] The wind speed of the cooling fan is determined by comparing the compensated measured wind speed with the target wind speed corresponding to the current fan speed.
[0040] In one possible implementation, determining whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan includes:
[0041] If the cooling fan is determined to be in an abnormal state based on the spectral density information corresponding to the cooling fan, and the fan speed is abnormal, then the cooling fan is determined to be in an abnormal state.
[0042] Secondly, embodiments of this application provide a status monitoring device for a cooling fan, applied to an electronic device, wherein the electronic device is provided with at least two cooling fans and a first microphone array, and the device includes:
[0043] An acoustic signal processing module is used to acquire audio data corresponding to any one of the cooling fans collected by the first microphone array based on the first delay difference in the arrival of noise from at least two of the cooling fans at the first microphone array.
[0044] The status monitoring module is used to perform frequency domain transformation processing on the audio data corresponding to any of the cooling fans to obtain the spectral density information corresponding to the cooling fans.
[0045] Based on the spectral density information corresponding to the cooling fan, determine whether the cooling fan is in normal condition.
[0046] Thirdly, embodiments of this application provide an electronic device for use with the methods described in the first aspect and / or various possible implementations of the first aspect, the electronic device comprising:
[0047] Housing, first microphone array, and at least two cooling fans;
[0048] The first microphone array and each of the cooling fans are disposed within the housing.
[0049] Fourthly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0050] The memory stores computer-executed instructions;
[0051] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0052] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0053] In a sixth aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0054] The cooling fan status monitoring method, device, storage medium, and program product provided in this application embodiment acquire audio data corresponding to each cooling fan collected by the first microphone array based on the first delay difference of noise arrival at the first microphone array of at least two cooling fans. For any cooling fan, the audio data corresponding to the cooling fan is subjected to frequency domain transformation processing to obtain the spectral density information corresponding to the cooling fan. Furthermore, based on the spectral density information corresponding to the cooling fan, it is determined whether the cooling fan is in a normal state. Since the audio data of different cooling fans can be distinguished based on the first delay difference of noise arrival at the first microphone array of at least two cooling fans, the audio data of different cooling fans can be accurately acquired. Therefore, the state of each cooling fan can be determined based on the spectral density information of different cooling fans, effectively distinguishing the location of cooling fans in abnormal states, which is convenient for maintenance personnel to handle. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0056] Figure 1 Flowchart of the cooling fan status monitoring method provided in this application Figure 1 ;
[0057] Figure 2a Schematic diagram of the principle of the cooling fan status monitoring method provided in this application Figure 1 ;
[0058] Figure 2b Schematic diagram 2 illustrating the principle of the cooling fan status monitoring method provided in this application;
[0059] Figure 3 Schematic diagram of the principle of the cooling fan status monitoring method provided in this application Figure 3 ;
[0060] Figure 4 Schematic diagram of the principle of the cooling fan status monitoring method provided in this application Figure 4 ;
[0061] Figure 5 Schematic diagram of the impact of dust accumulation on the fan blades in the condition monitoring method for the cooling fan provided in this application Figure 1 ;
[0062] Figure 6 Schematic diagram 2 showing the impact of dust accumulation on the fan blades in the condition monitoring method for the cooling fan provided in this application;
[0063] Figure 7 A schematic diagram of the implementation architecture of the cooling fan status monitoring method provided in this application;
[0064] Figure 8 A schematic diagram of the condition monitoring device for the cooling fan provided in this application;
[0065] Figure 9 A schematic diagram of the structure of the electronic device provided in this application.
[0066] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0067] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0068] First, let me explain the terms used in this application:
[0069] There is indeed a certain correlation between fan speed and the generated airflow. Generally speaking, the higher the fan speed, the greater the airflow. However, this relationship is not a simple linear one, because airflow is also affected by other factors, such as surrounding environmental conditions and air resistance.
[0070] The specific application scenario of this application is the status monitoring of cooling fans in electronic devices, such as servers, switches, and terminal devices.
[0071] The cooling fan status monitoring method provided in this application, by using a microphone array and performing frequency domain conversion processing on the collected audio data, can identify and distinguish abnormal operating conditions of different cooling fans, thereby improving the reliability of equipment heat dissipation.
[0072] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0073] Figure 1 Flowchart of the cooling fan status monitoring method provided in this application Figure 1 The method of this embodiment is applied to an electronic device, which is provided with at least two cooling fans and a first microphone array, such as... Figure 1 As shown, the method includes:
[0074] S101. Based on the first delay difference in the arrival of noise from at least two cooling fans at the first microphone array, acquire the audio data corresponding to any cooling fan collected by the first microphone array.
[0075] Specifically, the positions of the first microphone array and the cooling fans remain relatively constant within the electronic device, and the positions of different cooling fans are also different. Therefore, the delay from each cooling fan to each microphone in the first microphone array is different. To easily confirm whether any cooling fan is functioning properly, the audio data corresponding to any cooling fan collected by the first microphone array can be obtained based on the first delay difference of the noise from each cooling fan reaching the first microphone array, thus distinguishing the audio data corresponding to each cooling fan. The first delay difference refers to the difference in the delay of the noise from different cooling fans reaching the first microphone array. The first delay difference between two cooling fans includes M values, where each M value represents the difference in the delay of the noise from the two cooling fans reaching different microphones in the first microphone array.
[0076] For example, the cooling fan has fan 1, fan 2, and fan 3, and the first microphone array includes microphone 1, microphone 2, and microphone 3. The first delay difference refers to the delay difference in the arrival time of the noise from fan 1, fan 2, and fan 3 at the first microphone array. For example, the first delay difference between fan 1 and fan 2 includes three values: the delay difference in the arrival time of the noise from fan 1 and fan 2 at microphone 1, the delay difference in the arrival time of the noise from fan 1 and fan 2 at microphone 2, and the delay difference in the arrival time of the noise from fan 1 and fan 2 at microphone 3. Similarly, the first delay difference between fan 1 and fan 3 includes three values: the delay difference in the arrival time of the noise from fan 1 and fan 3 at microphone 1, the delay difference in the arrival time of the noise from fan 1 and fan 3 at microphone 2, and the delay difference in the arrival time of the noise from fan 1 and fan 3 at microphone 3.
[0077] Optionally, based on the first delay difference, the noise of different cooling fans can be distinguished. When acquiring the audio data corresponding to a certain cooling fan, the noise of other cooling fans is ignored, and only the noise of the cooling fan is acquired as the audio data corresponding to that cooling fan.
[0078] S102. For any cooling fan, perform frequency domain transformation on the audio data corresponding to the cooling fan to obtain the spectral density information corresponding to the cooling fan.
[0079] Specifically, for each cooling fan, since it is not easy to determine whether the cooling fan is working properly based on the audio data in the time domain, the audio data is converted into the frequency domain to obtain the spectral density information corresponding to the cooling fan.
[0080] S103. Determine whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan.
[0081] Specifically, for each cooling fan, the spectral density information corresponding to that cooling fan can be used to determine whether the cooling fan is in a normal state. For example, if the spectral density information corresponding to that cooling fan is significantly different from that corresponding to a cooling fan in a normal state, then the cooling fan can be determined to be in an abnormal state.
[0082] For example, the spectral density information corresponding to each cooling fan is compared with the spectral density information corresponding to a cooling fan in normal condition. Based on the comparison results, it is determined whether the current cooling fan is in normal condition.
[0083] The cooling fan status monitoring method provided in this application embodiment acquires audio data corresponding to each cooling fan collected by the first microphone array based on the first delay difference between the noise arrival times of at least two cooling fans at the first microphone array. For any cooling fan, the audio data corresponding to the cooling fan is subjected to frequency domain transformation processing to obtain the spectral density information corresponding to the cooling fan. Furthermore, based on the spectral density information corresponding to the cooling fan, it is determined whether the cooling fan is in a normal state. Since the audio data of different cooling fans can be distinguished based on the first delay difference between the noise arrival times of at least two cooling fans at the first microphone array, the audio data of different cooling fans can be accurately acquired. Therefore, the state of each cooling fan can be determined based on the spectral density information of different cooling fans, effectively distinguishing the location of cooling fans in abnormal states, which is convenient for maintenance personnel to handle.
[0084] Optionally, a distributed microphone array can be used to sample the operating noise of the cooling fan. Each array should contain at least five microphones, including but not limited to linear, planar, or stereo arrays. The microphone array can be strategically positioned according to the chassis structure and fan location. The distance D between the microphone and the fan should be greater than a preset value, for example, greater than 10cm. The microphone's audio input port should be positioned away from the wind direction to reduce noise interference from oncoming wind. Oncoming wind noise refers to the significant low-frequency noise captured when the microphone is used in a windy environment, caused by the wind blowing directly onto the microphone, resulting in severe vibration of the microphone diaphragm.
[0085] The linear array employs a linear arrangement. A linear arrangement means arranging microphones evenly along a straight line to maximize the peak value of the array's radiation pattern and minimize the sidelobe level. This linear arrangement is suitable for locating and separating sound source signals from a single direction.
[0086] The planar array employs a planar arrangement. A planar arrangement refers to arranging the microphones according to a two-dimensional planar coordinate system, enabling the microphone array to receive sound source signals from different directions. This arrangement is suitable for locating and separating sound source signals from multiple directions. Optionally, a two-dimensional planar arrangement can be used in the method of this application embodiment.
[0087] The stereo array employs a three-dimensional arrangement. This arrangement means that the microphones are arranged according to a 3D coordinate system, which provides higher reliability and flexibility in locating and separating sound source signals, enabling it to cope with more complex environments.
[0088] In some embodiments, the first microphone array includes at least two microphones, and S101 can be implemented as follows: for any of the cooling fans, according to a first delay difference, the audio data of the cooling fan collected by each microphone in the first microphone array is obtained; according to a second delay difference in the arrival of the noise of the cooling fan at each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is compensated to obtain the audio data corresponding to the cooling fan.
[0089] Specifically, the positions of the first microphone array and the cooling fan remain relatively constant inside the electronic device, and the positions of different cooling fans are also different. Therefore, the delay of the noise from different cooling fans reaching the first microphone array is different, and the delay of the noise from the same cooling fan reaching each microphone in the first microphone array is also different. Therefore, based on the first delay difference of the noise from different cooling fans reaching the first microphone array, the audio data of a certain cooling fan collected by each microphone in the first microphone array is obtained. Based on the second delay difference of the noise from that cooling fan reaching each microphone in the first microphone array, the audio data of that cooling fan collected by each microphone is compensated, and finally the audio data corresponding to that cooling fan is obtained; the same applies to other cooling fans.
[0090] The first delay difference refers to the difference in the time it takes for noise from different cooling fans to reach the first microphone array. The second delay difference refers to the difference in the time it takes for noise from the same cooling fan to reach different microphones in the first microphone array.
[0091] For example, the cooling fan has fan 1, fan 2, and fan 3, and the first microphone array includes microphone 1, microphone 2, and microphone 3. The first delay difference refers to the delay difference in the arrival of the noise from fan 1, fan 2, and fan 3 at the first microphone array. The first delay difference between fan 1 and fan 2 includes three values: the delay difference in the arrival of the noise from fan 1 and fan 2 at microphone 1, the delay difference in the arrival of the noise from fan 1 and fan 2 at microphone 2, and the delay difference in the arrival of the noise from fan 1 and fan 2 at microphone 3. The first delay difference between fan 1 and fan 3 also includes three values: the delay difference in the arrival of the noise from fan 1 and fan 3 at microphone 1, the delay difference in the arrival of the noise from fan 1 and fan 3 at microphone 2, and the delay difference in the arrival of the noise from fan 1 and fan 3 at microphone 3.
[0092] Optionally, the noise of different cooling fans can be distinguished based on the first delay difference. When acquiring the audio data corresponding to a certain cooling fan, the noise of other cooling fans is ignored, and only the noise of that cooling fan is acquired as the audio data corresponding to that cooling fan. For example, the second delay difference refers to the delay difference between the noise of fan 1 reaching microphone 1, microphone 2, and microphone 3. Optionally, with microphone 1 as the reference, there is a second delay difference between microphone 2 and microphone 1, and there is a second delay difference between microphone 3 and microphone 1.
[0093] Optionally, the compensation process includes: aligning the timing of the audio data of the cooling fan acquired by each microphone based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array, and performing signal enhancement processing to enhance the audio data of the cooling fan acquired by the first microphone array.
[0094] For example, when acquiring the audio data corresponding to fan 1, firstly, based on the time difference between the noise of fan 1 and fan 2 reaching microphone 1, the time difference between the noise of fan 1 and fan 2 reaching microphone 2, the time difference between the noise of fan 1 and fan 2 reaching microphone 3, the time difference between the noise of fan 1 and fan 3 reaching microphone 1, the time difference between the noise of fan 1 and fan 3 reaching microphone 2, and the time difference between the noise of fan 1 and fan 3 reaching microphone 3, only the noise of fan 1 collected by microphones 1, 2, and 3 is acquired. Then, using microphone 1 as a reference, based on the time difference between the noise of fan 1 reaching microphone 2 and microphone 1, and the time difference between the noise of fan 1 reaching microphone 3 and microphone 1, the time of the audio data of fan 1 collected by microphones 2 and 3 is aligned, and the audio data of fan 1 collected by microphone 1 and the time-aligned audio data of fan 1 collected by microphones 2 and 3 are superimposed, thereby enhancing the audio data of fan 1.
[0095] Optionally, the step of compensating the audio data of the cooling fan collected by each microphone based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array to obtain the audio data corresponding to the cooling fan includes:
[0096] Based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is time-aligned.
[0097] The audio data of the cooling fan collected by each of the microphones after time alignment are superimposed to obtain the audio data corresponding to the cooling fan.
[0098] Specifically, based on the second delay difference of the noise from the cooling fan reaching each microphone in the first microphone array, the time of the audio data of the cooling fan collected by each microphone is aligned. For example, the time of the audio data of the cooling fan collected by one microphone is used as the reference time, and the time of the audio data of the cooling fan collected by other microphones in the first microphone array is time-aligned with the reference time. Then, signal enhancement processing is performed, for example, the audio data of the cooling fan collected by each microphone after time alignment is superimposed to enhance the audio data of the cooling fan collected by the first microphone array.
[0099] like Figure 2a , Figure 2b As shown, when acquiring the audio data corresponding to the cooling fan FAN1, based on the first delay difference between each cooling fan and the first microphone array, only the audio signal from FAN1 to the first microphone array is delayed to enhance the audio signal, while the audio signals from other cooling fans to the first microphone array are not enhanced. Therefore, the audio data corresponding to FAN1 can be better distinguished.
[0100] in, Figure 2a In this diagram, t1 represents the second delay difference between the noise of cooling fan FAN1 reaching microphone 1 (referred to as microphone 1) and microphone 2 (referred to as microphone 2) in the first microphone array, and t2 represents the second delay difference between the noise of cooling fan FAN1 reaching microphone 1 and microphone 3 (referred to as microphone 3) in the first microphone array. Based on t1, the noise of FAN1 collected by microphone 2 is time-aligned with the noise of FAN1 collected by microphone 1. Based on t2, the noise of FAN1 collected by microphone 3 is time-aligned with the noise of FAN1 collected by microphone 1. The time-aligned noise of FAN1 collected by microphone 2 and microphone 3, as well as the noise of FAN1 collected by microphone 1, are then superimposed to enhance the noise of FAN1.
[0101] like Figure 3 As shown, the propagation delays of the noise from the cooling fan FAN1 to MIC1-MIC5 in the first microphone array are T and T, respectively. 11 T 12 T 13 T 14 T 15 The propagation delays of the noise from the cooling fan FAN2 to MIC1-MIC5 in the first microphone array are respectively T 21 T 22 T 23 T 24 T 25 The first delay difference between the noise from FAN2 and FAN1 reaching the first microphone array includes: T 21 -T11 T 22 -T 12 T 23 -T 13 T 24 -T 14 and T 25 -T 15 .
[0102] For example, based on the first delay difference in the arrival of noise from each cooling fan at the first microphone array, methods such as polling sampling and delay compensation are used to distinguish the location of each cooling fan, thereby enhancing the audio signal of that cooling fan and filtering out background noise. Figure 4 As shown, the details are as follows:
[0103] Cooling fan FAN1 connects to the first microphone array MIC1~MIC m The spacings are D1 to D m The corresponding propagation delay T m =D m / V, where V represents the speed of sound in air; using MIC1 as the delay comparison reference, the noise from FAN1 reaches MIC. m The second delay difference between MIC1 and MIC2 is T. d =T m –T1, FAN1 noise reaches MIC m-1 The second delay difference between MIC1 and MIC2 is T. d =T m-1 –T1, ..., The second delay difference between the noise of FAN1 arriving at MIC2 and MIC1 is T d =T2-T1. By analyzing MIC1 to MIC2 in the first microphone array... m The collected FAN1 audio data undergoes delay compensation, specifically MIC1~MIC m The acquired FAN1 audio data is time-aligned and then weighted and summed to obtain the enhanced FAN1 audio signal. Where n ranges from 1 to m, m represents the number of microphones in the first microphone array, and x n Indicates MIC m The audio weighting coefficients f corresponding to the acquired audio signal n (T d ) indicates MIC n The digital audio data obtained after delay compensation processing of the acquired FAN1 audio signal, i.e., via T... d MIC1~MIC m The raw audio signal f collected n Perform time alignment.
[0104] Since the distance from the cooling fan to different microphones in the first microphone array is different, the intensity of the audio signal is different. Therefore, the audio signal is enhanced by multiplying it by an audio weighting coefficient. For example, the audio weighting coefficient is larger when the distance is larger, and the audio weighting coefficient is smaller when the distance is smaller.
[0105] The above scheme is used to poll and sample other FANis to obtain their digital audio data. The value of i ranges from 1 to k, where k represents the number of cooling fans.
[0106] In the above embodiments, delay compensation is applied to the audio data collected by each microphone in the first microphone array, which can enhance the audio data corresponding to the cooling fan, better distinguish the audio data of different cooling fans, and make the status monitoring results more accurate.
[0107] In some embodiments, S102 can be implemented by performing Fourier transform processing on the audio data corresponding to the cooling fan to obtain the spectral density information corresponding to the cooling fan.
[0108] S103, determining whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan includes: determining that the cooling fan is in an abnormal state if the difference between the spectral density information corresponding to the cooling fan and the preset first spectral density information is greater than or equal to a first threshold.
[0109] Specifically, the audio data corresponding to the cooling fan, i.e., the collected sound signal, is transformed through Fourier transform to obtain frequency domain information, such as spectral density information.
[0110] Assuming the spectral density information of the cooling fan under normal conditions is the first spectral density information, the spectral density information corresponding to the current cooling fan is compared with the first spectral density information. If the difference between the two is greater than or equal to the first threshold, it is determined that the cooling fan is in an abnormal state.
[0111] For example, spectral density information is the same as power spectral density information; the difference between the two refers to the difference in power at each frequency.
[0112] In the above embodiments, if the difference between the spectral density information corresponding to the cooling fan and the preset first spectral density information is greater than or equal to the first threshold, the cooling fan is determined to be in an abnormal state. The implementation scheme is simple and highly efficient.
[0113] In some embodiments, S103 can be implemented by dividing the frequency domain corresponding to the spectral density information into multiple frequency ranges; and determining whether the cooling fan is in normal condition based on the spectral density information corresponding to each frequency range.
[0114] Specifically, fan noise sources are mainly generated by bearings, fan blades, and coils. These noises are often coupled together and difficult to distinguish within the time range. However, algorithms such as Fourier transform can convert the noise audio data into frequency domain signals, making them easier to distinguish within the frequency domain. Typically, air noise generated by fan blade rotation is concentrated in the high-frequency region with a wide spectral range; bearing friction noise and rotor imbalance noise are mainly concentrated in the low-frequency region with a narrower spectral range. Therefore, the frequency domain corresponding to the spectral density information of the cooling fan's audio data can be divided into multiple frequency ranges; based on the spectral density information corresponding to each frequency range, it can be determined whether the cooling fan is in a normal operating state.
[0115] For example, the frequency domain can be divided into low-frequency range, mid-frequency range, and high-frequency range; by determining whether the spectral density information corresponding to the low-frequency range, mid-frequency range, and high-frequency range is normal, it can be determined whether the cooling fan is in normal condition.
[0116] In some embodiments, determining whether the cooling fan is in a normal state based on the spectral density information corresponding to each frequency range includes: determining that the cooling fan is in an abnormal state if the difference between the spectral density information corresponding to the frequency range and the preset second spectral density information corresponding to the frequency range is greater than or equal to a second threshold.
[0117] Specifically, assuming that the spectral density information corresponding to a certain frequency range of the cooling fan under normal conditions is the second spectral density information, if the difference between the spectral density information corresponding to that frequency range and the second spectral density information is greater than or equal to the second threshold, the cooling fan is determined to be in an abnormal state.
[0118] The first spectral density information corresponds to the entire frequency range of the spectral density information corresponding to the cooling fan. The second spectral density information corresponds to a specific frequency range of the spectral density information corresponding to the cooling fan.
[0119] The values of the first threshold and the second threshold can be the same or different.
[0120] Optionally, the method further includes: identifying fan components corresponding to frequency ranges where the difference is greater than or equal to the second threshold as abnormal components.
[0121] Specifically, for example, the low-frequency range corresponds to bearing and ball friction noise, that is, the corresponding fan component is the bearing; the high-frequency range corresponds to fan blade rotation noise, that is, the corresponding fan component is the fan blade.
[0122] If the spectral density information corresponding to the high-frequency range is abnormal, the fan blades of the cooling fan are determined to be abnormal components, and maintenance personnel can be notified to handle it; if the spectral density information corresponding to the low-frequency range is abnormal, the bearings of the cooling fan are determined to be abnormal components.
[0123] In the above embodiments, by dividing the frequency domain into multiple frequency ranges and determining whether the cooling fan is in a normal state based on the spectral density information corresponding to each frequency range, abnormal components can be identified, thereby improving the accuracy of condition monitoring and maintenance efficiency.
[0124] In some embodiments, S103 can be implemented in the following manner:
[0125] Obtain the spectral density information of the audio data corresponding to the first number of fan speeds; based on the comparison results of the spectral density information corresponding to the first number of fan speeds with the corresponding preset third spectral density information, determine whether the cooling fan is in a normal state.
[0126] Specifically, at a first number of different fan speeds, the spectral density information of the corresponding audio data is obtained respectively, and based on the spectral density information corresponding to the first number of different fan speeds, it is determined whether the cooling fan is in a normal state.
[0127] To more accurately determine whether a cooling fan is in normal working order, audio data at different fan speeds can be collected and converted into spectral density information. Based on the spectral density information at different fan speeds, it can be determined whether the cooling fan is in normal working order.
[0128] Assuming that at a specific fan speed, the spectral density information corresponding to the cooling fan in normal condition is the third spectral density information, then by comparing the spectral density information at different fan speeds with the third spectral density information, it can be determined whether the cooling fan is in normal condition.
[0129] In some embodiments, determining whether the cooling fan is in a normal state based on the comparison results of the spectral density information corresponding to each of the first number of fan speeds with the corresponding preset third spectral density information includes: for any fan speed, determining the difference between the spectral density information corresponding to the fan speed and the preset third spectral density information of the fan speed; if there is a second number of fan speeds with a difference greater than or equal to a third threshold that is greater than or equal to a number threshold, determining that the cooling fan is in an abnormal state, wherein the second number is less than or equal to the first number.
[0130] Specifically, if there is a second number of fan speeds that differ from or are equal to the third threshold, and that is greater than or equal to the number threshold, then the cooling fan is determined to be in an abnormal state.
[0131] For example, if the spectral density information of the cooling fan at 10 fan speeds is compared, and the difference between the spectral density information of the cooling fan at 7 fan speeds and the third spectral density information corresponding to each fan speed is greater than or equal to the third threshold, then the cooling fan is determined to be in an abnormal state.
[0132] Optionally, the third threshold and the quantity threshold are preset thresholds.
[0133] In the above embodiments, audio data at different fan speeds is collected and then converted into spectral density information. Based on the spectral density information at different fan speeds, it is determined whether the cooling fan is in a normal state. The judgment is made based on the spectral density information at a first number of fan speeds, which improves the accuracy of status monitoring.
[0134] In some embodiments, the electronic device is further provided with a second microphone array, the second microphone array including at least two microphones, and the method further includes: acquiring wind noise data collected by the second microphone array within the electronic device, and determining the measured wind speed corresponding to the wind noise data; determining whether the wind speed of the cooling fan is normal based on the measured wind speed and the target wind speed corresponding to the current fan speed; the target wind speed is obtained based on the current fan speed and the correspondence between the fan speed and the target wind speed.
[0135] The second microphone array includes at least two microphones. The second microphone array can be a linear array, a planar array, or a three-dimensional array, and its arrangement is similar to that of the first microphone array, which will not be described in detail here.
[0136] The second microphone array is set independently of the first microphone array. Optionally, the second microphone array is fixed in a position within the electronic device where airflow interference is minimal (to reduce airflow disturbances from interfering with wind speed), for example, where the airflow interference value is less than a preset threshold.
[0137] Optionally, the first microphone array collects noise from the operation of the cooling fan, such as noise generated by bearing friction, fan blades and air interaction.
[0138] The second microphone array collects wind noise inside the device, which is used to calculate the airflow speed inside the device, thereby determining the dust accumulation on the fan blades.
[0139] Specifically, by collecting wind noise data within the single device through a second microphone array and determining the corresponding wind speed based on the wind noise data, the wind speed circulating within the device at that time can be determined.
[0140] There is usually a certain correspondence between fan speed and airflow. Optionally, different correspondences between fan speed and target airflow can be preset. Furthermore, the target airflow corresponding to the current fan speed can be obtained based on the current fan speed and the correspondence between fan speed and target airflow. The target airflow is the ideal airflow value when the fan is in normal condition, which is used to determine whether the fan is normal. Further, the obtained measured airflow is compared with the target airflow to determine whether the cooling fan's airflow is normal. For example, the magnitude of the measured airflow is compared with the target airflow to determine whether the cooling fan's airflow is normal.
[0141] like Figure 5 , Figure 6 When a large amount of dust accumulates on the fan blades, the dust makes the blade surface rough, forming local pits and causing airflow to be obstructed in some areas, creating turbulence and losing kinetic energy, thereby reducing wind force and wind speed. At this time, the measured wind speed is less than the target wind speed, indicating that the airflow speed inside the equipment is abnormal, that is, the fan speed is abnormal.
[0142] Optionally, wind noise data inside the chassis can be sampled, and after noise reduction filtering, the corresponding wind speed can be determined. For example, wind speed measurement can be performed by training relevant models using machine learning algorithms such as decision trees, gradient boosting decision trees (GBDT), random forests, neural networks, etc. That is, the acquired wind noise data can be input into the trained model to obtain the measured wind speed.
[0143] In the above implementation, the wind speed corresponding to the fan speed and the wind speed measured by the second microphone array are compared and analyzed to determine whether the wind speed is normal, and thus whether the cooling fan is working properly. The implementation scheme is simple and highly efficient.
[0144] In some embodiments, the electronic device is further provided with a barometric pressure acquisition component, and the method further includes: acquiring barometric pressure information acquired by the barometric pressure acquisition component; and performing compensation processing on the measured wind speed based on the barometric pressure information to obtain a compensated measured wind speed.
[0145] The step of comparing the measured wind speed with the target wind speed to determine whether the cooling fan speed is normal includes: comparing the compensated measured wind speed with the target wind speed to determine whether the cooling fan speed is normal.
[0146] Specifically, the electronic device obtains current air pressure information through a built-in air pressure acquisition component. The higher the altitude, the thinner the air, the lower the air pressure, and the lower the wind speed generated at the same fan speed. For example, by using air pressure sensor data, the current measured wind speed is weighted and compensated, making the measured wind speed more accurate.
[0147] For example, the compensated measured wind speed can be calculated using the following formula: v = a h ·f rpm (noise), a h The weighting factor is h, which represents altitude. The higher the altitude, the thinner the air and the lower the air pressure, resulting in lower wind speed at the same fan speed. Therefore, a... h The larger the value, the greater the difference in airflow speed inside the equipment chassis at different altitudes and with the same fan speed; f rpm (noise) is a wind noise and wind speed function model. The input noise is noise data, and the output is wind speed.
[0148] In the above embodiments, the measured wind speed is compensated based on the air pressure information, making the measured wind speed more accurate, thereby accurately determining whether the fan speed is normal.
[0149] In some embodiments, S103 can be implemented as follows: when it is determined that the cooling fan is in an abnormal state based on the spectral density information corresponding to the cooling fan, and the wind speed of the cooling fan is abnormal, the cooling fan is determined to be in an abnormal state.
[0150] Specifically, the spectral density information of the collected audio data can be used to determine whether the cooling fan is functioning properly. Combined with the result of whether the fan speed is normal, it can be determined whether the cooling fan is in a normal state.
[0151] For example, if the spectral density information of the collected audio data indicates that the cooling fan is in an abnormal state, and the fan speed is also abnormal, then the cooling fan is determined to be in an abnormal state.
[0152] In the above implementation, based on the judgment results of the two methods, it is finally determined whether the cooling fan is in normal condition, which can avoid misjudgment and improve the accuracy of the judgment result.
[0153] In some embodiments, the cooling fan is provided with an indicator light to indicate whether the cooling fan is working properly.
[0154] Optionally, LED indicator lights can be used to provide on-site alarms for failed fans. For example, on-site maintenance personnel can locate the failed fan by observing the flashing yellow light on fan 1, and then perform operations such as cleaning accumulated dust or replacing the faulty fan to restore the equipment to normal operation.
[0155] Optionally, the method further includes: when it is determined that the cooling fan is in an abnormal state, outputting fan failure information; for example, including: fan identification, faulty component information, etc.
[0156] In some embodiments, the microphones in the first and second microphone arrays, excluding the audio acquisition ports, are wrapped with sound-absorbing material.
[0157] Specifically, wrapping the microphone with sound-absorbing materials such as sound-absorbing cotton on the windward side, leaving only the microphone audio acquisition port exposed, can greatly reduce the noise interference caused by wind flowing over the MIC surface. At the same time, it can also reduce interference from sound sources from non-fan directions, that is, reduce the impact of chassis vibration, wind noise, internal chassis echo and external environmental noise.
[0158] For example, such as Figure 7 As shown, the switch device is equipped with four cooling fans FAN1, FAN2, FAN3 and FAN4, microphone array 1 and microphone array 2. Microphone array 1 includes microphone 1, microphone 2, ..., microphone 5, and microphone array 2 includes microphone 6 and microphone 7. Microphone array 1 is used to collect audio data from the cooling fans, and performs delay compensation through the acoustic signal processing module. It is then converted into spectral density information through the status monitoring module to determine whether each cooling fan is in normal condition.
[0159] Microphone array 2 is used to collect wind noise data, and the acoustic signal processing module performs filtering and noise reduction. The status monitoring module performs wind speed compensation based on air pressure to determine whether the wind speed is normal. The status monitoring module can also receive the TACH signal of the cooling fan speed and other logic signals. The status monitoring module can also send status monitoring results to the operation and maintenance network through the network management interface.
[0160] Figure 8 This is a schematic diagram of the structure of the cooling fan status monitoring device provided in this application, as shown below. Figure 8 As shown, the cooling fan status monitoring device provided in this embodiment is applied to an electronic device. The electronic device is provided with at least two cooling fans and a first microphone array. The cooling fan status monitoring device includes: an acoustic signal processing module 801, used to acquire audio data corresponding to any one of the cooling fans collected by the first microphone array based on the first delay difference between the noise of the at least two cooling fans reaching the first microphone array; a status monitoring module 802, used to perform frequency domain transformation processing on the audio data corresponding to any one of the cooling fans to obtain the spectral density information corresponding to the cooling fan; and to determine whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan.
[0161] In one possible implementation, the first microphone array includes at least two microphones, and the acoustic signal processing module 801 is specifically configured to: for any one of the cooling fans, acquire audio data of the cooling fan collected by each microphone in the first microphone array based on the first delay difference; and perform compensation processing on the audio data of the cooling fan collected by each microphone based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array to obtain the audio data corresponding to the cooling fan.
[0162] In one possible implementation, the acoustic signal processing module 801 is specifically used for:
[0163] Based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is time-aligned.
[0164] The audio data of the cooling fan collected by each of the microphones after time alignment is subjected to signal enhancement processing to obtain the audio data corresponding to the cooling fan.
[0165] In one possible implementation, for any of the cooling fans, the status monitoring module 802 is specifically used to: perform Fourier transform processing on the audio data corresponding to the cooling fan to obtain the spectral density information corresponding to the cooling fan; and determine that the cooling fan is in an abnormal state if the difference between the spectral density information corresponding to the cooling fan and the preset first spectral density information is greater than or equal to a first threshold.
[0166] In one possible implementation, the status monitoring module 802 is specifically used for:
[0167] The frequency domain corresponding to the spectral density information is divided into multiple frequency ranges;
[0168] Based on the spectral density information corresponding to each frequency range, determine whether the cooling fan is in normal condition.
[0169] In one possible implementation, the status monitoring module 802 is specifically used for:
[0170] If the difference between the spectral density information corresponding to the frequency range and the preset second spectral density information corresponding to the frequency range is greater than or equal to a second threshold, the cooling fan is determined to be in an abnormal state.
[0171] In one possible implementation, the status monitoring module 802 is further configured to:
[0172] Fan components corresponding to frequency ranges where the difference is greater than or equal to the second threshold are identified as abnormal components.
[0173] In one possible implementation, the status monitoring module 802 is specifically used for:
[0174] Obtain the spectral density information of the audio data corresponding to the first number of fan speeds;
[0175] Based on the spectral density information corresponding to the first number of fan speeds, and the comparison results with the corresponding preset third spectral density information, it is determined whether the cooling fan is in a normal state.
[0176] In one possible implementation, the status monitoring module 802 is specifically used for:
[0177] For any of the aforementioned fan speeds, determine the difference between the spectral density information corresponding to the fan speed and the preset third spectral density information of the fan speed;
[0178] If a second number of fan speeds with a difference greater than or equal to a third threshold is greater than or equal to a quantity threshold, the cooling fan is determined to be in an abnormal state, wherein the second number is less than or equal to the first number.
[0179] In one possible implementation, the electronic device further includes a second microphone array comprising at least two microphones, and the status monitoring module 802 is further configured to:
[0180] The wind noise data collected by the second microphone array within the electronic device is acquired, and the wind speed corresponding to the wind noise data is determined.
[0181] Based on the measured wind speed and the target wind speed corresponding to the current fan speed, determine whether the wind speed of the cooling fan is normal; the target wind speed is obtained based on the current fan speed and the correspondence between the fan speed and the target wind speed.
[0182] In one possible implementation, the electronic device further includes a pressure acquisition component, and the status monitoring module 802 is further used for:
[0183] Obtain the air pressure information collected by the air pressure acquisition component;
[0184] Based on the air pressure information, the measured wind speed is compensated to obtain the compensated measured wind speed;
[0185] The step of comparing the measured wind speed with the target wind speed corresponding to the current fan speed to determine whether the cooling fan's wind speed is normal includes:
[0186] The wind speed of the cooling fan is determined by comparing the compensated measured wind speed with the target wind speed corresponding to the current fan speed.
[0187] In one possible implementation, the status monitoring module 802 is specifically used for:
[0188] If the cooling fan is determined to be in an abnormal state based on the spectral density information corresponding to the cooling fan, and the fan speed is abnormal, then the cooling fan is determined to be in an abnormal state.
[0189] The cooling fan status monitoring device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0190] This application also provides an electronic device for use with the method described in any one of the foregoing method embodiments, the electronic device comprising:
[0191] Housing, first microphone array, and at least two cooling fans;
[0192] The first microphone array and each of the cooling fans are disposed within the housing.
[0193] In one possible implementation, the microphones in the first microphone array, excluding the audio acquisition ports, are wrapped with a sound-absorbing material.
[0194] In one possible implementation, the cooling fan is equipped with an indicator light to indicate whether the cooling fan is working properly.
[0195] Figure 9 A schematic diagram of the structure of the electronic device provided in this application. Figure 9 As shown, the electronic device 90 provided in this embodiment includes at least one processor 901 and a memory 902. Optionally, the device 90 further includes a communication component 903. The processor 901, memory 902, and communication component 903 are connected via a bus.
[0196] In a specific implementation, at least one processor 901 executes computer execution instructions stored in memory 902, causing at least one processor 901 to perform the above-described method.
[0197] The specific implementation process of processor 901 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0198] Optionally, the electronic device also includes: a housing, a first microphone array, and at least two cooling fans;
[0199] The first microphone array, the at least two cooling fans, the memory, and the processor are all housed within the housing.
[0200] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0201] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0202] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0203] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0204] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0205] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0206] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0207] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0208] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0209] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0210] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0211] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0212] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for monitoring the status of a cooling fan, characterized in that, Applied to an electronic device, the electronic device having at least two cooling fans and a first microphone array, the method includes: Based on the first delay difference in the arrival of noise from at least two of the cooling fans at the first microphone array, audio data corresponding to any one of the cooling fans collected by the first microphone array is obtained; For any of the cooling fans, the audio data corresponding to the cooling fan is subjected to frequency domain transformation processing to obtain the spectral density information corresponding to the cooling fan; Based on the spectral density information corresponding to the cooling fan, determine whether the cooling fan is in normal condition.
2. The method according to claim 1, characterized in that, The first microphone array includes at least two microphones. The step of acquiring audio data corresponding to any one of the cooling fans collected by the first microphone array based on the first delay difference in the arrival time of noise from the at least two cooling fans at the first microphone array includes: For any of the cooling fans, based on the first delay difference, the audio data of the cooling fan collected by each microphone in the first microphone array is obtained; Based on the second delay difference in the arrival of the cooling fan noise at each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is compensated to obtain the audio data corresponding to the cooling fan.
3. The method according to claim 2, characterized in that, The step of compensating the audio data of the cooling fan collected by each microphone based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array to obtain the audio data corresponding to the cooling fan includes: Based on the second delay difference of the noise of the cooling fan reaching each microphone in the first microphone array, the audio data of the cooling fan collected by each microphone is time-aligned. The audio data of the cooling fan collected by each of the microphones after time alignment is subjected to signal enhancement processing to obtain the audio data corresponding to the cooling fan.
4. The method according to any one of claims 1-3, characterized in that, For any of the cooling fans, the step of performing frequency domain transformation on the audio data corresponding to the cooling fan to obtain the spectral density information corresponding to the cooling fan includes: The audio data corresponding to the cooling fan is subjected to Fourier transform processing to obtain the spectral density information corresponding to the cooling fan. The step of determining whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan includes: If the difference between the spectral density information corresponding to the cooling fan and the preset first spectral density information is greater than or equal to a first threshold, the cooling fan is determined to be in an abnormal state.
5. The method according to any one of claims 1-3, characterized in that, The step of determining whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan includes: The frequency domain corresponding to the spectral density information is divided into multiple frequency ranges; Based on the spectral density information corresponding to each frequency range, determine whether the cooling fan is in normal condition.
6. The method according to claim 5, characterized in that, Determining whether the cooling fan is in normal working order based on the spectral density information corresponding to each of the frequency ranges includes: If the difference between the spectral density information corresponding to the frequency range and the preset second spectral density information corresponding to the frequency range is greater than or equal to a second threshold, the cooling fan is determined to be in an abnormal state.
7. The method according to claim 6, characterized in that, The method further includes: Fan components corresponding to frequency ranges where the difference is greater than or equal to the second threshold are identified as abnormal components.
8. The method according to any one of claims 1-3, characterized in that, The step of determining whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan includes: Obtain the spectral density information of the audio data corresponding to the first number of fan speeds; Based on the spectral density information corresponding to the first number of fan speeds, and the comparison results with the corresponding preset third spectral density information, it is determined whether the cooling fan is in a normal state.
9. The method according to claim 8, characterized in that, The step of determining whether the cooling fan is in normal condition by comparing the spectral density information corresponding to the first number of fan speeds with the corresponding preset third spectral density information includes: For any of the aforementioned fan speeds, determine the difference between the spectral density information corresponding to the fan speed and the preset third spectral density information of the fan speed; If a second number of fan speeds with a difference greater than or equal to a third threshold is greater than or equal to a quantity threshold, the cooling fan is determined to be in an abnormal state, wherein the second number is less than or equal to the first number.
10. The method according to any one of claims 1-3, characterized in that, The electronic device further includes a second microphone array, which comprises at least two microphones, and the method further includes: Acquire wind noise data within the electronic device collected by the second microphone array, and determine the measured wind speed corresponding to the wind noise data; Based on the measured wind speed and the target wind speed corresponding to the current fan speed, determine whether the wind speed of the cooling fan is normal; the target wind speed is obtained based on the current fan speed and the correspondence between the fan speed and the target wind speed.
11. The method according to claim 10, characterized in that, The electronic device also includes a barometric pressure acquisition component, and the method further includes: Obtain the air pressure information collected by the air pressure acquisition component; Based on the air pressure information, the measured wind speed is compensated to obtain the compensated measured wind speed; The step of comparing the measured wind speed with the target wind speed corresponding to the current fan speed to determine whether the cooling fan's wind speed is normal includes: The wind speed of the cooling fan is determined by comparing the compensated measured wind speed with the target wind speed corresponding to the current fan speed.
12. The method according to claim 10, characterized in that, The step of determining whether the cooling fan is in normal condition based on the spectral density information corresponding to the cooling fan includes: If the cooling fan is determined to be in an abnormal state based on the spectral density information corresponding to the cooling fan, and the fan speed is abnormal, then the cooling fan is determined to be in an abnormal state.
13. A status monitoring device for a cooling fan, characterized in that, Applied to an electronic device, the electronic device having at least two cooling fans and a first microphone array, the device includes: An acoustic signal processing module is used to acquire audio data corresponding to any one of the cooling fans collected by the first microphone array based on the first delay difference in the arrival of noise from at least two cooling fans to the first microphone array. The status monitoring module is used to perform frequency domain transformation processing on the audio data corresponding to any of the cooling fans to obtain the spectral density information corresponding to the cooling fan; and to determine whether the cooling fan is in a normal state based on the spectral density information corresponding to the cooling fan.
14. An electronic device, characterized in that, The electronic device, applicable to the method of any one of claims 1-12, comprises: Housing, first microphone array, and at least two cooling fans; The first microphone array and each of the cooling fans are disposed within the housing.
15. The device according to claim 14, characterized in that, The microphones in the first microphone array, except for the audio acquisition port, are covered with sound-absorbing material.
16. The device according to claim 14, characterized in that, The cooling fan is equipped with an indicator light to indicate whether the cooling fan is working properly.
17. An electronic device, characterized in that, Includes: housing, first microphone array, at least two cooling fans, memory, and processor; The first microphone array, the at least two cooling fans, the memory, and the processor are all housed within the housing. The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-12.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-12.
19. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-12.