Sleep control method and system, electronic device and storage medium

By monitoring the user's sleep stage in real time and adjusting the operation of the fresh air module and oxygen-making module according to the needs of different stages, the problem that the noise of the fresh air fan in the existing technology affects the sleep quality, achieving a sleep environment that is more suitable for the user's needs, and improving the sleep quality.

CN119532924APending Publication Date: 2025-02-28PANASONIC ELECTRIC EQUIP (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411733720.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing new fan automatically adjusts the air volume during the user's sleep to maintain air quality, which may bring noise and affects the quality of sleep, and the fixed sleep mode cannot meet the user's current sleep needs.

Method used

By obtaining the user's sleep stage in real time, the operation of the fresh air module and oxygen-control module is controlled according to the needs of different sleep stages, including closing the oxygen-control module during the sleeping or light sleeping stage and running the fresh air module at low air volume, adjusting the operating mode of the fresh air module according to the air quality data during the deep sleeping or deep sleep stage, increasing the oxygen concentration and reducing the fresh air volume during the rapid eye movement stage.

Benefits of technology

It provides a sleep environment that matches the user's sleep stage, reduces noise, improves air quality, and improves sleep quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119532924A_ABST
    Figure CN119532924A_ABST
Patent Text Reader

Abstract

The invention relates to a sleep control method and system, an electronic device and a storage medium, and the method comprises the following steps: an obtaining step: obtaining a sleep stage of a user, wherein the sleep stage comprises a sleep stage and a light sleep stage which are most sensitive to environmental noise, a heavy sleep stage and a deep sleep stage which are reduced in sensitivity to environmental sound change, and a rapid eye movement stage which is sensitive to environmental noise; and the control step is used for controlling the operation of the fresh air module and the oxygen generation module according to the sleep requirements corresponding to the sleep stage of the user. Therefore, a more comfortable environment which is easier to improve the sleep quality can be provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of sleep control, and in particular to a sleep control method and system, an electronic device, and a storage medium. Background Art

[0002] In the related art, the fresh air fan continuously introduces outdoor fresh air during the user's sleep, and automatically adjusts the operating power according to the feedback from the indoor air quality sensor to maintain a good air environment. However, the automatic adjustment of the air volume will bring a certain amount of noise, which may affect the user's sleep. Alternatively, some fresh air fans set a fixed sleep mode to reduce the fan speed to the minimum, thereby providing the user with a quiet sleeping environment. However, the fixed air volume may not match the user's current sleep needs, and thus cannot provide the user with a comfortable environment that is easy to improve sleep quality.

[0003] Therefore, how to provide users with a more comfortable and sleep-friendly environment is one of the urgent issues to be solved. Summary of the invention

[0004] In view of this, the present disclosure proposes a sleep control method and system, an electronic device and a storage medium, so as to provide a user with a more comfortable environment that is easier to improve sleep quality.

[0005] According to a first aspect of the present disclosure, a sleep control method is provided, comprising: an acquisition step for acquiring the sleep stage of a user, wherein the sleep stage comprises a falling asleep stage and a light sleep stage which are most sensitive to environmental noise, a deep sleep stage and a deep sleep stage in which the sensitivity to changes in environmental sound is reduced, and a rapid eye movement stage which is sensitive to environmental noise; and a control step for controlling the operation of a fresh air module and an oxygen production module according to the sleep demand corresponding to the sleep stage of the user.

[0006] In a possible implementation, the control step includes: when the user is in a falling asleep stage or a light sleep stage, controlling the oxygen production module to turn off, and controlling the fresh air module to operate in a first fresh air mode with an air volume lower than a first air volume threshold.

[0007] In a possible implementation, when the sleep stage of the user is the falling asleep stage or the light sleep stage, the temperature of the air conditioner is further controlled to be a first temperature value.

[0008] In a possible implementation, when the air conditioner is turned on in heating mode, the first temperature value falls within the temperature range of [17,19]°C, for example, the first temperature value is 18°C; when the air conditioner is turned on in cooling mode, the first temperature value falls within the temperature range of [24,26]°C, for example, the first temperature value is 25°C.

[0009] In a possible implementation, the control step includes: when the user is in a deep sleep stage or a deep sleep stage, controlling the oxygen production module to operate in a first oxygen production mode in which the indoor oxygen concentration target value is a first target value, and determining the operation mode of the fresh air module according to first air quality data representing the indoor PM2.5 concentration and second air quality data representing the indoor CO2 concentration acquired in real time.

[0010] In a possible implementation manner, the first target value is 21.5%.

[0011] In one possible implementation, determining the operation mode of the fresh air module based on first air quality data representing indoor PM2.5 concentration and second air quality data representing indoor CO2 concentration acquired in real time includes: judging whether the first air quality data is higher than a first air quality threshold; if it is judged that the first air quality data is higher than the first air quality threshold, controlling the fresh air module to operate in a second fresh air mode with an air volume higher than a second air volume threshold, wherein the second air volume threshold is greater than the first air volume threshold.

[0012] In a possible implementation, the first air quality threshold is 75 μg / m 3 .

[0013] In a possible implementation, determining the operation mode of the fresh air module based on first air quality data representing indoor PM2.5 concentration and second air quality data representing indoor CO2 concentration acquired in real time includes: if it is judged that the first air quality data is not higher than the first air quality threshold, further judging whether the second air quality data is higher than the second air quality threshold; if it is judged that the second air quality data is higher than the second air quality threshold, controlling the fresh air module to operate in the second fresh air mode; if it is judged that the second air quality data is not higher than the second air quality threshold, controlling the fresh air module to operate in the third fresh air mode in which the air volume is higher than the first air volume threshold but lower than the second air volume threshold.

[0014] In a possible implementation, the second air quality threshold is 1000 ppm.

[0015] In a possible implementation, when the sleep stage of the user is a deep sleep stage or a deep sleep stage, the temperature of the air conditioner is further controlled to be a second temperature value.

[0016] In one possible implementation, when the air conditioner is turned on in heating mode, the second temperature value is 1°C lower than the first temperature value, for example, the second temperature value is 17°C; when the air conditioner is turned on in cooling mode, the second temperature value is 1°C higher than the first temperature value, for example, the second temperature value is 26°C.

[0017] In a possible implementation, the control step includes: when the user is in a rapid eye movement sleep stage, controlling the oxygen production module to operate in a second oxygen production mode in which the indoor oxygen concentration target value is a second target value, and controlling the fresh air module to operate in a first fresh air mode in which the air volume is lower than a first air volume threshold, wherein the second target value is greater than the target value.

[0018] In a possible implementation manner, the second target value is 22%.

[0019] In a possible implementation, when the user is in the rapid eye movement sleep stage, the temperature of the air conditioner is also controlled to be the second temperature value.

[0020] In a possible implementation, the acquisition step includes: in each sleep cycle, calculating the time length between the moment of acquiring the sleep stage of the user and the first moment, wherein the first moment is the moment after a time threshold has passed since the start moment of the sleep cycle; determining whether the time length falls into a first interval [0,30], a second interval [31,60], a third interval [61,80], and a fourth interval [81,90]; if it is determined that the time length falls into the first interval or the third interval, the sleep stage of the user is acquired as a light sleep stage; if it is determined that the time length falls into the second interval, the sleep stage of the user is acquired as a deep sleep stage or a deep sleep stage; if it is determined that the time length falls into the fourth interval, the sleep stage of the user is acquired as a rapid eye movement stage; if the time threshold has not passed since the start moment of the sleep cycle, the sleep stage of the user is acquired as a falling asleep stage.

[0021] In one possible implementation, the acquisition step includes: acquiring the user's sleep stage from a smart device worn by the user that is monitoring the user's sleep stage in real time; and / or acquiring the user's sleep stage from a sensor provided on the bedding used by the user for monitoring the user's sleep stage in real time.

[0022] According to a second aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0023] According to a third aspect of the present disclosure, a sleep control system is provided, comprising: the electronic device, the fresh air module and the oxygen production module. In a possible implementation, the sleep control system comprises the air conditioner, and the oxygen production module can be integrated in the air conditioner, or the oxygen production module is separately arranged relative to the air conditioner.

