Method and apparatus for controlling an air conditioner, air conditioner

By dynamically adjusting the air conditioner's fan and compressor to regulate the bathroom temperature according to the user's type and condition, the problem of inconsistent temperature requirements for different users under different bathing conditions is solved, improving the user's bathing experience and the speed of bathroom drying.

CN118856496BActive Publication Date: 2025-12-19QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310463179.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2025-12-19
Estimated Expiration
2043-04-26

AI Technical Summary

Technical Problem

Different types of users have different requirements for the indoor temperature of the bathroom under different bathing conditions, which leads to a reduced bathing experience.

Method used

By determining the user type and status, the bathroom temperature is dynamically adjusted according to the air conditioner's fan and compressor, including temperature control for different bath start, process, and end states for adults and children.

Benefits of technology

It enables dynamic adjustment of bathroom temperature for different types of users under different bathing conditions, improving the user's bathing experience and bathroom drying speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118856496B_ABST
    Figure CN118856496B_ABST
Patent Text Reader

Abstract

The application relates to the air conditioner control technical field, and discloses a method for controlling an air conditioner, which comprises the following steps: determining a user type in response to a user bathing instruction; determining a user state; and controlling a fan and a compressor of the air conditioner to operate according to the user state and the user type. When different types of users take a bath, the fan and the compressor of the air conditioner are controlled to operate according to the user state and the user type. In this way, the indoor environment temperature in a bathroom can be adjusted to a temperature that is comfortable for the user to feel in the case that the user is in different bathing states. Therefore, the demand of different types of users for the indoor environment temperature in the bathroom in different bathing states can be met, and the bathing experience of different types of users is improved. The application further discloses a device for controlling the air conditioner and the air conditioner.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of air conditioner control, for example, to a method and device for controlling an air conditioner, and an air conditioner. BACKGROUND

[0002] At present, with the continuous improvement of people's living standards, people's demand for various smart home systems is also getting higher and higher. When a user is bathing, if the indoor environment is relatively low, the user is easy to catch a cold and get a cold in the process of taking off clothes, wiping the body, etc., which affects the user's bathing experience. Therefore, it is necessary to intelligently control the air conditioner to adjust the indoor environment temperature in the bathroom.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:

[0004] The related art automatically adjusts the temperature and keeps it within a predetermined temperature range before the user enters the bathroom; after the user enters the bathroom, the temperature is controlled to keep it at a predetermined temperature, which can make the user not feel cold when bathing. However, different types of users have different needs for the indoor environment temperature in the bathroom in different bathing states. In this way, different types of users bathe in a constant indoor environment temperature, which reduces the user's bathing experience.

[0005] It should be noted that the information disclosed in the above BACKGROUND section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0006] To have a basic understanding of some aspects of the disclosed embodiments, a brief overview is given below. The overview is not a comprehensive review of the application, nor is it intended to determine key / important elements or delineate the scope of the embodiments. It is only as a prelude to the detailed description below.

[0007] The embodiments of the present disclosure provide a method and device for controlling an air conditioner, and an air conditioner, to improve the bathing experience of different types of users.

[0008] In some embodiments, the method comprises: in response to a user's bathing instruction, determining a user type; the user type is used to represent that the user is an adult or a child; determining a user state; the user state is used to represent that the user is in a state before bathing, a state of bathing, or a state of ending bathing; and controlling a fan and a compressor of the air conditioner to operate according to the user state and the user type.

[0009] In some embodiments, the device comprises: a processor and a memory storing program instructions, the processor being configured to execute the method for controlling an air conditioner when running the program instructions.

[0010] In some embodiments, the air conditioner comprises: an air conditioner body; the device for controlling the air conditioner is installed on the air conditioner body.

[0011] The method and device for controlling the air conditioner and the air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects:

[0012] When different types of users take a bath, the fan and the compressor of the air conditioner are controlled according to the user state and the user type. In this way, the indoor environment temperature in the bathroom can be adjusted to a temperature that the user feels comfortable in different bathing states. Thus, the needs of different types of users for the indoor environment temperature in different bathing states can be met, and the bathing experience of different types of users is improved.

[0013] The foregoing general description and the following description are only exemplary and explanatory, and are not used to limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0014] One or more embodiments are exemplarily illustrated by corresponding drawings, which do not constitute limitation on the embodiments, elements with the same reference numerals in the drawings are shown as similar elements, the drawings do not constitute proportional limitation, and wherein:

[0015] Figure 1 is a schematic diagram of an application scenario;

[0016] Figure 2 is a schematic diagram of a method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0017] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0018] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;

[0019] Figure 5 is a schematic diagram of a device for controlling an air conditioner provided by an embodiment of the present disclosure;

[0020] Figure 6 is a structural schematic diagram of an air conditioner. DETAILED DESCRIPTION

[0021] In order to enable a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure is described in detail below, and the accompanying drawings are used for reference only and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, through multiple details, a sufficient understanding of the disclosed embodiments is provided. However, one or more embodiments can still be implemented without these details. In other cases, in order to simplify the drawings, well-known structures and devices can be simplified.

[0022] The terms "first", "second", and the like in the specification and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so as to implement the embodiments of the present disclosure described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.

[0023] Unless otherwise specified, the term "multiple" means two or more.

[0024] In the embodiments of the present disclosure, the character " / " represents a "or" relationship between the objects before and after it. For example, A / B represents: A or B.

[0025] The term "and / or" is a description of the association between objects, which means that there can be three relationships. For example, A and / or B, which means: A or B, or, A and B, three relationships.

