Air conditioner control method, device, apparatus and computer storage medium

By analyzing the user's eye movement characteristics, the system can autonomously control the air conditioner to turn on or off, solving the problem that bedridden users cannot control the air conditioner independently and ensuring their safety in emergency situations.

CN119492115BActive Publication Date: 2026-05-12QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
Filing Date
2023-08-15
Publication Date
2026-05-12

Smart Images

  • Figure CN119492115B_ABST
    Figure CN119492115B_ABST
Patent Text Reader

Abstract

The air conditioner control method, device, equipment and computer storage medium provided by the application, the method comprises: acquiring a face image of a user in real time, and analyzing the face image to obtain an eye movement feature; classifying the eye movement feature to obtain an air conditioner control type, the air conditioner control type being at least one of air conditioner start, air conditioner shutdown or emergency alarm; and controlling the air conditioner to perform corresponding operation according to the air conditioner control type. By acquiring and analyzing the eye movement feature of the user, the user who is in bed or has difficulty in movement can control the air conditioner to start or shut down through eye movement, and control the air conditioner to perform emergency alarm in an emergency, thereby improving the life quality of the user and ensuring the life safety of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of smart home appliance technology, specifically relating to an air conditioning control method, device, equipment, and computer storage medium. Background Technology

[0002] With economic development, social progress, and increased awareness of humanistic care, more and more people are beginning to pay attention to the quality of life of sick, bedridden, or disabled individuals.

[0003] When a user is bedridden due to illness or is a disabled person with limited mobility, and can only lie in bed without being able to move their limbs, speak, or take care of themselves, they often need the help of medical staff or family members accompanying them to turn on the indoor air conditioning to a comfortable mode. In this situation, if the user is alone in the room, they cannot turn on the air conditioning by themselves, causing discomfort. In addition, if the user encounters an emergency requiring medical assistance at this time, it can easily lead to danger.

[0004] Therefore, the urgent problem to be solved is how to enable bedridden users to independently control the air conditioning to a comfort mode and avoid life-threatening emergencies, so as to improve the quality of life of users. Summary of the Invention

[0005] To address the aforementioned problems—namely, how to enable bedridden users to independently control the air conditioning to a comfort mode while preventing life-threatening emergencies and thus improving their quality of life—this invention provides an air conditioning control method, apparatus, device, and computer storage medium.

[0006] In a first aspect, embodiments of the present invention provide an air conditioning control method, characterized in that it includes:

[0007] The system acquires the user's facial images in real time and analyzes the facial images to obtain eye movement features.

[0008] The eye movement characteristics are classified to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm;

[0009] According to the air conditioning control type, control the air conditioner to perform the corresponding operation.

[0010] Optionally, classifying the eye movement features to obtain the air conditioning control type includes:

[0011] If the eye movement features include blinking features, then the air conditioning control type is determined to be air conditioning on or air conditioning off based on the number of blinks and the blink interval duration in the blinking features.

[0012] If the eye movement characteristics include emergency mode characteristics, then the air conditioning control type is determined to be an emergency alarm based on the indoor environment information. The emergency mode characteristics include at least one of the following: worried look, narrowed eyes, and wrinkles appearing at the eyebrows.

[0013] Optionally, determining the air conditioning control type as air conditioning on or air conditioning off based on the blink frequency and blink interval duration in the blink characteristics includes:

[0014] If the blink count is two, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the second duration of the interval between two adjacent blinks is less than the second preset duration, then when the air conditioner is in the off state, the air conditioner control type is determined to be air conditioner on.

[0015] If the blink count is three, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the third duration of the interval between three consecutive blinks is less than the second preset duration, then when the air conditioner is in the on state, the air conditioner control type is determined to be air conditioner off.

[0016] Optionally, determining whether the air conditioning control type is an emergency alarm based on indoor environmental information includes:

[0017] Based on the indoor user information, determine whether there are other users currently in the room;

[0018] If no other users are present, the air conditioning control type is determined to be an emergency alarm.

[0019] Optionally, according to the above air conditioning control method, if the air conditioning control type is air conditioning start-up, controlling the air conditioning to perform corresponding operations according to the air conditioning control type includes:

[0020] Acquire indoor environmental information, which includes at least one of temperature, humidity, or air quality;

[0021] Based on the indoor environment information and the target environment information corresponding to the current season, obtain the operating parameters of the air conditioner;

[0022] Control the air conditioner to turn on, and control the operation of the air conditioner according to the parameters to be operated.

