Humidifier control method, device and humidifier
By dividing the operation priorities of the humidifier according to the user's work and rest time, the environmental humidity maintenance problem caused by insufficient water in the humidifier is solved, ensuring that the humidifier operates under appropriate humidity and improving the user experience.
Patent Information
- Application Number
- CN202210665603.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-13
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-06-13
AI Technical Summary
During the use of the humidifier, if the water volume is insufficient, the user cannot replenish the water in time, resulting in the humidifier being unable to maintain the indoor environment humidity, affecting the user experience.
By determining the user's work and rest time, dividing the day and night time ranges, priority is given to operations that ensure ambient humidity or ensuring that the humidifier has sufficient water to continue operating before the day after night.
Ensure that the humidifier can always operate at appropriate humidity levels, improving the user experience, especially when the user cannot replenish water in time when sleeping.
Smart Images

Figure CN115111678B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of humidifier control, and in particular to a humidifier control method, device and humidifier. Background Art
[0002] A humidifier can humidify a designated space, increasing the ambient humidity to meet the environmental needs of people's healthy lives, meet the environmental needs of animal and plant breeding, and meet the humidity needs of product use.
[0003] During the use of the humidifier, if the amount of water in the humidifier is insufficient, the humidifier will stop running. At this time, the user is usually required to manually fill the water tank of the humidifier so that the humidifier can continue to be used.
[0004] However, when using a humidifier at night, since the user has fallen asleep, water cannot be added to the humidifier in time when the water level in the humidifier is insufficient, which causes the humidifier to be unable to maintain the indoor humidity, affecting the user's experience. Summary of the invention
[0005] The purpose of the present application is to provide a humidifier control method, device and humidifier, which are used to reasonably control the humidifier during the use of the humidifier so as to always ensure that the indoor ambient humidity is at an appropriate level.
[0006] The present application provides a humidifier control method, comprising:
[0007] Determine the user's work and rest time according to the user's usage habits of the target device; determine the priorities of the first operation and the second operation according to the time range of the work and rest time; execute the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue operating before the daytime arrives after the nighttime.
[0008] Optionally, determining the work and rest time of the user according to the user's usage habits of the target device includes: receiving user usage information sent by the target device after the user uses the target device; the usage information includes: the usage time of the target device used by the user this time, and the time interval from the last time the user used the target device; when the usage time is greater than a usage time threshold, and / or the time interval is greater than a time interval threshold, adding the usage information to a target set; when the usage information contained in the target set exceeds a preset amount, determining the work and rest time of the user according to the usage information in the target set; the work and rest time includes: working time and rest time; the rest time is determined as the night time, and the working time is determined as the day time.
[0009] Optionally, the priorities of the first operation and the second operation are determined according to the time range of the work and rest schedule, including: when the work and rest schedule indicates that the current time belongs to night time, determining that the priority of the second operation is higher than the priority of the first operation, and determining the second operation as the target operation; or, when the work and rest schedule indicates that the current time belongs to daytime time, determining that the priority of the first operation is higher than the priority of the second operation, and determining the first operation as the target operation.
[0010] Optionally, executing the target operation with the highest priority between the first operation and the second operation includes: when the target operation is the first operation, if the ambient humidity of the environment in which the humidifier is located is less than a preset humidity threshold, controlling the humidifier to operate in a first gear; otherwise, controlling the humidifier to operate in a second gear; wherein the humidification capacity of the humidifier when operating in the first gear is greater than the humidification capacity of the humidifier when operating in the second gear.
[0011] Optionally, the execution of the target operation with the highest priority among the first operation and the second operation includes: when the target operation is the second operation, if the amount of water in the humidifier is greater than or equal to the first water level threshold, the humidifier is controlled to operate at the third gear; if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to the second water level threshold, the humidifier is controlled to operate at the fourth gear; if the amount of water in the humidifier is less than the second water level threshold, the humidifier is controlled to stop operating; wherein, the water consumption of the humidifier when operating at the third gear is less than the water consumption when operating at the fourth gear; the water amount corresponding to the first water level threshold is greater than the water amount corresponding to the second water level threshold.
[0012] Optionally, after controlling the humidifier to stop running, the method also includes: obtaining the current time; when the time interval between the current time and the daytime time is a preset time interval, controlling the humidifier to operate at the fifth gear until the water in the humidifier is consumed; wherein the fifth gear is determined based on any one of the following: the ambient humidity of the environment in which the humidifier is located; the humidifier working gear set by the user.
[0013] The present application also provides a humidifier control device, comprising:
[0014] An acquisition module is used to determine the user's work and rest time according to the user's usage habits of the target device; a determination module is used to determine the priority of the first operation and the second operation according to the time range of the work and rest time; an execution module is used to execute the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue operating before the daytime arrives after the nighttime.
[0015] Optionally, the device also includes: a receiving module and a processing module; the receiving module is used to receive user usage information sent by the target device after the user uses the target device; the usage information includes: the usage time of the target device used by the user this time, and the time interval from the last time the user used the target device; the processing module is used to add the usage information to the target set when the usage time is greater than the usage time threshold, and / or the time interval is greater than the time interval threshold; the determination module is specifically used to determine the user's work and rest time according to the usage information in the target set when the usage information contained in the target set exceeds a preset amount; the work and rest time includes: working time and rest time; the determination module is also used to determine the rest time as the night time, and determine the working time as the day time.
[0016] Optionally, the determination module is specifically used to determine that the priority of the second operation is higher than the priority of the first operation and determine the second operation as the target operation when the work and rest schedule indicates that the current time belongs to night time; the determination module is also specifically used to determine that the priority of the first operation is higher than the priority of the second operation and determine the first operation as the target operation when the work and rest schedule indicates that the current time belongs to day time.
[0017] Optionally, the execution module is specifically used to control the humidifier to operate in a first gear when the target operation is the first operation and if the ambient humidity of the environment in which the humidifier is located is less than a preset humidity threshold; otherwise, control the humidifier to operate in a second gear; wherein the humidification capacity of the humidifier when operating in the first gear is greater than the humidification capacity of the humidifier when operating in the second gear.
[0018] Optionally, the execution module is specifically used to, when the target operation is the second operation, control the humidifier to operate in the third gear if the amount of water in the humidifier is greater than or equal to the first water level threshold; control the humidifier to operate in the fourth gear if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to the second water level threshold; control the humidifier to stop operating if the amount of water in the humidifier is less than the second water level threshold; wherein the water consumption of the humidifier when operating in the third gear is less than the water consumption when operating in the fourth gear; and the water amount corresponding to the first water level threshold is greater than the water amount corresponding to the second water level threshold.
[0019] Optionally, the acquisition module is also used to acquire the current time; the execution module is also used to control the humidifier to operate at the fifth gear when the time interval between the current time and the daytime time is a preset time interval until the water in the humidifier is consumed; wherein the fifth gear is determined based on any one of the following: the ambient humidity of the environment in which the humidifier is located; the humidifier working gear set by the user.
[0020] The present application also provides a humidifier, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned humidifier control methods when executing the program.
[0021] The present application also provides a computer program product, comprising a computer program / instruction, which implements the steps of any of the above-mentioned humidifier control methods when executed by a processor.
[0022] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned humidifier control methods are implemented.
[0023] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of any of the above-mentioned humidifier control methods are implemented.
[0024] The humidifier control method, device and humidifier provided in the present application, during the operation of the humidifier, determine the user's work and rest time according to the user's usage habits of the target device; determine the priority of the first operation and the second operation according to the time range of the work and rest time; execute the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime arrives after the nighttime. In this way, by reasonably controlling the humidifier, it can always ensure that the indoor ambient humidity is at an appropriate level. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 It is a flow chart of the humidifier control method provided by the present application;
[0027] Figure 2 It is a flow chart of the humidifier control method provided by the present application;
[0028] Figure 3 It is a structural schematic diagram of a humidifier control device provided by the present application;
[0029] Figure 4 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0032] Humidifiers are divided into: direct evaporation humidifiers and ultrasonic humidifiers.
[0033] Direct evaporation humidifiers are usually called pure humidifiers. Pure humidification technology is a new technology that has just been adopted in the humidification field. Pure humidifiers use molecular sieve evaporation technology to remove calcium and magnesium ions in water, completely solving the problem of "white powder" inside the humidifier. At the same time, the water vapor it produces is healthier and safer than water mist.
[0034] The ultrasonic humidifier uses an ultrasonic atomizer to atomize water into ultra-fine particles of 1-5 microns through high-frequency oscillation (1.7MHZ frequency), and diffuses the water mist into the air through a fan, thereby increasing the indoor humidity.
[0035] According to the usage characteristics of the humidifier, the humidifier needs to consume a large amount of water during operation. When the water level in the water tank of the humidifier is low, if water cannot be added to the water tank of the humidifier in time, the humidifier will not work normally.
[0036] In response to the above-mentioned problems existing in the humidifier, an embodiment of the present application provides a humidifier control method, which can ensure that the indoor ambient humidity is always at an appropriate level when there is no one on duty at night.
[0037] The humidifier control method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0038] like Figure 1 As shown, a humidifier control method provided in an embodiment of the present application may include the following steps 101 to 103:
[0039] Step 101: Determine the user's work and rest time according to the user's usage habits of the target device.
[0040] For example, during the operation of the humidifier, the humidifier will obtain the current time in real time, and determine whether the amount of water in the humidifier can be replenished in time according to the current time.
[0041] It is understandable that in the related art, when the water level in the humidifier is insufficient, a water shortage prompt will be issued to prompt the user to add water to the water tank of the humidifier to ensure the normal operation of the humidifier. However, when the user falls asleep, he or she usually cannot respond to the prompt of the humidifier and cannot add water to the water tank of the humidifier in time, resulting in the humidifier not being able to operate normally, which in turn causes the ambient humidity to decrease, making the user feel uncomfortable after waking up.
[0042] Step 102: Determine the priority of the first operation and the second operation according to the time range of the work and rest time.
[0043] Among them, the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment in which the humidifier is located; the second operation is used to ensure that the humidifier has sufficient water to continue operating before the daytime arrives after the night time.
[0044] For example, after obtaining the above-mentioned work and rest time, it can be determined whether the water in the humidifier tank can be replenished in time at the current time based on the work and rest time. If so, the priority of the first operation is higher than the priority of the second operation; if not, the priority of the second operation is higher than the priority of the first operation.
[0045] Step 103: Execute the target operation with the highest priority between the first operation and the second operation.
[0046] Exemplarily, after determining the target operation with a higher priority between the first operation and the second operation, the target operation can be executed. The target operation can be the first operation or the second operation.
[0047] Optionally, in the embodiment of the present application, time may be divided into night time and day time, and this may be used as a criterion for determining the priority of the first operation and the second operation.
[0048] For example, the night time and day time can be divided in the following four ways:
[0049] Method 1:
[0050] In method 1, the user's work and rest time can be determined according to the user's usage habits of the target device, thereby achieving the division of daytime and nighttime.
[0051] Exemplarily, the above step 101 may include the following steps 101a1 to 101a4:
[0052] Step 101a1: After the user uses the target device, receiving user usage information sent by the target device.
[0053] The usage information includes: the usage time of the target device used by the user this time, and the time interval from the last time the user used the target device.
[0054] Step 101a2: When the usage duration is greater than a usage duration threshold, and / or the time interval is greater than a time interval threshold, add the usage information to a target set.
[0055] Step 101a3: When the usage information included in the target set exceeds a preset amount, determine the user's work and rest time according to the usage information in the target set; the work and rest time includes: working time and rest time.
[0056] Step 101a4: determine the rest time as the night time, and determine the working time as the day time.
[0057] Exemplarily, the target device may be an electronic device frequently used by the user, such as a mobile phone, a computer, etc. The device is installed with an application for collecting user usage information, and the application is bound to the humidifier so that the collected usage information can be sent to the bound humidifier.
[0058] Exemplarily, in an embodiment of the present application, the user's habit of playing with the mobile phone when getting up can be used to determine the user's work and rest time. In order to reduce the interference of useless data, the usage information sent by the target device can be screened. For example, only usage information with a usage time greater than 20 minutes (i.e., the above-mentioned usage time threshold) will be recorded, and / or, only usage information with a usage interval greater than 5 hours (i.e., the above-mentioned time interval threshold) will be recorded, while other usage information will not be recorded. When the recorded usage information reaches 10 (i.e., the above-mentioned preset number), the usage information is processed to obtain the user's work and rest time.
[0059] For example, if the interval between a piece of usage information and the previous piece of usage information is 6 hours (greater than 5 hours), the piece of usage information can be recorded (added to the above target set). After collecting 10 such pieces of usage information, the average time T1 of the user using the mobile phone corresponding to the 10 pieces of usage information and the average time interval T2 from the last time the corresponding user used the mobile phone can be calculated. Afterwards, T1 is determined as the time when the user wakes up, and T3 (T3 = T1-T2) is determined as the time when the user starts to rest. Based on this, the user's rest time is the time between T3 and T1; the user's working time is the time between T1 and T3.
[0060] It should be noted that the above steps 101a1 to 101a4 are steps for calculating the user's work and rest time and determining the day time and night time based on the work and rest time. This step can be executed periodically and can also be manually controlled by the user to redefine the above day time and night time as the user's work and rest time changes.
[0061] Method 2:
[0062] In method 2, the daytime time and nighttime time may be divided according to sunrise time and sunset time.
[0063] Exemplarily, before the above step 102, the humidifier control method provided in the embodiment of the present application may further include the following steps S1 to S3:
[0064] S1. Obtain weather forecast information.
[0065] S2. Determine the sunset time and sunrise time according to the weather forecast information.
[0066] S3. Determine the time between the sunset time and the sunrise time as night time, and determine the time other than the night time as day time.
[0067] For example, the humidifier can be linked with other smart devices (e.g., gateways, etc.) to obtain the above weather forecast information through other smart devices. The above weather forecast information may include the sunrise time and sunset time of the current day and the next few days. According to the sunrise time and sunset time of two adjacent days, the daytime and nighttime of the current day can be determined, and the daytime and nighttime of the next day can also be determined.
[0068] Method 3:
[0069] In mode 3, time can be divided into day time and night time according to the designated time.
[0070] For example, before the above step 102, the humidifier control method provided in the embodiment of the present application may further include the following step S4:
[0071] S4. Divide the time from the first time node to the second time node into night time, and divide the other time except the night time into day time.
[0072] Exemplarily, the first time node and the second time node are both designated times. For example, the first time node may be 0 o'clock, and the second time node may be 8 o'clock, that is, the time between 0 o'clock and 8 o'clock is night time, and the time between 8 o'clock and 24 o'clock is day time.
[0073] Method 4:
[0074] In method 4, the time can be divided into day time and night time according to the user's work and rest time.
[0075] For example, before the above step 102, the humidifier control method provided in the embodiment of the present application may further include the following steps S5 and S6:
[0076] S5. Determine the user's active time and rest time based on the user's work and rest habits.
[0077] S6. Determine the active time as daytime, and determine the rest time as nighttime.
[0078] It should be noted that, since different users have different work and rest habits, night time and day time can be divided according to the work and rest habits of the users. The work and rest habits of the users can be determined according to the time when the users use the smart device, or can be set manually by the users.
[0079] For example, after determining the daytime and nighttime, it is possible to judge whether the current time belongs to the daytime or nighttime according to the work and rest time obtained above, and determine the priority of the first operation and the second operation accordingly.
[0080] Specifically, the above step 102 may include the following step 102a or step 102b:
[0081] Step 102a: when the work and rest time indicates that the current time belongs to night time, determine that the priority of the second operation is higher than the priority of the first operation, and determine the second operation as the target operation.
[0082] Step 102b: when the work and rest time indicates that the current time is daytime, determine that the priority of the first operation is higher than the priority of the second operation, and determine the first operation as the target operation.
[0083] For example, when the current time is night time, priority is given to ensuring that there is enough water in the humidifier so that the indoor humidity can be maintained at a suitable level when the user wakes up. When the current time is day time, priority is given to ensuring the indoor humidity.
[0084] It can be understood that priority is given to ensuring that there is enough water in the humidifier so that it can maintain the indoor humidity at an appropriate level when the user wakes up. It can be understood that if the water in the humidifier cannot be replenished in time, when the remaining water in the humidifier is low, it can stop running and ensure the normal operation of the humidifier before the next daytime, so that the indoor humidity can be maintained at an appropriate level when the user wakes up.
[0085] For example, Figure 2 As shown, during the operation of the humidifier, the current time is obtained. If the current time is daytime, the indoor humidity is prioritized; if the current time is nighttime, sufficient remaining water is prioritized in the humidifier, and the humidifier can be stopped if necessary.
[0086] Specifically, when the priority of the first operation is higher than the priority of the second operation, the above step 103 may include the following steps 103a:
[0087] Step 103a: when the target operation is the first operation, if the ambient humidity of the environment in which the humidifier is located is less than a preset humidity threshold, the humidifier is controlled to operate at a first gear; otherwise, the humidifier is controlled to operate at a second gear.
[0088] The humidification capacity of the humidifier when operating at the first gear is greater than the humidification capacity of the humidifier when operating at the second gear.
[0089] Specifically, when the priority of the second operation is higher than the priority of the first operation, the above step 103 may include the following step 103b:
[0090] Step 103b: when the target operation is the second operation, if the amount of water in the humidifier is greater than or equal to the first water level threshold, the humidifier is controlled to operate at the third gear; if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to the second water level threshold, the humidifier is controlled to operate at the fourth gear; if the amount of water in the humidifier is less than the second water level threshold, the humidifier is controlled to stop operating;
[0091] Among them, the water consumption of the humidifier when operating in the third gear is less than the water consumption of the humidifier when operating in the fourth gear; the water volume corresponding to the first water level threshold is greater than the water volume corresponding to the second water level threshold.
[0092] Exemplarily, the humidification capacity corresponding to the third gear and the fourth gear can be determined according to the remaining water amount in the humidifier and the time difference between the current time and the next daytime time.
[0093] For example, when the current time is daytime, the priority of the first operation is higher than that of the second operation, and the indoor humidity is mainly ensured. When the current time is nighttime, the priority of the second operation is higher than that of the first operation, and the humidifier is ensured to run as long as possible, and sufficient water must remain before the next daytime.
[0094] Exemplarily, after the above step 103b, the humidifier control method provided in the embodiment of the present application may further include the following steps 104 and 105:
[0095] Step 104: Get the current time.
[0096] Step 105: When the time interval between the current time and the daytime time is a preset time interval, control the humidifier to operate at the fifth gear until the water in the humidifier is consumed;
[0097] The fifth gear is determined based on any one of the following: the ambient humidity of the environment in which the humidifier is located; or the humidifier working gear set by the user.
[0098] For example, when the humidifier enters daytime, since there is still a certain amount of water in the humidifier, the humidification operation can be performed before the user wakes up to ensure that the indoor humidity can be maintained at an appropriate level after the user wakes up.
[0099] It should be noted that when the user wakes up, if no water is added to the humidifier, the humidifier can continue to operate until the water in the water tank is exhausted. At this time, the user can be reminded to add water to the humidifier as usual.
[0100] The humidifier control method provided in the embodiment of the present application determines the user's work and rest time according to the user's usage habits of the target device during the operation of the humidifier; determines the priority of the first operation and the second operation according to the time range of the work and rest time; executes the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime arrives after the nighttime. In this way, by reasonably controlling the humidifier, it can always ensure that the indoor ambient humidity is at an appropriate level.
[0101] It should be noted that the humidifier control method provided in the embodiment of the present application can be executed by a humidifier control device, or a control module in the humidifier control device for executing the humidifier control method. In the embodiment of the present application, the humidifier control device provided in the embodiment of the present application is described by taking the humidifier control method executed by the humidifier control device as an example.
[0102] It should be noted that, in the embodiments of the present application, the humidifier control methods shown in the above-mentioned method drawings are all illustrated by taking one of the drawings in the embodiments of the present application as an example. In specific implementation, the humidifier control methods shown in the above-mentioned method drawings can also be implemented in combination with any other drawings that can be combined as shown in the above-mentioned embodiments, which will not be repeated here.
[0103] The humidifier control device provided in the present application is described below, and the humidifier control method described below and described above can refer to each other.
[0104] Figure 3 A schematic diagram of the structure of a humidifier control device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, specifically including:
[0105] The acquisition module 301 is used to determine the work and rest time of the user according to the user's usage habits of the target device; the determination module 302 is used to determine the priority of the first operation and the second operation according to the time range of the work and rest time; the execution module 303 is used to execute the target operation with the highest priority among the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment in which the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue operating before the daytime arrives after the nighttime.
[0106] Optionally, the device also includes: a receiving module and a processing module; the receiving module is used to receive user usage information sent by the target device after the user uses the target device; the usage information includes: the usage time of the target device used by the user this time, and the time interval from the last time the user used the target device; the processing module is used to add the usage information to the target set when the usage time is greater than the usage time threshold, and / or the time interval is greater than the time interval threshold; the determination module 302 is specifically used to determine the user's work and rest time according to the usage information in the target set when the usage information contained in the target set exceeds a preset amount; the work and rest time includes: working time and rest time; the determination module 302 is also used to determine the rest time as the night time, and determine the working time as the daytime time.
[0107] Optionally, the determination module 302 is specifically used to determine that the priority of the second operation is higher than the priority of the first operation and determine the second operation as the target operation when the work and rest schedule indicates that the current time belongs to night time; the determination module 302 is also specifically used to determine that the priority of the first operation is higher than the priority of the second operation and determine the first operation as the target operation when the work and rest schedule indicates that the current time belongs to day time.
[0108] Optionally, the execution module 303 is specifically used to control the humidifier to operate in a first gear when the target operation is the first operation and if the ambient humidity of the environment in which the humidifier is located is less than a preset humidity threshold; otherwise, control the humidifier to operate in a second gear; wherein the humidification capacity of the humidifier when operating in the first gear is greater than the humidification capacity of the humidifier when operating in the second gear.
[0109] Optionally, the execution module 303 is specifically used to, when the target operation is the second operation, control the humidifier to operate in the third gear if the amount of water in the humidifier is greater than or equal to the first water level threshold; control the humidifier to operate in the fourth gear if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to the second water level threshold; control the humidifier to stop operating if the amount of water in the humidifier is less than the second water level threshold; wherein the water consumption of the humidifier when operating in the third gear is less than the water consumption when operating in the fourth gear; and the water amount corresponding to the first water level threshold is greater than the water amount corresponding to the second water level threshold.
[0110] Optionally, the acquisition module 301 is also used to obtain the current time; the execution module 303 is also used to control the humidifier to operate at the fifth gear when the time interval between the current time and the daytime time is a preset time interval until the water in the humidifier is consumed; wherein the fifth gear is determined based on any one of the following: the ambient humidity of the environment in which the humidifier is located; the humidifier working gear set by the user.
[0111] The humidifier control device provided by the present application determines the user's work and rest time according to the user's usage habits of the target device during the operation of the humidifier; determines the priority of the first operation and the second operation according to the time range of the work and rest time; and executes the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime arrives after the nighttime. In this way, by reasonably controlling the humidifier, it can always ensure that the indoor ambient humidity is at an appropriate level.
[0112] The present application also provides a humidifier, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned humidifier control methods when executing the program.
[0113] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the humidifier control method, which includes: determining the user's work and rest time according to the user's usage habits of the target device; determining the priority of the first operation and the second operation according to the time range of the work and rest time; executing the target operation with the highest priority in the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime arrives after the nighttime.
[0114] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0115] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the humidifier control method provided by the above-mentioned methods, and the method includes: determining the user's work and rest time according to the user's usage habits of the target device; determining the priority of a first operation and a second operation according to the time range of the work and rest time; executing the target operation with the highest priority among the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment in which the humidifier is located; the second operation is used to ensure that the humidifier has sufficient water to continue operating before the arrival of daytime after nighttime.
[0116] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned humidifier control methods, the methods comprising: determining the user's work and rest time according to the user's usage habits of the target device; determining the priority of a first operation and a second operation according to the time range of the work and rest time; executing the target operation with the highest priority between the first operation and the second operation; wherein the time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment in which the humidifier is located; the second operation is used to ensure that the humidifier has sufficient water to continue operating before the arrival of daytime after nighttime.
[0117] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0118] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A humidifier control method, characterized in that: include: Determine the user's work and rest time according to the user's usage habits of the target device; Determining the priority of the first operation and the second operation according to the time range of the work and rest time; Execute the target operation with the highest priority among the first operation and the second operation; The time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime after the nighttime; Determining the priority of the first operation and the second operation according to the time range of the work and rest time includes: When the work and rest time indicates that the current time belongs to night time, determining that the priority of the second operation is higher than the priority of the first operation, and determining the second operation as the target operation; or, In a case where the work and rest time indicates that the current time is daytime, determining that the priority of the first operation is higher than the priority of the second operation, and determining the first operation as the target operation; The executing the target operation with the highest priority among the first operation and the second operation includes: When the target operation is the second operation, if the amount of water in the humidifier is greater than or equal to the first water level threshold, the humidifier is controlled to operate at the third gear; if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to the second water level threshold, the humidifier is controlled to operate at the fourth gear; if the amount of water in the humidifier is less than the second water level threshold, the humidifier is controlled to stop operating; The water consumption of the humidifier when operating at the third gear is less than the water consumption of the humidifier when operating at the fourth gear; the water volume corresponding to the first water level threshold is greater than the water volume corresponding to the second water level threshold; When the time interval between the current time and the daytime time is a preset time interval, controlling the humidifier to operate at the fifth gear until the water in the humidifier is consumed; The fifth gear is determined based on any one of the following: the ambient humidity of the environment where the humidifier is located; the humidifier working gear set by the user; Determine the user's work and rest time based on the user's usage habits of the target device, including: After the user uses the target device, receiving user usage information sent by the target device; the usage information includes: the usage time of the user using the target device this time, and the time interval from the user's last use of the target device; When the usage duration is greater than a usage duration threshold, and / or the time interval is greater than a time interval threshold, adding the usage information to a target set; When the usage information included in the target set exceeds a preset amount, determining the work and rest time of the user according to the usage information in the target set; the work and rest time includes: working time and rest time; The rest time is determined as the night time, and the working time is determined as the day time.
2. The method according to claim 1, characterized in that The executing the target operation with the highest priority among the first operation and the second operation includes: In the case where the target operation is the first operation, if the ambient humidity of the environment in which the humidifier is located is less than a preset humidity threshold, the humidifier is controlled to operate at a first gear; otherwise, the humidifier is controlled to operate at a second gear; The humidification capacity of the humidifier when operating at the first gear is greater than the humidification capacity of the humidifier when operating at the second gear.
3. A humidifier control device, characterized in that: The device comprises: An acquisition module, used to determine the user's work and rest time according to the user's usage habits of the target device; A determination module, used to determine the priority of the first operation and the second operation according to the time range of the work and rest time; An execution module, configured to execute a target operation with the highest priority among the first operation and the second operation; The time range includes: daytime and nighttime; the first operation is used to ensure the ambient humidity of the environment where the humidifier is located; the second operation is used to ensure that the humidifier has enough water to continue to operate before the daytime after the nighttime; The determining module is specifically configured to determine that the priority of the second operation is higher than the priority of the first operation when the work and rest time indicates that the current time belongs to night time, and determine the second operation as the target operation; The determining module is further configured to determine that the priority of the first operation is higher than the priority of the second operation and determine the first operation as the target operation when the work and rest time indicates that the current time belongs to daytime; The execution module is specifically configured to, when the target operation is the second operation, control the humidifier to operate at a third gear if the amount of water in the humidifier is greater than or equal to a first water level threshold; control the humidifier to operate at a fourth gear if the amount of water in the humidifier is less than the first water level threshold and greater than or equal to a second water level threshold; and control the humidifier to stop operating if the amount of water in the humidifier is less than the second water level threshold; The water consumption of the humidifier when operating at the third gear is less than the water consumption of the humidifier when operating at the fourth gear; the water volume corresponding to the first water level threshold is greater than the water volume corresponding to the second water level threshold; The execution module is further used to control the humidifier to operate at the fifth gear when the time interval between the current time and the daytime time is a preset time interval until the water in the humidifier is consumed; The fifth gear is determined based on any one of the following: the ambient humidity of the environment where the humidifier is located; the humidifier working gear set by the user; The device also includes: a receiving module and a processing module; The receiving module is used to receive user usage information sent by the target device after the user uses the target device; the usage information includes: the usage time of the user using the target device this time, and the time interval from the user's last use of the target device; The processing module is configured to add the usage information to a target set when the usage duration is greater than a usage duration threshold and / or the time interval is greater than a time interval threshold; The determination module is specifically used to determine the work and rest time of the user according to the use information in the target set when the use information contained in the target set exceeds a preset amount; the work and rest time includes: working time and rest time; The determination module is further used to determine the rest time as the night time, and determine the working time as the day time.
4. A humidifier, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the humidifier control method as claimed in claim 1 or 2 when executing the program.
Citation Information
Patent Citations
A method of obtaining the work and rest time of an end user
CN109240752A
Humidification control method and device and storage medium
CN109631253A
Intelligent humidifier
CN112460712A
Humidifier
JP2006226554A