Methods and apparatus for controlling smart home appliances, electronic devices, storage media

By acquiring indoor lighting and occupant status, the system automatically controls smart home appliances, solving the problem of poor user experience caused by user-initiated operation in existing technologies and achieving seamless automatic control of smart home appliances.

CN119644770BActive Publication Date: 2026-03-10QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +3
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing smart home control methods require users to actively input voice commands or perform actions, resulting in a poor user experience.

Method used

By acquiring predicted indoor light intensity, actual indoor light intensity, and occupant status, the system automatically determines the smart home appliances to be controlled and their control commands, thereby enabling automatic operation of the smart home appliances.

Benefits of technology

It enhances the user experience of using smart home appliances, enabling smart home appliance control without requiring active user intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119644770B_ABST
    Figure CN119644770B_ABST
Patent Text Reader

Abstract

This application relates to the field of smart home technology and discloses a method for controlling smart home appliances, comprising: acquiring predicted indoor light intensity, actual indoor light intensity, and indoor occupant information; the indoor occupant information indicates whether the room is occupied or unoccupied; if the indoor occupant information indicates that the room is occupied, acquiring the occupant status; the occupant status indicates whether the occupant is asleep or active; determining the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, actual indoor light intensity, and occupant status; and controlling the smart home appliance according to the control command. This enables automatic operation of the smart home appliance, thereby improving the user experience of using smart home appliances. This application also discloses a device, electronic device, and storage medium for controlling smart home appliances.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, such as a method, apparatus, electronic device, and storage medium for controlling smart home appliances. Background Technology

[0002] With the development of the Internet, the Internet of Things (IoT), and artificial intelligence (AI) technologies, smart homes have been widely adopted, bringing great convenience to people's daily lives. Currently, most smart homes use audio devices or cameras as the main entry point for intelligent control, meaning users can input voice commands or perform related actions to control their smart home devices.

[0003] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:

[0004] The current methods of controlling smart homes require users to actively input voice commands or perform related actions, which is inconvenient and results in a poor user experience.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0007] This disclosure provides a method, apparatus, electronic device, and storage medium for controlling smart home appliances, enabling automatic operation of the smart home appliances.

[0008] In some embodiments, the method for controlling smart home appliances includes: acquiring predicted indoor light intensity, actual indoor light intensity, and indoor occupant information; the indoor occupant information is used to indicate whether the indoor space is occupied or unoccupied; if the indoor occupant information indicates that the indoor space is occupied, acquiring the occupant status; the occupant status is used to indicate whether the occupant is asleep or active; determining the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, actual indoor light intensity, and occupant status; and controlling the smart home appliance to be controlled according to the control command.

[0009] In some embodiments, obtaining the predicted indoor luminance includes: obtaining the outdoor luminance; inputting the outdoor luminance into a preset indoor luminance model to obtain the predicted indoor luminance.

[0010] In some embodiments, obtaining a person's status includes: obtaining the person's activity frequency and posture information over a first preset time period; determining the person's status as a sleep state when the activity frequency is less than or equal to a first preset threshold; and / or determining the person's status as an active state when the activity frequency is greater than the first preset threshold.

[0011] In some embodiments, the sleep state includes a long sleep state and a short sleep state. After determining that a person is in a sleep state, the method further includes: determining that the person is in a long sleep state if the current time is daytime; and / or determining that the person is in a short sleep state if the current time is nighttime.

[0012] In some embodiments, the sleep state includes a short sleep state. After determining that the person's state is a sleep state, the method further includes: obtaining the difference between the predicted indoor light intensity and the actual indoor light intensity; and determining that the person's state is a short sleep state when the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than a second preset threshold and the predicted indoor light intensity is greater than the actual light intensity.