[0023] Optionally, if the air conditioning control type is an emergency alarm, controlling the air conditioning to perform corresponding operations according to the air conditioning control type includes:

[0024] The air conditioner is controlled to emit a continuous ringing alarm;

[0025] If another user is detected within the third preset time period, the ringing will be turned off and the emergency alarm will be deactivated.

[0026] If no other users are detected within the third preset time period, and the eye activity features continuously acquired within the third preset time period are emergency mode features, then an emergency call will be triggered to issue an alarm.

[0027] Optionally, triggering the emergency call to issue an alarm includes:

[0028] Call the emergency contact using their contact number;

[0029] If the emergency contact call fails, a preset emergency number will be called and a preset voice message will be played, which is used to indicate the user's status and geographical location.

[0030] In a second aspect, embodiments of the present invention provide an air conditioning control device, characterized in that it includes:

[0031] Acquisition module: Acquires the user's facial image in real time and analyzes the facial image to obtain eye movement features;

[0032] Processing module: Classifies the eye movement features to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm;

[0033] Control module: Controls the air conditioner to perform corresponding operations according to the air conditioner control type.

[0034] Optionally, the processing module is further configured to determine the air conditioning control type as air conditioning on or air conditioning off based on the number of blinks and the blink interval duration in the blink features when the eye activity features include blinking features.

[0035] The processing module is further configured to determine, based on indoor environmental information, whether the air conditioning control type is an emergency alarm when the eye activity features include emergency mode features, wherein the emergency mode features include at least one of the following: worried look, narrowed eyes, and wrinkles appearing at the eyebrows.

[0036] Optionally, the processing module is further configured to determine the air conditioner control type as air conditioner on when the air conditioner is in a non-operational state, provided that the blinking count is twice, the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the second duration of the interval between two adjacent blinks is less than a second preset duration.

[0037] Optionally, the processing module is further configured to determine that the air conditioner control type is air conditioner off when the air conditioner is in the on state, provided that the blinking count is three times, the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the third duration of the interval between three adjacent blinks is less than a second preset duration.

[0038] Optionally, the air conditioning control device further includes a judgment module;

[0039] The judgment module is used to determine whether there are other users in the room based on the indoor user information.

[0040] The processing module is also used to determine that the air conditioning control type is an emergency alarm when there are no other users in the room.

[0041] Optionally, the acquisition module is further configured to acquire indoor environmental information, which includes at least one of temperature, humidity, or air quality;

[0042] The processing module is also used to obtain the operating parameters of the air conditioner based on the indoor environment information and the target environment information corresponding to the current season;

[0043] The control module is also used to control the air conditioner to start and to control the operation of the air conditioner according to the parameters to be run.

[0044] Optionally, the control module is also used to control the air conditioner to emit a continuous ringing alarm;

[0045] The control module is also used to control the ringing to be turned off and the emergency alarm to be exited when other users are detected within a third preset time period.

[0046] The control module is also used to trigger an emergency call to issue an alarm when no other users are detected within a third preset time period and the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics.

[0047] Optionally, the control module is also configured to call the emergency contact based on the emergency contact's phone number;

[0048] The control module is also used to call a preset emergency number and play a preset voice message when the emergency contact call fails. The preset voice message is used to indicate the user's status and geographical location.

[0049] Thirdly, embodiments of the present invention provide an air conditioning control device, characterized in that it includes:

[0050] At least one processor and memory;

[0051] The memory stores computer-executed instructions;

[0052] The at least one processor executes computer execution instructions stored in the memory, such that the at least one processor, when executed, implements the air conditioning control method as described in the first aspect and various possible implementations of the first aspect above.

[0053] Fourthly, the present invention also provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the air conditioning control method as described in the first aspect and various possible implementations thereof.

[0054] This application provides an air conditioning control method, apparatus, device, and computer storage medium. The method includes: acquiring a user's facial image in real time and analyzing the facial image to obtain eye movement features; classifying the eye movement features to obtain an air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm; and controlling the air conditioning to perform corresponding operations according to the air conditioning control type. This application enables bedridden or disabled users with limited mobility to autonomously control the air conditioning to turn on or off through eye movements, automatically adjust the air conditioning to a comfortable mode based on indoor and outdoor environmental information, and trigger an emergency alarm in case of an emergency, thereby improving the user's quality of life and ensuring the user's safety. Attached Figure Description

[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0056] Figure 1 This is the flow chart of the air conditioning control method provided in this application. Figure 1 ;

[0057] Figure 2 This is the flow chart of the air conditioning control method provided in this application. Figure 2 ;

