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.
Legal claims defining the scope of protection, as filed with the USPTO.
.-. (canceled)
. A control method comprising:
. The method according to, further comprising, after detecting the current operation state of the air conditioner:
. The method according to, further comprising, before obtaining the operation duration of the air conditioner:
. The method according to, wherein reducing the energy consumption of the air conditioner includes:
. The method according to, further comprising, before detecting the current operation state of the air conditioner:
. The method according to, wherein obtaining the working time of the user according to the historical use data includes:
. The method according to, wherein configuring the second preset duration overlapping the unused time duration as the working time includes:
. The method according to, 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:
. A control device comprising:
. The device according to, wherein the processor is further configured to execute the program to, after detecting the current operation state of the air conditioner:
. The device according to, wherein the processor is further configured to execute the program to, before obtaining the operation duration of the air conditioner:
. The device according to, wherein the processor is further configured to execute the program to:
. The device according to, wherein the processor is further configured to execute the program to, before detecting the current operation state of the air conditioner:
. The device according to, wherein the processor is further configured to execute the program to:
. The device according to, wherein the processor is further configured to execute the program to:
. The device according to, wherein the processor is further configured to execute the program to:
. A non-transitory computer-readable storage medium storing a program that, when executed by a processor, causes the processor to:
. The storage medium according to, wherein the program further causes the processor to, after detecting the current operation state of the air conditioner:
. The storage medium according to, wherein the program further causes the processor to, before obtaining the operation duration of the air conditioner:
. The storage medium according to, wherein the program further causes the processor to:
Complete technical specification and implementation details from the patent document.
The present application claims priority to Chinese Patent Application No. 202110879423.5, filed on Jul. 30, 2021, the entire contents of which are incorporated herein by reference.
The present application relates to the technical field of air conditioners, in particular to a method and a device for controlling an air conditioner, and a computer-readable storage medium.
At present, as an important part of smart home, air conditioners have brought a lot of convenience to people's daily life and improved the comfort of the living environment. However, many users will forget to turn off the air conditioner after leaving home, which will easily cause the loss of air conditioner and the waste of electric energy. Based on this problem, the existing solution is to install a human body detection sensor on the air conditioner to detect whether there is anyone in the room. If there is no one, it is determined that the current user is away from home. If the air conditioner is on at this time, it is determined that the user forgot to turn the air conditioner off. With this method, an additional sensor needs to be installed, thereby resulting in an increase in cost. At the same time, because the sensor cannot adapt to the user's work needs, there will be misjudgment, resulting in a wrong determination that the user has forgotten to turn off the air conditioner, thereby reducing the user's experience. Therefore, the accuracy of the existing determining method of whether forgetting to turn off the air conditioner is low.
By providing a method and a device for controlling an air conditioner, and a computer-readable storage medium, embodiments of the present application aim to solve the problem of low accuracy in the existing determination method of whether forgetting to turn off air conditioner.
In order to achieve the above objectives, on the one hand, the present application provides a method for controlling an air conditioner, and the method includes:
In an embodiment, after the detecting the current operation state of the air conditioner, the method further includes:
In an embodiment, before the obtaining the operation duration of the air conditioner, the method further includes:
In an embodiment, the reducing the energy consumption of the air conditioner includes:
In an embodiment, before the detecting the current operation state of the air conditioner, the method further includes:
In an embodiment, the obtaining the working time of the user according to the historical use data includes:
In an embodiment, the configuring the fourth preset duration overlapping the unused time duration as the working time includes:
In an embodiment, the 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:
In addition, in order to achieve the above objectives, the present application also provides a device for controlling an air conditioner, including a memory, a processor, and a program for controlling the air conditioner stored on the memory and run on the processor, and when the program for controlling the air conditioner is executed by the processor, the steps of the method for controlling the air conditioner are realized.
In addition, in order to achieve the above objectives, the present application also provides a computer-readable storage medium, a program for controlling an air conditioner is stored on the computer-readable storage medium, and when the program for controlling the air conditioner is executed by a processor, the steps of the method for controlling the air conditioner are realized.
The present application provides a method for controlling an air conditioner, which detects the current operation state of the air conditioner when the current time is in the time duration of the user being away from home. The time duration of the user being away from home is determined according to the historical use data of the air conditioner. The historical use data includes at least one of the historical use time of the air conditioner or the historical connection time between the air conditioner and the terminal application; when the air conditioner is turned on, it is determined that the user has forgotten to turn off the air conditioner, and a prompt message is output or the energy consumption of the air conditioner is reduced. The present application determines whether the user has left home based on the historical use data of the air conditioner and the current time. After the user leaves home, if it is detected that the air conditioner is turned on, it is determined that the user has forgotten to turn off the air conditioner, and the leaving home control is executed. In this way, the accuracy of forgetting to turn off the air conditioner is improved.
The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
It should be understood that the specific embodiments described herein are only used to explain the present application, and not to limit the present application.
In order to better understand the above-mentioned technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
Due to the existing use of sensors to determine whether the user has forgotten to turn off the air conditioner, the sensor cannot adapt to the user's work needs, and there will be misdetermination, resulting in a wrong determination that the user has forgotten to turn off the air conditioner, thereby reducing the accuracy of determining that the air conditioner has forgotten to turn off. Therefore, the accuracy of the existing determining method of whether forgetting to turn off the air conditioner is low. However, the present application detects the current operation state of the air conditioner when the current time is in the duration when the user is away from home. The time duration of the user being away from home is determined according to the historical use data of the air conditioner. The historical use data includes at least one of the historical use time of the air conditioner or the historical connection time between the air conditioner and the terminal application; when the air conditioner is turned on, it is determined that the user has forgotten to turn off the air conditioner, and a prompt message is output or the energy consumption of the air conditioner is reduced. The present application judges whether the user has left home based on the historical use data of the air conditioner and the current time. After the user leaves home, if it is detected that the air conditioner is turned on, it is determined that the user has forgotten to turn off the air conditioner, and the leaving home control is executed. In this way, the accuracy of forgetting to turn off the air conditioner is improved.
As shown in,is a schematic structural diagram of a terminal related to a hardware operation environment according to an embodiment of the present application.
As shown in, the terminal may include: a processor, such as a central processing unit (CPU), a network interface, a user interface, a memory, and a communication bus. The communication busis used to realize connection and communication between these components. The user interfacemay include a display screen, an input unit such as a keyboard, and the optional user interfacemay also include a standard wired interface and a wireless interface. Optionally, the network interfacemay include a standard wired interface and a wireless interface (such as a wireless fidelity (WI-FI) interface). The memorycan be a high-speed random access memory (RAM) memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memorymay also be a storage device independent of the aforementioned processor.
Those skilled in the art can understand that the structure of the terminal shown indoes not constitute a limitation on the terminal device, and may include more or less components than those shown in the figure, or a combination of some components, or different arranged components.
As shown in, the memoryas a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a program for controlling an air conditioner.
In the terminal shown in, the network interfaceis mainly used for data communication with the background server; the user interfaceis mainly used for data communication with the client terminal (user terminal); and when the terminal is an air conditioner, the processorcan be used to call the program for controlling the air conditioner in the memory, and perform the following operations:
When the current time is in the time duration of the user being away from home, the current operation state of the air conditioner is detected. The time duration of the user being away from home is determined according to the historical use data of the air conditioner, and the historical use data includes at least one of the historical use time of the air conditioner or the historical connection time between the air conditioner and the terminal application;
When the air conditioner is turned on, it is determined that the user has forgotten to turn off the air conditioner, and a prompt message is output or energy consumption of the air conditioner is reduced.
Referring to,is a schematic flowchart of the method for controlling the air conditioner according to a first embodiment of the present application.
The embodiment of the present application provides the method for controlling the air conditioner. It should be noted that although the logic sequence is shown in the flow chart, in some cases, the steps shown or described can be performed in a different sequence than here.
The method for controlling the air conditioner includes:
Step S, when the current time is in the time duration of the user being away from home, detecting the current operation state of the air conditioner. The time duration of the user being away from home is determined according to the historical use data of the air conditioner, and the historical use data includes at least one of the historical use time of the air conditioner or the historical connection time between the air conditioner and the terminal application;
It should be noted that a storage module is provided in the air conditioner, and the storage module is used for storing historical use data of the air conditioner, and the historical use data includes at least one of the historical use time of the air conditioner or the historical connection time of the air conditioner and the terminal application. The historical use time can include the start-up time, shutdown time, start-stop time, use duration, and use time duration of the air conditioner; the historical connection time can include the connection time, disconnection time, connection duration and connection time duration, etc. In an embodiment, the historical use data may also include: the operation environment data of the air conditioner (including indoor and outdoor ambient temperature, ambient humidity, etc.), air supply parameters of the air conditioner (including air supply angle, air supply intensity, etc.), the load power of the air conditioner (including compressor frequency, fan speed, etc.), and the heat transfer parameters of the air conditioner (including target temperature and humidity, operation mode, etc.), the historical use data reflects the operation characteristics of the air conditioner.
In this embodiment, if the user presets the smart control function against forgetting to turn off the air conditioner by default, or, during the process of starting and running the air conditioner, the user turns on the smart control function against forgetting to turn off through the remote control or the air conditioner application (APP). At this time, the air conditioner automatically obtains the historical use data of the air conditioner from the storage module through the data acquisition module, then obtains the user's working time according to the historical use data, and finally determines the time duration of the user being away from home in the working time according to the historical use data of the user's working time.
When the current time is in the time duration when the user is away from home, the current operation state of the air conditioner is detected, and the operation state includes the on state and off state of the air conditioner, and the connection state and disconnection state between the air conditioner and the terminal application. For example, the sensor detects the current and voltage of the air conditioner. If the current and voltage of the air conditioner are both 0, it means that the air conditioner is in the off state. If the voltage of the air conditioner is greater than or equal to the preset value when the air conditioner is running, it means that the air conditioner is in the on state. Secondly, since the air conditioner and the terminal application can be connected to the same router at home, the network information of the air conditioner and the terminal application can be obtained from the router, and the connection status of the air conditioner and the terminal application can be determined according to the network information. For example, if the air conditioner and the terminal are connected to the same router IP, it is indicated that the air conditioner and the terminal are in a connection state.
Step S, when the air conditioner is in the on state, it is determined that the user has forgotten to turn off the air conditioner, and a prompt message is output or energy consumption of the air conditioner is reduced.
After it is determined that the user leaves home, if it is detected that the current operation state of the air conditioner is in the on state, it means that the user forgot to turn off the air conditioner after leaving home. At this time, the forget-to-shut-off control of the air conditioner is automatically executed. The forget-to-shut-off control includes but is not limited to outputting prompt message or reducing the energy consumption of the air conditioner. Reducing the energy consumption of the air conditioner includes but is not limited to adjusting the current operation mode of the air conditioner and performing a shutdown operation. In order to facilitate sending the prompt message to the user, the air conditioner is pre-associated with the mobile terminal, for example, associated with the air conditioner APP, WeChat, and the user's mobile phone number of the mobile terminal. When pushing prompt message, the information can be sent to the air conditioner APP or WeChat in the mobile terminal, and at the same time, the prompt message can also be sent in the form of short message service (SMS).
In an embodiment, in order to avoid the loss of the air conditioner and the waste of electricity, after the user leaves home, it is necessary to adjust the current operation mode of the air conditioner in time, the user has set the corresponding operation mode in the air conditioner in advance, such as sleep mode, energy-saving mode, economical mode, etc. When it is detected that the user is away from home and the air conditioner is turned on, the current operation mode is adjusted according to the preset operation mode. For example, if the current operation mode is cooling mode, the cooling operation mode is adjusted to the preset sleep mode, so that the air conditioner operates at low power, so as to achieve the effect of saving energy and electricity.
In an embodiment, when it is detected that the user is away from home and the air conditioner is turned on, the air conditioner is directly turned off.
In this embodiment, it is determined whether the user has left home based on the historical use data and current time of the air conditioner. After the user leaves home, if it is detected that the air conditioner is in the on state, it is determined that the user has forgotten to turn off the air conditioner, and the control of leaving home is performed. In this way, the accuracy of forgetting to turn off the air conditioner is improved.
Further, referring to, a second embodiment of the method for controlling the air conditioner of the present application is provided.
The method for controlling the air conditioner is applied to an air conditioner. The difference between the second embodiment of the method for controlling the air conditioner and the first embodiment is that after the step of detecting the current operation state of the air conditioner, the method further includes:
Step S, when the user's time of leaving home is greater than or equal to the first preset time, obtaining the operation duration of the air conditioner;
Step S, when the operation duration is greater than or equal to the second preset duration and the air conditioner is in the on state, it is determined that the user forgot to turn off the air conditioner, and the first preset duration is shorter than the second preset duration.
It should be noted that if the operation state of the air conditioner is detected immediately after the user leaves home, misdetermination may occur, because the user may forget to turn off the air conditioner after going out for a few minutes, and then return home to turn off the air conditioner again. Therefore, in order to improve the accuracy of determining that the air conditioner is forgotten to be turned off, it is necessary to detect the operation state of the air conditioner after the user leaves home for a duration of time (such as 1 hour).
In this embodiment, the user's time of leaving home is obtained based on the time duration of the user being away from home, and then the time difference between the current time and the time of leaving home is continuously detected during the operation of the air conditioner, and the time difference is the user's time duration away from home. If the time of leaving home reaches the preset first operation duration (such as 1 hour), at this time, the operation state of the air conditioner will be automatically detected, and the current operation duration of the air conditioner will be obtained. Therefore, the operation time duration of the air conditioner at the current time is longer than the time of leaving home, that is, the second preset time duration is longer than the first preset time duration. When the current operation duration of the air conditioner reaches the second preset time (such as 2 hours), and the operation state of the air conditioner is in the on state, it means that the user forgot to turn off the air conditioner after leaving home.
In this embodiment, it is determined that the user forgets to turn off the air conditioner after leaving home through the time duration that the user is away from home, the operation duration of the air conditioner, and the operation state. In this way, the accuracy of determining that the air conditioner is forgotten to turn off is improved.
Further, referring to, a third embodiment of the method for controlling the air conditioner of the present application is provided.
The method for controlling the air conditioner is applied to an air conditioner. The difference between the third embodiment of the method for controlling the air conditioner and the second embodiment is that before the step of detecting the current operation state of the air conditioner, the method includes:
Step S, obtaining the working time of the user according to the historical use data;
It should be noted that since each user's occupation is different, each user's working time will also be different, and the working time correspond to the user's time of leaving home, so it can be determined the time duration of the user being away from home based on the user's working time.
The working time of the user is obtained based on the historical use data of the air conditioner. In an embodiment, the historical unused data of the air conditioner is obtained according to the historical use time data of the air conditioner, and then, each fourth preset time duration (such as extracting the last 10 natural days within 30 natural days) for which historical unused data exists within the fifth preset time duration (such as the last 30 natural days) is obtained; the unused time duration in each fourth preset duration is determined based on the historical use data of each fourth preset duration. Finally, the fourth preset time duration overlapping the unused time duration is used as the working time. For example, the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days are obtained, and then working days (Monday to Friday) of the last 10 historical unused data from the 30 natural days (that is, the air conditioner is off and/or the air conditioner APP is disconnected) are extracted, in other words, the last 10 working days when the air conditioner is not used all day in the 30 natural days are extracted. Further the on/off time and/or connection time of the air conditioner APP on each working day are obtained, and the time duration when the air conditioner is not used in each working day based on the on/off time and/or the connection time of the air conditioner APP is determined, for example, the power-on time duration of the air conditioner is from 17:00 of today to 8:00 of the next day, and the non-use time duration of the air conditioner is from 8 am to 17:00. If in 10 working days, it is detected that the unused time duration of the previous 8 working days overlap, if the unused time duration is all from 8:00 am to 17:00 pm, it means that the user leaves home for work from 8:00 am to 17:00 pm. Therefore, the first 8 working days are taken as the user's working time.
Unknown
October 23, 2025
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.