WO2023005090A1 - Away-from-home determination method and apparatus, and computer-readable storage medium - Google Patents

Away-from-home determination method and apparatus, and computer-readable storage medium Download PDF

Info

Publication number
WO2023005090A1
WO2023005090A1 PCT/CN2021/135693 CN2021135693W WO2023005090A1 WO 2023005090 A1 WO2023005090 A1 WO 2023005090A1 CN 2021135693 W CN2021135693 W CN 2021135693W WO 2023005090 A1 WO2023005090 A1 WO 2023005090A1
Authority
WO
WIPO (PCT)
Prior art keywords
air conditioner
time
user
home
historical
Prior art date
Application number
PCT/CN2021/135693
Other languages
French (fr)
Chinese (zh)
Inventor
樊其锋
刘莹
Original Assignee
佛山市顺德区美的电子科技有限公司
广东美的制冷设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 佛山市顺德区美的电子科技有限公司, 广东美的制冷设备有限公司 filed Critical 佛山市顺德区美的电子科技有限公司
Publication of WO2023005090A1 publication Critical patent/WO2023005090A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/46Improving electric energy efficiency or saving
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof

Definitions

  • the present application relates to the technical field of air conditioners, and in particular to a method, device and computer-readable storage medium for judging leaving home.
  • the existing solution is to install a human body detection sensor on the air conditioner to detect whether there are people in the room. If there is no one, it is determined that the current user is away from home, and then the air conditioner is turned off. With this method, an additional sensor needs to be installed, resulting in an increase in cost. At the same time, because the sensor cannot adapt to the user's work and rest time, there will be misjudgment. Therefore, the accuracy rate of the existing home-leaving judgment method applied to the air conditioner is low.
  • the embodiments of the present application aim to solve the problem of low accuracy of the existing leaving-home judging methods applied to air conditioners by providing a method, device, and computer-readable storage medium for judging leaving home.
  • the present application provides a method for judging leaving home, the method comprising:
  • the current running state of the air conditioner is detected.
  • the time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes the At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
  • the running state is the first state
  • the first state includes a power-off state of the air conditioner and a disconnected state of the air conditioner and the terminal application.
  • the step of detecting the current operating state of the air conditioner before the step of detecting the current operating state of the air conditioner, it includes:
  • a time period of the user away from home during the working hours is determined according to historical usage data during the working hours of the user, and the time period of the user away from home does not overlap with the historical usage time and the historical connection time.
  • the step of obtaining the user's working time according to the historical usage data includes:
  • each second preset time period in which historical unused data exists within the first preset time period the historical unused data is determined according to the historical usage data, and the first preset time period includes a preset number of second preset duration;
  • the second preset time period in which the unused time periods overlap is taken as the working time.
  • the step of using the second preset duration overlapping the unused time period as the working time includes:
  • the target second preset duration overlapping the unused time period is taken as the working time.
  • the step of determining the user's time away from home during the working hours according to the user's historical usage data during the working hours includes:
  • the time period corresponding to the historical unused time and/or the historical unconnected time with the highest occurrence frequency is taken as the time period when the user is away from home.
  • the step of detecting the current operating state of the air conditioner it includes:
  • the operating state is the second state
  • the second state includes the power-on state of the air conditioner, and The disconnection state of the air conditioner and the terminal application.
  • the step of reducing the energy consumption of the air conditioner includes:
  • another aspect of the present application provides a device for judging leaving home.
  • the device includes a memory, a processor, and a program for judging leaving home that is stored in the memory and runs on the processor.
  • the processor executes the leaving-home judging program, the steps of the above-mentioned leaving-home judging method are realized.
  • another aspect of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a leaving-home judging program, and when the leaving-home judging program is executed by a processor, the above The steps of the method for judging leaving home.
  • This application proposes a method for judging leaving home.
  • the time period when the user is away from home is determined based on the historical usage data of the air conditioner.
  • the historical usage data includes At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application; when the operating state is the first state, it is determined that the user is away from home, the first state includes the shutdown state of the air conditioner, and the connection between the air conditioner and the terminal The app's disconnected state.
  • the present application judges whether the user leaves home according to the historical use time of the air conditioner, the historical connection time between the air conditioner and the terminal application, and the current time, thus improving the accuracy of the user's leaving home determination.
  • FIG. 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the solution of the embodiment of the present application;
  • FIG. 2 is a schematic flow chart of the first embodiment of the method for judging leaving home in the present application
  • FIG. 3 is a schematic flow chart before the step of detecting the current operating state of the air conditioner in the method for judging leaving home in the present application;
  • Fig. 4 is a schematic diagram of the operation flow of the method for judging leaving home in this application.
  • Fig. 5 is a schematic diagram of modules of the method for judging leaving home in the present application.
  • this application detects the current running state of the air conditioner when the current time is in the period when the user is away from home.
  • the time period when the user is away from home is determined according to the historical use data of the air conditioner.
  • At least one of the historical connection time between the air conditioner and the terminal application; when the operating state is the first state, it is determined that the user is away from home, and the first state includes the shutdown state of the air conditioner and the disconnection state of the air conditioner and the terminal application.
  • the present application judges whether the user leaves home according to the historical use time of the air conditioner, the historical connection time between the air conditioner and the terminal application, and the current time, thus improving the accuracy of the user's leaving home determination.
  • FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in the solution of the embodiment of the present application.
  • the terminal may include: a processor 1001 , such as a 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 (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • terminal structure 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 combine some components, or arrange different components.
  • 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 judging leaving home.
  • 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 (client); and
  • the processor 1001 It can be used to call the leaving home judging program in the memory 1005, and perform the following operations:
  • the current running state of the air conditioner is detected.
  • the time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes the At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
  • the running state is the first state
  • the first state includes a power-off state of the air conditioner and a disconnected state of the air conditioner and the terminal application.
  • FIG. 3 is a schematic flowchart of the first embodiment of the method for judging leaving home in the present application.
  • the embodiment of this application provides an embodiment of the method for judging leaving home. It should be noted that although the logic sequence is shown in the flowchart, in some cases, the sequence shown or described steps.
  • the method for judging leaving home is applied to an air conditioner, and the method includes the following steps:
  • Step S10 when the current time is in the time period when the user is away from home, detect the current operating state of the air conditioner.
  • the time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes At least one of the historical usage time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
  • the data storage module is used to store the historical use data of the air conditioner
  • the historical use data includes the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application At least one of, wherein, the historical use time may include the air conditioner's start-up time, turn-off time, start-stop time, use duration, and use time period, etc.
  • the historical connection time may include the connection time between the air conditioner and the terminal application (such as an air-conditioning APP) , disconnection time, connection duration, and connection time period, etc.
  • the historical usage data may also include: the operating 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, operating mode, etc.), the historical usage data reflects the operating characteristics of the air conditioner.
  • the operating 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.
  • the heat transfer parameters of the air conditioner including target temperature and humidity, operating mode, etc.
  • the air conditioner automatically obtains the historical use data of the air conditioner from the data storage module through the data acquisition module, then obtains the user's working time according to the historical use data, and finally determines the working time according to the historical use data of the user's working time. of the user’s time away from home.
  • the current operating state of the air conditioner is detected, and the operating state includes the on state and off state of the air conditioner, and the connection state and disconnection state of the air conditioner and the terminal application.
  • 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 off. 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 on. state.
  • 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 The air conditioner and the terminal are connected to the same router IP, indicating that the air conditioner and the terminal are in a connected state.
  • Step S20 when the operating state is the first state, it is determined that the user leaves home, and the first state includes the off state of the air conditioner, and the disconnected state of the air conditioner and the terminal application.
  • the current time is in the period when the user is away from home, and it is detected that the air conditioner is turned off, or the air conditioner is disconnected from the terminal application, or the air conditioner is powered off and the air conditioner is disconnected from the terminal application, then the user leave home. If it is detected that the air conditioner is turned on, and the air conditioner is disconnected from the terminal application, it means that the user leaves home, but forgets to turn off the air conditioner after leaving home. At this time, the home leaving control of the air conditioner is automatically executed. But not limited to outputting prompt information or reducing the energy consumption of the air conditioner, for example, sending reminder information to associated mobile terminals, adjusting the operating mode of the air conditioner, and performing shutdown operations, etc.
  • the air conditioner in order to facilitate sending reminder information to the user, is pre-associated with the mobile terminal, for example, associated with the mobile terminal's air conditioner APP, WeChat, and the user's mobile phone number.
  • the information can be sent to the air conditioner APP or WeChat in the mobile terminal, and at the same time, the reminder information can also be sent in the form of SMS.
  • the current operating mode of the air conditioner 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 operating mode of the air conditioner in time, wherein the user has set the corresponding operating mode in the air conditioner in advance, such as sleep mode , energy-saving mode, economical mode, etc.
  • the current operating mode is cooling mode
  • adjust the cooling operating mode 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.
  • the air conditioner 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.
  • the time period when the user is away from home is determined by the historical usage data of the air conditioner.
  • the terminal application is disconnected, indicating that the user is away from home. In this way, it is determined whether the user is away from home according to the historical switch record of the air conditioner, the connection record of the air conditioner APP, and the current time, which improves the accuracy of the determination of the user's departure from home and the user experience.
  • the method for judging leaving home is applied to an air conditioner.
  • the difference between the second embodiment of the method for judging leaving home and the first embodiment is that before the step of detecting the current operating state of the air conditioner, it includes:
  • Step S11 obtaining the working time of the user according to the historical usage data
  • each user's occupation is different, each user's working hours will also be different, and the working hours correspond to the user's time away from home, so it can be determined based on the user's working hours The time period when the user is away from home.
  • the historical unused data of the air conditioner is obtained according to the historical usage data of the air conditioner, and then, within the first preset time period (such as the last 30 natural day) There is each second preset period of historical unused data (for example, extracting the last 10 natural days from 30 natural days), and according to the historical usage data of each second preset period, determine the duration of each second preset period The unused period of time, and finally, the second preset duration overlapping the unused period of time is used as the working time, wherein the first preset duration includes a preset number of second durations, such as the unit of the first duration is month, the second If the unit of time is day, then a month includes many days.
  • the first preset duration includes a preset number of second durations, such as the unit of the first duration is month, the second If the unit of time is day, then a month includes many days.
  • the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days and then extract the last 10 historical unused data from the 30 natural days (that is, the air conditioner is off and/or the air conditioner APP Disconnected) working days (Monday to Friday), in other words, propose the last 10 working days when the air conditioner is not used all day in the 30 natural days.
  • the on/off time and/or the connection time of the air conditioner APP on each working day and determine the time period of the air conditioner not being used in each working day based on the on/off time and/or the connection time of the air conditioner APP, such as, the time period of the air conditioner
  • the power-on time period is from 17:00 pm to 8:00 pm the next day, and the unused time period of the air conditioner is from 8:00 am to 17:00 pm. If in 10 working days, it is detected that the unused time periods of the previous 8 working days overlap, if the unused time periods are 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, take the first 8 working days as the user's working hours.
  • the user's working time can also be determined by week, for example, obtain the on-off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then calculate the weekly Monday from the 30 natural days Extracted, for example, the extracted Monday has 4 days, namely the 5th, the 12th, the 19th and the 26th.
  • the switch-off time and/or air-conditioning APP connection time of each Monday respectively, and determine the time period when the air-conditioner is not used in each Monday based on the switch-off time and/or air-conditioning APP connection time, if the four Mondays are at 8 am If the air conditioner is not used during the period 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 period from 8:00 am to 17:00 pm, it means that Monday is not the user's work time. 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.
  • 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, obtain the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then extract the last 10 natural days with air conditioner usage records from the 30 natural days, and in the 10 natural days, get The air conditioner usage data in each time period of each natural day, based on the usage data to determine the user's working time, for example, if the unused time period of the first natural day in 10 natural days is from 8 o'clock to 15 o'clock, explain This time period is the user's working time; if the unused time period of the second natural day out of 10 natural days is from 19:00 to 23:00, it means that this time period is the user's working time.
  • the air conditioner is not used for a short period 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. During working hours, misjudgment 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 period to determine the working time of the user.
  • each target second preset duration whose unused time period is greater than or equal to the third preset duration is obtained, and then the target second preset duration whose unused time period overlaps is determined as the user's Working time, wherein, the second preset duration is longer than the third preset duration.
  • the second preset duration is longer than the third preset duration. For example, obtain the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then extract 10 natural days in which the unused time period of the air conditioner is greater than or equal to 2 hours from the 30 natural days. Obtain the unused time period of each natural day in the natural day, and use the unused time period with the same occurrence time (that is, overlapping) as the user's working time.
  • Step S12 according to the user's historical usage data during working hours, determine the user's away from home time period during the working hours, and the user's away from home time period does not overlap with the historical usage time and the historical connection time.
  • the historical usage data of the air conditioner during the working hours that is, the historical usage time and/or the historical connection time
  • the historical non-use time and/or historical non-connection time with the highest frequency during working hours are obtained according to the historical usage time and/or historical connection time during the working hours of the user, and then the historical non-connection time with the highest frequency Use the time and/or the time period corresponding to the historical unconnected time as the time period when the user leaves home.
  • 8:00 am to 17:00 pm is the time period when the air conditioner is not used, and the number of days that this time period occurs is 5 days, that is, this time period occurs every day, and the probability of occurrence is 100%, then Take 8:00 am to 17:00 pm as the time period for users to leave home.
  • 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 the time period for the user to leave home is determined during the working time, thus improving the accuracy of the determination of leaving home.
  • FIG. 4 is a schematic diagram of the operation flow of the judging method for leaving home in the present application.
  • the air conditioner automatically obtains the historical on/off records of the air conditioner from the data storage module through the data acquisition module. If the running state of the air conditioner is off, it is determined that the user may leave home. At this time, further obtain the connection record between the air conditioner and the terminal application (air conditioner APP), and determine the time period when the user leaves home according to the connection record between the air conditioner and the terminal application. If the current time is the time when the user leaves home, it is determined that the user may leave home . At this time, after determining that the user may leave home through the historical power-on/off record of the air conditioner, the connection record of the air conditioner APP, and the current time, the air conditioner is controlled to perform the leaving-home control.
  • FIG. 5 is a block diagram of the method for judging leaving home in the present application.
  • the air conditioner includes four modules, which are respectively a data acquisition module, a data storage module, a leaving-home determination module and a control module, wherein:
  • the data acquisition module is used to obtain the usage time data of the air conditioner, such as the start-up time, shutdown time, start-stop time, use duration, and use time period of the air conditioner, and is also used to obtain terminal applications from the router or the cloud (Air conditioner APP) and the connection information of the air conditioner, and store the collected data in the data storage module;
  • the usage time data of the air conditioner such as the start-up time, shutdown time, start-stop time, use duration, and use time period of the air conditioner
  • the data storage module is used to store historical on/off records of the air conditioner, including: startup time, shutdown time, use duration, etc.; at the same time, it also stores historical connection records between the air conditioner APP and the air conditioner, including: connection time, disconnection time, connection duration, etc.
  • the leaving home judging module is used to determine whether the air conditioner user leaves home according to the historical switch records of the air conditioner and the historical connection records between the air conditioner and the air conditioner APP;
  • the control module is used to perform corresponding control when it is judged that the user forgot to turn off the air conditioner when leaving home, including but not limited to push reminders, energy-saving mode, and turning off the air conditioner.
  • the present application also provides a device for judging leaving home.
  • the device includes a memory, a processor, and a program for judging leaving home that is stored in the memory and runs on the processor.
  • the device uses the historical usage data of the air conditioner to Determine the time period when the user is away from home. When the current time is determined to be the time period when the user is away from home, detect the running status of the air conditioner. If the air conditioner is turned off and/or the air conditioner and the terminal application are disconnected, it means that the user is away from home. Home. In this way, it is determined whether the user is away from home according to the historical switch record of the air conditioner, the connection record of the air conditioner APP, and the current time, which improves the accuracy of the determination of the user's departure from home and the user experience.
  • the present application also provides a computer-readable storage medium, on which a leaving-home judging program is stored, and when the leaving-home judging program is executed by a processor, the steps of the above-mentioned leaving-home judging method are realized. .
  • 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.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • 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 application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means 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.