[0024] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.

[0025] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0026] Through the sleep control method and system, electronic device and storage medium disclosed in the present invention, the sleep stage of the user (such as falling asleep stage, light sleep stage, deep sleep stage, deep sleep stage, rapid eye movement stage) can be obtained in real time, and the operation of the fresh air module and the oxygen production module can be controlled according to the sleep needs corresponding to the sleep stage of the user. As a result, the user can be provided with a sleeping environment that is more suitable for the sleep needs corresponding to the sleep stage, and the specific needs of different sleep stages for the environment can be met, thereby improving the sleep quality. Therefore, the user can be provided with a more comfortable environment that is easier to improve the sleep quality.

[0027] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0029] Figure 1 A schematic flowchart of a sleep control method according to an embodiment of the present disclosure is shown.

[0030] Figure 2 A schematic flow chart of a first method of obtaining the sleep stage of a user according to an embodiment of the present disclosure is shown.

[0031] Figure 3 A schematic flow chart of a second method of obtaining the sleep stage of a user according to an embodiment of the present disclosure is shown.

[0032] Figure 4A schematic flow chart of a third method of obtaining the sleep stage of a user according to an embodiment of the present disclosure is shown.

[0033] Figure 5 A schematic diagram of an application scenario of a sleep control method according to an embodiment of the present disclosure is shown.

[0034] Figure 6 A schematic diagram of a flow chart for controlling the operation of a fresh air module and an oxygen production module according to an embodiment of the present disclosure is shown.

[0035] Figure 7 A block diagram of a sleep control device according to an embodiment of the present disclosure is shown.

[0036] Figure 8 A block diagram of an apparatus 800 for a sleep control method according to an embodiment of the present disclosure is shown.

[0037] Fig. 9 A block diagram of an apparatus 1900 for a sleep control method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0038] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0039] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0040] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.

[0041] Figure 1 A flowchart of a sleep control method according to an embodiment of the present disclosure is shown. The sleep control method can be applied to a smart home system. In one possible implementation, the smart home system can include a fresh air fan and an air conditioner equipped with an oxygen generator. In another possible implementation, the smart home system can include a fresh air fan and an oxygen generator. Of course, the sleep control method can also be applied to an electronic device, which can control the aforementioned fresh air fan, air conditioner, and oxygen generator. In other words, the sleep control method can be executed by the electronic device. Figure 1 As shown, the sleep control method may include the following steps:

[0042] In step S110 (corresponding to the acquisition step), the sleep stage of the user is acquired, wherein the sleep stages include the falling asleep stage and the light sleep stage which are most sensitive to environmental noise, the deep sleep stage and the deep sleep stage which have reduced sensitivity to changes in environmental sound, and the rapid eye movement stage which is sensitive to environmental noise.

[0043] In this embodiment, the user's sleep stage can be divided into 5 stages, namely, the first stage (Stage1): falling asleep; the second stage (Stage2): light sleep; the third stage (Stage3): deep sleep; the fourth stage (Stage4): deep sleep; the fifth stage (Stage5): rapid eye movement (REM). It cycles in an average of about 90 to 100 minutes; 8 hours of sleep experience about 5 cycles. In other words, the user's sleep cycle is 90 to 100 minutes, and 8 hours of sleep can include 5 sleep cycles. In the first sleep cycle, the following stages are experienced in sequence: Stage1→(Stage2→Stage3→Stage4→Stage3→Stage2→Stage5); in the second to fifth sleep cycles, the following stages are experienced in sequence: →(Stage2→Stage3→Stage4→Stage3→Stage2→Stage5).

