Sleep control method, device, air cleaning equipment and storage medium
Through dynamic speed adjustment of the air cleaning equipment and monitoring device, the problems of poor purification effect and high noise in the air purifier's sleep mode are solved, dynamic adaptation of equipment operation and user's sleep state is achieved, and sleep control efficiency and user's sleeping effect are improved.
Patent Information
- Application Number
- CN202510963452.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-07-14
AI Technical Summary
Existing air purifiers have poor purification effects and loud noise in sleep mode, affecting users' sleep. It is difficult to balance the operating sound of the equipment and the purification effect.
By communicating with the monitoring device through the air cleaning equipment, the user's motion data is monitored, the motion change trend is analyzed, and the speed rules are dynamically adjusted to achieve dynamic adaptation of the equipment operation and the user's sleep state.
While ensuring the purification effect, it reduces noise interference, helps users fall asleep quickly, meets users' sleep needs and optimizes equipment use.
Smart Images

Figure CN120466810B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a sleep control method, device, air cleaning equipment and storage medium. Background Art
[0002] As air quality deteriorates, harmful components in the air cause more harm to the human body, and people are paying more and more attention to air pollution. The emergence of air cleaning equipment, such as air purifiers, can effectively remove indoor air pollution and improve the air quality of the home environment.
[0003] In practice, air purifiers generate a certain amount of noise during operation. To ensure sleep quality and accommodate users' lifestyles, air purifiers often feature a sleep mode. Research shows that most current air purifiers use a sleep mode that reduces the speed to reduce wind speed and noise. This mode, also known as sleep mode, means that once activated, air purifiers will operate at the lowest speed setting throughout the user's sleep cycle.
[0004] However, the purification effect of an air purifier is usually related to its operating wind speed, that is, the greater the operating wind speed, the better the purification effect. Therefore, the purification effect of the sleep mode after reducing the wind speed is also greatly reduced. Furthermore, according to research data, the impact of air purifiers on user sleep is mainly in the falling asleep stage. Based on the above problems, if the speed of the air purifier gear is increased to improve the operating effect, the operating sound of the air purifier will be amplified, and excessive operating sound will make it difficult for users to fall asleep. Therefore, there is an urgent need for a sleep control solution that can balance the operating sound of the equipment and the purification effect to meet the user's needs for falling asleep and using the equipment. Summary of the Invention
[0005] In view of this, the present invention provides a sleep control method, device, air purification equipment and storage medium to solve the problem that existing equipment cannot effectively control the sleep mode, which not only leads to poor purification effect of the equipment, but also seriously affects the user's sleep and makes it difficult to meet the user's needs for falling asleep and using the equipment.
[0006] In a first aspect, the present invention provides a sleep control method, which is applied to an air cleaning device, wherein the air cleaning device is communicatively connected to a monitoring device, and the monitoring device is used to collect motion data corresponding to a target user of the air cleaning device. The method includes:
[0007] In response to activation of a sleep mode in the air cleaning device, controlling the air cleaning device to operate according to a preset initial sleep rule, wherein the preset initial sleep rule is a cyclic operation mode including a speed adjustment mode; wherein the speed adjustment mode includes operating at a plurality of operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range;
[0008] Obtaining motion data collected by the monitoring device and analyzing the motion data to obtain a current motion change trend, where the current motion change trend indicates how the motion data changes over time; wherein the motion data includes the number of motions, and the current motion change trend includes an increasing trend in the number of motions and a decreasing trend in the number of motions;
[0009] The preset initial sleep rule is adjusted according to the current motion change trend to obtain the target sleep rule, and the air purification device is controlled to switch to the target sleep rule.
[0010] The sleep control method provided by the present invention, after turning on the sleep mode of the air purification device, controls the air purification device to first operate according to the preset initial sleep rules, during the operation of the device, monitors the user's motion data and analyzes the current motion change trend, and adjusts the preset initial sleep rules according to the current motion change trend. It can sense the user's sleep state in real time and dynamically adjust the device operating speed accordingly, while ensuring the air purification effect, avoiding the problem of excessive noise caused by improper speed, and thus solving the contradiction between "weak purification at low speed" and "loud noise at high speed" in the traditional sleep mode, and realizing effective control of the device operation, which not only improves the sleep control efficiency, but also helps the user to fall asleep quickly, greatly meeting the user's needs for falling asleep and using the device.
[0011] In an optional embodiment, obtaining motion data collected by a monitoring device and analyzing the motion data to obtain a current motion change trend includes:
[0012] In response to the communication connection between the air cleaning device and the monitoring device, obtaining the number of actions of the target user corresponding to each monitoring cycle within a first preset time period by the monitoring device;
[0013] Perform linear regression analysis on the number of actions corresponding to each monitoring period to obtain the linear regression equation of the number of actions and monitoring period;
[0014] The current motion change trend is determined based on the coefficient of the linear regression equation; if the slope of the linear regression equation is greater than 0, the current motion change trend is determined to be an increasing trend; if the slope of the linear regression equation is not greater than 0, the current motion change trend is determined to be a decreasing trend.
[0015] The present invention is based on the number of actions in each monitoring cycle within the first preset time, and combines the slope of the linear regression equation to determine the current action change trend in a quantitative analysis method. It can systematically capture the dynamic process of the user from waking up to falling asleep, such as a decrease in actions, or agitation due to discomfort, such as an increase in actions. It can better fit the progressive characteristics of the human body's sleep state, allowing the device to more accurately perceive the user's current sleep state; at the same time, it converts the changes in the user's actions over time into a quantifiable slope indicator, and can also avoid deviations based on single time point data or subjective judgment, further providing an accurate and objective basis for adjusting the sleep rules of air purification equipment.
[0016] In an optional embodiment, adjusting the preset initial sleep rule according to the current movement change trend to obtain the target sleep rule includes:
[0017] If the current motion change trend is an increasing trend, then the running time of each running speed in the preset initial sleep rule is increased, or the speed change rate in the preset initial sleep rule is reduced to obtain the target sleep rule;
[0018] If the current motion change trend is a decreasing trend, the preset initial sleep rule is determined as the target sleep rule.
[0019] The present invention, when the user's current motion change trend is an increasing trend, increases the running time of each running speed to extend the duration of the same speed, thereby reducing the speed switching frequency, or reducing the speed change rate to slow down the severity of the speed rise and fall, which can make the sound and airflow changes of the device operation smoother, not only reducing the sensory stimulation to the user and helping the user to adapt to the operation of the device, but also alleviating the problem of increased movements caused by discomfort; at the same time, when the user's current motion change trend is a decreasing trend, it indicates that the current speed adjustment method is adapted to the user state and does not cause obvious interference. The user is gradually relaxing and continues to maintain the preset initial sleep rules unchanged, which can avoid unnecessary adjustments that disrupt the operating rhythm to which the user has adapted, provide the user with a stable sleep environment, and help the user fall asleep quickly; through the above two sleep rule adjustment methods, dynamic adaptation of the device operation to the user's sleep state is achieved, which greatly meets the user's needs for falling asleep and using the device.
[0020] In an optional embodiment, before controlling the air cleaning device to switch to the target sleep rule operation, the sleep control method further includes:
[0021] Determining whether the running time in the target sleep rule is greater than a preset time threshold, or whether the speed change rate in the target sleep rule is less than a preset change threshold;
[0022] If the operating time in the target sleep rule is greater than a preset time threshold, or the speed change rate in the target sleep rule is less than a preset change threshold, the air cleaning device is controlled to operate at the lowest speed, and the steps of obtaining motion data collected by the monitoring device and analyzing the motion data to obtain a current motion change trend are repeatedly executed;
[0023] If the updated current action change trend is still an increasing trend, the air cleaning device is turned off;
[0024] If the updated current action change trend is a decreasing trend, the air cleaning device is controlled to continue running at the lowest speed.
[0025] By judging whether the running time of the target sleep rule exceeds a preset threshold or whether the speed change rate is lower than a preset threshold, the present invention can timely identify that the device has been adjusted to an extreme operating mode of "overly smooth". For example, if the running time is too long, the purification efficiency will drop too much, or if the speed change rate is too low, there may still be potential interference. At this time, switching to the lowest speed of the device can avoid the adverse effects of the target sleep rule on the user's sleep to the greatest extent. At the same time, when the device is running at the lowest speed, the movement change trend is continuously monitored, and users who are highly sensitive to the operation of the device can be accurately identified, and the device can be turned off to give priority to the user's sleep. By adding the above-mentioned multi-level judgment and feedback mechanism, the adaptability of the air purification device to the user's sleep state is further enhanced, which not only gives priority to the user's sleep quality, but also takes into account the rationality of the device operation.
[0026] In an optional embodiment, the sleep control method further includes:
[0027] If the operating time in the target sleep rule is not greater than the preset time threshold, or the speed change rate in the target sleep rule is not less than the preset change threshold, the air cleaning device is controlled to switch to the target sleep rule operation;
[0028] The preset initial sleep rule is updated to the target sleep rule, and the process returns to the step of acquiring the motion data collected by the monitoring device and analyzing the motion data to obtain the current motion change trend.
[0029] In an optional embodiment, if the current action change trend is a decreasing trend, then in the process of controlling the air cleaning device to switch to the target sleep rule operation, the sleep control method further includes:
[0030] If the number of actions of the target user collected by the monitoring device in each monitoring cycle within the second preset time is 0, the air purification device is controlled to run according to the target sleep rule for a third preset time, and then the air purification device is controlled to continue running at the preset speed.
[0031] The present invention takes into account the actual sleeping situation of the user, that is, when the number of user actions is 0 within the second preset time, it indicates that the user may be about to fall asleep or in a light sleep state. At this time, the control device continues to operate according to the target sleep rule for the third preset time, which can maintain the sound and airflow change rhythm that the user has adapted to, and avoid switching the speed mode too early, such as suddenly switching to a fixed speed and thus breaking the current sleeping environment, which can reduce interference with the light sleep state and help the user smoothly enter deep sleep; and after the device switches to the preset speed operation, it avoids the continuous slight fluctuations that may be caused by the cyclic operation of the target sleep rule, and maintains the purification function of the device through the preset speed, solving the contradiction of the device operation mode after the user falls asleep, without interrupting purification, and minimizing interference with deep sleep; by accurately capturing the user's critical point of falling asleep and dynamically adjusting the device operation strategy, refined protection of the user's sleep process can be achieved, while taking into account the continuous purification function of the device.
[0032] In a second aspect, the present invention provides a sleep control device, which is applied to an air cleaning device. The air cleaning device is communicatively connected to a monitoring device, which is used to collect motion data corresponding to a target user of the air cleaning device. The device includes:
[0033] an initial operation module, configured to, in response to activation of a sleep mode in the air cleaning device, control the air cleaning device to operate according to a preset initial sleep rule, wherein the preset initial sleep rule is a cyclic operation mode including a speed adjustment mode; wherein the speed adjustment mode includes operating at multiple operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range;
[0034] A data acquisition module is used to acquire motion data collected by the monitoring device and analyze the motion data to obtain a current motion change trend, which represents the change of the motion data over time; wherein the motion data includes the number of motions, and the current motion change trend includes an increasing trend of the number of motions and a decreasing trend of the number of motions;
[0035] The operation adjustment module is used to adjust the preset initial sleep rule according to the current action change trend, obtain the target sleep rule, and control the air purification device to switch to the target sleep rule operation.
[0036] The sleep control device provided by the present invention responds to the activation of the sleep mode in the air cleaning device, controls the air cleaning device to run the preset initial sleep rules, and adjusts the preset initial sleep rules by analyzing the current motion change trend obtained by the user motion data during the operation of the device. It can sense the user's sleep state in real time and dynamically adjust the device operating speed accordingly. While ensuring the air cleaning effect, it can also avoid the problem of excessive noise caused by improper speed, thereby realizing effective control of the device operation, improving the sleep control efficiency, helping the user to fall asleep quickly, and greatly meeting the user's needs for falling asleep and using the device.
[0037] In a third aspect, the present invention provides an air cleaning device, which is communicatively connected to a monitoring device, and the monitoring device is used to collect motion data of a target user corresponding to the air cleaning device; the air cleaning device includes a controller, and the controller includes: a memory and a processor, and the memory and the processor are communicatively connected to each other, and computer instructions are stored in the memory. The processor executes the computer instructions to execute the sleep control method of the above-mentioned first aspect or any corresponding embodiment thereof.
[0038] In an optional embodiment, the air cleaning device is a sweeper, and / or the monitoring device is a pressure sensor device.
[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the sleep control method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 is a flowchart of a sleep control method according to an embodiment of the present invention;
[0042] Figure 2 is a flowchart of another sleep control method according to an embodiment of the present invention;
[0043] Figure 3 It is a flowchart of a sleep control method of an air purifier;
[0044] Figure 4 is a schematic diagram of the linear regression analysis results;
[0045] Figure 5 is another schematic diagram of the linear regression analysis results;
[0046] Figure 6 This is another schematic diagram of the linear regression analysis results;
[0047] Figure 7 is a structural block diagram of a sleep control device according to an embodiment of the present invention;
[0048] Figure 8 Schematic diagram of the structure of the controller of the air cleaning device according to the embodiment of the present invention. DETAILED DESCRIPTION
[0049] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0050] According to an embodiment of the present invention, an embodiment of a sleep control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0051] In this embodiment, a sleep control method is provided, which is applied to an air cleaning device. The air cleaning device is connected to a monitoring device for communication. The monitoring device is used to collect motion data corresponding to a target user of the air cleaning device. Figure 1 FIG. 1 is a flow chart of a sleep control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0052] In step S101, in response to the activation of the sleep mode in the air cleaning device, the air cleaning device is controlled to run a preset initial sleep rule, where the preset initial sleep rule is a cyclic operation mode including a speed adjustment method; wherein the speed adjustment method includes running at multiple operating speeds and their corresponding operating times, or running at a speed change rate within an operating speed range.
[0053] It should be noted that air cleaning equipment is used to remove particulate matter (such as PM2.5), odors, and harmful gases from the air, thereby improving indoor air quality. The specific type of air cleaning equipment in this embodiment can be adaptively adjusted according to actual needs. For example, air cleaning equipment includes air purifiers and air conditioners with purification functions. Sleep mode is a specific operating mode designed for user sleep scenarios. Its core goal is to reduce interference with device operation and assist users in falling asleep and maintaining sleep quality. Its specific content and activation method can be referred to in the field of device sleep mode. For example, sleep mode can be triggered by physical buttons, terminal commands, or voice recognition, etc., and will not be elaborated on here.
[0054] In this embodiment, the preset initial sleep rules are also called coaxing sleep operation rules, which are intended to improve the cleaning effect of the equipment through regular changes in the fan speed of the air cleaning equipment, while helping users to fall asleep quickly. The specific content is adaptively adjusted according to actual needs, such as designing a corresponding speed adjustment method based on the specific speed distribution of the air cleaning equipment. This is only for illustrative purposes.
[0055] It should be noted that the operating speed and operating speed range of this embodiment can be determined based on the actual speed of the air cleaning device. For example, if the speed configured for the air cleaning device includes 1250r / min and 1500r / min, the corresponding operating speeds include 1250r / min and 1500r / min; the operating speed range is between 1250r / min and 1500r / min. It should be noted that the specific values of the operating speed and the operating speed range can be fine-tuned based on the numerical value of the actual speed of the device to adapt to the dynamic changes in the speed. In addition, the speed change rate of this embodiment represents the change in speed per unit time (including increase or decrease). For example, the speed change rate is an increase of 5r / s (i.e., the speed increases by 5 revolutions per second). This is only for illustrative purposes.
[0056] Step S102, obtain the motion data collected by the monitoring device, and analyze the motion data to obtain the current motion change trend, which represents the change of the motion data over time; wherein the motion data includes the number of actions, and the current motion change trend includes an increasing trend of the number of actions and a decreasing trend of the number of actions.
[0057] In this embodiment, the specific content of the monitoring device and motion data is not limited in detail and can be adjusted according to actual needs. For example, the monitoring device can be a wearable device, such as a smart bracelet or watch, which detects changes in acceleration during the user's body movement to determine the amplitude, frequency, and turning movements of the body. The monitoring device can also be a non-wearable device, such as a smart mattress or mattress sensor, which specifically embeds a pressure sensor array or fiber optic sensor within the mattress and determines turning and body movement amplitude based on changes in body pressure distribution. This is for illustrative purposes only.
[0058] It should be noted that, in this embodiment, the number of actions refers to the number of body movements and turning over of the user.
[0059] Step S103 , adjusting the preset initial sleep rule according to the current motion change trend to obtain a target sleep rule, and controlling the air purification device to switch to the target sleep rule.
[0060] The sleep control method of the embodiment of the present invention, after turning on the sleep mode of the air purification device, controls the air purification device to first operate according to the preset initial sleep rules. During the operation of the device, the user's motion data is monitored and analyzed to obtain the current motion change trend, and the preset initial sleep rules are adjusted according to the current motion change trend. The method can sense the user's sleep state in real time and dynamically adjust the device operating speed accordingly. While ensuring the air purification effect, it avoids the problem of excessive noise caused by improper speed, and thus solves the contradiction between "weak purification at low speed" and "loud noise at high speed" in the traditional sleep mode, and realizes effective control of the device operation, which not only improves the sleep control efficiency, but also helps the user fall asleep quickly, greatly meeting the user's needs for falling asleep and using the device.
[0061] In this embodiment, a sleep control method is provided, which is applied to an air cleaning device. The air cleaning device is connected to a monitoring device for communication. The monitoring device is used to collect motion data corresponding to a target user of the air cleaning device. Figure 2 FIG. 1 is a flow chart of another sleep control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0062] Step S201: In response to the activation of the sleep mode in the air cleaning device, the air cleaning device is controlled to operate according to a preset initial sleep rule, wherein the preset initial sleep rule is a cyclic operation mode including a speed adjustment mode; wherein the speed adjustment mode includes operating at multiple operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0063] Step S202, obtain the motion data collected by the monitoring device, and analyze the motion data to obtain the current motion change trend, which represents the change of the motion data over time; wherein the motion data includes the number of actions, and the current motion change trend includes an increasing trend of the number of actions and a decreasing trend of the number of actions.
[0064] Specifically, the above step S202 includes:
[0065] Step S2021 , in response to the communication connection between the air cleaning device and the monitoring device, obtaining the number of actions of the target user collected by the monitoring device in each monitoring cycle within a first preset time.
[0066] In this embodiment, the specific values of the first preset time and the monitoring period can be adaptively adjusted according to actual needs. For example, the first preset time is 5 minutes and each monitoring period is 1 minute, which is only for exemplary description.
[0067] Step S2022: Perform linear regression analysis on the number of actions corresponding to each monitoring period to obtain a linear regression equation of the number of actions and the monitoring period.
[0068] In this embodiment, the specific content of the linear regression analysis can refer to conventional analysis methods in the art, such as collecting data and preprocessing, using a linear regression model, such as the least squares method, to fit the data to obtain the corresponding linear equation, which is only used as an example.
[0069] Step S2023, determining the current action change trend based on the coefficient of the linear regression equation; wherein, if the slope of the linear regression equation is greater than 0, the current action change trend is determined to be an increasing trend; if the slope of the linear regression equation is not greater than 0, the current action change trend is determined to be a decreasing trend.
[0070] In the embodiment of the present invention, the quantitative analysis method of judging the current movement change trend based on the number of movements in each monitoring cycle within the first preset time is combined with the slope of the linear regression equation. This can systematically capture the dynamic process of the user from being awake to falling asleep, such as a decrease in movement, or agitation due to discomfort, such as an increase in movement. It can better fit the progressive characteristics of the human body's sleep state, allowing the device to more accurately perceive the user's current sleep state; at the same time, the changes in the user's movements over time are converted into a quantifiable slope indicator, which can also avoid deviations based on single time point data or subjective judgment, and further provide an accurate and objective basis for adjusting the sleep rules of the air purification equipment.
[0071] Step S203 , adjusting the preset initial sleep rule according to the current motion change trend to obtain a target sleep rule, and controlling the air purification device to switch to the target sleep rule.
[0072] Specifically, the above step S203 includes:
[0073] Step S2031 : If the current motion change trend is an increasing trend, then the running time of each running speed in the preset initial sleep rule is increased, or the speed change rate in the preset initial sleep rule is reduced to obtain a target sleep rule.
[0074] In this embodiment, the increase value of the running time and the decrease value of the speed change rate can be adaptively determined according to actual needs and are not limited in detail here.
[0075] Step S2032: If the current motion change trend is a decreasing trend, the preset initial sleep rule is determined as the target sleep rule.
[0076] Step S2033: Control the air cleaning device to switch to the target sleep rule operation.
[0077] In an embodiment of the present invention, when the user's current motion change trend is an increasing trend, by increasing the running time of each running speed to extend the duration of the same speed, and then reducing the speed switching frequency, or reducing the speed change rate to slow down the intensity of the speed rise and fall, the sound and airflow changes of the device operation can be made smoother, which not only reduces the sensory stimulation to the user and helps the user adapt to the operation of the device, but also alleviates the problem of increased movements caused by discomfort; at the same time, when the user's current motion change trend is a decreasing trend, it indicates that the current speed adjustment method is adapted to the user state and does not cause obvious interference. The user is gradually relaxing and continues to maintain the preset initial sleep rules unchanged, which can avoid unnecessary adjustments that disrupt the operating rhythm to which the user has adapted, provide the user with a stable sleep environment, and help the user fall asleep quickly; through the above two sleep rule adjustment methods, dynamic adaptation of the device operation to the user's sleep state is achieved, which greatly meets the user's needs for falling asleep and using the device.
[0078] It should be noted that since multiple target sleep rules can be set, that is, the sleep-inducing operation rules include different stages, the sleep-inducing operation rules of the latter stage are determined based on the previous stage by extending the low-sound operation time and gradually lengthening the change frequency; and the corresponding sleep-inducing operation rules of the final stage can also be called extreme operation modes, that is, the corresponding operating speed, operating time, and speed change rate within the rules are all determined by the maximum parameters supported by the device. Therefore, before controlling the air purification device to switch to the target sleep rule operation, the sleep control method of this embodiment also includes:
[0079] Step a1: determining whether the running time in the target sleep rule is greater than a preset time threshold, or whether the speed change rate in the target sleep rule is less than a preset change threshold.
[0080] In this embodiment, the specific values of the preset time threshold and the preset change threshold can be adaptively adjusted according to actual needs and are not limited in detail here.
[0081] Step a2: If the running time in the target sleep rule is greater than the preset time threshold, or the speed change rate in the target sleep rule is less than the preset change threshold, the air purification device is controlled to run at the lowest speed, and the steps of obtaining the motion data collected by the monitoring device and analyzing the motion data to obtain the current motion change trend are repeated.
[0082] In this embodiment, the lowest gear speed is determined according to the actual configuration of the air cleaning device.
[0083] Step a3: If the updated current action change trend is still an increasing trend, the air cleaning device is turned off.
[0084] Step a4: If the updated current action change trend is a decreasing trend, the air cleaning device is controlled to continue running at the lowest speed.
[0085] In an embodiment of the present invention, by judging whether the running time of the target sleep rule exceeds a preset threshold or whether the speed change rate is lower than a preset threshold, it can timely identify that the device has been adjusted to an extreme operating mode of "overly smooth", such as when the running time is too long, resulting in excessive reduction in purification efficiency, or when the speed change rate is too low, there may still be potential interference. At this time, switching to the lowest speed of the device can avoid the adverse effects of the target sleep rule on the user's sleep to the greatest extent. At the same time, when the device is running at the lowest speed, the trend of movement changes is continuously monitored, and users who are highly sensitive to the operation of the device can be accurately identified, and the device can be turned off to prioritize the user's sleep. By adding the above-mentioned multi-level judgment and feedback mechanism, the adaptability of the air purification device to the user's sleep state is further enhanced, which not only prioritizes the user's sleep quality, but also takes into account the rationality of the device operation.
[0086] Furthermore, if the target sleep rule's operating time is no greater than a preset time threshold, or the speed change rate in the target sleep rule is no less than a preset change threshold, this indicates that the current target sleep rule is not in the final stage of the lulling-to-sleep operation. Therefore, the sleep control method of this embodiment further includes: controlling the air purification device to switch to the target sleep rule; updating the preset initial sleep rule to the target sleep rule; and returning to the steps of acquiring motion data collected by the monitoring device and analyzing the motion data to determine the current motion change trend.
[0087] It should be noted that since listening to gradually slower sounds can help relax the body and mind, it may reduce the breathing rate and help people fall asleep faster. When the current trend of action change is a decreasing trend, it indicates that the user has adapted to the target sleep rule of the air purification device, and during the continuous operation of this rule, the user may fall asleep, so it is necessary to determine whether the user has fallen asleep and adjust the target sleep rule according to the sleeping situation. Therefore, if the current trend of action change is a decreasing trend, then when controlling the air purification device to switch to the target sleep rule operation, the sleep control method of this embodiment also includes: if the number of actions of the target user collected corresponding to each monitoring cycle of the monitoring device within the second preset time is 0, then after controlling the air purification device to run according to the target sleep rule for the third preset time, the air purification device is controlled to continue to run at the preset speed.
[0088] In this embodiment, the specific value of the preset speed can be adaptively adjusted according to actual needs. For example, taking into account low noise and the basic purification ability of the equipment, the preset speed is the middle speed of the air purification equipment, which is only used as an example. Specifically, this embodiment takes into account the actual sleeping situation of the user, that is, when the user is about to fall asleep or in a light sleep state, the control device continues to run according to the target sleep rule for the third preset time, which can maintain the sound and airflow change rhythm that the user has adapted to, avoid switching the speed mode too early, and help the user to smoothly enter deep sleep; and after the device switches to the preset speed, the purification function of the device is maintained through the preset speed, thereby achieving refined protection of the user's sleep process.
[0089] In one specific embodiment, the air cleaning device is an air purifier (also known as a purifier), and the monitoring device is a pressure sensor. Conventional purifiers operate in the lowest setting throughout the user's sleep cycle, resulting in regular sounds recorded in such sleep data. This helps mask other noises that may disrupt sleep. Accordingly, a gentle, constantly changing background sound is provided to help some people relax and fall asleep more easily. Taking these factors into consideration, this embodiment proposes a sleep mode with a lulling function. Specifically, this mode regularly adjusts the air purifier's fan speed, such as increasing or decreasing it, while also using a bed-mounted pressure sensor to monitor the user's body movements and tossing frequency to determine whether the user is asleep. This mode then adjusts the speed pattern of the purifier's sleep mode appropriately, helping the user fall asleep in a manner more consistent with their habits. Figure 3 This is a flowchart of the sleep control method of the air purifier, which mainly includes the following contents:
[0090] 1. User movement and turning over monitoring module.
[0091] In this embodiment, a pressure sensor is installed on the bed to monitor the user's movements and turning over. The number of movements and turns per minute is counted, and the data is processed to determine the temporal trend of these movements and turns (e.g., a summary analysis is performed every 5 minutes). Specifically, a linear regression analysis is performed using the user's total movements and turns per minute (y) and the time (x), resulting in a fitted linear regression equation (y=kx+b). When the slope k of the fitted line is greater than 0, it indicates that the corresponding values of the user's movements and turns over time are increasing. When the k value is ≤0, it indicates that the user's movements and turns over time are decreasing.
[0092] 2. The air purifier is linked with the user's body movement and turning over monitoring module.
[0093] In this embodiment, the air purifier is linked with the user movement and turning over monitoring module. During the coaxing sleep phase, the user's sleeping state is detected by the user movement and turning over monitoring module, specifically including:
[0094] 1) If the user's body movements and tossing are detected to be increasing over time, indicating that the current coaxing-to-sleep rules are not suitable for the user, ① if the current cycle is in the first stage, adjust to the second stage; ② if it is in the second stage, adjust to the third stage; ③ if it is in the third stage, exit the current coaxing-to-sleep rules and run the purifier at the lowest setting. Meanwhile, continue to monitor the user's body movements and tossing. If they still increase over time, it indicates that the user is sound-sensitive. To ensure the user's sleep, the purifier must be turned off. Otherwise, the purifier will run at the lowest setting until the user turns it off or switches to another mode.
[0095] 2) When it is detected that the user's body movements and the number of times he turns over show a decreasing trend over time, it means that the current coaxing rule is effective, and the current coaxing rule (such as a one-stage, two-stage or three-stage cycle rule) will continue to be executed.
[0096] 3) When it is detected that the number of user movements and turning over is decreasing over time, and it is also detected that the number of user movements and turning over is zero for 3 minutes or more, indicating that the user is currently asleep, the current cycle stage (one-stage, two-stage or three-stage cycle rules) will continue to be executed for another 2 minutes, and the coaxing stage of the purifier's sleep mode will end. The purifier will continue to operate at a speed of 750r / min until the user turns off the purifier or switches to another mode.
[0097] It should be noted that the specific values of 2min and 750r / min in this embodiment are adaptively adjusted based on actual needs. For example, the running time of 2min can be set to other values between 2 and 20min (because most people need about 2 to 20 minutes to fall asleep completely after feeling sleepy, the user may not have turned over because he is just sleepy and has not fallen asleep completely. In this case, it is necessary to maintain the current sound change frequency until the user falls asleep completely).
[0098] It should be noted that the air purifier in this embodiment has five speed settings: 500, 750, 1000, 1250, and 1500 r / min, with three stages of sleep-inducing operation rules. A pressure sensor device is installed on the bed in conjunction with the air purifier to detect the user's body movements and tossing and turning, and determine whether the user has fallen asleep. It should be noted that the three stages of sleep-inducing operation rules in this embodiment are set to gradually lengthen the frequency of sound changes, that is, by adjusting the rhythm of sound changes to influence the human heartbeat and respiratory rate and help people fall asleep more quickly. For example, the operating time at the same speed only needs to be longer than the previous stage. The speed of each stage is based on the lowest speed, with a certain increase in speed, and is not necessarily the speed corresponding to the purifier's operating gear. (This is because there are no relevant standards for the speed settings of different purifier gears, so the setting is relatively flexible, and only the noise level of different speeds needs to be considered. For example, according to the "Sound Environment Quality Standard", the noise level of the residential sleeping environment does not exceed 40dB.)
[0099] In a specific embodiment, the first coaxing-to-sleep operation rule is provided as shown in the following table.
[0100] Table 1
[0101]
[0102] The first coaxing-to-sleep operation rule in Table 1 includes three stages, and the operating speed in each stage is determined based on the purifier's five speed settings. Note that the operating speed can also be adjusted to other values based on actual needs.
[0103] In this embodiment, see Figure 3 As shown in Table 1, the sleep control process of the air purifier includes:
[0104] 1. Record the user's body movement and turning data within 5 minutes and perform data analysis.
[0105] It should be noted that after the purifier turns on sleep mode, it defaults to executing the first stage of the coaxing to sleep operation rules, which can be adaptively adjusted according to actual needs. In this embodiment, it is assumed that the body movements and turning times recorded per minute from 0 to 5 minutes are as shown in the following table.
[0106] Table 2
[0107]
[0108] Specifically, the data in Table 2 were subjected to linear regression analysis, and the fitted linear regression equation was y=0.1x+3.1, which can be found in Figure 4 Schematic diagram of linear regression analysis results. Figure 4 It can be seen that when the slope k value is 0.1 and is greater than zero, it means that the user's body movements and turning times tend to increase over time, indicating that the user is not suitable for the current coaxing to sleep rule. Therefore, the coaxing to sleep rule should be adjusted to a two-stage coaxing to sleep operation rule, i.e. 500 r / min (10 s) → 750 r / min (10 s) → 1000 r / min (4 s).
[0109] In this embodiment, since the highest stage of the coaxing-to-sleep operation rule is stage three, after adjusting the coaxing-to-sleep rule, the user's body movements and the number of times he or she turns over should be continuously monitored.
[0110] Furthermore, after adjusting the rules for coaxing the baby to sleep, the number of body movements and turning over during the 6-10 minute period was statistically calculated as shown in the following table.
[0111] Table 3
[0112]
[0113] Specifically, the data in Table 3 were subjected to linear regression analysis, and the fitted linear regression equation was y=-0.7x+10, which can be found in Figure 5 Schematic diagram of linear regression analysis results. Figure 5 It can be seen that the slope k value is -0.7, which is less than zero, indicating that the user's body movements and turning times tend to decrease over time, indicating that the current coaxing to sleep rule is effective, and the current coaxing to sleep rule will continue to be executed, that is, the second-stage coaxing to sleep operation rule.
[0114] In this embodiment, since the highest stage of the coaxing to sleep operation rule is stage three, after adjusting the coaxing to sleep rule, the user's body movements and the number of times they turn over should also be continuously monitored. Specifically, the body movements and the number of times they turn over over 10-15 minutes are continuously counted and calculated as shown in the following table.
[0115] Table 4
[0116]
[0117] Specifically, the data in Table 4 were subjected to linear regression analysis, and the fitted linear regression equation was y=-0.5x+7.1, which can be found in Figure 6 Schematic diagram of linear regression analysis results. Figure 6It can be seen that if the slope k value is -0.5 and is less than zero, it means that the user's body movements and turning times tend to decrease over time. At the same time, if the user's body movements and turning times are monitored to be zero for 3 consecutive minutes, it means that the user has fallen asleep and it is necessary to continue to execute the current coaxing to sleep rule, that is, the second-stage coaxing to sleep operation rule, and end the coaxing to sleep stage of the purifier's sleep mode after 2 minutes, and continue to run at a speed of 750r / min until the user turns off the purifier or switches to other modes.
[0118] It should be noted that the coaxing to sleep operation rules in this embodiment focus on the user's adaptability. Since the first coaxing to sleep operation rule in this embodiment is continuous low voice, continuous medium voice, and short high voice, it simulates the sound changes of waves. In actual applications, users may not be able to accept the high-voice part of the first coaxing to sleep operation rule, so the short and high-voice part is removed in the corresponding cycle. The corresponding second coaxing to sleep operation rule is shown in the following table.
[0119] Table 5
[0120]
[0121] In addition, this embodiment also takes into account that users cannot accept the jump of sounds of different volumes, so a method of slowly increasing the volume is adopted. The corresponding third coaxing to sleep operation rule is shown in the following table.
[0122] Table 6
[0123]
[0124] It should be noted that in the first, second and third coaxing to sleep operation rules in this embodiment, the operating speed starts to cycle from high to low, and can also cycle from low to high. The corresponding coaxing to sleep operation rules can be referred to Table 7, Table 8 and Table 9.
[0125] Table 7
[0126]
[0127] Table 8
[0128]
[0129] Table 9
[0130]
[0131] Specifically, in this embodiment, the fan speed of the air purifier is regularly adjusted to increase and decrease, providing a gentle, constantly changing sound background to help users fall asleep. It can also improve the purification effect of the sleep mode without increasing the speed to disturb the user's sleep, which is beneficial to product promotion, increases the product's sales selling points, and attracts consumers.
[0132] In summary, the sleep control method of the embodiment of the present invention, by converting the noise of the air purifier during operation into regularly changing white noise to lull the user into sleep, can not only help the user fall asleep, but also the purifier does not continue to operate at the lowest gear speed all the time, that is, it continues to operate at a speed higher than the lowest gear mode until the user manually turns off the sleep mode. In terms of the purification effect of the purifier, compared with the conventional purifier sleep mode, the purification effect has also been effectively improved.
[0133] This embodiment also provides a sleep control device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated. As used below, the term "module" refers to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0134] The present invention provides a sleep control device, which is applied to an air cleaning device. The air cleaning device is connected to a monitoring device for communication. The monitoring device is used to collect the action data of the air cleaning device corresponding to the target user, such as Figure 7 As shown, the device includes:
[0135] The initial operation module 701 is used to control the air cleaning device to operate according to a preset initial sleep rule in response to the activation of the sleep mode in the air cleaning device. The preset initial sleep rule is a cyclic operation mode including a speed adjustment method; wherein the speed adjustment method includes operating at multiple operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range.
[0136] The data acquisition module 702 is used to obtain the motion data collected by the monitoring device and analyze the motion data to obtain the current motion change trend. The current motion change trend represents the change of the motion data over time; wherein, the motion data includes the number of actions, and the current motion change trend includes an increasing trend of the number of actions and a decreasing trend of the number of actions.
[0137] The operation adjustment module 703 is used to adjust the preset initial sleep rule according to the current action change trend, obtain the target sleep rule, and control the air purification device to switch to the target sleep rule operation.
[0138] In some optional embodiments, the data acquisition module 702 includes: a first acquisition submodule, a second acquisition submodule and a third acquisition submodule; wherein, the first acquisition submodule is used to respond to the communication connection between the air cleaning device and the monitoring device, and obtain the number of actions of the target user corresponding to each monitoring period within a first preset time by the monitoring device; the second acquisition submodule is used to perform linear regression analysis on the number of actions corresponding to each monitoring period to obtain a linear regression equation of the number of actions and the monitoring period; the third acquisition submodule is used to determine the current action change trend based on the coefficient of the linear regression equation; wherein, if the slope of the linear regression equation is greater than 0, the current action change trend is determined to be an increasing trend; if the slope of the linear regression equation is not greater than 0, the current action change trend is determined to be a decreasing trend.
[0139] In some optional embodiments, the operation adjustment module 703 includes: a first adjustment submodule, a second adjustment submodule and a third adjustment submodule; wherein, the first adjustment submodule is used to increase the operating time of each operating speed in the preset initial sleep rule if the current action change trend is an increasing trend, or to reduce the speed change rate in the preset initial sleep rule to obtain the target sleep rule; the second adjustment submodule is used to determine the preset initial sleep rule as the target sleep rule if the current action change trend is a decreasing trend; the third adjustment submodule is used to control the air purification equipment to switch to the target sleep rule operation.
[0140] In some optional embodiments, the device also includes: a threshold determination module, used to determine whether the running time in the target sleep rule is greater than the preset time threshold, or whether the speed change rate in the target sleep rule is less than the preset change threshold; if the running time in the target sleep rule is greater than the preset time threshold, or the speed change rate in the target sleep rule is less than the preset change threshold, then the air cleaning device is controlled to run at the lowest speed, and repeatedly execute the steps of obtaining the motion data collected by the monitoring device, and analyzing the motion data to obtain the current motion change trend; if the updated current motion change trend is still an increasing trend, then the air cleaning device is turned off; if the updated current motion change trend is a decreasing trend, then the air cleaning device is controlled to continue running at the lowest speed.
[0141] In some optional embodiments, the device also includes: a repeated adjustment module, which is used to control the air cleaning device to switch to the target sleep rule operation if the running time in the target sleep rule is not greater than the preset time threshold, or the speed change rate in the target sleep rule is not less than the preset change threshold; update the preset initial sleep rule to the target sleep rule, and return to execute the steps of obtaining the motion data collected by the monitoring device, and analyzing the motion data to obtain the current motion change trend.
[0142] In some optional embodiments, the device also includes: a sleep determination module, which is used to control the air purification device to run according to the target sleep rules for a third preset time if the number of actions of the target user collected in each monitoring cycle obtained by the monitoring device within the second preset time is 0, and then control the air purification device to continue running at a preset speed.
[0143] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0144] The sleep control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0145] The sleep control device of the embodiment of the present invention can sense the user's sleep state in real time and dynamically adjust the device's operating speed accordingly. While ensuring the air purification effect, it can also avoid the problem of excessive noise caused by improper speed, thereby achieving effective control of the device operation. It not only improves the sleep control efficiency, but also helps the user fall asleep quickly, greatly meeting the user's needs for falling asleep and using the device.
[0146] An embodiment of the present invention further provides an air cleaning device, the air cleaning device is connected to a monitoring device for communication, and the monitoring device is used to collect the action data of the air cleaning device corresponding to the target user; the air cleaning device includes a controller, see Figure 8 , Figure 8 is a schematic diagram of the structure of the controller provided in an optional embodiment of the present invention, such as Figure 8 As shown, the controller includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the controller, including instructions stored in or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple controllers can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0147] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0148] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.
[0149] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the controller, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0150] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0151] The controller also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 can be connected via a bus or other means. Figure 8 The bus connection is taken as an example.
[0152] The input device 30 can receive digital or character input and generate signal input related to user settings and function control of the thermal power unit operation control unit. Examples include a touch screen, keypad, mouse, trackpad, touchpad, indicator stick, one or more mouse buttons, trackball, joystick, etc. The output device 40 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibration motors). Such display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, monitors, and plasma displays. In some optional embodiments, the display device may be a touch screen.
[0153] In this embodiment, the air cleaning device is a sweeper, and the monitoring device is a pressure sensor device. Specifically, integrating the sleep control method of this embodiment into the air cleaning device enables the air cleaning device to achieve a very stable and reliable cleaning effect. It can sense the user's sleep state in real time and dynamically adjust the device's operating speed accordingly. While ensuring the air cleaning effect, it can also avoid excessive noise caused by improper speed, thereby achieving effective control of the device operation. This not only improves sleep control efficiency, but also helps users fall asleep quickly, greatly meeting the user's needs for falling asleep and using the device, and further enhancing the user experience.
[0154] A computer-readable storage medium is also provided in an embodiment of the present invention. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor main control chip or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0155] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A sleep control method, applied to an air cleaning device, wherein the air cleaning device is in communication with a monitoring device, and the monitoring device is used to collect motion data corresponding to a target user of the air cleaning device, characterized in that: The method comprises: In response to activation of a sleep mode in the air cleaning device, controlling the air cleaning device to operate according to a preset initial sleep rule, wherein the preset initial sleep rule is a cyclic operation mode including a speed adjustment mode; wherein the speed adjustment mode includes operating at a plurality of operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range; Obtaining motion data collected by a monitoring device, and analyzing the motion data to obtain a current motion change trend, wherein the current motion change trend indicates how the motion data changes over time; wherein the motion data includes the number of motions, and the current motion change trend includes an increasing trend of the number of motions and a decreasing trend of the number of motions; The preset initial sleep rule is adjusted according to the current action change trend to obtain a target sleep rule, and the air cleaning device is controlled to switch to the target sleep rule for operation.
2. The sleep control method according to claim 1, characterized in that: The acquiring of motion data collected by the monitoring device and analyzing the motion data to obtain a current motion change trend includes: In response to the communication connection between the air cleaning device and the monitoring device, obtaining the number of actions of the target user corresponding to each monitoring period of the monitoring device within a first preset time; Perform linear regression analysis on the number of actions corresponding to each monitoring period to obtain the linear regression equation of the number of actions and monitoring period; The current action change trend is determined according to the coefficient of the linear regression equation; wherein, if the slope of the linear regression equation is greater than 0, the current action change trend is determined to be an increasing trend; if the slope of the linear regression equation is not greater than 0, the current action change trend is determined to be a decreasing trend.
3. The sleep control method according to claim 2, characterized in that: The adjusting the preset initial sleep rule according to the current motion change trend to obtain the target sleep rule includes: If the current motion change trend is an increasing trend, then increasing the running time of each running speed in the preset initial sleep rule, or reducing the speed change rate in the preset initial sleep rule to obtain a target sleep rule; If the current motion change trend is a decreasing trend, the preset initial sleep rule is determined as the target sleep rule.
4. The sleep control method according to claim 3, characterized in that: Before controlling the air cleaning device to switch to the target sleep rule operation, the method further includes: Determining whether the running time in the target sleep rule is greater than a preset time threshold, or whether the speed change rate in the target sleep rule is less than a preset change threshold; If the operating time in the target sleep rule is greater than a preset time threshold, or the speed change rate in the target sleep rule is less than a preset change threshold, controlling the air cleaning device to operate at the lowest speed, and repeatedly executing the steps of obtaining the motion data collected by the monitoring device and analyzing the motion data to obtain the current motion change trend; If the updated current action change trend is still an increasing trend, shutting down the air cleaning device; If the updated current action change trend is a decreasing trend, the air cleaning device is controlled to continue running at the lowest speed.
5. The sleep control method according to claim 4, characterized in that: The method further comprises: If the operating time in the target sleep rule is not greater than a preset time threshold, or the speed change rate in the target sleep rule is not less than a preset change threshold, controlling the air cleaning device to switch to the target sleep rule operation; The preset initial sleep rule is updated to the target sleep rule, and the process returns to the step of obtaining the motion data collected by the monitoring device and analyzing the motion data to obtain the current motion change trend.
6. The sleep control method according to claim 3, characterized in that: If the current action change trend is a decreasing trend, then during the process of controlling the air cleaning device to switch to the target sleep rule operation, the method further includes: If the number of actions of the target user collected by the monitoring device in each monitoring cycle within the second preset time is 0, the air purification device is controlled to run according to the target sleep rule for a third preset time, and then the air purification device is controlled to continue running at the preset speed.
7. A sleep control device, applied to an air cleaning device, wherein the air cleaning device is in communication with a monitoring device, and the monitoring device is used to collect motion data corresponding to a target user of the air cleaning device, characterized in that: The device comprises: an initial operation module, configured to, in response to activation of a sleep mode in the air cleaning device, control the air cleaning device to operate according to a preset initial sleep rule, wherein the preset initial sleep rule is a cyclic operation mode including a speed adjustment mode; wherein the speed adjustment mode includes operating at multiple operating speeds and their corresponding operating times, or operating at a speed change rate within an operating speed range; a data acquisition module, configured to acquire motion data collected by the monitoring device and analyze the motion data to obtain a current motion change trend, wherein the current motion change trend indicates how the motion data changes over time; wherein the motion data includes the number of motions, and the current motion change trend includes an increasing trend and a decreasing trend of the number of motions; An operation adjustment module is used to adjust the preset initial sleep rule according to the current action change trend, obtain a target sleep rule, and control the air cleaning device to switch to the target sleep rule operation.
8. An air cleaning device, characterized in that: The air cleaning device is communicatively connected to a monitoring device, and the monitoring device is used to collect motion data of a target user corresponding to the air cleaning device; the air cleaning device includes a controller, and the controller includes a memory and a processor, and the memory and the processor are communicatively connected to each other, and the memory stores computer instructions. The processor executes the computer instructions to execute the sleep control method according to any one of claims 1 to 6.
9. The air cleaning device according to claim 8, characterized in that The air cleaning device is an air purifier, and / or the monitoring device is a pressure sensor device.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the sleep control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Air conditioner and method for setting sleeping mode of the same
CN101440992A
Control method and control device for air conditioner
CN104713200A