Intelligent exhaust fan internet of things control method, system, equipment and medium

By using the water mist on the surface of the bathroom lamp in the intelligent exhaust fan to obtain the relative humidity and dynamically adjust the rotation speed according to the use scenario, the problem of insufficient speed adjustment of the existing intelligent exhaust fan in different scenarios is solved, improving user experience and environmental comfort.

CN119554257APending Publication Date: 2025-03-04GUANGDONG WINTEK SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411763074.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

It is difficult for existing smart exhaust fans to dynamically adjust the speed in different usage scenarios, resulting in problems such as noise interference or incomplete moisture removal.

Method used

Relative humidity is obtained through the water mist condensed on the surface of the bathroom lamp, and the rotation speed of the exhaust fan is dynamically adjusted according to the user's use scenario (such as call mode or singing mode). Specific measures include slowing down the rotation speed in the call mode, when the relative humidity does not exceed the safety threshold; increasing the rotation speed in the singing mode, when the relative humidity exceeds the safety threshold.

Benefits of technology

Reduce noise interference in call mode and improve call quality; quickly discharge moisture in singing mode to improve air flow and reduce the problem of poor breathing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119554257A_ABST
    Figure CN119554257A_ABST
Patent Text Reader

Abstract

The invention relates to an intelligent exhaust fan internet-of-things control method, system and device and a medium, and relates to the technical field of exhaust fans, and the method comprises the steps: obtaining the current indoor relative humidity condition through the water mist condition condensed on the surface of a bathroom lamp; acquiring a use scene of a user, and controlling the rotating speed of the exhaust fan; slowing down the rotating speed of the exhaust fan if the terminal is in the call mode and the relative humidity does not exceed a safety threshold value; and if in the singing mode and the relative humidity exceeds a safety threshold value, increasing the rotating speed of the exhaust fan. The rotating speed of the exhaust fan can be adjusted according to the use scene of the bathroom, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of exhaust fans, and in particular to an Internet of Things control method, system, device and medium for an intelligent exhaust fan. Background Art

[0002] Exhaust fans are one of the common household appliances in modern families. They are mainly used to exhaust indoor moisture and odor and keep the air flowing. With the improvement of living standards, people have higher and higher requirements for living environment, especially in humid environments such as bathrooms. The performance of exhaust fans directly affects the comfort and health of users. In recent years, the rapid development of smart home appliances has gradually diversified the functions of exhaust fans, which are not limited to simple ventilation and air exchange, but also combined with Internet of Things technology to achieve more intelligent control. This trend not only improves the user experience, but also promotes the overall development of the smart home market.

[0003] Existing exhaust fans usually operate at a fixed speed or manually adjusted. In order to meet the needs of different usage scenarios, some smart exhaust fans already have certain automatic adjustment functions, such as adjusting the speed through temperature and humidity sensors. In addition, some exhaust fans are equipped with timer switches, remote control, smart voice smart speaker control and other functions to further enhance the user experience. These smart exhaust fans can achieve more accurate environmental monitoring and response through a variety of sensors and control algorithms, so as to better adapt to various usage conditions.

[0004] Although existing smart exhaust fans can improve user experience to a certain extent, they still have some shortcomings in practical applications. For example, when users are talking on the phone or singing, the fixed speed adjustment strategy may cause noise interference or incomplete moisture removal. Therefore, how to dynamically adjust the speed of the exhaust fan according to different usage scenarios has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The first purpose of this application is to provide an Internet of Things control method for an intelligent exhaust fan, which can adjust the rotation speed of the exhaust fan according to the usage scenario of the bathroom to enhance the user experience.

[0006] In the first aspect, the present application provides an intelligent exhaust fan Internet of Things control method, which adopts the following technical solutions: An intelligent exhaust fan Internet of Things control method, comprising: The current relative humidity in the room can be obtained through the condensation of water mist on the surface of the bathroom lamp; Obtain the user's usage scenario and control the rotation speed of the exhaust fan; If the user is in call mode and the relative humidity does not exceed a safety threshold, the rotation speed of the exhaust fan is reduced; If in singing mode and the relative humidity exceeds a safety threshold, the rotation speed of the exhaust fan is increased.

[0007] By adopting the above technical solution, the rotation speed of the exhaust fan can be dynamically adjusted in different usage scenarios. In the call mode, when the relative humidity does not exceed the safety threshold, the rotation speed of the exhaust fan is slowed down, thereby reducing noise interference, ensuring call quality, and improving user experience; in the singing mode, when the relative humidity exceeds the safety threshold, the rotation speed of the exhaust fan is increased to quickly discharge excess water vapor, improve the fluidity of the air in the bathroom, and reduce the problem of breathing difficulties.

[0008] In a preferred example, the present application can be further configured as follows: if the singing mode is in progress and the relative humidity exceeds the safety threshold, the step of increasing the rotation speed of the exhaust fan comprises: Determine whether the smart speaker is playing music; If music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music, and the BPM of the music is positively correlated with the rotation speed of the exhaust fan; If music is not playing, the beat rate per minute of the human voice is mapped to the BPM of the human voice, and the rotation speed of the exhaust fan is adjusted according to the BPM of the human voice. The BPM of the human voice is positively correlated with the rotation speed of the exhaust fan.

[0009] By adopting the above technical solution, when in singing mode and the relative humidity exceeds the safety threshold, the higher the BPM of the music, the higher the frequency of the user's breathing when singing along. Therefore, the rotation speed of the exhaust fan is adjusted according to the BPM of the music. The higher the BPM of the music, the faster the rotation speed of the exhaust fan, thereby effectively reducing the relative humidity, improving the air quality, and making the user's breathing smoother; if music is not played, the BPM of the human voice is obtained, and the rotation speed of the exhaust fan is adjusted according to the BPM of the human voice, which can also achieve a rapid reduction in relative humidity, make the air more circulated, and ensure that the user obtains good environmental quality when singing.

[0010] In a preferred example, the present application can be further configured as follows: if the user is in call mode and the relative humidity does not exceed the safety threshold, the step of slowing down the rotation speed of the exhaust fan includes: Setting the speed gear of the exhaust fan, wherein the speed gear includes a first speed gear, a second speed gear and a third speed gear, wherein the exhaust fan at the first speed gear has the slowest rotation speed, and the exhaust fan at the third speed gear has the fastest rotation speed; Determine whether the smart speaker is connected to the mobile phone via Bluetooth and enters the call mode; If the call mode is entered, determine whether the current relative humidity exceeds the safety threshold; If not, the speed of the exhaust fan is adjusted to the first speed gear, and the indoor temperature is obtained in real time. If the indoor temperature is higher than the highest value in the preset temperature range, the speed is switched to the second speed gear; If it exceeds, the speed of the exhaust fan is adjusted to the third speed gear, and the indoor temperature is obtained in real time. If the indoor temperature is lower than the lowest value of the preset temperature range, it is switched to the second speed gear.

[0011] By adopting the above technical solution, when the user is in call mode and the relative humidity does not exceed the safety threshold, the exhaust fan speed is switched to the slowest first speed gear, thereby reducing noise interference and improving call quality. At the same time, the indoor temperature is monitored in real time. If the indoor temperature is too high, the exhaust fan will automatically switch to the second speed gear to ensure a comfortable environment in the bathroom; if the relative humidity exceeds the safety threshold, the exhaust fan will accelerate to the fastest third speed gear to quickly discharge moisture, effectively avoid indoor humidity, and make the air in the bathroom more circulated. If the indoor temperature is too low, the exhaust fan will also automatically switch to the second speed gear to balance the room temperature and reduce the user's discomfort caused by the cold.

[0012] In a preferred example, the present application may be further configured as follows: before the step of increasing the rotation speed of the exhaust fan if the device is in singing mode and the relative humidity exceeds the safety threshold, the step further includes: Determine whether the smart speaker is playing music; If music is playing, the DTW algorithm is used to compare the similarity between the feature sequence of human voice and the feature sequence of music during the acquisition time. If the similarity is greater than the preset value, it is confirmed that it is in singing mode; If no music is playing and the device is not in call mode, during the collection time, determine whether there are human voices that exceed the preset number and last longer than the preset time. If so, it is considered to be in singing mode.

[0013] By adopting the above technical solution, when it is detected that the music playing is similar to the human voice, it can be confirmed that the user is singing, and then the rotation speed of the exhaust fan can be increased to ensure a good ventilation effect; at the same time, when no music is playing and the user is not in a call mode, by monitoring the frequency and duration of the human voice, it is also possible to accurately determine whether the user is in a singing state.

[0014] In a preferred example, the present application may be further configured as follows: if music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music, and the BPM of the music is positively correlated with the rotation speed of the exhaust fan, including: It is determined whether the current time is at night. If the current time is at night, the equalizer setting of the smart speaker is turned on to reduce the sound of the high frequency band and the low frequency band.

[0015] By adopting the above technical solution, when it is determined that the current time is night time, the equalizer of the smart speaker is automatically turned on to reduce the high-frequency and low-frequency sounds, making the music playback softer and effectively avoiding interference to neighbors or family members.

[0016] In a preferred example, the present application may be further configured as follows: the step of obtaining the user's usage scenario and controlling the rotation speed of the exhaust fan includes: Real-time capture of the sound generated by the exhaust fan facing the indoor side; Analyzing and processing the sound to generate a sound wave signal having a phase opposite to that of the sound; The sound wave signal is emitted toward the indoor side through the loudspeaker.

[0017] By adopting the above technical solution, the impact of noise on the indoor environment can be effectively reduced and the user experience can be improved.

[0018] In a preferred example, the present application may be further configured as follows: the step of obtaining the user's usage scenario and controlling the rotation speed of the exhaust fan includes: The position of the human voice is obtained based on the time difference between the human voice and the microphone array; By using beamforming technology, the sensitivity of the microphone array to receiving sound relative to the position of the human voice is enhanced; Adjust the position of the exhaust fan to the position of the human voice.

