Air conditioner control method, device and equipment and computer storage medium
By analyzing the eye movement characteristics of bedside users and independently controlling the air conditioner, the problem that bedside users cannot control the air conditioner independently is solved, and first aid alarms are provided in emergency situations, improving the quality of life and life safety of users.
Patent Information
- Application Number
- CN202311029763.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2043-08-15
AI Technical Summary
The bedridden user cannot control the air conditioner to turn on to comfort mode independently, and in an emergency, it is prone to risk of life-threatening.
By obtaining the user's facial images in real time, analyzing the eye movement characteristics, classifying and determining the air conditioning control type (air conditioner power on, shutting down or first aid alarm), and controlling the air conditioner according to this type for corresponding operations.
Enables bedridden or mobility-inconvenient users to control air conditioners independently through eye movements, improve their quality of life, and promptly call the police in an emergency to ensure life safety.
Smart Images

Figure CN119492115A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to an air conditioning control method, device, equipment and computer storage medium. Background Art
[0002] With the development of economy, the progress of society and the improvement of people's awareness of humanistic care, more and more people begin to pay attention to the quality of life of the sick, bedridden or disabled groups.
[0003] When a user is bedridden due to illness or is a disabled person with limited mobility who can only lie in bed and cannot move his or her limbs, speak, or take care of himself or herself, if he or she needs to turn on the indoor air conditioner to a comfortable mode, he or she often needs the help of medical staff or a family member accompanying the user. In this case, if the user is the only one in the room, the user cannot turn on the air conditioner by himself or herself, causing discomfort to the user. In addition, if the user encounters an emergency situation that requires first aid from medical staff at this time, danger may easily occur.
[0004] Therefore, the current problem that needs to be solved urgently is how to enable bedridden users to independently control the air conditioner to turn on the comfort mode and avoid life-threatening emergencies, so as to improve the quality of life of users. Summary of the invention
[0005] In order to solve the above problem, that is, to solve how to enable bedridden users to autonomously control the air conditioner to turn on to a comfort mode and avoid emergency situations that endanger life, so as to improve the user's quality of life, the embodiments of the present invention provide an air conditioner control method, device, equipment and computer storage medium.
[0006] In a first aspect, an embodiment of the present invention provides an air conditioning control method, characterized by comprising:
[0007] Acquire a user's facial image in real time, and analyze the facial image to obtain eye movement features;
[0008] 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;
[0009] According to the air conditioning control type, the air conditioning is controlled to perform corresponding operations.
[0010] Optionally, the classifying the eye movement features to obtain the air conditioning control type includes:
[0011] If the eye activity feature includes a blink feature, determining the air conditioning control type as air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature;
[0012] If the eye activity characteristics include emergency mode characteristics, whether the air conditioning control type is an emergency alarm is determined based on the indoor environment information, wherein the emergency mode characteristics include at least one of sad eyes, narrowed eyes, and wrinkles on the eyebrows.
[0013] Optionally, determining the air conditioning control type as air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature includes:
[0014] 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 between two adjacent blinks is less than the second preset duration, then when the air conditioner is in an off state, it is determined that the air conditioner control type is air conditioner on;
[0015] 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 between three adjacent blinks is less than the second preset duration, then when the air conditioner is in the on state, it is determined that the air conditioner control type is air conditioner shutdown.
[0016] Optionally, determining whether the air conditioning control type is an emergency alarm according to the indoor environment information includes:
[0017] According to the indoor user information, determine whether there are other users in the room;
[0018] If there are no other users, 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 on, controlling the air conditioning to perform corresponding operations according to the air conditioning control type includes:
[0020] Acquiring indoor environmental information, wherein the indoor environmental information includes at least one of temperature, humidity or air quality;
[0021] Acquire the operating parameters of the air conditioner according to the indoor environment information and the target environment information corresponding to the current season;
[0022] The air conditioner is controlled to start up, and the air conditioner is controlled to run according to the parameters to be run.
[0023] Optionally, if the air conditioning control type is an emergency alarm, controlling the air conditioning to perform a corresponding operation according to the air conditioning control type includes:
[0024] Controlling the air conditioner to issue a continuous ringing alarm;
[0025] If other users are detected within the third preset time, the ringing will be turned off and the emergency alarm will be exited;
[0026] If no other user is detected within the third preset time period, and the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics, an emergency phone is triggered to issue an alarm.
[0027] Optionally, triggering an emergency phone to issue an alarm includes:
[0028] Call the emergency contact according to the emergency contact number;
[0029] If the call to the emergency contact fails, the preset emergency number is called and a preset voice is played, which is used to indicate the user status and the user's geographic location.
[0030] In a second aspect, an embodiment of the present invention provides 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: 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;
[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, when the eye activity feature includes a blink feature, that the air conditioning control type is air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature;
[0035] The processing module is also used to determine whether the air conditioning control type is an emergency alarm based on indoor environment information when the eye activity characteristics include emergency mode characteristics, wherein the emergency mode characteristics include at least one of sad eyes, narrowed eyes, and wrinkles on the eyebrows.
[0036] Optionally, the processing module is further configured to determine that the air conditioning control type is air conditioning on when the number of blinks is two and the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the second duration of an interval between two adjacent blinks is less than a second preset duration, and when the air conditioner is in an off state;
[0037] Optionally, the processing module is also used to determine that the air conditioning control type is air conditioning shutdown when the air conditioner is in the on state when the number of blinks is three and the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the third duration 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 judging module is used to judge whether there are other users in the room according to the indoor user information;
[0040] The processing module is further configured 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 used to acquire indoor environmental information, where the indoor environmental information includes at least one of temperature, humidity or air quality;
[0042] The processing module is further used to obtain the operating parameters of the air conditioner according to the indoor environment information and the target environment information corresponding to the current season;
[0043] The control module is further used to control the start-up of the air conditioner and control the operation of the air conditioner according to the parameters to be operated.
[0044] Optionally, the control module is further used to control the air conditioner to issue a continuous ringing alarm;
[0045] The control module is further configured 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 further configured to trigger an emergency phone 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.
[0047] Optionally, the control module is further used to call an emergency contact according to the emergency contact phone number;
[0048] The control module is also used to call a preset emergency number and play a preset voice when the emergency contact call fails. The preset voice is used to indicate the user status and the user's geographical location.
[0049] In a third aspect, an embodiment of the present invention provides an air conditioning control device, characterized in that it includes:
[0050] at least one processor and memory;
[0051] The memory stores computer-executable instructions;
[0052] The at least one processor executes the computer-executable instructions stored in the memory, so that when the at least one processor executes, the air-conditioning control method as described in the first aspect and various possible implementation methods of the first aspect is implemented.
[0053] In a fourth aspect, the present invention further provides a readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the air conditioning control method as described in the first aspect and various possible implementations of the first aspect is implemented.
[0054] The air conditioning control method, device, equipment and computer storage medium provided by the present application include: acquiring a user's facial image in real time, analyzing the facial image to obtain eye movement characteristics; classifying the eye movement characteristics 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. The present application enables bedridden or disabled users to autonomously control the air conditioning to turn on or off through eye movements, control the air conditioning to automatically adjust to a comfort mode according to indoor and outdoor environmental information, and issue an emergency alarm when an emergency occurs, thereby improving the user's quality of life and ensuring the user's life safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0056] Figure 1 This is the process of the air conditioning control method provided by this application Figure 1 ;
[0057] Figure 2 This is the process of the air conditioning control method provided by this application Figure 2 ;
[0058] Figure 3 This is the process of the air conditioning control method provided by this application Figure 3 ;
[0059] Figure 4 This is the process of the air conditioning control method provided by this application Figure 4 ;
[0060] Figure 5 is a structural schematic diagram of the air conditioning control device provided by the present application;
[0061] Figure 6 It is a structural schematic diagram of the air conditioning control device provided in this application.
[0062] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0064] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0065] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0066] With the development of economy, the progress of society and the improvement of people's awareness of humanistic care, more and more people begin to pay attention to the quality of life of bedridden users and disabled groups.
[0067] When a user is bedridden due to illness or is a disabled person with limited mobility, and is bedridden with difficulty speaking and moving, and cannot take care of himself, if he needs to turn on the indoor air conditioner to a comfortable mode or control the air conditioner to turn off, he often needs the help of medical staff or family members accompanying him in the bed; in this case, if the user is the only one in the room, the air conditioner cannot be turned on or off, causing discomfort to the user; in addition, if the user encounters an emergency situation at this time that requires first aid from medical staff, it is easy to get into danger.
[0068] Therefore, the current problem that needs to be solved urgently is how to enable bedridden users to independently control the air conditioner to turn on the 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 the present application controls the air conditioning to obtain the user's facial image in real time, analyzes the facial image, and obtains the user's eye movement characteristics; classifies the eye movement characteristics to obtain the air conditioning control type; and controls the air conditioning to turn on the air conditioning, turn off the air conditioning, or send an emergency alarm according to the air conditioning control type. By obtaining and analyzing the user's eye movement characteristics, the present application enables bedridden or disabled users to autonomously control the air conditioning to turn on or off through eye movements, control the air conditioning to automatically adjust to a comfort mode according to indoor and outdoor environmental information, and send an emergency alarm when an emergency occurs, thereby improving the user's quality of life and ensuring the user's life safety.
[0070] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0071] Figure 1 The process of the air conditioning control method provided in the embodiment of the present application Figure 1 ;like Figure 1 As shown, the air conditioning control method specifically includes the following steps:
[0072] S101: Acquire a user's facial image in real time, and analyze the facial image to obtain eye movement features.
[0073] Among them, the present invention can be applied to scenes such as user bedrooms and hospital wards. By setting an image acquisition device in the air conditioner, the facial image of the bedridden user in the current scene is obtained. The image acquisition device can be, for example, a high-definition camera, an infrared camera, a scanner, etc., and the present application does not impose any restrictions on this. 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 facial image acquired by the image acquisition device, such as grayscale processing, illumination compensation, etc., and extracts feature of the user's eye features in the user's facial image to obtain user eye activity features. The user eye activity features include: the number of times the user blinks, the length of the interval between blinks of the user, the sad look in the user's eyes, the narrowing of the user's eyes, the appearance of wrinkles on the user's eyebrows, etc.
[0074] S102: Classify 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.
[0075] In order to enable bedridden users to autonomously control the air conditioner to turn on or off through eye movements, and control the air conditioner to sound an emergency alarm in an emergency, the present application classifies the extracted user eye activity features, and divides the user eye activity features into blinking features and emergency mode features. The blinking features include: the number of times the user blinks, and the duration of the user's blink intervals; the emergency mode features include: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows. According to the classification, the air conditioner control type can be obtained, and the air conditioner control type is at least one of air conditioner on, air conditioner off, or emergency alarm.
[0076] Among them, according to the blinking feature in the eye activity feature classification, the control type of turning the air conditioner on and off can be obtained, which is specifically: according to the different number of times the user blinks and the length of the interval between blinks, the control type of turning the air conditioner on and off can be obtained; the method for obtaining the number of times the user blinks is: if the time when the user blinks and the user's eyelids are completely closed is greater than the first preset time, it is determined that the user blinks once; the method for obtaining the time interval between the user's blinks is: obtain the interval time between the time point when the user's eyelids are completely closed when the user blinks for the first time and the time point when the user's eyelids are completely open when the user's blink count ends.
[0077] According to the emergency mode characteristics in the eye activity characteristic classification, the control type of the first aid alarm can be obtained, which is specifically: if it is found through analyzing the user's eye activity characteristics that the user has at least one of the emergency mode characteristics including: the user's eyes are sad, the user's eyes are narrowed, and the user has wrinkles on his eyebrows, then it is further determined based on the indoor environment information whether the air conditioning control type is a first aid alarm.
[0078] S103: Controlling the air conditioner to perform corresponding operations according to the air conditioner control type.
[0079] According to the air conditioning control type, the air conditioning is controlled to perform corresponding operations. If the user blinks twice, the duration of the eyelids being completely closed each time 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 conditioning control type is determined to be air conditioning on.
[0080] If the user blinks three times, and the duration of each blink when the eyelids are completely closed is greater than the first preset duration and the duration of three consecutive blinks is less than the second preset duration, it is determined that the current air conditioning control type is air conditioning shutdown.
[0081] If it is obtained that the user has at least one of the emergency mode characteristics: the user has a sad look, the user's eyes are narrowed, and the user has wrinkles on his eyebrows, it is further determined based on the indoor environment information whether the air conditioning control type is an emergency alarm.
[0082] The air conditioning control method provided in this embodiment acquires the user's facial image in real time, analyzes the facial image, and obtains eye movement features; classifies the eye movement features to obtain the air conditioning control type, and the air conditioning control type is at least one of air conditioning on, air conditioning off, or emergency alarm; and controls the air conditioning to perform corresponding operations according to the air conditioning control type. By acquiring and analyzing the user's eye movement features, bedridden or disabled users can autonomously control the air conditioning on or off through eye movements, and control the air conditioning emergency alarm in an emergency, thereby improving the user's quality of life and ensuring the user's life safety.
[0083] Figure 2 The process of the air conditioning control method provided in the embodiment of the present application Figure 2 ; Figure 2 exist Figure 1 Based on the user's eye activity characteristics, the method of obtaining the air conditioning control type and controlling the air conditioning to perform corresponding operations is described in detail, such as Figure 2 As shown, the method includes:
[0084] S201: Acquire a 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 S101 and will not be elaborated herein.
[0086] S202: If the eye activity feature includes an emergency mode feature, determine whether the air conditioning control type is an emergency alarm according to the indoor environment information.
[0087] Among them, when the user is bedridden due to illness or is a disabled person with limited mobility, who can only lie in bed and cannot move his limbs, speak, or take care of himself, if an emergency situation of sudden illness occurs, the user's life safety will be threatened because the user cannot call for help in time. In order to avoid the above situation, the present application is arranged that when the eye activity characteristics of the user are obtained and the emergency mode characteristics include: at least one of the following conditions: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows, the air-conditioning control type is determined according to the indoor environmental information. The indoor environmental information is specifically to obtain whether there are other users in the current room. If there are no other users in the current room, the air-conditioning control type is determined to be an emergency alarm.
[0088] S203: If the eye activity feature includes a blink feature, the number of blinks and the duration of the blink interval in the blink feature are obtained.
[0089] Among them, in order to enable bedridden users to autonomously control the air conditioner to turn on or off through eye movements, the present application sets the air conditioner control type by obtaining the number of blinks and the duration of the blink interval in the user's blinking characteristics. The method for obtaining the number of user blinks is: if the user blinks and the duration of the user's eyelids being completely closed is greater than the first preset duration, then the user is determined to have blinked once, and the first preset duration can be, for example, 1 second; the method for obtaining the duration of the user's blink interval is: obtain the interval duration between the time point when the user's eyelids are completely closed when the user blinks for the first time and the time point when the user's eyelids are completely open when the user's blink count ends. For example, if the user blinks and the duration of the eyelids being completely closed is greater than 1 second and the action is repeated twice, then the user is determined to have blinked twice; the time point when the user's eyelids are completely closed for the first time is 9 hours: 10 minutes: 21 seconds, and the time point when the user's eyelids are completely open when the user blinks for the second time is 9 hours: 10 minutes: 26 seconds, then the user's blink interval in this case 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 between two adjacent blinks is less than the second preset duration, then when the air conditioner is in an off state, the air conditioner control type is determined to be air conditioner on.
[0091] Among them, the method for determining that the air-conditioning control type is the air-conditioning on is: when the user blinks twice, the duration of the eyelids being completely closed for each blink 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-conditioning control type is determined to be the air-conditioning on, and the second preset duration can be, for example, 8 seconds; for example, if the current user blinks twice, the duration of the eyelids being completely closed for each blink is 1.2 seconds, which is greater than the reference duration of the first preset duration of 1 second 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-conditioning control type is determined to be the air-conditioning 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 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 shutdown.
[0093] Among them, the method for determining that the air-conditioning control type is air-conditioning on is: if the user blinks three times, and the duration of the eyelids being completely closed each time 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, and the second preset duration can be, for example, 8 seconds; for example, if the current user blinks three times, and the duration of the eyelids being completely closed each time is 1.5 seconds, which is greater than the reference duration of the first preset duration of 1 second shown in S203, and the duration of three consecutive blinks is 6 seconds, which is less than the second preset duration of 8 seconds, then the current air-conditioning control type is determined to be air-conditioning off.
[0094] The air conditioning control method provided in this embodiment obtains the user's facial image and analyzes it to obtain the user's eye activity characteristics, and analyzes and classifies the eye activity characteristics to determine whether they are blinking characteristics or emergency mode characteristics. If it is a blinking characteristic, the air conditioning control type is determined to be air conditioning on or off based on the number of blinks and the duration of the blink interval in the blinking characteristic; if it is an emergency mode characteristic, the air conditioning control type is determined to be an emergency alarm based on the indoor environment information. Users who are bedridden or have difficulty in moving can autonomously control the air conditioning to turn on or off through eye movements, and control the air conditioning emergency alarm when an emergency occurs, thereby improving the user's quality of life and ensuring the user's life safety.
[0095] Figure 3 The process of the air conditioning control method provided in the embodiment of the present application Figure 3 ; Figure 3 exist Figure 1 On this basis, when the air conditioning control type is air conditioning on, the method of controlling the air conditioning to perform corresponding operations is described in detail, such as Figure 3 As shown, the method includes:
[0096] S301: Acquire indoor environmental information, where the indoor environmental information includes at least one of temperature, humidity or air quality.
[0097] Among them, in order to control the air conditioner to automatically adjust to the comfort mode according to the indoor environment information to improve the user experience of bedridden or disabled users, it is necessary to obtain the indoor environment information, and the indoor environment information includes at least one of temperature, humidity or air quality. It can be understood that the temperature, humidity or air quality included in the above indoor environment information corresponds to various operating parameter indicators of the air conditioner, such as temperature, wind speed, humidity, etc. For example, the air conditioner can obtain the air conditioner operating temperature parameters by obtaining the indoor environment temperature, and obtain the operating wind speed, humidity and other parameters by obtaining the indoor temperature and air quality.
[0098] S302: Acquire operating parameters of the air conditioner according to the indoor environment information and target environment information corresponding to the current season.
[0099] Among them, in order to bring the best user experience and improve the accuracy of the air conditioner operation parameters corresponding to the user's environment, the present application is set to obtain the target environment information corresponding to the current season on the basis of obtaining the indoor environment information, and further generate the air conditioner to-be-operated parameters of finer dimensions based on the target environment information corresponding to different seasons. The target environment information corresponding to the current season includes: season information, weather information and air conditioner use period. For example, after obtaining the indoor environment information, after obtaining the current season as spring, summer, autumn or winter, the average weather information of the season and the current weather information are further obtained, such as sunny, rainy, cloudy, etc., and the current air conditioner use time period is obtained: such as early morning, morning, noon, afternoon, etc. Finally, according to the indoor environment information and the target environment information corresponding to the current season, the air conditioner to-be-operated parameters that can make the user in a comfortable state are obtained, and the to-be-operated parameters may include a series of parameter information such as temperature, wind speed, humidity, etc. For example, according to the current indoor environment information: temperature 28°C, humidity 30°C, good air quality and summer, sunny and noon parameters contained in the target environment information corresponding to the current season, the air conditioner to-be-operated parameters of temperature 25°C, wind speed 3 levels, and humidity 40% are output.
[0100] S203: Control the air conditioner to start up, and control the air conditioner to operate according to the parameters to be operated.
[0101] Among them, after determining that the current air-conditioning control type is to turn on the air-conditioning according to the number of blinks and the duration of the blink interval included in the blink feature, by obtaining at least one of the temperature, humidity or air quality in the indoor environment information, and according to the indoor environment information and the target environment information corresponding to the current season, the air-conditioning standby operating parameters are obtained, the air-conditioning is controlled to be turned on, and the air-conditioning operation is controlled according to the operating parameters. For example, when the temperature is 28°C, the humidity is 40%, the air quality is good, and the parameters such as summer, sunny and noon included in the target environment information corresponding to the current season, the air-conditioning standby operating parameters of temperature 25°C, wind speed 3 levels, and humidity 40% are output to control the air-conditioning operation; when the temperature is -3°C, the humidity is 20%, the air quality is haze, and the parameters such as winter, haze and night included in the target environment information corresponding to the current season, the air-conditioning standby operating parameters of temperature 26 degrees Celsius, wind speed 3 levels, and humidity 40% are output to control the air-conditioning operation.
[0102] The air conditioning control method provided in this embodiment, when the air conditioning control type is air conditioning on, obtains indoor environmental information, the indoor environmental information including at least one of temperature, humidity or air quality; obtains the air conditioning parameters to be operated according to the indoor environmental information and the target environmental information corresponding to the current season; controls the air conditioning to be turned on, and controls the air conditioning operation according to the parameters to be operated. This allows bedridden or disabled users who cannot adjust the air conditioning operation mode independently to obtain an air conditioning use experience that adapts to the current indoor and outdoor environment after the air conditioning is turned on, thereby improving the user's quality of life.
[0103] Figure 4 The process of the air conditioning control method provided in the embodiment of the present application Figure 4 ; Figure 4 exist Figure 1 On the basis of the above, when the user's eye activity characteristics include emergency mode characteristics, the method of controlling the air conditioner to perform corresponding operations is described in detail, such as Figure 4 As shown, the method includes:
[0104] S401: According to the indoor user information, determine whether there are other users in the current room; if so, execute S402, if not, the process ends.
[0105] Among them, when the user is bedridden due to illness or is a disabled person with limited mobility, who can only lie in bed and cannot move his limbs, speak, or take care of himself, if an emergency situation of sudden illness occurs and there is no other person in the room, the user's life safety will be threatened because he cannot call for help in time. In order to avoid the above situation, the present application is arranged that when the eye activity characteristics of the user are obtained and the emergency mode characteristics include: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows, the indoor user information is obtained, and it is determined whether there are other users in the current room according to the indoor environment information, and it is determined whether the air-conditioning control type is an emergency alarm.
[0106] S402: Determine that the air conditioning control type is an emergency alarm, and control the air conditioning to issue a continuous ringing alarm.
[0107] Among them, if the eye activity characteristics of the user are obtained to show at least one of the emergency mode characteristics: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows, and there are no other users in the current room, the air-conditioning control type is determined to be an emergency alarm, and the air-conditioning is controlled to immediately issue a continuous ringing alarm to remind the user's family or medical staff to check on the user's condition. The ringing decibel should be between 50db-90db to ensure that the user's family or medical staff who are not in the current room can hear it.
[0108] S403: Determine whether other users are detected indoors within a third preset time period according to the indoor user information; if so, execute S404; if not, execute S405.
[0109] Among them, the third preset duration is the time limit for the ringing alarm set in this application to remind the user's family or medical staff to check on the user's condition. The third preset duration can be, for example, 2 minutes. During the third preset duration, real-time monitoring is performed to determine whether there are other users in the current room. If the current ringing alarm duration exceeds the third preset duration but it is detected that there is still no one else in the room where the user is, the air conditioner needs to be controlled to perform further operations to convey the user's current physical condition and location information to ensure the user's life safety.
[0110] S404: Turn off the ringing and exit the emergency alarm.
[0111] If other users are detected in the room within the third preset time, it is determined that medical personnel or family members have come to check on the user, and it is determined that the current user is not in a situation where the life safety is endangered due to no one checking the condition, and the air conditioner is controlled to exit the emergency alarm control type and turn off the ringing. The ringing off method can be turned off manually by the medical personnel or family members who come to check on the user, or it can be turned off automatically after the third preset time period ends if other users are detected in the room within the third preset time period, and this application does not impose any restrictions on this.
[0112] S405: Determine whether the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics; if so, execute S406, if not, execute S404.
[0113] Among them, if no other users are detected within the third preset time period, it is determined that there are currently no medical staff or family members coming to check on the user's condition. In this case, if the user's eye activity characteristics are still obtained and at least one of the emergency mode characteristics including: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows, it is determined that the current user is in a life-threatening situation because no one is checking the condition, and it is necessary to control the air conditioner to call others through communication to check on the user's condition to ensure the user's life safety.
[0114] S406: Call the emergency contact according to the emergency contact phone number.
[0115] Among them, if no other users are detected within the third preset time period and the user's eye activity characteristics are continuously obtained to show at least one of the emergency mode characteristics: the user's eyes are sad, the user's eyes are narrowed, and wrinkles appear on the user's eyebrows, in order to ensure the user's life safety, it is necessary to call the emergency contact through communication methods. The emergency contact can be the user's preset emergency contact, or it can be the default contact in the current address book who has a spouse, child, or parent relationship with the user.
[0116] S407: Determine whether the call to the emergency contact is successful; if so, execute S404; if not, execute S408.
[0117] The emergency contact call failure may be, for example, that the user's preset or default emergency contact does not answer the call within 15 seconds, or that there is no contact in the current user's address book who is the user's spouse, child, or parent. When the above situation occurs, the air conditioner needs to be controlled to call the emergency number to ensure the user's life safety.
[0118] S408: Call the preset emergency number and play the preset voice.
[0119] Among them, when the call to the emergency contact fails, it is necessary to call the preset emergency number and automatically play the preset voice after the call is connected to ensure the user's life safety. The preset voice includes: the user is in pain, there is no one around, the name of the city where the user is located, the name of the district and county, the name of the community street, the user's floor number and other information, and send a text message containing the above preset voice content so that the emergency personnel can quickly know the user's current physical condition and the location, and provide the user with the most timely assistance.
[0120] The air conditioning control method provided in this embodiment determines whether there are other users in the current room based on the indoor user information; if there are no other users, 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 the third preset time period, the ringing is turned off and the emergency alarm is exited; if no other users are detected within the third preset time period, and the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics, the emergency call is triggered, and the emergency contact is called according to the emergency contact phone number; if the emergency contact call fails, the preset emergency number is called, and a preset voice is played, and the preset voice is used to indicate the user status and the user's geographic location. Controlling the air conditioner to sound an emergency alarm in an emergency situation improves the user's quality of life and ensures the user's life safety.
[0121] Figure 5 is a schematic diagram of the structure of the air conditioning control device provided by the present invention, such as 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: 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;
[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, when the eye activity feature includes a blink feature, that the air conditioning control type is air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature;
[0126] The processing module 52 is also used to determine whether the air conditioning control type is an emergency alarm based on indoor environment information when the eye activity characteristics include emergency mode characteristics, wherein the emergency mode characteristics include at least one of sad eyes, narrowed eyes, and wrinkles on the eyebrows.
[0127] Optionally, the processing module 52 is further configured to determine that the air conditioning control type is air conditioning on when the number of blinks is two and the first duration of eyelid closure when the user blinks is greater than a first preset duration, and the second duration of an interval between two adjacent blinks is less than a second preset duration, and when the air conditioner is in an off state;
[0128] Optionally, the processing module 52 is also used to determine that the air conditioning control type is air conditioning shutdown when the air conditioner is in the on state when the number of blinks is three and 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 judging module 54 is used to judge whether there are other users in the room according to the indoor user information;
[0131] The processing module 52 is further configured 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 used to acquire indoor environmental information, where the indoor environmental information includes at least one of temperature, humidity or air quality;
[0133] The processing module 52 is further used to obtain the operating parameters of the air conditioner according to the indoor environment information and the target environment information corresponding to the current season;
[0134] The control module 53 is further used to control the start-up of the air conditioner and control the operation of the air conditioner according to the parameters to be operated.
[0135] Optionally, the control module 53 is also used to control the air conditioner to issue a continuous ringing alarm;
[0136] The control module 53 is further configured 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 further configured to trigger an emergency phone 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 further configured to call an emergency contact according to the emergency contact phone number;
[0139] The control module 53 is also used to call a preset emergency number and play a preset voice when the emergency contact call fails. The preset voice is used to indicate the user status and the user's geographical location.
[0140] Figure 6 : is a structural schematic diagram of an air conditioning control device provided by the present invention, wherein the air conditioning control device comprises:
[0141] at least one processor and memory;
[0142] The memory stores computer-executable instructions;
[0143] The at least one processor executes the computer-executable instructions stored in the memory, so that when the at least one processor executes, the air-conditioning control method as described in the first aspect and various possible implementation methods of the first aspect is implemented.
[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 described in any one of the first aspects.
[0145] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. 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 a data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements 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 comprises: Acquire a user's facial image in real time, and analyze 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; According to the air conditioning control type, the air conditioning is controlled to perform corresponding operations.
2. The method according to claim 1, characterized in that The classifying the eye activity features to obtain the air conditioning control type includes: If the eye activity feature includes a blink feature, determining the air conditioning control type as air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature; If the eye activity characteristics include emergency mode characteristics, whether the air conditioning control type is an emergency alarm is determined based on the indoor environment information, wherein the emergency mode characteristics include at least one of sad eyes, narrowed eyes, and wrinkles on the eyebrows.
3. The method according to claim 2, characterized in that The step of determining the air conditioning control type as air conditioning on or air conditioning off according to the number of blinks and the duration of the blink interval in the blink feature includes: 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 between two adjacent blinks is less than the second preset duration, then when the air conditioner is in an off state, it is determined that the air conditioner control type is air conditioner on; 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 between three adjacent blinks is less than the second preset duration, then when the air conditioner is in the on state, it is determined that the air conditioner control type is air conditioner shutdown.
4. The method according to claim 2, characterized in that: The determining, according to the indoor environment information, whether the air conditioning control type is an emergency alarm includes: According to the indoor user information, determine whether there are other users in the room; If there are no other users, the air conditioning control type is determined to be an emergency alarm.
5. The method according to any one of claims 1 to 3, characterized in that: If the air conditioner control type is air conditioner on, controlling the air conditioner to perform corresponding operations according to the air conditioner control type includes: Acquiring indoor environmental information, wherein the indoor environmental information includes at least one of temperature, humidity or air quality; Acquire the operating parameters of the air conditioner according to the indoor environment information and the target environment information corresponding to the current season; The air conditioner is controlled to start up, and the air conditioner is controlled to run according to the parameters to be run.
6. The method according to claim 4, characterized in that 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: Controlling the air conditioner to issue a continuous ringing alarm; If other users are detected within the third preset time, the ringing will be turned off and the emergency alarm will be exited; If no other user is detected within the third preset time period, and the eye activity characteristics continuously acquired within the third preset time period are emergency mode characteristics, an emergency phone is triggered to issue an alarm.
7. The method according to claim 6, characterized in that The triggering of the emergency phone to make an alarm includes: Call the emergency contact according to the emergency contact number; If the call to the emergency contact fails, the preset emergency number is called and a preset voice is played, which is used to indicate the user status and the user's geographic location.
8. 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: 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; Control module: controls the air conditioner to perform corresponding operations according to the air conditioner control type.
9. An air conditioning control device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the air conditioning control method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, they are used to implement the air conditioning control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control method of household electric appliance, control device, system and terminal equipment
CN107490974A
Alarm method and device based on eye movement information, equipment and storage medium
CN109118714A
Air conditioning system based on eyeball driving control
CN111336644A
Air conditioner control method and device, air conditioner and storage medium
CN113418281A
Air conditioner control method and device, electronic equipment and air conditioner
CN114857750A