Method and apparatus for controlling air conditioner, air conditioner, storage medium
By using an infrared sensor module to obtain the user's sleeping posture and combining it with models and databases to adjust the air conditioner's operating parameters, the problem of the air conditioner not being able to adapt to the user's state while sleeping has been solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
- Filing Date
- 2022-04-14
- Publication Date
- 2026-05-01
AI Technical Summary
Existing air conditioners have difficulty adjusting their operating parameters according to the user's condition while they are sleeping, resulting in frequent instances where users are woken up by the heat or cold, thus affecting the user experience.
The system obtains the user's sleeping posture through an infrared sensor module, combines it with a preset human sleeping posture model and user status database to determine the user's status, and adjusts the air conditioner's operating parameters, including ambient temperature, fan speed, and electric heating, based on the status.
It effectively reduces the probability of users waking up from being too hot or too cold while sleeping, thus improving the user experience of the air conditioner.
Smart Images

Figure CN116951701B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioner control technology, such as a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium. Background Technology
[0002] With the improvement of living standards, air conditioners have become an indispensable part of modern life. In the hot summer or cold winter, sleeping with the air conditioner on has become the norm. However, the temperature set by the user may not be suitable for the person sleeping, and users often wake up feeling either too hot or too cold.
[0003] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:
[0004] In related technologies, air conditioners often can only operate according to the parameters set by the user before going to sleep. It is difficult to control the air conditioner while the user is asleep, which can easily cause the user to wake up from being too hot or too cold, resulting in a poor user experience. Summary of the Invention
[0005] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0006] This disclosure provides a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium, which can improve the user experience of using the air conditioner.
[0007] In some embodiments, the method for controlling an air conditioner is applied to the air conditioner side, and the method includes: acquiring a user's sleeping posture; acquiring a user's state based on the user's sleeping posture; the user's state being used to characterize whether the user is in a comfortable state while sleeping; acquiring the control logic of the air conditioner based on the user's state; the control logic being used to characterize how to adjust the operating parameters of the air conditioner; and triggering the air conditioner to operate according to the control logic.
[0008] In some embodiments, the air conditioner includes an infrared sensor module; obtaining the user's sleeping posture includes: using the infrared sensor module to detect the user's body shape and obtain the user's sleeping posture.
[0009] In some embodiments, obtaining a user's state based on their sleeping posture includes: matching the user's sleeping posture with human sleeping posture models in a preset human sleeping posture model database, and identifying the human sleeping posture model that is the same as the user's sleeping posture as the target sleeping posture model; the human sleeping posture model database stores a number of human sleeping posture models; matching the user state corresponding to the target sleeping posture model from a preset user state database; the user state database stores the correspondence between the target sleeping posture model and the user state.
[0010] In some embodiments, obtaining the control logic of the air conditioner based on the user state includes: when the user state is not the comfort state, obtaining the ambient temperature and the set temperature of the air conditioner; determining the magnitude relationship between the ambient temperature and the set temperature; and obtaining the control logic of the air conditioner based on the user state, the operating mode, and the magnitude relationship.
[0011] In some embodiments, obtaining the control logic of the air conditioner based on the user state, the operating mode, and the size relationship includes: matching the control logic that corresponds to the user state, the operating mode, and the size relationship from a preset control logic database; the control logic database stores the correspondence between the user state, the operating mode, the size relationship, and the control logic, respectively.
[0012] In some embodiments, obtaining the control logic of the air conditioner based on the user state includes: when the user state is the comfort state, obtaining the historical operating parameters of the air conditioner within a preset time period; and determining the historical operating parameters as the control logic.
[0013] In some embodiments, the device for controlling an air conditioner is applied to the air conditioner side, and the device includes: a first acquisition module configured to acquire a user's sleeping posture; a second acquisition module configured to acquire a user's state based on the user's sleeping posture; the user state is used to characterize whether the user is in a comfortable state while sleeping; a third acquisition module configured to acquire the control logic of the air conditioner based on the user state; the control logic is used to characterize how to adjust the operating parameters of the air conditioner; and a triggering module configured to trigger the air conditioner to operate according to the control logic.
[0014] In some embodiments, the apparatus for controlling an air conditioner includes a processor and a memory storing program instructions, the processor being configured to execute the method for controlling the air conditioner as described above when executing the program instructions.
[0015] In some embodiments, the air conditioner includes the aforementioned means for controlling the air conditioner.
[0016] In some embodiments, the storage medium stores program instructions that, when executed, perform the method described above for controlling an air conditioner.
[0017] The method, apparatus, air conditioner, and storage medium for controlling an air conditioner provided in this disclosure can achieve the following technical effects: By acquiring a user's sleeping posture; acquiring the user's state based on the sleeping posture; the user state indicating whether the user is in a comfortable state while sleeping; acquiring the control logic of the air conditioner based on the user state; the control logic indicating how to adjust the operating parameters of the air conditioner; and triggering the air conditioner to operate according to the control logic. In this way, by determining the user's state while sleeping based on their sleeping posture, and thus controlling the air conditioner according to the user's state, the probability of the user being awakened by heat or cold can be reduced, improving the user's experience of using the air conditioner.
[0018] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0019] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:
[0020] Figure 1 This is a schematic diagram of a method for controlling an air conditioner provided in an embodiment of this disclosure;
[0021] Figure 2 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0022] Figure 3 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0023] Figure 4 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0024] Figure 5 This is a schematic diagram of a device for controlling an air conditioner provided in an embodiment of this disclosure;
[0025] Figure 6 This is a schematic diagram of another device for controlling an air conditioner provided in an embodiment of this disclosure. Detailed Implementation
[0026] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0027] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0028] Unless otherwise stated, the term "multiple" means two or more.
[0029] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0030] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0031] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0032] The technical solutions in the embodiments of the present invention can be applied to air conditioners.
[0033] In this embodiment of the invention, the user's sleeping posture is obtained by an infrared sensor module installed in the air conditioner, and the user's state is determined based on the user's sleeping posture. The air conditioner is then controlled according to the user's state while sleeping. This allows the air conditioner to be controlled even when the user is asleep, reducing the probability of the user being woken up by heat or cold and improving the user's experience of using the air conditioner.
[0034] Combination Figure 1 As shown, this disclosure provides a method for controlling an air conditioner, applied to the air conditioner side, the method comprising:
[0035] Step S101: The air conditioner obtains the user's sleeping posture.
[0036] Step S102: The air conditioner obtains the user's status based on the user's sleeping posture; the user status is used to characterize whether the user is in a comfortable state while sleeping.
[0037] Step S103: The air conditioner obtains its control logic based on the user's status; the control logic is used to characterize how to adjust the air conditioner's operating parameters.
[0038] Step S104: The air conditioner triggers the air conditioner to operate according to the control logic.
[0039] The method for controlling an air conditioner provided in this disclosure involves: acquiring a user's sleeping posture; acquiring the user's state based on the sleeping posture; the user state indicating whether the user is in a comfortable state while sleeping; acquiring the air conditioner's control logic based on the user state; the control logic indicating how to adjust the air conditioner's operating parameters; and triggering the air conditioner to operate according to the control logic. In this way, by determining whether the user is in a comfortable state while sleeping based on their sleeping posture, the air conditioner can be controlled according to the user's state while sleeping. This allows for control of the air conditioner even when the user is asleep, reducing the probability of the user waking up due to heat or cold and improving the user experience of using the air conditioner.
[0040] Optionally, the operating parameters of the air conditioner include air conditioning frequency, fan speed, or on / off electric heating, etc.; optionally, the air conditioning frequency is the operating frequency of the compressor in the air conditioner.
[0041] Optionally, the air conditioner includes an infrared sensor module; the air conditioner obtains the user's sleeping posture by using the infrared sensor module to detect the user's body shape and obtain the user's sleeping posture.
[0042] In some embodiments, the infrared sensor module is a human infrared sensor module. The human infrared sensor module senses human body heat to determine the user's human body shape, obtains a thermal image corresponding to the human body shape, and determines the user's sleeping posture based on the thermal image.
[0043] Combination Figure 2 As shown, this disclosure provides a method for controlling an air conditioner, applied to the air conditioner side, the method comprising:
[0044] In step S201, the air conditioner uses an infrared sensor module to detect the user's body shape and obtain the user's sleeping posture.
[0045] In step S202, the air conditioner obtains the user's status based on the user's sleeping posture; the user status is used to characterize whether the user is in a comfortable state while sleeping.
[0046] Step S203: The air conditioner obtains its control logic based on the user's status; the control logic is used to characterize how to adjust the air conditioner's operating parameters.
[0047] Step S204: The air conditioner triggers the air conditioner to operate according to the control logic.
[0048] The method for controlling an air conditioner provided in this embodiment uses an infrared sensor module to detect human body heat to determine the user's body shape and identify the detected body shape as the user's sleeping posture, which can accurately identify the user's sleeping posture. At the same time, the method determines the user's state while sleeping based on the user's sleeping posture, and then controls the air conditioner according to the user's state while sleeping. This allows the air conditioner to be controlled even when the user is asleep, reducing the probability of the user being woken up by heat or cold and improving the user's experience of using the air conditioner.
[0049] Optionally, the air conditioner obtains the user's status based on the user's sleeping posture, including: the air conditioner matching the user's sleeping posture with human sleeping posture models in a preset human sleeping posture model database, and determining the human sleeping posture model that is the same as the user's sleeping posture as the target sleeping posture model; matching the user status corresponding to the target sleeping posture model from a preset user status database; the user status database stores the correspondence between the target sleeping posture model and the user status.
[0050] Optionally, a preset human sleeping posture model database stores at least one human sleeping posture model. Examples of human sleeping posture models include: lying down, curled up, or stretched out.
[0051] In some embodiments, as shown in Table 1, Table 1 is an example table of the correspondence between a human sleeping posture model and a user state provided in the embodiments of this disclosure.
[0052] Human sleeping posture model User Status lying down Comfortable state curl up cold state stretch thermal state
[0053] Table 1
[0054] In Table 1, user states include "cold state," "comfortable state," or "hot state." "Cold state" and "hot state" both indicate that the user is not in a comfortable state. For example, the user state corresponding to the human sleeping posture model "lying down" is "comfortable state"; the user state corresponding to the human sleeping posture model "curled up" is "cold state"; and the user state corresponding to the human sleeping posture model "stretched out" is "hot state."
[0055] In some embodiments, the identified user sleeping posture is matched with human sleeping posture models in a preset human sleeping posture model database. If the matching human sleeping posture model that matches the user's sleeping posture is "stretched", then the human sleeping posture model "stretched" is determined as the target sleeping posture model. The user state corresponding to the human sleeping posture model "stretched" is matched from a preset user state database as "warm state".
[0056] Combination Figure 3As shown, this disclosure provides a method for controlling an air conditioner, applied to the air conditioner side, the method comprising:
[0057] Step S301: The air conditioner obtains the user's sleeping posture.
[0058] In step S302, the air conditioner matches the user's sleeping posture with the human sleeping posture models in the preset human sleeping posture model database, and determines the human sleeping posture model that is the same as the user's sleeping posture as the target sleeping posture model; the human sleeping posture model database stores several human sleeping posture models.
[0059] In step S303, the air conditioner matches the user state corresponding to the target sleeping posture model from the preset user state database; the user state database stores the correspondence between the target sleeping posture model and the user state; the user state is used to characterize whether the user is in a comfortable state when sleeping.
[0060] Step S304: The air conditioner obtains its control logic based on the user's status; the control logic is used to characterize how to adjust the air conditioner's operating parameters.
[0061] Step S305: The air conditioner triggers the air conditioner to operate according to the control logic.
[0062] The method for controlling an air conditioner provided in this disclosure compares the user's sleeping posture with a preset human sleeping posture model. When the same human sleeping posture model is matched, the air conditioner is controlled. This allows the air conditioner to be controlled even when the user is asleep, reducing the probability of the user waking up due to heat or cold and improving the user's experience of using the air conditioner.
[0063] Optionally, the air conditioner obtains its control logic based on the user's status, including: when the user's status is not comfortable, obtaining the ambient temperature and the air conditioner's set temperature; obtaining the relationship between the ambient temperature and the set temperature; and obtaining the air conditioner's control logic based on the user's status, operating mode, and relationship.
[0064] Optionally, the set temperature is the temperature currently set when the air conditioner is running. The ambient temperature is the indoor ambient temperature.
[0065] Optionally, the air conditioner determines the relationship between the ambient temperature and the set temperature by: determining the relationship between the ambient temperature and the set temperature plus a preset temperature parameter as the relationship between the ambient temperature and the set temperature.
[0066] In some embodiments, the relationship between the ambient temperature and the set temperature includes: Ti > Ts + Δt1; where Ti is the ambient temperature, Ts is the set temperature, and Δt1 is a preset temperature parameter.
[0067] In some embodiments, the relationship between the ambient temperature and the set temperature includes: Ti ≤ Ts + Δt1; where Ti is the ambient temperature, Ts is the set temperature, and Δt1 is a preset temperature parameter.
[0068] Optionally, the air conditioner obtains its control logic based on the user status, operating mode, and size relationship, including: the air conditioner matching the control logic corresponding to the user status, operating mode, and size relationship from a preset control logic database; the control logic database stores the correspondence between the user status, operating mode, size relationship, and control logic respectively.
[0069] Optionally, the operating modes include: cooling mode or heating mode.
[0070] In some embodiments, as shown in Table 2, Table 2 is an example table showing the correspondence between user status, operating mode, size relationship and control logic.
[0071]
[0072]
[0073] Table 2
[0074] As shown in Table 2, the control logic corresponding to "cold state", "cooling mode" and "Ti>Ts+Δt1" is "to perform negative compensation of the ambient temperature at a preset degree, to operate the air conditioner frequency according to the compensated temperature difference, and to adjust the fan speed to low".
[0075] In some embodiments, when the user is in a "cold state," the operating mode is "cooling mode," and the magnitude relationship is "Ti > Ts + Δt1," the control logic matched from the control logic database that corresponds to "cold state," "cooling mode," and "Ti > Ts + Δt1" is "to perform negative compensation on the ambient temperature by a preset degree, to operate the air conditioner at the compensated temperature difference, and to adjust the fan speed to low." Thus, when the user is in a cold state in cooling mode, because the ambient temperature is greater than the sum of the set temperature and the preset temperature parameter, negative compensation is performed on the ambient temperature, causing it to decrease, and the fan speed is reduced, so that the user does not feel too cold.
[0076] In some embodiments, when the user is in "cold state", the operating mode is "cooling mode", and the magnitude relationship is "Ti≤Ts+Δt1", the control logic matching from the control logic database that corresponds to "cold state", "cooling mode", and "Ti≤Ts+Δt1" is "adjust the fan speed to low". Thus, when the user is in a cold state in cooling mode, because the ambient temperature is less than the sum of the set temperature and the preset temperature parameter, only the fan speed is reduced, so the user does not feel too cold.
[0077] In some embodiments, when the user is in "cold state," the operating mode is "heating mode," and the magnitude relationship is "Ti > Ts + Δt1," the control logic matched from the control logic database that corresponds to "cold state," "heating mode," and "Ti > Ts + Δt1" is: "Negatively compensate the ambient temperature by a preset degree, operate the air conditioner at the compensated temperature difference, adjust the fan speed to high, and determine whether the electric heating is on. If the electric heating is not on, turn it on." Thus, when the user is in a cold state in heating mode, because the ambient temperature is greater than the sum of the set temperature and the preset temperature parameter, negative compensation is performed on the ambient temperature, causing it to decrease. The fan speed is then increased, and the electric heating is activated, preventing the user from feeling excessively cold.
[0078] In some embodiments, when the user is in "cold state," the operating mode is "heating mode," and the magnitude relationship is "Ti≤Ts+Δt1," the control logic matched from the control logic database that corresponds to "cold state," "heating mode," and "Ti≤Ts+Δt1" is "adjust the fan speed to high; and determine whether the electric heating is on. If the electric heating is not on, turn it on." Thus, when the user is in a cold state in heating mode, because the ambient temperature is less than or equal to the sum of the set temperature and the preset temperature parameter, only the fan speed is increased while the electric heating is turned on, ensuring the user does not feel excessively cold.
[0079] In some embodiments, when the user is in "hot state," the operating mode is "cooling mode," and the magnitude relationship is "Ti≤Ts+Δt1," the control logic matched from the control logic database that corresponds to "hot state," "cooling mode," and "Ti≤Ts+Δt1" is "to perform positive compensation of the ambient temperature by a preset degree, to operate the air conditioner at the compensated temperature difference, and to increase the fan speed by one level." Thus, when the user is in hot state while the air conditioner is in cooling mode, because the ambient temperature is less than or equal to the sum of the set temperature and the preset temperature parameter, positive compensation is performed on the ambient temperature, causing it to rise, and the fan speed is increased so that the user does not feel overheated.
[0080] In some embodiments, when the user is in "hot state," the operating mode is "cooling mode," and the magnitude relationship is "Ti > Ts + Δt1," the control logic matching the control logic database that corresponds to "hot state," "cooling mode," and "Ti > Ts + Δt1" is "increase fan speed by one level." Thus, when the user is in hot state while the air conditioner is in cooling mode, because the ambient temperature is greater than the sum of the set temperature and the preset temperature parameter, only the fan speed is increased, preventing the user from feeling overheated.
[0081] In some embodiments, when the user is in "hot state," the operating mode is "heating mode," and the magnitude relationship is "Ti > Ts + Δt1," the control logic matched from the control logic database that corresponds to "hot state," "heating mode," and "Ti > Ts + Δt1" is: "Positively compensate the ambient temperature by a preset degree, operate the air conditioner at the compensated temperature difference, adjust the fan speed to low, and determine whether the electric heating is on. If the electric heating is on, turn it off." Thus, when the user is in hot state in heating mode, because the ambient temperature is greater than the sum of the set temperature and the preset temperature parameter, positive compensation is performed on the ambient temperature, causing it to rise, and the electric heating is turned off, preventing the user from feeling overheated.
[0082] In some embodiments, when the user is in "hot state," the operating mode is "heating mode," and the magnitude relationship is "Ti≤Ts+Δt1," the control logic matched from the control logic database that corresponds to "hot state," "heating mode," and "Ti≤Ts+Δt1" is: "Adjust the fan speed to low, and determine whether the electric heating is on. If the electric heating is on, turn it off." Thus, when the user is in hot state in heating mode, because the ambient temperature is less than or equal to the sum of the set temperature and the preset temperature parameter, only the fan speed is adjusted, and the electric heating is turned off, preventing the user from feeling overheated.
[0083] Optionally, the air conditioner obtains its control logic based on the user's state, including: when the user's state is comfortable, obtaining the air conditioner's historical operating parameters within a preset time period; and determining the historical operating parameters as control logic. In this way, by determining the historical operating parameters as control logic, the air conditioner can maintain its current operating state and keep the user's state in a comfortable state.
[0084] Combination Figure 4 As shown, this disclosure provides a method for controlling an air conditioner, applied to the air conditioner side, the method comprising:
[0085] Step S401: The air conditioner obtains the user's sleeping position.
[0086] In step S402, the air conditioner obtains the user's status based on the user's sleeping posture; the user status is used to characterize whether the user is in a comfortable state while sleeping.
[0087] Step S403: The air conditioner determines whether the user's state is comfortable; if the user's state is not comfortable, proceed to step S404; or, if the user's state is comfortable, proceed to step S405.
[0088] Step S404: The air conditioner acquires the ambient temperature and the set temperature of the air conditioner; determines the relationship between the ambient temperature and the set temperature; and acquires the control logic of the air conditioner based on the user status, operating mode, and relationship.
[0089] Step S405: The air conditioner acquires the historical operating parameters of the air conditioner within a preset time period; and determines the historical operating parameters as control logic.
[0090] Step S406: The air conditioner triggers the air conditioner to operate according to the control logic.
[0091] The method for controlling an air conditioner provided in this disclosure determines the user's sleeping state based on their sleeping posture. Different controls are applied to the air conditioner depending on whether the user is in a comfortable or uncomfortable state. This allows the air conditioner to be controlled even when the user is asleep, reducing the probability of the user waking up due to heat or cold and improving the user's experience of using the air conditioner.
[0092] Combination Figure 5 As shown in the figure, this disclosure provides a device for controlling an air conditioner, applied to the air conditioner side, including: a first acquisition module 501, a second acquisition module 502, a third acquisition module 503, and a trigger module 504; the first acquisition module 501 is configured to acquire a user's sleeping posture and send the user's sleeping posture to the second acquisition module; the second acquisition module 502 is configured to receive the user's sleeping posture sent by the first acquisition module, acquire the user's state based on the user's sleeping posture, and send the user's state to the third acquisition module; the user's state is used to characterize whether the user is in a comfortable state while sleeping; the third acquisition module 503 is configured to receive the user's state sent by the second acquisition module, acquire the control logic of the air conditioner based on the user's state, and send the control logic to the trigger module; the control logic is used to characterize how to adjust the operating parameters of the air conditioner; the trigger module 504 is configured to receive the control logic sent by the third acquisition module and trigger the air conditioner to operate according to the control logic.
[0093] The device for controlling an air conditioner provided in this embodiment acquires a user's sleeping posture through a first acquisition module; a second acquisition module acquires the user's state based on the sleeping posture; the user state indicates whether the user is in a comfortable state while sleeping; a third acquisition module acquires the control logic of the air conditioner based on the user state; the control logic indicates how to adjust the operating parameters of the air conditioner; and a triggering module triggers the air conditioner to operate according to the control logic. By determining the user's state while sleeping through their sleeping posture, the air conditioner can be controlled accordingly. This allows for control of the air conditioner even when the user is asleep, reducing the probability of the user waking up due to heat or cold and improving the user experience of using the air conditioner.
[0094] Optionally, the air conditioner includes an infrared sensor module, and the first acquisition module is configured to acquire the user's sleeping posture by detecting the user's body shape using the infrared sensor module.
[0095] Optionally, the second acquisition module is configured to acquire the user's status based on the user's sleeping posture in the following way: matching the user's sleeping posture with human sleeping posture models in a preset human sleeping posture model database, and determining the human sleeping posture model that is the same as the user's sleeping posture as the target sleeping posture model; the human sleeping posture model database stores several human sleeping posture models; matching the user status corresponding to the target sleeping posture model from a preset user status database; the user status database stores the correspondence between the target sleeping posture model and the user status.
[0096] Optionally, the third acquisition module is configured to acquire the air conditioner's control logic based on the user's state in the following ways: when the user's state is not comfortable, acquire the ambient temperature and the air conditioner's set temperature; determine the relationship between the ambient temperature and the set temperature; and acquire the air conditioner's control logic based on the user's state, operating mode, and relationship.
[0097] Optionally, the third acquisition module is configured to acquire the control logic of the air conditioner based on the user status, operating mode, and size relationship in the following way: matching the control logic that corresponds to the user status, operating mode, and size relationship from a preset control logic database; the control logic database stores the correspondence between the user status, operating mode, size relationship, and control logic respectively.
[0098] Optionally, the third acquisition module is configured to acquire the control logic of the air conditioner based on the user's state in the following way: when the user's state is comfortable, acquire the historical operating parameters of the air conditioner within a preset time period; and determine the historical operating parameters as the control logic.
[0099] Combination Figure 6As shown, this disclosure provides an apparatus for controlling an air conditioner, including a processor 600 and a memory 601. Optionally, the apparatus may further include a communication interface 602 and a bus 603. The processor 600, communication interface 602, and memory 601 can communicate with each other via the bus 603. The communication interface 602 can be used for information transmission. The processor 600 can call logical instructions in the memory 601 to execute the method for controlling the air conditioner described in the above embodiment.
[0100] The device for controlling an air conditioner provided in this disclosure acquires a user's sleeping posture; obtains the user's state based on the sleeping posture; the user state indicates whether the user is in a comfortable state while sleeping; the control logic of the air conditioner is obtained based on the user state; the control logic indicates how to adjust the operating parameters of the air conditioner; and the air conditioner is triggered to operate according to the control logic. In this way, by determining the user's sleeping state based on their sleeping posture, the air conditioner can be controlled according to the user's sleeping state. This allows for control of the air conditioner even when the user is asleep, reducing the probability of the user waking up due to heat or cold and improving the user experience of using the air conditioner.
[0101] Furthermore, the logic instructions in the aforementioned memory 601 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0102] The memory 601, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 600 executes functional applications and data processing by running the program instructions / modules stored in the memory 601, thereby implementing the method for controlling the air conditioner described in the above embodiments.
[0103] The memory 601 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 601 may include high-speed random access memory and may also include non-volatile memory.
[0104] This disclosure provides an air conditioner, including the aforementioned device for controlling the air conditioner.
[0105] The air conditioner provided in this embodiment acquires the user's sleeping posture; obtains the user's state based on the sleeping posture; the user state indicates whether the user is in a comfortable state while sleeping; the control logic of the air conditioner is obtained based on the user state; the control logic indicates how to adjust the operating parameters of the air conditioner; and the air conditioner is triggered to operate according to the control logic. In this way, by determining the user's state through their sleeping posture, the air conditioner can be controlled according to the user's state while sleeping, reducing the probability of the user waking up due to heat or cold and improving the user experience of using the air conditioner.
[0106] This disclosure provides a storage medium storing program instructions that, when executed, perform the method described above for controlling an air conditioner.
[0107] This disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the above-described method for controlling an air conditioner.
[0108] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0109] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.
[0110] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0111] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0112] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized in that, Applied to the air conditioner side, including: Get the user's sleeping position; The user's status is obtained based on the user's sleeping posture; the user status is used to indicate whether the user is in a comfortable state while sleeping. If the user's state is not the comfortable state, obtain the ambient temperature and the set temperature of the air conditioner; The relationship between ambient temperature and set temperature plus a preset temperature parameter is defined as the relationship between ambient temperature and set temperature. The relationship between ambient temperature and set temperature includes Ti > Ts + Δt1 or Ti ≤ Ts + Δt1, where Ti is the ambient temperature, Ts is the set temperature, and Δt1 is the preset temperature parameter. The control logic of the air conditioner is obtained based on the user status, operating mode, and size relationship; the control logic is used to characterize how to adjust the operating parameters of the air conditioner, including fan speed or electric heating on / off, user status including cold or hot status, and operating mode including cooling mode or heating mode. Specifically, when the user is in a hot state, the operating mode is cooling mode, and the magnitude relationship is Ti≤Ts+Δt1, the ambient temperature is positively compensated by a preset degree, the air conditioner frequency operates according to the compensated temperature difference, and the fan speed is increased by one level; or, when the user is in a hot state, the operating mode is heating mode, and the magnitude relationship is Ti≤Ts+Δt1, the fan speed is adjusted to low, and it is checked whether the electric heating is on. If the electric heating is on, it is turned off; or, when the user is in a hot state, the operating mode is cooling mode, and the magnitude relationship is Ti>Ts+Δt1, the fan speed is increased by one level; or, when the user is in a cold state, the operating mode is cooling mode, and the magnitude relationship is Ti>Ts+Δt1, the fan speed is increased by one level; or, when the user is in a cold state, the operating mode is cooling mode, and the magnitude relationship is Ti>Ts+Δt1, the fan speed is increased by one level. When the mode is cooling mode and the magnitude difference is Ti≤Ts+Δt1, the fan speed is adjusted to low; or, when the user is in hot mode, the operating mode is heating mode, and the magnitude difference is Ti>Ts+Δt1, the ambient temperature is positively compensated by a preset degree, the air conditioner frequency is operated according to the compensated temperature difference, the fan speed is adjusted to low, and it is checked whether the electric heating is on. If the electric heating is on, it is turned off; or, when the user is in cold mode, the operating mode is heating mode, and the magnitude difference is Ti≤Ts+Δt1, the fan speed is adjusted to high, and it is checked whether the electric heating is on. If the electric heating is not on, it is turned on. The air conditioner is triggered to operate according to the control logic.
2. The method according to claim 1, characterized in that, The air conditioner includes an infrared sensor module; the acquisition of the user's sleeping posture includes: The infrared sensor module is used to detect the user's body shape and obtain the user's sleeping posture.
3. The method according to claim 1, characterized in that, The user's status is obtained based on their sleeping position, including: The user's sleeping posture is matched with human sleeping posture models in a preset human sleeping posture model database, and the human sleeping posture model that is the same as the user's sleeping posture is determined as the target sleeping posture model; the human sleeping posture model database stores several human sleeping posture models. The system matches the user state corresponding to the target sleeping posture model from a preset user state database; the user state database stores the correspondence between the target sleeping posture model and the user state.
4. The method according to claim 1, characterized in that, Also includes: When the user is in the comfortable state, the historical operating parameters of the air conditioner within a preset time period are obtained; The historical operating parameters are used as the control logic.
5. A device for controlling an air conditioner, characterized in that, Applied to the air conditioner side, including: The first acquisition module is configured to acquire the user's sleeping position; The second acquisition module is configured to acquire the user's state based on the user's sleeping posture; the user's state is used to characterize whether the user is in a comfortable state while sleeping. The third acquisition module is configured to acquire the ambient temperature and the set temperature of the air conditioner when the user's state is not the comfortable state; determine the relationship between the ambient temperature and the set temperature plus a preset temperature parameter as the relationship between the ambient temperature and the set temperature; wherein the relationship between the ambient temperature and the set temperature includes Ti>Ts+Δt1 or Ti≤Ts+Δt1, where Ti is the ambient temperature, Ts is the set temperature, and Δt1 is the preset temperature parameter; acquire the control logic of the air conditioner according to the user's state, operating mode, and the relationship; the control logic is used to characterize how to adjust the operating parameters of the air conditioner, including fan speed or on / off electric heating, user state including cold state or hot state, and operating mode including cooling mode or heating mode; wherein, when the user's state is hot state, the operating mode is cooling mode, and the relationship is Ti≤Ts+Δt1, the ambient temperature is positively compensated by a preset degree, the air conditioner frequency operates according to the compensated temperature difference, and the fan speed is increased by one level; or, when using When the user is in a hot state, the operating mode is heating mode, and the magnitude relationship is Ti≤Ts+Δt1, the fan speed is adjusted to low, and it is checked whether the electric heating is on. If the electric heating is on, it is turned off; or, when the user is in a hot state, the operating mode is cooling mode, and the magnitude relationship is Ti>Ts+Δt1, the fan speed is increased by one level; or, when the user is in a cold state, the operating mode is cooling mode, and the magnitude relationship is Ti≤Ts+Δt1, the fan speed is adjusted to low; or, when the user is in a cold state... When the user is in a hot state, the operating mode is heating mode, and the magnitude relationship is Ti>Ts+Δt1, the ambient temperature is positively compensated by a preset degree, the air conditioner frequency is adjusted according to the compensated temperature difference, the fan speed is adjusted to low, and it is determined whether the electric heating is turned on. If the electric heating is turned on, the electric heating is turned off; or, when the user is in a cold state, the operating mode is heating mode, and the magnitude relationship is Ti≤Ts+Δt1, the fan speed is adjusted to high, and it is determined whether the electric heating is turned on. If the electric heating is not turned on, the electric heating is turned on. The trigger module is configured to trigger the air conditioner to operate according to the control logic.
6. A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute, when running the program instructions, the method for controlling an air conditioner as described in any one of claims 1 to 4.
7. An air conditioner, characterized in that, Includes the device for controlling an air conditioner as described in claim 6.
8. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling an air conditioner as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Control method and device of air conditioner
CN106642578A
Method and device for controlling air conditioner and air conditioner
CN113137723A