[0019] By adopting the above technical solution, the user's position can be judged more accurately, the sensitivity of collecting sound at the user's position can be enhanced, and the position of the exhaust fan can be adjusted according to the user's position, thereby optimizing the exhaust effect and improving the user experience.

[0020] In the second aspect, the present application provides an intelligent exhaust fan Internet of Things control system, which adopts the following technical solutions: An intelligent exhaust fan Internet of Things control system, comprising: Water vapor detection module: used to obtain the current relative humidity in the room through the water mist condensed on the surface of the bathroom lamp; Scene acquisition module: used to obtain the user's usage scenario and control the rotation speed of the exhaust fan; The first speed regulating module is used to slow down the rotation speed of the exhaust fan if the user is in a call mode and the relative humidity does not exceed a safety threshold; The second speed control module is used to increase the rotation speed of the exhaust fan if it is in singing mode and the relative humidity exceeds the safety threshold.

[0021] In a third aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned intelligent exhaust fan Internet of Things control method are implemented.

[0022] In a fourth aspect, the present application provides a computer storage medium, the following technical solution: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned intelligent exhaust fan Internet of Things control method are implemented.

[0023] In summary, this application has the following beneficial technical effects: 1. In the call mode, when the relative humidity does not exceed the safety threshold, the exhaust fan rotates slower, which reduces noise interference, improves call quality, and reduces the problem of users being disturbed by exhaust fan noise during calls; 2. In the singing mode, when the relative humidity exceeds the safety threshold, the exhaust fan speed increases to effectively remove moisture, enhance the air circulation in the bathroom, and improve the user's singing experience; 3 This application obtains the current relative humidity in the room and identifies different usage scenarios through the water mist condensed on the surface of the bathroom lamp, thereby realizing intelligent control of the exhaust fan, improving the comfort and safety of the bathroom environment, and solving the problem that a single control method in the prior art is difficult to adapt to a variety of usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flow chart of an Internet of Things control method for an intelligent exhaust fan in one embodiment of the present application.

[0025] Figure 2 It is a sub-step flow chart of step S4 in one embodiment of the present application.

[0026] Figure 3 It is a sub-step flow chart of step S3 in one embodiment of the present application.

[0027] Figure 4 This is a flowchart of steps added before step S4 in one embodiment of the present application.

[0028] Figure 5 It is a sub-step flow chart of step S41 in one embodiment of the present application.

[0029] Figure 6 It is a sub-step flow chart of step S2 in one embodiment of the present application.

[0030] Figure 7It is a sub-step flow chart of step S2 in another embodiment of the present application.

[0031] Figure 8 It is a structural schematic diagram of an intelligent exhaust fan Internet of Things control system according to one embodiment of the present application.

[0032] Fig. 9 It is a principle block diagram of an electronic device in one embodiment of the present application.

[0033] Figure numerals: 1. Water vapor detection module; 2. Scene acquisition module; 3. First speed regulation module; 4. Second speed regulation module. DETAILED DESCRIPTION

[0034] The following is combined with Figure 1-9 This application is described in further detail.

[0035] The smart exhaust fan is equipped with a bathroom light and a smart speaker, which can be connected to the user's mobile phone via Bluetooth and / or the Internet. The user can control the rotation speed of the exhaust fan, the switch and brightness of the bathroom light through the voice module in the smart speaker.

[0036] refer to Figure 1 , an intelligent exhaust fan Internet of Things control method, specifically comprising: S1. Obtain the current relative humidity in the room through the water mist condensed on the surface of the bathroom lamp.

[0037] Among them, the bathroom lamp is selected as an LED lamp. By monitoring the surface of the lampshade of the bathroom lamp, the current indoor humidity is judged according to the condensation of water mist on the surface of the lampshade of the bathroom lamp. Specifically, first confirm the current safety threshold of relative humidity. According to the provisions of the World Health Organization, the indoor humidity is maintained between 40% and 70%, which is the most comfortable range for human body.

[0038] In this embodiment, the safety threshold of relative humidity is set to 70%, and the safety threshold can be adjusted according to actual conditions. When the exhaust fan is installed and used for the first time, the relative humidity is measured using a humidity sensor at several water temperatures and bathing times commonly used in the bathroom, and the data of each relative humidity is recorded, especially the data of the relative humidity of 70%. At the same time, a picture of the water mist on the surface of the bathroom lamp under the same conditions is taken, and the density, distribution, and dissipation speed of the water mist condensed on the lampshade are recorded. Next, an image recognition algorithm is used to perform image recognition on the water mist picture, and the water mist condensed on the surface of the bathroom lampshade with a relative humidity of 70% is obtained according to the image recognition result.

[0039] Here, image recognition refers to the technology of using computers to process, analyze and understand images to identify targets and objects of various different patterns; image recognition algorithms may include Fast Region-based Convolutional Neural Network (Fast R-CNN), Residual Network (ResNet), Scale-Invariant Feature Transform (SIFT), etc., which are not limited in the embodiments of the present disclosure.

