Method and device for controlling air conditioner, and computer-readable storage medium
Abstract
A control method includes, in response to that a current time is in a time duration of a user being away from home, detecting a current operation state of an air conditioner. The time duration of the user being away from home is determined according to historical use data of the air conditioner. The historical use data includes at least one of historical use time of the air conditioner or historical connection time between the air conditioner and a terminal application. The method further includes, in response to that the air conditioner is in an on state, determining that the user forgot to turn off the air conditioner, and outputting a prompt message or reducing an energy consumption of the air conditioner.
Claims
exact text as granted — not AI-modified1 .- 10 . (canceled)
11 . A control method comprising:
in response to that a current time is in a time duration of a user being away from home, detecting a current operation state of an air conditioner, the time duration of the user being away from home being determined according to historical use data of the air conditioner, and the historical use data including at least one of historical use time of the air conditioner or historical connection time between the air conditioner and a terminal application; and in response to that the air conditioner is in an on state:
determining that the user forgot to turn off the air conditioner; and
outputting a prompt message, or reducing an energy consumption of the air conditioner.
12 . The method according to claim 11 , further comprising, after detecting the current operation state of the air conditioner:
in response to that the time duration of the user being away from home is greater than or equal to a first preset duration, obtaining an operation duration of the air conditioner; wherein determining that the user forgot to turn off the air conditioner includes:
in response to that the operation duration is greater than or equal to a second preset duration and the air conditioner is in the on state, determining that the user forgot to turn off the air conditioner, the first preset duration being shorter than the second preset duration.
13 . The method according to claim 12 , further comprising, before obtaining the operation duration of the air conditioner:
obtaining a time of the user leaving home according to the time duration of the user being away from home; and obtaining a time difference between the current time and the time of the user leaving home to obtain the time duration of the user being away from home.
14 . The method according to claim 11 , wherein reducing the energy consumption of the air conditioner includes:
adjusting a current operation mode of the air conditioner; or performing a shutdown operation.
15 . The method according to claim 11 , further comprising, before detecting the current operation state of the air conditioner:
obtaining a working time of the user according to the historical use data; and determining the time duration of the user being away from home during the working time according to the historical use data during the working time of the user, the time duration of the user being away from home not overlapping with the historical use time and the historical connection time.
16 . The method according to claim 15 , wherein obtaining the working time of the user according to the historical use data includes:
obtaining, from a first preset duration, each of a preset number of second preset durations of historical unused data, the historical unused data being determined according to the historical use data, and the first preset duration being divided into the preset number of second preset durations; determining an unused time duration in each of the second preset durations according to the historical use data of each of the second preset durations; and configuring the second preset duration overlapping the unused time duration as the working time.
17 . The method according to claim 16 , wherein configuring the second preset duration overlapping the unused time duration as the working time includes:
obtaining each target second preset duration with the unused time duration greater than or equal to a third preset duration, the third preset duration being shorter than the second preset duration; and configuring the target second preset duration overlapping the unused time duration as the working time.
18 . The method according to claim 15 , wherein determining the time duration of the user being away from home during the working time according to the historical use data during the working time of the user includes:
obtaining a historical unused time and/or a historical unconnected time with a highest frequency during the working time according to the historical use data during the working time of the user; and configuring a time duration corresponding to the historical unused time and/or the historical unconnected time with the highest frequency as the time duration of the user being away from home.
19 . A control device comprising:
a memory storing a program; and a processor configured to execute the program to:
in response to that a current time is in a time duration of a user being away from home, detect a current operation state of an air conditioner, the time duration of the user being away from home being determined according to historical use data of the air conditioner, and the historical use data including at least one of historical use time of the air conditioner or historical connection time between the air conditioner and a terminal application; and
in response to that the air conditioner is in an on state:
determine that the user forgot to turn off the air conditioner; and
output a prompt message, or reduce an energy consumption of the air conditioner.
20 . The device according to claim 19 , wherein the processor is further configured to execute the program to, after detecting the current operation state of the air conditioner:
in response to that the time duration of the user being away from home is greater than or equal to a first preset duration, obtain an operation duration of the air conditioner; and in response to that the operation duration is greater than or equal to a second preset duration and the air conditioner is in the on state, determine that the user forgot to turn off the air conditioner, the first preset duration being shorter than the second preset duration.
21 . The device according to claim 20 , wherein the processor is further configured to execute the program to, before obtaining the operation duration of the air conditioner:
obtain a time of the user leaving home according to the time duration of the user being away from home; and obtain a time difference between the current time and the time of the user leaving home to obtain the time duration of the user being away from home.
22 . The device according to claim 19 , wherein the processor is further configured to execute the program to:
adjust a current operation mode of the air conditioner; or perform a shutdown operation.
23 . The device according to claim 19 , wherein the processor is further configured to execute the program to, before detecting the current operation state of the air conditioner:
obtain a working time of the user according to the historical use data; and determine the time duration of the user being away from home during the working time according to the historical use data during the working time of the user, the time duration of the user being away from home not overlapping with the historical use time and the historical connection time.
24 . The device according to claim 23 , wherein the processor is further configured to execute the program to:
obtain, from a first preset duration, each of a preset number of second preset durations of historical unused data, the historical unused data being determined according to the historical use data, and the first preset duration being divided into the preset number of second preset durations; determine an unused time duration in each of the second preset durations according to the historical use data of each of the second preset durations; and configure the second preset duration overlapping the unused time duration as the working time.
25 . The device according to claim 24 , wherein the processor is further configured to execute the program to:
obtain each target second preset duration with the unused time duration greater than or equal to a third preset duration, the third preset duration being shorter than the second preset duration; and configure the target second preset duration overlapping the unused time duration as the working time.
26 . The device according to claim 23 , wherein the processor is further configured to execute the program to:
obtain a historical unused time and/or a historical unconnected time with a highest frequency during the working time according to the historical use data during the working time of the user; and configure a time duration corresponding to the historical unused time and/or the historical unconnected time with the highest frequency as the time duration of the user being away from home.
27 . A non-transitory computer-readable storage medium storing a program that, when executed by a processor, causes the processor to:
in response to that a current time is in a time duration of a user being away from home, detect a current operation state of an air conditioner, the time duration of the user being away from home being determined according to historical use data of the air conditioner, and the historical use data including at least one of historical use time of the air conditioner or historical connection time between the air conditioner and a terminal application; and in response to that the air conditioner is in an on state:
determine that the user forgot to turn off the air conditioner; and
output a prompt message, or reduce an energy consumption of the air conditioner.
28 . The storage medium according to claim 27 , wherein the program further causes the processor to, after detecting the current operation state of the air conditioner:
in response to that the time duration of the user being away from home is greater than or equal to a first preset duration, obtain an operation duration of the air conditioner; and in response to that the operation duration is greater than or equal to a second preset duration and the air conditioner is in the on state, determine that the user forgot to turn off the air conditioner, the first preset duration being shorter than the second preset duration.
29 . The storage medium according to claim 28 , wherein the program further causes the processor to, before obtaining the operation duration of the air conditioner:
obtain a time of the user leaving home according to the time duration of the user being away from home; and obtain a time difference between the current time and the time of the user leaving home to obtain the time duration of the user being away from home.
30 . The storage medium according to claim 27 , wherein the program further causes the processor to:
adjust a current operation mode of the air conditioner; or perform a shutdown operation.Join the waitlist — get patent alerts
Track US2025327592A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.