[0044] In a possible implementation, the sleep stage of the user can be obtained in the following manner: in each sleep cycle, calculate the time length between the moment of obtaining the sleep stage of the user and the first moment, wherein the first moment is the moment after a time threshold has passed since the start of the sleep cycle; determine whether the time length falls into a first interval [0,30], a second interval [31,60], a third interval [61,80], or a fourth interval [81,90]; if it is determined that the time length falls into the first interval or the third interval, the sleep stage of the user is obtained to be a light sleep stage; if it is determined that the time length falls into the second interval, the sleep stage of the user is obtained to be a deep sleep stage or a deep sleep stage; if it is determined that the time length falls into the fourth interval, the sleep stage of the user is obtained to be a rapid eye movement stage; if the time threshold has not passed since the start of the sleep cycle, the sleep stage of the user is obtained to be a falling asleep stage.

[0045] In this embodiment, Figure 2 As shown, step S110 may include the following steps:

[0046] In step S201, the start time when the user turns on the sleep mode is recorded.

[0047] In step S202, the timing starts after 10 minutes have passed since the user turns on the sleep mode.

[0048] In step S203, the recording start time is tstart.

[0049] In step S204, it is determined whether the user terminates the sleep mode. If the determination is "yes", step S209 is executed; otherwise, step S205 is executed.

[0050] In step S205, the current time t is obtained, and the number of minutes that have passed since the start time t is calculated.

[0051] In this embodiment, the time difference (tt start) is calculated, and the sleep mode of the user is determined according to which time interval (tt start) falls into. If (tt start) falls into the time interval [0, 30] or [61, 80], step S206 is executed. If (tt start) falls into the time interval [31, 60], step S207 is executed. If (tt start) falls into the time interval [81, 90], step S208 is executed.

[0052] In step S206 , it is determined that the user is in a light sleep stage.

[0053] In step S207, it is determined that the user is in a deep sleep stage.

[0054] In step S208, it is determined that the user is in the REM stage.

[0055] In step S209, when 90 minutes have passed, a sleep cycle is completed, the end of this sleep cycle is recorded, and then the process returns to step S203 to start the acquisition process of the sleep stage of the next sleep cycle. That is, for the next sleep cycle, the above steps S203-209 are executed in sequence, and so on, so that each sleep stage experienced by the user can be acquired in real time.

[0056] In step S210, the determination of the sleep stage of the user is ended.

[0057] Since the user has terminated the sleep mode, there is no need to execute the sleep control method of this embodiment, and there is no need to obtain the sleep stage of the user, so the sleep mode can be terminated. Figure 2 process processing.

[0058] Therefore, we can use Figure 2 The method shown is used to obtain the user's sleep stage in real time.

[0059] In a possible implementation, the sleep stage of the user may be obtained in the following manner: the sleep stage of the user is obtained from a smart device worn by the user that is monitoring the sleep stage of the user in real time.

[0060] In this embodiment, Figure 3 As shown, step S110 may include the following steps:

[0061] In step S301, a connection is established with a smart device worn or carried by a user that is monitoring the sleep stage of the user in real time.

[0062] It should be understood that the present embodiment does not limit the specific structure of the smart device, and any device that can be worn on the user's body or carried by the user and can monitor the user's sleep stage in real time can be used as the smart device of the present embodiment, which may include but is not limited to smartphones, bracelets, smart watches, etc. For example, for a smartphone, an application for real-time monitoring of the user's sleep stage can be installed, and the user's sleep stage can be monitored in real time via the application.

[0063] In addition, the smart device and the execution subject of the sleep control method of this embodiment, such as an electronic device, can establish a connection between the two through authorized pairing. Of course, any other suitable existing connection method can also be used to establish a connection between the two, which will not be elaborated in detail in this embodiment.

[0064] In step S302, it is monitored in real time whether the user turns on the sleep mode. Once it is detected that the user turns on the sleep mode, the real-time monitoring result of the sleep stage is obtained from the smart device.

[0065] In step S303, it is determined whether the user terminates the sleep mode. If it is determined that the user terminates the sleep mode, step S305 is executed. Otherwise, step S304 is executed.

[0066] In step S304, the acquired monitoring result is used as the sleep stage determination result.

[0067] In step S305, the determination of the sleep stage of the user is terminated.

[0068] Since the user has terminated the sleep mode, there is no need to execute the sleep control method of this embodiment, and there is no need to obtain the sleep stage of the user, so the sleep mode can be terminated. Figure 3 process processing.

[0069] Therefore, we can use Figure 3 The method shown is used to obtain the user's sleep stage in real time.

[0070] In a possible implementation, the sleep stage of the user may be obtained in the following manner: the sleep stage of the user is obtained from a sensor disposed on the bedding used by the user for real-time monitoring of the sleep stage of the user.

[0071] In this embodiment, Figure 4 As shown, step S110 may include the following steps:

[0072] In step S401, a connection is established with a sensor provided on the bedding used by the user for real-time monitoring of the sleep stage of the user.

[0073] It should be understood that the present embodiment does not impose any restrictions on the specific form of bedding. As long as a sensor can be provided for real-time monitoring of the user's sleep stage, it can be used as a sleep monitoring sensor in the present embodiment, and the present embodiment does not impose any restrictions on the specific location of the sensor.

[0074] In addition, the sensor and the subject executing the sleep control method of this embodiment, such as an electronic device, can be connected by authorized pairing. Of course, any other suitable existing connection method can also be used to establish the connection between the two, which will not be elaborated in detail in this embodiment.