[0040] In actual use, if the water mist on the surface of the bathroom lampshade reaches a relative humidity of 70% in real time, it can be confirmed that the current humidity environment in the bathroom will make the user feel uncomfortable and affect the lighting of the bathroom lamp. At the same time, the condensation time of the water mist in the bathroom lampshade is judged. The relative direction of the position where the condensation is faster is the position where the water vapor increases faster. The position of the exhaust fan can be adjusted to the position where the water vapor increases faster, thereby improving the efficiency of exhausting the water vapor.

[0041] S2. Obtain the user's usage scenario and control the rotation speed of the exhaust fan.

[0042] S3. If the user is in call mode and the relative humidity does not exceed the safety threshold, the exhaust fan speed is reduced.

[0043] Specifically, when a user is on a call, reducing the noise in the environment can make the quality of the call sound from the smart voice smart speaker equipped with the exhaust fan higher. Therefore, when the relative humidity does not exceed the safety threshold, that is, the current relative humidity will not make people feel uncomfortable and the oxygen content in the air is sufficient, the exhaust fan speed is slowed down to reduce noise interference and improve air quality.

[0044] S4. If in singing mode and the relative humidity exceeds the safety threshold, increase the rotation speed of the exhaust fan.

[0045] Specifically, since people need more oxygen when they are singing than when they are not singing, it is very important to improve the air flow in the bathroom. When the relative humidity exceeds the safety threshold, that is, the current relative humidity has made people feel uncomfortable, but the air flow still needs to be further enhanced, the rotation speed of the exhaust fan needs to be further increased.

[0046] In this embodiment, the rotation speed of the exhaust fan is indirectly reflected by the bathroom light, which not only can obtain the position with more water vapor according to the time difference of water mist condensation, but also can make the exhaust fan defog the bathroom light.

[0047] In addition, in different usage scenarios, the smart exhaust fan can dynamically adjust the speed of the exhaust fan according to the real-time monitored relative humidity to optimize the user experience. In call mode, when the detected relative humidity does not exceed the safety threshold, the exhaust fan will automatically reduce its speed, effectively reducing the noise of the exhaust fan, creating a quieter call environment for users and improving call clarity; in singing mode, if the relative humidity exceeds the safety threshold, the exhaust fan will automatically speed up to quickly exhaust excess water vapor, improve the fluidity of the air in the bathroom, and effectively avoid breathing discomfort caused by excessive humidity in the bathroom.

[0048] It can dynamically adjust the rotation speed of the exhaust fan in different usage scenarios. In call mode, when the relative humidity does not exceed the safety threshold, the rotation speed of the exhaust fan will be slowed down to reduce noise interference, ensure call quality, and improve user experience; in singing mode, when the relative humidity exceeds the safety threshold, the rotation speed of the exhaust fan will be increased to quickly discharge excess water vapor, improve the air flow in the bathroom, and reduce the problem of breathing difficulties.

[0049] refer to Figure 2 Further, in one embodiment, step S4 is refined into the following sub-steps: S40: Determine whether the smart speaker is playing music.

[0050] Specifically, when a smart speaker plays music, it will exchange data with the music service provider. By monitoring the network traffic of the speaker, it is possible to analyze whether there is data transmission of music streaming media, thereby determining whether the speaker is playing music.

[0051] S41. If music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music. The BPM of the music is positively correlated with the rotation speed of the exhaust fan.

[0052] Specifically, the smart speaker, as a node of the Web Audio API, connects the music stream to the Realtime BPMAnalyzer for BPM analysis and obtains the BPM of the music in real time.

[0053] Since users may sing along when playing music, that is, they enter singing mode, in order to more accurately adjust the rotation speed of the exhaust fan, the BPM of the music is linearly positively correlated with the rotation speed of the exhaust fan, that is, the greater the BPM of the music, the faster the exhaust fan rotates. When the music rhythm is faster, the user's ventilation frequency will be higher, and fresher air will be needed. The air in the bathroom needs to be more circulated, so the exhaust fan is set to adjust with the BPM of the music. And the slope of the linear calculation formula of the BPM of the music and the rotation speed of the exhaust fan can be set by the user according to the actual situation.

[0054] S42. If music is not playing, the BPM of the human voice is mapped according to the beat rate per minute of the human voice, and the rotation speed of the exhaust fan is adjusted according to the BPM of the human voice. The BPM of the human voice is positively correlated with the rotation speed of the exhaust fan.

[0055] Specifically, the beat rate per minute of human voice can be used as BPM (beats per minute of music) and input into the real-time BPM analysis tool for analysis. As a node of the Web Audio API, the microphone output of the smart speaker is connected to the Realtime BPM Analyzer for BPM analysis to obtain the BPM of human voice in real time. The BPM of human voice is linearly positively correlated with the rotation speed of the exhaust fan, that is, the larger the BPM of human voice, the faster the rotation speed of the exhaust fan, so as to adapt to the user's faster singing rhythm, the higher the frequency of ventilation will be, and fresher air will be needed, and the air in the bathroom should be more circulated. In the absence of music and in singing mode, the rotation speed of the exhaust fan can also be adjusted according to the beat rate of the user's singing. And the slope of the linear calculation formula of the BPM of human voice and the rotation speed of the exhaust fan can be set by the user according to the actual situation.

[0056] When in singing mode and the relative humidity exceeds the safety threshold, the music BPM and vocal beat rate are detected in both cases of music playing and no music playing, and the exhaust fan rotation rate is adjusted linearly to quickly reduce the relative humidity and make the air more circulated, ensuring that users get good environmental quality when singing.

[0057] When in singing mode and the relative humidity does not exceed the safety threshold, the exhaust fan will not change its rotation speed unless it is set by the user to follow the BPM of music or the beat rate of human voice. Instead, it will work according to the rotation speed set by the user. This can maintain the temperature in the bathroom and reduce the cooling caused by the exhaust fan drawing away the indoor air, especially in winter. The water vapor in the bathroom does not reduce the indoor oxygen concentration to a large extent, and can play a certain role in heat preservation without affecting people's breathing and activities. Therefore, when the relative humidity does not exceed the safety threshold, the exhaust fan will not change with the change of music BPM or human voice beat rate.

[0058] In addition, reference Figure 3 Further, in one embodiment, step S3 is refined into the following sub-steps: S30, setting the speed gear of the exhaust fan, the speed gear includes a first speed gear, a second speed gear and a third speed gear, wherein the exhaust fan at the first speed gear rotates the slowest, and the exhaust fan at the third speed gear rotates the fastest.

[0059] Among them, the speed gear can be controlled by wall control switch, remote switch and voice module of smart speaker.

[0060] S31. Determine whether the smart speaker is connected to the mobile phone via Bluetooth and enters a call mode.

[0061] Specifically, when Bluetooth is connected and a call is made, the data stream changes from a one-way audio playback stream to a two-way voice communication stream. By analyzing the type and traffic of data packets transmitted by Bluetooth, it is possible to determine whether the speaker is in call mode. It should be noted that Bluetooth protocols and implementation details may vary depending on the device and operating system, so for specific analysis, it may be necessary to refer to the device's Bluetooth stack documentation or use a dedicated Bluetooth analysis tool.

[0062] If you are not in call mode and the current relative humidity does not exceed the safety threshold, the exhaust fan speed will be automatically reduced during the initial night time (21:00 on the current day to 06:00 the next day) or the night time set by the user to reduce the exhaust fan's operating noise and effectively avoid disturbing others.

[0063] S32: If the call mode is entered, determine whether the current relative humidity exceeds a safety threshold.

[0064] S33: If not, adjust the speed of the exhaust fan to the first speed gear, and obtain the indoor temperature in real time; if the indoor temperature is higher than the highest value in the preset temperature range, switch to the second speed gear.

[0065] Specifically, the indoor temperature is obtained by using a temperature sensor and setting it to detect the water outlet direction of the counter-rotating shower. The preset temperature range is determined by the outdoor temperature. For example, in hot weather such as summer, setting the preset temperature range to 25℃-30℃ can make the bathroom have a cooler environment; in cold weather such as winter, setting the preset temperature to 30℃-35℃ can achieve a warming effect. The preset temperature range can also be set by the user.

[0066] If the current relative humidity does not exceed the safety threshold, it can be considered that there is less water vapor in the room and the oxygen content in the air is sufficient. At this time, the exhaust fan is adjusted to the slowest first speed gear. When the exhaust fan is performing exhaust ventilation and the temperature is higher than the highest value in the preset temperature range, and the relative humidity has not exceeded the safety threshold, the exhaust fan speed gear is adjusted to a second speed gear that is faster than the first speed gear to appropriately lower the indoor temperature to within the preset temperature range.

[0067] S34, if exceeded, adjust the speed of the exhaust fan to the third speed gear, and obtain the indoor temperature in real time. If the indoor temperature is lower than the lowest value of the preset temperature range, switch to the second speed gear.

[0068] Specifically, when the current relative humidity exceeds the safety threshold, it can be considered that there is more water vapor in the room and the oxygen content in the air is insufficient. At this time, the exhaust fan is adjusted to the fastest third speed gear. When the exhaust fan is performing exhaust ventilation and the temperature is lower than the lowest value of the preset temperature range, and the relative humidity still exceeds the safety threshold, the exhaust fan speed gear is adjusted to a second speed gear slower than the third speed gear to appropriately increase the indoor temperature to within the preset temperature range.

[0069] In this embodiment, when the user is in call mode and detects that the indoor relative humidity does not exceed the preset safety threshold, the exhaust fan's rotation speed will be adjusted to the lowest first gear, thereby reducing the noise generated by the exhaust fan operation and improving the clarity and quality of the call. At the same time, by continuously monitoring the indoor temperature, the exhaust fan's rotation gear is automatically switched according to the indoor temperature and relative humidity, thereby improving the user's comfort in the bathroom.

