Disclosure of Invention
The invention provides an automatic control method and device of an air conditioner, electronic equipment and a storage medium, which are used for solving the defects that the existing air conditioner in the prior art cannot automatically realize control according to the physical condition of a user and can possibly cause adverse effects on the health condition of the user in the long-term use process, and realizing the automatic control of the air conditioner adaptive to the physical condition of the user.
The invention provides an automatic control method of an air conditioner, which comprises the following steps:
acquiring identity physiological parameters of a user;
determining the physical state of the user according to the identity physiological parameters;
determining a suitable environment interval according to the physical condition;
and controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval.
According to the automatic control method of the air conditioner, provided by the invention, the identity physiological parameters of a user are obtained; the step of determining the physical state of the user according to the identity physiological parameter comprises the following steps:
acquiring the height and the weight of a user;
and calculating the body constitution index of the user according to the height and the weight, and determining the body constitution state of the user according to the body constitution index.
According to the automatic control method of the air conditioner, provided by the invention, the identity physiological parameters of a user are obtained; the step of determining the physical state of the user according to the identity physiological parameter comprises the following steps:
acquiring the age, sex and body fat rate of a user;
determining the physical condition of the user according to the age, the sex and the body fat rate of the user and the body fat rate comparison table;
wherein the body fat rate comparison table is a relation comparison table about body fat rate, age and sex.
According to the automatic control method of the air conditioner provided by the invention, the physical states comprise emaciation, normality, overweight and obesity.
According to the automatic control method of the air conditioner, provided by the invention, the suitable environment interval comprises one or more of a suitable temperature interval, a suitable humidity interval and a suitable air volume interval.
According to an automatic control method of an air conditioner provided by the present invention, the automatic control method further comprises:
acquiring state physiological parameters of a user;
adjusting an air conditioner in the suitable environment interval according to the state physiological parameters;
wherein, the state physiological parameters comprise one or more of heart rate, body surface temperature and body surface humidity.
According to the automatic control method of the air conditioner provided by the invention, the step of controlling the operation of the air conditioner based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval comprises the following steps:
determining an operation state interval of the air conditioner operation based on the suitable environment interval;
when no person is in the room, controlling the air conditioner to operate in a rapid state of the operation state interval, so that the indoor environment can rapidly reach the suitable environment interval;
when a person is in the room, the air conditioner is controlled to operate in the slow speed state of the operation state interval, so that the indoor environment slow speed reaches the suitable environment interval.
The present invention also provides an automatic control device of an air conditioner, comprising:
the information collection unit is used for acquiring the identity physiological parameters of the user;
the first analysis unit is used for determining the physical state of the user according to the identity physiological parameter;
a second analysis unit for determining a suitable environmental section according to the physical state;
and the control unit is used for controlling the operation of the air conditioner based on the suitable environment interval so that the indoor environment reaches the suitable environment interval.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the steps of the automatic control method of the air conditioner.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the automatic control method of an air conditioner as described in any one of the above.
According to the automatic control method, the device, the electronic equipment and the storage medium of the air conditioner, the physical state is determined through the identity physiological parameters of the user, and the environment suitable for the user is determined according to the physical state, so that the operation of the air conditioner is controlled according to the suitable environment interval, the indoor environment meets the requirements of the user, the user experience is improved, compared with the existing intelligent control method of the air conditioner, the automatic control method of the air conditioner provided by the invention can be automatically adjusted to be the suitable living environment according to the physical state of the user, the adverse effect on the health of the user is avoided, and the automatic control of the air conditioner to be matched with the physical state of the user is realized.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An automatic control method, apparatus, electronic device, and storage medium of an air conditioner according to the present invention will be described with reference to fig. 1 to 6.
Referring to fig. 1, the method for automatically controlling an air conditioner includes:
100, acquiring identity physiological parameters of a user;
the physiological parameters of the user are intrinsic parameters of the user, such as the age, sex, height, physique, fat percentage and the like of the user, and the parameters do not change with time in a short time, so that the physique state determined according to the parameters does not change in a certain time.
200, determining the physical state of the user according to the identity physiological parameters;
the physical status is the current physical condition of the user, and in one embodiment of the present invention, the physical status of the user includes lean, normal, heavy and fat. By dividing the physical status into the above four statuses, each of the physical statuses has a corresponding suitable environment, so that the user corresponding to the physical status does not feel uncomfortable in the environment, thereby improving the user experience. In other embodiments, the four constitutional states can be further subdivided as needed, and further description is omitted.
300, determining a suitable environment interval according to the physical state;
the physical condition of each person is different, and therefore, it is necessary to determine an appropriate environment section suitable for each person in accordance with the physical condition of each person, and the user does not feel uncomfortable in the environment section and does not have adverse effects on the health of the user.
In an embodiment of the invention, the suitable environment interval includes one or more of a suitable temperature interval, a suitable humidity interval and a suitable air volume interval.
Specifically, in an embodiment, taking the four divided physical states as an example, when the physical state is lean, the corresponding suitable temperature interval is 22 to 23 ℃, the suitable humidity interval is 20 to 30%, and the suitable air volume interval is the lowest air volume; when the physical condition is normal, the corresponding suitable temperature interval is 23-24 ℃, the suitable humidity interval is 30-40%, and the suitable air volume interval is low air volume; when the physical condition is overweight, the corresponding suitable temperature interval is 24-25 ℃, the suitable humidity interval is 40-50%, and the suitable air volume interval is the medium air volume; when the physical condition is obesity, the corresponding suitable temperature interval is 25-26 ℃, the suitable humidity interval is 50-60%, and the suitable air volume interval is high air volume. The four air quantities are four gears divided by the air conditioner, and are adjusted to the corresponding gears through the corresponding physical states, so that the comfort level of a user corresponding to the physical states is improved.
And 400, controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval.
After the suitable environment interval is determined, the indoor environment finally reaches the suitable environment interval by controlling the operation of the air conditioner so as to adapt to the physical state of the user and improve the user experience.
In the embodiment, the physical state is determined through the identity physiological parameters of the user, and the environment suitable for the user is determined according to the physical state, so that the operation of the air conditioner is controlled according to the suitable environment interval, the indoor environment meets the requirements of the user, and the user experience is improved.
Referring to fig. 2, in an embodiment of the present invention, the identity physiological parameter of the user is obtained; the step of determining the physical state of the user according to the identity physiological parameter comprises the following steps:
101, acquiring the height and the weight of a user;
and 201, calculating the body constitution index of the user according to the height and the weight, and determining the body constitution state of the user according to the body constitution index.
Obtaining a corresponding physique state by obtaining the height and the weight of the user, wherein the physique index is weight ÷ height ^2, and when the physique index is less than or equal to 18.5 when the four physique states are divided, the physique state is thin; when the body constitution index is 18.6-23.9, the body constitution state is normal; when the body mass index is 24.0-27.9, the body mass state is overweight; when the body constitution index is more than or equal to 28.0, the body constitution state is obesity. Therefore, after the height and the weight of the user are obtained, the physical condition of the user can be quickly obtained.
In this embodiment, the height and the weight of the user are obtained in real time, that is, the weight collector is arranged at the bottom of the entrance door, the height collector is arranged at the side edge, the height collector and the air conditioner are in signal connection, the collected information is sent to the air conditioner in real time, and then the body mass index of the user entering the room can be measured to obtain the body mass state of the user. In yet another embodiment, the user's height and weight may be self-entered.
Referring to fig. 3, in another embodiment, the identity physiological parameter of the user is obtained; the step of determining the physical state of the user according to the identity physiological parameter comprises the following steps:
102, acquiring the age, the sex and the body fat rate of a user;
202, determining the physical condition of the user according to the age, the sex and the body fat rate of the user and the body fat rate comparison table;
wherein the body fat rate comparison table is a relation comparison table about body fat rate, age and sex.
The age and the sex of the user can be input initially, the body fat rate of the user can be collected through the sensing diaphragm arranged on the door handle of the entrance door, and the collected information is sent to the air conditioner in real time through signal connection with the air conditioner, so that the physical condition of the user can be determined according to the body fat rate comparison table. The body fat ratio comparison table can refer to fig. 4 and 5.
Referring to fig. 1, in another embodiment of the present invention, the automatic control method further includes:
acquiring state physiological parameters of a user;
adjusting an air conditioner in the suitable environment interval according to the state physiological parameters;
wherein, the state physiological parameters comprise one or more of heart rate, body surface temperature and body surface humidity.
The state physiological parameters are parameters which change greatly in a short time, so that when the air conditioner operates, after the indoor environment is changed to the adaptive environment interval, fine adjustment is needed according to the specific state of the user, and the user experience is further improved.
For example, in the state physiological parameters given in this embodiment, the heart rate may be obtained by a watch worn by the user and the like in linkage with the air conditioner, or the heart rate may be obtained by an inductive diaphragm on a door handle of the entry door, and when the heart rate decreases, the temperature in the suitable temperature range increases, the humidity in the suitable humidity range increases, and the air volume decreases, and when the heart rate increases, the temperature in the suitable temperature range decreases, the humidity in the suitable humidity range decreases, and the air volume increases; in addition, the body surface temperature of the user can be detected by an infrared sensor arranged on the air conditioner, when the body surface temperature of the user is reduced, the temperature of the proper temperature interval is increased, the humidity of the proper humidity interval is increased, and the air volume is reduced; in addition, the body surface humidity of the user can be detected through a camera and the like, when the body surface humidity of the user is reduced, the temperature of the suitable temperature interval is increased, the humidity of the suitable humidity interval is increased, the air volume is reduced, when the body surface temperature of the user is increased, the temperature of the suitable temperature interval is reduced, the humidity of the suitable humidity interval is reduced, and the air volume is increased.
Therefore, the air conditioner is finely adjusted based on the state physiological parameters, so that a user is more comfortable, and the health of the user is not affected. Of course, in this embodiment, only the three state physiological parameters are given, and more state physiological parameters that can be changed in a short time can be set as needed, so as to further improve the comfortable experience of the user.
Referring to fig. 1, in addition, in an embodiment of the present invention, the step of controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval includes:
determining an operation state interval of the air conditioner operation based on the suitable environment interval;
when no person is in the room, controlling the air conditioner to operate in a rapid state of the operation state interval, so that the indoor environment can rapidly reach the suitable environment interval;
when a person is in the room, the air conditioner is controlled to operate in the slow speed state of the operation state interval, so that the indoor environment slow speed reaches the suitable environment interval.
The above only shows the final state of the indoor environment after the air conditioner is operated, but in actual use, the current operation state of the air conditioner is indefinite, but the operation parameters of the air conditioner are in a certain range in order to reach the suitable environment interval. If the current environment temperature is higher, the suitable temperature interval is 22-23 ℃, the operation temperature of the air conditioner is between the minimum temperature and 23 ℃, and the current environment humidity is higher, the suitable humidity interval is 20-30%, and the operation humidity of the air conditioner is between the minimum humidity and 30%, so that when no person is in a room, in order to quickly reach the suitable environment interval, the quick state of the operation state interval is the minimum temperature, the minimum humidity and the high air volume operation, and when the suitable environment interval is reached, the operation is carried out according to the temperature, the humidity and the air volume of the suitable environment interval; when a person is in the room, the slow speed state is that the air flow runs at the temperature of 23 ℃ and the humidity of 30 percent and runs in the air flow interval with proper air flow, namely the lowest air flow, until the air flow reaches the proper environment interval.
Like this, through the operation of above-mentioned mode, when nobody in the room, can make indoor environment reach suitable environment interval fast, and when someone in the room, in order to avoid uncomfortable, reach suitable environment interval through the slow speed operation to improve user experience.
In one embodiment of the invention, when the user uses the air conditioner, the switching between the automatic control and the manual control of the air conditioner can be realized through control, so that the autonomous selection of the user is increased, and the use is convenient.
In addition, the present invention also provides an automatic control apparatus of an air conditioner, comprising:
the information collection unit is used for acquiring the identity physiological parameters of the user;
the first analysis unit is used for determining the physical state of the user according to the identity physiological parameter;
a second analysis unit for determining a suitable environmental section according to the physical state;
and the control unit is used for controlling the operation of the air conditioner based on the suitable environment interval so that the indoor environment reaches the suitable environment interval.
The automatic control device of the air conditioner provided in this embodiment may refer to the foregoing method, and will not be described in detail. The physical state is determined through the identity physiological parameters of the user, and the environment suitable for the user is determined according to the physical state, so that the operation of the air conditioner is controlled according to the suitable environment interval, the indoor environment meets the requirements of the user, and the user experience is improved.
In order to obtain the identity information parameters and the state information parameters, the air conditioner can be in communication connection with a mobile phone, wearing equipment or other electrical equipment and the like so as to quickly obtain corresponding information and realize automatic adjustment of the air conditioner.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and acommunication bus 540, wherein theprocessor 510, thecommunication Interface 520 and thememory 530 communicate with each other via thecommunication bus 540. Theprocessor 510 may call logic instructions in thememory 530 to perform an automatic control method of the air conditioner, the method including: acquiring identity physiological parameters of a user; determining the physical state of the user according to the identity physiological parameters; determining a suitable environment interval according to the physical condition; and controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval.
Furthermore, the logic instructions in thememory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the automatic control method of an air conditioner provided by the above methods, the method comprising: acquiring identity physiological parameters of a user; determining the physical state of the user according to the identity physiological parameters; determining a suitable environment interval according to the physical condition; and controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval.
In still another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the above-provided automatic control method of an air conditioner, the method including: acquiring identity physiological parameters of a user; determining the physical state of the user according to the identity physiological parameters; determining a suitable environment interval according to the physical condition; and controlling the air conditioner to operate based on the suitable environment interval to enable the indoor environment to reach the suitable environment interval.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.