[0058] Figure 3 This is the flow chart of the air conditioning control method provided in this application. Figure 3 ;

[0059] Figure 4 This is the flow chart of the air conditioning control method provided in this application. Figure 4 ;

[0060] Figure 5 This is a schematic diagram of the structure of the air conditioning control device provided in this application;

[0061] Figure 6 This is a structural schematic diagram of the air conditioning control equipment provided in this application.

[0062] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0063] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention 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 so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein.

[0065] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0066] With economic development, social progress, and increased awareness of humanistic care, more and more people are beginning to pay attention to the quality of life of bedridden patients and people with disabilities.

[0067] When a user is bedridden due to illness or is a disabled person with limited mobility, unable to speak, move, or take care of themselves, they often need the assistance of medical staff or family members accompanying them to turn on the indoor air conditioning to a comfortable mode or turn it off. In such cases, if the user is alone in the room, the air conditioning cannot be turned on or off, causing discomfort to the user. Furthermore, if the user experiences an emergency requiring medical assistance at this time, it could easily lead to danger.

[0068] Therefore, the urgent problem to be solved is how to enable bedridden users to independently control the air conditioning to a comfort mode and avoid life-threatening emergencies, so as to improve the quality of life of users.

[0069] The air conditioning control method provided in this application controls the air conditioner to acquire a user's facial image in real time, analyzes the facial image to obtain the user's eye movement characteristics, classifies the eye movement characteristics to obtain the air conditioning control type, and controls the air conditioner to turn on, turn off, or trigger an emergency alarm according to the air conditioning control type. By acquiring and analyzing the user's eye movement characteristics, this application enables bedridden or disabled users with limited mobility to autonomously control the air conditioner to turn on or off through eye movements, automatically adjust the air conditioner to a comfortable mode based on indoor and outdoor environmental information, and trigger an emergency alarm in case of an emergency, thereby improving the user's quality of life and ensuring the user's safety.

[0070] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0071] Figure 1 Flowchart of the air conditioning control method provided in the embodiments of this application Figure 1 ;like Figure 1 As shown, the air conditioning control method specifically includes the following steps:

[0072] S101: Acquire the user's facial image in real time and analyze the facial image to obtain eye movement features.

[0073] This invention can be applied to scenarios such as user bedrooms and hospital wards. By setting an image acquisition device in the air conditioner, it acquires facial images of a bedridden user in the current scenario. The image acquisition device can be, for example, a high-definition camera, an infrared camera, a scanner, etc., and this application does not limit it. The acquisition frequency of the image acquisition device can be, for example, one frame every 0.2 seconds. The air conditioning control system performs image processing on the user's facial images acquired by the image acquisition device, such as grayscale processing and illumination compensation, and extracts features from the user's eye features in the user's facial images to obtain user eye activity features. The user eye activity features include: the number of times the user blinks, the duration of the user's blinking interval, the user's worried look, the user's eyes shrinking, and wrinkles appearing at the user's eyebrows, etc.

[0074] S102: Classify the eye movement characteristics to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm.

[0075] To enable bedridden users to autonomously control the air conditioner to turn on or off via eye movements, and to control the air conditioner to trigger an emergency alarm in case of an emergency, this application classifies the extracted user eye activity features into blinking features and emergency mode features. The blinking features include: the number of blinks and the duration of blink intervals; the emergency mode features include: a worried expression in the user's eyes, narrowed eyes, and wrinkles appearing at the user's eyebrows. Based on this classification, the air conditioner control type can be determined, which is at least one of air conditioner on, air conditioner off, or emergency alarm.

[0076] Specifically, based on the blinking feature in the eye activity feature classification, the control type for turning the air conditioner on and off can be obtained. This is achieved by determining the air conditioner's on / off control type based on the user's blinking frequency and blink interval duration. The user's blinking frequency is determined as follows: if the duration of the user's blink with all eyelids closed is greater than a first preset duration, then one blink is considered successful. The user's blink interval duration is determined as the interval between the time when the user's eyelids are fully closed during their first blink and the time when the user's eyelids are fully open at the end of the blinking frequency statistics.

[0077] Based on the emergency mode features in the eye activity feature classification, the control type of the emergency alarm can be obtained. Specifically, if by analyzing the user's eye activity features, it is found that the user exhibits at least one of the following emergency mode features: the user's eyes look worried, the user's eyes are narrowed, or the user's eyebrows are wrinkled, then the control type of the air conditioner is further determined as an emergency alarm based on the indoor environment information.

[0078] S103: Control the air conditioner to perform the corresponding operation according to the air conditioner control type.

