Method and device for controlling air conditioner, and computer-readable storage medium

By employing historical air conditioner usage data to determine user absence and detect if the air conditioner is left on, the method addresses inaccuracies in existing systems, improving user experience and energy efficiency.

US20250327592A1Pending Publication Date: 2025-10-23FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US18/292035
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2021-07-30
Filing Date
2021-12-07
Publication Date
2025-10-23

AI Technical Summary

Technical Problem

Existing air conditioner control methods using human body detection sensors are costly and inaccurate, leading to misjudgments in determining whether the user has forgotten to turn off the air conditioner, thus reducing user experience and energy efficiency.

Method used

A method and device that utilize historical use data of the air conditioner, including operation and connection times, to determine when a user is away from home and detect if the air conditioner is left on, prompting the user or reducing energy consumption accordingly.

Benefits of technology

Improves the accuracy of determining whether the air conditioner has been forgotten to turn off by using historical data to make informed decisions, enhancing user experience and energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20250327592A1-D00000_ABST
    Figure US20250327592A1-D00000_ABST
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] 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.TECHNICAL FIELD

[0002] 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.BACKGROUND

[0003] 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.TECHNICAL PROBLEM

[0004] 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.TECHNICAL SOLUTION

[0005] 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:

[0006] 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 the air conditioner; the time duration of the user being away from home is determined according to historical use data of the air conditioner, and 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; and

[0007] in response to that the air conditioner is in an on state, determining that the user forgot to turn off the air conditioner, outputting a prompt message, or reducing an energy consumption of the air conditioner.

[0008] In an embodiment, after the detecting the current operation state of the air conditioner, the method further includes:

[0009] 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; and

[0010] 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 is shorter than the second preset duration.

[0011] In an embodiment, before the obtaining the operation duration of the air conditioner, the method further includes:

[0012] obtaining the user's time of leaving home according to the time duration of the user being away from home; and

[0013] obtaining a time difference between the current time and the time of leaving home to obtain the time duration of the user being away from home.

[0014] In an embodiment, the reducing the energy consumption of the air conditioner includes:

[0015] adjusting a current operation mode of the air conditioner; or

[0016] performing a shutdown operation.

[0017] In an embodiment, before the detecting the current operation state of the air conditioner, the method further includes:

[0018] obtaining a working time of the user according to the historical use data; and

[0019] 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 does not overlap with the historical use time and the historical connection time.

[0020] In an embodiment, the obtaining the working time of the user according to the historical use data includes:

[0021] obtaining each fourth preset duration of historical unused data within a third preset duration; the historical unused data is determined according to the historical use data, and the third preset duration is divided into a preset number of fourth preset duration;

[0022] determining an unused time duration in each of the fourth preset duration according to the historical use data of each of the fourth preset duration; and

[0023] configuring the fourth preset duration overlapping the unused time duration as the working time.

[0024] In an embodiment, the configuring the fourth preset duration overlapping the unused time duration as the working time includes:

[0025] obtaining each target fourth preset duration with the unused time duration greater than or equal to a fifth preset duration; the fifth preset duration is shorter than the fourth preset duration; and

[0026] configuring the target fourth preset duration overlapping the unused time duration as the working time.

[0027] 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:

[0028] 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

[0029] 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.

[0030] 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.

[0031] 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.BENEFICIAL EFFECT

[0032] 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.BRIEF DESCRIPTION OF THE DRAWINGS

[0033] FIG. 1 is a schematic structural diagram of a terminal related to a hardware operation environment according to an embodiment of the present application.

[0034] FIG. 2 is a schematic flowchart of a method for controlling an air conditioner according to a first embodiment of the present application.

[0035] FIG. 3 is a schematic flowchart of the method for controlling the air conditioner according to a second embodiment of the present application.

[0036] FIG. 4 is a schematic flowchart before the step of detecting the current operation state of the air conditioner in the method for controlling the air conditioner according to the present application.

[0037] FIG. 5 is a schematic flowchart of an operation of the method for controlling the air conditioner according to the present application.

[0038] FIG. 6 is a block diagram of the method for controlling the air conditioner according to the present application.

[0039] 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.DETAILED DESCRIPTION OF THE EMBODIMENTS

[0040] 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.

[0041] 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.

[0042] 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.

[0043] As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal related to a hardware operation environment according to an embodiment of the present application.

[0044] As shown in FIG. 1, the terminal may include: a processor 1001, such as a central processing unit (CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen, an input unit such as a keyboard, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0045] Those skilled in the art can understand that the structure of the terminal shown in FIG. 1 does 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.

[0046] As shown in FIG. 1, the memory 1005 as 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.

[0047] In the terminal shown in FIG. 1, the network interface 1004 is mainly used for data communication with the background server; the user interface 1003 is mainly used for data communication with the client terminal (user terminal); and when the terminal is an air conditioner, the processor 1001 can be used to call the program for controlling the air conditioner in the memory 1005, and perform the following operations:

[0048] 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;

[0049] 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.

[0050] Referring to FIG. 3, FIG. 3 is a schematic flowchart of the method for controlling the air conditioner according to a first embodiment of the present application.

[0051] 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.

[0052] The method for controlling the air conditioner includes:

[0053] Step S10, 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;

[0054] 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.

[0055] 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.

[0056] 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.

[0057] Step S20, 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.

[0058] 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).

[0059] 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.

[0060] 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.

[0061] 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.

[0062] Further, referring to FIG. 3, a second embodiment of the method for controlling the air conditioner of the present application is provided.

[0063] 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:

[0064] Step S21, 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;

[0065] Step S22, 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.

[0066] 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).

[0067] 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.

[0068] 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.

[0069] Further, referring to FIG. 4, a third embodiment of the method for controlling the air conditioner of the present application is provided.

[0070] 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:

[0071] Step S11, obtaining the working time of the user according to the historical use data;

[0072] 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.

[0073] 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.

[0074] In an embodiment, the user's working time can also be determined by week, 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 the weekly Monday from the 30 natural days is extracted, for example, the extracted Monday has 4 days, namely the 5th, the 12th, the 19th and the 26th. The on-off time and / or air conditioner APP connection time of each Monday is obtained respectively, and the time duration when the air-conditioner is not used in each Monday based on the on-off time and / or air-conditioning APP connection time is determined; if the air conditioner is not used in the four Mondays during the duration from 8:00 am to 17:00 pm, it means that Monday is the user's working time; if there is only one Monday that does not use the air conditioner during the time duration from 8:00 am to 17:00 pm, it means that Monday is not the user's working time. Based on this method, it can be independently determined whether Monday to Sunday is the user's working time within 30 natural days. At the same time, the method can determine whether the user needs to work on weekends.

[0075] In an embodiment, for a part-time user, the user's working time can also be determined by counting the on-off time of the air conditioner and / or the connection time of the air conditioner APP. 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 the last 10 natural days with air conditioner use records from the 30 natural days are extracted, and in the 10 natural days, the air conditioner use data in each time duration of each natural day is obtained, and based on the use data to determine the user's working time. For example, if the unused time duration of the first natural day in 10 natural days is from 8:00 to 15:00, this time duration is described as the user's working time; if the unused time duration of the second natural day out of 10 natural days is from 19:00 to 23:00, it means that this time duration is the user's working time.

[0076] It should be noted that if the air conditioner is not used for a short duration of time, such as 15 minutes, it may be caused by the user turning off the air conditioner by mistake, or the connection of the air conditioner APP is abnormal. If the unused time duration is directly used to statistically analyze the user's working time, misdetermination may occur, thereby reducing the accuracy of the user's decision to leave home. Therefore, it is necessary to obtain a natural day with a long unused time duration to determine the working time of the user.

[0077] In an embodiment, each target fourth preset duration with the unused time duration greater than or equal to the fifth preset duration (such as 2 hours) is obtained, and then the target fourth preset duration overlapped by the unused time duration is determined as the user's 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 10 natural days in which the unused time duration of the air conditioner is greater than or equal to 2 hours from the 30 natural days are extracted. The unused time duration of each natural day in the natural day is obtained, and the unused time duration with the same occurrence time (that is, overlapping) is used as the user's working time.

[0078] Step S12, according to the user's historical use data during working time, determining the time duration of the user being away from home during the working time, and the time duration of the user being away from home does not overlap with the historical use time and the historical connection time.

[0079] After determining the user's working time, the historical use data of the air conditioner during the working time is obtained (that is, the historical use time and / or the historical connection time), and the user's time duration away from home during the working time is determined based on the historical use data, the time duration of the user being away from home does not overlap with the historical use time and historical connection time. In an embodiment, the historical unused time and / or historical unconnected time with the highest frequency during working time are obtained according to the historical use time and / or historical connection time during the working time of the user, and then the time duration corresponding to the highest frequency historical unused time and / or historical unconnected time is used as the time duration of the user being away from home. For example, from Monday to Friday, 8:00 am to 17:00 pm is the time duration when the air conditioner is not used, and the number of days that this time duration occurs is 5 days, that is, this time duration occurs every day, and the probability of occurrence is 100%, and then 8:00 am to 17:00 pm is used as the time duration of the user being away from home.

[0080] In this embodiment, the working time of the user is determined according to the on / off data of the air conditioner and the connection data of the air conditioner APP, and then time duration of the user being away from home is determined during the working time, thus improving the accuracy of the determination of leaving home.

[0081] In order to better illustrate the method for controlling the air conditioner of the present application, referring to FIG. 5, which is a schematic diagram of the operation flow of the method for controlling the air conditioner of the present application.

[0082] 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 APP. At this time, the data acquisition module of the air conditioner automatically obtains the historical use records of the air conditioner from the storage module, for example, start-up time, shutdown time, start-stop time, use duration, and use time duration, etc., and then, it is determined that whether the user is an office worker according to the historical use record of the air conditioner. For example, the time duration of the user being away from home is determined according to the historical use records, and the user who leaves home during this time duration is determined as an office worker. After determining that the user is an office worker, the current operation state of the air conditioner is detected after the user leaves home for a duration of time (such as 1 hour). When the operation state of the air conditioner is in the on state and the operation time is greater than or equal to the preset time (such as 2 hours), it is determined that the user forgot to turn it off. At this time, the control against forgetting to turn off the air conditioner is executed. The control includes but is not limited to outputting prompt message or reducing the energy consumption of the air conditioner. However, 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.

[0083] 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.

[0084] Further, referring to FIG. 6, FIG. 6 is a block diagram of the control method of the air conditioner of the present application.

[0085] In this embodiment, the air conditioner includes five modules, which are respectively a storage module, a data acquisition module, an office worker determination module, a forgetting to turn off the power determination module, and a control module.

[0086] The storage module is used to store the user's historical air conditioner use records, including on / off, use time, use duration, etc.;

[0087] The data acquisition module is used to obtain use records from the air conditioner, and store the collected data in the storage module;

[0088] The office worker determination module is used to determine whether the air conditioner user is an office worker according to the historical air conditioner use records in the storage module;

[0089] The forgetting to turn off the power determination module is used to determine whether the air conditioner is forgotten to turn off according to the current operation state of the air conditioner, including on / off, use time, current duration, etc.;

[0090] The control module is used to execute the control operation against forgetting to turn off the air conditioner when it is determined that the user using the air conditioner is an office worker and forgets to turn it off, including but not limited to push prompt, energy-saving mode, and turning off the air conditioner.

[0091] Among them, the air conditioner is pre-associated with the terminal, for example, the air conditioner APP, WeChat, and the mobile phone number of the user, etc. When pushing the prompt message, the information can be sent to the air conditioner APP or WeChat in the terminal. A prompt message is sent in the form of a text message, the content of the prompt message can be “master, according to the shutdown time of your air conditioner in the past month, you may have forgotten to turn off the air conditioner today˜”.

[0092] In addition, the present application also provides a device for controlling an air conditioner, the device includes a memory, a processor, and a program for controlling an air conditioner stored in the memory and run on the processor; the device determines whether the user is away from home through the historical use data and the 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 executed. In this way, the accuracy of forgetting to turn off the air conditioner is improved.

[0093] In addition, the present application also provides a computer-readable storage medium, the computer-readable storage medium stores the program for controlling the air conditioner, and when the program for controlling the air conditioner is executed by the processor, the steps of the method for controlling the air conditioner as described above is realized.

[0094] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

[0095] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and / or block in the flowchart and / or block diagram, and combinations of procedures and / or blocks in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the functions specified in one or more steps of the flowchart and / or one or more blocks of the block diagram.

[0096] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacturing article including instruction device. The instruction device realizes the function specified in one or more procedures of the flowchart and / or one or more blocks of the block diagram.

[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process. Thus, the instructions executed on a computer or other programmable device provide steps for implementing the functions specified in the process or processes of the flow diagrams and / or the block or blocks of the block diagrams.

[0098] It should be noted that, in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” does not exclude the presence of elements or steps not listed in a claim. The word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented by means of hardware including several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several devices, several of these devices can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

[0099] While alternative embodiments of the present application have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be interpreted to cover alternative embodiments and all changes and modifications that fall within the scope of the present application.

[0100] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Examples

first embodiment

[0050]Referring to FIG. 3, FIG. 3 is a schematic flowchart of the method for controlling the air conditioner according to the present application.

[0051]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.

[0052]The method for controlling the air conditioner includes:

[0053]Step S10, 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;

[0054]It should be noted that a st...

second embodiment

[0062]Further, referring to FIG. 3, the method for controlling the air conditioner of the present application is provided.

[0063]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:

[0064]Step S21, 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;

[0065]Step S22, 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.

[0066]It should be noted that if the operation state of the air conditioner is detected immediately after...

third embodiment

[0069]Further, referring to FIG. 4, the method for controlling the air conditioner of the present application is provided.

[0070]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:

[0071]Step S11, obtaining the working time of the user according to the historical use data;

[0072]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.

[0073]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 condition...

Claims

1. -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; andin response to that the air conditioner is in an on state:determining that the user forgot to turn off the air conditioner; andoutputting 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; andobtaining 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; orperforming 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; anddetermining 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; andconfiguring 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; andconfiguring 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; andconfiguring 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; anda 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; andin response to that the air conditioner is in an on state:determine that the user forgot to turn off the air conditioner; andoutput 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; andin 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; andobtain 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; orperform 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; anddetermine 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; andconfigure 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; andconfigure 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; andconfigure 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; andin response to that the air conditioner is in an on state:determine that the user forgot to turn off the air conditioner; andoutput 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; andin 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; andobtain 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; orperform a shutdown operation.