[0013] In some embodiments, determining the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the personnel includes: obtaining the difference between the predicted indoor light intensity and the actual indoor light intensity; and determining that the smart home appliance to be controlled includes a smart curtain, and the control command corresponding to the smart curtain is to close, when the difference between the indoor light intensity and the actual indoor light intensity is less than a second preset threshold and the personnel are in a sleep state.

[0014] In some embodiments, after obtaining the predicted indoor light intensity, the actual indoor light intensity, and indoor occupant information, the method further includes: if the indoor occupant information indicates that no one is in the room, sending a device shutdown message to a preset user terminal.

[0015] In some embodiments, the device for controlling smart home appliances includes: a first acquisition module configured to acquire predicted indoor light intensity, actual indoor light intensity, and indoor occupant information; the occupant information indicating whether the room is occupied or unoccupied; a second acquisition module configured to acquire occupant status when the indoor occupant information indicates that the room is occupied; the occupant status indicating whether the room is in a sleep state or an active state; a determination module configured to determine the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, actual indoor light intensity, and occupant status; and a control module configured to control the smart home appliance to be controlled according to the control command.

[0016] In some embodiments, the electronic device includes a processor and a memory storing program instructions, the processor being configured to execute the method described above for controlling a smart home appliance when the program instructions are executed.

[0017] In some embodiments, the storage medium stores program instructions that, when executed, perform the method described above for controlling smart home appliances.

[0018] The method, apparatus, electronic device, and storage medium for controlling smart home appliances provided in this disclosure can achieve the following technical effects: by determining the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people, and controlling the smart home appliance to be controlled according to the control command, the smart home appliance to be controlled can be operated automatically, thereby improving the user's experience of using smart home appliances.

[0019] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:

[0021] Figure 1 This is a schematic diagram of a method for controlling smart home appliances provided in an embodiment of this disclosure;

[0022] Figure 2 This is a schematic diagram of a method for determining the status of personnel according to an embodiment of this disclosure;

[0023] Figure 3 This is a schematic diagram of another method for determining the status of personnel according to an embodiment of this disclosure;

[0024] Figure 4 This is a schematic diagram of another method for controlling smart home appliances provided in an embodiment of this disclosure;

[0025] Figure 5 This is a schematic diagram of a device for controlling smart home appliances provided in an embodiment of this disclosure;

[0026] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0027] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0029] Unless otherwise stated, the term "multiple" means two or more.

[0030] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0031] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0032] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.

[0033] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage smart home appliances.

[0034] In the disclosed embodiments, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances via the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.

[0035] Combination Figure 1 As shown, this disclosure provides a method for controlling smart home appliances, including:

[0036] In step S101, the electronic device acquires the predicted indoor luminance, the actual indoor luminance, and indoor occupant information. The indoor occupant information is used to indicate whether there are people or no one in the room.

[0037] In step S102, if the indoor occupant information indicates that someone is present indoors, the electronic device acquires the occupant's status. The occupant status is used to characterize either a sleep state or an active state.

[0038] In step S103, the electronic device determines the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people.

[0039] In step S104, the electronic device controls the smart home appliance to be controlled according to the control instructions.

[0040] The method for controlling smart home appliances provided in this disclosure determines the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people. The smart home appliance to be controlled is then controlled according to the control command, which enables automatic operation of the smart home appliance to be controlled, thereby improving the user experience of using smart home appliances.

[0041] Optionally, obtaining the predicted indoor luminance includes: obtaining the outdoor luminance. The outdoor luminance is input into a preset indoor luminance model to obtain the predicted indoor luminance. The outdoor luminance refers to the outdoor luminance of the area where the electronic device is located. The indoor luminance refers to the luminance of the room where the electronic device is located.

[0042] Optionally, obtaining outdoor light intensity includes: acquiring the current time, season information, location information of the electronic device, and the visibility corresponding to the location information. The current time, season information, location information of the electronic device, and the visibility corresponding to the location information are input into a preset outdoor light intensity model to obtain the outdoor light intensity.

[0043] In some embodiments, the current time is 12 noon. The season information is summer. The location information of the electronic device is Beijing, and the corresponding visibility is 25 kilometers. After inputting 12 noon, summer, Beijing, and the visibility of 25 kilometers into a preset outdoor light intensity model, the obtained outdoor light intensity is 100 lux to 1000 lux.

[0044] Furthermore, the outdoor light intensity model is obtained as follows: Multiple sample data points are acquired, including time, season, region, and the corresponding visibility for each region. Each sample data point is labeled with its corresponding outdoor light intensity. These sample data points are then input into a pre-defined neural network model for training to obtain the outdoor light intensity model.

[0045] Optionally, a photosensitive device is installed indoors to acquire the actual indoor light intensity, including: sending a brightness acquisition command to the photosensitive device indoors, triggering the photosensitive device to feed back the detected indoor light intensity.

[0046] Optionally, acquiring the personnel status includes: acquiring the personnel's activity frequency and posture information over a first preset time period. If the activity frequency is less than or equal to a first preset threshold, the personnel status is determined to be a sleep state. And / or, if the activity frequency is greater than the first preset threshold, the personnel status is determined to be an active state.

[0047] In some embodiments, the first preset time period is half an hour, and the activity frequency is, for example, 3 times per half hour. The first preset threshold is, for example, 6 times per half hour. If the activity frequency is less than the first preset threshold, the user's state is determined to be sleep. In some embodiments, changes in user location or limb movements can be considered as activities. By counting the number of user activities within the first preset time period, the user's activity frequency within the first preset time period can be obtained, thus facilitating the determination of whether the user is asleep. In some embodiments, limb movements include, for example, swiping a phone or turning over.

[0048] Optionally, sleep states include long sleep states and short sleep states. After determining that a person is in a sleep state, the method further includes: if the current time is daytime, determining that the person is in a long sleep state; and / or, if the current time is nighttime, determining that the person is in a short sleep state. In some embodiments, 00:00 to 08:00 and 20:00 to 24:00 are defined as nighttime. 08:00 to 20:00 are defined as daytime.

[0049] Combination Figure 2 As shown, this disclosure provides a method for determining the status of personnel, including:

[0050] In step S201, the electronic device acquires the predicted indoor luminance, the actual indoor luminance, and indoor occupant information. The indoor occupant information is used to indicate whether there are people or no one in the room.

[0051] In step S202, if the indoor personnel information indicates that there are people indoors, the electronic device acquires the activity frequency and posture information of the personnel during the first preset time period.

[0052] In step S203, if the activity frequency is less than or equal to a first preset threshold, the electronic device determines that the person is in a sleep state.

[0053] Step S204: The electronic device acquires the current time and determines whether it is daytime. If so, proceed to step S205. Otherwise, proceed to step S206.

[0054] Step S205: The electronic device determines that the person's state is a short sleep state.

[0055] Step S206: The electronic device determines that the person is in a long sleep state.

[0056] The method for determining a person's state provided in this disclosure determines that the person is in a sleep state when the activity frequency is less than or equal to a first preset threshold. Furthermore, by determining whether the current time is daytime, it is possible to determine whether the person is in a short sleep state or a long sleep state.

[0057] Based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people, the smart home appliances to be controlled and their corresponding control commands are determined, and the smart home appliances to be controlled are controlled according to the control commands. This enables the smart home appliances to be controlled to operate automatically, thereby improving the user experience of using smart home appliances.

[0058] Optionally, the smart home appliances to be controlled include one or more of the following: air conditioners, curtains, fresh air systems, aromatherapy diffusers, humidifiers, nightlights, and music players.

[0059] Optionally, the sleep state includes a short sleep state. After determining that the person is in a sleep state, the method further includes: obtaining the difference between the predicted indoor light intensity and the actual indoor light intensity. If the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than a second preset threshold, and the predicted indoor light intensity is greater than the actual light intensity, the person is determined to be in a short sleep state. Thus, if the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than the second preset threshold, and the predicted indoor light intensity is greater than the actual light intensity, it can be determined that the current time is daytime, and therefore the person's state can be determined to be a short sleep state.

[0060] Combination Figure 3 As shown, this disclosure provides a method for determining the status of personnel, including:

[0061] In step S301, the electronic device acquires the predicted indoor luminance, the actual indoor luminance, and indoor occupant information. The indoor occupant information is used to indicate whether there are people or no one in the room.

[0062] In step S302, if the indoor personnel information indicates that there are people indoors, the electronic device acquires the activity frequency and posture information of the personnel during the first preset time period.

[0063] In step S203, if the activity frequency is less than or equal to a first preset threshold, the electronic device determines that the person is in a sleep state.

[0064] In step S304, the electronic device acquires the difference between the predicted indoor luminance and the actual indoor luminance.

[0065] In step S305, if the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than the second preset threshold, and the predicted indoor light intensity is greater than the actual light intensity, the electronic device determines that the person's state is a short sleep state.

[0066] The method for determining a person's state provided in this disclosure determines the person's state as a sleep state when the activity frequency is less than or equal to a first preset threshold. Furthermore, if the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than a second preset threshold, and the predicted indoor light intensity is greater than the actual light intensity, the person's state is determined to be a short sleep state. This method enables the determination of a person's state as a short sleep state.

[0067] Optionally, determining the smart home appliance to be controlled and its corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the occupant's state includes: obtaining the difference between the predicted indoor light intensity and the actual indoor light intensity. If the difference between the indoor light intensity and the actual indoor light intensity is less than a second preset threshold, and the occupant is in a sleeping state, the smart home appliance to be controlled is determined to include a smart curtain, and the control command for the smart curtain is to close. If the difference between the indoor light intensity and the actual indoor light intensity is less than the second preset threshold, it indicates that the curtain is open, but the occupant is in a sleeping state. To improve the occupant's sleep state, the smart home appliance to be controlled is determined to include a smart curtain, and the control command for the smart curtain is to close. Optionally, controlling the smart home appliance to be controlled according to the control command further includes: controlling the smart curtain to close.

[0068] Combination Figure 4 As shown, this disclosure provides a method for controlling smart home appliances, including:

[0069] Step S401: The electronic device acquires the predicted indoor light intensity, the actual indoor light intensity, and indoor occupant information; the indoor occupant information is used to indicate whether there are people or no people in the room.

[0070] In step S402, if the indoor personnel information indicates that there are people indoors, the electronic device acquires the activity frequency and posture information of the personnel during the first preset time period.

[0071] In step S403, if the activity frequency is less than or equal to a first preset threshold, the electronic device determines that the person is in a sleep state.

[0072] In step S404, the electronic device acquires the difference between the predicted indoor luminance and the actual indoor luminance.

[0073] In step S405, when the difference between the indoor light intensity and the actual indoor light intensity is less than the second preset threshold and the person is in a sleep state, the electronic device determines that the smart home appliance to be controlled includes the smart curtain, and the control command corresponding to the smart curtain is to close.

[0074] Step S406: The electronic device controls the smart curtains to close.

[0075] The method for controlling smart home appliances provided in this disclosure determines that the smart home appliances to be controlled include smart curtains based on predicted indoor light intensity, actual indoor light intensity, and the status of people. The control command corresponding to the smart curtains is to close, and the smart curtains are controlled to close. This allows for automatic operation of the smart curtains, thereby improving the user experience of using smart curtains.

[0076] Optionally, after controlling the smart curtains to close, the function also includes: obtaining a preset sleep duration, and controlling the smart curtains to open when the preset sleep duration is reached.