[0079] Specifically, the air conditioner is controlled to perform corresponding operations based on the air conditioner control type, such as air conditioner on, air conditioner off, or emergency alarm. If the user blinks twice, and the duration of complete eyelid closure in each blink is greater than the first preset duration, and the duration of two consecutive blinks is less than the second preset duration, then the current air conditioner control type is determined to be air conditioner on.

[0080] If the user blinks three times, and the duration of each blink during which the eyelids are fully closed is greater than the first preset duration, and the duration of three consecutive blinks is less than the second preset duration, then the current air conditioning control type is determined to be air conditioning off.

[0081] If at least one of the following conditions is detected in the user's emergency mode characteristics: the user's worried expression, the user's narrowed eyes, or the user's wrinkled eyebrows, then the air conditioning control type is further determined to be an emergency alarm based on the indoor environment information.

[0082] The air conditioning control method provided in this embodiment acquires a user's facial image in real time and analyzes the facial image to obtain eye movement features. These eye movement features are then classified to determine the air conditioning control type, which is at least one of air conditioning on, air conditioning off, or emergency alarm. Based on the air conditioning control type, the air conditioning is controlled to perform the corresponding operation. By acquiring and analyzing the user's eye movement features, bedridden or disabled users can autonomously control the air conditioning to turn on or off through eye movements, and can also control the air conditioning emergency alarm in case of an emergency, improving the user's quality of life and ensuring their safety.

[0083] Figure 2 Flowchart of the air conditioning control method provided in the embodiments of this application Figure 2 ; Figure 2 exist Figure 1 Based on this, a detailed explanation is provided of the method for determining the air conditioning control type and controlling the air conditioning to perform corresponding operations based on the user's eye movement characteristics, such as... Figure 2 As shown, the method includes:

[0084] S201: Acquire the user's facial image in real time and analyze the facial image to obtain eye movement features.

[0085] The steps and principles of acquiring the user's facial image in real time and analyzing the facial image to obtain eye movement features are the same as in S101, and will not be repeated here.

[0086] S202: If the eye movement characteristics include emergency mode characteristics, then determine whether the air conditioning control type is an emergency alarm based on the indoor environment information.

[0087] In situations where a user is bedridden due to illness or is a disabled person with limited mobility, unable to move their limbs, speak, or care for themselves, a sudden medical emergency could threaten their life because they cannot call for help in time. To avoid such situations, this application sets up a system where, when the user's eye activity characteristics show at least one of the following emergency mode characteristics: a worried look in the user's eyes, narrowed eyes, or wrinkles in the user's eyebrows, the system determines whether the air conditioning control type is an emergency alarm based on indoor environmental information. Specifically, the indoor environmental information includes whether there are other users in the room. If there are no other users in the room, the air conditioning control type is determined to be an emergency alarm.

[0088] S203: If the eye activity features include blinking features, then obtain the number of blinks and the blink interval duration from the blinking features.

[0089] To enable bedridden users to control the air conditioning system autonomously through eye movements, this application determines the air conditioning control type by acquiring the number of blinks and the blink interval duration from the user's blinking characteristics. The number of blinks is acquired as follows: if the duration of a blink with the user's eyelids fully closed is greater than a first preset duration, then the user blinks once. The first preset duration can be, for example, 1 second. The blink interval duration is acquired by acquiring the interval between the time when the user's eyelids fully close during the first blink and the time when the user's eyelids fully open at the end of the blink count. For example, if a user blinks and the duration of eyelid closure is greater than 1 second, and this action is repeated twice, then the user blinks twice. If the user's first eyelid closure time is 9:10:21, and the second eyelid opening time is 9:10:26, then the blink interval duration is 5 seconds.

[0090] S204: If the number of blinks is two, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the second duration of the interval between two adjacent blinks is less than the second preset duration, then when the air conditioner is in the off state, the air conditioner control type is determined to be air conditioner on.

[0091] The method for determining the air conditioner control type as air conditioner on is as follows: when the user blinks twice, and the duration of each blink with the eyelids fully closed is greater than the first preset duration and the duration of two adjacent blinks is less than the second preset duration, then the current air conditioner control type is determined to be air conditioner on. The second preset duration can be, for example, 8 seconds. For example, if the user blinks twice, and the duration of each blink with the eyelids fully closed is 1.2 seconds, which is greater than the reference duration of 1 second of the first preset duration shown in S203, and the duration of two adjacent blinks is 7 seconds, which is less than the second preset duration of 8 seconds, then the current air conditioner control type is determined to be air conditioner on.