[0075] In step S402, it is monitored in real time whether the user turns on the sleep mode. Once it is detected that the user turns on the sleep mode, the real-time monitoring result of the sleep stage is obtained from the smart device.

[0076] In step S403, it is determined whether the user terminates the sleep mode. If it is determined that the user terminates the sleep mode, step S405 is executed. Otherwise, step S404 is executed.

[0077] In step S404, the acquired monitoring result is used as the sleep stage determination result.

[0078] In step S405, the determination of the sleep stage of the user is ended.

[0079] Since the user has terminated the sleep mode, there is no need to execute the sleep control method of this embodiment, and there is no need to obtain the sleep stage of the user, so the sleep mode can be terminated. Figure 4 process processing.

[0080] Therefore, we can use Figure 4 The method shown is used to obtain the user's sleep stage in real time.

[0081] After the sleep stage of the user is obtained, step S130 is continued.

[0082] In step S130 (corresponding to the control step), the operation of the fresh air module and the oxygen production module is controlled according to the sleep demand corresponding to the sleep stage of the user.

[0083] In this embodiment, considering that the user is in different sleep stages, he may need sleep environment parameters adapted to the sleep stage. These sleep environment parameters mainly include indoor air quality parameters such as PM 2.5 and CO2 and indoor oxygen concentration, and these parameters should be able to be adjusted through the fresh air module and the oxygen production module. Therefore, according to the sleep stage of the user, the sleep needs adapted to the sleep stage can be determined, and the operation of the fresh air module and the oxygen production module can be controlled according to the sleep environment parameters matching the sleep needs.

[0084] For example, the falling asleep stage and the light sleep stage are most sensitive to environmental noise, so their sleep needs may be to minimize the environmental noise, and thus the operation of the fresh air module and the oxygen production module may be controlled according to the control principle of not increasing the environmental noise.

[0085] For example, the sensitivity to sound changes in the deep sleep stage and the deep sleep stage is reduced, so their sleep needs can be to adjust the indoor air quality to a direction that is easier to sleep within an allowable noise range. Therefore, the operation of the fresh air module and the oxygen production module can be controlled according to the control principle that even if a certain amount of noise may be generated, the indoor air quality parameters can be optimized to parameters that are easier to sleep.

[0086] Optionally, the sensitivity of the deep sleep and deep sleep stages to temperature changes is also reduced, so their sleep needs can be to adjust the indoor temperature to a direction that is easier to sleep within an allowable noise range. The operation of the air conditioner can be controlled according to the control principle that even if a certain amount of noise may be generated, the indoor temperature can be optimized to a temperature that is easier to sleep.

[0087] For example, the REM stage is sensitive to noise, so its sleep needs may be to make the environmental noise as small as possible while adjusting the indoor air quality to a direction that is easier to sleep. Therefore, the operation of the fresh air module and the oxygen production module can be controlled according to the control principle of reducing noise as much as possible and optimizing the indoor air quality parameters to parameters that are easier to sleep.

[0088] Optionally, the REM stage is also sensitive to temperature, so its sleep needs can be to make the environmental noise as small as possible while prompting the indoor temperature to be adjusted in a direction that is easier to sleep. Therefore, the operation of the air conditioner can be controlled according to the control principle of optimizing the indoor temperature to a temperature that is easier to sleep while reducing noise as much as possible.

[0089] In one application scenario, such as Figure 5As shown, the air conditioner includes an air conditioner indoor unit and an air conditioner outdoor unit. The air conditioner outdoor unit is equipped with an oxygen production module. The oxygen generated by the oxygen production module when in operation is blown into the room through the air conditioner indoor unit via an oxygen pipe to increase the oxygen content in the room. A fresh air fan is also provided indoors, which can introduce outdoor air into the room through the air inlet and can exhaust indoor air to the outside through the exhaust port. When the user is lying in bed and sleeping, the user's sleep stage can be obtained, and the user's current sleep needs can be determined according to the sleep stage, such as minimizing environmental noise, etc. The operation of the fresh air fan and the oxygen production module can be controlled according to the sleep needs. Of course, the operation of the air conditioner can also be controlled to adjust the indoor temperature.

[0090] According to this embodiment, the sleep stage of the user (such as falling asleep stage, light sleep stage, deep sleep stage, deep sleep stage, rapid eye movement stage) is obtained in real time, and the operation of the fresh air module and the oxygen production module is controlled according to the sleep needs corresponding to the sleep stage of the user. As a result, a sleeping environment that is more suitable for the sleep needs corresponding to the sleep stage can be provided to the user, and the specific needs of different sleep stages for the environment can be met, thereby improving the sleep quality. Therefore, a more comfortable environment that is easier to improve the sleep quality can be provided to the user.

[0091] In a possible implementation, the control step may include: when the user is in a sleeping stage or a light sleeping stage, controlling the oxygen production module to turn off, and controlling the fresh air module to operate in a first fresh air mode with an air volume lower than a first air volume threshold.

[0092] In this embodiment, after obtaining the sleep stage of the user, the following operations may be performed: Figure 6 The processing shown in the figure is used to control the operation of the fresh air module and the oxygen production module. Figure 6 As shown, in step S601, it is determined whether the sleep stage of the user is the falling asleep stage or the light sleep stage. If it is determined to be "yes", step S602 is executed, otherwise, step S604 is executed. In step S602, the oxygen production module is controlled to be turned off. Then, step S603 is executed. In step S603, the fresh air module is controlled to run at a low windshield. Among them, the low windshield corresponds to the first fresh air mode.

