A double sleep monitoring method based on smart mattress and related products
Smart mattresses solve the conflict between the sleep needs of those who are sleeping and those who are awake in a double sleep situation by monitoring sound intensity and sleep depth, setting thresholds and sending prompts or adjusting light wake-up methods, thereby improving the level of intelligence.
Patent Information
- Application Number
- CN202211346647.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-10-31
AI Technical Summary
In a double sleeping scenario, the awake person wants to engage in activities that help with sleep without waking up the sleeping person. Existing technology makes it difficult to meet the sleep needs of two people at the same time.
The smart mattress monitors the sound intensity of awake people, sets a sound intensity threshold, sends a reminder message to the awake person when the threshold is exceeded, and adjusts the lighting or wake-up method according to the depth of sleep to avoid waking up the sleeping person.
It achieves the goal of meeting the sleep needs of people who are awake without waking up the sleeping people, and improves the intelligence level of smart mattresses in double sleep monitoring.
Smart Images

Figure CN115644636B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a double sleep monitoring method based on a smart mattress and related products. Background Art
[0002] In the scenario of two people sleeping together, since the two people have different schedules and sleep depths, when one person is sleeping and the other is awake, the awake person often wants to do some activities that help sleep before going to bed, but is worried about waking up the sleeping person. Therefore, in order to meet the sleep needs of both people at the same time, a method for realizing double sleep monitoring is needed, which can prevent the sleeping person from being disturbed and allow the awake person to do some bedtime activities that help sleep accordingly. Summary of the Invention
[0003] The embodiments of the present application disclose a double sleep monitoring method based on a smart mattress and related products. When the smart mattress detects that the sound intensity of a person who is awake is too high, it can promptly issue a prompt message to avoid waking up the sleeping person, thereby meeting the sleep needs of two people at the same time and improving the intelligence level of the smart mattress for double sleep monitoring.
[0004] The present application discloses a method for monitoring sleep of two people based on a smart mattress. The smart mattress includes a first sleeping area and a second sleeping area. The first sleeping area is the sleeping area of a first user, and the second sleeping area is the sleeping area of a second user. The method includes:
[0005] When it is detected that the first user is in a sleeping state and the second user is in an awake state, obtaining a historical sleep depth of the first user; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period;
[0006] determining a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold;
[0007] When it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold, a prompt message is sent to the second user.
[0008] As an optional implementation manner, when it is detected that the sound intensity of the second user exceeds the first sound intensity threshold, after sending the prompt information to the second user, the method further includes:
[0009] After detecting that the second user turns on the smart light linked to the smart mattress, obtaining the real-time sleep depth of the first user;
[0010] When it is detected that the real-time sleep depth of the first user decreases by more than a threshold value within a unit time, the brightness of the smart light is controlled to decrease.
[0011] As an optional implementation, after detecting that the second user turns on the smart light linked to the smart mattress and obtaining the real-time sleep depth of the first user, the method further includes:
[0012] When it is detected that the real-time sleep depth of the first user is lower than a first sleep depth threshold, the smart light is controlled to be turned off.
[0013] As an optional implementation, the method further includes:
[0014] When detecting that the current time is the first user's wake-up time, obtaining the second user's historical sleep depth; the second user's historical sleep depth is the average of the second user's sleep depths within the specified historical time period;
[0015] determining a second sound intensity threshold based on the second user's historical sleep depth; the second sound intensity threshold being a maximum sound intensity that does not wake the second user; wherein the second user's historical sleep depth is positively correlated with the second sound intensity threshold;
[0016] When the first sound intensity threshold is lower than the second sound intensity threshold, controlling the first sleeping area to emit a wake-up sound to wake up the first user; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold;
[0017] When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, the first sleeping area is controlled to vibrate to wake up the first user.
[0018] As an optional implementation manner, when the first sound intensity threshold is higher than or equal to the second sound intensity threshold, controlling the first sleeping area to vibrate to wake up the first user includes:
[0019] When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, obtaining a historical wake-up record of the first user; the historical wake-up record of the first user includes a historical sleep depth of the first user each time the first user was awakened by vibration within the specified historical time period and a historical vibration intensity corresponding to the historical sleep depth;
[0020] Obtaining a target vibration intensity that matches the first user's real-time sleep depth from the historical wake-up record;
[0021] The first sleeping area is controlled to vibrate according to the target vibration intensity to wake up the first user.
[0022] The present application discloses an intelligent mattress, which includes a first sleeping area and a second sleeping area. The first sleeping area is a sleeping area for a first user, and the second sleeping area is a sleeping area for a second user. The intelligent mattress includes:
[0023] an acquisition module, configured to acquire a historical sleep depth of the first user when detecting that the first user is in a sleeping state and the second user is in an awake state; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period;
[0024] a determination module, configured to determine a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold;
[0025] The sending module is configured to send a prompt message to the second user when it is detected that the sound intensity of the second user exceeds the first sound intensity threshold.
[0026] The present application discloses another smart mattress, which includes:
[0027] a memory storing executable program code;
[0028] a processor coupled to the memory;
[0029] The processor calls the executable program code stored in the memory to implement any one of the double sleep monitoring methods based on the smart mattress disclosed in the embodiments of the present application.
[0030] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, any one of the double sleep monitoring methods based on a smart mattress disclosed in the embodiment of the present application is implemented.
[0031] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0032] In an embodiment of the present application, the smart mattress includes a first sleeping area serving as a sleeping area for a first user and a second sleeping area serving as a sleeping area for a second user. When the first user is detected to be asleep and the second user is awake, the average of the first user's sleep depths over a specified historical period is used as the first user's historical sleep depth. Based on the first user's historical sleep depths, a maximum sound intensity that does not wake the first user is determined as a first sound intensity threshold. The first user's historical sleep depth is positively correlated with the first sound intensity threshold. When it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold, a prompt message is sent to the second user. In an embodiment of the present application, when the smart mattress detects that the sound intensity emitted by a person who is awake is too high, a prompt message is sent in a timely manner to avoid waking the sleeping person, thereby meeting the sleep needs of both people at the same time and improving the intelligence of the smart mattress for double sleep monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 This is a flow chart of a first embodiment of a method for monitoring double sleep based on a smart mattress disclosed in an embodiment of the present application;
[0035] Figure 2 This is a flow chart of a second embodiment of a method for monitoring double sleep based on a smart mattress disclosed in an embodiment of the present application;
[0036] Figure 3 This is a flow chart of a third embodiment of the method for monitoring double sleep based on a smart mattress disclosed in the embodiments of the present application;
[0037] Figure 4 1 is a schematic structural diagram of a first embodiment of a smart mattress disclosed in an embodiment of the present application;
[0038] Figure 5 It is a structural diagram of the second embodiment of the smart mattress disclosed in the embodiments of this application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0040] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0041] The embodiments of the present application disclose a double sleep monitoring method based on a smart mattress and related products. When the smart mattress detects that the sound intensity of a person who is awake is too high, it can promptly issue a prompt message to avoid waking up the sleeping person, thereby meeting the sleep needs of two people at the same time and improving the intelligence level of the smart mattress for double sleep monitoring.
[0042] See also Figure 1 , Figure 1 This is a flow chart of a first embodiment of a method for monitoring double sleep based on a smart mattress disclosed in an embodiment of the present application. The smart mattress includes a first sleeping area and a second sleeping area. The first sleeping area is the sleeping area of the first user, and the second sleeping area is the sleeping area of the second user. Figure 1 As shown, the double sleep monitoring method based on the smart mattress may include the following steps:
[0043] 101. When the smart mattress detects that a first user is in a sleeping state and a second user is in an awake state, the smart mattress obtains the historical sleep depth of the first user.
[0044] The historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period.
[0045] The specified historical duration may be a user-defined parameter or a system default parameter. For example, the specified historical duration may be 1 month, with no specific limitation.
[0046] In some optional embodiments, when the smart mattress detects that the first user is in a sleeping state and the second user is in an awake state, before obtaining the historical sleep depth of the first user, the smart mattress further performs the following steps:
[0047] The smart mattress determines whether the first user and the second user are in a sleeping state or a waking state;
[0048] Specifically, the smart mattress determines whether the first user is in a sleeping state or a waking state, including:
[0049] The smart mattress detects whether the duration for which the display screen of the mobile terminal bound to the first user is in the bright screen state exceeds a preset duration; wherein the preset duration may be 2 minutes, which is not specifically limited; if the duration for which the display screen of the mobile terminal bound to the first user is in the bright screen state exceeds the preset duration, it is determined that the first user is in an awake state; if the duration for which the display screen of the mobile terminal bound to the first user is in the bright screen state does not exceed the preset duration, three-axis acceleration data of the wearable device bound to the first user is obtained, and whether the first user is in a sleeping state or an awake state is determined based on the three-axis acceleration data; and / or, a pressure value detected by a pressure sensor corresponding to the first sleeping area is obtained, and whether the first user is in a sleeping state or an awake state is determined based on the pressure value detected by the pressure sensor corresponding to the first sleeping area;
[0050] Specifically, the smart mattress determines whether the second user is in a sleeping state or a waking state in the same manner as the smart mattress determines whether the first user is in a sleeping state or a waking state, and details are not repeated here.
[0051] In some optional embodiments, the smart mattress may obtain the historical sleep depth of the first user by: obtaining the sleep depth of the first user during a sleep time period every day within a specified historical period; calculating an average of the sleep depths of the first user during the sleep time period every day within the specified historical period to obtain the historical sleep depth of the first user; wherein the sleep time period may be from 10 pm to 8 am, without specific limitation;
[0052] Further optionally, the smart mattress obtains the sleep depth of the first user in the sleep time period every day within a specified historical period, which may include: the smart mattress obtains the pressure value detected by the pressure sensor in the sleep time period every day within the specified historical period; calculates the change amplitude and change frequency of the pressure value within a preset time period; wherein the preset time period can be 5 minutes, which is not specifically limited; when the change amplitude of the pressure value within the preset time period is greater than the amplitude threshold and the change frequency is greater than the frequency threshold, it is determined that the sleep depth of the first user is a shallow sleep depth; when the change amplitude of the pressure value within the preset time period is greater than the amplitude threshold and the change frequency is less than the frequency threshold, it is determined that the sleep depth of the first user is a moderate sleep depth; when the change amplitude of the pressure value within the preset time period is less than the amplitude threshold and the change frequency is less than the frequency threshold, it is determined that the sleep depth of the first user is a deep sleep depth.
[0053] In other optional embodiments, the smart mattress can be connected to a wearable device carried by the first user; the smart mattress obtains the sleep depth of the first user in the sleep time period every day within a specified historical period, which may include: the smart mattress obtains the first user's heart rate, respiratory rate, body movement data and other vital signs information in the sleep time period every day within the specified historical period through the wearable device; based on the first user's heart rate, respiratory rate, body movement data and other vital signs information in the sleep time period every day within the specified historical period, obtains the sleep depth of the first user in the sleep time period every day within the specified historical period.
[0054] For example, the sleep depth of the first user in the sleep time period of each day within the specified historical duration can be divided into light sleep depth, medium sleep depth and deep sleep depth; when the sleep depth of the first user is light sleep depth, it means that the first user is easily awakened; when the sleep depth of the first user is deep sleep depth, it means that the first user is difficult to wake up; when the sleep depth of the first user is medium sleep depth, it means that the difficulty of waking up the first user is between the light sleep depth and the deep sleep depth; the smart mattress can determine the value of each sleep depth, for example, the light sleep depth is 30, the medium sleep depth is 50, and the deep sleep depth is 70; if the specified historical duration is 7 days, and the sleep depths in the sleep time period of each day within the 7 days are 30, 30, 50, 50, 70, 70, and 50 respectively, then the historical sleep depth of the first user is (30+30+50+50+70+70+50) / 7=50.
[0055] The smart mattress can determine a historical sleep depth of 30 to 40 as a shallow historical sleep depth; a historical sleep depth of 50 to 60 as a moderate historical sleep depth; and a historical sleep depth of 70 to 80 as a deep historical sleep depth.
[0056] 102. The smart mattress determines a first sound intensity threshold according to the historical sleep depth of the first user.
[0057] The first sound intensity threshold is the maximum sound intensity that does not wake up the first user; and the historical sleep depth of the first user is positively correlated with the first sound intensity threshold.
[0058] For example, the smart mattress may determine the first sound intensity threshold corresponding to the first user's historical sleep depth being a shallow historical sleep depth as 30 decibels (dB), the first sound intensity threshold corresponding to the first user's historical sleep depth being a moderate historical sleep depth as 40 decibels (dB), and the first sound intensity threshold corresponding to the first user's historical sleep depth being a deep historical sleep depth as 50 decibels (dB).
[0059] In some optional implementations, before determining the first sound intensity threshold based on the first user's historical sleep depth, the smart mattress further performs the following steps:
[0060] Obtaining the first user's customized sleep preference parameters; the customized sleep preference parameters include whether it is easy to fall asleep, whether it is easy to wake up, whether it can only fall asleep with the lights off, and other parameters;
[0061] Determine a parameter weight corresponding to the first user's historical sleep depth based on the first user's customized sleep preference parameter; for example, if the first user is easy to fall asleep, not easily awakened, and can fall asleep with the lights off, the parameter weight is the largest, for example, the parameter weight may be 1.2; if the first user is not easy to fall asleep, is easily awakened, and cannot fall asleep with the lights off, the parameter weight is the smallest, for example, the parameter weight may be 0.8;
[0062] Multiplying the historical sleep depth of the first user by the parameter weight to obtain a first sound intensity threshold;
[0063] By performing the above steps, the first sound intensity threshold can be determined based on the user's pre-set custom sleep preference parameters and the first user's historical sleep depth, thereby improving the personalization and accuracy of the first sound intensity threshold.
[0064] 103. When the smart mattress detects that the sound intensity emitted by the second user exceeds the first sound intensity threshold, it sends a prompt message to the second user.
[0065] The smart mattress may be provided with a decibel meter, and the smart mattress determines whether the intensity of the sound emitted by the second user exceeds the first sound intensity threshold through the decibel value detected by the decibel meter.
[0066] The sound emitted by the second user may be a voice signal emitted by the second user, or may be a sound emitted by an electronic device.
[0067] In some optional embodiments, when the smart mattress detects that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, before sending the prompt information to the second user, the smart mattress may include the following steps:
[0068] Acquire a first voice signal of a first user and a second voice signal of a second user;
[0069] Performing speech feature extraction on the first speech signal and the second speech signal, respectively, to obtain a first speech feature parameter corresponding to the first speech signal and a second speech feature parameter corresponding to the second speech signal; wherein the method for extracting the speech feature can be a method such as frequency cepstral coefficient (MFCC), linear prediction coefficient (LPC), linear prediction cepstral coefficient (LPCC), line spectral frequency (LSF), discrete wavelet transform (DWT) and perceptual linear prediction (PLP), without specific limitation;
[0070] Storing the correspondence between the first user and the first voice feature parameter, and the correspondence between the second user and the second voice feature parameter in a user voiceprint library;
[0071] When a third voice signal is detected, performing voice feature extraction on the third voice signal to obtain a third voice feature parameter corresponding to the third voice signal;
[0072] comparing the third speech feature parameter with the first speech feature parameter and the second speech feature parameter respectively;
[0073] When the similarity between the third voice feature parameter and the second voice feature parameter exceeds a similarity threshold, the third voice signal is determined to be a voice signal emitted by the second user based on the corresponding relationship between the second user and the second voice feature parameter.
[0074] In some optional embodiments, when the smart mattress detects that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, the smart mattress sends a prompt message to the second user, including:
[0075] When the smart mattress detects that the sound intensity emitted by the second user exceeds the first sound intensity threshold, it detects whether the mobile terminal bound to the second user is in the screen-on state. If it is in the screen-on state, a prompt message is sent to the mobile terminal bound to the second user; if it is not in the screen-on state, a prompt message is sent to the second user by voice; wherein the sound intensity of the prompt message sent by voice is lower than the first sound intensity threshold; for example, the sound intensity of the prompt message sent by voice can be 80% of the first sound intensity threshold, which is not specifically limited. In this way, the second user can be prompted without waking up the first user.
[0076] exist Figure 1In the double sleep monitoring method shown, the smart mattress includes a first sleeping area serving as a sleeping area for a first user and a second sleeping area serving as a sleeping area for a second user. When the first user is detected to be asleep and the second user is awake, the average of the first user's sleep depth over a specified historical period is used as the first user's historical sleep depth. Based on the first user's historical sleep depth, a maximum sound intensity that does not wake the first user is determined as a first sound intensity threshold. The first user's historical sleep depth is positively correlated with the first sound intensity threshold. When the sound intensity emitted by the second user is detected to exceed the first sound intensity threshold, a prompt message is sent to the second user. This embodiment of the present application enables the smart mattress to promptly send a prompt message when it detects that the sound intensity emitted by the awake person is too high, thereby avoiding waking the sleeping person. This allows the sleep needs of both people to be met simultaneously, thereby improving the intelligence level of the smart mattress for double sleep monitoring.
[0077] See also Figure 2 , Figure 2 This is a flow chart of a second embodiment of a method for monitoring double sleep based on a smart mattress disclosed in an embodiment of the present application. The smart mattress includes a first sleeping area and a second sleeping area. The first sleeping area is the sleeping area of the first user, and the second sleeping area is the sleeping area of the second user. Figure 2 As shown, the double sleep monitoring method based on the smart mattress may include the following steps:
[0078] 201. When the smart mattress detects that a first user is in a sleeping state and a second user is in an awake state, the smart mattress obtains a historical sleep depth of the first user.
[0079] The historical sleep depth of the first user is an average value of the sleep depth of the first user within a specified historical period.
[0080] 202. The smart mattress determines a first sound intensity threshold according to the historical sleep depth of the first user.
[0081] The first sound intensity threshold is the maximum sound intensity that does not wake up the first user; and the historical sleep depth of the first user is positively correlated with the first sound intensity threshold.
[0082] 203. When the smart mattress detects that the sound intensity of the second user exceeds the first sound intensity threshold, it sends a prompt message to the second user.
[0083] The implementation of the above steps 201 to 203 can refer to steps 101 to 103, and the details are not repeated here.
[0084] 204. After detecting that the second user turns on the smart light linked to the smart mattress, the smart mattress obtains the real-time sleep depth of the first user.
[0085] In some optional embodiments, the smart mattress detects that the second user turns on a smart light linked to the smart mattress, which may include:
[0086] The smart mattress detects whether the smart light linked to the smart mattress has received an on command sent by a remote control or a mobile terminal. If the smart mattress detects that the smart light has received the on command, it is determined that the second user has turned on the smart light linked to the smart mattress; or, detects whether an on button of the smart light linked to the smart mattress has been pressed. If the smart mattress detects that an on button of the smart light linked to the smart mattress has been pressed, it is determined that the second user has turned on the smart light linked to the smart mattress.
[0087] In some optional embodiments, after the smart mattress detects that the second user has turned on a smart light linked to the smart mattress, obtaining the real-time sleep depth of the first user may include:
[0088] After detecting that the second user turns on the smart light linked to the smart mattress, the smart mattress obtains the pressure value detected by the pressure sensor within a preset time period; the preset time period can be 5 minutes, which is not specifically limited; the change amplitude and change frequency of the pressure value within the preset time period are calculated; when the change amplitude of the pressure value within the preset time period is greater than the amplitude threshold and the change frequency is greater than the frequency threshold, the real-time sleep depth of the first user is determined to be a shallow real-time sleep depth; when the change amplitude of the pressure value within the preset time period is greater than the amplitude threshold and the change frequency is less than the frequency threshold, the real-time sleep depth of the first user is determined to be a moderate real-time sleep depth; when the change amplitude of the pressure value within the preset time period is less than the amplitude threshold and the change frequency is less than the frequency threshold, the real-time sleep depth of the first user is determined to be a deep real-time sleep depth; the smart mattress can determine the value of each real-time sleep depth, such as 30 for shallow real-time sleep depth, 50 for moderate real-time sleep depth, and 70 for deep real-time sleep depth.
[0089] 205. When the smart mattress detects that the real-time sleep depth of the first user decreases by more than a threshold value within a unit time, the smart mattress controls the brightness of the smart light to decrease.
[0090] The unit duration can be 5 minutes, with no specific limitation; the decrease amplitude can be 10, with no specific limitation. For example, if the smart mattress detects that the first user's real-time sleep depth has decreased by 15 in 5 minutes, exceeding the amplitude threshold, it controls the brightness of the smart light to decrease. If the decrease amplitude of the first user's real-time sleep depth in the unit duration exceeds the amplitude threshold, it indicates that the first user's real-time sleep depth has fluctuated significantly, indicating that sleep is being disturbed. Therefore, it is necessary to control the brightness of the smart light to decrease to prevent waking the first user.
[0091] In some optional implementations, the smart mattress may control the brightness of the smart light to decrease in the following manner:
[0092] The smart mattress controls the brightness of the smart light to decrease at a preset decreasing rate until the real-time sleep depth of the first user no longer decreases; for example, the preset decreasing rate may be 10 lux per minute; for example, the current brightness of the smart light is 300 lx, and the smart mattress controls the brightness of the smart light to decrease at a preset decreasing rate. Then, after 1 minute, the brightness of the smart light changes to 290 lx; it can be seen that the brightness of the smart light decreases at the preset decreasing rate, making the brightness change of the smart light more gradual.
[0093] That is to say, the second user can carry out pre-sleep activities, such as reading, playing with mobile phones, etc., while turning on the smart light. This is conducive to protecting the eyes of the second user who is awake and meeting the second user's needs for pre-sleep activities; and the smart mattress can promptly detect that the smart light may interfere with the sleep depth of the first user who is sleeping, and thus promptly adjust the brightness of the smart light to protect the first user's sleep quality and meet the sleep needs of both users at the same time.
[0094] 206. When the smart mattress detects that the real-time sleep depth of the first user is lower than the first sleep depth threshold, the smart mattress controls the smart light to turn off.
[0095] For example, if the light sleep depth is 30, the moderate sleep depth is 50, and the deep sleep depth is 70, the first sleep depth threshold may be 40; when the smart mattress detects that the real-time sleep depth of the first user is lower than the first sleep depth threshold, it indicates that the first user is in a state that is easily awakened. Therefore, the smart mattress controls the smart light to turn off, eliminating factors that interfere with the first user's sleep.
[0096] exist Figure 2In the double sleep monitoring method shown, the smart mattress includes a first sleeping area serving as the sleeping area for the first user and a second sleeping area serving as the sleeping area for the second user; when it is detected that the first user is in a sleeping state and the second user is in an awake state, the average value of the sleep depth of the first user within a specified historical period is used as the historical sleep depth of the first user; based on the historical sleep depth of the first user, the maximum sound intensity that does not wake up the first user is determined as the first sound intensity threshold; the historical sleep depth of the first user is positively correlated with the first sound intensity threshold; when it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold, a prompt message is sent to the second user. The embodiment of the present application can, through the smart mattress, issue a prompt message in time when it detects that the sound intensity of a person in an awake state is too high, so as to avoid waking up the person in a sleeping state, thereby meeting the sleep needs of two people at the same time, and improving the intelligence level of the smart mattress for double sleep monitoring; further, when the smart mattress detects that the real-time sleep depth of the first user has decreased by more than a threshold within a unit time, the smart mattress controls the brightness of the smart light to decrease; and when it detects that the real-time sleep depth of the first user is lower than the first sleep depth threshold, the smart light is controlled to turn off, further eliminating factors that interfere with the sleep of the first user, and can improve the sleep quality of the user in a sleeping state.
[0097] See also Figure 3 , Figure 3 This is a flow chart of a third embodiment of a method for monitoring double sleep based on a smart mattress disclosed in an embodiment of the present application. The smart mattress includes a first sleeping area and a second sleeping area. The first sleeping area is the sleeping area of the first user, and the second sleeping area is the sleeping area of the second user. Figure 3 As shown, the double sleep monitoring method based on the smart mattress may include the following steps:
[0098] 301. When the smart mattress detects that the first user is in a sleeping state and the second user is in an awake state, the smart mattress obtains the historical sleep depth of the first user.
[0099] The historical sleep depth of the first user is an average value of the sleep depth of the first user within a specified historical period.
[0100] 302. The smart mattress determines a first sound intensity threshold according to the historical sleep depth of the first user.
[0101] The first sound intensity threshold is the maximum sound intensity that does not wake up the first user; and the historical sleep depth of the first user is positively correlated with the first sound intensity threshold.
[0102] 303. When the smart mattress detects that the sound intensity of the second user exceeds the first sound intensity threshold, it sends a prompt message to the second user.
[0103] The implementation of the above steps 301 to 303 can refer to steps 101 to 103, and the details are not repeated here.
[0104] 304. When the smart mattress detects that the current time is the first user's wake-up time, it obtains the second user's historical sleep depth.
[0105] Among them, the historical sleep depth of the second user is the average sleep depth of the second user within the specified historical period; the wake-up time is a user-defined parameter, which can be the alarm time set by the user, for example, it can be 7 o'clock in the morning, and there is no specific limitation.
[0106] In some optional embodiments, the smart mattress may obtain the historical sleep depth of the second user by: obtaining the sleep depth of the second user during each sleep period every day within a specified historical time period; calculating the average sleep depth of the second user during each sleep period every day within the specified historical time period to obtain the historical sleep depth of the second user;
[0107] Further optionally, the smart mattress obtains the sleep depth of the second user in the sleep time period every day within a specified historical period, which may include: the smart mattress obtains the pressure value detected by the pressure sensor in the sleep time period every day within the specified historical period; calculates the change amplitude and change frequency of the pressure value within a preset period; when the change amplitude of the pressure value within the preset period is greater than the amplitude threshold and the change frequency is greater than the frequency threshold, determines that the sleep depth of the second user is a shallow sleep depth; when the change amplitude of the pressure value within the preset period is greater than the amplitude threshold and the change frequency is less than the frequency threshold, determines that the sleep depth of the second user is a moderate sleep depth; when the change amplitude of the pressure value within the preset period is less than the amplitude threshold and the change frequency is less than the frequency threshold, determines that the sleep depth of the second user is a deep sleep depth.
[0108] In other optional embodiments, the smart mattress can be connected to a wearable device carried by a second user; the smart mattress obtains the sleep depth of the second user in the sleep time period every day within a specified historical period, which may include: the smart mattress obtains the second user's heart rate, respiratory rate, body movement data and other vital signs information in the sleep time period every day within the specified historical period through the wearable device; based on the second user's heart rate, respiratory rate, body movement data and other vital signs information in the sleep time period every day within the specified historical period, obtains the sleep depth of the second user in the sleep time period every day within the specified historical period.
[0109] 305. The smart mattress determines a second sound intensity threshold according to the second user's historical sleep depth.
[0110] The second sound intensity threshold is the maximum sound intensity that does not wake up the second user; and the historical sleep depth of the second user is positively correlated with the second sound intensity threshold.
[0111] For example, the smart mattress may determine the second sound intensity threshold corresponding to the second user's historical sleep depth being a shallow historical sleep depth to be 30 decibels (dB), the second sound intensity threshold corresponding to the second user's historical sleep depth being a moderate historical sleep depth to be 40 decibels (dB), and the second sound intensity threshold corresponding to the second user's historical sleep depth being a deep historical sleep depth to be 50 decibels (dB).
[0112] 306. When the first sound intensity threshold is lower than the second sound intensity threshold, the smart mattress controls the first sleeping area to emit a wake-up sound to wake up the first user.
[0113] The sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold.
[0114] It should be noted that the first sound intensity threshold is lower than the second sound intensity threshold, indicating that the first user's historical sleep depth is shallower than the second user's, making the first user more likely to be awakened. Therefore, setting the wake-up sound intensity between the first and second sound intensity thresholds can effectively wake the first user without waking the second user.
[0115] 307. When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, the smart mattress controls the first sleeping area to vibrate to wake up the first user.
[0116] It should be noted that the first sound intensity threshold is higher than or equal to the second sound intensity threshold, indicating that the first user's historical sleep depth is deeper than that of the second user, and the second user is more likely to be awakened. Therefore, when the current time is the first user's wake-up time, in order to wake up the first user without waking up the second user, the method of waking up the first user is switched to controlling the first sleeping area to vibrate.
[0117] In some optional embodiments, when the first sound intensity threshold is greater than or equal to the second sound intensity threshold, the smart mattress controls the first sleeping area to vibrate to wake up the first user, including:
[0118] When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, obtaining a historical wake-up record of the first user; the historical wake-up record of the first user includes a historical sleep depth of the first user each time the first user was awakened by vibration within a specified historical time period and a historical vibration intensity corresponding to the historical sleep depth;
[0119] Obtaining a target vibration intensity that matches the first user's real-time sleep depth from historical wake-up records;
[0120] The first sleeping area is controlled to vibrate according to a target vibration intensity to wake up the first user.
[0121] It should be noted that each time the first user is awakened by vibration, the smart mattress will record the first user's sleep depth on that day as the historical sleep depth, and determine the most effective historical vibration intensity corresponding to the historical sleep depth; and store the historical sleep depth and the most effective historical vibration intensity corresponding to the historical sleep depth as the first user's historical wake-up record.
[0122] Optionally, the historical vibration intensity corresponding to the historical sleep depth can be that the smart mattress switches between multiple vibration intensities, and determines the sleep depth decrease rate corresponding to each vibration intensity, and determines the vibration intensity with the fastest sleep depth decrease rate from each vibration intensity as the historical vibration intensity corresponding to the historical sleep depth.
[0123] In some other optional embodiments, the smart mattress further performs the following steps:
[0124] When the smart mattress detects that a first user is in a sleeping state and a second user is in a sleeping state, it determines a target user who is snoring from the first user and the second user; determines the sleeping area where the target user is located from the first sleeping area and the second sleeping area as the target sleeping area; monitors the sound intensity of the target user's snoring; if the target user is the first user, when the sound intensity of the target user's snoring exceeds a second sound intensity threshold, it performs snoring intervention on the first user; if the target user is the second user, when the sound intensity of the target user's snoring exceeds the first sound intensity threshold, it performs snoring intervention on the second user.
[0125] The existing snoring intervention method is to intervene in the user when snoring is detected, while the above steps are performed only when the user's snoring may wake up the people around him; this can ensure the sleep quality of both users at the same time and improve the flexibility of snoring intervention.
[0126] exist Figure 3In the double sleep monitoring method shown, the smart mattress includes a first sleeping area serving as the sleeping area for the first user and a second sleeping area serving as the sleeping area for the second user; when it is detected that the first user is in a sleeping state and the second user is in an awake state, the average value of the sleep depth of the first user within a specified historical period is used as the historical sleep depth of the first user; based on the historical sleep depth of the first user, the maximum sound intensity that does not wake up the first user is determined as the first sound intensity threshold; the historical sleep depth of the first user is positively correlated with the first sound intensity threshold; when it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold, a prompt message is sent to the second user; the embodiment of the present application can, through the smart mattress, send a prompt message in time when it is detected that the sound intensity emitted by a person in an awake state is too high, to avoid waking up the person in a sleeping state, thereby meeting the sleep needs of two people at the same time, thereby improving the intelligence level of the smart mattress for double sleep monitoring.
[0127] Furthermore, for scenarios where it is necessary to wake up the first user without waking up the second user, the smart mattress can determine whether to wake up the first user by emitting a wake-up sound or by controlling the vibration of the first sleeping area based on the first sound intensity threshold of the first user and the second sound intensity threshold of the second user. This can meet the sleep needs of two people at the same time, further improving the flexibility and intelligence of waking up users in a double sleeping scenario.
[0128] See also Figure 4 , Figure 4 : is a structural diagram of the first embodiment of the smart mattress disclosed in the embodiments of the present application, the smart mattress includes a first sleeping area and a second sleeping area, the first sleeping area is the sleeping area of the first user, and the second sleeping area is the sleeping area of the second user; Figure 4 As shown, the smart mattress 400 includes:
[0129] The acquisition module 401 is configured to acquire the historical sleep depth of the first user when it is detected that the first user is in a sleeping state and the second user is in an awake state; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period;
[0130] Determination module 402, configured to determine a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold;
[0131] The sending module 403 is configured to send a prompt message to the second user when it is detected that the intensity of the sound emitted by the second user exceeds a first sound intensity threshold.
[0132] In some embodiments, the acquisition module 401 is further configured to acquire a custom sleep preference parameter of the first user before the determination module 402 determines the first sound intensity threshold based on the first user's historical sleep depth; the custom sleep preference parameter includes parameters such as whether the user is easy to fall asleep, whether the user is easily awakened, and whether the user can only fall asleep with the lights off.
[0133] The determination module 402 is further configured to determine a parameter weight corresponding to the first user's historical sleep depth based on the first user's customized sleep preference parameter. For example, if the first user is easy to fall asleep, not easily awakened, and can fall asleep with the lights off, the parameter weight is the largest, for example, the parameter weight may be 1.2. If the first user is not easy to fall asleep, is easily awakened, and cannot fall asleep with the lights off, the parameter weight is the smallest, for example, the parameter weight may be 0.8.
[0134] The smart mattress also includes: a calculation unit; the calculation unit is used to multiply the historical sleep depth of the first user by the parameter weight to obtain a first sound intensity threshold.
[0135] In some embodiments, the above-mentioned sending module 403 is also used to detect whether the mobile terminal bound to the second user is in a screen-on state when it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold. If it is in the screen-on state, the prompt information is sent to the mobile terminal bound to the second user; if it is not in the screen-on state, the prompt information is sent to the second user via voice; wherein the sound intensity of the prompt information sent via voice is lower than the first sound intensity threshold.
[0136] In some embodiments, the acquisition module 401 is further configured to, after the sending module 403 sends a prompt message to the second user when detecting that the sound intensity emitted by the second user exceeds the first sound intensity threshold, obtain the real-time sleep depth of the first user after detecting that the second user turns on the smart light linked to the smart mattress;
[0137] The smart mattress 400 further includes: a control unit;
[0138] The control unit is configured to control the brightness of the smart light to decrease when it is detected that the decrease in the real-time sleep depth of the first user within a unit time period is greater than a threshold value.
[0139] In some embodiments, the above-mentioned control unit is used to control the smart light to turn off when the acquisition module 401 detects that the second user turns on the smart light linked to the smart mattress, obtains the real-time sleep depth of the first user, and detects that the real-time sleep depth of the first user is lower than the first sleep depth threshold.
[0140] In some embodiments, the acquisition module 401 is further configured to acquire the historical sleep depth of the second user when detecting that the current time is the first user's wake-up time; the historical sleep depth of the second user is the average sleep depth of the second user within a specified historical period;
[0141] The determination module 402 is further configured to determine a second sound intensity threshold based on the second user's historical sleep depth; the second sound intensity threshold is a maximum sound intensity that does not wake the second user; wherein the second user's historical sleep depth is positively correlated with the second sound intensity threshold;
[0142] The control unit is further configured to control the first sleeping area to emit a wake-up sound to wake up the first user when the first sound intensity threshold is lower than the second sound intensity threshold; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold;
[0143] The control unit is further configured to control the first sleeping area to vibrate to wake up the first user when the first sound intensity threshold is higher than or equal to the second sound intensity threshold.
[0144] In some embodiments, the control unit is further configured to obtain a historical wake-up record of the first user when the first sound intensity threshold is greater than or equal to the second sound intensity threshold; the historical wake-up record of the first user includes a historical sleep depth of the first user each time the first user was awakened by vibration within a specified historical time period and a historical vibration intensity corresponding to the historical sleep depth;
[0145] Obtaining a target vibration intensity that matches the first user's real-time sleep depth from historical wake-up records;
[0146] The first sleeping area is controlled to vibrate according to a target vibration intensity to wake up the first user.
[0147] In some embodiments, the determination module 402 is further configured to, when detecting that the first user is in a sleeping state and the second user is in a sleeping state, determine a target user who is snoring from the first user and the second user; determine a sleeping area where the target user is located from the first sleeping area and the second sleeping area as the target sleeping area; and monitor the sound intensity of the target user's snoring.
[0148] The above-mentioned control unit is also used to, if the target user is the first user, perform snoring intervention on the first user when the sound intensity of the target user's snoring exceeds the second sound intensity threshold; if the target user is the second user, perform snoring intervention on the second user when the sound intensity of the target user's snoring exceeds the first sound intensity threshold.
[0149] Among them, implementation Figure 4The smart mattress shown can send out prompt information in time when it detects that the sound intensity of a person who is awake is too loud, so as to avoid waking up the person who is sleeping, thereby meeting the sleep needs of two people at the same time and improving the intelligence level of the smart mattress for double sleep monitoring.
[0150] See also Figure 5 , Figure 5 : is a structural diagram of the second embodiment of the smart mattress disclosed in the embodiments of the present application, the smart mattress includes a first sleeping area and a second sleeping area, the first sleeping area is the sleeping area of the first user, and the second sleeping area is the sleeping area of the second user; Figure 5 As shown, the smart mattress includes:
[0151] A memory 501 storing executable program code;
[0152] a processor 502 coupled to a memory;
[0153] The processor 502 calls the executable program code stored in the memory 501 and performs the following steps:
[0154] When it is detected that the first user is in a sleeping state and the second user is in an awake state, obtaining the historical sleep depth of the first user; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period;
[0155] Determining a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold is a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold;
[0156] When it is detected that the sound intensity of the second user exceeds the first sound intensity threshold, a prompt message is sent to the second user.
[0157] In some implementations, before determining the first sound intensity threshold based on the first user's historical sleep depth, the processor 502 further performs the following steps:
[0158] Obtaining the first user's customized sleep preference parameters; the customized sleep preference parameters include whether it is easy to fall asleep, whether it is easy to wake up, whether it can only fall asleep with the lights off, and other parameters;
[0159] Determine a parameter weight corresponding to the first user's historical sleep depth based on the first user's customized sleep preference parameter; for example, if the first user is easy to fall asleep, not easily awakened, and can fall asleep with the lights off, the parameter weight is the largest, for example, the parameter weight may be 1.2; if the first user is not easy to fall asleep, is easily awakened, and cannot fall asleep with the lights off, the parameter weight is the smallest, for example, the parameter weight may be 0.8;
[0160] The historical sleep depth of the first user is multiplied by the parameter weight to obtain a first sound intensity threshold.
[0161] In some embodiments, when the processor 502 detects that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, the processor 502 sends a prompt message to the second user in the following manner:
[0162] When it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold, it is detected whether the mobile terminal bound to the second user is in the screen-on state. If it is in the screen-on state, a prompt message is sent to the mobile terminal bound to the second user; if it is not in the screen-on state, a prompt message is sent to the second user via voice; wherein the sound intensity of the prompt message sent via voice is lower than the first sound intensity threshold.
[0163] In some embodiments, when the processor 502 detects that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, after sending the prompt information to the second user, the processor 502 further performs the following steps:
[0164] After detecting that the second user turns on the smart light linked to the smart mattress, obtaining the first user's real-time sleep depth;
[0165] When it is detected that the real-time sleep depth of the first user decreases by more than a threshold value within a unit time, the brightness of the smart light is controlled to decrease.
[0166] In some embodiments, after detecting that the second user turns on the smart light linked to the smart mattress and obtaining the real-time sleep depth of the first user, the processor 502 further performs the following steps:
[0167] When it is detected that the real-time sleep depth of the first user is lower than a first sleep depth threshold, the smart light is controlled to be turned off.
[0168] In some implementations, the processor 502 further performs the following steps:
[0169] When it is detected that the current time is the first user's wake-up time, the historical sleep depth of the second user is obtained; the historical sleep depth of the second user is the average sleep depth of the second user within a specified historical period;
[0170] Determining a second sound intensity threshold based on the second user's historical sleep depth; the second sound intensity threshold is a maximum sound intensity that does not wake the second user; wherein the second user's historical sleep depth is positively correlated with the second sound intensity threshold;
[0171] When the first sound intensity threshold is lower than the second sound intensity threshold, controlling the first sleeping area to emit a wake-up sound to wake up the first user; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold;
[0172] When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, the first sleeping area is controlled to vibrate to wake up the first user.
[0173] In some embodiments, when the first sound intensity threshold is greater than or equal to the second sound intensity threshold, the processor 502 controls the first sleeping area to vibrate to wake up the first user in the following manner:
[0174] When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, obtaining a historical wake-up record of the first user; the historical wake-up record of the first user includes a historical sleep depth of the first user each time the first user was awakened by vibration within a specified historical time period and a historical vibration intensity corresponding to the historical sleep depth;
[0175] Obtaining a target vibration intensity that matches the first user's real-time sleep depth from historical wake-up records;
[0176] The first sleeping area is controlled to vibrate according to a target vibration intensity to wake up the first user.
[0177] In some implementations, the processor 502 further performs the following steps:
[0178] When it is detected that the first user is in a sleeping state and the second user is in a sleeping state, a target user who is snoring is determined from the first user and the second user; the sleeping area where the target user is located is determined from the first sleeping area and the second sleeping area as the target sleeping area; the sound intensity of the target user's snoring is monitored; if the target user is the first user, when the sound intensity of the target user's snoring exceeds a second sound intensity threshold, snoring intervention is performed on the first user; if the target user is the second user, when the sound intensity of the target user's snoring exceeds the first sound intensity threshold, snoring intervention is performed on the second user.
[0179] Among them, implementation Figure 5 The smart mattress shown can send out prompt information in time when it detects that the sound intensity of a person who is awake is too loud, so as to avoid waking up the person who is sleeping, thereby meeting the sleep needs of two people at the same time and improving the intelligence level of the smart mattress for double sleep monitoring.
[0180] An embodiment of the present application further discloses a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the double sleep monitoring method based on a smart mattress described in the previous embodiment.
[0181] The above is a detailed introduction to a double sleep monitoring method based on a smart mattress and related products disclosed in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the application.
Claims
1. A double sleep monitoring method based on a smart mattress, characterized in that: The smart mattress includes a first sleeping area and a second sleeping area, the first sleeping area is a sleeping area for a first user, and the second sleeping area is a sleeping area for a second user; the method includes: When it is detected that the first user is in a sleeping state and the second user is in an awake state, obtaining a historical sleep depth of the first user; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period; determining a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold; When detecting that the sound intensity of the second user exceeds the first sound intensity threshold, sending a prompt message to the second user; When detecting that the current time is the first user's wake-up time, obtaining the second user's historical sleep depth; the second user's historical sleep depth is the average of the second user's sleep depths within the specified historical time period; determining a second sound intensity threshold based on the second user's historical sleep depth; the second sound intensity threshold being a maximum sound intensity that does not wake the second user; wherein the second user's historical sleep depth is positively correlated with the second sound intensity threshold; When the first sound intensity threshold is lower than the second sound intensity threshold, controlling the first sleeping area to emit a wake-up sound to wake up the first user; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold; When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, the first sleeping area is controlled to vibrate to wake up the first user.
2. The method for monitoring double sleep according to claim 1, wherein: When it is detected that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, after sending a prompt message to the second user, the method further includes: After detecting that the second user turns on the smart light linked to the smart mattress, obtaining the real-time sleep depth of the first user; When it is detected that the real-time sleep depth of the first user decreases by more than a threshold value within a unit time, the brightness of the smart light is controlled to decrease.
3. The method for monitoring double sleep according to claim 2, wherein: After detecting that the second user turns on the smart light linked to the smart mattress and obtaining the real-time sleep depth of the first user, the method further includes: When it is detected that the real-time sleep depth of the first user is lower than a first sleep depth threshold, the smart light is controlled to be turned off.
4. The method for monitoring sleep of two persons according to claim 1, wherein: When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, controlling the first sleeping area to vibrate to wake up the first user includes: When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, obtaining a historical wake-up record of the first user; the historical wake-up record of the first user includes a historical sleep depth of the first user each time the first user was awakened by vibration within the specified historical time period and a historical vibration intensity corresponding to the historical sleep depth; Obtaining a target vibration intensity that matches the first user's real-time sleep depth from the historical wake-up record; The first sleeping area is controlled to vibrate according to the target vibration intensity to wake up the first user.
5. A smart mattress, characterized in that: The smart mattress includes a first sleeping area and a second sleeping area, the first sleeping area is a sleeping area for a first user, and the second sleeping area is a sleeping area for a second user; The smart mattress comprises: an acquisition module, configured to acquire a historical sleep depth of the first user when detecting that the first user is in a sleeping state and the second user is in an awake state; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period; a determination module, configured to determine a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold; A sending module is used to send a prompt message to the second user when it is detected that the sound intensity emitted by the second user exceeds the first sound intensity threshold; when it is detected that the current time is the wake-up time of the first user, obtain the historical sleep depth of the second user; the historical sleep depth of the second user is the average sleep depth of the second user within the specified historical period; determine the second sound intensity threshold according to the historical sleep depth of the second user; the second sound intensity threshold is the maximum sound intensity that does not wake up the second user; wherein, the historical sleep depth of the second user is positively correlated with the second sound intensity threshold; when the first sound intensity threshold is lower than the second sound intensity threshold, control the first sleeping area to emit a wake-up sound to wake up the first user; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold; when the first sound intensity threshold is higher than or equal to the second sound intensity threshold, control the first sleeping area to vibrate to wake up the first user.
6. A smart mattress, characterized in that: The smart mattress includes a first sleeping area and a second sleeping area, the first sleeping area is a sleeping area for a first user, and the second sleeping area is a sleeping area for a second user; The smart mattress comprises: a memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory and performs the following steps: When it is detected that the first user is in a sleeping state and the second user is in an awake state, obtaining a historical sleep depth of the first user; the historical sleep depth of the first user is an average of the sleep depths of the first user within a specified historical period; determining a first sound intensity threshold based on the first user's historical sleep depth; the first sound intensity threshold being a maximum sound intensity that does not wake the first user; wherein the first user's historical sleep depth is positively correlated with the first sound intensity threshold; When detecting that the sound intensity of the second user exceeds the first sound intensity threshold, sending a prompt message to the second user; The processor further performs the following steps: When detecting that the current time is the first user's wake-up time, obtaining the second user's historical sleep depth; the second user's historical sleep depth is the average of the second user's sleep depths within the specified historical time period; determining a second sound intensity threshold based on the second user's historical sleep depth; the second sound intensity threshold being a maximum sound intensity that does not wake the second user; wherein the second user's historical sleep depth is positively correlated with the second sound intensity threshold; When the first sound intensity threshold is lower than the second sound intensity threshold, controlling the first sleeping area to emit a wake-up sound to wake up the first user; the sound intensity of the wake-up sound is higher than the first sound intensity threshold and lower than the second sound intensity threshold; When the first sound intensity threshold is higher than or equal to the second sound intensity threshold, the first sleeping area is controlled to vibrate to wake up the first user.
7. The smart mattress according to claim 6, characterized in that: When the processor detects that the intensity of the sound emitted by the second user exceeds the first sound intensity threshold, after sending a prompt message to the second user, the processor further performs the following steps: After detecting that the second user turns on the smart light linked to the smart mattress, obtaining the real-time sleep depth of the first user; When it is detected that the real-time sleep depth of the first user decreases by more than a threshold value within a unit time, the brightness of the smart light is controlled to decrease.
8. The smart mattress according to claim 7, characterized in that: After detecting that the second user turns on the smart light linked to the smart mattress and obtaining the real-time sleep depth of the first user, the processor further performs the following steps: When it is detected that the real-time sleep depth of the first user is lower than a first sleep depth threshold, the smart light is controlled to be turned off.
9. The smart mattress according to any one of claims 6 to 8, characterized in that: When the first sound intensity threshold is greater than or equal to the second sound intensity threshold, the processor controls the first sleeping area to vibrate to wake up the first user by: obtaining a historical wake-up record of the first user when the first sound intensity threshold is greater than or equal to the second sound intensity threshold; the historical wake-up record of the first user including a historical sleep depth of the first user each time the first user was awakened by vibration within the specified historical duration and a historical vibration intensity corresponding to the historical sleep depth; Obtaining a target vibration intensity that matches the first user's real-time sleep depth from the historical wake-up record; The first sleeping area is controlled to vibrate according to the target vibration intensity to wake up the first user.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the double sleep monitoring method based on a smart mattress are implemented.
Citation Information
Patent Citations
Control method, controller, and device
CN107085511A
INFORMATION PROCESSING METHOD, recording PROGRAM, AND INFORMATION PROCESSING SYSTEM
CN111481801A
Bed room environment generating system
JP2015015159A