[0092] S205: If the number of blinks is three, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the third duration of the interval between three adjacent blinks is less than the second preset duration, then when the air conditioner is in the on state, the air conditioner control type is determined to be air conditioner off.

[0093] The method for determining the air conditioner control type as air conditioner on is as follows: if the user blinks three times, and the duration of each blink with the eyelids fully closed is greater than the first preset duration and the duration of the three consecutive blinks is less than the second preset duration, then the current air conditioner control type is determined to be air conditioner off. The second preset duration can be, for example, 8 seconds. For example, if the user blinks three times, and the duration of each blink with the eyelids fully closed is 1.5 seconds, which is greater than the reference duration of 1 second of the first preset duration shown in S203, and the duration of the three consecutive blinks is 6 seconds, which is less than the second preset duration of 8 seconds, then the current air conditioner control type is determined to be air conditioner off.

[0094] The air conditioning control method provided in this embodiment acquires and analyzes a user's facial image to obtain the user's eye movement characteristics. These characteristics are then analyzed and categorized to determine whether they are blinking or emergency mode features. If blinking is a characteristic, the air conditioning control type (air conditioning on or off) is determined based on the number of blinks and the duration of the blink interval. If emergency mode features are a characteristic, the air conditioning control type (emergency alarm) is determined based on indoor environmental information. This allows bedridden or disabled users to autonomously control the air conditioning by eye movements and to activate the emergency alarm in case of an emergency, improving their quality of life and ensuring their safety.

[0095] Figure 3 Flowchart of the air conditioning control method provided in the embodiments of this application Figure 3 ; Figure 3 exist Figure 1 Based on this, when the air conditioner control type is set to "Air Conditioner On", the methods for controlling the air conditioner to perform corresponding operations will be explained in detail, such as... Figure 3 As shown, the method includes:

[0096] S301: Obtain indoor environmental information, which includes at least one of temperature, humidity, or air quality.

[0097] In order to control the air conditioner to automatically adjust to the comfort mode based on indoor environmental information to improve the user experience of bedridden or disabled users, it is necessary to obtain indoor environmental information. The indoor environmental information includes at least one of temperature, humidity, or air quality. It is understood that the temperature, humidity, or air quality included in the above-mentioned indoor environmental information corresponds to various operating parameters of the air conditioner, such as temperature, wind speed, and humidity. For example, the air conditioner can obtain the air conditioner operating temperature parameter by obtaining the indoor ambient temperature, and obtain the operating wind speed, humidity, and other parameters by obtaining the indoor temperature and air quality.

[0098] S302: Obtain the operating parameters of the air conditioner based on the indoor environment information and the target environment information corresponding to the current season.

[0099] To provide users with the best user experience and improve the accuracy of air conditioner operating parameters corresponding to the user's environment, this application, based on the acquired indoor environmental information, further acquires the target environmental information corresponding to the current season. Based on the target environmental information corresponding to different seasons, more detailed air conditioner operating parameters are generated. The target environmental information corresponding to the current season includes seasonal information, weather information, and the air conditioner usage time period. For example, after acquiring the indoor environmental information, if the current season is spring, summer, autumn, or winter, then the average weather information for that season and the current weather information (e.g., sunny, rainy, cloudy) are acquired, along with the current air conditioner usage time period (e.g., early morning, noon, afternoon). Finally, based on the indoor environmental information and the target environmental information corresponding to the current season, the air conditioner operating parameters for a comfortable user environment are obtained. These operating parameters may include a series of parameters such as temperature, wind speed, and humidity. For example, based on the current indoor environmental information (temperature 28℃, humidity 30℃, good air quality) and the target environmental information corresponding to the current season (e.g., summer, sunny, noon), the air conditioner operating parameters are output as follows: temperature 25℃, wind speed level 3, humidity 40%.

[0100] S203: Control the air conditioner to turn on, and control the operation of the air conditioner according to the parameters to be operated.

[0101] Specifically, after determining the current air conditioning control type as air conditioning on based on the blink count and blink interval duration included in the blink characteristics, the system acquires at least one of the indoor environmental information, including temperature, humidity, or air quality. Based on the indoor environmental information and the target environmental information corresponding to the current season, it obtains the air conditioning's operating parameters, controls the air conditioning to start, and controls the air conditioning to operate according to the operating parameters. For example, given a temperature of 28°C, humidity of 40%, good air quality, and parameters such as summer, sunny, and midday included in the target environmental information corresponding to the current season, the system outputs air conditioning operating parameters of 25°C, wind speed level 3, and humidity of 40%, and controls the air conditioning to operate. Similarly, given a temperature of -3°C, humidity of 20%, hazy air quality, and parameters such as winter, hazy, and night included in the target environmental information corresponding to the current season, the system outputs air conditioning operating parameters of 26°C, wind speed level 3, and humidity of 40%, and controls the air conditioning to operate.