[0093] It should be understood that the fresh air module is divided into low windshield mode, medium windshield mode and high windshield mode according to the air volume. Of course, other mode division principles can also be used to subdivide the working modules of the fresh air module. The first fresh air mode is the working mode with the lowest air volume.

[0094] According to this embodiment, considering that the falling asleep stage and the light sleep stage are most sensitive to environmental noise, and the user's metabolic activity is low, oxygen consumption is reduced, and the demand for oxygen is low, therefore, during the two stages of the user being in the falling asleep stage and the light sleep stage, the oxygen production module can be controlled to be turned off to avoid the noise generated by the oxygen production module being started to produce oxygen, and the fresh air module can be controlled to operate in a low windshield mode to minimize the noise generated by the operation of the fresh air module. In this way, a sleeping environment with as little environmental noise as possible and better indoor air quality can be provided to the user in the falling asleep stage and the light sleep stage.

[0095] In a possible implementation, when the user is in the falling asleep stage or the light sleep stage, the temperature of the air conditioner can also be controlled to be a first temperature value. Exemplarily, when the air conditioner is in heating mode, the first temperature value falls within the temperature range of [17, 19]°C, such as the first temperature value is 18°C, and when the air conditioner is in cooling mode, the first temperature value falls within the temperature range of [24, 26]°C, such as the first temperature value is 25°C.

[0096] According to this embodiment, considering that when the user is in the falling asleep stage and the light sleep stage, if the indoor temperature can be adjusted to a temperature that is easier to fall asleep, it will be beneficial to the user's sleep. Therefore, during the two stages of the user being in the falling asleep stage and the light sleep stage, the air conditioner can be controlled to turn on and operate in a manner of setting the temperature to the first temperature value. For example, the temperature of the air conditioner can be set to 18°C ​​in winter, and the temperature of the air conditioner can be set to 25°C in summer. As a result, a sleeping environment with as little ambient noise as possible, better indoor air quality, and more comfortable indoor temperature can be provided to users in the falling asleep stage and the light sleep stage.

[0097] In a possible implementation, the control step may include: when the user is in a deep sleep stage or a deep sleep stage, controlling the oxygen production module to operate in a first oxygen production mode with an indoor oxygen concentration target value being a first target value, and determining the operation mode of the fresh air module according to first air quality data representing indoor PM2.5 concentration and second air quality data representing indoor CO2 concentration acquired in real time. Exemplarily, the first target value is 21.5%.

[0098] In this embodiment, after obtaining the sleep stage of the user, the following operations may be performed: Figure 6 The processing shown in the figure is used to control the operation of the fresh air module and the oxygen production module. Figure 6As shown, in step S604, it is determined whether the sleep stage of the user is a deep sleep stage or a deep sleep stage. If it is determined to be "yes", step S605 is executed, otherwise, step S610 is executed. In step S605, the oxygen production module is controlled to operate in daily mode. Among them, the daily mode corresponds to the first oxygen production mode. Optionally, indoor oxygen concentration data can be obtained from a sensor of the indoor unit of the air conditioner, such as an oxygen concentration sensor, for use in the control of the daily mode operation of the oxygen production module. Then, the indoor PM2.5 concentration data is obtained from a sensor of the fresh air module, such as a PM2.5 concentration sensor, and the indoor CO2 concentration data is obtained from a sensor of the fresh air module, such as a CO2 concentration sensor, and the operation mode of the fresh air module is controlled according to the obtained data.

[0099] In a possible implementation, determining the operation mode of the fresh air module according to the first air quality data representing the indoor PM2.5 concentration and the second air quality data representing the indoor CO2 concentration acquired in real time includes: judging whether the first air quality data is higher than the first air quality threshold; if it is judged that the first air quality data is higher than the first air quality threshold, controlling the fresh air module to operate in the second fresh air mode with an air volume higher than the second air volume threshold, wherein the second air volume threshold is greater than the first air volume threshold. Exemplarily, the first air quality threshold is 75μg / m 3 .

[0100] like Figure 6 As shown, after step S605, steps S606 to S608 are executed to determine the operation mode of the fresh air module. Specifically, in step S606, it is determined whether the indoor PM2.5 concentration data is lower than the threshold value Th1 (corresponding to the first air quality threshold value). If it is determined to be "yes", step S607 is executed, otherwise, step S608 is executed. In step S608, the fresh air module is controlled to operate in high wind speed mode. The high wind speed mode corresponds to the above-mentioned second fresh air mode, and it should be understood that the high wind speed mode is the mode with the highest air volume of the fresh air module.

[0101] In a possible implementation, determining the operation mode of the fresh air module according to the first air quality data representing the indoor PM2.5 concentration and the second air quality data representing the indoor CO2 concentration acquired in real time includes: if it is determined that the first air quality data is not higher than the first air quality threshold, further determining whether the second air quality data is higher than the second air quality threshold; if it is determined that the second air quality data is higher than the second air quality threshold, controlling the fresh air module to operate in the second fresh air mode; if it is determined that the second air quality data is not higher than the second air quality threshold, controlling the fresh air module to operate in a third fresh air mode with an air volume higher than the first air volume threshold but lower than the second air volume threshold. Exemplarily, the second air quality threshold is 1000ppm.

[0102] like Figure 6 As shown, in step S607, it is determined whether the indoor CO2 concentration data is lower than the threshold value Th2 (corresponding to the second air quality threshold value). If it is determined to be "yes", step S609 is executed, otherwise, step S608 is executed. In step S609, the fresh air module is controlled to operate in the medium wind mode. The medium wind mode corresponds to the third fresh air mode mentioned above. It should be understood that the medium wind mode is a mode with medium wind volume among the three operating modes of the fresh air module, that is, the wind volume is greater than the wind volume of the low wind mode but less than the wind volume of the high wind mode.