[0026] The term "corresponding" can refer to an association or binding relationship, A corresponds to B means that there is an association or binding relationship between A and B.

[0027] The method for controlling an air conditioner provided by the embodiments of the present disclosure is applied to an electronic device. In some embodiments, the electronic device is a computer or a server, etc. The electronic device can be connected to the air conditioner through connection of the Internet, Bluetooth, wifi, etc. For example, as shown in the figure, the electronic device is a server, and the bathroom 3 is provided with an air conditioner 2. The server 1 is connected to the air conditioner 2 through the Internet. The server 1 receives the user's bathing instructions through the air conditioner 2, determines the user type, and determines the user state, and controls the fan and compressor of the air conditioner to operate according to the user state and user type. Figure 1

[0028] ​In some embodiments, the electronic device is an air conditioner. The air conditioner is provided with a temperature sensor, a humidity sensor, an infrared sensor and a sound recognition device. The temperature sensor is used to detect the indoor environmental temperature in the bathroom. The humidity sensor is used to detect the indoor environmental humidity in the bathroom. The infrared sensor is used to detect whether there is a person in the bathroom. The sound recognition device is used to recognize the sound information in the bathroom. The air conditioner receives the bathing instruction of the user, determines the user type, and determines the user state. According to the user state and the user type, the fan and the compressor of the air conditioner are controlled to operate.

[0029] In combination Figure 2 As shown in the drawings, the embodiments of the present disclosure provide a method for controlling an air conditioner, comprising:

[0030] Step S201, in response to the bathing instruction of the user, the electronic device determines the user type. The user type includes an adult type and a child type. The adult type represents that the user is an adult, and the child type represents that the user is a child.

[0031] Step S202, the electronic device determines the user state; the user state is used to represent that the user is in a state before bathing, a state of bathing or a state after bathing.

[0032] Step S203, according to the user state and the user type, the electronic device controls the fan and the compressor of the air conditioner to operate.

[0033] The method for controlling an air conditioner provided by the embodiments of the present disclosure can control the fan and the compressor of the air conditioner to operate according to the user state and the user type when different types of users are bathing. In this way, the indoor environmental temperature in the bathroom can be adjusted to a comfortable temperature for the user in different bathing states. Thus, the needs of different types of users for the indoor environmental temperature in different bathing states can be met, and the bathing experience of different types of users is improved.

[0034] Optionally, the bathing instruction contains a first alternative user type, and in response to the bathing instruction of the user, the user type is determined, including: determining the first alternative user type as the user type. In this way, by selecting the user type by the user himself, the type of the user who needs to bathe can be more accurately determined.

[0035] For example, the first alternative user type contained in the bathing instruction input by the user is the adult type, and the adult type is taken as the user type. The first alternative user type contained in the bathing instruction input by the user is the child type, and the child type is taken as the user type.

[0036] Optionally, the bathroom door is provided with a camera on the outside, and the user type is determined by: acquiring a face image of the user by the camera. Matching a second candidate user type corresponding to the face image from the first database. Determining the second candidate user type as the user type. The first database stores a correspondence between the face image and the second candidate user type.

[0037] Before the user enters the bathroom, the camera on the bathroom door acquires a face image of the user in the case that the user is at the entrance of the bathroom. The user type corresponding to the face image is matched from the first database, so that the user type of the user who needs to take a bath can be determined only by recognizing the face image of the user without manual operation of the user to select the user type, and the operation of the user is simplified.

[0038] Optionally, the air conditioner is provided with a sound recognition device, and the user type is determined by: acquiring sound information in the bathroom by the sound recognition device in the air conditioner. Recognizing the acquired sound information to obtain a recognition result. In a case that the recognition result is that the sound information in the bathroom is human voice, matching a third candidate user type corresponding to the human voice from the second database. Determining the third candidate user type as the user type. The second database stores a correspondence between the human voice and the third candidate user type. In this way, the type of the user who needs to take a bath can be determined only by recognizing the sound information of the user without manual operation of the user to select the user type, and the operation of the user is simplified.

[0039] Optionally, the user state includes a state before a bath is started, and the bathroom is provided with a first storage rack, and the first storage rack is provided with a first pressure sensor, and the user state is determined by: acquiring a pressure value on the first storage rack by the first pressure sensor. In a case that the pressure value on the first storage rack is less than a first preset pressure value, determining that the user state is the state before the bath is started. The first storage rack is used to place clothes of the user. For example, the first storage rack is used to place clothes worn by the user before the bath.

[0040] Before the user starts the bath, the first storage rack is not placed with clothes taken off by the user in a case that the user has not taken off the clothes worn on the body. At this time, there is a small pressure value on the first storage rack. Therefore, in a case that the pressure value on the first storage rack detected by the first pressure sensor is less than the first preset pressure value, it is determined that the first storage rack is not placed with the clothes taken off by the user. Thus, it can be determined that the user has not started the bath at the current time, that is, the user is in the state before the bath is started. In an embodiment, the first preset pressure value is any value greater than 0 Newton and less than 5 Newton.

[0041] Optionally, the user state comprises a state before bathing starts, and the shower is arranged in the bathroom, and the determining of the user state comprises: determining that the user state is the state before bathing starts in a case where the shower is not opened.

[0042] The shower is usually not opened before the user starts bathing. Therefore, in a case where the shower is not opened, it is determined that the user has not started bathing, i.e., it is determined that the user is in the state before bathing starts.

[0043] Optionally, the user state comprises a state before bathing starts, and the determining of the user state comprises: acquiring sound information in the bathroom by using a sound recognition device in the air conditioner, recognizing the acquired sound information, and obtaining a recognition result. In a case where the recognition result is that the sound information in the bathroom is not water sound, it is determined that the user state is the state before bathing starts.

[0044] The shower is usually not opened before the user starts bathing. In a case where the sound recognition device does not recognize water sound, it is determined that the shower is not opened. Therefore, it can be determined that the user has not started bathing at the current time, i.e., it is determined that the user is in the state before bathing starts.

[0045] Optionally, the user state comprises a state before bathing starts, and a humidity sensor is arranged in the air conditioner, and the determining of the user state comprises: detecting indoor environmental humidity in the bathroom by using the humidity sensor in the air conditioner. In a case where the indoor environmental humidity in the bathroom is less than a preset humidity, it is determined that the user state is the state before bathing starts. The indoor environmental humidity is used to represent that the bathroom is in a dry state or a humid state.

[0046] The bathroom is in a dry state before the user starts bathing, and there is little water vapor in the bathroom. At this time, the indoor environmental humidity in the bathroom is small. Therefore, in a case where the indoor environmental humidity in the bathroom detected by the humidity sensor is less than the preset humidity, it is determined that there is little water vapor in the bathroom. Therefore, it can be determined that the user has not started bathing at the current time, i.e., it is determined that the user is in the state before bathing starts. In some embodiments, the preset humidity is any value within 40% to 60%.

[0047] Optionally, the user state comprises a state of being in bathing, and the determining of the user state comprises: acquiring a pressure value on the first storage rack by using the first pressure sensor. In a case where the pressure value on the first storage rack is greater than or equal to a first preset pressure value, it is determined that the user state is the state of being in bathing.

[0048] After the user takes off the clothes worn on the body and places the clothes on the first storage rack, the user starts bathing. When the clothes taken off by the user are placed on the first storage rack, a large pressure value exists on the first storage rack. Therefore, in a case where the first pressure sensor detects that the pressure value on the first storage rack is greater than or equal to the first preset pressure value, it is determined that the clothes taken off by the user are placed on the first storage rack. Thus, it is determined that the user is currently bathing, i.e., it is determined that the user is in the bathing state.

[0049] Optionally, the user state includes the bathing state, and determining the user state includes: in a case where the shower is opened, determining that the user state is the bathing state.

[0050] In the bathing process of the user, the shower is usually in an opened state. Therefore, in a case where the shower is opened, it is determined that the user is bathing, i.e., it is determined that the user is in the bathing state.

[0051] Optionally, the user state includes the bathing state, and determining the user state includes: obtaining sound information in the bathroom by using a sound recognition device in the air conditioner, recognizing the obtained sound information, and obtaining a recognition result. In a case where the recognition result is that the sound information in the bathroom is water sound, it is determined that the user state is the bathing state.

[0052] In the bathing process of the user, the shower is usually in an opened state. In a case where the sound recognition device detects water sound, it is determined that the shower is opened. In this way, only by detecting water sound in the bathroom, it can be determined that the user is in the bathing state.

[0053] Optionally, the user state includes the bathing state, and determining the user state includes: obtaining indoor environmental humidity in the bathroom by using a humidity sensor in the air conditioner. In a case where the indoor environmental humidity in the bathroom is greater than or equal to a preset humidity, it is determined that the user state is the bathing state.

[0054] In the bathing process of the user, the bathroom contains a large amount of water vapor, and the bathroom is in a humid state. At this time, the indoor environmental humidity in the bathroom is large. Therefore, in a case where the indoor environmental humidity in the bathroom detected by the humidity sensor is greater than or equal to the preset humidity, it is determined that the bathroom contains a large amount of water vapor. Thus, it can be determined that the user is currently bathing, i.e., it is determined that the user is in the bathing state.

[0055] Optionally, the user state includes the bathing end state, and determining the user state includes: obtaining a pressure value on the first storage rack by using the first pressure sensor. In a case where the pressure value on the first storage rack decreases by a third preset pressure value, it is determined that the user state is the bathing end state.

[0056] The user takes off the clothes from the first shelf after the bathing is finished. When the clothes are taken off from the first shelf, the pressure value on the first shelf decreases with the decrease of the clothes on the first shelf. Therefore, when the first pressure sensor detects that the pressure value on the first shelf decreases by a third preset pressure value, it is determined that the user takes off the clothes from the first shelf for wearing. Thus, it can be determined that the user has finished bathing at the current time, i.e., it is determined that the user is in the bathing-finished state. In some embodiments, the third preset pressure value is any value greater than 5 Newton and less than 10 Newton.

[0057] Optionally, the user state includes the bathing-finished state, and the bathroom is provided with a second shelf, and the second shelf is provided with a second pressure sensor. Determining the user state includes: acquiring, by the second pressure sensor, a pressure value on the second shelf. When the pressure value on the second shelf is less than a second preset pressure value, it is determined that the user state is the bathing-finished state. The second shelf is used to place articles capable of wiping water, such as towels or bath towels.

[0058] The user takes off the articles capable of wiping water, such as towels or bath towels, from the second shelf after the bathing is finished. When the articles capable of wiping water are taken off from the second shelf, the pressure value on the second shelf decreases. Therefore, when the second pressure sensor detects that the pressure value on the second shelf is less than the second preset pressure value, it is determined that the user takes off the articles capable of wiping water from the second shelf to wipe the water on the body. Thus, it can be determined that the user has finished bathing at the current time, i.e., it is determined that the user is in the bathing-finished state.

[0059] Optionally, the user state includes the bathing-finished state, and determining the user state includes: acquiring a time when the shower is turned off. According to the time, a length of time after the shower is turned off is determined. When the length of time after the shower is turned off is greater than or equal to a first preset length of time, it is determined that the user state is the bathing-finished state.

[0060] The user takes off the articles capable of wiping water, such as towels or bath towels, from the second shelf after the bathing is finished. When the articles capable of wiping water are taken off from the second shelf, the pressure value on the second shelf decreases. Therefore, when the second pressure sensor detects that the pressure value on the second shelf is less than the second preset pressure value, it is determined that the user takes off the articles capable of wiping water from the second shelf to wipe the water on the body. Thus, it can be determined that the user has finished bathing at the current time, i.e., it is determined that the user is in the bathing-finished state.

[0061] Optionally, the user state comprises a state of end of bathing, and determining the user state comprises: acquiring sound information in the bathroom by using a sound recognition device in the air conditioner; identifying the acquired sound information to obtain an identification result; and detecting indoor environmental humidity in the bathroom by using a humidity sensor in the air conditioner. In a case where the identification result is that the sound information in the bathroom is not water sound and the indoor environmental humidity in the bathroom is greater than or equal to a preset humidity, it is determined that the user state is the state of end of bathing.

[0062] After the user ends bathing, the shower is usually in a closed state, and the indoor environmental humidity in the bathroom is relatively large. Therefore, in a case where there is no water sound in the bathroom and the indoor environmental humidity in the bathroom is greater than or equal to a preset humidity, it is determined that the user ends bathing and is in the state of end of bathing. In this way, by detecting the water sound and the indoor environmental humidity in the bathroom, the user state can be more accurately determined as the state of end of bathing.

[0063] Optionally, according to the user state and the user type, the fan and the compressor of the air conditioner are controlled to operate, comprising: in a case where the user state is a state before bathing begins, acquiring a first indoor environmental temperature; according to the user type, acquiring a first target temperature corresponding to the state before bathing begins; and according to the first indoor environmental temperature and the first target temperature, controlling the fan and the compressor of the air conditioner to operate. The first indoor environmental temperature is an indoor environmental temperature in the bathroom when a user corresponding to the user type is in the state before bathing begins. The first target temperature represents a temperature that the user corresponding to the user type feels comfortable in the state before bathing begins.

[0064] Further, according to the user type, the first target temperature corresponding to the state before bathing begins is acquired by performing a table lookup operation in a preset data table. The data table stores the first target temperature corresponding to the user type and the state before bathing begins. In this way, without manually setting the first target temperature by the user, the first target temperature that the user corresponding to the user type feels comfortable in the state before bathing begins can be determined by detecting the user type. In this way, the operation of the user is simplified.

[0065] Further, according to the first indoor environmental temperature and the first target temperature, the fan and the compressor of the air conditioner are controlled to operate, comprising: in a case where the first indoor environmental temperature is less than the first target temperature, the fan of the air conditioner is controlled to operate at a first rotating speed, and the compressor of the air conditioner is controlled to operate at a first frequency, so that the first indoor environmental temperature in the bathroom reaches the first target temperature. In this way, before bathing of different types of users, the indoor environmental temperature in the bathroom can reach a temperature that the user feels comfortable. The experience of the different types of users before bathing is improved.

[0066] In some embodiments, the user type of the user is acquired as an adult type. The first target temperature corresponding to the state of the user before the bathing starts is 22 DEG C for the adult type. The first indoor environment temperature is detected as 10 DEG C. That is, the first indoor environment temperature is less than the first target temperature. The fan of the air conditioner is controlled to operate at the first rotating speed, and the compressor of the air conditioner is controlled to operate at the first frequency, so as to adjust the indoor environment temperature in the bathroom to 22 DEG C or above. Thus, the indoor environment temperature in the bathroom can reach the comfortable temperature of the adult user before the bathing starts, and the experience of the adult user before the bathing starts is improved. For example, the user type of the user is acquired as a child type. The first target temperature corresponding to the state of the user before the bathing starts is 25 DEG C for the child type. The first indoor environment temperature is detected as 10 DEG C. That is, the first indoor environment temperature is less than the first target temperature. The fan of the air conditioner is controlled to operate at the first rotating speed, and the compressor of the air conditioner is controlled to operate at the first frequency, so as to adjust the indoor environment temperature in the bathroom to 25 DEG C or above. Thus, the indoor environment temperature in the bathroom can reach the comfortable temperature of the child user before the bathing starts, and the experience of the child user before the bathing starts is improved.

[0067] Further, after the first target temperature corresponding to the state before the bathing starts is acquired according to the user type, the method further comprises: reminding the user in a case that the first indoor environment temperature is greater than or equal to the first target temperature.

[0068] Optionally, the reminding the user comprises: sending voice reminding information to the user to remind the user to start the bathing. For example, the voice reminding information is: "You can start the bathing now".

[0069] When the first indoor environment temperature reaches the first target temperature or above before the user of different types starts the bathing, it is determined that the indoor environment temperature in the bathroom has reached the comfortable temperature for the user. Therefore, the user is reminded to start the bathing at the current time. In this way, the experience of the user before the bathing starts can be improved.

[0070] Optionally, the controlling the fan and the compressor of the air conditioner to operate according to the user state and the user type comprises: acquiring a second indoor environment temperature in a case that the user state is a bathing state. Acquiring a second target temperature corresponding to the bathing state according to the user type. Controlling the fan and the compressor of the air conditioner to operate according to the second indoor environment temperature and the second target temperature. The second indoor environment temperature is the indoor environment temperature in the bathroom when the user is in the bathing state. The second target temperature represents the comfortable temperature for the user of the user type when the user is in the bathing state.

[0071] Further, the second target temperature corresponding to the state of being in the bath is obtained according to the user type, including: using the user type, performing a table lookup operation in a preset data table to find out the second target temperature corresponding to the state of being in the bath. The data table stores the second target temperature corresponding to the user type and the state of being in the bath. In this way, the user does not need to manually set the second target temperature, and only needs to detect the user type to determine the second target temperature that the user feels comfortable in the bathing process. In this way, the user's operation can be simplified.

[0072] According to the second indoor environment temperature and the second target temperature corresponding to the user type, the fan and the compressor of the air conditioner are controlled to operate, and the indoor environment temperature in the bathroom is adjusted to a temperature that the user of this type feels comfortable when being in the bath. In this way, the experience of different types of users in the bathing process can be improved.

[0073] Further, according to the second indoor environment temperature and the second target temperature, the fan and the compressor of the air conditioner are controlled to operate, including: in the case that the second indoor environment temperature is less than the second target temperature, the fan of the air conditioner is controlled to operate at the second rotating speed, and the compressor of the air conditioner is controlled to operate at the second frequency. To make the second indoor environment temperature in the bathroom reach the second target temperature. In this way, when different types of users are in the bath, the indoor environment temperature in the bathroom can reach the temperature that the user feels comfortable. The experience of different types of users in the bathing process is improved.

[0074] The second target temperature is greater than the first target temperature, the second rotating speed is greater than the first rotating speed, and the second frequency is greater than the first frequency. When the user is in the state of being in the bath, all the clothes on the body have been taken off. Therefore, there is a higher requirement for the indoor environment temperature in the bathroom. By controlling the fan of the air conditioner to increase from the first rotating speed to the second rotating speed, and the compressor of the air conditioner to increase from the first frequency to the second frequency, the indoor environment temperature when the user is in the state of being in the bath is higher than the indoor environment temperature when the user is in the state before the bath starts. The requirement of the user in the state of being in the bath for the indoor environment temperature can be met. Thus, the user is in a relatively comfortable environment in various bathing states in the bathing process, thereby improving the bathing experience of the user.

[0075] In some embodiments, the user type of the user is acquired as an adult type. In this case, the second target temperature corresponding to the state of the user being in the bath is 23°C. The second indoor environment temperature is detected as 22°C. Since the second indoor environment temperature is less than the second target temperature, the fan of the air conditioner is controlled to operate at the second rotating speed, and the compressor of the air conditioner is controlled to operate at the second frequency, so as to adjust the indoor environment temperature in the bathroom to 23°C or above. In this way, when the adult user is in the bath, the indoor environment temperature in the bathroom can be adjusted to a temperature that the adult user feels comfortable, thereby improving the experience of the adult user during the bath. For example, the user type of the user is acquired as a child type. In this case, the second target temperature corresponding to the state of the user being in the bath is 25.5°C. The second indoor environment temperature is detected as 25°C. Since the second indoor environment temperature is less than the second target temperature, the fan of the air conditioner is controlled to operate at the second rotating speed, and the compressor of the air conditioner is controlled to operate at the second frequency, so as to adjust the indoor environment temperature in the bathroom to 25.5°C or above. In this way, when the child user is in the bath, the indoor environment temperature in the bathroom can be adjusted to a temperature that the child user feels comfortable, thereby improving the experience of the child user during the bath.

[0076] Optionally, according to the user state and the user type, the fan and the compressor of the air conditioner are controlled to operate, including: in the case that the user state is the state of the bath being ended, a third indoor environment temperature is acquired. According to the user type, a third target temperature corresponding to the state of the bath being ended is acquired. According to the third indoor environment temperature and the third target temperature, the fan and the compressor of the air conditioner are controlled to operate. In this case, the third indoor environment temperature is the indoor environment temperature in the bathroom when the user type corresponding user is in the state of the bath being ended, and the third target temperature represents a temperature that the user type corresponding user feels comfortable when in the state of the bath being ended.

[0077] Further, according to the user type, the third target temperature corresponding to the state of the bath being ended is acquired, including: using the user type, a lookup operation is performed in a preset data table to find out the third target temperature corresponding to the state of the bath being ended. The data table stores the third target temperature corresponding to the user type and the state of the bath being ended. In this way, without manually setting the third target temperature by the user, the third target temperature that the user type corresponding user feels comfortable when the bath is ended can be determined only by detecting the user type. In this way, the operation of the user can be simplified.

[0078] According to the third indoor environment temperature and the third target temperature corresponding to the user type, the fan and the compressor of the air conditioner are controlled to operate, so as to adjust the indoor environment temperature in the bathroom to a temperature that the user type corresponding user feels comfortable after the bath is ended. In this way, the experience of the user type corresponding user after the bath is ended can be improved.

[0079] Further, according to the third indoor environment temperature and the third target temperature, the fan and the compressor of the air conditioner are controlled to operate, including: in the case that the third indoor environment temperature is less than the third target temperature, the fan of the air conditioner is controlled to operate at the third rotating speed, and the compressor of the air conditioner is controlled to operate at the third frequency. So that the third indoor environment temperature in the bathroom reaches the third target temperature. In this way, when different types of users end bathing, the indoor environment temperature in the bathroom can reach the temperature that the user feels comfortable. Improve the experience of different types of users after bathing.