[0077] Optionally, obtaining the preset sleep duration includes: when the sleep state is a long sleep state, obtaining the sleep duration corresponding to the long sleep state from a preset data table; or, when the sleep state is a short sleep state, obtaining the sleep duration corresponding to the short sleep state from a preset data table. The data table stores the correspondence between long sleep states and sleep durations, as well as the correspondence between short sleep states and sleep durations.

[0078] In some embodiments, the sleep duration corresponding to a long sleep state is, for example, 8 hours. The sleep duration corresponding to a short sleep state is, for example, half an hour. Furthermore, the user can change the sleep duration in the data table through the user terminal. For example, the sleep duration corresponding to a long sleep state can be changed from 8 hours to 10 hours.

[0079] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the user's state. This includes: if the user is in a long sleep state, determining that the smart home appliance to be controlled includes an air conditioner. The control command for the air conditioner is determined to be a temperature-assisted sleep mode. The temperature-assisted sleep mode indicates that the air conditioner adjusts the indoor temperature according to the user's sleep stage and a preset sleep-aid temperature curve. Sleep stages include falling asleep, light sleep, and deep sleep. When the user is in the falling asleep stage, the air conditioner is controlled according to the falling asleep temperature curve segment of the sleep-aid temperature curve. When the user is in the light sleep stage, the air conditioner is controlled according to the light sleep temperature curve segment of the sleep-aid temperature curve. When the user is in the deep sleep stage, the air conditioner is controlled according to the deep sleep temperature curve segment of the sleep-aid temperature curve.

[0080] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the occupants. This includes: if the occupants are in a long sleep state, determining that the smart home appliances to be controlled include a fresh air system. The control command for the fresh air system is determined to be a fresh air mode. The fresh air mode is used to characterize the detection of indoor air quality at second preset time intervals. If the indoor air quality is lower than a third preset threshold, the fresh air system is activated until the indoor air quality is greater than or equal to the third preset threshold.

[0081] Optionally, the control commands for the smart home appliances to be controlled and their corresponding functions are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the occupants. This includes, for example, determining that the smart home appliances to be controlled include aromatherapy devices when the occupants are in a long sleep state, and determining that the control command for the aromatherapy device is "turn on".

[0082] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the user's state. This includes: if the user is in a long sleep state, determining that the smart home appliance to be controlled includes a humidifier. The control command for the humidifier is determined to be a humidity-assisted sleep mode. The humidity-assisted sleep mode indicates that the humidifier adjusts the indoor humidity according to the user's sleep stage and a preset humidity curve for sleep assistance. Sleep stages include falling asleep, light sleep, and deep sleep. When the user is in the falling asleep stage, the humidifier is controlled according to the humidity curve segment for falling asleep. When the user is in the light sleep stage, the humidifier is controlled according to the humidity curve segment for light sleep. When the user is in the deep sleep stage, the humidifier is controlled according to the humidity curve segment for deep sleep.

[0083] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the user's state. This includes: if the user is in a long sleep state, determining that the smart home appliances to be controlled include a music player. The control command for the music player is determined to be a music-assisted sleep mode. The music-assisted sleep mode indicates that the music player plays white noise until the user enters a deep sleep stage. White noise is a monotonous and repetitive sound, such as rain, bellows, insect chirping, or the hissing of a radio; the volume of white noise is usually low. White noise can tire the nerves, thus helping to induce sleep; additionally, it can suppress other sharp external noises, further helping the user fall asleep more easily.

[0084] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the occupant's state. This includes: if the occupant is in a short sleep state, determining that the smart home appliances to be controlled include the air conditioner. The control command for the air conditioner is determined to be a comfort temperature mode. The comfort temperature mode indicates that the air conditioner operates according to a preset temperature.

[0085] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the occupants. This includes: if the occupants are in a short sleep state, determining that the smart home appliances to be controlled include a fresh air system. The control command for the fresh air system is determined to be a fresh air mode. The fresh air mode is used to characterize the detection of indoor air quality at second preset time intervals. If the indoor air quality is lower than a third preset threshold, the fresh air system is activated until the indoor air quality is greater than or equal to the third preset threshold.