[0102] The air conditioning control method provided in this embodiment, when the air conditioning control type is "air conditioning on", acquires indoor environmental information, including at least one of temperature, humidity, or air quality; based on the indoor environmental information and the target environmental information corresponding to the current season, acquires the air conditioning's operating parameters; controls the air conditioning to start, and controls the air conditioning to operate according to the operating parameters. This allows bedridden or disabled users who cannot independently adjust the air conditioning operating mode to have an air conditioning experience adapted to the current indoor and outdoor environment after the air conditioning is turned on, improving the user's quality of life.

[0103] Figure 4 Flowchart of the air conditioning control method provided in the embodiments of this application Figure 4 ; Figure 4 exist Figure 1 Based on this, the method of controlling the air conditioner to perform corresponding operations when the user's eye activity characteristics include emergency mode characteristics is explained in detail, such as Figure 4 As shown, the method includes:

[0104] S401: Based on the indoor user information, determine whether there are other users in the room; if yes, proceed to S402; otherwise, the process ends.

[0105] In situations where a user is bedridden due to illness or is a disabled person with limited mobility, unable to move their limbs, speak, or care for themselves, a sudden medical emergency may occur if no one else is present in the room. This could threaten the user's life as they may be unable to call for help in time. To avoid such situations, this application sets up a system where, when the user's eye activity characteristics show at least one of the following emergency mode characteristics: a worried look in the user's eyes, narrowed eyes, or wrinkles appearing on the user's eyebrows, the system acquires indoor user information, determines whether other users are present in the room based on the indoor environmental information, and determines whether the air conditioning control type is an emergency alarm.

[0106] S402: Determine the air conditioning control type as an emergency alarm, and control the air conditioning to emit a continuous ringing alarm.

[0107] If the user's eye activity characteristics show at least one of the following emergency mode characteristics: the user's worried look, the user's eyes shrinking, or the user's eyebrows wrinkling, and there are no other users in the room, the air conditioning control type is determined to be an emergency alarm. The air conditioning is then controlled to immediately issue a continuous ringing alarm to remind the user's family members or medical personnel to check on the user's condition. The ringing decibel should be between 50dB and 90dB to ensure that the user's family members or medical personnel who are not in the room can hear it.

[0108] S403: Based on the indoor user information, determine whether other users are detected indoors within the third preset time period; if yes, execute S404; otherwise, execute S405.

[0109] The third preset duration is the upper limit of the time set by this application for the ringing alarm to remind the user's family members or medical staff to check the user's condition. The third preset duration can be, for example, 2 minutes. Within the third preset duration, the system monitors in real time whether there are other users in the room. If the current ringing alarm duration exceeds the third preset duration but no one else is detected in the room where the user is, the air conditioner needs to be controlled to perform further operations to transmit the user's current physical condition and location information in order to ensure the user's life safety.

[0110] S404: Turn off the alarm and exit the emergency alarm.

[0111] If other users are detected indoors within the third preset time period, it is determined that medical personnel or family members have come to check on the user's condition, and that the user's life is not in danger due to lack of care. The air conditioner is then deactivated from the emergency alarm control type, and the alarm is turned off. The alarm can be manually turned off by the medical personnel or family members checking on the user, or it can be automatically turned off after the third preset time period if other users are detected indoors. This application does not impose any restrictions on this.

[0112] S405: Determine whether the continuously acquired eye activity features within the third preset time period are emergency mode features; if yes, execute S406; otherwise, execute S404.

[0113] If no other user is detected within the third preset time period, it is determined that no medical staff or family members have come to check on the user's condition. In this case, if the user's eye activity characteristics continue to show at least one of the emergency mode characteristics: the user's worried look, the user's eyes shrinking, or wrinkles appearing on the user's eyebrows, it is determined that the user's condition is critical and life-threatening due to lack of care. The air conditioner needs to be controlled to call someone to check on the user's condition via communication to ensure the user's safety.

[0114] S406: Call the emergency contact based on the emergency contact's phone number.

[0115] If, within the third preset time period, no other user is detected and the user's eye activity characteristics continue to appear, at least one of the following conditions is included in the emergency mode characteristics: the user's worried eyes, the user's eyes shrinking, and the user's eyebrows wrinkling. In order to ensure the user's safety, it is necessary to call an emergency contact via communication. The emergency contact can be a user's preset emergency contact, or it can be a contact in the current address book who is the user's spouse, child, or parent.