[0080] Further, the third target temperature is greater than the second target temperature, the third rotating speed is greater than the second rotating speed, and the third frequency is greater than the second frequency. When the user is in the state of ending bathing, the body is in a wet state. Therefore, there is a higher requirement for the indoor environment temperature in the bathroom. By controlling the fan of the air conditioner to increase from the second rotating speed to the third rotating speed, and the compressor of the air conditioner to increase from the second frequency to the third frequency, the indoor environment temperature when the user is in the state of ending bathing is higher than the indoor environment temperature when the user is in the state of bathing. Can meet the user's demand for indoor environment temperature in the state of ending bathing. So that the user is in a relatively comfortable environment in various bathing states during bathing, thereby improving the user's bathing experience.

[0081] In some embodiments, the user type of the user obtained is an adult type. Among them, the third target temperature corresponding to the state of the user corresponding to the adult type ending bathing is 24°C. It is detected that the third indoor environment temperature is 23°C. That is, the third indoor environment temperature is less than the third target temperature, then the fan of the air conditioner is controlled to operate at the third rotating speed, and the compressor of the air conditioner is controlled to operate at the third frequency, so that the indoor environment temperature in the bathroom is adjusted to 24°C and above. So that when the adult user ends bathing, the indoor environment temperature in the bathroom can reach the temperature that the adult user feels comfortable. Improve the experience of the adult user after ending bathing. For example, the user type of the user obtained is a child type. Among them, the third target temperature corresponding to the state of the user corresponding to the child type before starting bathing is 26°C. It is detected that the third indoor environment temperature is 25.5°C. That is, the third indoor environment temperature is less than the third target temperature, then the fan of the air conditioner is controlled to operate at the third rotating speed, and the compressor of the air conditioner is controlled to operate at the third frequency, so that the indoor environment temperature in the bathroom is adjusted to 26°C and above. So that when the child user ends bathing, the indoor environment temperature in the bathroom can reach the temperature that the child user feels comfortable. Improve the experience of the child user after ending bathing.

[0082] Optionally, according to the third indoor environment temperature and the third target temperature, after the fan and the compressor of the air conditioner are controlled to operate, the method further comprises: determining whether the user leaves the bathroom; and in the case that the user leaves the bathroom, controlling the fan, the compressor and the air deflector of the air conditioner to operate.

[0083] In the case that the user leaves the bathroom, the bathroom needs to be dried. By adjusting the fan, the compressor and the air deflector of the air conditioner, the bathroom can be dried more quickly.

[0084] Optionally, the infrared sensor is arranged in the air conditioner, and the determination of whether the user leaves the bathroom comprises: detecting whether there is a person in the bathroom by using the infrared sensor. In the case that there is no person in the bathroom, it is determined that the user leaves the bathroom.

[0085] Optionally, the determination of whether the user leaves the bathroom comprises: acquiring a time when the shower is turned off. According to the time when the shower is turned off, a time length after the shower is turned off is determined. In the case that the time length after the shower is turned off is greater than or equal to the second preset time length, it is determined that the user leaves the bathroom.

[0086] After the user finishes bathing, the shower is usually in an off state. During the second preset time length after the shower is turned off, if the shower is not detected to be turned on, it is determined that the user has left the bathroom. In this way, by detecting the time length after the shower is turned off, it can be more accurately determined that the user has left the bathroom.

[0087] Further, in the case that the user leaves the bathroom, the fan, the compressor and the air deflector of the air conditioner are controlled to operate, which comprises: controlling the fan of the air conditioner to operate at a fourth rotating speed, controlling the compressor of the air conditioner to operate at a fourth frequency, and controlling the air outlet of the air deflector of the air conditioner to face the ground of the bathroom. By controlling the fan of the air conditioner to operate at the fourth rotating speed and controlling the compressor of the air conditioner to operate at the fourth frequency, the drying speed of the bathroom can be accelerated.

[0088] Further, the fourth rotating speed is greater than the third rotating speed, and the fourth frequency is greater than the third frequency. By controlling the fan of the air conditioner to increase from the third rotating speed to the fourth rotating speed and controlling the compressor of the air conditioner to increase from the third frequency to the fourth frequency, the indoor environment temperature in the bathroom can be made to be higher, so that the drying speed of the bathroom can be accelerated.

[0089] In combination Figure 3 with the method shown in the above, the embodiment of the present disclosure provides another method for controlling an air conditioner, which comprises:

[0090] In step S301, the electronic device determines that the user type is a child type in response to a bathing instruction of the user.

[0091] In step S302, the electronic device acquires a pressure value on the first storage rack by using a first pressure sensor.

[0092] Step S303, in a case where the pressure value on the first shelf is less than the first preset pressure value, the electronic device determines that the user state is the state before bathing begins.

[0093] Step S304, the electronic device acquires the first indoor environment temperature, and acquires the first target temperature corresponding to the state before bathing begins according to the child type.

[0094] Step S305, in a case where the first indoor environment temperature is less than the first target temperature, the electronic device controls the fan of the air conditioner to operate at a first rotating speed, and controls the compressor of the air conditioner to operate at a first frequency.

[0095] Step S306, the electronic device acquires the indoor environment humidity in the bathroom.

[0096] Step S307, in a case where the indoor environment humidity in the bathroom is greater than or equal to the preset humidity, the electronic device determines that the user state is the state of being bathed.

[0097] Step S308, the electronic device acquires the second indoor environment temperature, and acquires the second target temperature corresponding to the state of being bathed according to the child type.

[0098] Step S309, in a case where the second indoor environment temperature is less than the second target temperature, the electronic device controls the fan of the air conditioner to operate at a second rotating speed, and controls the compressor of the air conditioner to operate at a second frequency.

[0099] Step S310, the electronic device acquires the pressure value on the second shelf by using the second pressure sensor.

[0100] Step S311, in a case where the pressure value on the second shelf is less than the second preset pressure value, the electronic device determines that the user state is the state of bathing ending.

[0101] Step S312, the electronic device acquires the third indoor environment temperature, and acquires the third target temperature corresponding to the state of bathing ending according to the child type.

[0102] Step S313, in a case where the third indoor environment temperature is less than the third target temperature, the electronic device controls the fan of the air conditioner to operate at a third rotating speed, and controls the compressor of the air conditioner to operate at a third frequency.

[0103] Step S314, the electronic device detects the personnel condition in the bathroom. In a case where no person is detected in the bathroom, it is determined that the user leaves the bathroom. In a case where a person is detected in the bathroom, it is determined that the user does not leave the bathroom.

[0104] Step S315, in the case that the user leaves the bathroom, the electronic device controls the fan of the air conditioner to operate at a fourth rotating speed, controls the compressor of the air conditioner to operate at a fourth frequency, and controls the air outlet of the air deflector of the air conditioner to be adjusted to be directed to the floor of the bathroom.

[0105] By adopting the method for controlling the air conditioner provided in the embodiments of the present disclosure, when the user of the child type is taking a bath, the fan and the compressor of the air conditioner are controlled to operate according to the user state and the child type. In this way, the indoor environment temperature in the bathroom can be adjusted to a temperature that the child user feels comfortable in the case that the child user is in different bathing states. Thus, the needs of the child user for the indoor environment temperature in the bathroom in different bathing states can be met, and the experience of the child user in different bathing states is improved. After the child user leaves the bathroom, the fan, the compressor and the air deflector of the air conditioner are adjusted, so that the drying speed of the bathroom can be accelerated.

[0106] In combination Figure 4 As shown in FIG. 1, the embodiments of the present disclosure provide another method for controlling an air conditioner, which comprises the following steps:

[0107] Step S401, the electronic device determines that the user type is an adult type in response to a bathing instruction of the user.

[0108] Step S402, the electronic device acquires a pressure value on a first shelf by using a first pressure sensor.

[0109] Step S403, the electronic device determines that the user state is a state before bathing starts in the case that the pressure value on the first shelf is less than a first preset pressure value.

[0110] Step S404, the electronic device acquires a first indoor environment temperature, and acquires a first target temperature corresponding to the state before bathing starts according to the adult type.

[0111] Step S405, the electronic device controls the fan of the air conditioner to operate at a first rotating speed, and controls the compressor of the air conditioner to operate at a first frequency in the case that the first indoor environment temperature is less than the first target temperature.

[0112] Step S406, the electronic device acquires an indoor environment humidity in the bathroom.

[0113] Step S407, the electronic device determines that the user state is a state of taking a bath in the case that the indoor environment humidity in the bathroom is greater than or equal to a preset humidity.

[0114] Step S408, the electronic device acquires a second indoor environment temperature, and acquires a second target temperature corresponding to the state of taking a bath according to the adult type.

[0115] Step S409, in a case where the second indoor environment temperature is less than the second target temperature, the electronic device controls the fan of the air conditioner to operate at the second rotating speed and controls the compressor of the air conditioner to operate at the second frequency.

[0116] Step S410, the electronic device acquires, by using the second pressure sensor, a pressure value on the second shelf.

[0117] Step S411, in a case where the pressure value on the second shelf is less than the second preset pressure value, the electronic device determines that the user state is the state of the end of bathing.

[0118] Step S412, the electronic device acquires a third indoor environment temperature and acquires, according to the adult type, a third target temperature corresponding to the state of the end of bathing.

[0119] Step S413, in a case where the third indoor environment temperature is less than the third target temperature, the electronic device controls the fan of the air conditioner to operate at a third rotating speed and controls the compressor of the air conditioner to operate at a third frequency.

[0120] Step S414, the electronic device detects the personnel condition in the bathroom. In a case where no person is detected in the bathroom, it is determined that the user leaves the bathroom. In a case where a person is detected in the bathroom, it is determined that the user does not leave the bathroom.

[0121] Step S415, in a case where the user leaves the bathroom, the electronic device controls the fan of the air conditioner to operate at a fourth rotating speed and controls the compressor of the air conditioner to operate at a fourth frequency, and controls the air outlet of the air deflector of the air conditioner to be adjusted to be directed to the bathroom floor.

[0122] By adopting the method for controlling the air conditioner provided in the embodiments of the present disclosure, when the adult type user is bathing, the fan and the compressor of the air conditioner are controlled according to the user state and the adult type. In this way, in a case where the adult user is in different bathing states, the indoor environment temperature in the bathroom can be adjusted to a temperature that the adult user feels comfortable. Thus, the needs of the adult user for the indoor environment temperature in the bathroom in different bathing states can be met, and the experience of the adult user in different bathing states is improved. After the adult user leaves the bathroom, by adjusting the fan, the compressor and the air deflector of the air conditioner, the drying speed of the bathroom can be accelerated.

[0123] In combination Figure 5As shown, the embodiment of the present disclosure provides a device 4 for controlling an air conditioner, comprising a processor 41 and a memory 42. Optionally, the device can also comprise a communication interface 43 and a bus 44. Wherein the processor 41, the memory 42, the communication interface 43 can complete the communication among each other through the bus 44. The communication interface 43 can be used for information transmission. The processor 41 can call the logical instructions in the memory 42 to execute the method for controlling the air conditioner of the above-mentioned embodiment.

[0124] In addition, the logical instructions in the memory 42 described above can be realized in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium.

[0125] The memory 42 as a computer readable storage medium can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 41 executes the program instructions / modules stored in the memory 42, thereby performing function applications and data processing, that is, realizing the method for controlling the air conditioner in the above-mentioned embodiment.

[0126] The memory 42 can include a storage program area and a storage data area, wherein the storage program area can store an operating system and an application program required by at least one function; the storage data area can store data created according to the use of the terminal device, etc. In addition, the memory 42 can include a high-speed random access memory, and can also include a non-volatile memory.

[0127] By using the device for controlling the air conditioner provided by the embodiment of the present disclosure, when different types of users take a bath, the fan and the compressor of the air conditioner are controlled to operate according to the user state and the user type. In this way, the indoor environment temperature in the bathroom can be adjusted to a temperature that the user feels comfortable in the case that the user is in different bathing states. Thus, the needs of different types of users for the indoor environment temperature in the bathroom in different bathing states can be met, and the bathing experience of different types of users is improved.

[0128] In combination Figure 6 As shown, the embodiment of the present disclosure provides an air conditioner 2, comprising an air conditioner body and the above-mentioned device 4 for controlling the air conditioner. The device 4 for controlling the air conditioner is installed on the air conditioner body. The installation relationship described herein is not limited to being placed in the air conditioner, but also includes installation connection with other components of the air conditioner, including but not limited to physical connection, electrical connection or signal transmission connection, etc. Those skilled in the art can understand that the device 4 for controlling the air conditioner can be adapted to a feasible air conditioner body, and thus realize other feasible embodiments.

[0129] The technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method disclosed in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes, or can be a transitory storage medium.

[0130] The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable one skilled in the art to practice them. Other embodiments can include structural, logical, electrical, process, and other changes. The embodiments represent only a few of the possible variations. Individual components and functions are optional unless explicitly required, and the order of operations can be changed. Parts and features of some embodiments can be included in or replace parts and features of other embodiments. Also, the words used in this application are used only to describe the embodiments and not to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly requires otherwise, the singular forms "a," "an," and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listed items. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprises" and the like mean the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, or device including the stated element. In this document, each embodiment focuses on the differences from other embodiments, and the same or similar parts between embodiments can be referred to each other. For the method, product, etc. disclosed in the embodiments, if it corresponds to the method part disclosed in the embodiments, the relevant part can be referred to the description of the method part.

[0131] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to realize the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present disclosure. The skilled person can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0132] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the above-described device embodiments are only schematic, for example, the division of the units can only be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms. The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to implement the embodiments. In addition, each functional unit in the embodiments of the present disclosure can be integrated in one processing unit, or each unit can be a physically independent unit, or two or more units can be integrated in one unit.

[0133] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

Claims

1. A method for controlling an air conditioner, characterized by, The method comprises the following steps: determining a user type in response to a user's bathing instruction; the user type is used to represent the user as an adult or a child; determining a user state; the user state is used to represent the user as being in a state before bathing begins, a state of bathing, or a state of bathing ending; controlling the fan and the compressor of the air conditioner to operate according to the user state and the user type; a first shelf is arranged in the bathroom, and a first pressure sensor is arranged on the first shelf, and the user state is determined by: acquiring a pressure value on the first shelf by using the first pressure sensor; in a case where the pressure value on the first shelf is less than a first preset pressure value, determining that the user state is the state before bathing begins; in a case where the pressure value on the first shelf is greater than or equal to the first preset pressure value, determining that the user state is the state of bathing; a second shelf is arranged in the bathroom, and a second pressure sensor is arranged on the second shelf, and the user state is determined by: acquiring a pressure value on the second shelf by using the second pressure sensor; in a case where the pressure value on the second shelf is less than a second preset pressure value, determining that the user state is the state of bathing ending.

2. The method of claim 1, wherein, controlling the fan and the compressor of the air conditioner to operate according to the user state and the user type, comprising: in a case where the user state is the state before bathing begins, acquiring a first indoor environment temperature; acquiring a first target temperature corresponding to the state before bathing according to the user type; controlling the fan and the compressor of the air conditioner to operate according to the first indoor environment temperature and the first target temperature.

3. The method of claim 1, wherein, controlling the fan and the compressor of the air conditioner to operate according to the user state and the user type, comprising: in a case where the user state is the state of bathing, acquiring a second indoor environment temperature; acquiring a second target temperature corresponding to the state of bathing according to the user type; controlling the fan and the compressor of the air conditioner to operate according to the second indoor environment temperature and the second target temperature.

4. The method of claim 1, wherein, controlling the fan and the compressor of the air conditioner to operate according to the user state and the user type, comprising: in a case where the user state is the state of bathing ending, acquiring a third indoor environment temperature; acquiring a third target temperature corresponding to the state of bathing ending according to the user type; controlling the fan and the compressor of the air conditioner to operate according to the third indoor environment temperature and the third target temperature.

5. The method of claim 4, wherein, after controlling the fan and the compressor of the air conditioner to operate according to the third indoor environment temperature and the third target temperature, further comprising: determining whether the user leaves the bathroom; in a case where the user leaves the bathroom, controlling the fan, the compressor and the air deflector of the air conditioner to operate.

6. An apparatus for controlling an air conditioner, comprising a processor and a memory having stored program instructions, characterized in that, The processor is configured to execute the method for controlling the air conditioner as claimed in any one of claims 1 to 5 when the program instructions are executed.

7. An air conditioner characterized by comprising: The device comprises: an air conditioner body; the device for controlling the air conditioner as claimed in claim 6 is installed on the air conditioner body.

Citation Information

Patent Citations

  • Bathroom air conditioner and control method thereof

    CN115264687A

  • System and method for optimizing building system control of patient rooms to enhance patient outcomes

    US20180017947A1