Method and apparatus for controlling air conditioner, air conditioner, storage medium
By detecting the user's heart rate and time information, the air conditioner adjusts the temperature and light intensity, solving the comfort problem of users falling asleep again after waking up during short sleep periods, and improving the flexibility of the air conditioner's sleep mode and sleep quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
- Filing Date
- 2022-06-20
- Publication Date
- 2026-05-01
AI Technical Summary
The current air conditioning system has not addressed the issue of sleep comfort when users wake up and fall back asleep, especially in short-sleep scenarios.
By detecting the user's heart rate data and time information, the system analyzes sleep regulation needs and controls the air conditioner to implement auxiliary strategies that match those needs, including adjusting the temperature and the light intensity of the light module, to improve the user's sleep quality.
It achieves accurate judgment of different sleep scenarios, improves the sleep quality of users when they fall back asleep after waking up, and enhances the flexibility of the air conditioner's sleep mode.
Smart Images

Figure CN115264824B_ABST
Abstract
Description
Methods and apparatus for controlling air conditioning, air conditioners, storage media Technical Field
[0001] This application relates to the field of smart home appliance technology, such as a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium. Background Technology
[0002] In recent years, as people's living standards have continued to improve, the requirements for indoor environmental comfort have become increasingly higher. In order to improve indoor environmental comfort, air conditioners are usually installed in homes to regulate indoor temperature and humidity. Gradually, air conditioners have become an indispensable household appliance.
[0003] Currently, air conditioners are designed with sleep modes to regulate indoor temperature and humidity during sleep. For example, when a user is detected as asleep, the air conditioner may be controlled to operate at a low fan speed for cooling or heating to prevent discomfort caused by the air conditioner being on while the user is asleep. However, in practical applications, users' sleep patterns are not limited to long nighttime sleep, and there are no specific design solutions to address the impact of users waking up and then falling back asleep during sleep on the operation of sleep modes in these technologies. Therefore, how to solve the new sleep comfort problems arising from users waking up and then falling back asleep has become a new challenge that urgently needs to be addressed by those skilled in the art. Summary of the Invention
[0004] 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.
[0005] This disclosure provides a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium to address users' sleep patterns other than long nighttime sleep, meet users' auxiliary needs during short-term sleep, and effectively improve users' sleep quality.
[0006] In some embodiments, the method for controlling an air conditioner includes: in response to a short sleep mode command, detecting a user's heart rate data and time information when the heart rate data is detected; determining the user's sleep regulation needs based on the time information and the heart rate data; and controlling the air conditioner to execute an auxiliary strategy that matches the sleep needs.
[0007] In some embodiments, based on time information and heart rate data, the user's sleep regulation needs are determined, and the air conditioner is controlled to execute an auxiliary strategy that matches the sleep needs, including: when the time information indicates that the current time is a nap period, analyzing the user's heart rate change trend based on the heart rate data; and when the heart rate change trend is abnormal, executing the corresponding auxiliary strategy according to the heart rate data.
[0008] In some embodiments, the air conditioner is equipped with a light module for emitting electromagnetic waves of a specific frequency band; and executes corresponding auxiliary strategies according to heart rate data, including: controlling the air conditioner to vent at a target temperature and controlling the light module to irradiate light when the heart rate data falls within a reference heart rate threshold indicating poor sleep quality.
[0009] In some embodiments, controlling the illumination module to irradiate light includes: determining a target light intensity based on heart rate data; and controlling the illumination module to irradiate light at the target light intensity.
[0010] In some embodiments, before detecting the user's heart rate data, the method for controlling the air conditioner further includes: controlling the air conditioner to activate a short sleep mode if it is determined that the user has a need to catch up on sleep.
[0011] In some embodiments, it is determined whether a user has a need to catch up on sleep by: acquiring image information of the associated area; analyzing the user's behavioral information based on the image information; and determining whether the user has a need to catch up on sleep based on the behavioral information.
[0012] In some embodiments, determining whether a user has a need to catch up on sleep based on behavioral information includes: determining that a user has a need to catch up on sleep when the behavioral information indicates that the user has fallen asleep again after waking up from a long period of sleep.
[0013] In some embodiments, the apparatus for controlling an air conditioner includes a processor and a memory storing program instructions, wherein the processor executes the method for controlling the air conditioner described above when running the program instructions.
[0014] In some embodiments, the air conditioner includes the means for controlling the air conditioner as described above.
[0015] In some embodiments, the storage medium stores program instructions that, when executed, perform the method for controlling the air conditioner as described above.
[0016] The method, apparatus, air conditioner, and storage medium for controlling an air conditioner provided in this disclosure can achieve the following technical effects:
[0017] By detecting the user's heart rate data during sleep, the system determines the user's sleep regulation needs based on the detection time and the detected heart rate data. Then, it formulates a sleep assistance strategy that meets the user's needs according to the determined sleep regulation needs, and controls the air conditioner to execute the assistance strategy to meet the user's sleep needs in sleep scenarios other than long nighttime sleep. This improves the sleep quality of the user when they get up during sleep and continue to sleep, thereby achieving accurate judgment of the user's different sleep needs and improving the flexibility of the air conditioner's operation mode in sleep mode.
[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 is a schematic diagram of a method for controlling an air conditioner provided in an embodiment of this disclosure;
[0021] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0022] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0023] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0024] Figure 5 is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0025] Figure 6 is a schematic diagram of an apparatus 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] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage smart home appliances.
[0033] In this embodiment of the disclosure, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances by connecting to the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.
[0034] The method for controlling an air conditioner provided in this disclosure includes: responding to a short sleep mode command, detecting a user's heart rate data and time information when the heart rate data is detected; determining the user's sleep regulation needs based on the time information and heart rate data; and controlling the air conditioner to execute an auxiliary strategy that matches the sleep needs.
[0035] In this embodiment, the air conditioner may have an associated portable device. The user registers in the portable device's application to establish a binding relationship between the portable device and the user; that is, each portable device, when registered, uniquely corresponds to one user. When the air conditioner receives heart rate data from a confirmed portable device, it can obtain the heart rate data of the user corresponding to that portable device. The portable device may include mobile devices such as smartphones and tablets, or wearable devices such as smart bracelets, smart helmets, and smart rings.
[0036] Optionally, the entity performing the above steps can be an air conditioner, which is a smart home appliance. Specifically, in response to a short-sleep mode command, the air conditioner detects the user's heart rate data and the time information when the heart rate data is detected; based on the time information and heart rate data, the air conditioner determines the user's sleep regulation needs; and controls the air conditioner to execute an auxiliary strategy that matches the sleep needs.
[0037] Optionally, the air conditioner may also have an associated server, which can be deployed on a cloud server or a separately configured smart gateway. The server has a communication connection with the air conditioner, enabling information transmission. Specifically, in response to the air conditioner's short-sleep mode command, the server detects the user's heart rate data and the time information at which the heart rate data is detected; based on the time information and heart rate data, the server determines the user's sleep adjustment needs; the server sends an auxiliary strategy matching the sleep needs to the air conditioner, causing the air conditioner to execute the auxiliary strategy.
[0038] In this solution, the time information for detecting heart rate data can be the time information corresponding to the clock associated with the air conditioner or server when it receives the heart rate data sent by the designated portable device. In this way, the air conditioner or server can determine the user's current sleep state and corresponding sleep adjustment needs based on the user's heart rate data and time information. This allows the air conditioner to determine a matching auxiliary strategy to help the user improve sleep quality based on the user's current sleep adjustment needs.
[0039] Referring to Figure 1, this disclosure provides a method for controlling an air conditioner, including:
[0040] S01. In response to the short sleep mode command, detect the user's heart rate data and the time information when the heart rate data is detected.
[0041] S02. Determine the user's sleep regulation needs based on time information and heart rate data.
[0042] S03. Control the air conditioner to implement auxiliary strategies that match sleep needs.
[0043] The method for controlling an air conditioner provided in this disclosure detects the user's heart rate data during sleep, determines the user's sleep regulation needs based on the detection time and the detected heart rate data, formulates a sleep assistance strategy that meets the user's needs according to the determined sleep regulation needs, and controls the air conditioner to execute the assistance strategy to meet the user's sleep needs in sleep scenarios other than long nighttime sleep, improve the sleep quality of the user when waking up during sleep and going back to sleep, thereby achieving accurate judgment of the user's different sleep needs and improving the flexibility of the air conditioner's operation mode in sleep mode.
[0044] Optionally, based on the time information and heart rate data, the user's sleep regulation needs are determined, and the air conditioner is controlled to execute auxiliary strategies that match the sleep needs, including: if the time information indicates that the current time is a nap period, analyzing the user's heart rate change trend based on the heart rate data; if there is an abnormal heart rate change trend, executing the corresponding auxiliary strategy according to the heart rate data.
[0045] In this embodiment, the air conditioner's database can store preset nap times. These preset nap times can be the initial settings pre-stored at the air conditioner's factory or settings changed by the user through an application associated with the air conditioner. For example, if the air conditioner's factory-set nap times are from 5:00 AM to 8:00 AM, the user can change these nap times to from 6:00 AM to 10:00 AM.
[0046] Referring to Figure 2, this disclosure provides another method for controlling an air conditioner, including:
[0047] S11. If the time information indicates that the current time belongs to the nap period, analyze the user's heart rate change trend based on heart rate data.
[0048] S12. If there is an abnormal trend in heart rate changes, execute the corresponding auxiliary strategy according to the heart rate data.
[0049] The method for controlling an air conditioner provided in this embodiment first determines whether the current time belongs to a preset nap period. If the current time belongs to the nap period, the air conditioner is controlled to determine a corresponding auxiliary strategy that can help the user sleep according to the user's heart rate change trend. This enables the air conditioner to further execute the auxiliary strategy to meet the user's sleep needs in the nap scenario and improve the user's sleep quality during the nap.
[0050] Optionally, the air conditioner is equipped with a light module for emitting electromagnetic waves of a specific frequency band; and executes corresponding auxiliary strategies according to heart rate data, including: when the heart rate data falls within a reference heart rate threshold indicating poor sleep quality, controlling the air conditioner to ventilate at the target temperature and controlling the light module to irradiate light.
[0051] In practical applications, users often experience symptoms such as vivid dreams and palpitations during their naps. To address these sleep problems, this embodiment monitors the user's heart rate data when it is confirmed that the user is taking a nap. When the user's heart rate data indicates poor sleep quality, the air conditioner is controlled to adjust the target air outlet temperature and the illumination of the air conditioner's light module to help calm the user's heart rate, improve the symptoms of vivid dreams and palpitations during naps, and enhance the user's sleep quality during naps.
[0052] Optionally, controlling the illumination module to emit light includes: determining the target light intensity based on heart rate data; and controlling the illumination module to emit light at the target light intensity.
[0053] In this embodiment, the air conditioner's illumination module is used to irradiate light with electromagnetic waves of a specific wavelength. In practical applications, the illumination module can be configured to specifically irradiate cyan light in the 470-500 nm range; then, the intensity of the cyan light is adjusted based on the user's heart rate data to help calm the user's heart rate and improve the user's frequent dreams and palpitations during naps. Since cyan light can regulate the body's secretion of melatonin, it can improve the user's sleep quality through the action of melatonin. However, different light intensities have different effects on improving the user's sleep quality; therefore, this solution uses the user's heart rate data as the basis for determining the intensity of the cyan light irradiated by the illumination module.
[0054] Referring to Figure 3, this disclosure provides another method for controlling an air conditioner, including:
[0055] S21. Determine the target light intensity based on heart rate data.
[0056] S22. Control the lighting module to illuminate with light at the target light intensity.
[0057] The method for controlling an air conditioner provided in this disclosure allows the air conditioner or server to determine the user's sleep state based on the user's heart rate data, and then determine the corresponding sleep regulation needs based on the sleep state. Furthermore, since the air conditioner's light module can emit cyan light, which can regulate the body's melatonin secretion, the air conditioner or server determines the intensity of the cyan light emitted by the light module based on the user's heart rate data to control the amount of melatonin secreted by the body. This improves the user's sleep quality by controlling the amount of melatonin secreted by the body; it also helps the user calm their heart rate, alleviates palpitations and vivid dreams during a nap, and improves the sleep quality during a nap.
[0058] In practical applications, the air conditioner's assistance strategies for short-term sleep can be categorized into mild, moderate, and high-level anti-dream measures. When the user's heart rate is detected to be 80-90 beats per minute, the mild anti-dream strategy is activated, setting the air conditioner's target air outlet temperature to 26 degrees Celsius and adjusting the cyan light intensity of the illumination module to 3%. When the user's heart rate is detected to be 90-100 beats per minute, the moderate anti-dream strategy is activated, setting the air conditioner's target air outlet temperature to 25 degrees Celsius and adjusting the cyan light intensity of the illumination module to 2%. When the user's heart rate is detected to be above 100 beats per minute, the high-level anti-dream strategy is activated, setting the air conditioner's target air outlet temperature to 24 degrees Celsius and adjusting the cyan light intensity of the illumination module to 1%.
[0059] In this way, by using two auxiliary strategies—adjusting the ambient temperature of the user's associated area and the intensity of cyan light—the user's sleep quality can be improved.
[0060] In some embodiments, before detecting the user's heart rate data, the method for controlling the air conditioner further includes: controlling the air conditioner to activate a short sleep mode if it is determined that the user has a need to catch up on sleep.
[0061] Optionally, it can be determined whether a user has a need to catch up on sleep by: acquiring image information of the relevant area; analyzing the user's behavioral information based on the image information; and determining whether the user has a need to catch up on sleep based on the behavioral information.
[0062] Referring to Figure 4, this disclosure provides another method for controlling an air conditioner, including:
[0063] S31. Obtain image information of the associated region.
[0064] S32. Analyze user behavior information based on image information.
[0065] S33. Based on behavioral information, determine whether the user has a need to catch up on sleep.
[0066] In this way, by acquiring image information of the associated area where the user sleeps, and then analyzing the user's behavioral information based on the image information, it is possible to determine whether the user has a need for catching up on sleep. This method of determination is more intuitive and makes it easier to accurately determine whether the user has fallen back asleep after waking up, providing an information basis for subsequent sleep assistance during the user's nap.
[0067] Optionally, based on behavioral information, determine whether the user has a need to catch up on sleep, including: if the behavioral information indicates that the user has a need to catch up on sleep after waking up from a long period of sleep and then falling back asleep.
[0068] Referring to Figure 5, this disclosure provides another method for controlling an air conditioner, including:
[0069] S41. If the behavioral information indicates that the user has fallen back asleep after waking up from a long period of sleep, determine that the user has a need to catch up on sleep.
[0070] S42. If it is determined that the user has a need to catch up on sleep, control the air conditioner to start the short sleep mode.
[0071] The method for controlling an air conditioner provided in this disclosure involves the air conditioner or server analyzing the user's behavioral information based on image information of the associated area where the user sleeps. If the behavioral information indicates that the user has woken from a long sleep and then returned to sleep, the system determines that the user has a need for catching up on sleep, triggering the air conditioner to activate a short-sleep mode. Further, the system uses the user's heart rate data to determine the user's sleep state, and then determines the corresponding sleep regulation needs based on the sleep state. Since the air conditioner's light module can emit cyan light, which can regulate the body's melatonin secretion, the air conditioner or server determines the intensity of the cyan light emitted by the light module based on the user's heart rate data to control the amount of melatonin secreted. This controls the amount of melatonin secreted, thereby improving the user's sleep quality. Furthermore, this helps calm the user's heart rate, alleviates palpitations and vivid dreams during a nap, and improves the user's sleep quality during a nap.
[0072] Referring to Figure 6, this embodiment of the present disclosure provides a device for controlling an air conditioner, including a processor 100 and a memory 101. Optionally, the device may further include a communication interface 102 and a bus 103. The processor 100, communication interface 102, and memory 101 can communicate with each other via the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call logical instructions in the memory 101 to execute the method for controlling the air conditioner described in the above embodiment.
[0073] Furthermore, the logic instructions in the aforementioned memory 101 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0074] The memory 101, 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 100 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, it implements the method for controlling the air conditioner in the above embodiments.
[0075] The memory 101 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 101 may include high-speed random access memory and may also include non-volatile memory.
[0076] This disclosure provides an air conditioner that includes the above-described device for controlling the air conditioner.
[0077] The air conditioner provided in this embodiment detects the user's heart rate data during sleep, determines the user's sleep regulation needs based on the detection time and the detected heart rate data, formulates a sleep assistance strategy that meets the user's needs according to the determined sleep regulation needs, and controls the air conditioner to execute the assistance strategy to meet the user's sleep needs in sleep scenarios other than long nighttime sleep, improve the sleep quality of the user when waking up during sleep and going back to sleep, thereby achieving accurate judgment of the user's different sleep needs and improving the flexibility of the air conditioner's operation mode in sleep mode.
[0078] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for controlling an air conditioner.
[0079] 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.
[0080] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] 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, include: If it is determined that the user needs to catch up on sleep, control the air conditioner to start a short sleep mode; In response to a short sleep mode command, the system detects the user's heart rate data and the time information at which the heart rate data is detected; based on the time information and the heart rate data, it determines the user's sleep adjustment needs; and controls the air conditioner to execute an auxiliary strategy matching the sleep adjustment needs. Specifically, determining the user's sleep adjustment needs based on the time information and the heart rate data, and controlling the air conditioner to execute an auxiliary strategy matching the sleep adjustment needs, includes: if the time information indicates that the current time is a nap period, analyzing the user's heart rate change trend based on the heart rate data; and if the heart rate change trend is abnormal, executing a corresponding auxiliary strategy according to the heart rate data. The auxiliary strategy for the user's short sleep includes mild... The system includes three anti-dream strategies: a mild anti-dream strategy, a moderate anti-dream strategy, and a high anti-dream strategy. The mild, moderate, and high anti-dream strategies are determined based on the user's different heart rate data. The air conditioner is equipped with a light module that emits electromagnetic waves of a specific frequency band. The execution of the corresponding auxiliary strategy according to the heart rate data includes: when the heart rate data falls within a reference heart rate threshold indicating poor sleep quality, controlling the target air outlet temperature of the air conditioner and controlling the light module to irradiate cyan light. Furthermore, the light intensity and target air outlet temperature of the mild anti-dream strategy are greater than those of the moderate anti-dream strategy, and the light intensity and target air outlet temperature of the moderate anti-dream strategy are greater than those of the high anti-dream strategy.
2. The method according to claim 1, characterized in that, The control of the illumination module to irradiate cyan light includes: determining the target light intensity based on the heart rate data; and controlling the illumination module to irradiate cyan light at the target light intensity.
3. The method according to claim 1, characterized in that, The following methods are used to determine whether a user has a need for catching up on sleep: obtaining image information of the relevant area; analyzing the user's behavioral information based on the image information; and determining whether the user has a need for catching up on sleep based on the behavioral information.
4. The method according to claim 3, characterized in that, The step of determining whether a user has a need to catch up on sleep based on the behavioral information includes: determining that the user has a need to catch up on sleep when the behavioral information indicates that the user has woken up from a long period of sleep and then entered a state of sleep again.
5. A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to perform, when executing the program instructions, the method for controlling an air conditioner as described in any one of claims 1 to 4.
6. An air conditioner, characterized in that, Includes the device for controlling an air conditioner as described in claim 5.
7. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling the air conditioner as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Intelligent wearable equipment and control method thereof
CN106073710A
Natural wind frequency modulation air conditioner, air conditioning system and control method based on deep sleep
CN107560096A
Lamp panel structure and air conditioner
CN113639218A