[0116] S407: Determine if the emergency contact was successfully called; if yes, proceed to S404; otherwise, proceed to S408.

[0117] The failure to call the emergency contact could occur in situations such as: the user's preset or default emergency contact does not answer the phone within 15 seconds, or there is no contact in the user's current address book who is a spouse, child, or parent of the user. In such cases, the air conditioner should be activated to call the emergency number to ensure the user's safety.

[0118] S408: Calls the preset emergency number and plays the preset voice message.

[0119] When the emergency contact fails to be reached, a preset emergency number will be called and a preset voice message will be automatically played after the call is connected to ensure the user's safety. The preset voice message includes information such as: the user is in pain, there is no one else around, the name of the user's city, district, community street, and the user's floor and door number. A text message containing the preset voice message will also be sent so that emergency personnel can quickly know the user's current physical condition and location and provide the user with the most timely assistance.

[0120] The air conditioning control method provided in this embodiment determines whether other users are currently present in the room based on indoor user information. If no other users are present, the air conditioning control type is determined to be an emergency alarm. The air conditioner is controlled to issue a continuous ringing alarm. If other users are detected within a third preset time period, the ringing is stopped and the emergency alarm is deactivated. If no other users are detected within the third preset time period, and the continuously acquired eye activity characteristics within the third preset time period are emergency mode characteristics, an emergency call is triggered, and an emergency contact is contacted according to the emergency contact's phone number. If the emergency contact's call fails, a preset emergency number is called, and a preset voice message is played, which indicates the user's status and geographical location. Controlling the air conditioner to issue an emergency alarm in case of an emergency improves the user's quality of life and ensures the user's safety.

[0121] Figure 5 This is a schematic diagram of the air conditioning control device provided by the present invention, as shown below. Figure 5 As shown, the air conditioning control device 50 includes:

[0122] Acquisition module 51: Acquires the user's facial image in real time and analyzes the facial image to obtain eye movement features;

[0123] Processing module 52: Classifies the eye movement features to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm;

[0124] Control module 53: Controls the air conditioner to perform corresponding operations according to the air conditioner control type.

[0125] Optionally, the processing module 52 is further configured to determine the air conditioning control type as air conditioning on or air conditioning off based on the number of blinks and the blink interval duration in the blink features when the eye activity features include blinking features.

[0126] The processing module 52 is further configured to determine, based on indoor environmental information, whether the air conditioning control type is an emergency alarm when the eye activity features include emergency mode features, wherein the emergency mode features include at least one of the following: worried look, narrowed eyes, and wrinkles appearing at the eyebrows.

[0127] Optionally, the processing module 52 is further configured to determine the air conditioner control type as air conditioner on when the air conditioner is in a non-operational state, provided that the blinking count is twice, the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the second duration of the interval between two adjacent blinks is less than the second preset duration.

[0128] Optionally, the processing module 52 is further configured to determine the air conditioner control type as air conditioner off when the air conditioner is in the on state, provided that the blinking count is three times, the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the third duration of the interval between three adjacent blinks is less than a second preset duration.

[0129] Optionally, the air conditioning control device further includes a judgment module 54;

[0130] The judgment module 54 is used to determine whether there are other users in the room based on the indoor user information.

[0131] The processing module 52 is also used to determine that the air conditioning control type is an emergency alarm when there are no other users in the room.

[0132] Optionally, the acquisition module 51 is further configured to acquire indoor environmental information, which includes at least one of temperature, humidity, or air quality.

[0133] The processing module 52 is also used to obtain the operating parameters of the air conditioner based on the indoor environment information and the target environment information corresponding to the current season;

[0134] The control module 53 is also used to control the air conditioner to start and to control the operation of the air conditioner according to the parameters to be run.

[0135] Optionally, the control module 53 is also used to control the air conditioner to emit a continuous ringing alarm;

[0136] The control module 53 is also used to control the ringing to be turned off and the emergency alarm to be exited when other users are detected within a third preset time period.

[0137] The control module 53 is also used to trigger an emergency call to issue an alarm when no other user is detected within a third preset time period and the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics.

[0138] Optionally, the control module 53 is also configured to call the emergency contact based on the emergency contact's phone number;

[0139] The control module 53 is also used to call a preset emergency number and play a preset voice message when the emergency contact call fails. The preset voice message is used to indicate the user's status and geographical location.