[0103] According to this embodiment, considering that the sensitivity to sound changes in the deep sleep stage and the deep sleep stage is reduced, these two stages are the cell repair tube machine, the body repairs muscle tissue to increase immune function, and patients with sleep apnea are prone to apnea, therefore, during the two stages of the user being in the deep sleep stage and the deep sleep stage, the oxygen production module can be controlled to open to increase the indoor oxygen concentration, which can be beneficial to improve the efficiency of tissue repair and help improve sleep. At the same time, the fresh air module can be controlled to open to dynamically control the operation mode of the fresh air module according to the indoor PM2.5 concentration data and the indoor CO2 concentration data to improve the indoor air quality, thereby helping to improve sleep. As a result, a sleeping environment with sufficient indoor oxygen and better indoor air quality can be provided to users in the deep sleep stage and the deep sleep stage.

[0104] In a possible implementation, when the user is in a deep sleep stage or a deep sleep stage, the temperature of the air conditioner can also be controlled to be a second temperature value. Exemplarily, when the air conditioner is in heating mode, the second temperature value is 1°C lower than the first temperature value, such as the first temperature value is 18°C ​​and the second temperature value is 17°C. When the air conditioner is in cooling mode, the second temperature value is 1°C higher than the first temperature value, such as the first temperature value is 25°C and the second temperature value is 26°C.

[0105] According to this embodiment, considering that when the user is in a deep sleep stage or a deep sleep stage, if the indoor temperature can be adjusted to a temperature that is easier to sleep, it will be beneficial to the user's sleep. Therefore, during the two stages of the user being in a deep sleep stage or a deep sleep stage, the air conditioner can be controlled to turn on and operate in a manner of setting the temperature to the second temperature value. For example, the temperature of the air conditioner can be set to 17°C in winter, and the temperature of the air conditioner can be set to 26°C in summer. Thus, a sleeping environment with sufficient indoor oxygen, better indoor air quality, and more comfortable indoor temperature can be provided to users in a deep sleep stage or a deep sleep stage.

[0106] In a possible implementation, the control step includes: when the sleep stage of the user is a rapid eye movement stage, controlling the oxygen production module to operate in a second oxygen production mode with an indoor oxygen concentration target value being a second target value, and controlling the fresh air module to operate in a first fresh air mode with an air volume lower than a first air volume threshold, wherein the second target value is greater than the first target value. Exemplarily, the second target value is 22%.

[0107] like Figure 6 As shown, in step S610, it is determined that the sleep stage of the user is the REM stage. Then, step S611 is executed to control the oxygen production module to operate in the motion mode, and step S612 is executed to control the fresh air module to operate in the low windshield mode. Among them, the motion mode corresponds to the second oxygen production mode. The oxygen concentrations corresponding to the first oxygen production mode and the second oxygen production mode are different. The oxygen concentration generated when the oxygen production module operates in the first oxygen production mode is lower than the oxygen concentration generated when the oxygen production module operates in the second oxygen production mode.

[0108] According to this embodiment, when the user is in the REM stage, the REM stage is sensitive to noise, the brain activity increases, and the oxygen consumption is high. Therefore, during the REM stage, the fresh air module can be controlled to operate in a low windshield mode to reduce noise, and the oxygen production module can be controlled to be turned on to further increase the indoor oxygen concentration, so as to help maintain sleep quality and reduce the number of sudden awakenings caused by dyspnea in the REM stage. In this way, a sleeping environment with as little environmental noise as possible and high indoor oxygen concentration can be provided to the user in the REM stage.

[0109] In a possible implementation, when the user is in the REM stage of sleep, the temperature of the air conditioner can also be controlled to be a second temperature value. Exemplarily, when the air conditioner is in heating mode, the second temperature value is 1°C lower than the first temperature value, such as the first temperature value is 18°C ​​and the second temperature value is 17°C. When the air conditioner is in cooling mode, the second temperature value is 1°C higher than the first temperature value, such as the first temperature value is 25°C and the second temperature value is 26°C.

[0110] According to this embodiment, considering that the user is sensitive to temperature when in the REM stage, the air conditioner can be controlled to operate in a manner of maintaining the temperature set to the second temperature value during the REM stage to prevent the user from waking up suddenly due to temperature changes. Thus, a sleeping environment with minimal ambient noise, high indoor oxygen concentration, and constant indoor temperature can be provided to the user in the REM stage.

[0111] Therefore, the present disclosure controls the operation of the fresh air module, oxygen production module and / or air conditioner according to the sleep stage of the user acquired in real time, thereby ensuring the user's healthy sleep, continuous access to healthy air after falling asleep, achieving adequate oxygen supply, and efficient sleep to restore fatigue. In this way, it is possible to provide users with adaptive indoor air quality parameters and temperatures according to their sleep stages, meet the specific environmental requirements of different sleep stages, and improve sleep quality. Moreover, by comprehensively considering the indoor air quality and outdoor air quality, the operating parameters of the fresh air module are adjusted to effectively improve the indoor air quality and create a healthy sleeping environment for users.

[0112] In addition, the air conditioning operation mode is determined according to the indoor and outdoor temperatures to ensure that the temperature of the sleeping environment is suitable and improve the comfort of sleep. Moreover, the indoor oxygen content is adjusted through the operation of the oxygen production module, thereby changing the indoor air quality parameters, and then feedback controls the operation parameters of the fresh air module to achieve dynamic balance and precise control of the entire system, thereby ensuring that the sleeping environment is always in a good state.

[0113] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not go into details.

[0114] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0115] Figure 7 A block diagram of a sleep control device according to an embodiment of the present disclosure is shown. Figure 7As shown, the sleep control device 700 includes an acquisition module 710 and a control module 730. The acquisition module 710 is used to acquire the sleep stage of the user, wherein the sleep stage includes the falling asleep stage and the light sleep stage which are most sensitive to environmental noise, the deep sleep stage and the deep sleep stage which are less sensitive to changes in environmental sound, and the rapid eye movement stage which is sensitive to environmental noise. The control module 730 is connected to the control module 730, and is used to control the operation of the fresh air module 750 and the oxygen production module 770 according to the sleep demand corresponding to the sleep stage of the user.

[0116] In one possible implementation, the control module 730 is configured to: when the user is in the falling asleep stage or the light sleep stage, control the oxygen production module 770 to turn off, and control the fresh air module 750 to operate in the first fresh air mode with an air volume lower than a first air volume threshold.

[0117] In a possible implementation, the control module 730 is configured to: when the sleep stage of the user is the falling asleep stage or the light sleep stage, further control the temperature of the air conditioner 790 to be a first temperature value.

[0118] In a possible implementation, when the air conditioner is turned on in heating mode, the first temperature value falls within the temperature range of [17,19]°C, for example, the first temperature value is 18°C; when the air conditioner is turned on in cooling mode, the first temperature value falls within the temperature range of [24,26]°C, for example, the first temperature value is 25°C.

[0119] In one possible implementation, the control module 730 is configured to: when the user is in a deep sleep stage or a deep sleep stage, control the oxygen production module 770 to operate in a first oxygen production mode in which the indoor oxygen concentration target value is a first target value, and determine the operation mode of the fresh air module 750 according to first air quality data representing the indoor PM2.5 concentration and second air quality data representing the indoor CO2 concentration acquired in real time.

[0120] In a possible implementation manner, the first target value is 21.5%.

[0121] In one possible implementation, the control module 730 is configured to: determine whether the first air quality data is higher than a first air quality threshold; if it is determined that the first air quality data is higher than the first air quality threshold, control the fresh air module 750 to operate in a second fresh air mode with an air volume higher than a second air volume threshold, wherein the second air volume threshold is greater than the first air volume threshold.

[0122] In a possible implementation, the first air quality threshold is 75 μg / m 3 .

[0123] In one possible implementation, the control module 730 is configured as follows: if it is determined that the first air quality data is not higher than the first air quality threshold, then further determine whether the second air quality data is higher than the second air quality threshold; if it is determined that the second air quality data is higher than the second air quality threshold, then control the fresh air module 750 to operate in the second fresh air mode; if it is determined that the second air quality data is not higher than the second air quality threshold, then control the fresh air module 750 to operate in a third fresh air mode in which the air volume is higher than the first air volume threshold but lower than the second air volume threshold.

[0124] In a possible implementation, the second air quality threshold is 1000 ppm.

[0125] In a possible implementation, the control module 730 is configured to: when the sleep stage of the user is a deep sleep stage or a deep sleep stage, further control the temperature of the air conditioner 790 to be a second temperature value.

[0126] In a possible implementation, when the air conditioner is turned on in heating mode, the second temperature value is 1°C lower than the first temperature value, for example, the second temperature value is 17°C; when the air conditioner is turned on in cooling mode, the second temperature value is 1°C higher than the first temperature value, for example, the second temperature value is 26°C. When the user is in the falling asleep stage or the light sleep stage, the temperature of the air conditioner is controlled to the first temperature value.

[0127] In one possible implementation, the control module 730 is configured to: when the user is in a rapid eye movement sleep stage, control the oxygen production module 770 to operate in a second oxygen production mode in which the indoor oxygen concentration target value is a second target value, and control the fresh air module 750 to operate in a first fresh air mode in which the air volume is lower than a first air volume threshold, wherein the second target value is greater than the first target value.

[0128] In a possible implementation manner, the second target value is 22%.

[0129] In a possible implementation, when the user is in the rapid eye movement sleep stage, the temperature of the air conditioner is also controlled to be the second temperature value.

[0130] In a possible implementation, the acquisition module 710 is configured to: in each sleep cycle, calculate the time length between the moment of acquiring the sleep stage of the user and the first moment, wherein the first moment is the moment after a time threshold has passed since the start moment of the sleep cycle; determine which interval the time length falls into among the first interval [0,30], the second interval [31,60], the third interval [61,80], and the fourth interval [81,90]; if it is determined that the time length falls into the first interval or the third interval, the sleep stage of the user is acquired as the light sleep stage; if it is determined that the time length falls into the second interval, the sleep stage of the user is acquired as the deep sleep stage or the deep sleep stage; if it is determined that the time length falls into the fourth interval, the sleep stage of the user is acquired as the rapid eye movement stage; if the time threshold has not passed since the start moment of the sleep cycle, the sleep stage of the user is acquired as the falling asleep stage.

[0131] In one possible implementation, the acquisition module 710 is configured to: obtain the user's sleep stage from a smart device worn by the user that is monitoring the user's sleep stage in real time; and / or obtain the user's sleep stage from a sensor provided on the bedding used by the user for monitoring the user's sleep stage in real time.

[0132] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0133] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0134] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0135] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0136] Figure 88 is a block diagram of an apparatus 800 for a sleep control method according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0137] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 (I / O interface), a sensor component 814 , and a communication component 816 .

[0138] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0139] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0140] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0141] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0142] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0143] The input / output interface 812 provides an interface between the processing component 802 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0144] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0145] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0146] In an exemplary embodiment, the apparatus 800 may be implemented by 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), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0147] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by the processor 820 of the device 800 to perform the above method.

[0148] Fig. 9 1 is a block diagram of a device 1900 for a sleep control method according to an exemplary embodiment. For example, the device 1900 may be provided as a server or a terminal device. Fig. 9 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0149] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSDTM or similar.

[0150] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.