[0086] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the occupant's state. This includes: if the occupant is in a short sleep state, determining that the smart home appliances to be controlled include a humidifier. The control command for the humidifier is determined to be a comfortable humidity mode. The comfortable humidity mode indicates that the humidifier operates according to a preset humidity level.

[0087] Optionally, the control instructions for the smart home appliances to be controlled and their corresponding control commands are determined based on the predicted indoor light intensity, the actual indoor light intensity, and the user's state. This includes: if the user is in a short sleep state, determining that the smart home appliances to be controlled include a music player. The control command for the music player is determined to be a wake-up mode. The wake-up mode indicates that the music player plays music to wake the user at a preset time.

[0088] Optionally, after obtaining the predicted indoor light intensity, actual indoor light intensity, and indoor occupant information, the method further includes: if the indoor occupant information indicates that no one is in the room, sending a device shutdown message to a preset user terminal. Further, upon receiving a shutdown command from the user terminal, shutting down the currently operating home appliances in the room. Alternatively, if no shutdown command is received from the user terminal within a third preset time period, shutting down the currently operating home appliances in the room.

[0089] Optionally, the control instructions for the smart home appliances to be controlled and the corresponding control instructions for the smart home appliances to be controlled are determined based on the predicted indoor light intensity, the actual indoor light intensity and the status of the personnel. This includes: when the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than a second preset threshold, and the predicted indoor light intensity is greater than the actual indoor light intensity and the personnel status is active, the smart home appliances to be controlled are determined to include smart curtains, and the control instruction for the smart curtains is to open.

[0090] Combination Figure 5As shown, this disclosure provides a device 500 for controlling smart home appliances, including a first acquisition module 501, a second acquisition module 502, a determination module 503, and a control module 504. The first acquisition module 501 is configured to acquire predicted indoor light intensity, actual indoor light intensity, and indoor occupant information; the occupant information indicates whether the room is occupied or unoccupied. The second acquisition module 502 is configured to acquire the occupant status when the indoor occupant information indicates that the room is occupied; the occupant status indicates whether the room is in a sleep or active state. The determination module 503 is configured to determine the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, actual indoor light intensity, and occupant status. The control module 504 is configured to control the smart home appliance to be controlled according to the control command.

[0091] The device for controlling smart home appliances provided in this disclosure determines the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people. The device then controls the smart home appliance according to the control command, thereby automatically operating the smart home appliance and improving the user experience of using smart home appliances.

[0092] Optionally, the first acquisition module is configured to acquire the predicted indoor luminance by: acquiring the outdoor luminance; inputting the outdoor luminance into a preset indoor luminance model to obtain the predicted indoor luminance.

[0093] Optionally, the first acquisition module is configured to acquire the personnel status by: acquiring the personnel's activity frequency and posture information over a first preset time period. If the activity frequency is less than or equal to a first preset threshold, the personnel status is determined to be a sleep state. And / or, if the activity frequency is greater than the first preset threshold, the personnel status is determined to be an active state.

[0094] Optionally, after determining that a person's status is active, the first acquisition module is further configured to determine that the person's status is in a long sleep state if the current time is daytime, and / or, determine that the person's status is in a short sleep state if the current time is nighttime.

[0095] Optionally, after determining that the person's status is active, the first acquisition module is further configured to acquire the difference between the predicted indoor light intensity and the actual indoor light intensity. If the difference between the predicted indoor light intensity and the actual indoor light intensity is greater than a second preset threshold, and the predicted indoor light intensity is greater than the actual light intensity, the person's status is determined to be short sleep.

[0096] Optionally, the determining module is configured to determine the smart home appliance to be controlled and its corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the occupant's status by: obtaining the difference between the predicted indoor light intensity and the actual indoor light intensity. If the difference between the indoor light intensity and the actual indoor light intensity is less than a second preset threshold, and the occupant is in a sleep state, then the smart home appliance to be controlled is determined to include a smart curtain, and the control command corresponding to the smart curtain is to close.

