Disclosure of Invention
The invention provides a quilt kicking prevention air conditioner control method and device, which are used for solving the problem that a user cannot be effectively prevented from kicking a quilt in sleep in time when the existing air conditioner regulates and controls an indoor environment.
The invention provides an anti-kicking air conditioner control method, which comprises the following steps: acquiring the covering state of the bedding on the user body and the environmental parameters of the sleeping environment at the inner side of the bedding; under the condition that the bedding is covered on the user, determining the air outlet parameter of the air conditioner suitable for the user to sleep and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter; controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range suitable for sleeping; wherein the environmental parameters include: at least one of temperature and relative humidity.
According to the control method for the air conditioner capable of preventing the quilt from being kicked, provided by the invention, the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment are determined according to the threshold range of the environmental parameter, and the control method comprises the following steps: under the condition that the temperature of the sleeping environment is higher than 35 ℃ and/or the relative humidity is higher than 60%, determining that the air outlet parameter is a first air speed and the target temperature is a first temperature; the first wind speed is the sum of the current wind speed of the air outlet of the air conditioner and a wind speed increment value, and the first temperature is the difference between the set temperature of the air conditioner and a temperature increment value.
According to the control method for the air conditioner capable of preventing the quilt from being kicked, provided by the invention, the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment are determined according to the threshold range of the environmental parameter, and the control method comprises the following steps: determining that the air outlet parameter is a second air speed and the target temperature is a second temperature under the condition that the temperature of the sleeping environment is greater than or equal to 32 ℃ and less than or equal to 35 ℃; the second wind speed is the difference between the current wind speed of the outlet air of the air conditioner and the wind speed increment value, and the second temperature is the set temperature of the air conditioner.
According to the control method for the air conditioner capable of preventing the quilt from being kicked, provided by the invention, the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment are determined according to the threshold range of the environmental parameter, and the control method comprises the following steps: under the condition that the temperature of the sleeping environment is lower than 32 ℃, determining that the air outlet parameter is a third air speed and the target temperature is a third temperature; the third wind speed is the sum of the current wind speed of the air outlet of the air conditioner and a wind speed increment value, and the third temperature is the sum of the set temperature of the air conditioner and a temperature increment value.
According to the air conditioner control method for preventing the quilt from being kicked, provided by the invention, the method for acquiring the covering state of the quilt on the body of the user and the environmental parameters of the sleeping environment at the inner side of the quilt further comprises the following steps: under the condition that the air conditioner is started and operates for a preset time length, acquiring the covering state and the environmental parameters of the sleeping environment for multiple times according to preset interval time; wherein the preset time is 30-90 min; the preset interval time is 10-15 min.
According to the air conditioner control method for preventing the quilt from being kicked, provided by the invention, the method for acquiring the covering state of the quilt on the body of the user and the environmental parameters of the sleeping environment at the inner side of the quilt further comprises the following steps: the covering state of the bedding on the user body is obtained through a camera arranged on the air conditioner, and the temperature and the relative humidity of the sleeping environment are obtained through a temperature and humidity sensor arranged in the bedding and/or a mattress.
According to the air conditioner control method for preventing kicking quilt provided by the invention, the method further comprises the following steps: under the condition that the bedding is covered on the user, if the temperature of the sleeping environment is higher than 37.5 ℃ and lasts for a preset time, an alarm indication is sent out; alternatively, an alarm indication may be issued in the event that the bedding is not draped over the user.
The present invention also provides an air conditioner control device for preventing kicking of a quilt, including: the device comprises an acquisition module, a determination module and a control module; the acquisition module is used for acquiring the covering state of the bedding on the user body and the environmental parameters of the sleeping environment at the inner side of the bedding; the determining module is used for determining the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter under the condition that the bedding covers the user; the control module is used for controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range; wherein the environmental parameters include: at least one of temperature and relative humidity.
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 when the processor executes the computer program, the steps of the anti-kicking air-conditioning control method are realized.
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 anti-kicking air conditioning control method as recited in any one of the above.
According to the air conditioner control method and device for preventing the quilt from being kicked provided by the invention, the air outlet parameter of the air conditioner and the temperature of the indoor environment can be adaptively adjusted according to the threshold range of the environment parameter of the sleeping environment under the condition that the quilt is covered on the user, so that the user can sleep in a comfortable indoor environment, and meanwhile, the environment parameter of the sleeping environment inside the quilt is ensured to be in the preset threshold range suitable for sleeping, so that the quilt kicking event caused by the uncomfortable sleeping of the user can be timely and effectively prevented, and the air conditioner control method and device are particularly suitable for preventing the quilt from being kicked by an infant in sleeping.
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.
The following describes a control method and device of an anti-kicking air conditioner according to the present invention with reference to fig. 1 to 3.
As shown in fig. 1, the present embodiment provides a method for controlling an air conditioner to prevent kicking, including:
step 110, obtaining the covering state of the bedding on the user and the environmental parameters of the sleeping environment inside the bedding.
And 120, under the condition that the bedding is covered on the user, determining the air outlet parameter of the air conditioner suitable for the user to sleep and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter.
Step 130, controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range suitable for sleeping; wherein the environmental parameters include: at least one of temperature and relative humidity.
Specifically, in this embodiment, by obtaining the covering state of the bedding on the user body and the environmental parameters of the sleeping environment inside the bedding, the air-out parameters of the air conditioner and the temperature of the indoor environment can be adaptively adjusted according to the threshold range of the environmental parameters of the sleeping environment under the condition that the bedding is covered on the user body, so as to ensure that the user sleeps in a comfortable indoor environment, and simultaneously ensure that the environmental parameters of the sleeping environment inside the bedding are within the preset threshold range suitable for sleeping, thereby timely and effectively preventing the user from kicking the quilt due to uncomfortable sleeping, and particularly suitable for preventing the infant from kicking the quilt in sleeping.
It should be noted that the air outlet parameters shown in the present embodiment include at least one of an air outlet temperature, an air outlet direction, an air outlet amount, and an air outlet humidity.
Since the comfortable temperature of the optimum sleeping environment of the human body is 32-35 ℃ and the relative humidity is 30-50%, in this embodiment, when the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment are determined, the air outlet temperature of the air conditioner and the target temperature for adjusting the indoor environment can be determined according to the temperature of the sleeping environment on the inner side of the bedding. In order to ensure the comfort of the user sleeping, the air outlet direction, the air outlet amount and the air outlet humidity can be adaptively set, for example: the controller can be controlled to supply air in a direct blowing prevention mode, or the air outlet quantity of the air conditioner can be adaptively increased when the temperature in the bedding is higher, and the air outlet quantity of the air conditioner can be adaptively reduced when the temperature in the bedding is in a proper temperature range. Here, this embodiment can realize the regulation to the environmental parameter of the inboard sleep environment of bed clothes gradually and indirectly based on the sign regulating effect to user's production to the regulation to indoor environment to make the user sleep under comfortable environment, reduce the probability that plays the quilt.
Meanwhile, the sleeping environment shown in the present embodiment may be understood as a gap space between the inner side of the quilt and the surface of the human body or a gap space between the surface of the human body and the mattress. Here, this embodiment both can adopt the humiture sensor who locates in the clearance space to detect the humiture information of sleep environment, also can adopt the humiture sensor who locates in the bed clothes or in the mattress to detect the humiture information of sleep environment.
In a preferred embodiment, the determining the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter in this embodiment includes, but is not limited to, the following steps:
under the condition that the temperature of the sleeping environment is higher than 35 ℃ and/or the relative humidity is higher than 60%, determining the air outlet parameter as a first air speed and the target temperature as a first temperature; the first air speed is the sum of the current air speed of the air outlet of the air conditioner and an air speed increment value, and the first temperature is the difference between the set temperature of the air conditioner and the temperature increment value. Here, the air outlet gear of the air conditioner can be shifted up by one gear on the basis of the current wind speed gear in the embodiment, so that the air conditioner can supply air at the first wind speed, and the indoor temperature is controlled to be reduced. The present embodiment may set the temperature increment value to 1 ℃ to 2 ℃, for example, the temperature increment value may specifically be 1 ℃, 1.5 ℃ or 2 ℃.
Specifically, because human body all can appear uncomfortable when the temperature is greater than 35 ℃ or relative humidity is greater than 60%, and produce stress response, thereby in order to prevent that the user from kicking the quilt in sleep, when satisfying at least one in the temperature of sleep environment and being greater than 35 ℃ and relative humidity and being greater than 60%, can judge that the sleep environment of bedding inboard is not suitable for user's sleep, thereby can be according to the built-in procedure of air conditioner, the air-out wind speed of control air conditioner increases on the basis of current wind speed, and control air conditioner is to the regulation and control temperature of indoor environment and reduce on the basis of the settlement temperature, realize through improving indoor environment and to the regulation of human physical sign.
In another preferred embodiment, the determining the air outlet parameter of the air conditioner and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter in this embodiment includes, but is not limited to, the following steps:
under the condition that the temperature of the sleeping environment is greater than or equal to 32 ℃ and less than or equal to 35 ℃, determining the air outlet parameter as a second air speed and the target temperature as a second temperature; the second air speed is the difference between the current air speed of the air outlet of the air conditioner and the air speed increment value, and the second temperature is the set temperature of the air conditioner. Here, the air outlet gear of the air conditioner can be shifted down by one gear on the basis of the current wind speed gear in the embodiment, so that the air conditioner can supply air at the second wind speed, and the indoor temperature is controlled and maintained.
Specifically, when the temperature of the user sleeping environment is within the range of the comfortable temperature, in order to ensure that the user continues to sleep comfortably, the air outlet speed of the air conditioner is controlled to be reduced on the basis of the current air speed according to the program built in the air conditioner, and the temperature of the air conditioner for regulating and controlling the indoor environment is controlled to be the set temperature.
In another preferred embodiment, the determining the air-out parameter of the air conditioner and the target temperature for adjusting the indoor environment according to the threshold range of the environmental parameter includes, but is not limited to, the following steps:
under the condition that the temperature of the sleeping environment is lower than 32 ℃, determining the air outlet parameter as a third air speed and the target temperature as a third temperature; the third wind speed is the sum of the current wind speed of the air outlet of the air conditioner and the wind speed increment value, and the third temperature is the sum of the set temperature of the air conditioner and the temperature increment value. Here, the air outlet gear of the air conditioner can be shifted up by one gear on the basis of the current wind speed gear in the embodiment, so that the air conditioner can supply air at a third wind speed, and the indoor temperature is controlled to be increased.
Specifically, when a user just enters sleep or a getting-up event occurs in the middle of sleeping, the temperature of the sleeping environment may be reduced, in the embodiment, the air conditioner is controlled to output air at the third air speed, and the indoor environment is controlled to be subjected to temperature adjustment at the third temperature, so that the indoor environment can be adjusted to an environment suitable for sleeping of a human body as soon as possible, an auxiliary effect is provided for the sleeping of the user, and therefore on the basis of adjusting the indoor environment, the sleeping environment on the inner side of the bedding can meet the comfortable sleeping requirement of the user as soon as possible.
Further, in order to ensure the accuracy of detecting the environmental parameters and timely and effectively monitor the sleep state of the user, the acquiring the covering state of the bedding on the user body and the environmental parameters of the sleep environment inside the bedding shown in this embodiment further includes: and under the condition that the air conditioner is started and runs for a preset time, acquiring the covering state and the environmental parameters of the sleeping environment for many times according to preset interval time.
The preset time shown in this embodiment is 30-90min, for example, the preset time may be 30min, 45min, 60min or 90 min. The preset interval shown in this embodiment is 10-15min, for example, the preset interval may be 10min, 12min or 15 min.
Further, the acquiring of the covering state of the bedding on the user and the environmental parameters of the sleeping environment inside the bedding shown in this embodiment further includes: the covering state of the bedding on the user body is obtained through the camera arranged on the air conditioner, and the temperature and the relative humidity of the sleeping environment are obtained through the temperature and humidity sensor arranged in the bedding and/or the mattress.
The camera shown in this embodiment is in communication connection with an air conditioner controller in the air conditioner, the camera is used for collecting indoor image information of a user, and the air conditioner controller can process the image information by adopting an image recognition algorithm known in the art to judge whether a bedding covers the body of the user.
Meanwhile, in order to ensure the accuracy of the temperature and humidity detection result of the sleeping environment, a plurality of temperature and humidity sensors can be arranged in both the bedding and the mattress shown in the embodiment. The temperature of the sleep environment obtained in this embodiment is an arithmetic average of temperature data collected by a plurality of temperature and humidity sensors, and the relative humidity of the sleep environment obtained in this embodiment is an arithmetic average of humidity data collected by a plurality of temperature and humidity sensors.
In addition, the temperature and humidity sensor shown in this embodiment can establish wireless communication connection with the air conditioner controller through the wireless transmission modules such as the WIFI module, the bluetooth module and the zigbee module, so as to upload the detected temperature and humidity information of the sleeping environment to the air conditioner controller in real time.
Further, in order to timely distinguish and warn the fever event of the user, the method shown in this embodiment further includes: and under the condition that the bedding is covered on the user, if the temperature of the sleeping environment is higher than 37.5 ℃ and lasts for a preset time, giving an alarm indication.
Meanwhile, in order to timely warn the quilt kicking sub-event of the user, the embodiment sends out the warning indication under the condition that the quilt is not covered on the body of the user.
Here, the alarm indication shown in this embodiment may be a field alarm in the form of sound and light or voice, or may send alarm information to other family members related to the user to implement remote alarm.
The following describes the anti-kicking air conditioner control device provided by the present invention, and the anti-kicking air conditioner control device described below and the anti-kicking air conditioner control method described above can be referred to correspondingly.
As shown in fig. 2, the present embodiment further provides an anti-kicking air conditioning control device, including:
the obtainingmodule 210 is configured to obtain an overlaying state of the bedding on the user and an environmental parameter of a sleep environment inside the bedding.
The determiningmodule 220 is configured to determine an air outlet parameter of air outlet of the air conditioner and a target temperature for adjusting an indoor environment according to a threshold range of the environmental parameter when the bedding is covered on the user.
Thecontrol module 230 is configured to control operation of the air conditioner according to the air outlet parameter and the target temperature, so that the environmental parameter of the sleep environment is within a preset threshold range. Wherein the environmental parameters include: at least one of temperature and relative humidity.
Specifically, in this embodiment, by obtaining the covering state of the bedding on the user body and the environmental parameters of the sleeping environment inside the bedding, the air-out parameters of the air conditioner and the temperature of the indoor environment can be adaptively adjusted according to the threshold range of the environmental parameters of the sleeping environment under the condition that the bedding is covered on the user body, so as to ensure that the user sleeps in a comfortable indoor environment, and simultaneously ensure that the environmental parameters of the sleeping environment inside the bedding are within the preset threshold range suitable for sleeping, thereby timely and effectively preventing the user from kicking the quilt due to uncomfortable sleeping, and particularly suitable for preventing the infant from kicking the quilt in sleeping.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and acommunication bus 340, wherein theprocessor 310, thecommunication Interface 320 and thememory 330 communicate with each other via thecommunication bus 340. Theprocessor 310 may call logic instructions in thememory 330 to perform an anti-kicking air conditioning control method, the method comprising: acquiring the covering state of the bedding on the user body and the environmental parameters of the sleeping environment at the inner side of the bedding; under the condition that the bedding is covered on the user body, determining an air outlet parameter of air outlet of the air conditioner and a target temperature for adjusting indoor environment according to the threshold range of the environmental parameter; controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range suitable for sleeping; wherein the environmental parameters include: at least one of temperature and relative humidity.
In addition, the logic instructions in thememory 330 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 execute the anti-kicking air conditioning control method provided by the above methods, the method comprising: acquiring the covering state of the bedding on the user body and the environmental parameters of the sleeping environment at the inner side of the bedding; under the condition that the bedding is covered on the user body, determining an air outlet parameter of air outlet of the air conditioner and a target temperature for adjusting indoor environment according to the threshold range of the environmental parameter; controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range suitable for sleeping; wherein the environmental parameters include: at least one of temperature and relative humidity.
In yet 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-mentioned kicking-prevention air-conditioning control method, the method including: acquiring the covering state of the bedding on the user body and the environmental parameters of the sleeping environment at the inner side of the bedding; under the condition that the bedding is covered on the user body, determining an air outlet parameter of air outlet of the air conditioner and a target temperature for adjusting indoor environment according to the threshold range of the environmental parameter; controlling the operation of the air conditioner according to the air outlet parameter and the target temperature so as to enable the environmental parameter of the sleeping environment to be within a preset threshold range suitable for sleeping; wherein the environmental parameters include: at least one of temperature and relative humidity.
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.