[0151] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A sleep control method, characterized in that: include: An acquisition step for acquiring the sleep stage of the user, wherein the sleep stage includes a falling asleep stage and a light sleep stage which are most sensitive to environmental noise, a deep sleep stage and a deep sleep stage which are less sensitive to changes in environmental sound, and a rapid eye movement stage which is sensitive to environmental noise; The control step is used to control the operation of the fresh air module and the oxygen production module according to the sleep needs corresponding to the sleep stage of the user.

2. The method according to claim 1, characterized in that The control step comprises: When the user is in the sleeping stage or the light sleeping stage, the oxygen production module is controlled to be turned off, and the fresh air module is controlled to operate in the first fresh air mode with an air volume lower than a first air volume threshold.

3. The method according to claim 2, characterized in that When the user is in the sleeping stage or the light sleeping stage, the temperature of the air conditioner is also controlled to be a first temperature value.

4. The method according to claim 3, characterized in that: When the air conditioner is turned on in heating mode, the first temperature value falls within the temperature range of [17, 19]°C. When the air conditioner is turned on in cooling mode, the first temperature value falls within the temperature range of [24, 26]°C.

5. The method according to any one of claims 1 to 4, characterized in that: The control step comprises: When the user is in a deep sleep stage or a deep sleep stage, the oxygen production module is controlled to operate in a first oxygen production mode in which the indoor oxygen concentration target value is a first target value, and the operation mode of the fresh air module is determined according to first air quality data representing the indoor PM2.5 concentration and second air quality data representing the indoor CO2 concentration acquired in real time.

6. The method according to claim 5, characterized in that The first target value is 21.5%.

7. The method according to claim 5, characterized in that Determining the operation mode of the fresh air module according to first air quality data representing indoor PM2.5 concentration and second air quality data representing indoor CO2 concentration acquired in real time includes: Determining whether the first air quality data is higher than a first air quality threshold; If it is determined that the first air quality data is higher than the first air quality threshold, the fresh air module is controlled to operate in a second fresh air mode with an air volume higher than a second air volume threshold, wherein the second air volume threshold is greater than the first air volume threshold.

8. The method according to claim 7, characterized in that The first air quality threshold is 75 μg / m 3 .

9. The method according to claim 7, characterized in that: Determining the operation mode of the fresh air module according to first air quality data representing indoor PM2.5 concentration and second air quality data representing indoor CO2 concentration acquired in real time includes: If it is determined that the first air quality data is not higher than the first air quality threshold, further determining whether the second air quality data is higher than a second air quality threshold; If it is determined that the second air quality data is higher than the second air quality threshold, controlling the fresh air module to operate in the second fresh air mode; If it is determined that the second air quality data is not higher than the second air quality threshold, the fresh air module is controlled to operate in a third fresh air mode in which the air volume is higher than the first air volume threshold but lower than the second air volume threshold.

10. The method according to claim 9, characterized in that The second air quality threshold is 1000 ppm.

11. The method according to any one of claims 5 to 10, characterized in that When the user is in a deep sleep stage or a deep sleep stage, the temperature of the air conditioner is also controlled to be a second temperature value.

12. The method according to claim 11, characterized in that When the air conditioner is turned on in heating mode, the second temperature value is 1°C lower than the first temperature value; when the air conditioner is turned on in cooling mode, the second temperature value is 1°C higher than the first temperature value. When the user is in the falling asleep stage or the light sleep stage, the temperature of the air conditioner is controlled to the first temperature value.

13. The method according to any one of claims 1 to 12, characterized in that The control step comprises: When the user is in the rapid eye movement sleep stage, the oxygen production module is controlled to operate in a second oxygen production mode in which the indoor oxygen concentration target value is a second target value, and the fresh air module is controlled to operate in a first fresh air mode in which the air volume is lower than a first air volume threshold, wherein the second target value is greater than the first target value.

14. The method according to claim 13, characterized in that The second target value is 22%.

15. The method according to claim 13, characterized in that When the user is in the rapid eye movement sleep stage, the temperature of the air conditioner is also controlled to be a second temperature value.

16. The method according to claim 15, characterized in that When the air conditioner is turned on in heating mode, the second temperature value is 1°C lower than the first temperature value; when the air conditioner is turned on in cooling mode, the second temperature value is 1°C higher than the first temperature value. When the user is in the falling asleep stage or the light sleep stage, the temperature of the air conditioner is controlled to the first temperature value.

17. The method according to any one of claims 1 to 16, characterized in that The obtaining step comprises: In each sleep cycle, calculating the time length between the moment when the user's sleep stage is obtained and a first moment, wherein the first moment is a moment after a time threshold has passed since the start of the sleep cycle; Determine whether the time length falls into a first interval [0, 30], a second interval [31, 60], a third interval [61, 80], or a fourth interval [81, 90]; If it is determined that the time length falls within the first interval or the third interval, it is obtained that the sleep stage of the user is a light sleep stage; If it is determined that the time length falls within the second interval, it is obtained that the sleep stage of the user is a deep sleep stage or a deep sleep stage; If it is determined that the time length falls within the fourth interval, it is obtained that the sleep stage of the user is the rapid eye movement stage; If the time threshold has not passed since the start time of the sleep cycle, it is obtained that the sleep stage of the user is the falling asleep stage.

18. The method according to any one of claims 1 to 16, characterized in that The obtaining step comprises: Obtaining the sleep stage of the user from a smart device worn by the user that is monitoring the sleep stage of the user in real time; and / or The sleeping stage of the user is obtained from a sensor disposed on the bedding used by the user for real-time monitoring of the sleeping stage of the user.

19. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 18 when executing the instructions stored in the memory.

20. A sleep control system, characterized in that: include: The electronic device according to claim 19, the fresh air module and the oxygen production module.

21. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 18 is implemented.