Range hood control method and device and range hood
By introducing a cooling period mechanism and an audio fade-out method into the range hood, the problems of poor noise masking and audio distortion when the range hood frequently switches gears have been solved, thus improving audio stability and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-13
- Publication Date
- 2026-03-27
AI Technical Summary
When a range hood frequently switches between speeds, the noise masking effect is poor and the audio is distorted, resulting in a reduced user experience.
By setting a cooldown period mechanism, it is determined whether the gear shifting operation occurs within the cooldown period, the duration of the cooldown period is monitored, and the target gear audio is played after the preset duration threshold is reached. Combined with fade-out and buffered audio, the stability and continuity of the audio are ensured.
It effectively avoids audio clutter, improves user experience, maintains audio stability and a premium feel, and enhances user comfort.
Smart Images

Figure CN121739431A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent control, and in particular to a control method and device of an extractor hood and the extractor hood. BACKGROUND
[0002] Generally, the extractor hood generates a large noise during operation. In order to reduce the annoyance of the user, in the related art, a specific masking audio is played at different gears to realize noise masking. For example, a soft natural sound is played when a low gear is operated, a stable flowing sound is played when a middle gear is operated, and a white noise type audio is played when a high gear is operated.
[0003] However, during the use of the extractor hood, the user may frequently switch gears, such as continuously raising and lowering the gears, mistakenly causing a short-term gear jump, or the extractor hood automatically adjusting the gears (such as adjusting from a stir-frying gear to a strong gear). At this time, if the extractor hood immediately plays a new audio and performs a transition sound effect, it is easy to cause the phenomenon of superimposed playing of multiple transition audios, audio logic disorder, and the user subjectively feels that the sound jumps or is chaotic, which destroys the consistency of the sound environment and reduces the user experience. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a control method and device of an extractor hood and the extractor hood to alleviate the problems of poor noise masking effect and audio disorder caused by frequent gear switching of the extractor hood, and to improve the user experience.
[0005] In a first aspect, an embodiment of the present application provides a control method of an extractor hood, the extractor hood being configured with a loudspeaker assembly, the method comprising: in response to a gear switching operation acting on the extractor hood, determining whether a switching time corresponding to the gear switching operation is located within a preconfigured cooling period, wherein the cooling period is generated at a previous gear switching operation; if so, switching an operating gear of the extractor hood to a target gear corresponding to the gear switching operation; monitoring a duration of the cooling period, and if it is monitored that the duration of the cooling period reaches a preset duration threshold, controlling the loudspeaker assembly of the extractor hood to play a gear audio corresponding to the target gear, wherein the gear audio is used to mask noise of the extractor hood at the target gear.
[0006] In combination with the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, wherein the above method further comprises: if it is monitored that multiple gear switching operations are performed within the cooling period, determining a gear corresponding to the last gear switching operation as the target gear of the extractor hood.
[0007] With reference to the first aspect, the second possible implementation of the first aspect is provided in the embodiments of the present application, and the method further comprises: if it is judged that the switching time corresponding to the gear switching operation is not located in the preconfigured cooling period, switching the operation gear of the range hood to the target gear corresponding to the gear switching operation, and controlling the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear; starting the timing function corresponding to the cooling period, and recording the duration of the cooling period until the duration of the cooling period reaches the preset duration threshold.
[0008] With reference to the first aspect, the third possible implementation of the first aspect is provided in the embodiments of the present application, and the method further comprises: obtaining the use record of the range hood; extracting the operation times in a preset time period from the use record; and adjusting the duration threshold of the cooling period based on the operation times.
[0009] With reference to the first aspect, the fourth possible implementation of the first aspect is provided in the embodiments of the present application, and the step of controlling the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear comprises: determining the fade-out mode of the gear audio corresponding to the target gear; and controlling the loudspeaker assembly of the range hood to play the gear audio in the fade-out mode.
[0010] With reference to the fourth possible implementation of the first aspect, the fifth possible implementation of the first aspect is provided in the embodiments of the present application, and the step of determining the fade-out mode of the gear audio corresponding to the target gear comprises: extracting the first amplitude information of the gear audio corresponding to the target gear, and the second amplitude information of the gear audio currently played by the range hood; determining the transition audio corresponding to the fade-out mode based on the first amplitude information and the second amplitude information; and the step of controlling the loudspeaker assembly of the range hood to play the gear audio in the fade-out mode comprises: controlling the loudspeaker assembly of the range hood to play the transition audio corresponding to the fade-out mode, and after the transition audio is played, controlling the loudspeaker assembly of the range hood to play the gear audio.
[0011] With reference to the first aspect, the sixth possible implementation of the first aspect is provided in the embodiments of the present application, and the method further comprises: if it is judged that the switching time corresponding to the gear switching operation is located in the preconfigured cooling period, obtaining the preconfigured buffer audio; controlling the loudspeaker assembly of the range hood to play the buffer audio; and in response to the duration of the cooling period reaching the preset duration threshold, controlling the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear.
[0012] In combination with the sixth possible implementation manner of the first aspect, the application provides a seventh possible implementation manner of the first aspect, wherein the step of controlling the loudspeaker assembly of the range hood to play the buffer audio comprises: obtaining a previous running gear of the range hood and a target gear; determining a buffer gear based on the previous running gear and the target gear; and searching for buffer audio corresponding to the buffer gear in a pre-configured audio database.
[0013] In the second aspect, the application further provides a control device of a range hood, the range hood being configured with a loudspeaker assembly, the device comprising: a judgment module configured to judge whether a switching time corresponding to a gear switching operation applied to the range hood is located within a pre-configured cooling period, wherein the cooling period is generated at a previous gear switching operation; a switching module configured to switch a running gear of the range hood to a target gear corresponding to the gear switching operation if the judgment result of the judgment module is yes; and a playing module configured to monitor a duration of the cooling period, and control the loudspeaker assembly of the range hood to play gear audio corresponding to the target gear if it is monitored that the duration of the cooling period reaches a preset duration threshold, wherein the gear audio is used for noise masking of the range hood at the target gear.
[0014] In the third aspect, the application further provides a range hood, a controller of the range hood being configured with the control device of the range hood of the second aspect; wherein the range hood is configured with a loudspeaker assembly, and the loudspeaker assembly is connected with the controller.
[0015] The embodiments of the application bring the following beneficial effects: The control method and device of the range hood and the range hood provided by the embodiments of the application can judge whether a switching time corresponding to a gear switching operation applied to the range hood is located within a pre-configured cooling period in response to the gear switching operation, switch a running gear of the range hood to a target gear corresponding to the gear switching operation if the judgment result is yes, monitor a duration of the cooling period, and control a loudspeaker assembly of the range hood to play gear audio corresponding to the target gear to perform noise masking of the range hood if it is monitored that the duration of the cooling period reaches a preset duration threshold. Since the gear audio is played when the duration of the cooling period reaches the preset duration threshold, even if the running gear of the range hood is frequently switched, subjective feelings of audio confusion do not occur, which helps to maintain audio stability, improve high-end feeling and user comfort of the range hood, and further improve user experience.
[0016] Other features and advantages of the application will be set forth in the following description, and in part will become apparent to those skilled in the art from the following description, or can be learned by practice of the application. The objects and other advantages of the application will be realized and attained by the structure particularly pointed out in the description, claims, and drawings.
[0017] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are referred to for a detailed description. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are referred to for a detailed description.
[0019] Figure 1 A schematic diagram of an oil smoke machine provided by an embodiment of the present application; Figure 2 A flowchart of a control method of an oil smoke machine provided by an embodiment of the present application; Figure 3 A structural schematic diagram of a control device of an oil smoke machine provided by an embodiment of the present application; Figure 4 A structural schematic diagram of an electronic device provided by an embodiment of the present application.
[0020] Reference signs: 101-main machine box; 102-smoke collecting cavity; 103-loudspeaker assembly. DETAILED DESCRIPTION
[0021] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are referred to for a detailed description.
[0022] At present, in order to reduce the noise and annoyance degree generated when the oil smoke machine runs, in the related art, noise masking is realized by playing specific masking audio under different gears. However, when the oil smoke machine is frequently switched between gears, the phenomenon of audio logic disorder is prone to occur, which makes the user subjectively feel that the audio is chaotic, and thus reduces the user experience.
[0023] Based on this, the control method and device of the oil smoke machine and the oil smoke machine provided by the embodiments of the present application can intelligently manage the switching logic of the audio, ensure that the switching process of the audio runs smoothly and the experience is coherent, and thus improve the user experience In order to facilitate the understanding of the present embodiment, first, a control method of an oil smoke machine disclosed by the embodiments of the present application is described in detail.
[0024] In a possible implementation, the embodiment of the present application provides a control method of a range hood, which is applied to the range hood, and specifically, the range hood in the embodiment of the present application is configured with a loudspeaker assembly, and specifically, as shown in Figure 1 FIG. 1 is a schematic diagram of a range hood, for ease of illustration, Figure 1 FIG. 1 is a front view of the range hood, which includes a main box 101, a smoke collecting cavity 102, and a loudspeaker assembly 103, wherein Figure 1 In the embodiment, the loudspeaker assembly 103 is arranged on the front panel of the smoke collecting cavity 102 and is used to play audio. In actual use, the loudspeaker assembly can be a single loudspeaker or an array of multiple loudspeakers, and the number of loudspeaker assemblies can be one or multiple, which can be set according to actual use, and the embodiment of the present application does not limit this.
[0025] Further, Figure 2 FIG. 2 is a flowchart of a control method of a range hood, and the method includes the following steps. Step S202, in response to a gear switching operation acting on the range hood, determining whether a switching time corresponding to the gear switching operation is located within a preconfigured cooling period; In the embodiment of the present application, the cooling period is generated at the previous gear switching operation. Step S204, if yes, switching the running gear of the range hood to a target gear corresponding to the gear switching operation; Step S206, monitoring the duration of the cooling period, and if it is monitored that the duration of the cooling period reaches a preset duration threshold, controlling the loudspeaker assembly of the range hood to play gear audio corresponding to the target gear; The gear audio is used to perform noise masking on the range hood at the target gear.
[0026] In actual use, the above gear switching operation can also be used as audio switching operation. Specifically, the inherent noise of different gears is different when the range hood is running, and therefore, corresponding audio can be preconfigured for different running gears. For example, the first audio corresponds to the low gear, the first audio at this time is mostly soft and natural sound, the second audio corresponds to the medium gear, the second audio is mostly stable flowing sound, and the third audio corresponds to the high gear, and the third audio is usually white noise type audio. When the range hood switches gears, the corresponding audio is also switched synchronously. In the embodiment of the present application, the switching time t nand set a cooling period for each gear switching operation, that is, after the current gear switching operation is completed, start timing, if the gear switching operation is repeated before the duration of the cooling period reaches the duration threshold, the range hood switches the gear, and the audio is not switched at the same time, but is switched to the gear audio after the cooling period ends to perform noise masking on the range hood at the target gear.
[0027] For example, let Tc represent the duration threshold of the cooling period, and the switching time of the previous gear switching operation is tn-1. If that is, if a new gear switching operation is detected within the duration threshold of the cooling period, the gear switching operation does not immediately trigger the audio switching, but after the gear switching is run to the target gear corresponding to the gear switching operation, the duration of the cooling period is continuously monitored until the duration of the cooling period reaches the preset duration threshold, and then the speaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear.
[0028] Further, if multiple gear switching operations are monitored within the above-mentioned cooling period, the gear corresponding to the last gear switching operation is determined as the target gear of the range hood. When the duration of the cooling period reaches the preset duration threshold, that is, after the cooling period ends, the speaker assembly of the range hood is controlled to play the gear audio of the target gear corresponding to the last gear switching operation.
[0029] Further, if it is determined in the above-mentioned step S202 that the switching time corresponding to the gear switching operation is not located within the preconfigured cooling period, that is, the running gear of the range hood is switched to the target gear corresponding to the gear switching operation, and the speaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear; and at this time, the timing function corresponding to the cooling period needs to be started, that is, the duration of the cooling period is recorded again until the duration of the cooling period reaches the preset duration threshold. If the gear switching operation is not monitored again within the cooling period, the cooling period ends, and if the gear switching operation is monitored again one or more times within the cooling period, each gear switching operation can trigger the cooling period to record the duration again, or continue to monitor the duration based on the duration of the original cooling period instead of recording it again. The actual use can be used as a reference, and the embodiments of the present application do not limit this.
[0030] The duration threshold Tc of the above-mentioned cooling period is usually set to Tc≤3s, and can be adaptively adjusted according to the operation frequency of the user. In addition, if the above-mentioned gear switching operation is the first gear switching operation after the range hood is turned on, the running gear of the range hood is normally controlled to switch to the target gear corresponding to the gear switching operation, and the speaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear.
[0031] Further, in order to realize the adaptive adjustment of the length threshold of the cooling period, in the embodiment of the application, the use record of the range hood can be obtained periodically; the number of operations in a preset time period is extracted from the use record; and the length threshold of the cooling period is adjusted based on the number of operations.
[0032] For example, the big data analysis record can be used to extract the operation record of each short time, and the length threshold of the cooling period is adjusted according to the number of short-time operations N, which is specifically expressed by the following formula: ; wherein, is the basic cooling time, is an adjustment coefficient for suppressing frequent false touch behavior.
[0033] The specific adaptive adjustment time interval can be set according to the actual use, and in addition, the user can manually set the length threshold Tc of the cooling period according to the actual use demand, and the actual use is used as the criterion, and the embodiment of the application does not limit this.
[0034] Further, in order to realize the smooth switching of the audio, in the step S206, when the loudspeaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear, the fading mode of the gear audio corresponding to the target gear can be determined; and then the loudspeaker assembly of the range hood is controlled to play the gear audio according to the fading mode.
[0035] The fading mode can be a mixed playing mode based on the cross-fading of the old audio and the new audio. Specifically, the first amplitude information of the gear audio corresponding to the target gear and the second amplitude information of the gear audio currently played by the range hood can be extracted; the transition audio corresponding to the fading mode is determined based on the first amplitude information and the second amplitude information; when the loudspeaker assembly of the range hood is controlled to play the gear audio, the loudspeaker assembly of the range hood can be controlled to play the transition audio corresponding to the fading mode, and after the transition audio is played, the loudspeaker assembly of the range hood is controlled to play the gear audio.
[0036] Specifically, the determination formula of the transition audio can be expressed as:
[0037] wherein, is the second amplitude information, also referred to as the sampling amplitude sequence of the old gear audio, is the first amplitude information, also referred to as the sampling amplitude sequence of the new gear audio, is the amplitude information of the transition audio, also referred to as the sampling amplitude sequence of the transition audio. is a transition function that is smoothly increased from 0 to 1, and the duration thereof can be configured to be about 0.8-1.2 seconds.
[0038] Based on the above transition audio, when the speaker assembly of the range hood plays the transition audio, for the previous gear audio, a transition playback mode of gradually reducing the volume and gradually increasing the volume of the gear audio corresponding to the new target gear can be presented, the smooth transition of the gear audio is realized, and the high-end feeling of the range hood and the comfort of the user are improved.
[0039] Further, in the embodiment of the present application, a buffer audio can also be set, that is, if the user switches the gear of the range hood during the cooling period, the buffer audio can be played, and after the cooling period ends, it directly transitions to the final gear audio. Specifically, if it is judged that the switching time corresponding to the gear switching operation is located in the pre-configured cooling period, the pre-configured buffer audio is obtained; the speaker assembly of the range hood is controlled to play the buffer audio; in response to the duration of the cooling period reaching a preset duration threshold, the speaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear.
[0040] In actual use, the above-mentioned buffer audio can be set according to the gear of the range hood, specifically, the last running gear and the target gear of the range hood can be obtained; the buffer gear is determined based on the last running gear and the target gear; and the buffer audio corresponding to the buffer gear is searched in the pre-configured audio database.
[0041] Specifically, the above-mentioned buffer gear can be an intermediate gear between the last running gear and the target gear, which is usually a virtual gear, or the buffer gear is determined as the gear difference between the last running gear and the target gear, and the corresponding buffer audio corresponds to the buffer gear, for example, different buffer audios can be set for different buffer gears, and a buffer audio of an intermediate frequency can be set according to the frequency of the range hood corresponding to the last running gear and the target gear; in addition, a neutral buffer sound can also be directly set as a buffer audio, which is played after the gear switching operation is monitored during the cooling period, and then directly transitions to the final gear audio after the cooling period ends.
[0042] In summary, the control method of the range hood provided by the embodiment of the present application can ensure the response speed of the gear audio injection function and ensure that the gear audio remains stable and natural, not only improving the high-end feeling of the range hood, but also helping to improve the comfort of the user.
[0043] Further, the embodiment of the present application also provides a control device of a range hood, and the range hood is provided with a speaker assembly, as shown in Figure 3 The device includes the following steps: The judgment module 30 is configured to determine whether the switching time corresponding to the gear switching operation is located in the cooling period in response to the gear switching operation of the range hood. The switching module 32 is configured to switch the running gear of the range hood to the target gear corresponding to the gear switching operation if the determination result of the judgment module is yes. The playing module 34 is configured to monitor the duration of the cooling period, and control the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear if the duration of the cooling period reaches the preset duration threshold.
[0044] Further, the device is further configured to determine the gear corresponding to the last gear switching operation as the target gear of the range hood if multiple gear switching operations are monitored in the cooling period.
[0045] Further, the device is further configured to switch the running gear of the range hood to the target gear corresponding to the gear switching operation, and control the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear if it is determined that the switching time corresponding to the gear switching operation is not located in the cooling period, and start the timing function corresponding to the cooling period and record the duration of the cooling period until the duration of the cooling period reaches the preset duration threshold.
[0046] Further, the device is further configured to obtain the use record of the range hood, extract the number of operations in a preset time period from the use record, and adjust the duration threshold of the cooling period based on the number of operations.
[0047] Further, in the playing module, the step of controlling the loudspeaker assembly of the range hood to play the gear audio corresponding to the target gear includes determining the fade-out mode of the gear audio corresponding to the target gear, and controlling the loudspeaker assembly of the range hood to play the gear audio in the fade-out mode.
[0048] The step of determining the fade-out mode of the gear audio corresponding to the target gear includes extracting the first amplitude information of the gear audio corresponding to the target gear and the second amplitude information of the gear audio currently played by the range hood, and determining the transition audio corresponding to the fade-out mode based on the first amplitude information and the second amplitude information. The step of controlling the loudspeaker assembly of the range hood to play the gear audio in the fade-out mode includes controlling the loudspeaker assembly of the range hood to play the transition audio corresponding to the fade-out mode, and controlling the loudspeaker assembly of the range hood to play the gear audio after the playing of the transition audio is completed.
[0049] Furthermore, the aforementioned device is also used to: if it is determined that the switching time corresponding to the gear switching operation is within a pre-configured cooling period, then acquire a pre-configured buffer audio; control the speaker assembly of the range hood to play the buffer audio; and respond to the cooling period duration reaching a preset duration threshold, control the speaker assembly of the range hood to play the gear audio corresponding to the target gear.
[0050] The step of controlling the speaker assembly of the range hood to play buffered audio includes: obtaining the previous operating level and target level of the range hood; determining the buffer level based on the previous operating level and target level; and searching for the buffered audio corresponding to the buffer level in a pre-configured audio database.
[0051] The control device for the range hood provided in this embodiment of the invention has the same technical features as the control method for the range hood provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0052] Furthermore, this embodiment of the invention also provides a range hood, the controller of which is equipped with the aforementioned control device for the range hood; wherein the range hood is equipped with a speaker assembly, the speaker assembly being connected to the controller; and the structure of the range hood can be referred to Figure 1 The range hood shown will not be described in detail here.
[0053] Furthermore, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described method.
[0054] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the above-described method.
[0055] Furthermore, embodiments of the present invention also provide a schematic diagram of the structure of an electronic device, such as... Figure 4 The diagram shows the structure of the electronic device, which includes a processor 41 and a memory 40. The memory 40 stores computer-executable instructions that can be executed by the processor 41, and the processor 41 executes the computer-executable instructions to implement the above-described method.
[0056] exist Figure 4 In the illustrated embodiment, the electronic device further includes a bus 42 and a communication interface 43, wherein the processor 41, the communication interface 43, and the memory 40 are connected via the bus 42.
[0057] The memory 40 can include a high-speed random access memory (RAM), and can also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 43 (which can be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 42 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 42 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used to represent the system network element and at least one other network element, but it does not mean that there is only one bus or one type of bus.
[0058] The processor 41 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 41 or the instructions in the form of software. The processor 41 described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, or other mature storage media in the art. The storage medium is located in the memory, and the processor 41 reads the information in the memory and combines the hardware to complete the foregoing method.
[0059] The control method and device of the range hood and the computer program product of the range hood provided by the embodiment of the present application include a computer readable storage medium storing program codes, the instructions included in the program codes can be used to execute the method in the foregoing method embodiment, and the specific implementation can be referred to the method embodiment, and will not be described here.
[0060] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and range hood can refer to the corresponding process in the foregoing method embodiment, and will not be described here.
[0061] In addition, in the description of the embodiment of the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connecting", "connection" should be understood in a broad sense, for example, can be fixed connection, can also be detachable connection, or integrally connected; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0062] The above functions, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or the part of the present application that essentially contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0063] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.
[0064] Finally, it should be noted that the above examples are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not intended to limit the present application. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that any person skilled in the art can still modify or easily think of changes to the technical solutions recorded in the foregoing examples, or make equivalent replacements to some of the technical features, within the technical range disclosed by the present application. These modifications, changes or replacements do not cause the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A control method for a range hood, characterized in that, The range hood is equipped with a speaker assembly, and the method includes: In response to a gear switching operation applied to the range hood, it is determined whether the switching time corresponding to the gear switching operation is within a pre-configured cooling period, wherein the cooling period is generated during the previous gear switching operation; If so, switch the operating mode of the range hood to the target mode corresponding to the mode switching operation; The duration of the cooling period is monitored. If the duration of the cooling period reaches a preset duration threshold, the speaker assembly of the range hood is controlled to play the audio corresponding to the target setting. The audio is used to mask the noise of the range hood at the target setting.
2. The method according to claim 1, characterized in that, The method further includes: During the cooling period, if multiple gear switching operations are detected, the gear corresponding to the last gear switching operation is determined as the target gear of the range hood.
3. The method according to claim 1, characterized in that, The method further includes: If it is determined that the switching time corresponding to the gear switching operation is not within the pre-configured cooling period, then the operating gear of the range hood is switched to the target gear corresponding to the gear switching operation, and the speaker assembly of the range hood is controlled to play the gear audio corresponding to the target gear. The timing function corresponding to the cooling period is activated, and the duration of the cooling period is recorded until the duration of the cooling period reaches a preset duration threshold.
4. The method according to claim 1, characterized in that, The method further includes: Obtain the usage records of the range hood; Extract the number of operations within a preset time period from the usage records; The duration threshold of the cooling period is adjusted based on the number of operations.
5. The method according to claim 1, characterized in that, The step of controlling the speaker assembly of the range hood to play the audio corresponding to the target setting includes: Determine the fade-out mode of the audio corresponding to the target gear; The speaker assembly of the range hood is controlled to play the audio of the specified setting in the fade-out manner.
6. The method according to claim 5, characterized in that, The step of determining the fade-out mode of the audio corresponding to the target gear level includes: Extract the first amplitude information of the audio corresponding to the target gear, and the second amplitude information of the audio currently played by the range hood; The transition audio corresponding to the fade-out method is determined based on the first amplitude information and the second amplitude information; The step of controlling the speaker assembly of the range hood to play the audio of the specified setting according to the fade-out method includes: The speaker assembly of the range hood is controlled to play the transition audio corresponding to the fade-out mode. After the transition audio finishes playing, the speaker assembly of the range hood is controlled to play the gear audio.
7. The method according to claim 1, characterized in that, The method further includes: If it is determined that the switching time corresponding to the gear shifting operation is within the pre-configured cooling period, then the pre-configured buffered audio is obtained; Control the speaker assembly of the range hood to play the buffered audio; When the duration of the cooling period reaches a preset duration threshold, the speaker assembly of the range hood is controlled to play the audio corresponding to the target setting.
8. The method according to claim 7, characterized in that, The step of controlling the speaker assembly of the range hood to play the buffered audio includes: Obtain the previous operating setting of the range hood and the target setting; The buffer gear is determined based on the previous operating gear and the target gear. Search the pre-configured audio database for the buffer level corresponding to the specified buffer.
9. A control device for a range hood, characterized in that, The range hood is equipped with a speaker assembly, and the device includes: The judgment module (30) is used to respond to the gear switching operation applied to the range hood and determine whether the switching time corresponding to the gear switching operation is within the pre-configured cooling period, wherein the cooling period is generated during the previous gear switching operation; The switching module (32) switches the range hood to the target gear corresponding to the gear switching operation if the judgment result of the judgment module is yes. The playback module (34) is used to monitor the duration of the cooling period. If the duration of the cooling period is detected to reach a preset duration threshold, the speaker assembly of the range hood is controlled to play the audio corresponding to the target gear. The audio is used to mask the noise of the range hood at the target gear.
10. A range hood, characterized in that, The controller of the range hood is equipped with the control device for the range hood as described in claim 9; The range hood is equipped with a speaker assembly, which is connected to the controller.