Method and device for controlling air conditioner, air conditioner, and storage medium
By detecting the covering of the baby's face and using the intelligent adjustment of the air conditioner, the problem of not being able to notify the guardian in time and the lack of self-rescue means in the existing technology is solved, achieving effective rescue of the baby in danger at night and improving the survival rate.
Patent Information
- Application Number
- CN202210391609.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-14
AI Technical Summary
Existing infant sleep monitoring technology cannot notify the guardian in time in the middle of the night, causing the guardian to miss the best opportunity for rescue, and lacks self-rescue means, resulting in a low survival rate for infants in danger at night.
By detecting the covering status of the baby's face and using intelligent adjustments of the air conditioner, such as the adjustment of air supply parameters, the baby can be protected and rescued in a timely manner to avoid sleep apnea without relying on timely feedback from the guardian.
It achieves effective rescue for babies in danger at night and improves the survival rate. By adjusting the function of the air conditioner, it can achieve a better rescue effect anytime and anywhere.
Smart Images

Figure CN114811904B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, for example, to a method and device for controlling an air conditioner, an air conditioner, and a storage medium. Background Art
[0002] At present, with the rapid development of science and technology, Sudden infant Death Syndrome (SIDS) has gradually attracted people's attention. SIDS is the most common cause of death of infants between 2 weeks and 1 year old, and most infants do not have any symptoms before death. Studies have found that sleep apnea caused by foreign objects covering the baby's face is one of the main causes of SIDS. To this end, the relevant technology proposes a method for monitoring infant sleep, including: collecting infant images; extracting the infant's sleeping state and the infant's face occlusion state according to the infant images; and determining whether to send an alarm signal to a monitoring terminal according to the infant's sleeping state and the infant's face occlusion state.
[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0004] Although the relevant technology can monitor the baby's sleep process and notify the guardian when the baby's face is blocked, SIDS often occurs in the middle of the night, when the guardian is usually in a deep sleep and often cannot receive the alarm information sent by the monitoring system in time. Once the guardian misses the alarm information, the best time to rescue the baby may be missed. Since the relevant technology is highly dependent on the guardian's timely feedback and lacks self-rescue means for babies in distress, its rescue effect is poor and cannot effectively improve the survival rate of babies in distress at night. Summary of the invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a method and device for controlling an air conditioner, an air conditioner, and a storage medium, which can utilize the function adjustment of the air conditioner to complete the rescue of an infant, and can achieve a good rescue effect anytime and anywhere, which is beneficial to improving the survival rate of infants in distress at night.
[0007] In some embodiments, the method comprises:
[0008] If the baby is detected to be sleeping, the system will continuously detect the baby's face covering;
[0009] When it is detected that the face of the baby is covered by a covering, determining a face covering area;
[0010] According to the facial coverage area, the operating parameters of the air conditioner are adjusted to monitor the baby's sleep.
[0011] In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling an air conditioner when running the program instructions.
[0012] In some embodiments, the air conditioner includes the above-mentioned device for controlling the air conditioner.
[0013] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the above-mentioned method for controlling the air conditioner is executed.
[0014] The method and device for controlling an air conditioner, the air conditioner, and the storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:
[0015] The disclosed embodiment of the present invention monitors the facial coverage of the infant during sleep in real time, which helps to prevent the infant from sleep apnea. When it is identified that the infant's face is covered by a foreign object, the disclosed embodiment can more accurately determine the dangerous situation the infant is currently facing by further detecting the facial coverage area. When it is determined that the infant may be in danger, the disclosed embodiment controls the air conditioner to make intelligent adjustments to protect and rescue the infant in time. And because the rescue process does not rely on the guardian, but utilizes the functional adjustment of the air conditioner to complete the rescue of the infant, the disclosed embodiment can play a good rescue effect anytime and anywhere, which helps to improve the survival rate of infants in distress at night.
[0016] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0018] Figure 1 is a schematic diagram of a method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0019] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0020] Figure 3is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0021] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0022] Figure 5 is a schematic diagram of another method for controlling an air conditioner provided by an embodiment of the present disclosure;
[0023] Figure 6 is a schematic diagram of a device for controlling an air conditioner provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0025] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0026] Unless otherwise stated, the term "plurality" means two or more.
[0027] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0028] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0029] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0030] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process 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. Among them, the air conditioner and smart mattress in the embodiments of the present disclosure are both smart home appliances.
[0031] In the embodiments of the present disclosure, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above smart home appliances by connecting to the Internet, or can communicate with the above smart home appliances directly through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
[0032] At present, with the rapid development of science and technology, SIDS has gradually attracted people's attention. SIDS is the most common cause of death of infants aged 2 weeks to 1 year old, and most infants do not have any symptoms before death. Studies have found that sleep apnea caused by foreign objects covering the baby's face is one of the main causes of SIDS. To this end, the relevant technology proposes a method for monitoring infant sleep, including: collecting infant images; extracting the infant's sleeping state and the infant's face occlusion state according to the infant images; and determining whether to send an alarm signal to a monitoring terminal according to the infant's sleeping state and the infant's face occlusion state.
[0033] Although the relevant technology can monitor the baby's sleep process and notify the guardian when the baby's face is blocked, SIDS often occurs in the middle of the night, when the guardian is usually in a deep sleep and often cannot receive the alarm information sent by the monitoring system in time. Once the guardian misses the alarm information, the best time to rescue the baby may be missed. Since the relevant technology is highly dependent on the guardian's timely feedback and lacks self-rescue means for babies in distress, its rescue effect is poor and cannot effectively improve the survival rate of babies in distress at night.
[0034] Combination Figure 1 As shown, the embodiment of the present disclosure provides a method for controlling an air conditioner, comprising:
[0035] S101, when it is detected that the baby falls asleep, the processor continuously detects whether the baby's face is covered.
[0036] S102: When it is detected that the baby's face is covered by a covering object, the processor determines a face covering area.
[0037] S103, the processor adjusts the operating parameters of the air conditioner according to the facial covering area to monitor the sleep of the infant.
[0038] By adopting the method for controlling the air conditioner provided by the embodiment of the present disclosure, the facial covering condition of the infant during sleep can be monitored in real time, which is helpful to prevent the infant from sleep apnea. When it is identified that the infant's face is covered by foreign objects, the embodiment of the present disclosure can more accurately determine the dangerous situation currently faced by the infant through further detection of the facial covering area. When it is determined that the infant may be in danger, the embodiment of the present disclosure controls the air conditioner to make intelligent adjustments to protect and rescue the infant in time. And because the rescue process does not rely on the guardian, but uses the functional adjustment of the air conditioner to complete the rescue of the infant, the embodiment of the present disclosure can play a good rescue effect anytime and anywhere, which is helpful to improve the survival rate of infants in distress at night.
[0039] Optionally, the processor continuously detecting the baby's facial covering condition includes: the processor controlling the camera to capture the baby's facial image; the processor obtaining the facial covering condition based on the baby's facial image. In this way, the disclosed embodiment can use the camera to capture the baby's facial image during sleep, so as to accurately identify whether there is a foreign object covering the baby's face. In this way, the baby's sleep process can be monitored throughout, which is helpful to prevent the baby from sleep apnea due to respiratory obstruction.
[0040] Optionally, the camera is set on the air conditioner. In this way, the air conditioner can quickly obtain the real-time image of the baby. This method is not susceptible to signal interference, has low latency, and can effectively avoid image loss caused by network fluctuations. Therefore, it is conducive to improving the reliability of the monitoring process.
[0041] Optionally, the camera is set on the wall of the room. In this way, the air conditioner can indirectly obtain the real-time image of the baby. This method is more flexible in obtaining images and has a wider shooting angle. It is conducive to ensuring the thoroughness of the monitoring process. At the same time, the camera structure on the air conditioner can be omitted, which can make the air conditioner structure more compact.
[0042] Optionally, there are multiple cameras, and before the processor controls the camera to capture the baby's facial image, it also includes: the processor identifies the baby's sleeping position; the processor determines the working camera based on the baby's sleeping position. In this way, by installing multiple cameras, the embodiment of the present disclosure can obtain a larger shooting range, so that the baby's sleeping process can be monitored more comprehensively. When the baby's sleeping position changes, the embodiment of the present disclosure will select the most suitable camera to capture the facial image, thereby avoiding the loss of the facial image caused by the baby's sleeping position changes. It is conducive to improving the accuracy of the monitoring process.
[0043] Optionally, after the processor identifies the sleeping position of the baby, the processor also includes: when the baby is detected to be face down, the processor sends an alarm message to the guardian's terminal device. In this way, when the baby is detected to be sleeping on its stomach, the current sleeping position is not conducive to the baby's breathing and may even cause sleep apnea. Therefore, the processor will determine that the baby may be in a dangerous situation at present, and by sending an alarm message to the guardian's terminal device, the disclosed embodiment is conducive to timely reminding the guardian to rescue the baby.
[0044] Optionally, after the processor identifies the sleeping position of the baby, it also includes: when the processor detects that the baby is face down, the processor sends a control instruction to the guardian's smart mattress to control the smart mattress to shake back and forth. In this way, when the baby is detected to be sleeping on his stomach, the current sleeping position is not conducive to the baby's breathing and may even cause sleep apnea. Therefore, the processor will determine that the baby may be in a dangerous situation at present. By linking the shaking of the smart mattress, the embodiment of the present disclosure can wake up the guardian in time when the baby is in danger, which is conducive to timely rescue of the baby.
[0045] Optionally, the processor adjusts the operating parameters of the air conditioner according to the facial covering area, including: the processor determines the sleep danger level according to the facial covering area; the processor adjusts the air supply parameters of the air conditioner according to the sleep danger level. In this way, the disclosed embodiment can judge the danger level during sleep according to the actual position of the covering on the baby's face, and adjust the air supply mode of the air conditioner according to the danger level. In this way, the air conditioner can be controlled more reasonably to make intelligent adjustments, which is conducive to timely protection and rescue of the baby.
[0046] Optionally, the processor adjusts the operating parameters of the air conditioner according to the facial covering area, including: the processor determines the coverage ratio of the triangle area according to the positional relationship between the facial covering area and the facial danger triangle area; the processor adjusts the air supply parameters of the air conditioner according to the coverage ratio of the triangle area. In this way, the embodiment of the present disclosure can compare the actual position of the covering object with the relationship between the infant's facial danger triangle area, and determine the proportion of the area covered by the triangle area accordingly. Since it focuses more on monitoring key areas, the embodiment of the present disclosure can more accurately control the air conditioner to make intelligent adjustments, which is conducive to timely protection and rescue of infants.
[0047] Optionally, the disclosed embodiment may also set other air conditioner operating parameter adjustment methods, which are not limited to the above two adjustment methods. Based on a variety of adjustment methods, the operating parameters of the air conditioner can be adjusted and set according to the corresponding face covering area, which are not listed here one by one. At the same time, the operating parameters of the air conditioner are not limited to the air supply parameters, and other operating parameters such as the set temperature and set humidity can also be adjusted.
[0048] Combination Figure 2 As shown, the embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0049] S201, when it is detected that the baby is sleeping, the processor continues to detect whether the baby's face is covered.
[0050] S202: When it is detected that the baby's face is covered by a covering object, the processor determines a face covering area.
[0051] S203: The processor determines the sleep risk level according to the face covering area.
[0052] S204: The processor adjusts air supply parameters of the air conditioner according to the sleep risk level to monitor the sleep of the infant.
[0053] By adopting the method for controlling the air conditioner provided by the embodiment of the present disclosure, the facial covering situation of the baby during sleep can be monitored in real time, which is conducive to preventing the baby from sleep suffocation. When it is identified that the baby's face is covered by a foreign object, the embodiment of the present disclosure can more accurately determine the dangerous situation currently faced by the baby through further detection of the facial covering area. When it is determined that the baby may be in danger, the embodiment of the present disclosure can judge the danger level during sleep according to the actual position of the covering on the baby's face, and adjust the air supply mode of the air conditioner according to the danger level. Thereby, the air conditioner can be more reasonably controlled to make intelligent adjustments, which is conducive to timely protection and rescue of the baby. And because the rescue process does not rely on the guardian, but uses the function adjustment of the air conditioner to complete the rescue of the baby, the embodiment of the present disclosure can play a good rescue effect anytime and anywhere, which is conducive to improving the survival rate of the baby in distress at night.
[0054] Optionally, the processor determines the sleep hazard level according to the facial covering area, including: when both the mouth and the nose are in the facial covering area, the processor determines the sleep hazard level to be level one; when only one of the mouth or the nose is in the facial covering area, the processor determines the sleep hazard level to be level two; when neither the mouth nor the nose is in the facial covering area, the processor determines the sleep hazard level to be level three. In this way, the disclosed embodiment can detect the relationship between the position of the infant's mouth, nose, and the covering, and determine the hazard level of the infant during sleep accordingly. Since it focuses more on monitoring the mouth and nose, the disclosed embodiment can more accurately control the air conditioner to make intelligent adjustments, which is conducive to timely protection and rescue of the infant.
[0055] Optionally, the disclosed embodiment can also set more sleep risk levels, not limited to the above three levels. The air supply parameters of the air conditioner can also be reasonably adjusted and set according to the sleep risk level, which are not listed here one by one. At the same time, based on the above multiple sleep risk levels, the air conditioner can make corresponding functional adjustments.
[0056] Optionally, the processor adjusts the air supply parameters of the air conditioner according to the sleep hazard level, including: when the sleep hazard level is level one, the processor adjusts the air supply angle to supply air toward the baby, and adjusts the air supply speed to the first speed; when the sleep hazard level is level two, the processor adjusts the air supply angle to supply air toward the baby, and adjusts the air supply speed to the second speed; when the sleep hazard level is level three, the processor adjusts the air supply angle to avoid the baby. In this way, by regulating the air supply angle and the air supply speed, the disclosed embodiment can more reasonably adjust the air supply mode of the air conditioner. Thereby, the rescue effect can be better exerted, which is conducive to improving the survival rate of infants in distress.
[0057] Optionally, the first wind speed is greater than the second wind speed. In this way, for the less dangerous level 3 situation, the embodiment of the present disclosure avoids air supply to the baby, which can effectively improve the sleeping comfort of the baby. For the more dangerous level 2 situation, the embodiment of the present disclosure supplies air toward the baby and selects a suitable air supply speed. Thus, the air supply of the air conditioner can be used to blow the covering away from the baby's mouth and nose while retaining the baby's sleeping comfort as much as possible, so as to achieve intelligent rescue for the baby. For the most dangerous level 1 situation, the embodiment of the present disclosure supplies air toward the baby and selects a higher air supply speed. Thus, the air supply of the air conditioner can be used to blow the covering away from the baby's mouth and nose as much as possible, so as to achieve maximum rescue for the baby. At the same time, high wind speed can also be used to disrupt the baby's sleeping experience, so as to achieve the purpose of prompting the baby to adjust his sleeping position or wake up the baby.
[0058] Optionally, the processor adjusts the air supply angle to supply air toward the baby, including: the processor obtains the angular relationship between the air conditioner and the baby's face; the processor obtains the baby's sleeping position; the processor determines the air supply angle of the air conditioner based on the angular relationship and the baby's sleeping position, so that the covering is blown away from the baby's face. In this way, the embodiment of the present disclosure can more accurately control the air supply angle in combination with the angular relationship between the air conditioner and the baby's face, as well as the baby's current sleeping position. By setting the air supply angle to an angle that can blow the covering away from the baby's face, the embodiment of the present disclosure can better exert the rescue effect, which is conducive to improving the survival rate of the baby in distress.
[0059] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0060] S301, when it is detected that the baby falls asleep, the processor continues to detect whether the baby's face is covered.
[0061] S302: When it is detected that the baby's face is covered by a covering object, the processor determines a face covering area.
[0062] S303: The processor determines the coverage ratio of the facial triangle according to the positional relationship between the facial covered area and the facial danger triangle.
[0063] S304: The processor adjusts air supply parameters of the air conditioner according to the coverage ratio of the triangular area to monitor the sleep of the baby.
[0064] By adopting the method for controlling the air conditioner provided by the embodiment of the present disclosure, the facial covering situation of the baby during sleep can be monitored in real time, which is conducive to preventing the baby from sleep suffocation. When it is identified that the baby's face is covered by a foreign object, the embodiment of the present disclosure can more accurately determine the dangerous situation currently faced by the baby through further detection of the facial covering area. When it is determined that the baby may be in danger, the embodiment of the present disclosure can compare the relationship between the actual position of the covering object and the dangerous triangle area of the baby's face, and determine the area ratio of the triangle area covered accordingly. Since it focuses more on monitoring the key areas, the embodiment of the present disclosure can more accurately control the air conditioner to make intelligent adjustments, which is conducive to timely protection and rescue of the baby. And because the rescue process does not rely on the guardian, but uses the function adjustment of the air conditioner to complete the rescue of the baby, the embodiment of the present disclosure can play a good rescue effect anytime and anywhere, which is conducive to improving the survival rate of the baby in distress at night.
[0065] Optionally, the facial danger triangle is a triangular area from the root of the baby's nose to both sides of the corners of the mouth. In this way, by focusing on monitoring the position of the mouth and nose, the disclosed embodiment can more accurately control the air conditioner to make intelligent adjustments, which is conducive to timely protection and rescue of the baby.
[0066] Optionally, the processor determines the coverage ratio of the triangle area according to the positional relationship between the facial covered area and the facial dangerous triangle area, including: the processor determines the overlapping area of the facial covered area and the facial dangerous triangle area; the processor calculates the ratio of the overlapping area area to the facial dangerous triangle area to obtain the coverage ratio of the triangle area. In this way, the disclosed embodiment can quantify the specific coverage situation at the position of the baby's mouth and nose, so as to more accurately determine the dangerous situation currently faced by the baby. Based on this, the air conditioner can also be controlled more reasonably to make intelligent adjustments, which is conducive to timely protection and rescue of the baby.
[0067] Optionally, the processor adjusts the air supply parameters of the air conditioner according to the triangular area coverage ratio, including: when the triangular area coverage ratio is greater than or equal to the first preset ratio, the processor adjusts the air supply angle to supply air toward the baby, and adjusts the air supply speed to the third wind speed; when the triangular area coverage ratio is less than the first preset ratio and greater than or equal to the second preset ratio, the processor adjusts the air supply angle to supply air toward the baby, and adjusts the air supply speed to the fourth wind speed; when the triangular area coverage ratio is less than the second preset ratio, the processor adjusts the air supply angle to avoid the baby. The first preset ratio is greater than the second preset ratio. In this way, by regulating the air supply angle and the air supply speed, the disclosed embodiment can more reasonably adjust the air supply mode of the air conditioner. Thereby, the rescue effect can be better exerted, which is conducive to improving the survival rate of infants in distress.
[0068] Optionally, the first preset ratio and the second preset ratio can be set according to the actual needs of the guardian. However, it should be noted that the first preset ratio should be greater than the second preset ratio. Preferably, the first preset ratio can be set to 50%, and the second preset ratio can be set to 20%. In this way, the disclosed embodiment uses multiple preset ratios to divide the control interval, so that the most suitable air supply mode can be selected according to the actual coverage ratio of the facial danger triangle. Therefore, the rescue effect can be better exerted, which is conducive to improving the survival rate of infants in distress.
[0069] Optionally, the third wind speed is greater than the fourth wind speed. In this way, for the situation where the dangerous triangle of the face is less covered or not blocked, the embodiment of the present disclosure avoids the baby to supply air, which can effectively improve the sleeping comfort of the baby. For the situation where the dangerous triangle of the face is partially covered, the embodiment of the present disclosure supplies air toward the baby and selects a suitable air supply speed. Thus, the air supply of the air conditioner can be used to blow the covering away from the baby's mouth and nose while retaining the baby's sleeping comfort as much as possible, so as to achieve intelligent rescue for the baby. For the situation where the dangerous triangle of the face is more covered or completely blocked, the embodiment of the present disclosure supplies air toward the baby and selects a larger air supply speed. Thus, the air supply of the air conditioner can be used to blow the covering away from the baby's mouth and nose as much as possible, so as to achieve maximum rescue for the baby. At the same time, high wind speed can also be used to destroy the baby's sleeping experience, so as to achieve the purpose of prompting the baby to adjust the sleeping position or wake up the baby.
[0070] Optionally, the processor adjusts the air supply angle to supply air toward the baby, including: the processor obtains the angular relationship between the air conditioner and the baby's face; the processor obtains the baby's sleeping position; the processor determines the air supply angle of the air conditioner based on the angular relationship and the baby's sleeping position, so that the covering is blown away from the baby's face. In this way, the embodiment of the present disclosure can more accurately control the air supply angle in combination with the angular relationship between the air conditioner and the baby's face, as well as the baby's current sleeping position. By setting the air supply angle to an angle that can blow the covering away from the baby's face, the embodiment of the present disclosure can better exert the rescue effect, which is conducive to improving the survival rate of the baby in distress.
[0071] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0072] S401, when the processor detects that the baby is sleeping, the processor continuously detects whether the baby's face is covered.
[0073] S402: When it is detected that the baby's face is covered by a covering object, the processor determines a face covering area.
[0074] S403: The processor adjusts the operating parameters of the air conditioner according to the facial covering area to monitor the sleep of the infant.
[0075] S404: The processor detects the nature of the covering object.
[0076] S405: The processor modifies the operating parameters of the air conditioner according to the properties of the covering object.
[0077] By adopting the method for controlling the air conditioner provided by the embodiment of the present disclosure, the facial covering situation of the baby during sleep can be monitored in real time, which is conducive to preventing the baby from sleep suffocation. When it is identified that the baby's face is covered by a foreign object, the embodiment of the present disclosure can more accurately determine the dangerous situation currently faced by the baby through further detection of the facial covering area. When it is determined that the baby may be in danger, the embodiment of the present disclosure controls the air conditioner to make intelligent adjustments to protect and rescue the baby in time. In addition, the embodiment of the present disclosure will also detect the specific properties of the covering object, and reasonably correct the operating parameters of the air conditioner based on this, so as to better improve the rescue effect of the air conditioner. And because the rescue process does not rely on the guardian, but uses the function adjustment of the air conditioner to complete the rescue of the baby, the embodiment of the present disclosure can play a good rescue effect anytime and anywhere, which is conducive to improving the survival rate of babies in distress at night.
[0078] Optionally, the property of the covering includes one or more of the type of covering, the size of the covering, the weight of the covering, the thickness of the covering, the density of the covering, and the overall degree of the covering. In this way, by detecting the specific properties of the covering and rationally modifying the operating parameters of the air conditioner accordingly, the embodiment of the present disclosure can better improve the rescue effect of the air conditioner.
[0079] Optionally, in some embodiments, the processor can correct the air supply parameters of the air conditioner according to the type of covering. Exemplarily, when it is detected that the type of covering is cotton wool, the air conditioner can adaptively reduce the air supply speed. Thus, while ensuring that the covering can be blown away from the face, this embodiment can further ensure the sleeping comfort of the baby, and at the same time, it can also avoid the situation where the cotton wool enters the baby's nostrils or mouth due to the high air supply speed. When it is detected that the type of covering is a toy, the air conditioner can adaptively increase the air supply speed. Thus, the covering can be blown away from the baby's face by air supply as much as possible, which is conducive to improving the rescue effect of the air conditioner.
[0080] Optionally, the disclosed embodiment may also set other air conditioner operating parameter correction methods, which are not limited to the above-mentioned correction methods. Based on multiple correction methods, the operating parameters of the air conditioner can be adjusted and set according to the corresponding properties of the covering, which are not listed here one by one. At the same time, the operating parameters of the air conditioner are not limited to the air supply parameters, and other operating parameters such as the set temperature and the set humidity can also be adjusted.
[0081] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for controlling an air conditioner, comprising:
[0082] S501, when it is detected that the baby falls asleep, the processor continues to detect whether the baby's face is covered.
[0083] S502: When it is detected that the baby's face is covered by a covering object, the processor determines a face covering area.
[0084] S503: The processor adjusts the operating parameters of the air conditioner according to the facial covering area to monitor the sleep of the infant.
[0085] S504: The processor sends a control instruction to the smart mattress to control the operation of the smart mattress.
[0086] By adopting the method for controlling the air conditioner provided by the embodiment of the present disclosure, the facial covering of the baby during sleep can be monitored in real time, which is conducive to preventing the baby from sleep suffocation. When it is identified that the baby's face is covered by foreign objects, the embodiment of the present disclosure can more accurately determine the dangerous situation currently faced by the baby through further detection of the facial covering area. When it is determined that the baby may be in danger, the embodiment of the present disclosure controls the air conditioner to make intelligent adjustments to protect and rescue the baby in time. In addition, the embodiment of the present disclosure will also link the operation of the smart mattress to assist the air conditioner in rescuing the baby, so as to better improve the actual rescue effect. And because the rescue process does not rely on the guardian, but uses the functional adjustment of the air conditioner to complete the rescue of the baby, the embodiment of the present disclosure can play a good rescue effect anytime and anywhere, which is conducive to improving the survival rate of babies in distress at night.
[0087] Optionally, the processor sends a control instruction to the smart mattress to control the operation of the smart mattress, including: the processor sends a control instruction to the guardian's smart mattress and controls the smart mattress to shake back and forth. In this way, when it is determined that the baby may be in danger, especially when the air conditioner is not enough to complete the rescue of the baby alone, the embodiment of the present disclosure will actively alert the guardian. By linking the guardian's smart mattress to shake back and forth, the embodiment of the present disclosure can wake up the guardian in time when the baby is in danger, which is conducive to timely rescue of the baby.
[0088] Optionally, the processor sends a control instruction to the smart mattress to control the operation of the smart mattress, including: the processor sends a control instruction to the baby's smart mattress, and controls the smart mattress to adjust the tilt angle. In this way, when it is determined that the baby may be in danger, the embodiment of the present disclosure will link the smart mattress to rescue. Especially when the air supply of the air conditioner is not enough to blow the covering away from the baby's face, by controlling the baby's smart mattress to tilt at a certain angle, the embodiment of the present disclosure can use the tilt of the bed to make the covering fall naturally. Thereby, the actual rescue effect can be better improved, which is conducive to improving the survival rate of babies in distress.
[0089] Optionally, the tilt angle of the smart mattress is associated with the properties of the covering. In this way, the tilt angle of the smart mattress can be reasonably adjusted in combination with the specific properties of the covering, and the embodiment of the disclosure can better exert the rescue effect of the smart mattress, which is conducive to improving the survival rate of babies in distress.
[0090] Optionally, the processor sends a control instruction to the smart mattress to control the operation of the smart mattress, including: the processor sends a control instruction to the baby's smart mattress, and controls the smart mattress to shake back and forth. In this way, when it is determined that the baby may be in danger, the embodiment of the present disclosure will link the smart mattress for rescue. Especially when the air supply of the air conditioner is not enough to blow the covering away from the baby's face, by shaking the baby's smart mattress back and forth, the embodiment of the present disclosure can disrupt the baby's sleeping experience, so as to achieve the purpose of prompting the baby to adjust the sleeping position or wake up the baby. Thereby, the actual rescue effect can be better improved, which is conducive to improving the survival rate of babies in distress.
[0091] Optionally, the vibration frequency of the smart mattress is associated with the properties of the covering. In this way, by combining the specific properties of the covering to reasonably adjust the vibration frequency of the smart mattress, the disclosed embodiment can better exert the rescue effect of the smart mattress, which is conducive to improving the survival rate of babies in distress.
[0092] Combination Figure 6 As shown, the embodiment of the present disclosure provides a device for controlling an air conditioner, including a processor (processor) 601 and a memory (memory) 602. Optionally, the device may also include a communication interface (Communication Interface) 603 and a bus 604. Among them, the processor 601, the communication interface 603, and the memory 602 can communicate with each other through the bus 604. The communication interface 603 can be used for information transmission. The processor 601 can call the logic instructions in the memory 602 to execute the method for controlling the air conditioner of the above embodiment.
[0093] In addition, the logic instructions in the memory 602 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0094] The memory 602 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 601 executes the function application and data processing by running the program instructions / modules stored in the memory 602, that is, the method for controlling the air conditioner in the above embodiment is implemented.
[0095] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 602 may include a high-speed random access memory and may also include a non-volatile memory.
[0096] An embodiment of the present disclosure provides an air conditioner, comprising the above-mentioned device for controlling the air conditioner.
[0097] An embodiment of the present disclosure provides a storage medium storing computer executable instructions, which, when executed, execute the above-mentioned method for controlling an air conditioner.
[0098] The above-mentioned storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0099] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0100] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0101] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0102] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0103] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized in that: include: If the baby is detected to be sleeping, the system will continuously detect whether the baby's face is covered; When it is detected that the baby's face is covered by a covering, determining a face covering area; Adjust the operating parameters of the air conditioner according to the facial coverage area to monitor the baby's sleep; Wherein, adjusting the operating parameters of the air conditioner according to the facial covering area includes: determining the sleep risk level according to the facial covering area; adjusting the air supply parameters of the air conditioner according to the sleep risk level; Determining the sleep risk level based on the facial covering area includes: determining the sleep risk level as level one when both the mouth and nose are in the facial covering area; determining the sleep risk level as level two when only one of the mouth or nose is in the facial covering area; and determining the sleep risk level as level three when neither the mouth nor the nose is in the facial covering area. The air supply parameters include an air supply angle and an air supply speed. Adjusting the air supply parameters of the air conditioner according to the sleep risk level includes: when the sleep risk level is level one, adjusting the air supply angle to supply air toward the baby and adjusting the air supply speed to a first speed; when the sleep risk level is level two, adjusting the air supply angle to supply air toward the baby and adjusting the air supply speed to a second speed; when the sleep risk level is level three, adjusting the air supply angle to supply air away from the baby; wherein the first speed is greater than the second speed.
2. The method according to claim 1, characterized in that The adjusting the operating parameters of the air conditioner according to the facial covering area includes: Determine the coverage ratio of the facial triangle based on the positional relationship between the facial coverage area and the facial danger triangle; Adjust the air supply parameters of the air conditioner according to the coverage ratio of the triangle area.
3. The method according to claim 1 or 2, characterized in that After adjusting the operating parameters of the air conditioner according to the face-covered area, the method further includes: Detect the nature of the covering; Modify the operating parameters of the air conditioner according to the nature of the covering.
4. The method according to claim 1 or 2, characterized in that After adjusting the operating parameters of the air conditioner according to the face-covered area, it also includes: Send control instructions to the smart mattress to control the operation of the smart mattress.
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 execute the method for controlling an air conditioner according to any one of claims 1 to 4 when running the program instructions.
6. An air conditioner, characterized in that: The device for controlling an air conditioner as claimed in claim 5 is included.
7. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for controlling an air conditioner according to any one of claims 1 to 4 is executed.
