Method and apparatus for controlling air conditioner, air conditioner, storage medium
By linking a smart mattress with an air conditioner, using sensors to acquire user information, the system adjusts the air conditioner's operating mode to gradually wake the user, thus solving the problems of user comfort and safety during wake-up and addressing the issue of accidental triggering in existing technologies. This improves the comfort and safety of waking up the user.
Patent Information
- Application Number
- CN202210748798.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In existing technologies, air conditioners cannot accurately determine whether a user has woken up, leading to false triggering of the wake-up mode and affecting the user experience.
By linking with a smart mattress and using millimeter-wave radar sensors, infrared temperature sensors, distance sensors, and concentration sensors, information such as the user's contact area, sleep status, and indoor ambient temperature is obtained. The operating mode of the air conditioner is then adjusted to wake up the user, including adjusting parameters such as fan speed, air guide angle, and air outlet temperature, to gradually wake up the user.
It reduces the probability of false triggering of wake-up mode, improves the comfort and safety of users getting up, avoids being startled by the sudden sound of the alarm, and enhances the wake-up effect, thus improving the user's wake-up experience.
Smart Images

Figure CN115247879B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent household appliances, for example to a method and device for controlling an air conditioner, an air conditioner and a storage medium. BACKGROUND
[0002] At present, with the development of intelligent technology, air conditioners are endowed with more and more functions. Users will be startled by the sudden playing of the alarm clock during the process of getting up, leading to the occurrence of diseases. How to wake up users to get up by air conditioners gently and powerfully has become the focus of attention.
[0003] In the related art, a method for waking up users to get up by an air conditioner includes: receiving wake-up time information from a terminal, wherein the wake-up time information includes a wake-up time point or an alarm clock start time point, the wake-up time point is before the alarm clock start time point, and the wake-up time point is separated from the alarm clock start time point by a preset time; determining the wake-up time point according to the wake-up time information; and triggering a natural wind mode of the air conditioner at the wake-up time point.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
[0005] The method can wake up users to get up by triggering the natural wind mode of the air conditioner at the wake-up time point. However, when the user has already gotten up before the wake-up time point, the air conditioner cannot determine whether the user has gotten up, leading to the false triggering of the wake-up mode. SUMMARY
[0006] To provide a basic understanding of some aspects of the disclosed embodiments, the following summary has been provided. The summary is not an extensive overview of the application. It is not intended to identify key / critical elements of the application or to delineate the scope of the embodiments disclosed, but to present some aspects of the embodiments in a simplified form as a prelude to the more detailed description that is presented later.
[0007] The embodiments of the present disclosure provide a method and device for controlling an air conditioner, an air conditioner and a storage medium, to reduce the possibility of false triggering of the wake-up mode in the process of waking up users to get up by the air conditioner.
[0008] In some embodiments, the method includes: obtaining a current time; in a case where it is determined that the current time meets a wake-up condition, acquiring a first contact area of a user on a smart mattress; and in a case where the first contact area is greater than or equal to an area threshold, adjusting a current running mode.
[0009] Optionally, adjusting the current running mode includes: obtaining a sleep state of the user; in a case where the sleep state is a light sleep state, adjusting the current running mode to a first wake-up mode; and in a case where the sleep state is a deep sleep state, adjusting the current running mode to a second wake-up mode.
[0010] Optionally, adjusting the current operation mode to the first wake-up mode comprises: controlling the indoor fan to operate in a constant speed mode; obtaining a first area angle of the user; and adjusting the angle of the air deflector to the first area angle.
[0011] Optionally, adjusting the current operation mode to the second wake-up mode comprises: controlling the indoor fan to operate in a variable speed mode; obtaining a second area angle of the user; and adjusting the angle of the air deflector to the second area angle.
[0012] Optionally, determining that the current time meets the wake-up condition comprises: obtaining a set time of the user; determining that a difference between the set time and the current time is an interval duration; and determining that the current time meets the wake-up condition in a case where the interval duration is less than or equal to a preset duration.
[0013] Optionally, after adjusting the current operation mode, the method further comprises: obtaining a second contact area of the user on the smart mattress; detecting a current distance between the air conditioner and the user in a case where the second contact area is less than an area threshold; and adjusting the current operation mode according to the current distance.
[0014] Optionally, adjusting the current operation mode according to the current distance comprises: determining a distance difference between the current distance and a historical distance; keeping the current operation mode unchanged in a case where the distance difference is less than or equal to a distance threshold; and adjusting the current operation mode to an initial operation mode in a case where the distance difference is greater than the distance threshold.
[0015] In some embodiments, the apparatus comprises a processor and a memory storing program instructions, the processor is configured to execute the above method for controlling the air conditioner when the program instructions are run.
[0016] In some embodiments, the air conditioner comprises the above apparatus for controlling the air conditioner.
[0017] In some embodiments, the storage medium stores program instructions, the program instructions are executed when run to perform the above method for controlling the air conditioner.
[0018] The method and apparatus for controlling the air conditioner, the air conditioner, and the storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:
[0019] The current time is obtained, and it is determined whether the user needs to be woken up. In a case where it is determined that the current time meets the wake-up condition, the time when the user gets up is approaching, the first contact area of the user on the smart mattress is obtained. In a case where the first contact area is greater than or equal to the area threshold, the user is in a lying posture on the smart mattress and has not gotten up yet. The current running mode of the air conditioner is adjusted, and the user is gradually woken up by the air conditioner. By taking the first contact area of the smart mattress as a basis to determine whether the user gets up, the possibility of false triggering of the wake-up mode in the process of waking up the user to get up by the air conditioner is reduced. At the same time, since the user is woken up by the air conditioner, the user is prevented from being startled by the sudden playing of an alarm clock, and the effect of waking up the user to get up is improved.
[0020] The foregoing general description and the following description are only exemplary and explanatory, and are not used to limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0021] One or more embodiments are exemplarily illustrated by corresponding drawings, which do not constitute a limitation on the embodiments, elements with the same reference numerals in the drawings are shown as similar elements, the drawings do not constitute a proportional limitation, and wherein:
[0022] Figure 1 is a schematic diagram of a method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0023] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0024] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0025] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0026] Figure 5 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0027] Figure 6 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0028] Figure 7 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0029] Figure 8 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0030] Figure 9is a schematic diagram of an apparatus for controlling an air conditioner provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] In order to enable a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings, which are only used for reference and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, a plurality of details are provided to provide a full understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be simplified to facilitate the drawings.
[0032] The terms "first", "second", and the like in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0033] Unless otherwise specified, the term "a plurality of" means two or more.
[0034] In the embodiments of the present disclosure, the character " / " represents an "or" relationship between the objects before and after it. For example, A / B means: A or B.
[0035] The term "and / or" is a description of the association relationship between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.
[0036] The term "corresponding" can refer to an association relationship or a binding relationship. A and B correspond to each other means that there is an association relationship or a binding relationship between A and B.
[0037] In the embodiments of the present disclosure, the smart home appliance refers to a home appliance product formed after introducing microprocessors, sensor technology, network communication technology into home appliances, having the characteristics of intelligent control, intelligent perception and intelligent application. The operation process of the smart home appliance often depends on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, the smart home appliance can realize remote control and management of the smart home appliance by connecting electronic devices.
[0038] In the disclosed embodiments, the terminal device refers to an electronic device with wireless connection function. The terminal device can be connected to the smart home appliance through the Internet, or can be directly connected to the smart home appliance through Bluetooth, WiFi, or the like. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a built-in vehicle device in a hovercar, or any combination thereof. The mobile device can include, for example, a mobile phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, or any combination thereof. The wearable device can include, for example, a smart watch, a smart bracelet, a pedometer, or the like.
[0039] As an air conditioning device, the air conditioner is often used for cooling in summer and heating in winter, and is in a state of non-use in other seasons. With the development of intelligent technology, the air conditioner has more and more detection and control functions, and becomes a kind of smart home appliance. Through linkage, the parameters detected by the associated smart home appliance can be obtained, the associated smart home appliance can be controlled, and the parameters and control results can be pushed to the terminal device. As a new smart home appliance, the smart mattress can detect the contact area of the user and send it to the associated smart home appliance, so that the smart home appliance can perform corresponding actions.
[0040] The disclosed embodiments provide an air conditioner linked with a smart mattress, which includes a millimeter wave radar sensor, an infrared temperature sensor (or a thermal imager, a camera, etc.), a ranging sensor, an indoor temperature sensor, and a concentration sensor. The millimeter wave radar sensor is used to detect the heart rate and breathing rate of the user, so that the air conditioner obtains the sleep state of the user. The infrared temperature sensor is used to detect the body surface temperature of the user in the area, to determine the parts exposed and covered by the user when sleeping, so that the air conditioner adjusts the angle of the air deflector. The ranging sensor is used to detect the distance between the air conditioner and the user, so that the air conditioner determines whether the user has really got up. The indoor temperature sensor is used to detect the indoor environment temperature, so that the air conditioner determines the appropriate air outlet temperature. The concentration sensor is used to detect the indoor carbon dioxide concentration. The air conditioner also has a fresh air function, which cooperates with the concentration sensor to introduce outdoor fresh air into the room through the internally arranged fresh air fan to wake up the user.
[0041] In combination with Figure 1 The disclosed embodiments provide a method for controlling an air conditioner, which includes:
[0042] In S210, the air conditioner obtains the current time.
[0043] In S220, in a case where it is determined that the current time meets the wake-up condition, the air conditioner acquires the first contact area of the user on the smart mattress.
[0044] S230, in a case where the first contact area is greater than or equal to the area threshold, the air conditioner adjusts a current operation mode.
[0045] By using the method for controlling the air conditioner provided in the embodiments of the present disclosure, the current time is obtained, and it is determined whether the user needs to be woken up. In a case where it is determined that the current time meets the wake-up condition, the time when the user gets up has approached, the first contact area of the user on the smart mattress is obtained. In a case where the first contact area is greater than or equal to the area threshold, the user is in a lying posture on the smart mattress and has not gotten up yet. The current operation mode of the air conditioner is adjusted, and the user is gradually woken up by the air conditioner. By taking the first contact area of the smart mattress as a basis to determine whether the user gets up, the possibility of false triggering of the wake-up mode in the process of waking up the user by the air conditioner is reduced. At the same time, since the user is woken up by the air conditioner, the user is prevented from being startled by the sudden playing of an alarm clock, and the effect of waking up the user is improved.
[0046] The area threshold mentioned above refers to the area occupied by the user in a lying posture on the smart mattress. Since the body shape of each user is different, the smart mattress can adapt to the area occupied by the user in a lying posture through statistical and learning methods. Alternatively, since the area occupied by the sitting posture and the lying posture on the smart mattress is quite different, the area threshold can be set between the areas occupied by the sitting posture and the lying posture (determined through experimental data).
[0047] In combination with Figure 2 The embodiments of the present disclosure provide another method for controlling an air conditioner, which comprises the following steps:
[0048] S210, the air conditioner obtains a current time.
[0049] S211, the air conditioner obtains a set time of the user.
[0050] S212, the air conditioner determines that the difference between the set time and the current time is an interval duration.
[0051] S213, in a case where the interval duration is less than or equal to a preset duration, the air conditioner determines that the current time meets a wake-up condition.
[0052] S220, the air conditioner obtains a first contact area of the user on a smart mattress.
[0053] S230, in a case where the first contact area is greater than or equal to the area threshold, the air conditioner adjusts a current operation mode.
[0054] The method for controlling the air conditioner provided in the embodiment of the present disclosure determines the interval length between the current time and the set time of the user by obtaining the current time and the set time of the user. In the case that the interval length is less than or equal to the preset length, the current time has reached the time for pre-waking up the user, and it is determined that the current time meets the wake-up condition. By starting to wake up the user before the set time, the speed of the air conditioner in waking up the user and the delay of the user when getting up are taken into account, and the reliability of the air conditioner in waking up the user to get up is improved.
[0055] Optionally, the air conditioner in step S211 obtains the set time of the user, which can be that the air conditioner obtains the set time of the user set in the terminal device in a linkage manner. Alternatively, the set time of the user can be input by the user to the air conditioner through the terminal device and stored by the air conditioner. Alternatively, the set time of the user can be input by the user to the air conditioner through the remote controller. In this way, the user can make the air conditioner obtain the set time in multiple ways, increase the diversity of the user alarm setting method, and thus improve the applicability of the air conditioner.
[0056] Optionally, the preset length is in the range of [5, 10] min. Preferably, the preset length is 6 min, 7 min or 8 min. In this way, when the preset length is in the above range, the speed of the air conditioner in waking up the user and the delay of the user when getting up can be taken into account, so that the air conditioner wakes up the user before and after the set time.
[0057] In combination with Figure 3 The embodiment of the present disclosure provides another method for controlling the air conditioner, which comprises:
[0058] S210, the air conditioner obtains the current time.
[0059] S220, in the case that the current time meets the wake-up condition, the air conditioner obtains the first contact area of the user on the smart mattress.
[0060] S231, in the case that the first contact area is greater than or equal to the area threshold, the air conditioner obtains the sleep state of the user.
[0061] S240, in the case that the sleep state is the light sleep state, the air conditioner adjusts the current running mode to the first wake-up mode, and returns to step S220.
[0062] S250, in the case that the sleep state is the deep sleep state, the air conditioner adjusts the current running mode to the second wake-up mode, and returns to step S231.
[0063] The method for controlling the air conditioner provided by the embodiment of the present disclosure can obtain the sleep state of the user when waking up the user, and determine the wake-up mode according to the sleep state. In the light sleep state, the user is easy to wake up, and the user is woken up to get up in the first wake-up mode. In the deep sleep state, the user is difficult to wake up, and the user is woken up to the light sleep state in the second wake-up mode. By waking up the user in different wake-up modes in different sleep states of the user, the discomfort of the user after getting up is reduced, thereby improving the effect of the air conditioner on waking up the user to get up.
[0064] Optionally, the air conditioner obtaining the sleep state of the user in step S231 comprises: the air conditioner detecting the heart rate and the breathing frequency of the user. In the case that the heart rate is less than the heart rate threshold and the breathing frequency is less than the deep sleep breathing frequency threshold, the air conditioner determines that the user is in the deep sleep state. In the case that the heart rate is less than the heart rate threshold and the breathing frequency is greater than or equal to the deep sleep breathing frequency threshold, or the heart rate is greater than or equal to the heart rate threshold, the air conditioner determines that the user is in the light sleep state. The deep sleep breathing frequency threshold is less than the light sleep breathing frequency threshold, and the wake state is regarded as the light sleep state. In this way, the heart rate and the breathing frequency of the user are detected by the millimeter wave radar sensor, and the sleep state of the user can be accurately determined according to the heart rate and the breathing frequency of the user, so that the air conditioner selects the appropriate wake-up mode.
[0065] In combination Figure 4 The embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0066] S210, the air conditioner obtains the current time.
[0067] S220, in the case that the current time meets the wake-up condition, the air conditioner obtains the first contact area of the user on the smart mattress.
[0068] S231, in the case that the first contact area is greater than or equal to the area threshold, the air conditioner obtains the sleep state of the user.
[0069] S232, the indoor temperature sensor detects the indoor environment temperature.
[0070] S241, in the case that the sleep state is the light sleep state, the air conditioner controls the indoor fan to run in a constant speed mode.
[0071] S242, the air conditioner obtains the first area angle of the user.
[0072] S243, the air conditioner adjusts the angle of the air deflector to the first area angle.
[0073] S244, the air conditioner determines the difference between the indoor environment temperature and the adjusted temperature as the outlet air temperature, and returns to step S220.
[0074] S251, in the case where the sleep state is a deep sleep state, the air conditioner controls the indoor fan to run in a variable speed mode.
[0075] S252, the air conditioner obtains a second area angle of the user.
[0076] S253, the air conditioner adjusts the angle of the air deflector to the second area angle.
[0077] S254, the air conditioner determines the indoor environment temperature as the outlet temperature, and returns to step S231.
[0078] By using the method for controlling the air conditioner provided in the embodiments of the present disclosure, in the case where the sleep state is a light sleep state, since the user has a strong perception of the fixed wind speed, the indoor fan is controlled to run in a constant speed mode (for example, 700 rpm, 800 rpm or 900 rpm). After the first area angle is determined, the angle of the air deflector is adjusted to the first area angle, so that the part of the user's skin exposed to the air outlet of the air conditioner is stimulated to stimulate the user's perception. The air outlet is performed at an outlet temperature lower than the indoor environment temperature, so that the user feels the change of temperature, and then changes from the light sleep state to the wake state. In the case where the sleep state is a deep sleep state, if the user is awakened in the same way as in the light sleep state, the user will have a strong desire to get up, and the sudden stimulation of awakening will make the user feel uncomfortable. The indoor fan is controlled to run in a variable speed mode (for example, gradually changes from 300 rpm to 800 rpm within 5 minutes), so that the user gradually feels the change of the wind volume, and changes the sleep state. After the second area angle is determined, the angle of the air deflector is adjusted to the second area angle, so as to reduce the influence of the air outlet of the air conditioner on the part of the user's skin exposed, thereby reducing the stimulation of the user's perception. The air outlet is performed at the indoor environment temperature as the outlet temperature, so as to reduce the stimulation of the temperature change to the user. By adjusting the wind speed, the outlet angle and the outlet temperature in different sleep states, the degree of stimulation to the user is changed, the influence on the user is reduced, and the effect of the air conditioner in awakening the user to get up is improved.
[0079] Optionally, the value range of the adjustment temperature is [3, 5]℃. Preferably, the value of the adjustment temperature is 3.5℃, 4℃ or 4.5℃. In this way, when the value of the adjustment temperature is in the above range, the problem of cold caused by the air conditioner greatly reducing the temperature to awaken the user to get up can be avoided. At the same time, the temperature reduction amplitude can stimulate the user's perception, so as to facilitate the user to change from the light sleep state to the wake state and then get up, thereby improving the effect of the air conditioner in awakening the user to get up.
[0080] Optionally, the air conditioner in step S242 obtains the first area angle of the user, and the air conditioner in step S252 obtains the second area angle of the user, by detecting the temperature of the exposed and covered parts of the user's skin through an infrared temperature sensor, determining the first area angle according to the exposed part, and determining the second area angle according to the covered part. In this way, the air conditioner can blow towards the part of the user's skin exposed in the light sleep state to stimulate, and blow towards the part of the user's skin covered in the deep sleep state to reduce stimulation, thereby improving the effect of the air conditioner on waking up the user to get up.
[0081] In combination Figure 5 As shown in the embodiments of the present disclosure, another method for controlling an air conditioner is provided, comprising:
[0082] S210, the air conditioner obtains the current time.
[0083] S220, in the case where it is determined that the current time meets the wake-up condition, the air conditioner acquires the first contact area of the user on the smart mattress.
[0084] S231, in the case where the first contact area is greater than or equal to the area threshold, the air conditioner obtains the sleep state of the user.
[0085] S233, the concentration sensor detects the indoor carbon dioxide concentration.
[0086] S234, the infrared temperature sensor detects the body surface temperature of the user.
[0087] S235, the air conditioner determines whether the fresh air opening condition is met according to the indoor carbon dioxide concentration and the body surface temperature.
[0088] S246, in the case where the sleep state is a light sleep state and the fresh air opening condition is met, the air conditioner controls the fresh air fan to operate in a constant speed mode.
[0089] S242, the air conditioner obtains the first area angle of the user.
[0090] S243, the air conditioner adjusts the angle of the air deflector to the first area angle, and returns to step S220.
[0091] S247, in the case where the sleep state is a light sleep state and the fresh air opening condition is not met, the air conditioner controls the indoor fan to operate in a constant speed mode, and executes step S242.
[0092] S256, in the case where the sleep state is a deep sleep state and the fresh air opening condition is met, the air conditioner controls the fresh air fan to operate in a variable speed mode.
[0093] S252, the air conditioner obtains the second area angle of the user.
[0094] S253, the air conditioner adjusts the angle of the air deflector to the second area angle, and returns to step S231.
[0095] S257, in the case that the sleep state is the deep sleep state and the fresh air opening condition is not met, the air conditioner controls the indoor fan to run in the variable speed mode, and executes step S252.
[0096] By using the method for controlling the air conditioner provided in the embodiments of the present disclosure, since there is a certain temperature difference between the indoor and outdoor environment temperatures, only through the fresh air mode to wake up the user to get up may cause the discomfort of the user. According to the indoor carbon dioxide concentration and the body surface temperature, it is determined whether the fresh air opening condition is met, so as to determine whether to wake up the user to get up through the fresh air fan or the indoor fan. When the user is woken up to get up in the way of introducing fresh air, since the user has a strong perception of the fixed wind speed in the light sleep state, the fresh air fan is controlled to run in the constant speed mode. In the deep sleep state, the user has a strong perception of the variable wind speed, the fresh air fan is controlled to run in the variable speed mode, and the sleep state is gradually changed. The user is woken up to get up in the way of introducing fresh air, which reduces the power consumption of the air conditioner and improves the indoor air quality, and meanwhile improves the effect of waking up the user to get up by the air conditioner.
[0097] Optionally, the air conditioner in step S235 determines whether the fresh air opening condition is met according to the indoor carbon dioxide concentration and the body surface temperature, including: in the case that the indoor carbon dioxide concentration is greater than the concentration threshold value and the body surface temperature is greater than or equal to the temperature threshold value, the air conditioner determines that the fresh air opening condition is met. In the case that the indoor carbon dioxide concentration is less than or equal to the concentration threshold value, or the indoor carbon dioxide concentration is greater than the concentration threshold value and the body surface temperature is less than the temperature threshold value, the air conditioner determines that the fresh air opening condition is not met. In this way, in the case that the indoor carbon dioxide concentration is greater than the concentration threshold value, the user is woken up to get up in the way of introducing fresh air, and the indoor air quality is improved. In the case that the indoor carbon dioxide concentration is less than or equal to the concentration threshold value, the user is woken up to get up in the way of indoor air conditioning, and the indoor air is prevented from being polluted by the outdoor air. When the fresh air is introduced, the body surface temperature of the user changes due to the existence of the temperature difference. In the case that the body surface temperature is less than the temperature threshold value, the outdoor environment temperature is too low, which may cause the user to catch a cold, and the way of introducing fresh air to wake up the user to get up is abandoned. Whether to introduce fresh air is determined by the indoor carbon dioxide concentration and the body surface temperature, which reduces the power consumption of the air conditioner and improves the indoor air quality, and meanwhile improves the effect of waking up the user to get up by the air conditioner.
[0098] Optionally, the temperature threshold is in a range of [29, 33] degrees Celsius. Preferably, the temperature threshold is 30 degrees Celsius, 31 degrees Celsius, or 32 degrees Celsius. The concentration threshold is in a range of [800, 1200] ppm. Preferably, the concentration threshold is 900 ppm, 1000 ppm, or 1100 ppm. In this way, when the temperature threshold is in the above range, the outdoor environment temperature has a greater impact on the user's body surface temperature, and the fresh air makes the user feel uncomfortable. When the concentration threshold is in the above range, the indoor air quality is poor, which causes the user to feel uncomfortable. By selecting the values of the temperature threshold and the concentration threshold in the appropriate range, the influence of the outdoor environment temperature and the indoor air quality on the user's health can be reduced, and the effect of the air conditioner in waking up the user to get up is improved.
[0099] In combination Figure 6 The embodiments of the present disclosure provide another method for controlling an air conditioner, which comprises:
[0100] In S210, the air conditioner obtains the current time.
[0101] In S220, in a case where the current time meets the wake-up condition, the air conditioner acquires the first contact area of the user on the smart mattress.
[0102] In S230, in a case where the first contact area is greater than or equal to the area threshold, the air conditioner adjusts the current operation mode.
[0103] In S260, the air conditioner acquires the second contact area of the user on the smart mattress.
[0104] In S270, in a case where the second contact area is less than the area threshold, the ranging sensor detects the current distance between the air conditioner and the user.
[0105] In S280, the air conditioner adjusts the current operation mode according to the current distance.
[0106] The method for controlling an air conditioner provided by the embodiments of the present disclosure acquires the second contact area of the user on the smart mattress after the air conditioner adjusts the current mode for the first time, and determines whether the user gets up. In a case where the second contact area is greater than or equal to the area threshold, the user is still in a lying posture, and the user is continued to be woken up according to the previous operation mode. In a case where the second contact area is less than the area threshold, the user is no longer in a lying posture, and may sit on the smart mattress or has gotten up. The ranging sensor detects the current distance between the air conditioner and the user to determine whether the user moves, so as to adjust the current operation mode. By detecting the distance between the user after the user gets up, the current operation mode is adjusted to prevent the user from falling asleep again, and the effect of the air conditioner in waking up the user to get up is improved.
[0107] In combination Figure 7As shown, the embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0108] S210, the air conditioner obtains a current time.
[0109] S220, in the case where it is determined that the current time meets the wake-up condition, the air conditioner acquires a first contact area of the user on the smart mattress.
[0110] S230, in the case where the first contact area is greater than or equal to an area threshold, the air conditioner adjusts a current operation mode.
[0111] S236, the air conditioner stops receiving signals of a remote controller.
[0112] S260, the air conditioner acquires a second contact area of the user on the smart mattress.
[0113] S270, in the case where the second contact area is less than the area threshold, a ranging sensor detects a current distance between the air conditioner and the user.
[0114] S281, the air conditioner determines a distance difference value between the current distance and a historical distance.
[0115] S282, in the case where the distance difference value is less than or equal to a distance threshold, the air conditioner keeps the current operation mode unchanged and returns to step S270.
[0116] S283, in the case where the distance difference value is greater than the distance threshold, the air conditioner adjusts the current operation mode to an initial operation mode.
[0117] S284, the air conditioner starts receiving signals of the remote controller.
[0118] The method for controlling an air conditioner provided by the embodiment of the present disclosure can prevent the user from forcibly shutting down the air conditioner and thus failing to wake up when the user does not get up. When the current distance and the historical distance are relatively close, the user is awake and sits up, but has the possibility of falling asleep again. At this time, the current operation mode is kept unchanged to prevent the user from falling asleep again. When the current distance and the historical distance are relatively far apart, the user has gotten up and moved, the current operation mode is adjusted to the initial operation mode (the operation mode before the current time) and the air conditioner starts receiving signals of the remote controller. By determining whether the user has truly gotten up according to the distance difference value, the user is prevented from falling asleep again, and the effect of waking up the user by the air conditioner is improved.
[0119] The historical distance is the current distance in the previous detection process (for example, detected once per second).
[0120] Optionally, the distance threshold is in a range of [0.4, 1] m. Preferably, the distance threshold is 0.6 m, 0.7 m or 0.8 m. In this way, when the distance threshold is in the above range, the case that the user moves slowly when getting up can be considered, and false determination that the user has not gotten up can be prevented.
[0121] In combination Figure 8 As shown in the drawings, the embodiments of the present disclosure provide another method for controlling an air conditioner, comprising:
[0122] S210, the air conditioner obtains a current time.
[0123] S220, in a case where it is determined that the current time meets a wake-up condition, the air conditioner acquires a first contact area of a user on a smart mattress.
[0124] S230, in a case where the first contact area is greater than or equal to an area threshold, the air conditioner adjusts a current operation mode.
[0125] S260, the air conditioner acquires a second contact area of the user on the smart mattress.
[0126] S270, in a case where the second contact area is less than the area threshold, a ranging sensor detects a current distance between the air conditioner and the user.
[0127] S280, the air conditioner adjusts the current operation mode according to the current distance.
[0128] S290, the air conditioner obtains the current time again.
[0129] S300, in a case where it is determined that the current time meets a secondary wake-up condition, the air conditioner acquires a third contact area of the user on the smart mattress.
[0130] S310, in a case where the third contact area is greater than or equal to the area threshold, the air conditioner adjusts the current operation mode to a third wake-up mode, and returns to step S300.
[0131] S320, in a case where the third contact area is less than the area threshold, the air conditioner adjusts the current operation mode to an initial operation mode.
[0132] The method for controlling the air conditioner provided by the embodiment of the present disclosure is used to obtain the third contact area of the user on the smart mattress when the secondary wake-up condition is met at the current time, so as to prevent the user from falling asleep again after getting up and moving. In the case that the third contact area is greater than or equal to the area threshold, the user has fallen asleep again and is in a light sleep state or a wake state, and the current operation mode is adjusted to the third wake-up mode to wake up the user. In the case that the third contact area is less than the area threshold, it is determined that the user has gotten up, and the current operation mode is adjusted to the initial operation mode. The state of the user is detected again at a certain time after the user gets up, and the secondary wake-up is performed when it is determined that the user falls asleep again, thereby improving the effect of the air conditioner on waking up the user to get up.
[0133] Optionally, the determination that the current time meets the secondary wake-up condition in step S300 comprises: the air conditioner determining that a difference between the current time and the set time is a secondary time length. In the case that the secondary time length is greater than or equal to a preset time length, the air conditioner determines that the current time meets the secondary wake-up condition. In this way, by determining the secondary time length between the current time and the set time, it is determined whether the user has truly gotten up after exceeding the set time. In the case that the secondary time length is greater than or equal to the preset time length, the current time has exceeded the time for waking up the user at the latest, and it is determined that the current time meets the secondary wake-up condition. By considering the secondary time length of the user falling asleep again after getting up, the user is woken up again after the set time, thereby improving the reliability of the air conditioner on waking up the user to get up.
[0134] Optionally, the adjustment of the current operation mode to the third wake-up mode by the air conditioner in step S310 comprises: the air conditioner controlling the indoor fan to operate at the highest speed. The air conditioner controls the air deflector to rotate between the maximum angle and the minimum angle. The air conditioner determines the lowest temperature as the outlet air temperature. The lowest temperature can be the minimum temperature value that can be set in the remote controller, or can be the minimum temperature value in the wake-up mode. In this way, since the preset time length is short, the user is still in a wake state or a light sleep state even if the user falls asleep again. At this time, the user is quickly stimulated by the outlet air with high intensity, so that the user feels uncomfortable and quickly wakes up and gets up, thereby improving the effect of the air conditioner on waking up the user to get up.
[0135] In combination with Figure 9 As shown in the figure, the embodiment of the present disclosure provides a device for controlling an air conditioner, which comprises a processor 41 and a memory 42. Optionally, the device can also comprise a communication interface 43 and a bus 44. The processor 41, the communication interface 43 and the memory 42 can complete communication with each other through the bus 44. The communication interface 43 can be used for information transmission. The processor 41 can invoke the logical instructions in the memory 42 to execute the method for controlling the air conditioner of the above-mentioned embodiments.
[0136] In addition, the logic instructions in the memory 42 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium.
[0137] The memory 42 serves as a storage medium and can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiments of the present disclosure. The processor 41 executes the program instructions / modules stored in the memory 42, thereby performing functional applications and data processing, i.e., implementing the method for controlling the air conditioner in the above embodiments.
[0138] The memory 42 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function; and the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 42 can include a high-speed random access memory, and can also include a non-volatile memory.
[0139] The present disclosure provides an air conditioner comprising the above-described device for controlling the air conditioner.
[0140] The present disclosure provides a storage medium storing computer executable instructions, which are configured to execute the above-described method for controlling the air conditioner.
[0141] The above-described storage medium can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
[0142] The technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. various media that can store program codes, or can be a transitory storage medium.
[0143] 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.
[0144] 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.
[0145] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to apparatuses, devices, etc.), can be implemented in other manners. For example, the described apparatus embodiments can be implemented only in a form of a logical function, and can be implemented by using a manner such as software (for example, application program) or the like. In some embodiments, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or indirect coupling between different units, or the coupling or direct coupling or indirect coupling between the displayed or discussed communication connections can be in a form of electrical, mechanical or other forms.
[0146] The flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operations of the system, method and computer program product according to the embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks can occur in an order different from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the drawings, the operations or steps corresponding to different blocks can also occur in an order different from that disclosed in the descriptions, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized by, The method comprises: obtaining a current time; in a case where it is determined that the current time meets a wake-up condition, obtaining a first contact area of a user on the smart mattress; in a case where the first contact area is greater than or equal to an area threshold, adjusting a current operation mode; wherein adjusting the current operation mode comprises: obtaining a sleep state of the user; in a case where the sleep state is a light sleep state, adjusting the current operation mode to a first wake-up mode; in a case where the sleep state is a deep sleep state, adjusting the current operation mode to a second wake-up mode; adjusting the current operation mode to the first wake-up mode comprises: controlling an indoor fan to operate in a constant speed mode; obtaining a first area angle of a skin area exposed by the user; and adjusting an angle of a deflector to the first area angle; adjusting the current operation mode to the second wake-up mode comprises: controlling the indoor fan to operate in a variable speed mode; obtaining a second area angle of a skin area covered by the user; and adjusting the angle of the deflector to the second area angle.
2. The method of claim 1, wherein, determining that the current time meets the wake-up condition comprises: obtaining a set time of the user; determining that a difference between the set time and the current time is an interval duration; in a case where the interval duration is less than or equal to a preset duration, determining that the current time meets the wake-up condition.
3. The method according to claim 1 or 2, characterized in that, after adjusting the current operation mode, the method further comprises: obtaining a second contact area of the user on the smart mattress; in a case where the second contact area is less than the area threshold, detecting a current distance between the air conditioner and the user; adjusting the current operation mode according to the current distance.
4. The method of claim 3, wherein, adjusting the current operation mode according to the current distance comprises: determining a distance difference between the current distance and a historical distance; in a case where the distance difference is less than or equal to a distance threshold, keeping the current operation mode unchanged; in a case where the distance difference is greater than the distance threshold, adjusting the current operation mode to an initial operation mode.
5. An apparatus for controlling an air conditioner, comprising a processor and a memory having stored program instructions, characterized in that, The processor is configured to execute the method for controlling the air conditioner when the program instructions are executed.
6. An air conditioner characterized by comprising: The device for controlling the air conditioner comprises the device according to claim 5.
7. A storage medium storing program instructions, characterized in that, The program instructions are executed to perform the method for controlling the air conditioner according to any one of claims 1 to 4.
Citation Information
Patent Citations
Power supply method, device and system and mattress
CN110912221A
Control method and control device for air conditioner and air conditioner
CN113432286A