[0097] Optionally, the device for controlling smart home appliances also includes a transmitting module configured to send a device shutdown message to a preset user terminal when the indoor occupant information indicates that no one is in the room.

[0098] Combination Figure 6 As shown, this disclosure provides an apparatus 600 for controlling smart home appliances, including a processor 601 and a memory 602. Optionally, the apparatus may further include a communication interface 603 and a bus 604. The processor 601, communication interface 603, and memory 602 can communicate with each other via the bus 604. The communication interface 603 can be used for information transmission. The processor 601 can call logical instructions in the memory 602 to execute the method for controlling smart home appliances described in the above embodiments.

[0099] The electronic device provided in this disclosure determines the smart home appliance to be controlled and the corresponding control command based on the predicted indoor light intensity, the actual indoor light intensity, and the status of the people. The device is then controlled according to the control command, which automatically operates the smart home appliance and improves the user experience.

[0100] Furthermore, the logic instructions in the aforementioned memory 602 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0101] The memory 602, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 601 executes functional applications and data processing by running the program instructions / modules stored in the memory 602, thereby implementing the method for controlling smart home appliances in the above embodiments.

[0102] The memory 602 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 602 may include high-speed random access memory and may also include non-volatile memory.

[0103] This disclosure provides an electronic device including a processor and a memory storing program instructions, wherein the processor is configured to execute the above-described method for controlling smart home appliances when the program instructions are executed.

[0104] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for controlling smart home appliances.

[0105] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0106] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.

[0107] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0108] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0109] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0110] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for controlling a smart home appliance device, characterized by, The method comprises the following steps: obtaining a predicted indoor light brightness, an actual indoor light brightness, and indoor personnel information; the indoor personnel information is used to represent whether there is someone in the room or not; in the case that the indoor personnel information represents that there is someone in the room, obtaining a personnel state; the personnel state is used to represent a sleep state or an activity state; in the case that the personnel state is determined to be the sleep state, and the difference between the predicted indoor light brightness and the actual indoor light brightness is greater than a second preset threshold value, and the predicted indoor light brightness is greater than the actual indoor light brightness, the personnel state is a short sleep state; in the case that the personnel state is the short sleep state, determining the smart home appliance device to be controlled comprises: an air conditioner, and the corresponding control instruction is a comfortable temperature mode; and / or a fresh air machine, and the corresponding control instruction is a fresh air mode; and / or a humidifier, and the corresponding control instruction is a comfortable humidity mode; and / or a music player, and the corresponding control instruction is a wake-up mode; controlling the smart home appliance device to be controlled according to the control instruction; wherein the comfortable temperature mode represents that the air conditioner operates according to a preset temperature; the fresh air mode represents that the indoor air quality is detected every second preset time interval, and in the case that the indoor air quality is lower than a third preset threshold value, the fresh air is controlled to be turned on until the indoor air quality is greater than or equal to the third preset threshold value; the comfortable humidity mode represents that the humidifier operates according to a preset humidity; and the wake-up mode represents that the music player plays music to wake up the user when a preset time point is reached.

2. The method of claim 1, wherein, The method comprises the following steps: obtaining an outdoor light brightness; inputting the outdoor light brightness into a preset indoor light brightness model to obtain the predicted indoor light brightness.

3. The method of claim 1, wherein, The method comprises the following steps: obtaining the activity frequency and the posture information of the personnel in a first preset time interval; in the case that the activity frequency is less than or equal to a first preset threshold value, determining that the personnel state is the sleep state; and / or in the case that the activity frequency is greater than the first preset threshold value, determining that the personnel state is the activity state.