[0070] In addition, reference Figure 4 Further, in one embodiment, before step S4, steps S43, S44, and S45 are added: S43: Determine whether the smart speaker is playing music.

[0071] S44: If music is playing, and the DTW algorithm is used to compare the similarity between the feature sequence of the human voice and the feature sequence of the music within the acquisition time, if the similarity is greater than a preset value, it is confirmed that the singing mode is in progress.

[0072] Specifically, first, use the microphone array to collect external signals, then separate the human voice signal from the music being played and the collected external signals, then extract features from the two human voice signals, and then use the DTW algorithm to calculate the similarity of the two human voice feature sequences. During the development and testing phase, learning and training will be conducted based on the similarity of several tracks and several human voice feature sequences to determine the preset value of similarity.

[0073] S45. If music is not being played and the user is not in call mode, determine whether human voices with a number exceeding a preset number and a duration exceeding a preset time appear during the collection time. If so, the user is considered to be in singing mode.

[0074] Specifically, voice activity detection technology is used to identify speech segments in audio signals, the audio signals of speech segments are divided into frames for processing, each frame of audio is detected using VAD to determine whether it contains human voice, the number of speech frames detected within the acquisition time is counted, and the duration of continuous speech frames is recorded within the acquisition time. If the number of speech frames exceeds the preset number, and the duration of continuous speech exceeds the preset duration, it can be considered that the singing mode is in the acquisition time.

[0075] In this embodiment, when music is playing and the collected human voice is analyzed to be highly similar to the human voice part in the music, it can be determined that the user is singing and the rotation speed of the exhaust fan is increased to ensure a good ventilation effect. At the same time, when there is no music playing and the user is not in a call state, by monitoring the pitch change and utterance duration of the human voice, and by monitoring the frequency and duration of the human voice, it can also be accurately determined whether the user is in a singing state.

[0076] In addition, reference Figure 5 Further, in one embodiment, step S41 is refined into the following sub-steps: S410: Determine whether the current time is at night. If the current time is at night, turn on the equalizer setting of the smart speaker to reduce the sound of the high frequency band and the low frequency band.

[0077] Specifically, the equalizer can improve the frequency response of the system by boosting or cutting the sound in specific high-frequency and low-frequency bands, thereby reducing noise interference to a certain extent and effectively avoiding interference to neighbors or family members.

[0078] In addition, reference Figure 6 Further, in one embodiment, step S2 is refined into the following sub-steps: S20, capturing the sound generated by the exhaust fan toward the indoor side in real time.

[0079] Specifically, a high-sensitivity microphone array is installed on the exhaust fan facing the indoor side to capture sound signals in the environment. The microphone array can capture the noise generated when the exhaust fan is running and other sounds in the room.

[0080] S21. Analyze and process the sound to generate a sound wave signal that is opposite in phase to the sound.

[0081] Specifically, the captured sound signal is analyzed in real time to identify the frequency components and phase information of the noise. Based on the analysis results, a sound wave signal with a phase opposite to the noise signal is generated. This sound wave with an opposite phase is called an "anti-phase sound wave". Its purpose is to produce destructive interference with the original noise signal when it meets in the air, thereby canceling out the noise.

[0082] S22. Send a sound wave signal toward the indoor side through a speaker.

[0083] Specifically, a speaker is installed indoors to play the generated anti-phase sound wave signal. The anti-phase sound wave emitted by the speaker meets the original noise signal in the air, and effectively reduces or eliminates the noise through destructive interference.

[0084] In this embodiment, active noise reduction is used to reduce the impact of noise on the indoor environment, thereby improving the user experience.

[0085] In addition, reference Figure 7 Further, in another embodiment, step S2 is refined into the following sub-steps: S23. Obtain the position of the human voice according to the time difference between the human voice and the microphone array.

[0086] Specifically, the positioning method based on arrival time delay estimation (TDOA) first estimates the time delay difference (TDOA) of the sound source reaching different microphones, then calculates the distance difference through the time delay, and then uses the distance difference and the spatial geometric position of the microphone array to determine the position of the sound source.

[0087] S24. The sensitivity of the microphone array to receiving sound relative to the position of the human voice is enhanced through beamforming technology.

[0088] Specifically, beamforming technology can enhance the microphone array's sensitivity to receiving sounds from a specific direction. Beamforming models and basic theories can be used to directionally enhance sounds from the user's direction, thereby improving the sensitivity of sound collection at the user's location.

[0089] S25. Adjust the position of the exhaust fan to the position of the human voice.

[0090] Specifically, according to the position of the human voice determined by the sound source localization technology, the position of the exhaust fan is adjusted to optimize the exhaust effect.

[0091] In this embodiment, the user's position is accurately determined, the sensitivity of collecting sound at the user's position is enhanced, and the position of the exhaust fan is adjusted according to the position of the human voice, so as to achieve the purpose of optimizing the exhaust effect and improving the user experience.

[0092] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0093] The embodiment of the present application also provides an intelligent exhaust fan Internet of Things control system, which corresponds one-to-one to the intelligent exhaust fan Internet of Things control method in the embodiment.

[0094] refer to Figure 8 , an intelligent exhaust fan Internet of Things control system includes: a water vapor detection module 1, a scene acquisition module 2, a first speed regulation module 3, and a second speed regulation module 4. The functional modules are described in detail as follows: Water vapor detection module 1: used to obtain the current relative humidity in the room through the water mist condensed on the surface of the bathroom lamp.

[0095] Scene acquisition module 2: used to obtain the user's usage scenario and control the rotation speed of the exhaust fan.

[0096] The first speed regulating module 3 is used to slow down the rotation speed of the exhaust fan if the user is in call mode and the relative humidity does not exceed the safety threshold.

[0097] The second speed regulating module 4 is used to increase the rotation speed of the exhaust fan if it is in singing mode and the relative humidity exceeds the safety threshold.

[0098] Among them, the water vapor detection module 1 obtains the relative humidity in the room in real time by monitoring the water mist on the surface of the bathroom lamp, providing key environmental parameters for the intelligent control of the exhaust fan. The scene acquisition module 2 identifies the user's usage scenario, such as call mode or singing mode, to determine the operation strategy of the exhaust fan. In the call mode, if the relative humidity does not exceed the safety threshold, the first speed regulation module 3 will slow down the rotation speed of the exhaust fan, reduce noise interference, and provide a more comfortable call environment. In the singing mode, if the relative humidity exceeds the safety threshold, the second speed regulation module 4 will increase the rotation speed of the exhaust fan, accelerate air circulation, and effectively reduce humidity. Through the combination of various modules, the intelligent exhaust fan can adapt to different scenarios and environmental changes, realize the refined control of the rotation speed of the exhaust fan, and enhance the user experience.

[0099] For the specific definition of the intelligent exhaust fan Internet of Things control system, please refer to the definition of the intelligent exhaust fan Internet of Things control method in the context, which will not be repeated here. Each module in the above-mentioned intelligent exhaust fan Internet of Things control system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. In one embodiment, an electronic device is provided, which is a user terminal. Reference Fig. 9 , the electronic device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store a detection data table. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a smart exhaust fan Internet of Things control method is implemented.

[0100] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: S1. Obtain the current relative humidity in the room through the water mist condensed on the surface of the bathroom lamp.

[0101] S2. Obtain the user's usage scenario and control the rotation speed of the exhaust fan.

[0102] S3. If the user is in call mode and the relative humidity does not exceed the safety threshold, the exhaust fan speed is reduced.

[0103] S4. If in singing mode and the relative humidity exceeds the safety threshold, increase the rotation speed of the exhaust fan.

[0104] In one embodiment, the detailed sub-steps of step S4 include: S40: Determine whether the smart speaker is playing music.

[0105] S41. If music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music. The BPM of the music is positively correlated with the rotation speed of the exhaust fan.

[0106] S42. If music is not playing, the BPM of the human voice is mapped according to the beat rate per minute of the human voice, and the rotation speed of the exhaust fan is adjusted according to the BPM of the human voice. The BPM of the human voice is positively correlated with the rotation speed of the exhaust fan.

[0107] In one embodiment, the sub-steps of step S3 include: S30, setting the speed gear of the exhaust fan, the speed gear includes a first speed gear, a second speed gear and a third speed gear, wherein the exhaust fan at the first speed gear rotates the slowest, and the exhaust fan at the third speed gear rotates the fastest.

[0108] S31. Determine whether the smart speaker is connected to the mobile phone via Bluetooth and enters a call mode.

[0109] S32: If the call mode is entered, determine whether the current relative humidity exceeds a safety threshold.

[0110] S33: If not, adjust the speed of the exhaust fan to the first speed gear, and obtain the indoor temperature in real time; if the indoor temperature is higher than the highest value in the preset temperature range, switch to the second speed gear.

[0111] S34, if exceeded, adjust the speed of the exhaust fan to the third speed gear, and obtain the indoor temperature in real time. If the indoor temperature is lower than the lowest value of the preset temperature range, switch to the second speed gear.

[0112] In one embodiment, the steps added before step S4 include: S43: Determine whether the smart speaker is playing music.

[0113] S44: If music is playing, and the DTW algorithm is used to compare the similarity between the feature sequence of the human voice and the feature sequence of the music within the acquisition time, if the similarity is greater than a preset value, it is confirmed that the singing mode is in progress.

[0114] S45. If music is not being played and the user is not in call mode, determine whether human voices with a number exceeding a preset number and a duration exceeding a preset time appear during the collection time. If so, the user is considered to be in singing mode.

[0115] In one embodiment, the detailed sub-steps of step S41 include: S410: Determine whether the current time is at night. If the current time is at night, turn on the equalizer setting of the smart speaker to reduce the sound of the high frequency band and the low frequency band.

[0116] In one embodiment, the sub-steps of step S2 include: S20, capturing the sound generated by the exhaust fan toward the indoor side in real time.

[0117] S21. Analyze and process the sound to generate a sound wave signal that is opposite in phase to the sound.

[0118] S22. Send a sound wave signal toward the indoor side through a speaker.

[0119] In one embodiment, the sub-steps of step S2 include: S23. Obtain the position of the human voice according to the time difference between the human voice and the microphone array.

[0120] S24. The sensitivity of the microphone array to receiving sound relative to the position of the human voice is enhanced through beamforming technology.

[0121] S25. Adjust the position of the exhaust fan to the position of the human voice.

[0122] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0123] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

Claims

1. A smart exhaust fan Internet of Things control method, characterized in that: include: The current relative humidity in the room can be obtained through the condensation of water mist on the surface of the bathroom lamp; Obtain the user's usage scenario and control the rotation speed of the exhaust fan; If the user is in call mode and the relative humidity does not exceed a safety threshold, the rotation speed of the exhaust fan is reduced; If in singing mode and the relative humidity exceeds a safety threshold, the rotation speed of the exhaust fan is increased.

2. The method according to claim 1, characterized in that If the air conditioner is in singing mode and the relative humidity exceeds a safety threshold, the step of increasing the rotation speed of the exhaust fan comprises: Determine whether the smart speaker is playing music; If music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music, and the BPM of the music is positively correlated with the rotation speed of the exhaust fan; If music is not playing, the beat rate per minute of the human voice is mapped to the BPM of the human voice, and the rotation speed of the exhaust fan is adjusted according to the BPM of the human voice. The BPM of the human voice is positively correlated with the rotation speed of the exhaust fan.

3. The method according to claim 1, characterized in that If the user is in call mode and the relative humidity does not exceed the safety threshold, the step of slowing down the rotation speed of the exhaust fan comprises: Setting the speed gear of the exhaust fan, wherein the speed gear includes a first speed gear, a second speed gear and a third speed gear, wherein the exhaust fan at the first speed gear has the slowest rotation speed, and the exhaust fan at the third speed gear has the fastest rotation speed; Determine whether the smart speaker is connected to the mobile phone via Bluetooth and enters the call mode; If the call mode is entered, determine whether the current relative humidity exceeds the safety threshold; If not, the speed of the exhaust fan is adjusted to the first speed gear, and the indoor temperature is obtained in real time. If the indoor temperature is higher than the highest value in the preset temperature range, the speed is switched to the second speed gear; If it exceeds, the speed of the exhaust fan is adjusted to the third speed gear, and the indoor temperature is obtained in real time. If the indoor temperature is lower than the lowest value of the preset temperature range, it is switched to the second speed gear.

4. The method according to claim 1, characterized in that: Before the step of increasing the rotation speed of the exhaust fan if the device is in singing mode and the relative humidity exceeds the safety threshold, the method further includes: Determine whether the smart speaker is playing music; If music is playing, the DTW algorithm is used to compare the similarity between the feature sequence of human voice and the feature sequence of music during the acquisition time. If the similarity is greater than the preset value, it is confirmed that it is in singing mode; If no music is playing and the device is not in call mode, during the collection time, determine whether there are human voices that exceed the preset number and last longer than the preset time. If so, it is considered to be in singing mode.

5. The method according to claim 2, characterized in that: If music is playing, the rotation speed of the exhaust fan is adjusted according to the BPM of the music, and the BPM of the music is positively correlated with the rotation speed of the exhaust fan, comprising: It is determined whether the current time is at night. If the current time is at night, the equalizer setting of the smart speaker is turned on to reduce the sound of the high frequency band and the low frequency band.

6. The method according to claim 1, characterized in that The step of obtaining the user's usage scenario and controlling the rotation speed of the exhaust fan includes: Real-time capture of the sound generated by the exhaust fan facing the indoor side; Analyzing and processing the sound to generate a sound wave signal having a phase opposite to that of the sound; The sound wave signal is emitted toward the indoor side through the loudspeaker.

7. The method according to claim 1, characterized in that The step of obtaining the user's usage scenario and controlling the rotation speed of the exhaust fan includes: The position of the human voice is obtained based on the time difference between the human voice and the microphone array; By using beamforming technology, the sensitivity of the microphone array to receiving sound relative to the position of the human voice is enhanced; Adjust the position of the exhaust fan to the position of the human voice.

8. An intelligent exhaust fan Internet of Things control system, characterized in that: include: Water vapor detection module (1): used to obtain the current relative humidity in the room through the water mist condensed on the surface of the bathroom lamp; Scene acquisition module (2): used to acquire the user's usage scene and control the rotation speed of the exhaust fan; A first speed regulating module (3): used to slow down the rotation speed of the exhaust fan when the user is in a call mode and the relative humidity does not exceed a safety threshold; The second speed control module (4) is used to increase the rotation speed of the exhaust fan when the air conditioner is in singing mode and the relative humidity exceeds a safety threshold.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes any one of the intelligent exhaust fan Internet of Things control methods as claimed in claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method for controlling an intelligent exhaust fan Internet of Things as claimed in any one of claims 1 to 7.