[0140] Figure 6 This is a schematic diagram of the structure of the air conditioning control device provided by the present invention. The air conditioning control device includes:

[0141] At least one processor and memory;

[0142] The memory stores computer-executed instructions;

[0143] The at least one processor executes computer execution instructions stored in the memory, such that the at least one processor, when executed, implements the air conditioning control method as described in the first aspect and various possible implementations of the first aspect above.

[0144] The present invention also provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the air conditioning control method according to any one of the first aspects.

[0145] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An air conditioning control method, characterized in that, The method includes: The system acquires the user's facial images in real time and analyzes the facial images to obtain eye movement features. The eye movement characteristics are classified to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm; According to the air conditioner control type, control the air conditioner to perform corresponding operations; The classification of the eye movement features to obtain the air conditioning control type includes: If the eye movement features include blinking features, then the air conditioning control type is determined to be air conditioning on or air conditioning off based on the number of blinks and the blink interval duration in the blinking features. If the eye movement characteristics include emergency mode characteristics, then the air conditioning control type is determined to be an emergency alarm based on the indoor environment information. The emergency mode characteristics include at least one of the following: worried look, narrowed eyes, and wrinkles appearing at the eyebrows. If the air conditioner control type is an emergency alarm, controlling the air conditioner to perform corresponding operations according to the air conditioner control type includes: The air conditioner is controlled to emit a continuous ringing alarm; If another user is detected within the third preset time period, the ringing will be turned off and the emergency alarm will be deactivated. If no other users are detected within the third preset time period, and the eye activity features continuously acquired within the third preset time period are emergency mode features, then an emergency call will be triggered to issue an alarm.

2. The method according to claim 1, characterized in that, The step of determining the air conditioning control type as air conditioning on or air conditioning off based on the blink frequency and blink interval in blink characteristics includes: If the blink count is two, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the second duration of the interval between two adjacent blinks is less than the second preset duration, then when the air conditioner is in the off state, the air conditioner control type is determined to be air conditioner on. If the blink count is three, and the first duration of eyelid closure when the user blinks is greater than the first preset duration, and the third duration of the interval between three consecutive blinks is less than the second preset duration, then when the air conditioner is in the on state, the air conditioner control type is determined to be air conditioner off.

3. The method according to claim 1, characterized in that, The step of determining whether the air conditioning control type is an emergency alarm based on indoor environmental information includes: Based on the indoor user information, determine whether there are other users currently in the room; If no other users are present, the air conditioning control type is determined to be an emergency alarm.

4. The method according to claim 1 or 2, characterized in that, If the air conditioner control type is air conditioner on, then controlling the air conditioner to perform corresponding operations according to the air conditioner control type includes: Acquire indoor environmental information, which includes at least one of temperature, humidity, or air quality; Based on the indoor environment information and the target environment information corresponding to the current season, obtain the operating parameters of the air conditioner; Control the air conditioner to turn on, and control the operation of the air conditioner according to the parameters to be operated.

5. The method according to claim 1, characterized in that, The method of triggering the emergency call to issue an alarm includes: Call the emergency contact using their contact number; If the emergency contact call fails, a preset emergency number will be called and a preset voice message will be played, which is used to indicate the user's status and geographical location.

6. An air conditioning control device, characterized in that, include: Acquisition module: Acquires the user's facial image in real time and analyzes the facial image to obtain eye movement features; Processing module: Classifies the eye movement features to obtain the air conditioning control type, wherein the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm; Control module: Controls the air conditioner to perform corresponding operations according to the air conditioner control type; The processing module is further configured to: If the eye movement features include blinking features, then the air conditioning control type is determined to be air conditioning on or air conditioning off based on the number of blinks and the blink interval duration in the blinking features. If the eye movement characteristics include emergency mode characteristics, then the air conditioning control type is determined to be an emergency alarm based on the indoor environment information. The emergency mode characteristics include at least one of the following: worried look, narrowed eyes, and wrinkles appearing at the eyebrows. If the air conditioning control type is an emergency alarm, the control module is further used for: The air conditioner is controlled to emit a continuous ringing alarm; If another user is detected within the third preset time period, the ringing will be turned off and the emergency alarm will be deactivated. If no other users are detected within the third preset time period, and the eye activity features continuously acquired within the third preset time period are emergency mode features, then an emergency call will be triggered to issue an alarm.

7. An air conditioning control device, characterized in that, include: Memory; processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the air conditioning control method as described in any one of claims 1-5.

8. A computer storage medium, characterized in that, The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the air conditioning control method as described in any one of claims 1-5.