Multi-device cooperative control method and device based on user state and air conditioner
By monitoring the user's sleep status, using millimeter-wave radar and body movement index to identify the sleep stage, and jointly control air conditioning, new fans and floor heating and other equipment, the problem of traditional central air conditioning systems being unable to adapt to the dynamic sleep stage in sleep mode, realizing personalized environmental regulation and energy consumption optimization.
Patent Information
- Application Number
- CN202510657511.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-08-08
AI Technical Summary
Traditional central air-conditioning systems cannot adapt to the differences in dynamic sleep stages in sleep mode, resulting in poor device linkage control effect, unable to meet users' diverse needs for the sleep environment, and there is a risk of energy consumption and sleep interruption.
By monitoring the user's sleep status, using millimeter wave radar to detect the bed position and micro-movement frequency, calculate the body movement index and breathing frequency, accurately identify the sleep stage, and coordinately control air conditioners, new fans, floor heating and water heaters and other equipment according to the control strategies of different stages to achieve personalized environmental adjustment.
It improves the targeted and adaptiveness of equipment adjustment, improves the quality of sleep for users, saves energy consumption, avoids unnecessary startup of equipment operation, and provides a comfortable sleep environment.
Smart Images

Figure CN120444722A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of air-conditioning technology, and in particular to a method, apparatus and air conditioner for collaborative control of multiple devices based on user status. Background Art
[0002] The sleep mode of traditional central air conditioning systems generally suffers from the technical bottleneck of a single control logic. Existing solutions only adjust the temperature or wind speed around the air conditioner itself, and do not establish a linkage control mechanism with fresh air, floor heating, hot water and other equipment. For example, although the air conditioner can maintain the set temperature during sleep at night, the fresh air system may continue to operate inefficiently because it does not sense changes in indoor carbon dioxide (CO2) concentration, resulting in insufficient oxygen content or wasted energy; the floor heating system is also often in a fixed heating state and cannot dynamically adjust the regional temperature according to whether the user is in bed, etc., resulting in local overheating or cold areas, making the comprehensive regulation effect of indoor temperature, humidity and air quality unbalanced, making it difficult to meet the user's diverse needs for sleeping environment comfort.
[0003] In terms of sleep stage adaptability, traditional solutions rely on preset static control strategies, significantly lagging behind the dynamic physiological changes of the human sleep cycle. The human body's sensitivity to environmental parameters varies during sleep onset, light sleep, deep sleep, and waking. However, existing systems are unable to identify the user's sleep stage in real time through sensor data fusion technology, and lack differentiated control logic for different stages. This often leads to problems such as excessive wind speed during deep sleep and sudden temperature changes during waking, increasing the risk of sleep interruption and leaving the user experience unsatisfactory.
[0004] In summary, the sleep mode of traditional central air conditioners cannot adapt to the differences in dynamic sleep stages and cannot coordinate the operation of various devices, resulting in poor sleep mode adjustment effect and low adaptability. Summary of the Invention
[0005] The present application provides a multi-device collaborative control method, apparatus and air conditioner based on user status to solve the problem in the above-mentioned prior art that the sleep mode of the air conditioner cannot adapt to the differences in dynamic sleep stages and cannot link the operation of various devices, resulting in poor sleep mode adjustment effect and low adaptability.
[0006] According to one aspect of an embodiment of the present application, the present application provides a multi-device collaborative control method based on user status, the method including: monitoring the user's sleep state; determining the user's sleep stage based on the sleep state, and collaboratively controlling each device according to a control strategy matching the sleep stage.
[0007] Optionally, monitoring the user's sleep state includes: detecting the user's sleep data, the sleep data including the user's bed position and / or micro-motion frequency; judging the user's sleep state based on the bed position and / or the micro-motion frequency; and determining that the user has entered a sleep state when the bed position meets a preset bed position condition and / or the micro-motion frequency meets a preset micro-motion frequency condition.
[0008] Optionally, the sleep stage of the user is determined based on the sleep state, and each device is collaboratively controlled according to a control strategy that matches the sleep stage, including: calculating the user's body motion index and monitoring the user's breathing frequency based on the user's sleep state; determining the user's sleep stage based on the body motion index and the breathing frequency, and collaboratively controlling each device according to a control strategy that matches the user's sleep stage.
[0009] Optionally, the sleep stage of the user is determined based on the body movement index and the respiratory frequency, and each device is collaboratively controlled according to a control strategy that matches the sleep stage of the user, including: when the body movement index is greater than a first body movement threshold and the body movement index remains unchanged within a first preset time period, determining that the user is in the sleep preparation stage; and collaboratively controlling each device according to a first control strategy that matches the sleep preparation stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the sleep preparation stage.
[0010] Optionally, the determining the sleep stage of the user based on the body movement index and the respiratory frequency, and the collaborative control of each device according to a control strategy matching the sleep stage of the user, also includes: when the body movement index is less than or equal to a second body movement threshold and the standard deviation of the respiratory frequency is less than a preset frequency standard deviation threshold, determining that the user is in a light sleep stage, wherein the second body movement threshold is less than the first body movement threshold; and collaboratively controlling each device according to a second control strategy matching the light sleep stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the light sleep stage.
[0011] Optionally, the determining the sleep stage of the user based on the body movement index and the respiratory frequency, and the collaborative control of each device according to a control strategy matching the sleep stage of the user, also includes: determining that the user is in a deep sleep stage when the body movement index is less than or equal to a third body movement threshold, the body movement index remains unchanged within a second preset time period, and the respiratory frequency meets a preset minimum frequency threshold range, wherein the third body movement threshold is less than the second body movement threshold; and collaboratively controlling each device according to a third control strategy matching the deep sleep stage so that the environment in which the user is located meets the environmental conditions required for the user to be in the deep sleep stage.
[0012] Optionally, the sleep stage of the user is determined based on the body movement index and the respiratory frequency, and each device is collaboratively controlled according to a control strategy that matches the sleep stage of the user, and also includes: when the body movement index is greater than a fourth body movement threshold and the fluctuation of the respiratory frequency is greater than a preset frequency fluctuation threshold, determining that the user is in the rapid eye movement stage or the waking stage, wherein the fourth body movement threshold is greater than the second body movement threshold; when the user is in the rapid eye movement stage or the waking stage, collaborative control of each device is performed according to the fourth control strategy, including: adjusting the temperature control mode and set temperature of the air conditioner, the temperature of different areas of floor heating supply, and the working mode, wind speed and ventilation time of the fresh air fan.
[0013] Optionally, after determining the sleep stage of the user based on the sleep state and collaboratively controlling each device according to a control strategy matching the sleep stage, the method further includes: judging whether each device is operating based on the control parameters of the control strategy based on the actual operating parameters of each device; if each device is not operating based on the control parameters of the control strategy, it is determined that the device response is abnormal, an error prompt is generated for reporting, and the control parameters are recalibrated; and the operation of each device is re-controlled according to the calibrated control parameters.
[0014] According to another aspect of an embodiment of the present application, the present application provides a multi-device collaborative control device based on user status, the device including: a sleep monitoring module for monitoring the user's sleep status; a device collaborative control module for determining the user's sleep stage based on the sleep status, and collaboratively controlling each device according to a control strategy matching the sleep stage.
[0015] According to another aspect of an embodiment of the present application, the present application provides an air conditioner, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, the memory and the processor communicate through the communication bus and the communication interface, and when the processor executes the computer program, the steps of the multi-device collaborative control method based on user status are implemented.
[0016] According to another aspect of an embodiment of the present application, the present application provides a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute the steps of the multi-device collaborative control method based on user status.
[0017] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:
[0018] This application can be used to monitor the user's sleep state and coordinate the control of air conditioning and various equipment operation scenarios. By monitoring the user's sleep state and determining the sleep stage according to the user's sleep state, this application can accurately identify the user's current sleep stage, so as to facilitate targeted device control for different sleep stages, avoiding the problems of poor matching and low adaptability caused by controlling different sleep stages based on a unified control strategy, so that the operating state of each device can be highly adapted to the changes in sleep stages, which helps to improve the user's sleep quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] Figure 1 A schematic diagram of the hardware environment of an optional multi-device collaborative control method based on user status provided in an embodiment of the present application;
[0022] Figure 2 This is a flow chart of an optional multi-device collaborative control method based on user status provided in an embodiment of the present application;
[0023] Figure 3 This is a schematic diagram of an optional sleep stage determination process according to an embodiment of the present application;
[0024] Figure 4 This is a flowchart of another optional multi-device collaborative control method based on user status provided in an embodiment of the present application;
[0025] Figure 5 This is a structural diagram of an optional multi-device collaborative control apparatus based on user status provided in an embodiment of the present application;
[0026] Figure 6 A schematic diagram of an optional air conditioner structure provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0028] In order to solve the problems mentioned in the background technology, according to one aspect of an embodiment of the present application, an embodiment of a multi-device collaborative control method based on user status is provided.
[0029] like Figure 1 As shown, the above multi-device collaborative control method based on user status can be applied to Figure 1 In the hardware environment shown. The system architecture 100 of the hardware environment includes a terminal device 101 and a server 103. The server 103 is connected to the terminal 101 through a network to provide services for the terminal device 101. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The network can include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal device 101 can include home smart devices such as air conditioners, water heaters, floor heating equipment, and fresh air fans. The air conditioner can be a central air conditioner, which is communicated with home smart devices such as floor heating, fresh air fans, and water heaters to achieve collaborative control of multiple devices. The terminal device 101 interacts with the server 103 through the network to receive or send messages, etc.
[0030] It should be noted that the multi-device collaborative control method based on user status provided in the embodiment of the present application is generally executed by the server and / or terminal device. Accordingly, the multi-device collaborative control device based on user status is generally set in the server / terminal device. Each terminal device uploads the monitoring data to the server, and the server controls the collaborative operation of each terminal device after comprehensively analyzing the data. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0031] like Figure 2 As shown, Figure 2 A flowchart of a multi-device collaborative control method based on user status provided by an embodiment of the present invention. Taking the multi-device collaborative control method based on user status as an example, a multi-device collaborative control method based on user status includes the following steps:
[0032] Step S202: monitoring the user's sleeping state.
[0033] In this embodiment, by monitoring the user's sleep state, data support is provided for subsequent sleep stage determination, enabling accurate perception of the user's sleep behavior and laying the foundation for personalized sleep environment adjustment across multiple devices. Compared to traditional models that do not monitor sleep state, this can more accurately grasp changes in the user's sleep process, avoid blind device adjustments, and improve the targeted nature of device adjustments. For example, by monitoring the frequency and amplitude of body movements, the depth of the user's sleep can be determined, providing a strong basis for subsequent sleep stage determination.
[0034] Step S204 : determining the sleep stage of the user based on the sleep state, and collaboratively controlling each device according to a control strategy matching the sleep stage.
[0035] In some embodiments, by further determining the user's sleep stage based on the user's sleep state, the user's sleep process is refined, providing a clear basis for the coordinated control of multiple devices. Users have different needs for the environment in different sleep stages. Accurately dividing the sleep stages can make the adjustment of device operating parameters more in line with the user's actual needs, which is conducive to improving the comfort of the sleeping environment. For example, in the deep sleep stage, the user is more sensitive to noise. In this regard, the operating mode of each device in the deep sleep stage can be switched to silent mode; in the waking stage, the parameters of each device can be gradually adjusted to reduce the discomfort of getting up and avoid disturbing the user's sleep.
[0036] In some embodiments, the multiple devices may include household appliances such as air conditioners, fresh air fans, floor heaters, and water heaters. The operating modes or parameters of these devices are dynamically adjusted based on the user's sleep stages to adapt to the user's sleep cycle and provide the user with an optimal sleeping environment.
[0037] In this embodiment, by monitoring the user's sleep state and determining the sleep stage according to the user's sleep state, the user's current sleep stage can be accurately identified, so as to facilitate targeted device control for different sleep stages, avoiding the problems of poor matching and low adaptability caused by controlling different sleep stages based on a unified control strategy, so that the operating state of each device is highly adapted to the changes in the sleep stage, which helps to improve the user's sleep quality, and realizes personalized and precise adjustment of the operating parameters of each device to adapt to the user's sleep stage, and improves the adaptability of the device based on stable and efficient device collaborative control; and after monitoring the user entering the sleep state, the device is coordinated and operated to avoid starting the device too early or too late, which helps to save energy.
[0038] In an optional embodiment, the above step S202 specifically includes:
[0039] S2021, detecting sleep data of the user, where the sleep data includes the user's bed position and / or micro-movement frequency;
[0040] S2022, determining the user's sleeping state based on the bed position and / or the micro-motion frequency;
[0041] S2023: When the bed position satisfies a preset bed position condition and / or the micro-motion frequency satisfies a preset micro-motion frequency condition, it is determined that the user enters a sleeping state.
[0042] In some embodiments, sleep data can be collected contactlessly using millimeter-wave radar or sensors (such as pressure mattresses), preventing wearable devices from interfering with sleep and enhancing the naturalness of the data. The millimeter-wave radar transmits signals in the 76-81 GHz frequency band. By receiving the time difference, Doppler shift, and phase difference of the reflected signals, it constructs a three-dimensional point cloud map of the bed surface area, tracking the three-dimensional coordinates of the person in bed in real time. The z-axis height can be used to distinguish between in-bed and out-of-bed users. When z is approximately equal to the mattress height, the user is considered in-bed; when z is greater than a preset threshold, the user has left the bed.
[0043] Millimeter-wave radar can capture millimeter-level micro-movements. Using short-time Fourier transforms or wavelet transforms, two types of micro-movement signals can be separated from radar echoes: respiratory and limb movements. Respiratory movements represent the periodic rise and fall of the chest, with a frequency of 0.15-0.3Hz, corresponding to an adult respiratory rate of 9-18 breaths per minute, and a signal amplitude of approximately 2-5mm. Limb movements, which represent turning over and twitching, have a frequency of 0.05-1Hz and an amplitude greater than 5mm, forming a two-dimensional frequency-amplitude feature space with the respiratory signal. By counting the number of micro-movements with an amplitude greater than 5mm per minute (the limb movement frequency) and the cyclic stability of the respiratory signal (i.e., frequency fluctuations less than 0.05Hz indicate stable breathing), characteristics of the sleep preparation phase can be identified. For example, a limb movement frequency greater than 10 times / minute and a respiratory rate fluctuation greater than 0.1Hz indicate the user is in the sleep preparation phase. For example, a limb movement frequency less than 3 times / minute and a stable respiratory rate of 0.2±0.03Hz for more than 15 minutes indicate the user is asleep.
[0044] As you can understand, compared to traditional pressure sensors that only detect whether the user is in bed, millimeter-wave radar can distinguish between users who are in bed without sleep intention and those who are intending to sleep, thus avoiding premature activation of the device's operating mode. Furthermore, millimeter-wave radar eliminates the need for wearable devices or pressure mats, making it suitable for users of all ages and improving user comfort. It also supports real-time sleep intention response, allowing the air conditioner to quickly activate sleep mode based on sleep intention.
[0045] In this embodiment, by detecting the user's bed position and / or the user's micro-movement frequency in real time, the key nodes of the user from 'preparing to lie in bed' to 'falling asleep' can be accurately identified, and then the user's sleeping state can be accurately judged, thereby providing real-time and reliable trigger conditions for subsequent collaborative control of multiple devices.
[0046] In an optional embodiment, the above step S204 specifically includes:
[0047] S2041, calculating the user's body movement index and monitoring the user's breathing rate based on the user's sleep state;
[0048] S2042: Determine the sleep stage of the user based on the body movement index and the respiratory frequency, and collaboratively control each device according to a control strategy that matches the sleep stage of the user.
[0049] Furthermore, the calculation formula of the above-mentioned body movement index is as follows (1):
[0050]
[0051] Where A represents the body motion index; di represents the human body displacement, that is, the distance the user moves per second in bed, such as turning around; and n represents the total number of displacement detections.
[0052] In some examples, the human body displacement may be detected once per second. If the human body displacement is greater than 0.1 m, a body movement is recorded. After n detections, the percentage of body movements is calculated to obtain a body movement index.
[0053] It should be noted that the total number of displacement detections can be flexibly set based on sleep cycles, and the set value can also be dynamically adjusted based on age or body movement frequency. For example, according to the sleep cycle setting, the sleep cycles of different age groups vary. For example, the sleep cycle of newborns is about 45-50 minutes, that of adults is about 90-110 minutes, and that of the elderly is even shorter. Therefore, the total number of displacement detections can be set based on the sleep cycle to ensure that the body movement index reflects the body movement within a complete sleep stage, thereby more accurately judging the sleep stage.
[0054] In this embodiment, the value of n can be flexibly increased or decreased based on the body movement frequency characteristics of different age groups or users with different physical signs to ensure that the calculation results of the body movement index are consistent with the user's sleep characteristics and body movement patterns. For example, for user groups with frequent body movements, the value of n can be appropriately increased, and the detection time can be increased to ensure that sufficient body movement data is obtained in a shorter period of time to accurately reflect the user's body movement situation; for user groups with low body movement frequency, the value of n can be appropriately reduced, and the detection time can be reduced to avoid the accuracy of the body movement index being affected by excessive invalid detection data. For example, for user groups aged 5-12, n can be set to the number of detections every 5 minutes, and for user groups aged 60 and above, n can be set to the number of detections every 15 minutes.
[0055] It is understandable that body motion index and respiratory rate are important physiological indicators that reflect the human body's sleep state. By calculating the body motion index and monitoring the respiratory rate, the intensity and frequency of physical activity during sleep can be quantified, and then a direct physical signal for judging the depth of the user's sleep can be obtained, providing basic physical characteristics for the accurate division of sleep stages; combining the body motion index with the respiratory rate to judge the sleep stage can more accurately judge the user's sleep stage, provide a basis for the subsequent coordinated control of multiple devices, and then control multiple devices in a targeted manner to meet the user's different needs for the environment in different sleep stages and improve sleep quality.
[0056] In this embodiment, by calculating the body movement index and judging the sleep stage, the operating parameters of each device can be accurately adjusted according to the user's real-time sleep status, fully considering the differences in the requirements for sleep environment parameters in different sleep stages, and solving the problem that traditional static strategies cannot adapt to the dynamic needs of the human body's sleep stages. It meets the personalized needs of different users in different sleep stages and greatly improves the comfort of the user's sleeping environment.
[0057] In an optional embodiment, the above step S2042 specifically includes:
[0058] When the body movement index is greater than a first body movement threshold and the body movement index remains unchanged within a first preset time period, determining that the user is in a sleep preparation stage;
[0059] The devices are collaboratively controlled according to a first control strategy that matches the sleep preparation stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the sleep preparation stage.
[0060] In the embodiment of the present application, the first control strategy aims to construct a transitional environment suitable for pre-sleep activities in the sleep preparation stage, and balance the dynamic needs of the human body with the energy efficiency of the equipment. The first control strategy is described in detail below.
[0061] In some embodiments, when the user is in the stage of preparing to fall asleep, multiple devices are coordinated and controlled according to the first control strategy, including: adjusting the set temperature, wind speed, air outlet angle and working status of the air conditioner according to the current temperature control mode of the air conditioner, adjusting the operating mode and working time of the water heater, and controlling the start and stop of the fresh air fan according to the air index.
[0062] In some embodiments, the first motion threshold of the motion index can be dynamically adjusted based on the specific application scenario and the user's sleep habits. For example, if the user has not yet fully fallen asleep and is frequently moving, the first motion threshold corresponding to the motion index may be set to 5%. For another example, if the user is prone to restless sleep, the first motion threshold may be adaptively increased to 8%.
[0063] In some examples, the first preset time period is the duration of body movement. For example, if the body movement index of the user in the current sleep stage remains unchanged for 5 minutes, it means that the user has not moved during these 5 minutes. When the body movement index is greater than the first body movement threshold and the body movement index remains unchanged within the first preset time period, it can be determined that the user is in the stage of preparing to fall asleep. For example, the first body movement threshold corresponding to the body movement index is 5%. When the detected body movement index is 10%, it is determined that the user is in the stage of preparing to fall asleep. Among them, the first preset time period can be personalized according to the user's sleeping habits to ensure the accuracy of the subsequent determination of the user's current sleep stage.
[0064] Specifically, when the user is preparing to sleep, they can adjust the air conditioner's set temperature, wind speed, air outlet angle, and floor heating status based on the air conditioner's current temperature control mode. They can also start / pause the fresh air blower based on the current air quality index (AQI) and switch the water heater's operating mode and adjust its operating time. AQI indexes include, but are not limited to, ambient temperature, humidity, PM2.5 levels, or CO2 concentrations.
[0065] It is understandable that during the sleep preparation phase, the human body may still be in the process of relaxation, with more physical activity and a higher body motion index. Furthermore, when the body motion index remains constant over a period of time, it indicates that this body motion state is persistent and not a fleeting, accidental movement. Therefore, determining that the user is in the sleep preparation phase allows for multiple device adjustments to be made using the first control strategy, thereby providing the user with an environment suitable for early or light sleep.
[0066] In some examples, such as Figure 3 and Figure 4As shown, when it is detected that the user goes to bed, the air conditioner starts the sleep mode. If the body movement index is greater than 5% and lasts for 5 minutes, it means that the user is in the stage of preparing to fall asleep, and the operating parameters of the air conditioner, fresh air fan, floor heating and water heater are coordinated and adjusted. Among them, air conditioner: if the current temperature control mode is heating mode, the set temperature is kept unchanged, the wind speed is adjusted to 40%, and the air outlet angle remains unchanged; if the current temperature control mode is cooling mode, the set temperature is kept unchanged, the wind speed is adjusted to 40%, and the air outlet angle is upward 30° to avoid direct blowing. If the CO2 concentration is greater than 1000ppm or PM2.5 is greater than 15μg / m 3 , the fresh air fan starts. If the air conditioner is currently in cooling mode, the floor heating will not be turned on. If the air conditioner is currently in heating mode, the water temperature in the bedroom circuit of the floor heating will be raised to 45°C, while the other areas will be maintained at 35°C. Meanwhile, during the sleep preparation phase, the water heater switches to insulation mode, and the heating interval is extended to 60 minutes.
[0067] It should be noted that the numerical values of the parameter adjustments of the above-mentioned devices can be adaptively adjusted within the allowable adjustment range and are not uniquely limited. For example, the allowable adjustment range of the air-conditioning wind speed is ±3%. When the wind speed is adjusted to 40%, the adjusted wind speed is 40% ± 3%, which is within the scope of protection of this application.
[0068] In this embodiment, when the body movement index is greater than the first body movement threshold and remains unchanged within a first preset time period, it is determined that the user is in the stage of preparing to fall asleep. The parameters of the air conditioning and floor heating can be adjusted according to the user's requirements for environmental comfort, a comfortable temperature environment can be provided, the operating mode and duration of the water heater can be controlled, energy consumption can be saved, and the start and stop of the fresh air fan can be controlled according to the air index to ensure that the indoor air index is in a healthy state, thereby providing the user with a comfortable sleeping environment.
[0069] In some embodiments, the above-mentioned adjustment of the air conditioner's set temperature, wind speed, air outlet angle and working status of the floor heating according to the air conditioner's current temperature control mode specifically includes: when the air conditioner's current temperature control mode is cooling mode, the air conditioner's current set temperature remains unchanged, the wind speed is increased to a preset first wind speed value, the air outlet angle is adjusted to a preset first air outlet angle, and the floor heating is controlled to be in an off state; when the air conditioner's current temperature control mode is heating mode, the air conditioner's current set temperature and air outlet angle remain unchanged, the wind speed is increased to a preset first wind speed value, and the floor heating is controlled to be turned on, the loop water temperature of the user's use area is increased to a preset first loop temperature, and the loop water temperature of the user's unused area is adjusted to a second loop temperature, and the second loop temperature is lower than the first loop temperature.
[0070] In this embodiment, the user's body movement index is high and relatively stable during the sleep preparation phase, indicating a light sleep state and greater sensitivity to environmental changes. By adjusting the air conditioner's first wind speed and air outlet angle, as well as the floor heating parameters, a suitable sleeping environment is ensured. This avoids energy waste caused by excessive wind speeds while ensuring proper indoor air circulation, reducing air conditioning energy consumption while still maintaining comfort levels.
[0071] In some examples, during the sleep preparation phase, if the air conditioner is currently in cooling mode, the floor heating is turned off to prioritize the user's cooling needs. The air conditioner's set temperature is maintained, and the wind speed is increased to a preset first speed value (for example, 40%) to quickly achieve cooling needs. At the same time, the air outlet angle is adjusted to a preset first angle to avoid direct airflow to the user, for example, by adjusting the air outlet angle upward by 30°.
[0072] In other examples, during the sleep preparation stage, when the air conditioner is currently in heating mode, it means that the user has a heating demand. Keeping the air conditioner's set temperature and air outlet angle unchanged can provide the user with the required temperature more quickly. At the same time, the wind speed is increased to the preset first wind speed value to quickly meet the heating demand. In order to quickly achieve heating, the floor heating is coordinated and turned on to assist heating. The above-mentioned user-used area can refer to the user's bedroom, and the unused area can refer to other areas other than the bedroom, such as the living room, kitchen, second bedroom, etc. After the floor heating is turned on, the loop water temperature in the user-used area is raised to the preset first loop temperature, and the loop water temperature in the user-unused area is adjusted to the second loop temperature, which is lower than the first loop temperature. For example, the bedroom loop water temperature is raised to 45°C, and other areas are maintained at 35°C. Among them, during the sleep preparation stage, because the user has just fallen asleep, he may need to go to the bathroom or drink water in the bedroom, etc., so the second loop temperature is lower than the first loop temperature, instead of directly not heating the user's non-used area, to avoid a sudden drop in temperature after the user leaves the room. By controlling the water temperature differently in different areas, unnecessary energy consumption for floor heating in the whole house is avoided, heat is precisely concentrated in the user's area, and energy efficiency is improved.
[0073] In this embodiment, different parameters are adjusted based on the air conditioner's current cooling or heating mode, achieving a precise match between each device and the current environmental requirements. During cooling, the air conditioner's wind speed and air outlet angle are primarily adjusted, while during heating, both the air conditioner's wind speed and floor heating temperature are considered simultaneously, resulting in more coordinated and efficient temperature regulation for the entire sleeping environment. Furthermore, precise control of the air conditioner's air outlet angle, wind speed, and floor heating temperature ensures a more uniform indoor temperature field, avoiding localized overheating or overcooling, and providing users with a more comfortable sleeping experience.
[0074] In an optional embodiment, the above step S2042 further includes:
[0075] If the body movement index is less than or equal to the second body movement threshold, and the standard deviation of the respiratory frequency is less than a preset frequency standard deviation threshold, the user is determined to be in a light sleep stage, wherein the second body movement threshold is less than the first body movement threshold;
[0076] The devices are collaboratively controlled according to a second control strategy that matches the light sleep stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the light sleep stage.
[0077] In the embodiment of the present application, the second control strategy is intended to reduce environmental stimulation, maintain a stable microenvironment, and assist in the transition from light sleep to deep sleep during the light sleep stage. The second control strategy is described in detail below.
[0078] In some embodiments, when the user is in a light sleep stage, multiple devices are collaboratively controlled according to the second control strategy, including: adjusting the set temperature, wind speed and operating status of the air conditioner according to the current temperature control mode of the air conditioner, and adjusting the wind speed and ventilation time of the fresh air fan.
[0079] In this embodiment, the light sleep stage indicates that the user has fallen asleep, but may experience body movement due to environmental factors. Therefore, the second body movement threshold corresponding to the body movement index is smaller than the first body movement threshold, for example, a value of 2%.
[0080] In this embodiment, the standard deviation of respiratory rate reflects fluctuations in respiratory rate over a period of time. During light sleep, physiological activity is relatively active, and respiratory rate may fluctuate to a certain extent. The standard deviation can quantify the degree of this fluctuation. Reflecting solely on the body movement index may misidentify light sleep with minimal movement as deep sleep. Incorporating the standard deviation of respiratory rate can effectively avoid such misidentifications and improve the accuracy of sleep stage identification.
[0081] Furthermore, the frequency standard deviation threshold can be used to obtain data on respiratory rate changes in normal people of different ages and genders during different sleep stages based on sleep monitoring experiments. For example, studies have found that adults' respiratory rates are generally relatively stable during deep sleep, with the standard deviation generally within a certain range, such as between 0.5 and 1.0 breaths per minute. This can be used as a reference for presetting the frequency standard deviation threshold for light sleep.
[0082] In some examples, such as Figure 3 and Figure 4As shown, when the user is in the light sleep stage, multiple devices can be coordinated and controlled according to the second control strategy, including: if the body movement index is less than or equal to 2% and the standard deviation of the breathing rate is less than 0.5, it means that the user is in the light sleep stage, then the set temperature of the air conditioner is increased by 0.5℃ and the wind speed is adjusted to 20%. If it was originally in heating mode, it is switched to floor heating linkage mode. When the room temperature is greater than or equal to 23℃, the heating is stopped and the temperature is maintained only by floor heating; at the same time, the wind speed of the fresh air fan is controlled to a low wind speed, and a 5-minute ventilation is started every 30 minutes.
[0083] In this embodiment, when the body motion index drops to the second body motion threshold, it indicates that body activity has significantly decreased; at the same time, when the standard deviation of the respiratory frequency is less than the preset frequency standard deviation threshold, it indicates that the breathing has become stable. By judging whether the body motion index is less than or equal to the second body motion threshold and whether the standard deviation of the respiratory frequency is less than the preset frequency standard deviation threshold, it is helpful to adjust the device in a targeted manner, while ensuring the user's sleeping environment is comfortable, avoiding excessive noise or unnecessary energy consumption during device operation, and creating a quiet and comfortable deep sleep environment for the user.
[0084] In an optional embodiment, the above step S2042 further includes:
[0085] If the body movement index is less than or equal to the third body movement threshold, the body movement index remains unchanged within the second preset time period, and the respiratory rate meets the preset minimum frequency threshold range, the user is determined to be in a deep sleep stage, wherein the third body movement threshold is less than the second body movement threshold;
[0086] The devices are collaboratively controlled according to a third control strategy that matches the deep sleep stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the deep sleep stage.
[0087] In the embodiment of the present application, the third control strategy aims to minimize equipment intervention in the deep sleep stage, accurately maintain the constant temperature and clean environment required for deep sleep, and maximize energy saving effects. The third control strategy is described in detail below.
[0088] In some embodiments, when the user is in a deep sleep stage, multiple devices are coordinated and controlled according to the third control strategy, including: adjusting the set temperature and wind speed of the air conditioner according to the current temperature control mode of the air conditioner, adjusting the temperature of different areas of floor heating supply, adjusting the operation mode and working time of the water heater, and controlling the start and stop of the fresh air fan according to the air index.
[0089] In this embodiment, the body movement threshold of the user in the deep sleep stage should be lower than the second body movement threshold, for example, 0.5%. The minimum threshold range of the respiratory rate is set based on the user's historical sleep data. The user's respiratory rate is detected during each sleep stage every day, and the user's minimum respiratory rate during each sleep period is recorded. The average of these data is calculated to obtain the average minimum respiratory rate. For example, if the average minimum respiratory rate is f, then a respiratory rate lower than f + (f * 10%) is considered to be within the minimum threshold range.
[0090] Furthermore, the second preset time period is adjusted according to the specific usage scenario and needs. When the light sleep stage lasts for a relatively short time each time, and the deep sleep stage lasts for a relatively long time, the second preset time period can be set longer than the first preset time period. Then, when setting the preset time period, it is possible to accurately judge whether the user is in a stable sleep stage.
[0091] In some examples, such as Figure 3 and Figure 4 As shown, when the user is in deep sleep, multiple devices can be coordinated and controlled according to the third control strategy, including: if the body movement index is less than or equal to 0.5% and there has been no body movement for 30 consecutive minutes, further determine whether the breathing rate has dropped to the minimum threshold range. If so, it indicates that the user is in deep sleep. If the breathing rate is not within the minimum threshold range, it indicates that the user is still in light sleep. If the user is in deep sleep, the air conditioner set temperature is further increased by 0.5℃, entering silent mode, the fan speed is adjusted to 15%, the bedroom circuit water temperature for controlling floor heating is lowered to 40℃, and heating in other areas is turned off; when the CO2 concentration exceeds 800ppm, the fresh air fan is triggered to exchange air, otherwise the fresh air fan is turned off; at the same time, the water heater is controlled to enter a deep energy-saving state, and the heating interval is extended to 120 minutes.
[0092] In this embodiment, during the deep sleep stage, the body movement index further decreases and remains stable, while the respiratory rate is in a low and stable range. At this time, the stability of the ambient temperature is required to be higher. By accurately judging this stage and fine-tuning equipment such as air conditioning and floor heating, the body's sensitive demand for temperature during deep sleep can be met, ensuring that users obtain high-quality deep sleep.
[0093] In an optional embodiment, the above step S2042 further includes:
[0094] If the body movement index is greater than the fourth body movement threshold and the fluctuation amount of the respiratory frequency is greater than the preset frequency fluctuation amount threshold, it is determined that the user is in the rapid eye movement stage or the awakening stage, wherein the fourth body movement threshold is greater than the second body movement threshold;
[0095] The devices are collaboratively controlled according to a fourth control strategy that matches the rapid eye movement stage or the awakening stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the rapid eye movement stage or the awakening stage.
[0096] In the embodiment of the present application, the fourth control strategy aims to naturally wake up the user and reduce discomfort when getting up, thereby improving the comfort of waking up, through gradual environmental adjustment during the rapid eye movement stage and the awakening stage. The fourth control strategy is described in detail below.
[0097] In some embodiments, when the user is in the rapid eye movement stage or the awakening stage, multiple devices are coordinated and controlled according to the fourth control strategy, including: adjusting the temperature control mode and set temperature of the air conditioner, the temperature of different areas of floor heating supply, and the working mode, wind speed and ventilation time of the fresh air fan.
[0098] The user's body movement in the rapid eye movement stage or the awakening stage will increase accordingly compared to the deep sleep stage, so the corresponding fourth body movement threshold value may be higher than the second body movement threshold value, for example, 3%.
[0099] In some embodiments, the frequency fluctuation threshold can be set according to the characteristics of the user's sleep cycle. For example, during the cycle from light sleep to deep sleep and then to light sleep, the respiratory frequency will fluctuate to a certain extent, especially in the rapid eye movement stage or the awakening stage. Since the human body may be about to wake up or in a light sleep and easy to wake up state, the respiratory frequency fluctuations are relatively large. Therefore, the frequency fluctuation threshold can be set to a higher value accordingly, such as 2-3 times / minute.
[0100] Furthermore, the respiratory rate and fluctuations of different individuals vary, and the threshold can be adjusted individually based on factors such as the user's age and health status. For example, the respiratory rate of athletes may be relatively low and more stable, while the respiratory rate of the elderly or people with respiratory diseases may be high and fluctuate greatly. For the elderly, the frequency fluctuation threshold can be appropriately lowered, such as setting it to 0.8-1.2 times / minute, to more accurately determine their sleep stage.
[0101] In some examples, such as Figure 3 and Figure 4As shown, when the user is in the rapid eye movement stage or the awakening stage, multiple devices can be coordinated and controlled according to the fourth control strategy, including: if the body movement index is greater than 3% and the respiratory rate increase rate is greater than 5% / minute, it means that the user is in the rapid eye movement stage or the awakening stage, that is, the rapid eye movement period or the awakening period, then the "gradual awakening" mode of the air conditioner is started, and the temperature is increased by 0.5℃ every 10 minutes, with the final target of 26℃; or / and, the non-bedroom area of the floor heating is preheated to 22℃ to avoid excessive temperature difference when waking up; or / and, the fresh air fan is controlled to switch to morning mode and turn on low wind speed ventilation for 30 minutes.
[0102] In this embodiment, during the REM or awakening phase, the human body may be in a state of waking or light sleep, prone to waking easily. Physical activity increases, and breathing becomes less steady, exhibiting noticeable fluctuations. By comprehensively considering both the body movement index and respiratory rate fluctuations, the physiological changes characteristic of the human body during this particular sleep phase can be more comprehensively and accurately captured, avoiding potential misjudgments based on a single indicator, thereby improving the accuracy of the REM or awakening phase. By comprehensively adjusting the parameters of the air conditioning, floor heating, and fresh air fan, the indoor environment can be adjusted in a timely manner based on changes in the user's physical condition, providing a comfortable waking environment for the user and thus enhancing the user experience.
[0103] In an optional embodiment, after the above step S204, the following further steps are further included:
[0104] Determine whether each device is operating based on the control parameters of the control strategy based on the actual operating parameters of each device;
[0105] If each device does not operate based on the control parameters of the control strategy, it is determined that the device response is abnormal, an error prompt is generated for reporting, and the control parameters are recalibrated;
[0106] Re-control the operation of each device according to the calibrated control parameters.
[0107] In some embodiments, by determining whether each device is operating according to the control parameters of the control strategy based on its actual operating parameters, the coordinated operation of multiple devices can be optimized. For example, if it is detected that the indoor temperature is too high due to floor heating during a sleep phase, while the air conditioner is cooling, the operation of the two can be coordinated to avoid energy waste and achieve energy-saving management. By analyzing environmental parameters, the operating time and intensity of each device can also be reasonably adjusted to minimize energy consumption and improve energy efficiency while meeting user comfort needs.
[0108] Furthermore, after adjusting the operating parameters of each device according to the sleep stage, by monitoring the actual operating parameters of the device, it can be determined whether the device is operating in accordance with the control strategy. Figure 4As shown in the example, if the air conditioner's fan speed is set to 15% during deep sleep, monitoring the device's actual operating status can confirm whether the fan speed reaches this set value. If it does not, the device is considered to be responding abnormally, generating an error message for reporting. This also facilitates timely adjustment of device operating parameters to ensure stable operation.
[0109] In some embodiments, to determine whether the current operating parameters of each device are operating in accordance with the control parameters of the control strategy, various sensors can be used to continuously collect the actual parameters of the device during operation, such as temperature and humidity sensors, PM2.5 / CO2 concentration sensors, wind speed sensors, angle sensors, etc. The collected real-time operating parameters are compared with the control parameters that match the corresponding sleep stage. The control parameters are as follows: Figure 4 Each device shown corresponds to the adjustment parameters of each stage. If the air conditioner, fresh air fan, floor heating or water heater does not operate according to the adjustment parameters, it is determined that the device response is abnormal.
[0110] In some embodiments, once an abnormal device response is detected, the device immediately sends an error prompt to the device, and the device also sends an error instruction to the device and promptly records the abnormal situation, including information such as the abnormal time, abnormal device, and abnormal parameters; and then recalculates the operating parameters according to the calibration mechanism. The calibration mechanism can be based on the historical operating data of the device, the normal operating data of similar devices, or the system's default optimization algorithm. For example, if the air conditioner wind speed is abnormal, the system can refer to the wind speed data during normal operation in the past, combined with the actual environmental parameters of the current room, such as room size, number of people, etc., to recalculate the appropriate wind speed and send the calibrated parameters to the device.
[0111] Furthermore, upon receiving the calibrated operating parameters, each device immediately adjusts its operating state to execute tasks according to the new parameters. The device's performance is then continuously monitored to ensure it is operating accurately according to the calibrated parameters. If a device exhibits an anomaly again, the above process of error detection, calibration, and re-control is repeated until the device stabilizes and operates normally.
[0112] In this embodiment, in a complex system with multiple devices working together, devices may be subject to interference from various factors, causing operating parameters to deviate from set values. By monitoring the actual operating parameters of each device and determining whether each device is operating according to the current operating parameters, device anomalies can be promptly detected, providing real-time feedback and adjustment information for the device. Through recalibration and control, the device can be restored to normal operating status, achieving more reasonable adjustment of the operating time and intensity of each device, ensuring the stable operation of the entire sleep control system, and minimizing energy consumption and improving energy utilization efficiency while meeting user comfort needs.
[0113] According to another aspect of the embodiment of the present application, Figure 5As shown, corresponding to the multi-device collaborative control method based on user status in the above embodiment, this embodiment provides a multi-device collaborative control apparatus based on user status, and the system includes:
[0114] Sleep monitoring module 501, used to monitor the user's sleep state;
[0115] The device collaborative control module 503 is configured to determine the sleep stage of the user based on the sleep state, and collaboratively control each device according to a control strategy that matches the sleep stage.
[0116] It should be noted that, in this embodiment, the sleep monitoring module 501 can be used to execute step S202 in the embodiment of the present application, and the device collaborative control module 503 in this embodiment can be used to execute step S204 in the embodiment of the present application.
[0117] Optionally, the sleep monitoring module 501 is specifically configured to: detect the user's sleep data, including the user's bed position and / or micro-motion frequency; determine the user's sleep state based on the bed position and / or micro-motion frequency; and determine that the user has entered a sleep state if the bed position satisfies a preset bed position condition and / or the micro-motion frequency satisfies a preset micro-motion frequency condition.
[0118] Optionally, the device collaborative control module 503 specifically includes: a calculation submodule, used to calculate the user's body movement index and monitor the user's breathing frequency based on the user's sleep state; a control submodule, used to determine the user's sleep stage based on the body movement index and breathing frequency, and collaboratively control each device according to a control strategy that matches the user's sleep stage.
[0119] Optionally, the control submodule specifically includes: a first judgment unit, used to determine that the user is in the sleep preparation stage when the body movement index is greater than a first body movement threshold and the body movement index remains unchanged within a first preset time period; a first control unit, used to collaboratively control each device according to a first control strategy matching the sleep preparation stage, so that the user's environment meets the environmental conditions required for the user to be in the sleep preparation stage.
[0120] Optionally, the control submodule further includes: a second judgment unit, which determines that the user is in a light sleep stage when the body movement index is less than or equal to a second body movement threshold and the standard deviation of the respiratory frequency is less than a preset frequency standard deviation threshold, wherein the second body movement threshold is less than the first body movement threshold; and a second control unit, which is used to collaboratively control each device according to a second control strategy matching the light sleep stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the light sleep stage.
[0121] Optionally, the control submodule further includes: a third judgment unit, used to determine that the user is in a deep sleep stage when the body movement index is less than or equal to a third body movement threshold, the body movement index remains unchanged within a second preset time period, and the breathing frequency meets a preset minimum frequency threshold range, wherein the third body movement threshold is less than the second body movement threshold; a third control unit, used to collaboratively control each device according to a third control strategy matching the deep sleep stage, so that the user's environment meets the environmental conditions required for the user to be in the deep sleep stage.
[0122] Optionally, the control submodule further includes: a fourth judgment unit, used to determine that the user is in the rapid eye movement stage or the awakening stage when the body movement index is greater than a fourth body movement threshold and the fluctuation of the respiratory frequency is greater than a preset frequency fluctuation threshold, wherein the fourth body movement threshold is greater than the second body movement threshold; a fourth control unit, used to coordinately control each device according to a fourth control strategy matching the rapid eye movement stage or the awakening stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the rapid eye movement stage or the awakening stage.
[0123] Optionally, the device also includes: an operation monitoring module, which is used to determine whether each device is operating based on the control parameters of the control strategy based on the actual operating parameters of each device; an operation status determination module, which is used to determine that the device response is abnormal if each device is not operating based on the control parameters of the control strategy, generate an error prompt for reporting and recalibrate the control parameters; and a calibration control module, which is used to re-control the operation of each device according to the calibrated control parameters.
[0124] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. Figure 1 In the hardware environment shown, it can be implemented by software or by hardware.
[0125] It should be noted here that the suffixes such as module, component, unit, sub-module, and sub-unit used to represent elements described in the above device are only for the convenience of description of this application and have no specific meaning in themselves. Therefore, they can be used in combination.
[0126] Optionally, the specific examples in this embodiment can refer to the examples described in the above embodiments, and this embodiment will not be repeated here. In addition, when the embodiment of this application is specifically implemented, the above embodiments can be referred to, and corresponding technical effects can be achieved.
[0127] According to another aspect of the embodiment of the present application, the present application provides an air conditioner, such as Figure 6As shown, it includes a memory 601, a processor 603, a communication interface 605 and a communication bus 607. The memory 601 stores a computer program that can be run on the processor 603. The memory 601 and the processor 603 communicate through the communication interface 605 and the communication bus 607. When the processor 603 executes the computer program, the steps of the above-mentioned multi-device collaborative control method based on user status are implemented.
[0128] Optionally, the air conditioner may be a central air conditioner, which is connected to household smart devices such as floor heating, fresh air blower, and water heater based on the communication interface 605 and the communication bus 607 to achieve multi-device collaborative control.
[0129] The memory and processor in the air conditioner communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, and the like.
[0130] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0131] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0132] According to another aspect of the embodiments of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of the multi-device collaborative control method based on user status in any of the above embodiments.
[0133] Optionally, in an embodiment of the present application, a computer-readable medium is configured to store program code for the processor to execute the steps of the multi-device collaborative control method based on user status described in the above embodiment.
[0134] Optionally, the specific examples in this embodiment can refer to the examples described in the above embodiments, and this embodiment will not be repeated here. In addition, when the embodiment of this application is specifically implemented, the above embodiments can be referred to, and corresponding technical effects can be achieved.
[0135] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
[0136] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0137] 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 depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0138] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0139] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separate, and the components displayed 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 according to actual needs to achieve the purpose of the solution of this embodiment. In addition, the functional units in the various embodiments of the present application 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.
[0141] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0142] It should be noted that, in this document, relational terms such as first, second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms include, comprise, or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the phrase "including a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0143] The foregoing is merely a list of specific embodiments of the present application, intended to enable those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the broadest scope consistent with the principles and novel features of the present application.
Claims
1. A multi-device collaborative control method based on user status, characterized in that: The method comprises: Monitor the user's sleep status; The sleep stage of the user is determined based on the sleep state, and each device is collaboratively controlled according to a control strategy matching the sleep stage.
2. The multi-device collaborative control method based on user status according to claim 1, characterized in that: The monitoring of the user's sleep state includes: detecting sleep data of a user, wherein the sleep data includes a bed position and / or micro-movement frequency of the user; determining the user's sleeping state according to the bed position and / or the micro-motion frequency; When the bed position satisfies a preset bed position condition and / or the micro-motion frequency satisfies a preset micro-motion frequency condition, it is determined that the user enters a sleeping state.
3. The multi-device collaborative control method based on user status according to claim 1, characterized in that: The determining the sleep stage of the user based on the sleep state, and collaboratively controlling each device according to a control strategy matching the sleep stage, includes: Based on the user's sleep state, calculating the user's body movement index and monitoring the user's breathing rate; The sleep stage of the user is determined based on the body movement index and the respiratory frequency, and each device is collaboratively controlled according to a control strategy that matches the sleep stage of the user.
4. The multi-device collaborative control method based on user status according to claim 3, characterized in that: The determining the sleep stage of the user based on the body movement index and the respiratory rate, and collaboratively controlling each device according to a control strategy matching the sleep stage of the user, includes: When the body movement index is greater than a first body movement threshold and the body movement index remains unchanged within a first preset time period, determining that the user is in a sleep preparation stage; The devices are collaboratively controlled according to a first control strategy that matches the sleep preparation stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the sleep preparation stage.
5. The multi-device collaborative control method based on user status according to claim 4, characterized in that: The determining the sleep stage of the user based on the body movement index and the respiratory rate, and collaboratively controlling each device according to a control strategy matching the sleep stage of the user, further includes: When the body movement index is less than or equal to a second body movement threshold and the standard deviation of the respiratory frequency is less than a preset frequency standard deviation threshold, determining that the user is in a light sleep stage, wherein the second body movement threshold is less than the first body movement threshold; The devices are collaboratively controlled according to a second control strategy that matches the light sleep stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the light sleep stage.
6. The multi-device collaborative control method based on user status according to claim 5, characterized in that: The determining the sleep stage of the user based on the body movement index and the respiratory rate, and collaboratively controlling each device according to a control strategy matching the sleep stage of the user, further includes: If the body movement index is less than or equal to a third body movement threshold, the body movement index remains unchanged within a second preset time period, and the respiratory rate meets a preset minimum frequency threshold range, determining that the user is in a deep sleep stage, wherein the third body movement threshold is less than the second body movement threshold; The devices are collaboratively controlled according to a third control strategy that matches the deep sleep stage, so that the environment where the user is located meets the environmental conditions required for the user to be in the deep sleep stage.
7. The multi-device collaborative control method based on user status according to claim 5, characterized in that: The determining the sleep stage of the user based on the body movement index and the respiratory rate, and collaboratively controlling each device according to a control strategy matching the sleep stage of the user, further includes: If the body movement index is greater than a fourth body movement threshold and the fluctuation amount of the respiratory frequency is greater than a preset frequency fluctuation amount threshold, determining that the user is in a rapid eye movement stage or an awakening stage, wherein the fourth body movement threshold is greater than the second body movement threshold; The devices are collaboratively controlled according to a fourth control strategy that matches the rapid eye movement stage or the awakening stage, so that the environment in which the user is located meets the environmental conditions required for the user to be in the rapid eye movement stage or the awakening stage.
8. The multi-device collaborative control method based on user status according to any one of claims 1 to 7, characterized in that: After determining the sleep stage of the user based on the sleep state and collaboratively controlling each device according to a control strategy matching the sleep stage, the method further includes: Determining whether each device is operating based on the control parameters of the control strategy based on the actual operating parameters of each device; If each device does not operate based on the control parameters of the control strategy, it is determined that the device responds abnormally, an error prompt is generated for reporting, and the control parameters are recalibrated; The operation of each device is re-controlled according to the calibrated control parameters.
9. A multi-device collaborative control device based on user status, characterized in that: The device comprises: Sleep monitoring module, used to monitor the user's sleep status; The device collaborative control module is used to determine the sleep stage of the user based on the sleep state, and collaboratively control each device according to a control strategy matching the sleep stage.
10. An air conditioner comprising a memory, a processor, a communication interface, and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate via the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the multi-device collaborative control method based on user status as described in any one of claims 1 to 8 is implemented.
11. A computer-readable medium having a non-volatile program code executable by a processor, characterized in that The program code enables the processor to execute the multi-device collaborative control method based on user status as described in any one of claims 1 to 8.
Citation Information
Cited By
Sleep monitoring method and audio system
CN121445354A
Sleep monitoring methods and audio systems
CN121445354B
Sleep-aiding equipment linkage remote control method and device based on Internet of Things
CN121541486A
Sleep-aiding device linkage remote control method and device based on internet of things
CN121541486B
Sleep regulation and control method and device based on non-invasive brain-computer interface
CN121621951A