Abstract

An away-from-home determination method and apparatus, and a computer-readable storage medium. The away-from-home determination method comprises: detecting the current operating state of an air conditioner when the current time is within a user away-from-home time period, wherein the user away-from-home time period is determined according to historical usage data of the air conditioner, and the historical usage data comprises at least one of a historical usage time of the air conditioner, and a historical connection time of the air conditioner and a terminal application; and when the operating state is a first state, determining that a user is away from home, wherein the first state comprises a turn-off state of the air conditioner, and a disconnection state of the air conditioner and the terminal application.

Description

离家判断方法、装置和计算机可读存储介质Method, device and computer-readable storage medium for judging leaving home
本申请要求于2021年7月30日申请的、申请号为202110879422.0的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of Chinese Patent Application No. 202110879422.0 filed on July 30, 2021, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及空调技术领域,尤其涉及一种离家判断方法、装置和计算机可读存储介质。The present application relates to the technical field of air conditioners, and in particular to a method, device and computer-readable storage medium for judging leaving home.
背景技术Background technique
目前,空调作为智能家居的一个重要组成部分,给人们的日常生活带来了诸多便利,提高了居住环境的舒适度。但是,很多用户离家后会忘记关闭空调,容易造成空调的损耗与电能的浪费。基于此问题,现有采用的解决方案是:在空调上安装人体检测传感器,用于检测房间内是否有人,没有人则判定当前用户离家,然后关闭空调。采用此方法,需要额外安装传感器,导致成本增加,同时,由于传感器不能适应用户的作息时间,会存在误判的情况。因此,现有的应用于空调器的离家判断方式的准确率较低。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 are people in the room. If there is no one, it is determined that the current user is away from home, and then the air conditioner is turned off. With this method, an additional sensor needs to be installed, resulting in an increase in cost. At the same time, because the sensor cannot adapt to the user's work and rest time, there will be misjudgment. Therefore, the accuracy rate of the existing home-leaving judgment method applied to the air conditioner is low.
技术问题technical problem
本申请实施例通过提供一种离家判断方法、装置和计算机可读存储介质,旨在解决现有的应用于空调器的离家判断方式的准确率较低的问题。The embodiments of the present application aim to solve the problem of low accuracy of the existing leaving-home judging methods applied to air conditioners by providing a method, device, and computer-readable storage medium for judging leaving home.
技术解决方案technical solution
为实现上述目的,本申请一方面提供一种离家判断方法,所述方法包括:In order to achieve the above purpose, on the one hand, the present application provides a method for judging leaving home, the method comprising:
在当前时间处于用户离家时间段时,检测所述空调器当前的运行状态,所述用户离家时间段是根据所述空调器的历史使用数据确定的,所述历史使用数据包括所述空调器的历史使用时间以及所述空调器与所述终端应用的历史连接时间中的至少一个;When the current time is in the time period when the user is away from home, the current running state of the air conditioner is detected. The time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes the At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
在所述运行状态为第一状态时,确定用户离家,所述第一状态包括所述空调器的关机状态,以及所述空调器与所述终端应用的断开状态。When the running state is the first state, it is determined that the user leaves home, and the first state includes a power-off state of the air conditioner and a disconnected state of the air conditioner and the terminal application.
在一实施例中,所述检测所述空调器当前的运行状态的步骤之前,包括:In one embodiment, before the step of detecting the current operating state of the air conditioner, it includes:
根据所述历史使用数据获取用户的工作时间;Obtain the working time of the user according to the historical usage data;
根据所述用户的工作时间内的历史使用数据确定所述工作时间内的用户离家时间段,所述用户离家时间段与所述历史使用时间以及所述历史连接时间不重叠。A time period of the user away from home during the working hours is determined according to historical usage data during the working hours of the user, and the time period of the user away from home does not overlap with the historical usage time and the historical connection time.
在一实施例中,所述根据所述历史使用数据获取用户的工作时间的步骤包括:In one embodiment, the step of obtaining the user's working time according to the historical usage data includes:
获取第一预设时长内存在历史未使用数据的各个第二预设时长,所述历史未使用数据是根据所述历史使用数据确定的,所述第一预设时长包括预设数量的第二预设时长;Obtaining each second preset time period in which historical unused data exists within the first preset time period, the historical unused data is determined according to the historical usage data, and the first preset time period includes a preset number of second preset duration;
根据每个所述第二预设时长的历史使用数据确定每个所述第二预设时长中的未使用时间段;determining an unused time period in each of the second preset durations according to historical usage data of each of the second preset durations;
将所述未使用时间段重叠的所述第二预设时长作为工作时间。The second preset time period in which the unused time periods overlap is taken as the working time.
在一实施例中,所述将所述未使用时间段重叠的所述第二预设时长作为工作时间的步骤包括:In one embodiment, the step of using the second preset duration overlapping the unused time period as the working time includes:
获取所述未使用时间段大于或等于第三预设时长的各个目标第二预设时长,所述第三预设时长小于所述第二预设时长;Obtaining each target second preset duration for which the unused time period is greater than or equal to a third preset duration, and the third preset duration is less than the second preset duration;
将所述未使用时间段重叠的所述目标第二预设时长作为工作时间。The target second preset duration overlapping the unused time period is taken as the working time.
在一实施例中,所述根据所述用户的工作时间内的历史使用数据确定所述工作时间内的用户离家时间段的步骤包括:In one embodiment, the step of determining the user's time away from home during the working hours according to the user's historical usage data during the working hours includes:
根据所述用户的工作时间内的历史使用数据获取所述工作时间内出现频率最高的历史未使用时间和/或历史未连接时间;Obtain the historical unused time and/or historical unconnected time with the highest frequency during the working hours according to the historical usage data during the working hours of the user;
将出现频率最高的所述历史未使用时间和/或所述历史未连接时间对应的时间段作为所述用户离家时间段。The time period corresponding to the historical unused time and/or the historical unconnected time with the highest occurrence frequency is taken as the time period when the user is away from home.
在一实施例中,所述检测所述空调器当前的运行状态的步骤之后,包括:In one embodiment, after the step of detecting the current operating state of the air conditioner, it includes:
在所述运行状态为第二状态时,确定所述用户忘关闭所述空调器,输出提示信息或降低所述空调器的能耗,所述第二状态包括所述空调器的开机状态,以及所述空调器与所述终端应用的断开状态。When the operating state is the second state, it is determined that the user has forgotten to turn off the air conditioner, output prompt information or reduce the energy consumption of the air conditioner, the second state includes the power-on state of the air conditioner, and The disconnection state of the air conditioner and the terminal application.
在一实施例中,所述降低所述空调器的能耗的步骤包括:In one embodiment, the step of reducing the energy consumption of the air conditioner includes:
调节所述空调器当前的运行模式;adjusting the current operating mode of the air conditioner;
或者,执行关机操作。Alternatively, perform a shutdown operation.
此外,为实现上述目的,本申请另一方面还提供一种离家判断装置,所述装置包括存储器、处理器及存储在存储器上并在所述处理器上运行的离家判断程序,所述处理器执行所述离家判断程序时实现如上所述离家判断方法的步骤。In addition, in order to achieve the above object, another aspect of the present application provides a device for judging leaving home. The device includes a memory, a processor, and a program for judging leaving home that is stored in the memory and runs on the processor. When the processor executes the leaving-home judging program, the steps of the above-mentioned leaving-home judging method are realized.
此外,为实现上述目的,本申请另一方面还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有离家判断程序,所述离家判断程序被处理器执行时实现如上所述离家判断方法的步骤。In addition, in order to achieve the above object, another aspect of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a leaving-home judging program, and when the leaving-home judging program is executed by a processor, the above The steps of the method for judging leaving home.
有益效果Beneficial effect
本申请提出一种离家判断方法,通过在当前时间处于用户离家时间段时,检测空调器当前的运行状态,用户离家时间段是根据空调器的历史使用数据确定的,历史使用数据包括空调器的历史使用时间以及空调器与终端应用的历史连接时间中的至少一个;在运行状态为第一状态时,确定用户离家,第一状态包括空调器的关机状态,以及空调器与终端应用的断开状态。本申请通过根据空调器的历史使用时间、空调器与终端应用的历史连接时间以及当前时间判断用户是否离家,如此,提高了用户离家判定的准确性。This application proposes a method for judging leaving home. By detecting the current operating status of the air conditioner when the current time is in the time period when the user is away from home, the time period when the user is away from home is determined based on the historical usage data of the air conditioner. The historical usage data includes At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application; when the operating state is the first state, it is determined that the user is away from home, the first state includes the shutdown state of the air conditioner, and the connection between the air conditioner and the terminal The app's disconnected state. The present application judges whether the user leaves home according to the historical use time of the air conditioner, the historical connection time between the air conditioner and the terminal application, and the current time, thus improving the accuracy of the user's leaving home determination.
附图说明Description of drawings
图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图;FIG. 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the solution of the embodiment of the present application;
图2为本申请离家判断方法第一实施例的流程示意图;FIG. 2 is a schematic flow chart of the first embodiment of the method for judging leaving home in the present application;
图3为本申请离家判断方法中检测所述空调器当前的运行状态的步骤之前的流程示意图;3 is a schematic flow chart before the step of detecting the current operating state of the air conditioner in the method for judging leaving home in the present application;
图4为本申请离家判断方法的操作流程示意图;Fig. 4 is a schematic diagram of the operation flow of the method for judging leaving home in this application;
图5为本申请离家判断方法的模块示意图。Fig. 5 is a schematic diagram of modules of the method for judging leaving home in the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。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.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
为了更好的理解上述技术方案,下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。In order to better understand the above-mentioned technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure 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 disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
由于传感器不能适应用户的作息时间,会存在误判的情况。因此,现有的应用于空调器的离家判断方式的准确率较低。而本申请在当前时间处于用户离家时间段时,检测空调器当前的运行状态,用户离家时间段是根据空调器的历史使用数据确定的,历史使用数据包括空调器的历史使用时间以及空调器与终端应用的历史连接时间中的至少一个;在运行状态为第一状态时,确定用户离家,第一状态包括空调器的关机状态,以及空调器与终端应用的断开状态。本申请通过根据空调器的历史使用时间、空调器与终端应用的历史连接时间以及当前时间判断用户是否离家,如此,提高了用户离家判定的准确性。Since the sensor cannot adapt to the user's work and rest time, there may be misjudgment. Therefore, the accuracy rate of the existing home-leaving judgment method applied to the air conditioner is low. However, this application detects the current running state of the air conditioner when the current time is in the period when the user is away from home. The time period when the user is away from home is determined according to the historical use data of the air conditioner. At least one of the historical connection time between the air conditioner and the terminal application; when the operating state is the first state, it is determined that the user is away from home, and the first state includes the shutdown state of the air conditioner and the disconnection state of the air conditioner and the terminal application. The present application judges whether the user leaves home according to the historical use time of the air conditioner, the historical connection time between the air conditioner and the terminal application, and the current time, thus improving the accuracy of the user's leaving home determination.
如图1所示,图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in the solution of the embodiment of the present application.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the terminal may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (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 WI-FI interface). The memory 1005 can be a high-speed 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 .
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure 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 combine some components, or arrange different components.
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及离家判断程序。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 judging leaving home.
在图1所示的终端中,网络接口1004主要用于与后台服务器进行数据通信;用户接口1003主要用于与客户端(用户端)进行数据通信;而在终端为空调器时,处理器1001可以用于调用存储器1005中离家判断程序,并执行以下操作:In the terminal shown in Figure 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 (client); and when the terminal is an air conditioner, the processor 1001 It can be used to call the leaving home judging program in the memory 1005, and perform the following operations:
在当前时间处于用户离家时间段时,检测所述空调器当前的运行状态,所述用户离家时间段是根据所述空调器的历史使用数据确定的,所述历史使用数据包括所述空调器的历史使用时间以及所述空调器与所述终端应用的历史连接时间中的至少一个;When the current time is in the time period when the user is away from home, the current running state of the air conditioner is detected. The time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes the At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
在所述运行状态为第一状态时,确定用户离家,所述第一状态包括所述空调器的关机状态,以及所述空调器与所述终端应用的断开状态。When the running state is the first state, it is determined that the user leaves home, and the first state includes a power-off state of the air conditioner and a disconnected state of the air conditioner and the terminal application.
参考图3,图3为本申请离家判断方法第一实施例的流程示意图。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of the first embodiment of the method for judging leaving home in the present application.
本申请实施例提供了离家判断方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiment of this application provides an embodiment of the method for judging leaving home. It should be noted that although the logic sequence is shown in the flowchart, in some cases, the sequence shown or described steps.
离家判断方法应用于空调器,所述方法包括以下步骤:The method for judging leaving home is applied to an air conditioner, and the method includes the following steps:
步骤S10,在当前时间处于用户离家时间段时,检测所述空调器当前的运行状态,所述用户离家时间段是根据所述空调器的历史使用数据确定的,所述历史使用数据包括所述空调器的历史使用时间以及所述空调器与所述终端应用的历史连接时间中的至少一个;Step S10, when the current time is in the time period when the user is away from home, detect the current operating state of the air conditioner. The time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes At least one of the historical usage time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
需要说明的是,空调器中设有数据存储模块,该数据存储模块用于存储空调器的历史使用数据,该历史使用数据包括空调器的历史使用时间以及空调器与终端应用的历史连接时间中的至少一个,其中,历史使用时间可以包括空调器的开机时间、关机时间、启停时刻、使用时长以及使用时间段等;历史连接时间可以包括空调器与终端应用(如空调APP)的连接时间、断开时间、连接时长以及连接时间段等。在一实施例中,历史使用数据的还可以包括:空调器的运行环境数据(包括室内外的环境温度、环境湿度等)、空调器的送风参数(包括送风角度、送风强度等)、空调器的负荷功率(包括压缩机频率、风机转速等)、以及空调器的换热参数(包括目标温湿度、运行模式等),该历史使用数据反映了空调器的运行特征。It should be noted that there is a data storage module in the air conditioner, and the data storage module is used to store the historical use data of the air conditioner, the historical use data includes the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application At least one of, wherein, the historical use time may include the air conditioner's start-up time, turn-off time, start-stop time, use duration, and use time period, etc.; the historical connection time may include the connection time between the air conditioner and the terminal application (such as an air-conditioning APP) , disconnection time, connection duration, and connection time period, etc. In an embodiment, the historical usage data may also include: the operating 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, operating mode, etc.), the historical usage data reflects the operating characteristics of the air conditioner.
在本实施例中,如果用户预先在空调器中设置了默认开启离家判定功能,或者,在空调器开机运行的过程中,用户通过遥控器或者空调APP开启了离家判定功能。此时,空调器的通过数据采集模块自动从数据存储模块中获取空调器的历史使用数据,然后根据历史使用数据获取用户的工作时间,最后根据用户的工作时间内的历史使用数据确定工作时间内的用户离家时间段。In this embodiment, if the user pre-sets the leaving home judgment function to be enabled by default in the air conditioner, or, during the start-up of the air conditioner, the user turns on the leaving home judgment function through the remote control or the air conditioner APP. At this time, the air conditioner automatically obtains the historical use data of the air conditioner from the data storage module through the data acquisition module, then obtains the user's working time according to the historical use data, and finally determines the working time according to the historical use data of the user's working time. of the user’s time away from home.
在当前时间处于用户离家时间段时,检测空调器当前的运行状态,该运行状态包括空调器的开机状态和关机状态,以及空调器与终端应用的连接状态和断开状态。例如,通过传感器检测空调器的电流电压,如果空调器的电流电压均为0,说明空调器处于关机状态,如果空调器的电压大于或等于空调器运行时的预设值,说明空调器处于开机状态。其次,由于空调器与终端应用可连接到家中的同一个路由器,如此,可从路由器中获取空调器与终端应用的网络信息,根据网络信息确定空调器与终端使用的连接状态,例如,如果空调器与终端连接至同一个路由器IP,说明空调器与终端使用处于连接状态。When the current time is in the period when the user is away from home, the current operating state of the air conditioner is detected, and the operating state includes the on state and off state of the air conditioner, and the connection state and disconnection state of 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 off. 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 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 The air conditioner and the terminal are connected to the same router IP, indicating that the air conditioner and the terminal are in a connected state.
步骤S20,在所述运行状态为第一状态时,确定用户离家,所述第一状态包括所述空调器的关机状态,以及所述空调器与所述终端应用的断开状态。Step S20, when the operating state is the first state, it is determined that the user leaves home, and the first state includes the off state of the air conditioner, and the disconnected state of the air conditioner and the terminal application.
如果当前时间处于用户离家时间段,同时检测到空调器处于关机状态,或者空调器与终端应用处于断开状态,或者空调器处于关机状态且空调器与终端应用处于断开状态,则说明用户离家。如果检测到空调器处于开机状态,且空调器与终端应用处于断开状态,说明用户离家,但是离家后忘记关闭空调器,此时,自动执行空调器的离家控制,离家控制包括但不限于输出提示信息或降低空调器的能耗,例如,向关联的移动终端发送提醒信息、调节空调器的运行模式以及执行关机操作等。一实施例中,为方便向用户发送提醒信息,空调器预先与移动终端关联,例如,关联移动终端的空调APP、微信以及用户的手机号码等。在推送提醒信息时,可将信息发送至移动终端中的空调APP或微信中,同时,还可以以短信的方式发送提醒信息。If the current time is in the period when the user is away from home, and it is detected that the air conditioner is turned off, or the air conditioner is disconnected from the terminal application, or the air conditioner is powered off and the air conditioner is disconnected from the terminal application, then the user leave home. If it is detected that the air conditioner is turned on, and the air conditioner is disconnected from the terminal application, it means that the user leaves home, but forgets to turn off the air conditioner after leaving home. At this time, the home leaving control of the air conditioner is automatically executed. But not limited to outputting prompt information or reducing the energy consumption of the air conditioner, for example, sending reminder information to associated mobile terminals, adjusting the operating mode of the air conditioner, and performing shutdown operations, etc. In one embodiment, in order to facilitate sending reminder information to the user, the air conditioner is pre-associated with the mobile terminal, for example, associated with the mobile terminal's air conditioner APP, WeChat, and the user's mobile phone number. When pushing reminder information, the information can be sent to the air conditioner APP or WeChat in the mobile terminal, and at the same time, the reminder information can also be sent in the form of SMS.
一实施例中,为避免空调的损耗和电量的浪费,用户离家后,需要及时调节空调器当前的运行模式,其中,用户预先在空调器中设置了离家对应的运行模式,如睡眠模式、节能模式、经济模式等。在检测到用户离家,且空调器处于开机状态时,按照预设置的运行模式调节当前的运行模式,例如,如果当前的运行模式为制冷模式,则将制冷运行模式调节为预设置的睡眠模式,以使空调器处于低功率运行,从而达到节能节电的效果。In one 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 operating mode of the air conditioner in time, wherein the user has set the corresponding operating 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, adjust the current operating mode according to the preset operating mode. For example, if the current operating mode is cooling mode, adjust the cooling operating mode 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 one 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.
本实施例通过空调器的历史使用数据确定用户的用户离家时间段,在确定当前时间处于用户离家时间段时,检测空调器的运行状态,如果空调器处于关机状态和/或空调器与终端应用处于断开状态,说明用户离家。如此,根据空调器的历史开关机记录、空调APP连接记录以及当前时间,判定用户是否离家,提高了用户离家判定的准确性以及用户体验。In this embodiment, the time period when the user is away from home is determined by the historical usage data of the air conditioner. The terminal application is disconnected, indicating that the user is away from home. In this way, it is determined whether the user is away from home according to the historical switch record of the air conditioner, the connection record of the air conditioner APP, and the current time, which improves the accuracy of the determination of the user's departure from home and the user experience.
进一步地,参考图3,提出本申请离家判断方法第二实施例。Further, with reference to FIG. 3 , a second embodiment of the method for judging leaving home of the present application is proposed.
离家判断方法应用于空调器,所述离家判断方法第二实施例与第一实施例的区别在于,所述检测所述空调器当前的运行状态的步骤之前,包括:The method for judging leaving home is applied to an air conditioner. The difference between the second embodiment of the method for judging leaving home and the first embodiment is that before the step of detecting the current operating state of the air conditioner, it includes:
步骤S11,根据所述历史使用数据获取用户的工作时间;Step S11, obtaining the working time of the user according to the historical usage data;
需要说明的是,由于每个用户的职业有所差别,因此,每个用户的工作时间也会有所差异,而工作时间与用户离家时间段相对应,因此,可以基于用户的工作时间确定用户离家时间段。It should be noted that since each user's occupation is different, each user's working hours will also be different, and the working hours correspond to the user's time away from home, so it can be determined based on the user's working hours The time period when the user is away from home.
基于空调器的历史使用数据获取用户的工作时间,一实施例中,根据空调器的历史使用时间数据获取空调器的历史未使用数据,然后,获取第一预设时长内(如最近30个自然日)存在历史未使用数据的各个第二预设时长(如在30个自然日提取最近10个自然日),根据每个第二预设时长的历史使用数据确定每个第二预设时长中的未使用时间段,最后,将未使用时间段重叠的第二预设时长作为工作时间,其中,第一预设时长包括预设数量的第二时长,如第一时长的单位为月,第二时长的单位为天,则一个月中包括很多天。例如,获取最近30个自然日空调器的开关机时间和/或空调APP连接时间,然后从30个自然日中提取最近10个存在历史未使用数据(即空调器处于关机状态和/或空调APP断开连接)的工作日(周一至周五),换句话说,在30个自然日中提出最近10个不是全天使用空调器的工作日。进一步获取每个工作日的开关机时间和/或空调APP连接时间,并基于该开关机时间和/或空调APP连接时间确定每个工作日中未使用空调器的时间段,如,空调器的开机时间段为下午17点至第二天8点,则空调器的未使用时间段为早上8点至下午17点。如果在10个工作日中,检测到前8个工作日未使用时间段重叠,如未使用时间段均为早上8点至下午17点,说明用户在早上8点至下午17点离家上班,因此,将前8个工作日作为用户的工作时间。Obtain the working time of the user based on the historical usage data of the air conditioner. In one embodiment, the historical unused data of the air conditioner is obtained according to the historical usage data of the air conditioner, and then, within the first preset time period (such as the last 30 natural day) There is each second preset period of historical unused data (for example, extracting the last 10 natural days from 30 natural days), and according to the historical usage data of each second preset period, determine the duration of each second preset period The unused period of time, and finally, the second preset duration overlapping the unused period of time is used as the working time, wherein the first preset duration includes a preset number of second durations, such as the unit of the first duration is month, the second If the unit of time is day, then a month includes many days. For example, get the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then extract the last 10 historical unused data from the 30 natural days (that is, the air conditioner is off and/or the air conditioner APP Disconnected) working days (Monday to Friday), in other words, propose the last 10 working days when the air conditioner is not used all day in the 30 natural days. Further obtain the on/off time and/or the connection time of the air conditioner APP on each working day, and determine the time period of the air conditioner not being used in each working day based on the on/off time and/or the connection time of the air conditioner APP, such as, the time period of the air conditioner The power-on time period is from 17:00 pm to 8:00 pm the next day, and the unused time period of the air conditioner is from 8:00 am to 17:00 pm. If in 10 working days, it is detected that the unused time periods of the previous 8 working days overlap, if the unused time periods are 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, take the first 8 working days as the user's working hours.
在一实施例中,还可以按星期确定用户的工作时间,例如,获取最近30个自然日空调器的开关机时间和/或空调APP连接时间,然后从30个自然日中将每周的周一提取出来,如提取到的周一有4天,分别为5号、12号、19号以及26号。分别获取每个周一的开关机时间和/或空调APP连接时间,并基于该开关机时间和/或空调APP连接时间确定每个周一中未使用空调器的时间段,如果四个周一在早上8点至下午17点这一时间段内均未使用空调,说明周一为用户的上班时间;如果只有一个周一在早上8点至下午17点这一时间段内未使用空调,说明周一不是用户的上班时间。基于此方法,可单独确定30个自然日内周一至周日是否为用户的工作时间。同时,该方法可以确定用户是否需要周末上班。In one embodiment, the user's working time can also be determined by week, for example, obtain the on-off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then calculate the weekly Monday from the 30 natural days Extracted, for example, the extracted Monday has 4 days, namely the 5th, the 12th, the 19th and the 26th. Obtain the switch-off time and/or air-conditioning APP connection time of each Monday respectively, and determine the time period when the air-conditioner is not used in each Monday based on the switch-off time and/or air-conditioning APP connection time, if the four Mondays are at 8 am If the air conditioner is not used during the period 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 period from 8:00 am to 17:00 pm, it means that Monday is not the user's work time. 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.
在一实施例中,对于做兼职的用户来说,同样可通过统计空调器的开关机时间和/或空调APP连接时间确定用户的工作时间。例如,获取最近30个自然日空调器的开关机时间和/或空调APP连接时间,然后从30个自然日中提取最近10个存在空调使用记录的自然日,并在10个自然日中,获取每个自然日的各个时间段的空调使用数据,基于该使用数据确定用户的工作时间,如,如果10个自然日中的第一个自然日的未使用时间段为8点至15点,说明该时间段为用户的工作时间;如果10个自然日中的第二个自然日的未使用时间段为19点至23点,说明该时间段为用户的工作时间。In one 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, obtain the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then extract the last 10 natural days with air conditioner usage records from the 30 natural days, and in the 10 natural days, get The air conditioner usage data in each time period of each natural day, based on the usage data to determine the user's working time, for example, if the unused time period of the first natural day in 10 natural days is from 8 o'clock to 15 o'clock, explain This time period is the user's working time; if the unused time period of the second natural day out of 10 natural days is from 19:00 to 23:00, it means that this time period is the user's working time.
需要说明的是,如果未使用空调的时间段较短,如15分钟,说明有可能是用户错误关闭空调导致的,或者是空调APP连接异常等,如果直接采用该未使用时间段统计分析用户的工作时间,有可能出现误判的情况,从而降低用户离家判定的准确性。因此,需要获取未使用时间段较长的自然日确定用户的工作时间。It should be noted that if the air conditioner is not used for a short period 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. During working hours, misjudgment 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 period to determine the working time of the user.
一实施例中,获取未使用时间段大于或等于第三预设时长(如2小时)的各个目标第二预设时长,然后将未使用时间段重叠的目标第二预设时长确定为用户的工作时间,其中,第二预设时长大于第三预设时长。例如,获取最近30个自然日空调器的开关机时间和/或空调APP连接时间,然后从30个自然日提取10个空调器的未使用时间段大于或等于2小时的自然日,在10个自然日中获取每个自然日的未使用时间段,将出现时间相同(即重叠)的未使用时间段作为用户的工作时间。In one embodiment, each target second preset duration whose unused time period is greater than or equal to the third preset duration (such as 2 hours) is obtained, and then the target second preset duration whose unused time period overlaps is determined as the user's Working time, wherein, the second preset duration is longer than the third preset duration. For example, obtain the on/off time of the air conditioner and/or the connection time of the air conditioner APP in the last 30 natural days, and then extract 10 natural days in which the unused time period of the air conditioner is greater than or equal to 2 hours from the 30 natural days. Obtain the unused time period of each natural day in the natural day, and use the unused time period with the same occurrence time (that is, overlapping) as the user's working time.
步骤S12,根据所述用户的工作时间内的历史使用数据确定所述工作时间内的用户离家时间段,所述用户离家时间段与所述历史使用时间以及所述历史连接时间不重叠。Step S12, according to the user's historical usage data during working hours, determine the user's away from home time period during the working hours, and the user's away from home time period does not overlap with the historical usage time and the historical connection time.
在确定用户的工作时间后,获取工作时间内的空调器的历史使用数据(即历史使用时间和/或历史连接时间),并基于该历史使用数据确定工作时间内的用户离家时间段,其中,用户离家时间段与历史使用时间以及历史连接时间不重叠。在一实施例中,根据用户的工作时间内的历史使用时间和/或历史连接时间获取工作时间内出现频率最高的历史未使用时间和/或历史未连接时间,然后将出现频率最高的历史未使用时间和/或历史未连接时间对应的时间段作为用户离家时间段。例如,在周一至周期五中,早上8点至下午17点为未使用空调的时间段,该时间段出现的天数为5天,即该时间段在每天都出现,出现概率为100%,则将早上8点至下午17点作为用户离家时间段。After determining the user's working hours, obtain the historical usage data of the air conditioner during the working hours (that is, the historical usage time and/or the historical connection time), and determine the user's time away from home during the working hours based on the historical usage data, wherein , the time period when the user leaves home does not overlap with the historical usage time and historical connection time. In one embodiment, the historical non-use time and/or historical non-connection time with the highest frequency during working hours are obtained according to the historical usage time and/or historical connection time during the working hours of the user, and then the historical non-connection time with the highest frequency Use the time and/or the time period corresponding to the historical unconnected time as the time period when the user leaves home. For example, from Monday to Friday, 8:00 am to 17:00 pm is the time period when the air conditioner is not used, and the number of days that this time period occurs is 5 days, that is, this time period occurs every day, and the probability of occurrence is 100%, then Take 8:00 am to 17:00 pm as the time period for users to leave home.
本实施例通过根据空调器的开关机数据以及空调APP连接数据确定用户的工作时间,然后在工作时间中确定用户离家时间段,如此,提高了离家判定的准确性。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 the time period for the user to leave home is determined during the working time, thus improving the accuracy of the determination of leaving home.
为了更好地说明本申请的离家判断方法,参考图4,图4为本申请离家判断方法的操作流程示意图。In order to better illustrate the method for judging leaving home in the present application, refer to FIG. 4 , which is a schematic diagram of the operation flow of the judging method for leaving home in the present application.
在本实施例中,如果用户预先在空调器中设置了默认开启离家判定功能,或者,在空调器开机运行的过程中,用户通过遥控器或者空调APP开启了离家判定功能。此时,空调器的通过数据采集模块自动从数据存储模块中获取空调器的历史开关机记录,如果根据历史开关机记录确定当前时间为用户离家时间段时,检测空调器的运行状态,如果空调器的运行状态为关机状态,则判定用户有可能离家。此时,进一步获取空调器与终端应用(空调APP)的连接记录,根据空调器与终端应用的连接记录确定用户离家时间段,如果当前时间为用户离家时间,则判定用户有可能离家。此时,通过空调器的历史开关机记录、空调APP连接记录以及当前时间确定用户可能离家后,控制空调器执行离家控制。In this embodiment, if the user pre-sets the leaving home judgment function to be enabled by default in the air conditioner, or, during the start-up of the air conditioner, the user turns on the leaving home judgment function through the remote control or the air conditioner APP. At this time, the air conditioner automatically obtains the historical on/off records of the air conditioner from the data storage module through the data acquisition module. If the running state of the air conditioner is off, it is determined that the user may leave home. At this time, further obtain the connection record between the air conditioner and the terminal application (air conditioner APP), and determine the time period when the user leaves home according to the connection record between the air conditioner and the terminal application. If the current time is the time when the user leaves home, it is determined that the user may leave home . At this time, after determining that the user may leave home through the historical power-on/off record of the air conditioner, the connection record of the air conditioner APP, and the current time, the air conditioner is controlled to perform the leaving-home control.
本实施例通过根据空调器的历史开关机记录、空调APP连接记录以及当前时间,判定用户是否离家,提高了用户离家判定的准确性以及用户体验。In this embodiment, it is determined whether the user is away from home according to the historical switch record of the air conditioner, the connection record of the air conditioner APP, and the current time, which improves the accuracy of the determination of the user leaving home and the user experience.
进一步地,参考图5,图5为本申请离家判断方法的模块示意图。Further, refer to FIG. 5 , which is a block diagram of the method for judging leaving home in the present application.
在本实施例中,空调器包括四个模块,分别为数据采集模块、数据存储模块、离家判定模块以及控制模块,其中:In this embodiment, the air conditioner includes four modules, which are respectively a data acquisition module, a data storage module, a leaving-home determination module and a control module, wherein:
所述数据采集模块,用于获取空调器的使用时间数据,如空调器的开机时间、关机时间、启停时刻、使用时长以及使用时间段等,同时,还用于从路由器或者云端获取终端应用(空调APP)与空调器的连接信息,并将采集到数据存储至数据存储模块;The data acquisition module is used to obtain the usage time data of the air conditioner, such as the start-up time, shutdown time, start-stop time, use duration, and use time period of the air conditioner, and is also used to obtain terminal applications from the router or the cloud (Air conditioner APP) and the connection information of the air conditioner, and store the collected data in the data storage module;
所述数据存储模块,用于存储空调器的历史开关机记录,包括:开机时间、关机时间、使用时长等;同时,还存储空调APP与空调器的历史连接记录,包括:连接时间、断开时间、连接时长等。The data storage module is used to store historical on/off records of the air conditioner, including: startup time, shutdown time, use duration, etc.; at the same time, it also stores historical connection records between the air conditioner APP and the air conditioner, including: connection time, disconnection time, connection duration, etc.
所述离家判定模块,用于根据空调器的历史开关机记录和空调器与空调APP的历史连接记录,判定该空调用户是否离家;The leaving home judging module is used to determine whether the air conditioner user leaves home according to the historical switch records of the air conditioner and the historical connection records between the air conditioner and the air conditioner APP;
所述控制模块,用于在判断用户离家忘关闭空调器时,执行相应的控制,包括但不限于推送提醒、节能模式、关闭空调等。The control module is used to perform corresponding control when it is judged that the user forgot to turn off the air conditioner when leaving home, including but not limited to push reminders, energy-saving mode, and turning off the air conditioner.
此外,本申请还提供一种离家判断装置,所述装置包括存储器、处理器及存储在存储器上并在所述处理器上运行的离家判断程序,所述装置通过空调器的历史使用数据确定用户的用户离家时间段,在确定当前时间处于用户离家时间段时,检测空调器的运行状态,如果空调器处于关机状态和/或空调器与终端应用处于断开状态,说明用户离家。如此,根据空调器的历史开关机记录、空调APP连接记录以及当前时间,判定用户是否离家,提高了用户离家判定的准确性以及用户体验。In addition, the present application also provides a device for judging leaving home. The device includes a memory, a processor, and a program for judging leaving home that is stored in the memory and runs on the processor. The device uses the historical usage data of the air conditioner to Determine the time period when the user is away from home. When the current time is determined to be the time period when the user is away from home, detect the running status of the air conditioner. If the air conditioner is turned off and/or the air conditioner and the terminal application are disconnected, it means that the user is away from home. Home. In this way, it is determined whether the user is away from home according to the historical switch record of the air conditioner, the connection record of the air conditioner APP, and the current time, which improves the accuracy of the determination of the user's departure from home and the user experience.
此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有离家判断程序,所述离家判断程序被处理器执行时实现如上所述离家判断方法的步骤。In addition, the present application also provides a computer-readable storage medium, on which a leaving-home judging program is stored, and when the leaving-home judging program is executed by a processor, the steps of the above-mentioned leaving-home judging method are realized. .
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。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.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (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 equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。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, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本申请可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。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 application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means 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.
尽管已描述了本申请的可选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括可选实施例以及落入本申请范围的所有变更和修改。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 application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the 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.

Claims (9)

  1. 一种离家判断方法,其中,所述离家判断方法应用于空调器,所述方法包括:A method for judging leaving home, wherein the method for judging leaving home is applied to an air conditioner, and the method includes:
    在当前时间处于用户离家时间段时,检测所述空调器当前的运行状态,所述用户离家时间段是根据所述空调器的历史使用数据确定的,所述历史使用数据包括所述空调器的历史使用时间以及所述空调器与所述终端应用的历史连接时间中的至少一个;When the current time is in the time period when the user is away from home, the current running state of the air conditioner is detected. The time period when the user is away from home is determined according to the historical usage data of the air conditioner, and the historical usage data includes the At least one of the historical use time of the air conditioner and the historical connection time between the air conditioner and the terminal application;
    在所述运行状态为第一状态时,确定用户离家,所述第一状态包括所述空调器的关机状态,以及所述空调器与所述终端应用的断开状态。When the running state is the first state, it is determined that the user leaves home, and the first state includes a power-off state of the air conditioner and a disconnected state of the air conditioner and the terminal application.
  2. 如权利要求1所述的离家判断方法,其中,所述检测所述空调器当前的运行状态的步骤之前,包括:The method for judging leaving home according to claim 1, wherein, before the step of detecting the current operating state of the air conditioner, it comprises:
    根据所述历史使用数据获取用户的工作时间;Obtain the working time of the user according to the historical usage data;
    根据所述用户的工作时间内的历史使用数据确定所述工作时间内的用户离家时间段,所述用户离家时间段与所述历史使用时间以及所述历史连接时间不重叠。A time period of the user away from home during the working hours is determined according to historical usage data during the working hours of the user, and the time period of the user away from home does not overlap with the historical usage time and the historical connection time.
  3. 如权利要求2所述的离家判断方法,其中,所述根据所述历史使用数据获取用户的工作时间的步骤包括:The method for judging leaving home according to claim 2, wherein said step of obtaining the working time of the user according to the historical usage data comprises:
    获取第一预设时长内存在历史未使用数据的各个第二预设时长,所述历史未使用数据是根据所述历史使用数据确定的,所述第一预设时长包括预设数量的第二预设时长;Obtaining each second preset time period in which historical unused data exists within the first preset time period, the historical unused data is determined according to the historical usage data, and the first preset time period includes a preset number of second preset duration;
    根据每个所述第二预设时长的历史使用数据确定每个所述第二预设时长中的未使用时间段;determining an unused time period in each of the second preset durations according to historical usage data of each of the second preset durations;
    将所述未使用时间段重叠的所述第二预设时长作为工作时间。The second preset time period in which the unused time periods overlap is taken as the working time.
  4. 如权利要求3所述的离家判断方法,其中,所述将所述未使用时间段重叠的所述第二预设时长作为工作时间的步骤包括:The method for judging leaving home according to claim 3, wherein the step of using the second preset duration overlapping the unused time period as working time comprises:
    获取所述未使用时间段大于或等于第三预设时长的各个目标第二预设时长,所述第三预设时长小于所述第二预设时长;Obtaining each target second preset duration for which the unused time period is greater than or equal to a third preset duration, and the third preset duration is less than the second preset duration;
    将所述未使用时间段重叠的所述目标第二预设时长作为工作时间。The target second preset duration overlapping the unused time period is taken as the working time.
  5. 如权利要求2所述的离家判断方法,其中,所述根据所述用户的工作时间内的历史使用数据确定所述工作时间内的用户离家时间段的步骤包括:The method for judging leaving home according to claim 2, wherein the step of determining the time period of the user leaving home during the working hours according to the historical usage data during the working hours of the user comprises:
    根据所述用户的工作时间内的历史使用数据获取所述工作时间内出现频率最高的历史未使用时间和/或历史未连接时间;Obtain the historical unused time and/or historical unconnected time with the highest frequency during the working hours according to the historical usage data during the working hours of the user;
    将出现频率最高的所述历史未使用时间和/或所述历史未连接时间对应的时间段作为所述用户离家时间段。The time period corresponding to the historical unused time and/or the historical unconnected time with the highest occurrence frequency is taken as the time period when the user is away from home.
  6. 如权利要求1所述的离家判断方法,其中,所述检测所述空调器当前的运行状态的步骤之后,包括:The method for judging leaving home according to claim 1, wherein, after the step of detecting the current operating state of the air conditioner, comprising:
    在所述运行状态为第二状态时,确定所述用户忘关闭所述空调器,输出提示信息或降低所述空调器的能耗,所述第二状态包括所述空调器的开机状态,以及所述空调器与所述终端应用的断开状态。When the operating state is the second state, it is determined that the user has forgotten to turn off the air conditioner, output prompt information or reduce the energy consumption of the air conditioner, the second state includes the power-on state of the air conditioner, and The disconnection state of the air conditioner and the terminal application.
  7. 如权利要求6所述的离家判断方法,其中,所述降低所述空调器的能耗的步骤包括:The method for judging leaving home according to claim 6, wherein the step of reducing the energy consumption of the air conditioner comprises:
    调节所述空调器当前的运行模式;adjusting the current operating mode of the air conditioner;
    或者,执行关机操作。Alternatively, perform a shutdown operation.
  8. 一种离家判断装置,其中,所述装置包括存储器、处理器及存储在存储器上并在所述处理器上运行的离家判断程序,所述处理器执行所述离家判断程序时实现如权利要求1至7中任一项所述的方法的步骤。A device for judging leaving home, wherein the device includes a memory, a processor, and a judging program for leaving home stored on the memory and running on the processor, when the processor executes the judging program for leaving home, the following steps are implemented: The steps of the method as claimed in any one of claims 1 to 7.
  9. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有离家判断程序,所述离家判断程序被处理器执行时实现如权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium, wherein a leaving home judging program is stored on the computer readable storage medium, and when the leaving home judging program is executed by a processor, the method described in any one of claims 1 to 7 is realized. method steps.
PCT/CN2021/135693 2021-07-30 2021-12-06 Away-from-home determination method and apparatus, and computer-readable storage medium WO2023005090A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110879422.0 2021-07-30
CN202110879422.0A CN115682309A (en) 2021-07-30 2021-07-30 Departure judgment method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2023005090A1 true WO2023005090A1 (en) 2023-02-02

Family

ID=85060109

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135693 WO2023005090A1 (en) 2021-07-30 2021-12-06 Away-from-home determination method and apparatus, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115682309A (en)
WO (1) WO2023005090A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102914024A (en) * 2011-08-05 2013-02-06 珠海格力电器股份有限公司 Control method and control terminal of air conditioner
US20160006577A1 (en) * 2009-10-08 2016-01-07 Bringrr Systems, Llc Method and device to set household parameters based on the movement of items
CN105792237A (en) * 2014-12-26 2016-07-20 中国移动通信集团公司 Terminal state monitoring method and device
CN106411665A (en) * 2016-09-14 2017-02-15 深圳市丰巨泰科电子有限公司 Method for judging owner is at home in smart home
CN106440217A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Energy-saving control method and method for air conditioner as well as air conditioner
CN112013520A (en) * 2019-05-31 2020-12-01 广东美的制冷设备有限公司 Air conditioning equipment, automatic control method thereof and terminal control equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006577A1 (en) * 2009-10-08 2016-01-07 Bringrr Systems, Llc Method and device to set household parameters based on the movement of items
CN102914024A (en) * 2011-08-05 2013-02-06 珠海格力电器股份有限公司 Control method and control terminal of air conditioner
CN105792237A (en) * 2014-12-26 2016-07-20 中国移动通信集团公司 Terminal state monitoring method and device
CN106411665A (en) * 2016-09-14 2017-02-15 深圳市丰巨泰科电子有限公司 Method for judging owner is at home in smart home
CN106440217A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Energy-saving control method and method for air conditioner as well as air conditioner
CN112013520A (en) * 2019-05-31 2020-12-01 广东美的制冷设备有限公司 Air conditioning equipment, automatic control method thereof and terminal control equipment

Also Published As

Publication number Publication date
CN115682309A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN107702282B (en) Communication method and device of multi-split air conditioning system and computer readable storage medium
US20180231259A1 (en) Intelligent hvac control including automatic furnace shutdown event processing
CN201773334U (en) Digital forced energy-saving temperature controller
WO2021073400A1 (en) Air conditioner control method and apparatus, device, and storage medium
CN104748292A (en) Air conditioner and control method thereof and mobile terminal for air conditioner
JP2015100266A (en) Electric apparatus control device, electric apparatus control method and program
CN102447960A (en) Intelligent showdown control method and system applicable to set top box
WO2016155552A1 (en) Information pushing method and apparatus based on smart home system
CN111965991A (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
US20150212532A1 (en) Control system capable of changing the state of an electrical appliance according to exceptional conditions
CN110296514B (en) Intelligent control method and device for air conditioner and air conditioner
WO2014128901A1 (en) Power source control guidance device, power source control guidance method, and power source control guidance program
CN112105041A (en) Control method and device for environment adjusting equipment powered by battery and terminal
CN111023523A (en) Air conditioner control method and device, air conditioner and storage medium
CN107270475B (en) Autonomous dormancy control method and device for outdoor unit of air conditioner
CN108616906A (en) A kind of LTE base station power-economizing method and device
WO2023005090A1 (en) Away-from-home determination method and apparatus, and computer-readable storage medium
WO2023005093A1 (en) Control method and apparatus for air conditioner, and computer readable storage medium
CN108844198B (en) Control method of air conditioner operation mode and air conditioner
CN113883650B (en) Air conditioner control method and device, storage medium and air conditioner
CN114623574A (en) Control method and processing equipment of portable temperature adjusting equipment
CN111288613B (en) Air conditioner state monitoring method and device
CN109764475B (en) Air treatment equipment, control method and device thereof, and computer readable storage medium
CN112639367B (en) Air conditioner control device and air conditioner control system
US20200336324A1 (en) Network system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21951662

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE