CN115077021A - Air conditioner control method and device for improving sleep quality and air conditioner - Google Patents
Air conditioner control method and device for improving sleep quality and air conditioner Download PDFInfo
- Publication number
- CN115077021A CN115077021A CN202210483452.4A CN202210483452A CN115077021A CN 115077021 A CN115077021 A CN 115077021A CN 202210483452 A CN202210483452 A CN 202210483452A CN 115077021 A CN115077021 A CN 115077021A
- Authority
- CN
- China
- Prior art keywords
- air conditioner
- sleep
- user
- set temperature
- remaining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003860 sleep quality Effects 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000007958 sleep Effects 0.000 claims abstract description 94
- 230000004622 sleep time Effects 0.000 claims description 71
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010438 heat treatment Methods 0.000 claims description 7
- 230000036578 sleeping time Effects 0.000 claims description 7
- 210000000115 thoracic cavity Anatomy 0.000 claims description 7
- 238000007791 dehumidification Methods 0.000 claims description 6
- 238000004378 air conditioning Methods 0.000 claims description 4
- 238000005057 refrigeration Methods 0.000 claims description 4
- 230000007306 turnover Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 10
- 230000004617 sleep duration Effects 0.000 description 6
- 230000029058 respiratory gaseous exchange Effects 0.000 description 4
- 206010062519 Poor quality sleep Diseases 0.000 description 3
- 210000000038 chest Anatomy 0.000 description 3
- 238000001816 cooling Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000037007 arousal Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000241 respiratory effect Effects 0.000 description 1
- 230000036391 respiratory frequency Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/65—Electronic processing for selecting an operating mode
- F24F11/66—Sleep mode
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/61—Control or safety arrangements characterised by user interfaces or communication using timers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/80—Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/10—Temperature
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
- F24F2120/10—Occupancy
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention relates to the technical field of air conditioners, and provides an air conditioner control method and device for improving sleep quality, electronic equipment, a storage medium and an air conditioner. The air conditioner control method for improving sleep quality comprises the following steps: judging whether the user is in an awakening period after entering a sleep state, wherein when the user is in the sleep state, the air conditioner operates according to a first sleep curve; and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature. The air conditioner control method for improving the sleep quality can judge the sleep state of the user, when the user is in the wake-up period, the air conditioner control method can automatically operate according to the second sleep curve, dynamically adjust the current set temperature, reduce the difference between the initial set temperature and the current set temperature, enable the body feeling of the user to be more comfortable, facilitate the user to fall asleep quickly, and accordingly improve the sleep quality of the user.
Description
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner control method and device for improving sleep quality, electronic equipment, a storage medium and an air conditioner.
Background
After the user enters the sleep state, the air conditioner is generally operated according to a preset sleep curve. When a user wakes up in the middle of the night, the conventional air conditioner cannot sense that the user is awake and still operates according to a preset sleep curve, and at the moment, the indoor temperature is possibly higher or lower, the user feels poorer, so that the sleep quality of the user is reduced.
Disclosure of Invention
The invention provides an air conditioner control method and device for improving sleep quality, electronic equipment, a storage medium and an air conditioner, which are used for solving the defect that the difference between the initial set temperature and the current set temperature of the air conditioner is larger after a user wakes up in the middle of the night in the prior art.
The invention provides an air conditioner control method for improving sleep quality, which comprises the following steps: judging whether the user is in an awakening period after entering a sleep state, wherein when the user is in the sleep state, the air conditioner operates according to a first sleep curve; and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature.
According to the air conditioner control method for improving sleep quality provided by the invention, the step of judging whether the user is in the wake-up period after entering the sleep state comprises the following steps: acquiring a state parameter of a user; and if the state parameter is larger than the first preset value, judging that the user is in the wake-up period.
According to the air conditioner control method for improving sleep quality provided by the invention, the step of acquiring the state parameters of the user further comprises the following steps: acquiring the turnover frequency or the fluctuation frequency of the thoracic cavity of the user.
According to the air conditioner control method for improving sleep quality provided by the invention, the step of controlling the air conditioner to operate according to the second sleep curve further comprises the following steps: and acquiring the remaining sleep time of the user, and setting a second sleep curve of the air conditioner based on the remaining sleep time and the working mode of the air conditioner.
According to the air conditioner control method for improving sleep quality provided by the invention, the step of setting the second sleep curve of the air conditioner based on the remaining sleep time and the working mode of the air conditioner further comprises the following steps: and when in the refrigeration mode or the dehumidification mode, setting a second sleep curve of the air conditioner as follows: setting a first set temperature of the air conditioner within a first remaining sleep time, wherein the first set temperature is greater than an initial set temperature; controlling the air conditioner to operate according to the first set temperature within a second remaining sleep time; the first set temperature is the current set temperature, and the sum of the first remaining sleep time length and the second remaining sleep time length is the remaining sleep time length.
According to the air conditioner control method for improving sleep quality provided by the invention, the step of setting the second sleep curve of the air conditioner based on the remaining sleep time and the working mode of the air conditioner further comprises the following steps: in the heating mode, setting a second sleep curve of the air conditioner as follows: setting a second set temperature of the air conditioner within the first remaining sleep time, wherein the second set temperature is less than the initial set temperature; setting a third set temperature of the air conditioner within a second remaining sleep time period, wherein the third set temperature is less than the second set temperature; controlling the air conditioner to operate according to the third set temperature within a third remaining sleep time period; wherein the third set temperature is the current set temperature, and the sum of the first remaining sleep time, the second remaining sleep time, and the third remaining sleep time is the remaining sleep time.
The present invention also provides an air conditioner control device for improving sleep quality, comprising: the judging module is used for judging whether the user is in the wake-up period after entering the sleep state; and the control module is used for controlling the air conditioner to operate according to a second sleep curve to adjust the indoor temperature if the user is in the wake period.
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 program, the air conditioner control method for improving the sleep quality is 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 air conditioner control method for improving sleep quality as described above.
The present invention also provides an air conditioner including: the air conditioner indoor unit is provided with a radar, a timer and a photosensitive element, the radar is used for detecting state parameters of a user, the timer is used for recording the sleeping time of the user, and the photosensitive element is used for detecting indoor light and triggering the timer to start timing.
The air conditioner control method for improving the sleep quality can judge the sleep state of the user, operate according to the first sleep curve when the user falls asleep for the first time, automatically operate according to the second sleep curve when the user is in the wake-up period, dynamically adjust the current set temperature, reduce the difference between the initial set temperature and the current set temperature, make the user feel more comfortable, and facilitate the user to fall asleep quickly, thereby improving the sleep quality of the user.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an air conditioner control method for improving sleep quality according to the present invention;
FIG. 2 is a schematic structural diagram of an electronic device provided by the present invention;
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 features of the terms first and second in the description and in the claims of the invention may explicitly or implicitly include one or more of these features. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
The following describes an air conditioner control method, an air conditioner control device, an electronic device, a storage medium and an air conditioner for improving sleep quality according to the present invention with reference to fig. 1 and 2.
As shown in fig. 1, in an embodiment of the present invention, an air conditioner control method for improving sleep quality specifically includes the following steps:
step 101: and judging whether the user is in an awakening period after entering the sleep state, wherein the air conditioner operates according to a first sleep curve when the user is in the sleep state. Step 102: and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature.
Specifically, the sleep process is divided into a sleep period, a light sleep period, a deep sleep period and an arousal period, and after a person enters a sleep state, the person frequently wakes up in the middle of the night, in the prior art, when the user enters the sleep state, the air conditioner operates according to a preset first sleep curve, specifically, the operation mode of the first sleep curve is as follows: in the cooling mode or the dehumidification mode, taking the total sleep time of a user as 8 hours as an example, in the first hour of the sleep time, the set temperature of the air conditioner is set to be increased from the initial set temperature by a preset value, in the second hour of the sleep time, the set temperature of the air conditioner is set to be increased from the current set temperature by the preset value again, and in the rest 6 hours of the sleep time, the air conditioner operates according to the final set temperature. For example, the predetermined value is 0.5 ℃. Assuming that the initial set temperature of the user before falling asleep is 26 ℃, according to the first sleep curve, the current set temperature of the air conditioner is 26.5 ℃ in the first hour after the user falls asleep, the final set temperature of the air conditioner is 27 ℃ in the second hour after the user falls asleep, and the set temperatures of the air conditioner are all 27 ℃ in the third hour to the eighth hour after the user falls asleep, at this time, assuming that the user wakes up in the 4 th hour of the sleep time, at this time, the set temperature of the air conditioner is 27 ℃, and the problem of hot body feeling can occur.
In the heating mode, taking the total sleeping time of a user as 8 hours as an example, in the first hour of the sleeping time, the set temperature of the air conditioner is set to be reduced from the initial set temperature by a first preset value, in the second hour of the sleeping time, the set temperature of the air conditioner is set to be reduced from the current set temperature by the first preset value again, in the 3 rd to 5 th hours of the sleeping time, the set temperature of the air conditioner is set to be increased by a second preset value on the basis of the previous time, and in the 6 th to 8 th hours of the sleeping time, the air conditioner operates according to the final set temperature. For example, the first predetermined value is 1 ℃ and the second predetermined value is 0.5 ℃. Assuming that the initial set temperature of the user before falling asleep is 30 ℃, according to the first sleep curve, the current set temperature of the air conditioner is 29 ℃ in the first hour after the user falls asleep, the set temperature of the air conditioner is 28 ℃ in the second hour after the user falls asleep, the set temperature of the air conditioner is 28.5 ℃ in 3-5 hours after the user falls asleep, and the set temperature of the air conditioner is 28.5 ℃ in 6-8 hours after the user falls asleep, so that the problem of cold body feeling can occur.
In the embodiment of the invention, the air conditioner is provided with a detection device which can be used for detecting the state parameters of the user and judging whether the user wakes up in the middle of the night. When the air conditioner senses that the user wakes up after entering the sleep state, the air conditioner automatically operates according to the second sleep curve to dynamically adjust the indoor temperature so as to reduce the difference between the current set temperature and the initial set temperature and enhance the body feeling comfort, so that the user can fall asleep quickly, and the sleep quality of the user is improved.
The air conditioner control method for improving the sleep quality can judge the sleep state of a user, operate according to the first sleep curve when the user falls asleep for the first time, and automatically operate according to the second sleep curve when the user is in the wake period, so that the current set temperature is dynamically adjusted, the difference between the initial set temperature and the current set temperature is reduced, the user feels more comfortable, the user can fall asleep quickly, and the sleep quality of the user is improved.
Further, in an embodiment of the present invention, the step of determining whether the user is in the wake period after entering the sleep state includes:
and acquiring the state parameters of the user, and if the state parameters of the user are greater than a first preset value, judging that the user is in an awakening period.
Specifically, the sleep process is divided into a sleep-in period, a light sleep period, a deep sleep period, and an awake period, wherein the light sleep period and the deep sleep period both belong to a sleep-in state, and the state of the user is different between the sleep-in state and the awake period. If the user falls asleep, the turnover frequency of the user is obviously less than that of the user in the wake period; as another example, the breathing rate of the user may be lower than during the wake phase when falling asleep. Therefore, it is possible to determine whether the user is in the wake period or not, according to the state of the user.
Specifically, in an embodiment of the present invention, acquiring the state parameter of the user refers to acquiring a turnover frequency or a fluctuation frequency of the thoracic cavity of the user. If the turning frequency is used as a condition for judging whether the user is in the wake-up period, the turning times within a certain time length can be preset, and if the turning times within the time length are larger than a first preset value, the user is determined to be in the wake-up period. Alternatively, if the number of turns in 10 minutes is set to be greater than or equal to 2, it indicates that the user is in the wake period.
The breathing state of the user can be judged by monitoring the fluctuation frequency of the chest cavity of the user, when the user is in a sleeping state, the breathing times per minute are different from 16 to 20, and the breathing intervals are uniform. When the user is in the wake period, the fluctuation frequency of the thoracic cavity of the user is increased, the respiratory frequency is increased to some extent, and the respiratory interval is long or short. At this time, the fluctuation frequency of the user's chest may be used as a condition for determining whether the user is in the wake period, and if the fluctuation frequency of the user's chest is greater than 20 times per minute, it may be determined that the user is in the wake period.
In one embodiment of the present invention, the step of controlling the air conditioner to operate according to the second sleep profile further comprises: and acquiring the residual sleep time of the user, and setting a second sleep curve of the air conditioner based on the residual sleep time and the working mode of the air conditioner.
Specifically, when the user is ready to fall asleep and the light is turned off, a timer on the air conditioner starts recording the sleep duration of the user, typically for a total sleep duration of 8 hours. Suppose that the air conditioner detects that the user is in the wake period 3 hours after the user falls asleep, and the remaining sleep time of the user is 5 hours. That is, the air conditioner operates according to the first sleep curve within 3 hours before the user falls asleep. When the user is in the wake period and within 5 hours after falling asleep, the air conditioner will operate according to a second sleep profile. Further, the setting of the second sleep curve is also related to the working mode of the air conditioner, namely, the cooling mode and the heating mode.
Further, the setting of the second sleep profile of the air conditioner based on the remaining sleep time period and the operation mode of the air conditioner further includes: and when in the refrigeration mode or the dehumidification mode, setting a second sleep curve of the air conditioner as follows: setting a first set temperature of the air conditioner within a first remaining sleep time, wherein the first set temperature is greater than an initial set temperature; controlling the air conditioner to operate according to the first set temperature within the second remaining sleep time; the first set temperature is the current set temperature, and the sum of the first remaining sleep time length and the second remaining sleep time length is the remaining sleep time length.
Specifically, if the air conditioner is executing the cooling mode or the dehumidification mode, the second sleep curve is set according to the following rules: and if the remaining sleep time is T, setting the set temperature of the air conditioner to rise from the initial set temperature by a preset value in the first (8-T)/T time, and continuously setting the set temperature of the air conditioner to rise again by the preset value in the second (8-T)/T time, namely, in the first remaining sleep time, the set temperature of the air conditioner rises from the initial set temperature by two preset values together, wherein the sum of the two preset values and the initial set temperature is the first set temperature. For the remaining 6 (8-T)/T duration, the air conditioner operates at the first set temperature.
For example, if the remaining sleep time is 4 hours, assuming that the initial set temperature of the user falling asleep is 26 ℃, in the remaining sleep time of 4 hours, the air conditioner sets the temperature to rise to 26.5 ℃ at the first 0.5 hours and 27.0 ℃ at the second 0.5 hours. In the above-described embodiment, the first remaining sleep period is 1 hour, and the first set temperature is 27.0 ℃. During the remaining 3 hours, the air conditioner was operated at the first set temperature of 27.0 ℃.
When the user falls asleep for the first time, the air conditioner operates according to a first sleep curve, and when the user wakes up, the current set temperature of the air conditioner is 27 ℃. Compared with the first sleep curve, the set temperature of the air conditioner is 27 ℃ when the user wakes up in the middle of the night, but the set temperature of the air conditioner is 26.5 ℃ within half an hour when the user wakes up when the air conditioner operates according to the second sleep curve.
Further, the setting of the second sleep profile of the air conditioner based on the remaining sleep time period and the operation mode of the air conditioner further includes: in the heating mode, setting a second sleep curve of the air conditioner as follows: setting a second set temperature of the air conditioner within the first remaining sleep time, wherein the second set temperature is less than the initial set temperature; setting a third set temperature of the air conditioner within a second remaining sleep time period, wherein the third set temperature is less than the second set temperature; controlling the air conditioner to operate according to a third set temperature within a third remaining sleep time period; and the sum of the current set temperature and the first remaining sleep time length, the second remaining sleep time length and the third remaining sleep time length is the remaining sleep time length.
Specifically, if the air conditioner is executing the heating mode, the second sleep curve is set according to the following setting principles: and setting a second set temperature of the air conditioner within the first remaining sleep time period, wherein the second set temperature is less than the initial set temperature. Specifically, assuming that the remaining sleep time period is T, the set temperature of the air conditioner is set to decrease by 1 ℃ from the initial set temperature in the first (8-T)/T time period, and the set temperature of the air conditioner is set to decrease by 1 ℃ again in the second (8-T)/T time period, that is, the set temperature decreases by 2 ℃ in total in the first remaining sleep time period, and assuming that the initial set temperature is 30 ℃, the second set temperature is 28 ℃ in the first remaining sleep time period. For the remaining 3 x (8-T)/T period, i.e., the second remaining sleep period, the third set temperature is increased by 0.5 c based on the second set temperature, i.e., the third set temperature is 28.5 c. During the third remaining sleep period, i.e., 3 × (8-T)/T period, the air conditioner is operated at the third set temperature, i.e., 28.5 ℃.
When the user falls asleep for the first time, the air conditioner operates according to a first sleep curve, and when the user wakes up, the current set temperature of the air conditioner is 28.5 ℃. Compared with the first sleep curve, the set temperature of the air conditioner is 28.5 ℃ when the user wakes up in the middle of the night, but when the air conditioner operates according to the second sleep curve, the set temperature of the air conditioner is 29 ℃ within half an hour when the user wakes up, so that the set temperature is increased compared with the first sleep curve, the user feels more comfortable, the comfort level of the user is improved, the user can fall asleep as soon as possible, and the sleep quality of the user is improved.
The following describes the air conditioner control device for improving sleep quality according to the present invention, and the air conditioner control device for improving sleep quality described below and the air conditioner control method for improving sleep quality described above may be referred to in correspondence with each other.
The embodiment of the invention also provides an air conditioner control device for improving sleep quality, which comprises: the device comprises a judgment module and a control module. The judging module is used for judging whether the user is in the wake period after entering the sleep state. And if the user is in the wake period, the control module is used for controlling the air conditioner to operate according to the second sleep curve so as to adjust the indoor temperature.
Further, in an embodiment of the present invention, the air conditioner control device for improving sleep quality further includes: the device comprises a first obtaining module and a first judging module, wherein the first obtaining module is used for obtaining the state parameters of the user, and the first setting module is used for judging that the user is in the wake-up period when the state parameters are larger than a first preset value.
Further, in an embodiment of the present invention, the air conditioner control device for improving sleep quality further includes: the device comprises a second acquisition module, a third acquisition module and a second setting module. The second acquisition module is used for acquiring the turning frequency or the fluctuation frequency of the thoracic cavity of the user, the third acquisition module is used for acquiring the remaining sleep time of the user, and the second setting module is used for setting a second sleep curve of the air conditioner based on the remaining sleep time and the working mode of the air conditioner.
Further, the air conditioner control device for improving sleep quality further comprises: the device comprises a third setting module and a fourth setting module. The third setting module is used for setting a first set temperature of the air conditioner within the first remaining sleep time in the refrigeration mode or the dehumidification mode; the fourth setting module is used for setting a second set temperature of the air conditioner within the first remaining sleep time period and setting a third set temperature of the air conditioner within the second remaining sleep time period during the heating mode. And the control module is also used for controlling the air conditioner to operate according to a third set temperature in a third remaining sleep time period.
As shown in fig. 2, an embodiment of the present invention further provides an electronic device, where the electronic device may include: a processor (processor)210, a communication Interface (communication Interface)220, a memory (memory)230 and a communication bus 240, wherein the processor 210, the communication Interface 220 and the memory 230 are communicated with each other via the communication bus 240. The processor 210 may call logic instructions in the memory 230 to perform an air conditioning control method to improve sleep quality.
It should be noted that, when being implemented specifically, the electronic device in this embodiment may be a server, a PC, or other devices, as long as the structure includes the processor 210, the communication interface 220, the memory 230, and the communication bus 240 shown in fig. 2, where the processor 210, the communication interface 220, and the memory 230 complete mutual communication through the communication bus 240, and the processor 210 may call the logic instructions in the memory 230 to execute the above method. The embodiment does not limit the specific implementation form of the electronic device.
In addition, the logic instructions in the memory 230 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions 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 air conditioning control method for improving sleep quality provided by the above methods, the method comprising: the method comprises the following steps: judging whether the user is in an awakening period after entering a sleep state, wherein when the user is in the sleep state, the air conditioner operates according to a first sleep curve; and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature.
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 air conditioning control method for improving sleep quality, the method including: the method comprises the following steps: judging whether the user is in an awakening period after entering a sleep state, wherein when the user is in the sleep state, the air conditioner operates according to a first sleep curve; and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature.
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 position, or may be distributed on multiple 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.
The embodiment of the invention also provides an air conditioner which comprises an air conditioner indoor unit. The air conditioner indoor unit is provided with a radar, a timer and a photosensitive element. The radar is used to detect a condition parameter of the user, such as the frequency of the user's thorax rolling or the number of turns of the user. When the fluctuation frequency of the chest cavity of the user is more than a first preset value, the user is considered to be in the wake period. The timer is used for recording the sleep duration of a user, the photosensitive element is used for detecting indoor light, when the user is ready to fall asleep and light in a room is turned off, the photosensitive element sends a signal to the timer, the timer starts to record the sleep duration of the user, and when the user is in an awakening period, the air conditioner calculates the residual sleep duration of the user according to the sleep duration. And in the remaining sleep time, the air conditioner operates according to the second sleep curve to adjust the indoor temperature, improve the comfort level of the user and enable the user to fall asleep quickly so as to improve the sleep quality of the user.
According to the air conditioner provided by the embodiment of the invention, the radar, the timer and the photosensitive element are arranged, whether the user is in the wake-up period can be judged, the remaining sleep time of the user can be calculated, and the air conditioner operates according to the second sleep curve in the remaining sleep time to adjust the indoor temperature so as to enable the indoor temperature to reach the somatosensory comfort level, so that the user can fall asleep quickly, and the sleep quality of the user is improved.
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.
Claims (10)
1. An air conditioner control method for improving sleep quality is characterized by comprising the following steps:
judging whether the user is in an awakening period after entering a sleep state, wherein when the user is in the sleep state, the air conditioner operates according to a first sleep curve;
and if the user is in the wake-up period, controlling the air conditioner to operate according to a second sleep curve so as to reduce the difference between the current set temperature and the initial set temperature.
2. The air conditioner control method for improving sleep quality as claimed in claim 1, wherein the step of determining whether the user is in the wake-up period after entering the sleep state comprises:
acquiring a state parameter of a user;
and if the state parameter is larger than the first preset value, judging that the user is in the wake-up period.
3. The air conditioner control method for improving sleep quality as claimed in claim 2, wherein the step of obtaining the status parameters of the user further comprises:
acquiring the turnover frequency or the fluctuation frequency of the thoracic cavity of the user.
4. The method as claimed in claim 1, wherein the step of controlling the air conditioner to operate according to the second sleep profile further comprises:
and acquiring the remaining sleep time of the user, and setting a second sleep curve of the air conditioner based on the remaining sleep time and the working mode of the air conditioner.
5. The air conditioner control method for improving sleep quality as claimed in claim 4, wherein the step of setting a second sleep profile of the air conditioner based on the remaining sleep time period and the operation mode of the air conditioner further comprises:
and when in the refrigeration mode or the dehumidification mode, setting a second sleep curve of the air conditioner as follows: setting a first set temperature of the air conditioner within a first remaining sleep time, wherein the first set temperature is greater than an initial set temperature;
controlling the air conditioner to operate according to the first set temperature within a second remaining sleep time period;
the first set temperature is the current set temperature, and the sum of the first remaining sleep time length and the second remaining sleep time length is the remaining sleep time length.
6. The air conditioner control method for improving sleep quality as claimed in claim 4, wherein the step of setting a second sleep profile of the air conditioner based on the remaining sleep time period and the operation mode of the air conditioner further comprises:
in the heating mode, setting a second sleep curve of the air conditioner as follows: setting a second set temperature of the air conditioner within the first remaining sleep time, wherein the second set temperature is less than the initial set temperature;
setting a third set temperature of the air conditioner within a second remaining sleep time period, wherein the third set temperature is less than the second set temperature;
controlling the air conditioner to operate according to the third set temperature within a third remaining sleep time period;
wherein the third set temperature is the current set temperature, and the sum of the first remaining sleep time, the second remaining sleep time, and the third remaining sleep time is the remaining sleep time.
7. An air conditioner control device for improving sleep quality, comprising:
the judging module is used for judging whether the user is in the wake-up period after entering the sleep state;
and the control module is used for controlling the air conditioner to operate according to a second sleep curve to adjust the indoor temperature if the user is in the wake period.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the air conditioning control method for improving sleep quality as claimed in any one of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for controlling an air conditioner to improve sleep quality as claimed in any one of claims 1 to 6.
10. An air conditioner, comprising:
the air conditioner indoor unit is provided with a radar, a timer and a photosensitive element, the radar is used for detecting state parameters of a user, the timer is used for recording the sleeping time of the user, and the photosensitive element is used for detecting indoor light and triggering the timer to start timing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210483452.4A CN115077021A (en) | 2022-05-05 | 2022-05-05 | Air conditioner control method and device for improving sleep quality and air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210483452.4A CN115077021A (en) | 2022-05-05 | 2022-05-05 | Air conditioner control method and device for improving sleep quality and air conditioner |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115077021A true CN115077021A (en) | 2022-09-20 |
Family
ID=83247472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210483452.4A Pending CN115077021A (en) | 2022-05-05 | 2022-05-05 | Air conditioner control method and device for improving sleep quality and air conditioner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115077021A (en) |
-
2022
- 2022-05-05 CN CN202210483452.4A patent/CN115077021A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3316765B1 (en) | Sleep monitoring | |
CN111594999A (en) | Air conditioner, control method and device thereof and air conditioning system | |
CN109386940B (en) | Device and method for improving sleep comfort degree and air conditioner | |
CN109506342B (en) | air conditioner control method and device and air conditioner | |
JP5237845B2 (en) | Air conditioning controller | |
CN104374054B (en) | Control method and system of air conditioning unit | |
JP5169070B2 (en) | Air conditioning control system, air conditioner, air conditioning control method, and air conditioning control program | |
CN111397114B (en) | Air conditioner control method and device, storage medium and wearable device | |
CN113091273A (en) | Method and device for controlling air conditioner and air conditioner | |
CN113639449B (en) | Method and device for controlling air conditioner and air conditioner | |
CN111609537B (en) | Air conditioner, control method and device thereof and air conditioning system | |
CN107655161B (en) | Control method of air conditioner with monitoring function and air conditioner | |
CN113432286B (en) | Control method and control device for air conditioner and air conditioner | |
WO2023005297A1 (en) | Air conditioner control method and apparatus for preventing quilt from being kicked | |
CN114251817B (en) | Method and device for controlling air conditioner and air conditioner | |
CN111713956B (en) | Control method and device of cooking equipment and related equipment | |
CN114647197A (en) | Awakening method and awakening device of intelligent home system and intelligent home system | |
CN112594879B (en) | Air conditioner, humidification control method and device in sleep mode of air conditioner and storage medium | |
CN115077021A (en) | Air conditioner control method and device for improving sleep quality and air conditioner | |
CN111726271B (en) | Electrical equipment configuration method under night condition and intelligent home system | |
CN113757929A (en) | Air conditioner control method and device, air conditioner and equipment | |
CN115200155B (en) | Air conditioner control method and device, air conditioner and storage medium | |
WO2023140379A1 (en) | Environmental control detail-determining device and environmental control detail determination method | |
CN117771508B (en) | Sleep quality intervention method, device and system | |
US20220378367A1 (en) | Information processing apparatus and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |