Oil stain detection method, device and equipment and storage medium
By using vibration components to detect oil and pollution in range hoods, the existing range hood oil and pollution detection methods are solved, and more accurate oil and pollution detection and more efficient use of range hoods are achieved.
Patent Information
- Application Number
- CN202510016346.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-09
AI Technical Summary
The oil pollution detection methods of existing range hoods have problems such as high requirements for laser beam quality and catalyst materials, sensitivity to temperature and humidity, low detection accuracy, and needing regular maintenance, resulting in inaccurate detection and affecting the effectiveness of range hoods.
By starting the first vibration component in the range hood, the vibration amplitude during its operation is obtained. When the vibration amplitude reaches the preset amplitude, the output power of the first vibration component is obtained, and the oil pollution level is determined based on the output power, thereby determining the oil pollution situation.
It improves the accuracy of oil pollution detection, avoids increasing inspection costs, and can more accurately judge the oil pollution situation in the range hood, ensuring the normal use of the range hood.
Smart Images

Figure CN119959349A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of kitchen appliance technology, and in particular to an oil stain detection method, device, equipment and storage medium. Background Art
[0002] With the continuous improvement of people's living standards, range hoods have basically become an indispensable appliance in every family kitchen. When people buy range hoods, they mainly consider the appearance and performance. As one of the important indicators of range hoods, the oil pollution treatment capacity has received widespread attention. The main smoke extraction principle of current range hoods is to use the motor to drive the fan wheel to rotate to generate negative pressure in the range hood's smoke collecting chamber. Using the pressure difference, the range hood absorbs the outside oil smoke. During use, oil pollution will adhere to the inside of the range hood, thereby affecting the oil smoke extraction effect of the range hood. Therefore, oil pollution detection is required to ensure the use effect of the range hood.
[0003] However, in the prior art, oil pollution detection of range hoods generally adopts laser scattering method, non-methane total hydrocarbon method, electrochemical method, photometry method and other methods, but these methods have high requirements on laser beam quality and materials such as catalysts, are sensitive to temperature and humidity, have low detection accuracy, and require regular maintenance. Alternatively, the degree of external oil pollution adhesion is detected to infer the amount of oil pollution in the range hood, but this will also lead to inaccurate oil pollution detection, thus affecting subsequent use. Summary of the invention
[0004] In order to solve the above problems, the present application discloses a method, device, equipment and storage medium for detecting oil pollution, which starts the first vibration component in the target range hood; obtains the vibration amplitude of the second vibration component corresponding to the operation of the first vibration component; when the vibration amplitude reaches a preset amplitude, obtains the output power of the first vibration component corresponding to the vibration amplitude; and determines the oil pollution level of the target range hood based on the output power. By judging the oil pollution in the target range hood through the output power of the first vibration component, the accuracy of oil pollution detection can be improved without increasing the detection cost.
[0005] In order to achieve the above-mentioned invention object, the present application provides an oil pollution detection method, the method comprising:
[0006] activating a first vibration component in the target range hood;
[0007] Acquire the vibration amplitude of the second vibration component corresponding to the operation of the first vibration component;
[0008] When the vibration amplitude reaches a preset amplitude, obtaining the output power of the first vibration component corresponding to the vibration amplitude;
[0009] Based on the output power, the oil pollution level of the target range hood is determined.
[0010] In some implementations, determining the oil pollution level of the target range hood based on the output power includes:
[0011] When the output power is greater than a first preset threshold value and less than a second preset threshold value, determining that the oil pollution level of the target range hood is moderate;
[0012] When the output power is greater than or equal to the second preset threshold, it is determined that the oil pollution level of the target range hood is heavy.
[0013] In some implementations, determining the oil pollution level of the target range hood based on the output power includes:
[0014] When the output power is less than or equal to the first preset threshold, it is determined that the oil pollution level of the target range hood is light.
[0015] In some embodiments, the method further comprises:
[0016] Based on the oil pollution level, a cleaning mode of the target range hood is determined.
[0017] In some implementations, determining the cleaning mode of the target range hood based on the oil pollution level includes:
[0018] When the oil pollution level of the target range hood is medium, determining that the cleaning mode of the target range hood is the first cleaning mode;
[0019] When the oil pollution level of the target range hood is heavy, determining that the cleaning mode of the target range hood is the second cleaning mode;
[0020] When the oil pollution level of the target range hood is light, the cleaning mode of the target range hood is determined to be the third cleaning mode.
[0021] In some embodiments, the method further comprises:
[0022] When the vibration amplitude does not reach the preset amplitude, the operating state of the first vibration component is adjusted until the vibration amplitude corresponding to the operating state reaches the preset amplitude.
[0023] In some embodiments, when the vibration amplitude does not reach the preset amplitude, adjusting the operating state of the first vibration component until the vibration amplitude corresponding to the operating state reaches the preset amplitude includes:
[0024] When the vibration amplitude does not reach the preset amplitude, the operating power of the first vibration component is gradually increased at a preset power until the vibration amplitude corresponding to the operating power reaches the preset amplitude.
[0025] The present application also provides an oil stain detection device for a range hood, the oil stain detection device comprising:
[0026] A first vibration component, disposed at a first position of the target range hood, for generating a vibration signal;
[0027] a second vibration component, disposed at a second position of the target range hood, for acquiring the vibration signal;
[0028] A controller, configured to control the first vibration component to generate a vibration signal; obtain a vibration amplitude of the second vibration component under the vibration signal; and, when the vibration amplitude reaches a preset amplitude, obtain an output power of the first vibration component corresponding to the vibration amplitude;
[0029] The oil pollution level determination module is used to determine the oil pollution level of the target range hood based on the output power.
[0030] The present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded by the processor and executes the above-mentioned oil pollution detection method.
[0031] The present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the above-mentioned oil pollution detection method is implemented.
[0032] By implementing the embodiments of the present application, the following beneficial effects can be achieved:
[0033] The embodiment of the present application starts the first vibration component in the target range hood; obtains the vibration amplitude of the second vibration component corresponding to the operation of the first vibration component; when the vibration amplitude reaches a preset amplitude, obtains the output power of the first vibration component corresponding to the vibration amplitude; and determines the oil pollution level of the target range hood based on the output power. By judging the oil pollution in the target range hood through the output power of the first vibration component, the accuracy of oil pollution detection can be improved without increasing the detection cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the oil pollution detection method, device, equipment and storage medium described in the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0035] Figure 1 It is a flow chart of an oil pollution detection method provided in an embodiment of the present application;
[0036] Figure 2 This is a side view of a target range hood installation provided by an embodiment of the present application;
[0037] Figure 3 This is a schematic diagram of the installation positions of a first vibration component and a second vibration component provided in an embodiment of the present application;
[0038] Figure 4 is a structural schematic diagram of a second vibration component provided in an embodiment of the present application;
[0039] Figure 5 is a flow chart of a method for determining a target range hood cleaning mode provided in an embodiment of the present application;
[0040] Figure 6 It is a structural schematic diagram of an oil pollution detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the information used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0043] In the prior art, oil stain detection of range hoods generally adopts laser scattering method, non-methane total hydrocarbon method, electrochemical method, photometry method and other methods, but these methods have high requirements on laser beam quality and materials such as catalysts, are sensitive to temperature and humidity, have low detection accuracy, and require regular maintenance. Alternatively, the amount of oil stain in the range hood is estimated by detecting the degree of external oil stain adhesion, but this will also lead to inaccurate oil stain detection, thus affecting subsequent use.
[0044] See also Figure 1 , which shows a flow chart of an oil pollution detection method provided in an embodiment of the present application. This specification provides the method operation steps described in the embodiment or flow chart. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. The oil pollution detection method can be executed in the order of the method shown in the embodiment or the accompanying drawings. Specifically, Figure 1 As shown, the method may include the following steps:
[0045] S101: starting a first vibration component in a target range hood;
[0046] In this embodiment, please refer to Figure 2 , which shows a side view of a target range hood installation provided by an embodiment of the present application, wherein 131 is the installation range of the first vibration component in the target range hood. The first vibration component can be an ultrasonic sensor. For detailed installation position, please refer to Figure 3 , which is set at a first position inside the target range hood, the first position may be an end of the target range hood close to the wall, and the ultrasonic sensor is used to generate a vibration signal, that is, an ultrasonic signal. When the range hood is used, the first vibration component is started, that is, the ultrasonic sensor sends an ultrasonic signal.
[0047] S103: Acquire the vibration amplitude of the second vibration component corresponding to the operation of the first vibration component;
[0048] In this embodiment, please refer to Figure 2, which shows a side view of a target range hood installation provided by an embodiment of the present application, wherein 131 is the installation range of the second vibration component in the target range hood. The second vibration component may be an oscillation module. For detailed installation location, please refer to Figure 3 , which is arranged at a second position inside the target range hood, and the second position may be an end of the target range hood close to the user. The second vibration component is used to obtain the vibration signal emitted by the first vibration component, and at the same time generate vibration under the action of the vibration signal, and obtain the vibration amplitude of the second vibration component under the action of the vibration signal emitted by the first vibration component.
[0049] See also Figure 4 , which shows a schematic diagram of the structure of a second vibration component provided by an embodiment of the present application. Specifically, the second vibration component, i.e., the oscillation module, is cylindrical in shape as a whole, surrounded by piezoelectric sensors, which are used to send electrical signals when receiving a force greater than a certain degree. There is a vibration block inside, which will vibrate under the action of ultrasound. Above the vibration block is an active structure, which can be a slide rail or a spring. The above-mentioned vibration block vibrates under the action of ultrasound and triggers the piezoelectric sensor. The force conditions at this time are as follows:
[0050] F 振动 =F f +F N +F 拉
[0051] Among them, F 振动 is the force exerted by ultrasound on the vibrating block,
[0052] F f The resistance to the vibration block due to the viscosity of the oil,
[0053] F N is the reaction force of the pressure received by the piezoelectric sensor,
[0054] F 拉 It is the tension of an active structure such as a spring structure.
[0055] The greater the amount of oil pollution, the f The larger the spring is, the smaller the F 拉 Certainly, because the trigger pressure of the piezoelectric sensor is consistent, so F N Therefore, in order to achieve a certain F N , it is necessary to increase the power of the ultrasonic sensor to increase F 振动 , so F 振动 and F f There is a direct proportional relationship.
[0056] S105: When the vibration amplitude reaches a preset amplitude, obtaining the output power of the first vibration component corresponding to the vibration amplitude;
[0057] In this embodiment, it is first determined whether the vibration amplitude of the second vibration component reaches a preset amplitude. If so, the output power of the first vibration component corresponding to the vibration amplitude of the second vibration component is obtained.
[0058] Specifically, under the force of ultrasonic waves emitted by the ultrasonic sensor, the oscillation module is caused to vibrate, and it is determined whether the piezoelectric sensor in the oscillation module is triggered. If triggered, the ultrasonic sensor stops working and the corresponding output power of the ultrasonic sensor is obtained.
[0059] In some exemplary embodiments, the method further comprises:
[0060] When the vibration amplitude does not reach the preset amplitude, the operating state of the first vibration component is adjusted until the vibration amplitude corresponding to the operating state reaches the preset amplitude.
[0061] In the above exemplary embodiment, specifically, if the vibration amplitude of the second vibration component has not reached the preset amplitude, the first vibration component, i.e. the ultrasonic sensor, is adjusted until the vibration amplitude of the second vibration component, i.e. the oscillation module, reaches the preset amplitude under the action of the ultrasonic sensor.
[0062] When the vibration amplitude of the oscillation module does not reach the preset amplitude, the vibration amplitude of the oscillation module can be made to reach the preset amplitude by adjusting the operating state of the first vibration component, namely the ultrasonic sensor. This can ensure that the vibration amplitude reaches the preset amplitude, thereby achieving the accuracy of oil pollution detection and ensuring the oil pollution detection effect.
[0063] In some exemplary embodiments, when the vibration amplitude does not reach a preset amplitude, adjusting the operating state of the first vibration component until the vibration amplitude corresponding to the operating state reaches the preset amplitude includes:
[0064] When the vibration amplitude does not reach the preset amplitude, the operating power of the first vibration component is gradually increased at a preset power until the vibration amplitude corresponding to the operating power reaches the preset amplitude.
[0065] In the above exemplary embodiment, specifically, if the vibration amplitude of the second vibration component has not reached the preset amplitude, then the first vibration component, i.e., the ultrasonic sensor, is adjusted, and the specific operation of the adjustment is: gradually increase the operating power of the first vibration component with the preset power. For example, if the current operating power of the first vibration component is 5W, and the vibration amplitude of the corresponding second vibration component has not reached the preset vibration amplitude, then the operating power of the first vibration component is gradually increased. If the preset power is 1W, the operating power can be set to increase once every 10 seconds. If the current operating power is 5W and the vibration amplitude of the corresponding second vibration component has not reached the preset vibration amplitude, after 10 seconds, the operating power of the first vibration component is adjusted to 6W and the vibration amplitude of the corresponding second vibration component is obtained. If the vibration amplitude has not reached the preset amplitude, then after another 10 seconds, the operating power of the first vibration component is adjusted to 6W and the vibration amplitude of the corresponding second vibration component is obtained, until the vibration amplitude has not reached the preset vibration amplitude.
[0066] It should be noted that the preset power and adjustment time are determined according to actual conditions and are not specifically limited here.
[0067] When the vibration amplitude of the oscillation module does not reach the preset amplitude, the vibration amplitude is ensured to reach the preset amplitude by gradually increasing the operating power of the first vibration component with a preset power, thereby achieving the accuracy of oil pollution detection and ensuring the oil pollution detection effect.
[0068] S107: Determine the oil pollution level of the target range hood based on the output power.
[0069] In this embodiment, specifically, the oil pollution condition in the target range hood is determined by obtaining the output power condition of the first vibration component.
[0070] In some exemplary embodiments, determining the oil pollution level of the target range hood based on the output power includes:
[0071] When the output power is greater than a first preset threshold value and less than a second preset threshold value, determining that the oil pollution level of the target range hood is moderate;
[0072] When the output power is greater than or equal to the second preset threshold, it is determined that the oil pollution level of the target range hood is heavy.
[0073] In the above exemplary embodiment, specifically, the relationship between the output power and the first preset threshold is first determined, and when the output power is greater than the first preset threshold, the relationship between the output power and the second preset threshold is then determined, thereby determining the oil pollution level of the target range hood. The oil pollution level includes three levels: light, medium and heavy. The output power of the first vibration component corresponding to the heavy level is greater than or equal to the second preset threshold, and the output power of the first vibration component corresponding to the medium level is greater than the first preset threshold and less than the second preset threshold.
[0074] By judging the relationship between the output power and the first preset threshold and the second preset threshold, the oil pollution level of the target range hood can be determined, and the oil pollution in the target range hood can be quantitatively analyzed, thereby improving the accuracy of oil pollution detection, and further improving the use efficiency of the range hood and the user's use effect.
[0075] In some exemplary embodiments, determining the oil pollution level of the target range hood based on the output power includes:
[0076] When the output power is less than or equal to the first preset threshold, it is determined that the oil pollution level of the target range hood is light.
[0077] In the above exemplary embodiment, specifically, if the output power of the first vibration component is less than or equal to the first preset threshold, the oil pollution level of the target range hood is determined to be light.
[0078] By judging the relationship between the output power and the first preset threshold and the second preset threshold, the oil pollution level of the target range hood can be determined, and the oil pollution in the target range hood can be quantitatively analyzed, thereby improving the accuracy of oil pollution detection, and further improving the use efficiency of the range hood and the user's use effect.
[0079] In some exemplary embodiments, the method further comprises:
[0080] Based on the oil pollution level, a cleaning mode of the target range hood is determined.
[0081] In the above exemplary embodiments, specifically, the cleaning mode of the target range hood is determined according to different oil pollution levels, that is, there is a one-to-one correspondence between the oil pollution level and the cleaning mode.
[0082] By determining different cleaning modes for the target range hood under different oil pollution levels, problems such as incomplete cleaning or increased costs caused by mode mismatch can be avoided, thereby ensuring the adaptability of the range hood cleaning mode, further improving the use effect of the range hood, and enhancing the user experience.
[0083] In some exemplary embodiments, see Figure 5, which is a flow chart of a method for determining a target range hood cleaning mode provided in an embodiment of the present application. Figure 5 As shown, the determining of the cleaning mode of the target range hood based on the oil pollution level includes:
[0084] S501: When the oil pollution level of the target range hood is medium, determining that the cleaning mode of the target range hood is the first cleaning mode;
[0085] Specifically, if the oil level in the target range hood is medium, indicating that the oil adhesion degree of the target range hood is at a medium level, then the cleaning mode of the target range hood is the first cleaning mode. The first cleaning mode may generate prompt information, and the prompt information is used to remind the user to clean. The prompt information can be displayed on the display screen of the range hood, and can also be prompted in the form of voice, sound and light, so as to facilitate the user to clean in time and ensure the use efficiency of the range hood.
[0086] S503: When the oil pollution level of the target range hood is heavy, determining that the cleaning mode of the target range hood is the second cleaning mode;
[0087] Specifically, if the oil level in the target range hood is heavy, indicating that the oil adhesion of the target range hood has reached a serious level, then the cleaning mode of the target range hood is the second cleaning mode. The second cleaning mode can be the self-cleaning mode of the target range hood, that is, controlling the cleaning component in the target range hood to automatically work so as to complete automatic cleaning.
[0088] S505: When the oil pollution level of the target range hood is light, determine that the cleaning mode of the target range hood is the third cleaning mode.
[0089] Specifically, if the oil level in the target range hood is light, indicating that the oil adhesion degree of the target range hood is slight, then the cleaning mode of the target range hood is the third cleaning mode. The third cleaning mode may be a no-cleaning mode.
[0090] Based on the oil pollution level, the cleaning mode of the target range hood can be determined by another method, that is, by controlling the operating power of the cleaning component in the target range hood to clean the target range hood to different degrees. Specifically, when the oil pollution level is light, the operating power of the cleaning component in the target range hood is controlled to be the first power; when the oil pollution level is moderate, the operating power of the cleaning component in the target range hood is controlled to be the second power; when the oil pollution level is heavy, the operating power of the cleaning component in the target range hood is controlled to be the third power. The first power is less than the second power, and the second power is less than the third power.
[0091] By determining different cleaning modes for the target range hood under different oil pollution levels, problems such as incomplete cleaning or increased costs caused by mode mismatch can be avoided, thereby ensuring the adaptability of the range hood cleaning mode, further improving the use effect of the range hood, and enhancing the user experience.
[0092] The present application also provides an oil stain detection device for a range hood, see Figure 6 , which is a schematic diagram of the structure of an oil pollution detection device provided in an embodiment of the present application, specifically as follows Figure 6 As shown, the oil pollution detection device comprises:
[0093] A first vibration component 601 is disposed at a first position of the target range hood and is used to generate a vibration signal;
[0094] A second vibration component 603, disposed at a second position of the target range hood, for acquiring the vibration signal;
[0095] The controller 605 is used to control the first vibration component to generate a vibration signal; obtain the vibration amplitude of the second vibration component under the vibration signal; and when the vibration amplitude reaches a preset amplitude, obtain the output power of the first vibration component corresponding to the vibration amplitude;
[0096] The oil pollution level determination module 607 is used to determine the oil pollution level of the target range hood based on the output power.
[0097] In an optional embodiment, the oil pollution detection device further includes:
[0098] A medium oil pollution level determination module, used for determining that the oil pollution level of the target range hood is medium when the output power is greater than a first preset threshold and less than a second preset threshold;
[0099] The heavy oil pollution level determination module is used to determine that the oil pollution level of the target range hood is heavy when the output power is greater than or equal to a second preset threshold.
[0100] In an optional embodiment, the oil pollution detection device further includes:
[0101] The light oil pollution level determination module is used to determine that the oil pollution level of the target range hood is light when the output power is less than or equal to a first preset threshold.
[0102] In an optional embodiment, the oil pollution detection device further includes:
[0103] A cleaning mode determination module is used to determine the cleaning mode of the target range hood based on the oil pollution level.
[0104] In an optional embodiment, the oil pollution detection device further includes:
[0105] a first cleaning mode determining module, configured to determine that the cleaning mode of the target range hood is the first cleaning mode when the oil pollution level of the target range hood is medium;
[0106] a second cleaning mode determination module, configured to determine that the cleaning mode of the target range hood is the second cleaning mode when the oil pollution level of the target range hood is heavy;
[0107] The third cleaning mode determination module is used to determine that the cleaning mode of the target range hood is the third cleaning mode when the oil pollution level of the target range hood is light.
[0108] In an optional embodiment, the oil pollution detection device further includes:
[0109] The operating state adjustment module is used to adjust the operating state of the first vibration component when the vibration amplitude does not reach the preset amplitude, until the vibration amplitude corresponding to the operating state reaches the preset amplitude.
[0110] In an optional embodiment, the oil pollution detection device further includes:
[0111] The operating state adjustment submodule is used to gradually increase the operating power of the first vibration component at a preset power when the vibration amplitude does not reach the preset amplitude, until the vibration amplitude corresponding to the operating power reaches the preset amplitude.
[0112] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0113] An embodiment of the present application also provides an oil pollution detection electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executes the oil pollution detection method as described in the above method embodiment.
[0114] The embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the oil pollution detection method described in the embodiment of the present application is implemented.
[0115] 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 can 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).
[0116] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0117] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the electronic device and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0118] The electronic device, computer-readable storage medium and method provided in the embodiments of the present application correspond to each other. Therefore, the electronic device and computer-readable storage medium also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding electronic device and computer-readable storage medium will not be repeated here.
[0119] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for detecting oil pollution, characterized in that: include: activating a first vibration component in the target range hood; Acquire the vibration amplitude of the second vibration component corresponding to the operation of the first vibration component; When the vibration amplitude reaches a preset amplitude, obtaining the output power of the first vibration component corresponding to the vibration amplitude; Based on the output power, the oil pollution level of the target range hood is determined.
2. The method according to claim 1, characterized in that The determining the oil pollution level of the target range hood based on the output power includes: When the output power is greater than a first preset threshold value and less than a second preset threshold value, determining that the oil pollution level of the target range hood is moderate; When the output power is greater than or equal to the second preset threshold, it is determined that the oil pollution level of the target range hood is heavy.
3. The method according to claim 1, characterized in that The determining the oil pollution level of the target range hood based on the output power includes: When the output power is less than or equal to the first preset threshold, it is determined that the oil pollution level of the target range hood is light.
4. The method according to claim 1, characterized in that The method further comprises: Based on the oil pollution level, a cleaning mode of the target range hood is determined.
5. The method according to claim 4, characterized in that The determining of the cleaning mode of the target range hood based on the oil pollution level includes: When the oil pollution level of the target range hood is medium, determining that the cleaning mode of the target range hood is the first cleaning mode; When the oil pollution level of the target range hood is heavy, determining that the cleaning mode of the target range hood is the second cleaning mode; When the oil pollution level of the target range hood is light, the cleaning mode of the target range hood is determined to be the third cleaning mode.
6. The method according to claim 1, characterized in that The method further comprises: When the vibration amplitude does not reach the preset amplitude, the operating state of the first vibration component is adjusted until the vibration amplitude corresponding to the operating state reaches the preset amplitude.
7. The method according to claim 6, characterized in that When the vibration amplitude does not reach the preset amplitude, adjusting the operating state of the first vibration component until the vibration amplitude corresponding to the operating state reaches the preset amplitude includes: When the vibration amplitude does not reach the preset amplitude, the operating power of the first vibration component is gradually increased at a preset power until the vibration amplitude corresponding to the operating power reaches the preset amplitude.
8. An oil pollution detection device applied to a range hood, characterized in that: The oil pollution detection device comprises: A first vibration component, disposed at a first position of the target range hood, for generating a vibration signal; a second vibration component, disposed at a second position of the target range hood, for acquiring the vibration signal; A controller, configured to control the first vibration component to generate a vibration signal; obtain a vibration amplitude of the second vibration component under the vibration signal; and, when the vibration amplitude reaches a preset amplitude, obtain an output power of the first vibration component corresponding to the vibration amplitude; The oil pollution level determination module is used to determine the oil pollution level of the target range hood based on the output power.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded by the processor and executes the oil pollution detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the oil pollution detection method according to any one of claims 1 to 7 is implemented.