4. The method of claim 1, wherein, The method further comprises the following steps: in the case that the personnel state is a long sleep state, determining that the smart home appliance device to be controlled comprises an air conditioner, and / or a fresh air machine, and / or a humidifier, and / or a music player; wherein the corresponding control instruction of the air conditioner is a temperature sleep-aiding mode, the corresponding control instruction of the fresh air machine is a fresh air mode, the corresponding control instruction of the humidifier is a humidity sleep-aiding mode, and the corresponding control instruction of the music player is a music sleep-aiding mode.

5. The method of claim 4, wherein, The temperature sleep-aiding mode represents that the air conditioner adjusts the indoor temperature according to the sleep stage of the user and a preset sleep-aiding temperature curve; the fresh air mode represents that the indoor air quality is detected every second preset time interval, and in the case that the indoor air quality is lower than a third preset threshold value, the fresh air is controlled to be turned on until the indoor air quality is greater than or equal to the third preset threshold value; the humidity sleep-aiding mode represents that the humidifier adjusts the indoor humidity according to the sleep stage of the user and a preset sleep-aiding humidity curve; and the music sleep-aiding mode represents that the music player plays white noise until the user enters a deep sleep stage.

6. The method of claim 1, wherein, The method further comprises the following steps: obtaining the difference between the predicted indoor light brightness and the actual indoor light brightness; In a case that the difference between the predicted indoor brightness and the actual indoor brightness is less than a second preset threshold and the personnel state is a sleep state, it is determined that the to-be-controlled smart home appliance device includes a smart curtain, and the control instruction corresponding to the smart curtain is closing.

7. The method of claim 1, wherein, After the predicted indoor brightness, the actual indoor brightness, and the indoor personnel information are acquired, the method further includes: In a case that the indoor personnel information is that there is no one in the room, sending a device closing information to a preset user terminal.

8. An apparatus for controlling a smart home appliance device, characterized by, The method includes: The first acquisition module is configured to acquire the predicted indoor brightness, the actual indoor brightness, and the indoor personnel information. The personnel information is used to represent that there is someone in the room or that there is no one in the room. The second acquisition module is configured to acquire the personnel state in a case that the indoor personnel information is that there is someone in the room. The personnel state is used to represent a sleep state or an active state. In a case that the difference between the predicted indoor brightness and the actual indoor brightness is greater than the second preset threshold and the predicted indoor brightness is greater than the actual indoor brightness after it is determined that the personnel state is the sleep state, the personnel state is a short sleep state. The determination module is configured to determine, in a case that the personnel state is the short sleep state, that the to-be-controlled smart home appliance device includes: an air conditioner, a corresponding control instruction being a comfortable temperature mode; and / or a fresh air machine, a corresponding control instruction being a fresh air mode; and / or a humidifier, a corresponding control instruction being a comfortable humidity mode; and / or a music player, a corresponding control instruction being a wake-up mode. The control module is configured to control the to-be-controlled smart home appliance device according to the control instruction. The comfortable temperature mode represents that the air conditioner operates according to a preset temperature. The fresh air mode represents that the indoor air quality is detected every second preset time interval. In a case that the indoor air quality is less than a third preset threshold, the fresh air is controlled to be turned on until the indoor air quality is greater than or equal to the third preset threshold. The comfortable humidity mode represents that the humidifier operates according to a preset humidity. The wake-up mode represents that the music player plays music to wake up a user when a preset time point is reached.

9. An electronic device comprising a processor and a memory having stored program instructions, wherein the program instructions, when executed by the processor, cause the electronic device to perform the method of any one of claims 1-8. The processor is configured to execute the method for controlling the smart home appliance device according to any one of claims 1 to 7 when the program instructions are executed.

10. A storage medium storing program instructions, characterized in that, The program instructions are executed to execute the method for controlling the smart home appliance device according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Equipment control method and device based on IOT (Internet of Things)

    CN107612964A

  • Intelligent curtain, control method thereof, device and computer-readable storage medium

    CN109782620A