Control Method, Device, Electronic Device, Humidifier and Storage Medium
By detecting the status of the ultraviolet lamp in the humidifier, it is determined that the water tank is lifted and the drying function is suspended, which solves the problem of the drying function of the existing humidifier in the water tank separation design, and improves intelligence and user experience.
Patent Information
- Application Number
- CN202211559188.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-06
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-12-06
AI Technical Summary
In the existing humidifier, the drying function cannot work effectively in the water tank separation design, because the wet curtain is lifted together with the water tank, resulting in the lack of the main drying object and increasing the production cost.
By detecting the state of the ultraviolet lamp, when the ultraviolet lamp is in a fault state, it is determined that the water tank is lifted and the drying function is suspended, thereby improving the intelligence and user experience of the humidifier.
It effectively avoids the problem of drying function failure in the water tank separation design, improves the intelligence and user experience of humidifiers, and reduces the cost of increasing detection components and circuits.
Smart Images

Figure CN116105266B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of humidifier control, and particularly to a control method, device, electronic device, humidifier and storage medium. Background Art
[0002] With the rapid development of the times and economy, there is a humidification product on the market. This product combines functions such as pumping water by a water pump, storing water in a wet curtain, blowing air by a fan, heating by a heating element, and UV sterilization to achieve waterless fog humidification while humidifying the air, which is called an evaporative humidification product.
[0003] Currently, to avoid the problem that the wet curtain is in a humid state for a long time and thus breeds bacteria harmful to the human body, many similar products will add a UV lamp for sterilization and are equipped with a drying function to dry the wet curtain so that it remains dry when not working. In the prior art, usually, when entering the standby state, the drying function is automatically entered. This method is only applicable to an integrated humidifier (i.e., the water tank, wet curtain, and drying area are in one whole and cannot be separated), which can avoid the failure of the drying function. However, this method is not conducive to the separation design of the water tank (i.e., the wet curtain and the water tank are integrated and the water tank can be lifted). Because during the drying function, the water tank can be lifted. At this time, the main object of drying, the wet curtain, has left the drying position following the lifted water tank, and the main object of drying is missing, but the drying function continues, and it actually fails to work. This method is very unsmart for the separation design of the water tank and affects the user experience. If in-position detection elements and circuits are added, the production cost of the humidifier will increase. Summary of the Invention
[0004] In view of the above problems, the present application provides a control method, device, electronic device, humidifier and storage medium. By detecting the state of the ultraviolet lamp, when the ultraviolet lamp is in a fault state, it is determined that the water tank is lifted and the drying is paused, which can improve the intelligence of the humidifier and the user experience.
[0005] An embodiment of the present application provides a control method, including:
[0006] Before the humidifier executes the drying function, determine whether the ultraviolet lamp of the humidifier is in a fault state;
[0007] When the ultraviolet lamp is in a non-fault state and the humidifier enters the drying function, determine whether the water tank of the humidifier is lifted from the base of the humidifier, and the ultraviolet lamp is arranged on the water tank;
[0008] When it is determined that the water tank is lifted, control the humidifier to pause drying.
[0009] In some embodiments, the method further includes:
[0010] Determine whether the water tank is placed in the base;
[0011] When it is determined that the water tank is placed in the base, control the humidifier to continue drying.
[0012] In some embodiments, determining whether the ultraviolet lamp of the humidifier is in a fault state includes:
[0013] Obtain the first level information of the signal detection port of the ultraviolet lamp of the humidifier;
[0014] Based on the first level information, determine whether the ultraviolet lamp of the humidifier is in a fault state. Wherein, when the first level information is a high level, determine that the ultraviolet lamp is in a non-fault state; when the first level information is a low level, determine that the ultraviolet lamp is in a fault state.
[0015] In some embodiments, determining whether the water tank of the humidifier is lifted from the base of the humidifier includes:
[0016] Obtain the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp;
[0017] Based on the second level information and the third level information, determine whether the water tank of the humidifier is lifted from the base of the humidifier. Wherein, when the second level information is a low level and the third level information is a low level, determine that the water tank of the humidifier is lifted from the base of the humidifier.
[0018] In some embodiments, determining whether the water tank is placed in the base includes:
[0019] Obtain the fourth level information of the signal detection port of the water pump of the humidifier and the fifth level information of the signal detection port of the ultraviolet lamp;
[0020] Based on the fourth level information and the fifth level information, determine whether the water tank is placed in the base. Wherein, when any one of the fourth level information and the fifth level information is a high level, determine that the water tank is placed in the base.
[0021] In some embodiments, the method further includes:
[0022] When the ultraviolet lamp is in a fault state and the humidifier enters the drying function, determine whether the preset drying time is reached;
[0023] When the drying time is reached, stop drying.
[0024] In some embodiments, the method further includes:
[0025] Determining whether the humidifier is in a standby state;
[0026] When the humidifier enters the standby state, determining whether the ultraviolet lamp of the humidifier is in a faulty state.
[0027] An embodiment of the present application provides a control device, including:
[0028] A first determination module, configured to determine whether the ultraviolet lamp of the humidifier is in a faulty state before the humidifier executes the drying function;
[0029] A second determination module, configured to determine whether the water tank of the humidifier is lifted from the base of the humidifier when the ultraviolet lamp is in a non-faulty state and the humidifier enters the drying function, and the ultraviolet lamp is arranged on the water tank;
[0030] A control module, configured to control the humidifier to pause drying when it is determined that the water tank is lifted.
[0031] An embodiment of the present application provides an electronic device, including a memory and a processor, and a computer program is stored on the memory. When the computer program is executed by the processor, the control method is executed.
[0032] An embodiment of the present application provides a humidifier, including: the above-mentioned electronic device, a base, a water tank, an ultraviolet lamp, a drying module, and a wet curtain. The ultraviolet lamp and the wet curtain are arranged on the water tank. The base can be separated from the water tank. When the water tank is on the base, the wet curtain and the drying module are arranged opposite to each other.
[0033] An embodiment of the present application provides a computer-readable storage medium. The computer program stored in the computer-readable storage medium can be executed by one or more processors and can be used to implement the above-mentioned control method.
[0034] A control method, device, electronic device, humidifier, and storage medium provided by the present application can improve the intelligence of the humidifier and the user experience by determining whether the ultraviolet lamp of the humidifier is in a faulty state before the humidifier executes the drying function; determining whether the water tank of the humidifier is lifted from the base of the humidifier when the ultraviolet lamp is in a non-faulty state and the humidifier enters the drying function, and the ultraviolet lamp is arranged on the water tank; and controlling the humidifier to pause drying when it is determined that the water tank is lifted. Description of the Drawings
[0035] Hereinafter, the present application will be described in more detail based on embodiments and with reference to the drawings.
[0036] Figure 1 A schematic structural diagram of a humidifier provided by an embodiment of the present application;
[0037] Figure 2 A schematic implementation flowchart of a control method provided by an embodiment of the present application;
[0038] Figure 3 A schematic implementation flowchart of another control method provided by an embodiment of the present application;
[0039] Figure 4 A schematic composition structure diagram of an electronic device provided by an embodiment of the present application.
[0040] In the accompanying drawings, the same components are denoted by the same reference numerals, and the drawings are not drawn to actual scale. Detailed implementation manners
[0041] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0042] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0043] If similar descriptions such as "first / second / third" appear in the application documents, the following explanation is added. In the following description, the terms "first / second / third" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0045] Based on the problems existing in the related art, an embodiment of the present application provides a control method, which is applied to an electronic device, such as a computer, a mobile terminal, a humidifier, etc. The mobile terminal may include a mobile phone, a tablet computer, etc. In some embodiments, the electronic device may be a controller of the humidifier. The humidifier may include: an electronic device, a base, a water tank, an ultraviolet lamp, a drying module, and a wet curtain. Figure 1 FIG. is a schematic structural diagram of a humidifier provided by an embodiment of the present application, as Figure 1 shown, the ultraviolet lamp and the wet curtain are arranged on the water tank, the base can be separated from the water tank, when the water tank is on the base, the wet curtain is arranged opposite to the drying module, and the electronic device is communicatively connected to the signal detection port of the ultraviolet lamp.
[0046] The functions implemented by the control method provided by the embodiment of the present application can be realized by a processor of the electronic device calling program codes, wherein the program codes can be stored in a computer storage medium.
[0047] Example 1
[0048] An embodiment of the present application provides a control method. Figure 2 FIG. is a schematic implementation flowchart of a control method provided by an embodiment of the present application, as Figure 2 shown, including:
[0049] Step S101, before the humidifier executes the drying function, determine whether the ultraviolet lamp of the humidifier is in a fault state.
[0050] In the embodiment of the present application, before the humidifier executes the drying function, at this time, the water tank of the humidifier is arranged on the base, and the ultraviolet lamp will perform sterilization. As long as the ultraviolet lamp is in the powered-on state, the ultraviolet lamp is default to start working.
[0051] In the embodiment of the present application, the ultraviolet lamp may include a fault state and a non-fault state. The first level information of the signal detection port of the ultraviolet lamp of the humidifier can be obtained; based on the first level information, it is determined whether the ultraviolet lamp of the humidifier is in a fault state, wherein when the first level information is a high level, it is determined that the ultraviolet lamp is in a non-fault state, and when the first level information is a low level, it is determined that the ultraviolet lamp is in a fault state.
[0052] Step S102, when the ultraviolet lamp is in a non-fault state and the humidifier enters the drying function, determine whether the water tank of the humidifier is lifted from the base of the humidifier, and the ultraviolet lamp is arranged on the water tank.
[0053] In an embodiment of the present application, the electronic device may send a control instruction to the drying module to perform the drying function. The drying module may be a heating module, and the heating module may be a PCT heating element.
[0054] In an embodiment of the present application, when the water tank is lifted, the water tank is separated from the base. The second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp can be obtained; based on the second level information and the third level information, it is determined whether the water tank of the humidifier is lifted from the base of the humidifier. Among them, when the second level information is low level and the third level information is low level, it is determined that the water tank of the humidifier is lifted from the base of the humidifier. If the second level signal and the third level signal are high level, it is determined that the water tank is not lifted.
[0055] In an embodiment of the present application, by obtaining the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp, and judging whether the water tank is lifted based on the second level information and the third level information, it is possible to realize the inspection of the lifted water tank without adding in-place detection elements or circuits, and the cost can be reduced.
[0056] Step S103, when it is determined that the water tank is lifted, control the humidifier to pause drying.
[0057] In an embodiment of the present application, since the water tank is lifted, if the drying function is continued to be executed at this time, the drying function has actually failed to work, which will cause a bad experience for the user. In order to improve the user experience, the humidifier can be controlled to pause drying. The electronic device may send a control instruction to the drying module to cause the drying module to pause working.
[0058] A control method provided by the present application, by determining whether the ultraviolet lamp of the humidifier is in a faulty state before the humidifier executes the drying function; when the ultraviolet lamp is in a non-faulty state and the humidifier enters the drying function, determining whether the water tank of the humidifier is lifted from the base of the humidifier, the ultraviolet lamp is arranged on the water tank; when it is determined that the water tank is lifted, controlling the humidifier to pause drying can improve the intelligence of the humidifier and improve the user experience.
[0059] In some embodiments, after step S103, the method further includes:
[0060] Step S104, determine whether the water tank is placed in the base.
[0061] In the embodiments of the present application, the fourth level information of the signal detection port of the water pump of the humidifier and the fifth level information of the signal detection port of the ultraviolet lamp can be obtained; based on the fourth level information and the fifth level information, it is determined whether the water tank is placed in the base. Wherein, when any one of the fourth level information and the fifth level information is a high level, it is determined that the water tank is placed in the base. When the fourth level information is a low level and the fifth level information is a low level, it is determined that the water tank is not placed in the base, and then the drying is continued to be paused.
[0062] Step S105, when it is determined that the water tank is placed in the base, control the humidifier to continue drying.
[0063] In the embodiments of the present application, the electronic device can send a control instruction to the drying module of the humidifier to enable the drying module to continue working.
[0064] The control method provided by the embodiments of the present application can further improve the user experience by determining whether the water tank is placed in the base and controlling the humidifier to continue drying when it is determined that the water tank is placed in the base.
[0065] Example 2
[0066] Based on the foregoing embodiments, the embodiments of the present application further provide a control method. Figure 3 It is a schematic flowchart of the implementation process of a control method provided by the embodiments of the present application. As Figure 3 shown, the method includes:
[0067] Step S201, before the humidifier executes the drying function, determine whether the ultraviolet lamp of the humidifier is in a faulty state.
[0068] In the embodiments of the present application, before the humidifier executes the drying function, at this time, the water tank of the humidifier is set on the base, and the ultraviolet lamp will perform disinfection.
[0069] In the embodiments of the present application, the ultraviolet lamp can include a faulty state and a non-faulty state. The first level information of the signal detection port of the ultraviolet lamp of the humidifier can be obtained; based on the first level information, it is determined whether the ultraviolet lamp of the humidifier is in a faulty state. Wherein, when the first level information is a high level, it is determined that the ultraviolet lamp is in a non-faulty state, and when the first level information is a low level, it is determined that the ultraviolet lamp is in a faulty state.
[0070] In the embodiments of the present application, when the ultraviolet lamp is in a non-faulty state, step S202 is executed, and when the ultraviolet lamp is in a non-faulty state, step S203 is executed.
[0071] Step S202, when the ultraviolet lamp is in a non-fault state and the humidifier enters the drying function, determine whether the water tank of the humidifier is lifted from the base of the humidifier, and the ultraviolet lamp is arranged on the water tank.
[0072] In the embodiments of the present application, the electronic device can send a control instruction to the drying module to execute the drying function. The drying module can be a heating module, and the heating module can be a PCT heating element.
[0073] In the embodiments of the present application, when the water tank is lifted, the water tank is separated from the base. In the embodiments of the present application, the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp can be obtained; based on the second level information and the third level information, it is determined whether the water tank of the humidifier is lifted from the base of the humidifier. Among them, when the second level information is a low level and the third level information is a low level, it is determined that the water tank of the humidifier is lifted from the base of the humidifier. If the second level signal and the third level signal are high levels, it is determined that the water tank is not lifted.
[0074] In the embodiments of the present application, by obtaining the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp, and judging whether the water tank is lifted based on the second level information and the third level information, it is possible to realize the inspection of whether the water tank is lifted without adding in-place detection components or circuits, and the cost can be reduced.
[0075] After step S202, step S204 is executed.
[0076] Step S204, when it is determined that the water tank is lifted, control the humidifier to pause drying.
[0077] In the embodiments of the present application, since the water tank is lifted, if the drying function is continued at this time, the drying function has actually failed to work, which will cause a bad experience for the user. In order to improve the user experience, therefore, the humidifier can be controlled to pause drying. The electronic device can send a control instruction to the drying module to make the drying module pause working.
[0078] Step S203, when the ultraviolet lamp is in a fault state and the humidifier enters the drying function, determine whether the preset drying time is reached.
[0079] In the embodiments of the present application, if the ultraviolet lamp is in a fault state, the level information of the signal detection port of the ultraviolet lamp is a low level, and when drying, the level of the signal inspection port of the water pump is also a low level. In order to avoid misjudgment of whether the water tank is lifted, therefore, when the ultraviolet lamp is in a fault state, it is not necessary to detect whether the water tank is lifted.
[0080] After step S203, step S205 is executed.
[0081] Step S205: Stop drying when the drying time is reached.
[0082] The control method provided by the embodiment of the present application first determines the status of the UV lamp before entering the drying state, which not only solves the user experience problem that when the water tank is lifted during drying, since it does not detect whether the water tank is lifted, the drying function does not pause, at this time the wet curtain is no longer in place, and the main object of the drying function no longer exists, but the drying continues, but also ensures that when entering the drying state with a UV lamp failure, it directly reports the protection of the lifted water tank and does not execute the drying function. It improves the instant response effect of the product and makes the humidifier more intelligent and user-friendly.
[0083] In some embodiments, before step S201, the method further includes:
[0084] Step S200: Determine whether the humidifier is in the standby state.
[0085] In the embodiment of the present application, if it enters the standby state, step S201 is executed.
[0086] Example 3
[0087] Based on the foregoing embodiments, the embodiment of the present application provides a control device. Each module included in the device and each unit included in each module can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits. During implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing), or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.
[0088] The embodiment of the present application provides a control device, and the control device includes:
[0089] A first determination module, configured to determine whether the ultraviolet lamp of the humidifier is in a fault state before the humidifier executes the drying function;
[0090] A second determination module, configured to determine whether the water tank of the humidifier is lifted from the base of the humidifier when the ultraviolet lamp is in a non-fault state and the humidifier enters the drying function, and the ultraviolet lamp is arranged on the water tank;
[0091] A control module, configured to control the humidifier to pause drying when it is determined that the water tank is lifted.
[0092] In some embodiments, the control device is further configured to:
[0093] Determine whether the water tank is placed in the base;
[0094] When it is determined that the water tank is placed in the base, control the humidifier to continue drying.
[0095] In some embodiments, determining whether the ultraviolet lamp of the humidifier is in a faulty state includes:
[0096] Obtain the first level information of the signal detection port of the ultraviolet lamp of the humidifier;
[0097] Based on the first level information, determine whether the ultraviolet lamp of the humidifier is in a faulty state. Specifically, when the first level information is high level, determine that the ultraviolet lamp is in a non-faulty state; when the first level information is low level, determine that the ultraviolet lamp is in a faulty state.
[0098] In some embodiments, determining whether the water tank of the humidifier is lifted from the base of the humidifier includes:
[0099] Obtain the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp;
[0100] Based on the second level information and the third level information, determine whether the water tank of the humidifier is lifted from the base of the humidifier. Specifically, when the second level information is low level and the third level information is low level, determine that the water tank of the humidifier is lifted from the base of the humidifier.
[0101] In some embodiments, determining whether the water tank is placed in the base includes:
[0102] Obtain the fourth level information of the signal detection port of the water pump of the humidifier and the fifth level information of the signal detection port of the ultraviolet lamp;
[0103] Based on the fourth level information and the fifth level information, determine whether the water tank is placed in the base. Specifically, when any one of the fourth level information and the fifth level information is high level, determine that the water tank is placed in the base.
[0104] In some embodiments, the control device is further configured to:
[0105] When the ultraviolet lamp is in a fault state and the humidifier enters the drying function, determine whether the preset drying time is reached;
[0106] When the drying time is reached, stop drying.
[0107] In some embodiments, the control device is further configured to:
[0108] Determine whether the humidifier enters the standby state;
[0109] When the humidifier enters the standby state, determine whether the ultraviolet lamp of the humidifier is in a fault state.
[0110] It should be noted that in the embodiments of the present application, if the above control method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several 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 methods described in the embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read Only Memory), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0111] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps in the control method provided in the above embodiments are implemented.
[0112] Example 4
[0113] An embodiment of the present application provides an electronic device; Figure 4 It is a schematic structural diagram of the electronic device provided in the embodiment of the present application, as Figure 4 shown, the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, and a memory 705. Among them, the communication bus 702 is configured to implement connection communication between these components. Among them, the user interface 703 may include a control screen, and the external communication interface 704 may include a standard wired interface and a wireless interface. The processor 701 is configured to execute the program of the control method stored in the memory to implement the steps in the control method provided in the above embodiments.
[0114] The descriptions of the above embodiments of the electronic device and the storage medium are similar to the descriptions of the above method embodiments and have similar beneficial effects to those of the method embodiments. For the technical details not disclosed in the embodiments of the computer device and the storage medium of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0115] It should be noted here that: the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments and have similar beneficial effects to those of the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0116] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the sequence numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The sequence numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0117] It should be noted that in this article, the term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, the element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0118] In several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling or communication connection between the components controlled or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0119] The units described above as separate components may or may not be physically separated, and the components controlled as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] In addition, each functional unit in the embodiments of the present application may be all integrated in a processing unit, or each unit may be separately used as a unit alone, or two or more units may be integrated in one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of a combination of hardware and software functional units.
[0121] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memories (ROMs), magnetic disks, or optical disks, etc., which can store program codes.
[0122] Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a controller to execute all or part of the methods described in the embodiments of the present application. And the foregoing storage medium includes: removable storage devices, ROMs, magnetic disks, or optical disks, etc., which can store program codes.
[0123] The above is only the implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered by 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, characterized in that, Including: Before the humidifier executes the drying function, determine whether the ultraviolet lamp of the humidifier is in a faulty state; When the ultraviolet lamp is in a non-faulty state and the humidifier enters the drying function, determine whether the water tank of the humidifier is lifted from the base of the humidifier, and the ultraviolet lamp is arranged on the water tank; When it is determined that the water tank is lifted, control the humidifier to pause drying; Wherein, determining whether the water tank of the humidifier is lifted from the base of the humidifier includes: Obtain the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp; Based on the second level information and the third level information, determine whether the water tank of the humidifier is lifted from the base of the humidifier. Wherein, when the second level information is a low level and the third level information is a low level, determine that the water tank of the humidifier is lifted from the base of the humidifier.
2. The method according to claim 1, characterized in that, The method further includes: Determine whether the water tank is placed in the base; When it is determined that the water tank is placed in the base, control the humidifier to continue drying.
3. The method according to claim 1 or 2, characterized in that, Determining whether the ultraviolet lamp of the humidifier is in a faulty state includes: Obtain the first level information of the signal detection port of the ultraviolet lamp of the humidifier; Based on the first level information, determine whether the ultraviolet lamp of the humidifier is in a faulty state. Wherein, when the first level information is a high level, determine that the ultraviolet lamp is in a non-faulty state, and when the first level information is a low level, determine that the ultraviolet lamp is in a faulty state.
4. The method according to claim 2, characterized in that, Determining whether the water tank is placed in the base includes: Obtain the fourth level information of the signal detection port of the water pump of the humidifier and the fifth level information of the signal detection port of the ultraviolet lamp; Based on the fourth level information and the fifth level information, determine whether the water tank is placed in the base. Wherein, when any one of the fourth level information and the fifth level information is a high level, determine that the water tank is placed in the base.
5. The method according to claim 3, characterized in that, The method further includes: When the ultraviolet lamp is in a faulty state and the humidifier enters the drying function, determine whether the preset drying time is reached; When the drying time is reached, stop drying.
6. The method according to claim 1, characterized in that, The method further includes: Determine whether the humidifier is in a standby state; When the humidifier enters the standby state, determine whether the ultraviolet lamp of the humidifier is in a faulty state.
7. A control device, characterized in that, Including: The first determination module is used to determine whether the ultraviolet lamp of the humidifier is in a faulty state before the humidifier executes the drying function; The second determination module is used to determine whether the water tank of the humidifier is lifted from the base of the humidifier when the ultraviolet lamp is in a non-faulty state and the humidifier enters the drying function, and the ultraviolet lamp is arranged on the water tank; The control module is used to control the humidifier to pause drying when it is determined that the water tank is lifted; Wherein, determining whether the water tank of the humidifier is lifted from the base of the humidifier includes: Obtain the second level information of the signal detection port of the water pump of the humidifier and the third level information of the signal detection port of the ultraviolet lamp; Determine whether the water tank of the humidifier is lifted from the base of the humidifier based on the second level information and the third level information. Wherein, when the second level information is a low level and the third level information is a low level, it is determined that the water tank of the humidifier is lifted from the base of the humidifier.
8. An electronic device, characterized in that, It includes a memory and a processor. A computer program is stored on the memory. When the computer program is executed by the processor, it executes the control method according to any one of claims 1 to 6.
9. A humidifier, characterized in that, It includes: The electronic device, base, water tank, ultraviolet lamp, drying module and wet curtain according to claim 8. The ultraviolet lamp and the wet curtain are arranged on the water tank. The base can be separated from the water tank. When the water tank is on the base, the wet curtain is arranged opposite to the drying module. The electronic device is communicatively connected to the signal detection port of the ultraviolet lamp.
10. A storage medium, characterized in that, The computer program stored in this storage medium can be executed by one or more processors and can be used to implement the control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Humidifier fault detection method, electronic equipment and storage medium
CN115144210A
Humidifier and water tank assembly thereof
CN201363844Y