WO2022068332A1 - 睡眠监测方法、装置、电子设备及计算机可读介质 - Google Patents

睡眠监测方法、装置、电子设备及计算机可读介质 Download PDF

Info

Publication number
WO2022068332A1
WO2022068332A1 PCT/CN2021/107404 CN2021107404W WO2022068332A1 WO 2022068332 A1 WO2022068332 A1 WO 2022068332A1 CN 2021107404 W CN2021107404 W CN 2021107404W WO 2022068332 A1 WO2022068332 A1 WO 2022068332A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
user
sleep
screen
determined
Prior art date
Application number
PCT/CN2021/107404
Other languages
English (en)
French (fr)
Inventor
鄢海舟
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21873994.4A priority Critical patent/EP4218576A4/en
Publication of WO2022068332A1 publication Critical patent/WO2022068332A1/zh
Priority to US18/192,103 priority patent/US20230233142A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4809Sleep detection, i.e. determining whether a subject is asleep or not
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02405Determining heart rate variability
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6887Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
    • A61B5/6898Portable consumer electronic devices, e.g. music players, telephones, tablet computers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-worn input/output arrangements, e.g. data gloves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/015Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/681Wristwatch-type devices

Definitions

  • the present application relates to the technical field of health monitoring, and more particularly, to a sleep monitoring method, apparatus, electronic device, and computer-readable medium.
  • the present application proposes a sleep monitoring method, apparatus, electronic device, and computer-readable medium to improve the above-mentioned defects.
  • an embodiment of the present application provides a sleep monitoring method, which is applied to an electronic device.
  • the method includes: acquiring a screen state of a target terminal; acquiring a user's physiological parameters, where the physiological parameters include body motion parameters and heart rate parameters At least one of: determining the user's sleep state according to the screen state and physiological parameters, and the sleep state includes a falling asleep state and an awake state.
  • an embodiment of the present application further provides a sleep monitoring device, including a first acquisition unit, a second acquisition unit, and a determination unit.
  • the first obtaining unit is used to obtain the screen state of the target terminal.
  • the second acquiring unit is configured to acquire physiological parameters of the user, where the physiological parameters include at least one of a body motion parameter and a heart rate parameter.
  • a determination unit configured to determine the sleep state of the user according to the screen state and the physiological parameter, where the sleep state includes a sleep-onset state and an awake state.
  • embodiments of the present application further provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to perform the above method.
  • an embodiment of the present application further provides a computer-readable medium, where the computer-readable medium stores program codes executable by a processor, and when the program codes are executed by the processor, the processor Perform the above method.
  • the sleep monitoring method, device, electronic device and computer-readable medium provided by the present application acquire the screen state of the target terminal and the physiological parameters of the user, and then determine the sleep state of the user according to the screen state and the physiological parameters, wherein,
  • the physiological parameter may be at least one of a body motion parameter and a heart rate parameter, and finally, the sleep state of the user can be determined according to the screen state and the physiological parameter.
  • FIG. 1 shows the change curve of the acceleration value in the sleep state provided by the embodiment of the present application
  • FIG. 2 shows a change curve of heart rate in a sleep state provided by an embodiment of the present application
  • FIG. 3 shows a method flowchart of a sleep monitoring method provided by an embodiment of the present application
  • FIG. 4 shows a method flowchart of a sleep monitoring method provided by another embodiment of the present application.
  • FIG. 5 shows a schematic diagram of a sleep period determined based on an acceleration value provided by an embodiment of the present application
  • FIG. 6 shows a schematic diagram of a sleep period determined based on a heart rate provided by an embodiment of the present application
  • FIG. 7 shows a schematic diagram of a sleep period determined based on a screen state provided by an embodiment of the present application
  • FIG. 8 shows a method flowchart of a sleep monitoring method provided by another embodiment of the present application.
  • FIG. 9 shows a schematic diagram of a sleep period determined based on HRV provided by an embodiment of the present application.
  • FIG. 10 shows a module block diagram of a sleep monitoring apparatus provided by an embodiment of the present application.
  • FIG. 11 shows a module block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 12 shows a storage unit provided by an embodiment of the present application for storing or carrying a program code for implementing the information processing method according to the embodiment of the present application.
  • sleep disorders have become a major problem for modern people, and almost more than 60% of people have sleep disorders.
  • sleep disorders There are many types of sleep disorders, which can be summed up into three categories: insomnia, poor sleep, and insufficient sleep. Sleep disorders will bring a lot of inconvenience to our lives, and it will be more likely to lead to accelerated human aging, decreased immunity, and induced cardiovascular and cerebrovascular diseases. It can be seen that maintaining healthy sleep is very important.
  • the aforementioned method can more accurately monitor the user's sleep state in some scenarios such as the user's bed rest, but in some special scenarios, For example, in a scene such as a user lying in bed playing a mobile phone or watching a video, the feature of the scene is that the user remains awake but the movement is almost small, then in this ad hoc scene, if the aforementioned acceleration-based signal, heartbeat-based signal and acceleration-based signal are used.
  • the monitoring result obtained by the joint detection of the signal and the heartbeat signal is often that the user has fallen asleep, that is, there is a certain error.
  • the acceleration signal of the user's body obtained by the test is shown in Figure 1
  • the measured heart rate result is shown in Figure 2.
  • the acceleration value shows that the user's body movement is very little at this time, and the body is almost in a static state.
  • the heart rate value in Figure 2 that the user's heart rate is relatively low and stable at this time, and the user's body when sleeping It is characterized by a relatively static body, less body movement, and a lower heart rate, that is, a stable resting heart rate.
  • an embodiment of the present application provides a sleep monitoring method, which can be applied to a mobile terminal, a wearable device of a user, or a server.
  • the wearable device may be a wristband or a smart watch, etc.
  • the mobile terminal may be a smart phone used by a user.
  • the execution subject of the method may be a mobile terminal, a wearable device, an audio-visual playback device, or a server, wherein the server can obtain the data of the mobile terminal and the wearable device, and if the method is executed If the subject is a mobile terminal, the mobile terminal can directly establish a connection with the wearable device, and obtain the data of the wearable device through the established connection. If the execution subject of the method is a wearable device, it can also obtain through the established connection.
  • the data of the mobile terminal of course, the mobile terminal and the wearable device can also obtain data through the server, that is, one of the two transmits the data to the server, and the server forwards the data to the other party.
  • the execution subject of the method in this embodiment of the present application may be an electronic device, and the electronic device may be at least one of the aforementioned mobile terminal, wearable device, and server, and the method includes: S301 to S303.
  • the target terminal may be at least one of the above-mentioned mobile terminal, wearable device and audio and video playback device.
  • the screen state may include an on-off state of the screen, an unlocked screen state, a touch state, a display state, and the like.
  • the on-off state of the screen may include a screen-on state and a screen-off state.
  • the screen displays a bright image in the bright-screen state, that is, the backlight of the screen emits light, and the screen displays a dark image in the off-screen state, that is, the backlight of the screen.
  • the board does not emit light or the brightness of the light emitted is weak.
  • the screen state may be the screen state of the mobile terminal, the screen state of the wearable device, or the audio and video playback device in the current environment of the user.
  • the audio and video playback device Can be a screen device.
  • the device with a screen may be a device with a screen installed, wherein the current environment of the user may be determined according to the location of the user.
  • the user's location information is determined through the mobile terminal or the user's wearable device, the user's current environment is determined according to the user's location information, and then the screen-equipped device in the user's current environment is predetermined.
  • the screened devices in the home equipment corresponding to the user's home address can be counted, and as the screened devices corresponding to the home address, after obtaining the user's location information, if the location information is the home address, it can be determined that the user's current
  • the screened device in the environment is the screened device in the user's home device, for example, a TV set.
  • the user may also configure a screen device for the home address. For example, although the user's home address includes multiple screen devices, the user may select at least one screen device as the screen device corresponding to the user's home address.
  • the user's location information when it is determined that the user's location information is located at the user's home address, it can be determined that the user's location information is located in the specific room of the home address according to the indoor positioning technology, which is marked as the target room and will be arranged in the target room.
  • the screen-enabled device is the screen-enabled device in the user's current environment.
  • the target terminal may be a terminal associated with the user, and specifically, the identity information corresponding to the user account logging in the target terminal is the identity information of the user.
  • the identity ID of the real-name authentication of the user account is the same as the identity ID of the user.
  • the target terminal may be determined by the user's usage data of each terminal device. Specifically, the usage data includes the user's operation on the terminal device, and the most recently used terminal device is searched from multiple terminal devices through the usage data of each terminal device as the target terminal, thereby obtaining the screen state of the target terminal.
  • the use location of the target terminal matches the resident address of the user, it indicates that the target terminal is associated with the user, wherein the use location is the location when the terminal is used, and the resident address may be Include locations where users frequently reside, such as office or home addresses.
  • the target terminal as an example of the above-mentioned audio and video playback device
  • the installation location of the audio and video playback device is within the specified range of the user's target address, it means that the audio and video playback device is associated with the user.
  • the target address may be the user's home address, and the specified range may be set according to actual needs.
  • the audio and video playback device is the above-mentioned device with a screen
  • the audio and video playback device is a device with a screen in the user's smart home device
  • the wearable device is a device associated with the user's mobile terminal, and specifically, reference may be made to subsequent embodiments.
  • the screen-on and off-screen states of the screen can be detected by a program module in the system of the mobile terminal or audio and video playback device.
  • the screen-off state and the screen-on state of the screen are detected by the isScreenOn function of PowerManager.
  • the screen-on state and screen-off state of the mobile terminal or audio-visual playback device can also be collected by the user's wearable device.
  • a light sensor is provided on the wearable device, which can detect the light in the surrounding environment.
  • the mobile terminal or the audio-visual playback device is placed beside him. Since the screen of the mobile terminal or audio and video playback device is in the bright screen state and the screen off state, the light intensity emitted by the screen is different. Therefore, through the collection of the light intensity of the screen of the mobile terminal or audio and video playback device by the wearable device, it can be monitored. The on-screen and off-screen status of the screen.
  • the unlocking state of the screen includes a screen-locking state and an unlocking state.
  • broadcast Intent.ACTION_SCREEN_ON and Intent.ACTION_SCREEN_OFF are received through BroadcastReceiver, so that it can be judged whether the mobile terminal is in the screen-locking state or the unlocking state.
  • the touch state of the screen may include a touched state and an untouched state.
  • the touched state means that the screen is touched within a specified period of time
  • the non-touched state means that the screen is touched within a specified period of time.
  • it may be detected whether the screen is touched at the current moment, and if it is touched, it is determined that the touch state of the screen is the touched state; otherwise, it is determined that the touch state of the screen is the untouched state.
  • the number of touch operations received by the screen detected within the specified time length is acquired, and if the number of times is greater than the second threshold, it is determined that the touch state of the screen is the touched state; otherwise, the When the number of times is less than or equal to the second threshold, it is determined that the touch state of the screen is an untouched state.
  • the display state of the screen may include a desktop interface state and a non-desktop interface state, wherein the desktop interface state is used to indicate that the content currently displayed on the screen is the system desktop, and the icon of the application program installed by the target is displayed on the system desktop, As an operation interface for a user to select and operate an application program from a plurality of application programs, the non-desktop interface state is used to indicate that the content currently displayed on the screen is a non-system desktop.
  • the non-desktop interface state can also determine multiple sub-states according to the type of the displayed content, for example, video interface sub-state, game interface sub-state, etc., wherein, the video interface sub-state is used to indicate that the interface currently displayed on the screen is a video
  • the interface that is, the content displayed on the screen is a video
  • the game interface sub-state is used to indicate that the interface currently displayed on the screen is a game interface, that is, the content displayed on the screen is the interface of the game application.
  • the physiological parameter includes at least one of a body motion parameter and a heart rate parameter.
  • An implementation manner of acquiring the physiological parameters of the user may be acquired through the wearable device of the user.
  • the wearable device is provided with sensors for collecting body motion parameters and heart rate parameters, wherein the sensor for collecting body motion parameters may be an acceleration sensor, and the sensor for collecting heart rate parameters may be a heart rate sensor.
  • the body motion parameter may be data characterizing the user's body motion.
  • the body motion parameter may be acceleration data of the user's body, and the acceleration data may be the acceleration generated when the user's body moves.
  • the acceleration data may be acceleration values generated when the user's hand moves and a time point corresponding to each acceleration value.
  • S303 Determine the sleep state of the user according to the screen state and physiological parameters.
  • the sleep state includes a sleep state and an awake state.
  • the physiological parameter can determine the sleep state of the user. For example, when the user falls asleep, the body movements are small and the heart rate is expressed as the resting heart rate. If the physiological parameter includes a body motion parameter, and the body motion parameter is acceleration data, if the acceleration value is relatively small, it can be considered that the user is in a sleep state; if the physiological parameter includes a heart rate parameter, if the heart rate parameter matches the user's resting heart rate, Then the user can be considered to be in a sleep state.
  • the screen state can reflect the user's operation intention on the target terminal.
  • the operation intention may include an operation intention and a non-operation intention.
  • the screen state may include the on-off state of the screen. If the screen state is the screen-on state, it can be determined that the user's operation intention is an operation intention; if the screen state is the screen-off state, it can be determined that the user's operation intention is No operational intent.
  • the screen state may include an unlocked screen state.
  • the screen state is an unlocked state, it can be determined that the user's operation intention is an operation intention, and if the screen state is a locked screen state, it can be determined that the user's operation intention is no operation intention.
  • the screen state may include a touch state. If the screen state is a touched state, it can be determined that the user's operation intention is an operation intention, and if the screen state is an untouched state, it can be determined that the user's operation The intent is no-operation intent. If there is an operation intention, it can be considered that the user's sleep state is a falling asleep state, and if there is no operation intention, it can be considered that the user's sleep state is an awake state.
  • the judgment result of the user's sleep state can also be obtained according to the screen state, which is recorded as the first result, and the judgment result of the user's sleep state obtained according to the user's physiological parameters is recorded as the second result, and the first result and the second result are combined. As a result, the sleep state of the user is enabled.
  • an embodiment of the present application provides a sleep monitoring method.
  • the execution body of the method reference may be made to the foregoing description of the execution body of the method shown in FIG. 3 , which will not be repeated here.
  • the method may include: S401 to S406.
  • S403 Determine the physical state of the user according to the physiological parameter of the user.
  • the physical state may include an action state and a heartbeat state, wherein the action state corresponds to the above-mentioned body motion parameter, and the heartbeat state corresponds to the above-mentioned heart rate parameter.
  • the user's motion state can be determined according to the user's body motion parameters, and the motion state includes a static state and a non-static state.
  • the motion state includes a static state and a non-static state.
  • the motion range of the user's body is relatively small, and It is considered that the user's body is in a relatively stationary state, and when the motion state of the user's body is a non-stationary state, the motion range of the user's body is relatively large.
  • the body motion parameter is the acceleration data of the user's limb, and the acceleration data of the user in the detection time period is obtained. It may be determined that the user's action state is a stationary state, otherwise, the user's action state is determined to be a non-stationary state.
  • the specified acceleration value may be a relatively small value, for example, may be set according to experience or usage requirements.
  • the user's acceleration data may be collected by the user's wearable device worn on the user's limb.
  • the wearable device may be a wristband or a smart watch. When the wristwatch or the wristband is worn and the acceleration capability value is small for a long time, it is in a sleep state.
  • the wearable device may include a three-axis acceleration sensor
  • the user's acceleration data may include an acceleration value of each axis
  • the specified acceleration value may include a second threshold corresponding to each axis, and then determine each axis Whether the acceleration value corresponding to the axis is less than the specified acceleration value corresponding to the axis, if the acceleration value of each week is less than the specified acceleration value corresponding to the axis, and lasts for a certain length of time (for example, it can be 1 minute), it can be determined that the user's body
  • the action state of the user is a stationary state, otherwise, the action state of the user's body is determined to be a non-stationary state.
  • the user's heartbeat state may include a resting state and a non-resting state.
  • real-time heart rate information is determined according to the heart rate parameter.
  • the real-time heart rate information is used to represent the speed of the user's heartbeat in real time. It should be noted that the real-time heart rate does not represent the heart rate at the current moment, but can be up to the current moment. heart rate over time. Compare the heart rate parameter with the resting heart rate. If the heart rate parameter does not significantly increase compared with the resting heart rate, it can be determined that the user's state of mind is a resting state; otherwise, it is determined that the user's state of mind is a non-resting state .
  • the resting heart rate may be a heart rate parameter collected when the user is in a sleep state within a preset time period, and the resting heart rate may be obtained according to the heart rate parameter when the user is in a sleep state, and the preset time period may be the current From 1 to 3 days before the time, the heart rate parameter in the sleep state during the preset time period is named as the historical resting heart rate.
  • the current heart rate does not increase significantly relative to the historical resting heart rate (a certain threshold range can be set), specifically, the absolute value of the difference between the current heart rate and the historical resting heart rate can be obtained.
  • the resting heartbeat threshold is 20bpm.
  • an implementation manner of acquiring the physiological parameters of the user is to acquire the physiological parameters of the user through a wearable device of the user, and the wearable device of the user is associated with the target terminal.
  • the target terminal may be a mobile terminal, and the mobile terminal is associated with the wearable device.
  • the wearable device is bound in the mobile terminal, that is, if the binding relationship exists between the user device and the wearable device, it can be considered that the wearable device and the mobile terminal There is an association relationship.
  • both the mobile terminal and the wearable device may need to log in with a user name before they can be used normally.
  • the device is associated with the mobile terminal.
  • the two need to establish a communication connection, for example, the two are paired through Bluetooth, and then it is detected whether the wearable device is in the worn state, If the connection between the wearable device and the mobile terminal is successfully established, that is, the pairing is successful, and the wearable device is in a worn state, S401 and subsequent steps are performed.
  • S404 Determine whether the body state satisfies a preset characteristic condition.
  • the preset characteristic condition may be a physical state characteristic of the user in a sleep state.
  • the body state is an action state
  • an embodiment of judging whether the body state satisfies the preset characteristic conditions may be to judge whether the body state is a static state, and if it is a static state, determine that the body state meets the predetermined characteristic conditions. Preset characteristic conditions, otherwise, it is determined that the body state does not meet the preset characteristic conditions.
  • the body state is a heartbeat state
  • an embodiment of judging whether the body state satisfies a preset characteristic condition may be to judge whether the heartbeat state is a resting state, and if it is a resting state, then determine whether the body state is a resting state.
  • the body state satisfies the preset feature condition, otherwise, it is determined that the body state does not meet the preset feature condition.
  • the body state is an action state and a heartbeat state
  • an embodiment of judging whether the body state satisfies a preset characteristic condition may be to judge whether the body state is a static state and whether the heartbeat state is a In the resting state, if the body state is the resting state and the heartbeat state is the resting state, it is determined that the body state satisfies the preset characteristic condition; otherwise, it is determined that the body state does not meet the preset characteristic condition.
  • S405 Determine the sleep state of the user according to the screen state.
  • Whether the user is in a sleeping state is determined according to the judgment result of the screen-on-off state.
  • the judgment result of the screen-on-off state may include that the screen state is the screen-off state and the screen state is the screen-on state.
  • the physical state satisfies the preset characteristic conditions, it can be considered that the current sleep state of the user is suspected to be the sleep state. sleep state.
  • the screen state is the screen-off state
  • the sleep state of the user is the sleep state. Because, in the screen-off state, it can be considered that the user is not using the target terminal, and if the physical state of the comprehensive user satisfies the preset characteristic conditions, it can be considered that the user has fallen asleep.
  • the on-off state of the screen of the target terminal can reflect a time period during which the user may be asleep. Specifically, it is considered that the user is in the awake state when the screen is continuously on for a certain period of time (for example, 1 min), and the user is in the sleep state when the screen is continuously turned off for more than a certain period of time. , thus, a sleep time period Tp can be determined. Therefore, the sleep time period is a subset of Tp. Use this method to separate out scenes from longer bed-scanning videos.
  • the implementation of determining the sleep state of the user according to the screen state and the physiological parameter may be that the sleep period is jointly determined according to the body motion parameter, the heart rate parameter and the screen state.
  • the sleep period the user The sleep state of the user is the sleep state, and the user's sleep state is the awake state in the time interval outside the sleep period.
  • the physiological parameters can determine that the user is in a sleep state, for example, determine the collected physiological parameters at each moment, and determine the physical state according to the physiological parameters. If the physical state meets the aforementioned preset characteristic conditions, it can be determined that the user is in a sleeping state. , so that the sleep-onset time period determined based on the physiological parameters can be obtained, which is recorded as the first sleep-onset time period.
  • a third sleep-onset time period is determined according to the body motion parameter; a fourth sleep-onset time period is determined according to the heart rate parameter; the third sleep-onset time period is determined according to the heart rate parameter
  • the time interval shared by the segment and the fourth sleep-onset time segment is used as the first sleep-onset time segment.
  • FIG. 5 shows the user's sleep time period S1 determined according to the acceleration value
  • the sleep time period S1 is the above-mentioned third sleep-onset time period.
  • the value of the acceleration value is relatively small and stable, wherein a1 is the sleep point of the sleep period S1, and a2 is the wake-up point of the sleep period S1, that is, a1 is the first sleep point, and a2 is the first sleep point.
  • Fig. 6 shows the user's sleep time period S2 determined according to the heart rate parameter.
  • the sleep time period S2 is the above-mentioned fourth sleep time period.
  • Fig. 7 shows the user's sleep time period S3 determined according to the screen state, the sleep time period S3 is the above-mentioned second sleep time period, wherein, when the screen is in the bright screen state, the state value is 1, and the screen is in the off screen state. In the state, the state value is 0. It can be seen that in S3, the screen continues to be in the off-screen state.
  • the state value briefly changes to 1, which can be considered to be in the off-screen state.
  • the target terminal receives a reminder message or When the message was pushed, the screen was briefly lit.
  • c1 is the sleep-onset point of the sleep time period S3
  • c2 is the wake-up point of the sleep period of time S3, that is, c1 is the third sleep-onset point
  • c2 is the third wake-up point.
  • the common time interval of the above-mentioned three sleep-onset time periods can be determined, that is, the intersection of the three time periods is obtained, and the common part is the target sleep-onset time period. time to fall asleep.
  • the latest sleep point can be used as the user's real sleep point
  • the first wake point, the second wake point, and the third wake point the waking point with the earliest time is the real waking point of the user
  • the time period between the real falling asleep point and the real waking point is the target falling asleep time period.
  • the screen state is determined to be a bright screen state, it is determined that the user's sleep state is an awake state.
  • the screen state is the bright screen state
  • other information may be combined to further determine the user's sleep state if the user's physical state meets the preset characteristic conditions when the screen state is the bright screen state.
  • the unlocked screen state of the screen of the target terminal may be obtained. If the unlocked screen state is the locked screen state, then It may be determined that the sleep state of the user is the falling asleep state, and if the screen unlocking state is the unlocking state, it may be determined that the sleeping state of the user is the awake state.
  • the displayed content on the screen of the target terminal can be acquired. If the category of the displayed content is a specified category, Then, it may be determined that the sleep state of the user is the falling asleep state, otherwise, it may be determined that the sleep state of the user is the awake state.
  • the specified category may be a pre-acquired category of content that is easy for the user to fall asleep. As an embodiment, the specified category may be preset by the user.
  • the user marks the content that is easy to fall asleep as a specified category, such as , mark the movie of the plot type as the specified category, etc., it can also count the display on the screen of the target terminal when the physical state of the user meets the preset characteristic conditions within the specified reference time period, and the screen state is the bright screen state.
  • the content category of the content thereby obtaining multiple content categories in the specified reference time period, and determining the specified category according to the multiple content categories, for example, taking the category with the highest frequency among the multiple content categories as the specified category.
  • the category of the displayed content may be determined according to the format of the content, or may be determined according to the application program corresponding to the content. For example, if the application program corresponding to the content is a video category, when the application program is running, the category of the content displayed on the screen is determined to be a video category, because the user is prone to fall asleep while watching a video. It is also possible that when the video playback is completed, the playback interface is automatically exited and other interfaces of the video application are displayed. However, at this time, the user is already in a sleep state. Therefore, determining the category of the display content according to the application that plays the display content can make the display content appear. Sleep state detection is more accurate.
  • the implementation manner of determining the category of the application program may be the category set for the application program by the developer of the application program during development, or the category set by the user for the application program after the application program is installed on the electronic device. For example, when a user installs an application on an electronic device, after the installation is completed and the application is entered, a dialog box will be displayed, instructing the user to set a category for the application.
  • the specific category the application belongs to can be set by the user according to requirements. For example, the user can set a certain social software as an audio category, or set it as a video category, or set it as a social category.
  • An application installation software such as an Appstore in an ios system, is installed in the electronic device. Then, an application list is set in the application installation software, in which the user can download applications and update and open applications, and the application installation software can display different applications according to categories, such as audio class, video class, or game class, etc. Therefore, when the user installs the application using the application installation software, he can already know the category of the application.
  • the application supports the function of video playback, set the type of the application to the video type. If it does not support the function of video playback, but only supports audio If the playback function is enabled, the application type is set to the audio type.
  • whether an application supports the video playback function can be determined by the function description contained in the function description information of the application, for example, the supported playback format to determine whether the playback of the video format is supported.
  • the video playback module is played in the program module of the application, for example, the codec algorithm for a certain video playback, etc., so that it can be determined whether the application supports the video playback function.
  • the category of the application program needs to be determined according to the specific operation behavior of the application program. For example, if some applications can play video as well as audio, such as some video playback software, which can play audio-only files or videos, the category of the application can be determined based on the application's usage records, that is, according to The usage history of the app over a certain period of time determines whether the user is more inclined to play video or more inclined to play audio when using the app.
  • the operation behavior data of all users of the application within a preset time period is obtained, where all users refer to all users who have installed the application, and the operation behavior data can be obtained from the server corresponding to the application , that is to say, the user will use the user account corresponding to the user to log in to the application when using the application, and the operation behavior data corresponding to the user account will be sent to the server corresponding to the application, and the server will use the obtained operation behavior.
  • the data is stored corresponding to the user account.
  • the electronic device sends an operation behavior query request for an application to a server corresponding to the application, and the server sends the operation behavior data of all users within a certain preset time period to the electronic device.
  • the operation behavior data includes the name and time of the played audio file, and the name and time of the played video file.
  • the ratio of the total playback duration of the audio file in the predetermined time period is recorded as the audio playback ratio
  • the video The proportion of the total playing time of the file in the predetermined time period is recorded as the proportion of video playing. If the proportion of video playing is greater than the proportion of audio playing, set the category of the application as the video type. If the proportion of audio playing is greater than Video playback ratio, set the category of the application to audio type.
  • the preset time period is 30 days, that is, 720 hours, and the total playing time of audio files is 200 hours
  • the proportion of audio playing is 27.8%
  • the total playing time of video files is 330 hours
  • the proportion of video playing is 45.8%
  • the proportion of video playback is greater than that of audio playback
  • the category of the application is set to the video type.
  • the user's sleep state may be determined according to the real-time heart rate information when the user's physical state satisfies a preset characteristic condition and the screen state is a bright screen state. Specifically, if it is determined that the screen state is the bright screen state, the real-time heart rate information of the user is acquired according to the heart rate parameter, and if the real-time heart rate information is less than the first threshold, it is determined that the sleep state of the user is the selected state State of falling asleep. If the real-time heart rate information is not less than the first threshold, it is determined that the sleep state of the user is the awake state.
  • the first threshold may be the aforementioned resting heart rate.
  • the physiological parameter used is the body motion parameter when determining the physical state
  • the user's real-time heart rate can be combined with the user's real-time heart rate when it is determined according to the body motion parameter that the user is suspected of falling asleep and the screen is bright.
  • the information determines whether the user's sleep state is awake or sleeping when the user's motion range is relatively small and the screen is bright, so that the user's sleep state can be determined by combining the three elements of body motion parameters, screen state and real-time heart rate information. make the results more accurate.
  • the real-time heart rate information can be obtained again when the screen is on, so as to avoid detecting that the user's heart rate information indicates that the user is sleeping after the user's heart rate information is detected.
  • the user opens the target terminal at this time, resulting in inaccurate detection results.
  • the user may operate the target terminal with a small motion range and a resting heart rate. Therefore, if the screen state is the bright screen state, the user's sleep state can be determined according to the user's heart rate variability information. Specifically, please refer to the following embodiments.
  • the screen state is the screen-off state
  • the real-time heart rate information of the user is acquired according to the heart rate parameter, and if the real-time heart rate information is greater than a third threshold, the sleep state of the user is determined The state is the awake state; if the real-time heart rate information is not greater than the third threshold, it is determined that the sleep state of the user is the sleep state.
  • the third threshold may be the same as the first threshold, and both may be the above-mentioned resting heart rate. Therefore, considering that the user does not fall asleep even if the user does not look at the screen when the body movement range is relatively small and the screen is turned off, the real-time heart rate information can be used to further determine whether the user is in a sleep state at this time.
  • the heart rate variability information of the user is acquired according to the heart rate parameter, and the sleep state of the user is determined according to the heart rate variability information, specifically , see subsequent examples.
  • S406 Determine that the sleep state of the user is an awake state.
  • an embodiment of the present application provides a sleep monitoring method.
  • the target terminal is a mobile terminal as an example to describe the method provided by the embodiment of the present application.
  • the method may include: S801 to S809.
  • S803 Determine the physical state of the user according to the physiological parameter of the user.
  • the current sleep state of the user is the sleep state to be confirmed, that is, the user is currently in a state of suspected sleep.
  • the more real sleep state of the user it can be determined in combination with the on-off state of the screen.
  • S805 Determine whether the screen state is a screen-off state.
  • the screen state is the screen-off state, it means that the current physical state of the user satisfies the physical state of the user when the user is sleeping, and the screen is in the screen-off state. Since the possibility of the user using the mobile terminal is very small in the screen-off state, it can be considered that There is a high possibility that the user has fallen asleep at present, that is, S808 is executed.
  • step S805 the result obtained according to step S805 at this time should be that the user's sleep state is the sleep state, an error will be caused.
  • the mobile terminal or the wearable device collects the surrounding ambient sound, and judges whether the surrounding ambient sound contains the specified type of voice.
  • the specified type of voice may be snoring.
  • S808 is executed, that is, it is determined that the sleep state of the user is the falling asleep state; otherwise, S809 is executed, that is, it is determined that the user's sleep state is the all sleep state. State of wakefulness.
  • S806 Acquire the heart rate variability information of the user.
  • the screen of the mobile terminal when the screen of the mobile terminal is off, if a push message or notification is received, the screen may be briefly turned on. If it is unnecessary to obtain the user's heart rate variability information and determine the user's sleep state according to the heart rate variability information, therefore , the screen is in the off-screen phase at this time, and the bright screen caused by push messages or notifications is only short-lived. Therefore, if the screen state is the bright screen state, the implementation manner of acquiring the heart rate variability information of the user may be, if the screen state is the bright screen state, obtain the first one whose screen state is continuously in the bright screen state. time length; if the first time length is greater than the first specified threshold, obtain the heart rate variability information of the user.
  • the first specified threshold can be set according to experience, for example, set a small value, for example, the first specified threshold can be 10 seconds, in addition, the first specified threshold can also be based on the notification reminder set by the mobile terminal Specifically, the first specified threshold may be greater than or equal to the notification reminder duration. Therefore, if the first duration of the continuously bright screen is less than or equal to the first specified threshold, it can be considered that the current screen is lit, is temporary.
  • Heart rate variability (HRV) information refers to the change of the heartbeat cycle difference or the change of the heartbeat speed.
  • the autonomic nervous system in the human body regulates functions in the body that are not subject to human control, including heartbeat, breathing, blood pressure, and digestion.
  • HRV reflects the working condition of your autonomic nervous system. If the user is in the "fight or flight” sympathetic dominant mode, the user's HRV will be lower, that is, the HRV will be lower if the sympathetic nerve is more active, that is, the higher the sympathetic nerve activity, the lower the HRV. If the user is in the "relax or digest” parasympathetic dominant mode, your HRV will be higher. Therefore, HRV can reflect the user's sympathetic activity.
  • the activity of the sympathetic nerve is not high, and the HRV value is high.
  • the sympathetic nerve is in a state of resting heartbeat. The activity is relatively high, therefore, the HRV value is relatively low.
  • S807 Determine whether the heart rate variability information is higher than a second threshold.
  • the second threshold may be set according to actual requirements, for example, may be a value between 0.2 and 0.3 kHz.
  • the value of HRV increases, showing a high frequency state, it can be determined that the user is currently in a parasympathetic-dominated mode, that is, in a relatively relaxed state. Therefore, it can be considered that the user's current
  • the sleep state is the state of falling asleep.
  • the HRV value becomes smaller and shows a low frequency state. It can be determined that the user is currently in the sympathetic nerve-dominated mode, the sympathetic nerve activity is relatively high, and the user's current sleep state is the awake state. .
  • S808 Determine that the sleep state of the user is the sleep state.
  • the heart rate variability information of the user is acquired according to the heart rate parameter; if the heart rate variability information is less than the fourth threshold, then It is determined that the sleep state of the user is the awake state; and if the heart rate variability information is not less than the fourth threshold, it is determined that the sleep state of the user is the sleep-in state.
  • the fourth threshold may be the same as the aforementioned second threshold, and specifically, the contents of the aforementioned S806 to S807 may be referred to, which will not be repeated here.
  • S809 Determine that the sleep state of the user is the awake state.
  • the user's heart rate variability information can be obtained, and the user's sleep state can be determined according to the heart rate variability information.
  • the result is that the sleep state of the user is the sleep state, in order to avoid a transient increase in HRV, which is misjudged as a sleep state, it is possible to determine the user's sleep state after determining that the HRV is increasing for a certain period of time.
  • the state is the sleep state.
  • the heart rate variability information is acquired for a second time length that is continuously higher than a second threshold; if the second time length is greater than a second specified threshold, it is determined that the sleep state of the user is the falling asleep state.
  • the second specified threshold may be set empirically, for example, may be 10 to 20 minutes.
  • physiological parameters may include at least one of data such as body motion parameters, heart rate parameters, respiration, blood oxygen, body temperature, etc.
  • operation data of the wearable device may also be added, wherein the operation data of the wearable device may include wearing For other screen states, name the screen state as the first screen state, and name the screen state of the wearable device as the second screen state.
  • the above-mentioned embodiment of determining the sleep state of the user according to the screen state and physiological parameters can be changed to determine the sleep state of the user according to the first screen state, the second screen state and the physiological parameters, then
  • the above-mentioned implementation manner of determining whether the screen state is the screen-off state or the screen-on state may be changed to determining the screen-on-off state of the first screen state and the second screen state.
  • the above-mentioned embodiment of determining that the user's sleep state is the sleeping state if the screen state is the screen-off state is changed to: if the first screen state and the second screen state are both the screen-off state, determining that the user is in the off-screen state.
  • the sleep state is the sleep state.
  • the above-mentioned embodiment of obtaining the heart rate variability information of the user if the screen state is the bright screen state is changed to: if the first screen state and the second screen state are both bright screen states, the heart rate variability information of the user is obtained, specifically.
  • the implementation manner of the above can be replaced with reference to the foregoing embodiments, which will not be repeated here.
  • the sleep monitoring apparatus 1000 may include: a first obtaining unit 1001 , a second obtaining unit 1002 and a determining unit 1003 .
  • the first acquiring unit 1001 is configured to acquire the screen state of the target terminal.
  • the second acquiring unit 1002 is configured to acquire physiological parameters of the user, where the physiological parameters include at least one of a body motion parameter and a heart rate parameter.
  • the second obtaining unit 1002 is further configured to obtain the physiological parameter of the user through the wearable device of the user, and the wearable device of the user is associated with the target terminal.
  • Determining unit 1003 configured to determine the sleep state of the user according to the screen state and physiological parameters
  • the determining unit 1003 is further configured to determine the physical state of the user according to the physiological parameters of the user; determine whether the physical state satisfies a preset characteristic condition, and the preset characteristic condition is the body of the user in a sleeping state state; if the preset characteristic conditions are met, determine whether the screen state is the screen-off state or the screen-on state; determine whether the user is in a sleeping state according to the judgment result of the screen-on-off state; if the preset characteristic conditions are not met, determine the The sleep state of the user is an awake state.
  • the determining unit 1003 is further configured to determine that the sleep state of the user is the sleep state if the screen state is the screen-off state.
  • the determining unit 1003 is further configured to obtain the heart rate variability information of the user if the screen state is the bright screen state, and the heart rate variability information is used to represent the sympathetic nerve activity of the user; if the heart rate variability If the sex information is higher than the second threshold, it is determined that the sleeping state of the user is the falling asleep state; if the heart rate variability information is not higher than the second threshold, it is determined that the sleeping state of the user is the awake state.
  • the determining unit 1003 is further configured to obtain a first time length during which the screen state continues to be in the bright screen state if the screen state is a bright screen state; if the first time length is greater than a first specified threshold, Get the user's heart rate variability information.
  • the determining unit 1003 is further configured to obtain a second time length that the heart rate variability information is continuously higher than the second threshold if the heart rate variability information is higher than the second threshold; 2. Specifying a threshold, determining that the sleep state of the user is the sleep state.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • FIG. 11 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 100 may be the above-mentioned target terminal or server.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a screen 130, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and configured For execution by one or more processors 110, one or more programs are configured to perform the method as described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120.
  • the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, and is implemented by a communication chip alone.
  • the memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 100 during use.
  • FIG. 12 shows a structural block diagram of a computer-readable medium provided by an embodiment of the present application.
  • the computer-readable medium 1200 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer readable medium 1200 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable medium 1200 includes a non-transitory computer-readable storage medium.
  • Computer readable medium 1200 has storage space for program code 1210 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products.
  • Program code 1210 may be compressed, for example, in a suitable form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Cardiology (AREA)
  • Computer Hardware Design (AREA)
  • Physiology (AREA)
  • Human Computer Interaction (AREA)
  • Anesthesiology (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • Neurosurgery (AREA)
  • Neurology (AREA)
  • Dermatology (AREA)
  • Computing Systems (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

一种睡眠监测方法、装置、电子设备及计算机可读介质,涉及健康监测技术领域,方法包括:获取目标终端的屏幕状态(S301);获取用户的生理参数(S302),生理参数包括体动参数和心率参数的至少一种;根据屏幕状态和生理参数确定用户的睡眠状态(S303)。由于屏幕状态能够反应用户对用户终端的操作,而该操作能够进一步反应用户的睡眠状态,生理参数也能够反应用户的睡眠状态,因此,结合屏幕状态和生理参数能够使得所确定的睡眠状态更加准确。

Description

睡眠监测方法、装置、电子设备及计算机可读介质
相关申请的交叉引用
本申请要求于2020年9月29日提交中国专利局的申请号为202011052065.2、名称为“睡眠监测方法、装置、电子设备及计算机可读介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及健康监测技术领域,更具体地,涉及一种睡眠监测方法、装置、电子设备及计算机可读介质。
背景技术
随着诸如智能手机、智能手表、智能手环(简称:手环)等可穿戴设备或移动终端的普及,基于智能设备的睡眠健康监测技术逐渐成熟。但是,目前睡眠监测的准确率不高,尤其是针对卧床玩手机的用户,睡眠监测的误差会更大。
发明内容
本申请提出了一种睡眠监测方法、装置、电子设备及计算机可读介质,以改善上述缺陷。
第一方面,本申请实施例提供了一种睡眠监测方法,应用于电子设备,所述方法包括:获取目标终端的屏幕状态;获取用户的生理参数,所述生理参数包括体动参数和心率参数的至少一种;根据所述屏幕状态和生理参数确定所述用户的睡眠状态,所述睡眠状态包括入睡状态和清醒状态。
第二方面,本申请实施例还提供了一种睡眠监测装置,包括第一获取单元、第二获取单元和确定单元。第一获取单元,用于获取目标终端的屏幕状态。第二获取单元,用于获取用户的生理参数,所述生理参数包括体动参数和心率参数的至少一种。确定单元,用于根据所述屏幕状态和生理参数确定所述用户的睡眠状态,所述睡眠状态包括入睡状态和清醒状态。
第三方面,本申请实施例还提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行上述方法。
第四方面,本申请实施例还提供了一种计算机可读介质,所述计算机可读介质存储有处理器可执行的程序代码,所述程序代码被所述处理器执行时使所述处理器执行上述方法。
本申请提供的睡眠监测方法、装置、电子设备及计算机可读介质,获取目标终端的 屏幕状态以及用户的生理参数,然后,根据所述屏幕状态和生理参数确定所述用户的睡眠状态,其中,生理参数可以是体动参数和心率参数的至少一种,最后,根据屏幕状态和生理参数能够确定出用户的睡眠状态。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请实施例提供的睡眠状态下加速度值的变化曲线;
图2示出了本申请实施例提供的睡眠状态下心率的变化曲线;
图3示出了本申请一实施例提供的睡眠监测方法的方法流程图;
图4示出了本申请另一实施例提供的睡眠监测方法的方法流程图;
图5示出了本申请实施例提供的基于加速度值确定的睡眠时段的示意图;
图6示出了本申请实施例提供的基于心率确定的睡眠时段的示意图;
图7示出了本申请实施例提供的基于屏幕状态确定的睡眠时段的示意图;
图8示出了本申请又一实施例提供的睡眠监测方法的方法流程图;
图9示出了本申请实施例提供的基于HRV确定的睡眠时段的示意图;
图10示出了本申请实施例提供的睡眠监测装置的模块框图;
图11示出了本申请实施例提供的电子设备的模块框图;
图12出了本申请实施例提供的用于保存或者携带实现根据本申请实施例的信息处理方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
随着生活节奏的加快,工作压力的增大,睡眠障碍开始成为现代人的一大困扰,几乎有超过六成的人存在睡眠障碍。睡眠障碍的种类非常多,总结起来分为三大类:睡不着、睡不好和睡不饱。睡眠障碍会给我们的生活带来诸多不便,会更容易导致人体衰老加速、免疫力下降、诱发心脑血管疾病等。可见,保持健康的睡眠是非常重要的。
目前采用预防医学的概念来解决睡眠障碍问题,即早发现早治疗。传统的睡眠障碍评测方法是,填写睡眠评测量表,或者是做整夜的PSG监测。这两种方法虽然监测的比较准确,但是考虑到费用和便利性的话,要想做长期的监测是不太现实的。所以,迫切需要一种方便的、低廉的睡眠监测系统,来帮助我们识别睡眠障碍。
由于穿戴式设备和智能手机的飞速发展,越来越多的睡眠监测系统被发明出来,大体可以分为两类:基于加速度信号、基于心跳信号以及基于加速度信号和心跳信号共同检测。
发明人在研究中发现,目前的睡眠监测方法存在诸多问题,具体地,虽然前述方法能够在一些用户卧床睡眠等场景下,较准确的监测到用户的睡眠状态,但是,在一些特殊场景下,例如,用户卧床玩手机或者看视频等场景,该场景的特点是用户虽然保持清醒状态但是动作几乎很小,则在该特设场景下,如果使用前述的基于加速度信号、基于心跳信号以及基于加速度信号和心跳信号共同检测所得到的监测结果往往是用户已入 睡,即存在一定的误差。
例如,用户卧床观看手机播放的视频或者看文章等,测试获取到的用户的身体的加速度信号如图1所示,以及所测得的心率结果如图2所示,可以看出,图1的加速度值显示用户此时的身体动作很少,身体几乎处于静止状态,由图2的心率值可以看出,此时用户的心率比较低且比较平稳,而用户在睡眠的时候所表现出的身体特征为,身体较静止,体动较少,心率较低,即稳定在静息心率。因此,由图1和图2可以看出,此时通过加速度和/或心率得到的睡眠监测结果均为已入睡,然而,用户此时的状态为躺在床上观看手机视频,因此,睡眠监测结果与用户的实际睡眠状态不符,即监测结果错误。
因此,为了改善上述缺陷,如图3所示,本申请实施例提供了一种睡眠监测方法,该睡眠监测方法可以应用于移动终端,也可以应用于用户的可穿戴设备,也可以应用于服务器,其中,该可穿戴设备可以是手环或智能手表等,移动终端可以是用户使用的智能手机。也就是说,该方法的执行主体可以是移动终端,也可以是可穿戴设备、影音播放设备,还可以是服务器,其中,服务器能够获取移动终端和可穿戴设备的数据,则如果该方法的执行主体是移动终端,则移动终端可以与可穿戴设备直接建立连接,并通过所建立的连接获取可穿戴设备的数据,若该方法的执行主体是可穿戴设备,则同样可以通过所建立的连接获取移动终端的数据,当然,移动终端和可穿戴设备还可以通过服务器获取数据,即二者中的一方将数据传输到服务器,由服务器将数据转发至另一方。具体地,本申请实施例的方法的执行主体可以是电子设备,该电子设备可以是前述的移动终端、可穿戴设备以及服务器的至少一种,则该方法包括:S301至S303。
S301:获取目标终端的屏幕状态。
其中,目标终端可以是上述的移动终端、可穿戴设备和影音播放设备的至少一种。屏幕状态可以包括屏幕的亮灭状态、解锁屏状态、触控状态以及显示状态等。
其中,屏幕的亮灭状态可以包括亮屏状态和熄屏状态,屏幕在亮屏状态下显示亮的画面,即屏幕的背光板发光,屏幕在熄屏状态下显示暗的画面,即屏幕的背光板不发光或者发光的亮度微弱。
作为一种实施方式,该屏幕状态可以是移动终端的屏幕状态,也可以是可穿戴设备的屏幕状态,还可以是用户当前所在环境内的影音播放设备,作为一种实施方式,该影音播放设备可以是有屏设备。具体地,该有屏设备可以是安装有屏幕的设备,其中,用户当前所在环境可以根据用户的位置而确定。作为一种实施方式,通过移动终端或用户的可穿戴设备确定用户的位置信息,根据用户的位置信息确定用户当前所处的环境,然后,预先确定用户当前所处的环境内的有屏设备。可以统计用户的家庭住址对应的家居设备中的有屏设备,作为与家庭住址对应的有屏设备,则在获取到用户的位置信息之后,如果该位置信息为该家庭住址,则可以确定用户当前所在环境内的有屏设备为用户的家居设备中的有屏设备,例如,电视机等。作为另一种实施方式,还可以是用户为家庭地址配置有屏设备。例如,虽然用户的家庭地址内包括多个有屏设备,但是,用户可以选择其中的至少一个有屏设备作为用户的家庭地址对应的有屏设备。进一步地,还可以是在确定用户的位置信息位于用户的家庭地址的时候,再根据室内定位技术确定用户的位置信息位于家庭地址的具体的房间,记为目标房间,将布置在该目标房间内的有屏设备作为用户当前所在环境内的有屏设备。
作为一种实施方式,该目标终端可以是与用户关联的终端,具体地,登录该目标终端的用户帐号对应的身份信息为该用户的身份信息。例如,该用户帐号的实名认证的身份ID与用户的身份ID相同。在一些实施例中,该用户对应多个终端设备的时候,可以通过用户对每个终端设备的使用数据确定该目标终端。具体地,该使用数据包括用户对终端设备的操作,通过每个终端设备的使用数据由多个终端设备中查找最近使用的终端 设备,作为目标终端,从而,获取该目标终端的屏幕状态。在另一些实施例中,如果该目标终端的使用位置与用户的常驻地址匹配,则表征该目标终端与用户关联,其中,使用位置为终端被使用的时候所处的位置,常驻地址可以包括办公地址或家庭住址等用户经常驻留的位置。以该目标终端可以是上述影音播放设备为例,则该影音播放设备的安装位置位于用户的目标地址的指定范围内,则表征该影音播放设备与用户关联。其中,该目标地址可以是用户的家庭地址,该指定范围可以根据实际需求而设定。例如,该影音播放设备为上述的有屏设备,则如果影音播放设备为用户的智能家居设备中的有屏设备,则表征该影音播放设备与用户关联。另外,则该可穿戴设备是与用户的移动终端关联的设备,具体地,可以参考后续实施例。
作为一种实施方式,若该屏幕状态为移动终端或影音播放设备的屏幕状态,屏幕的亮屏状态和熄屏状态可以通过移动终端或影音播放设备的系统内的程序模块来检测。例如,通过PowerManager的isScreenOn函数检测屏幕的熄屏状态和亮屏状态。作为另一种实施方式,该移动终端或影音播放设备的亮屏状态和熄屏状态还可以由用户的可穿戴设备采集,具体地,可穿戴设备上设置有光照传感器,能够检测周围环境的光照强度,若用户在使用移动终端的时候,也有穿戴该可穿戴设备,或者,用户在穿戴该可穿戴设备的时候,身边放置有该移动终端或影音播放设备。由于移动终端或影音播放设备的屏幕在亮屏状态和熄屏状态下,屏幕发出的光照强度不同,因此,通过可穿戴设备对移动终端或影音播放设备的屏幕的光照强度的采集,能够监测到屏幕的亮屏状态和熄屏状态。
其中,屏幕的解锁屏状态包括锁屏状态和解锁状态,作为一种实施方式,通过BroadcastReceiver接收广播Intent.ACTION_SCREEN_ON和Intent.ACTION_SCREEN_OFF,从而可以判断移动终端处于锁屏状态还是解锁状态。
其中,屏幕的触控状态可以包括被触控状态和未被触控状态。被触控状态指的是在指定时间长度内屏幕有被触控,未被触控状态指的是在指定时间长度内屏幕有被触控。作为一种实施方式,可以检测当前时刻,屏幕是否被触摸,如果被触摸,则判定屏幕的触控状态为被触控状态,否则,判定屏幕的触控状态为未被触控状态。
作为另一种实施方式,还可以检测在当前时间之前的指定时间长度内,屏幕是否接收到触控操作,根据在该指定时间长度内所检测到的屏幕接收的触控操作确定屏幕的触控状态。在一些实施例中,如果在该指定时间长度内屏幕有接收的触控操作,即屏幕有被触控操作过,则可以认为屏幕的触控状态为被触控状态,如果在该指定时间长度内屏幕未接收到触控操作,则可以认为屏幕的触控状态为未被触控状态。在另一些实施例中,获取在该指定时间长度内所检测到的屏幕接收的触控操作的次数,如果该次数大于第二阈值,则判定屏幕的触控状态为被触控状态,否则该次数小于或等于该第二阈值,判定屏幕的触控状态为未被触控状态。
其中,屏幕的显示状态可以包括桌面界面状态和非桌面界面状态,其中,桌面界面状态用于表示屏幕当前所显示的内容为系统桌面,该系统桌面上显示有目标所安装的应用程序的图标,作为用户由多个应用程序中选择并操作应用程序的操作界面,非桌面界面状态用于表示屏幕当前所显示的内容为非系统桌面。其中,非桌面界面状态还可以根据所显示的内容的类型确定出多个子状态,例如,视频界面子状态、游戏界面子状态等,其中,视频界面子状态用于表示当前屏幕显示的界面为视频界面,即屏幕上显示的内容为视频,游戏界面子状态用于表示当前屏幕显示的界面为游戏界面,即屏幕上显示的内容为游戏应用程序的界面。
S302:获取用户的生理参数。
其中,所述生理参数包括体动参数和心率参数的至少一种。获取用户的生理参数的 实施方式可以是通过用户的可穿戴设备获取。例如,可穿戴设备上设置有用于采集体动参数和心率参数的传感器,其中,用于采集体动参数的传感器可以是加速度传感器,用于采集心率参数的传感器可以是心率传感器。
在一些实施例中,体动参数可以是用于表征用户的身体动作的数据。例如,该体动参数可以是用户身体的加速度数据,该加速度数据可以是用户的肢体动作时产生的加速度。例如,该加速度数据可以是用户手部动作时产生的加速度值和每个加速度值对应的时间点。
S303:根据所述屏幕状态和生理参数确定所述用户的睡眠状态。
其中,该睡眠状态包括入睡状态和清醒状态。作为一种实施方式,生理参数能够确定用户的睡眠状态。例如,用户在处于入睡状态的时候,身体的动作较小并且心率表现为静息心率。若生理参数包括体动参数,且该体动参数为加速度数据,则如果加速度值比较小,可以认为用户处于睡眠状态,若生理参数包括心率参数,则如果心率参数与用户的静息心率匹配,则可以认为用户处于睡眠状态。
由此,根据用户的生理参数能够确定用户的睡眠状态是入睡状态还是清醒状态,然后,屏幕状态能够反应用户对目标终端的操作意向。具体地,操作意向可以包括有操作意向和无操作意向。例如,屏幕状态可以包括屏幕的亮灭状态,如果屏幕状态为亮屏状态,则可以判定该用户的操作意向为有操作意向,如果屏幕状态为熄屏状态,则可以判定该用户的操作意向为无操作意向。再例如,屏幕状态可以包括解锁屏状态。如果屏幕状态为解锁状态,则可以判定该用户的操作意向为有操作意向,如果屏幕状态为锁屏状态,则可以判定该用户的操作意向为无操作意向。再例如,屏幕状态可以包括触控状态,如果屏幕状态为被触控状态,则可以判定该用户的操作意向为有操作意向,如果屏幕状态为未被触控状态,则可以判定该用户的操作意向为无操作意向。如果有操作意向,可以认为用户的睡眠状态为入睡状态,如果无操作意向,可以认为用户的睡眠状态为清醒状态。
因此,根据屏幕状态也可以得到用户的睡眠状态的判定结果,记为第一结果,将根据用户的生理参数得到用户的睡眠状态的判定结果,记为第二结果,结合第一结果和第二结果,能够用户的睡眠状态。
由于屏幕状态能够反应用户对目标终端的操作,而该操作能够进一步反应用户的睡眠状态,生理参数也能够反应用户的睡眠状态,因此,结合屏幕状态和生理参数能够使得所确定的睡眠状态更加准确。如图4所示,本申请实施例提供了一种睡眠监测方法,该方法的执行主体可以参考前述针对图3所示的方法的执行主体的描述,在此不再赘述。具体地,该方法可以包括:S401至S406。
S401:获取屏幕状态。
S402:获取用户的生理参数。
S403:根据所述用户的生理参数确定用户的身体状态。
其中,身体状态可以包括动作状态和心跳状态,其中,动作状态与上述的体动参数相对应,心跳状态与上述的心率参数对应。
具体地,根据用户的体动参数能够确定用户的动作状态,该动作状态包括静止状态和非静止状态,用户的身体的动作状态为静止状态的情况下,用户的身体的动作幅度比较小,可以认为用户的身体处于相对静止的状态,用户的身体的动作状态为非静止状态的情况下,用户的身体的动作幅度比较大。
作为一种实施方式,该体动参数为用户的肢体的加速度数据,获取用户在检测时间段内的加速度数据,若加速度数据处于变化幅度不大并且加速度值低于指定加速度值的情况下,则可以确定用户的动作状态为静止状态,否则,确定用户的动作状态为非静止 状态。其中,该指定加速度值可以是一个比较小的数值,例如,可以根据经验或使用需求而设定。
在一些实施例中,该用户的加速度数据可以由佩戴在用户肢体上的用户的可穿戴设备而采集。例如,该可穿戴设备可以是手环或智能手表,在佩戴手表或手环时,持续较长时间加速度能力值很小时,则处于睡眠状态。具体地,该可穿戴设备可以包括三轴加速度传感器,则用户的加速度数据可以包括每个轴的加速度值,则该指定加速度值可以包括对应每个轴的第二阈值,然后,判断每个轴的加速度值是否小于该轴对应的指定加速度值,如果每个周的加速度值均小于该轴对应的指定加速度值,且持续一定时间长度(例如,可以是1分钟),则可以判定用户的身体的动作状态为静止状态,否则,判定用户的身体的动作状态为非静止状态。
作为一种实施方式,用户的心跳状态可以包括静息状态和非静息状态。获取心率参数之后,根据该心率参数确定实时心率信息,该实时心率信息用于实时表征用户心跳的快慢,需要说明的是,该实时心率并非表示当前时刻的心率,可以是截止到当前时刻之前的一段时间内的心率。将该心率参数与静息心率比对,如果该心率参数相比静息心率无明显的升高,则可以判定用户的心态状态为静息状态,否则,判定用户的心态状态为非静息状态。作为一种实施方式,该静息心率可以是采集用户在预设时间段内处于睡眠状态时的心率参数,根据该处于睡眠状态时的心率参数得到静息心率,该预设时间段可以是当前时刻之前的1至3天,将该预设时间段内处于睡眠状态时的心率参数命名为历史静息心率。当前心率相对历史静息心率无明显升高时(可设置一定的阈值范围),具体地,可以是获取当前心率相对历史静息心率的差值的绝对值,如果该差值的绝对值小于静息心跳阈值且持续小于该阈值的时间长度高于静息时间阈值,则认为用户的心态状态为静息状态,否则,判定用户的心态状态为非静息状态。其中,该静息心跳阈值为20bpm。
另外,在一些实施例中,获取用户的生理参数的实施方式为,通过所述用户的可穿戴设备获取所述用户的生理参数,所述用户的可穿戴设备与所述目标终端存在关联关系。作为一种实施方式,该目标终端可以是移动终端,则移动终端与可穿戴设备存在关联关系。具体地,在用户使用该可穿戴设备的时候,在移动终端内将可穿戴设备绑定,即如果用户设备和可穿戴设备之间存在该绑定关系就可以认为可穿戴设备与所述移动终端存在关联关系。作为另一种实施方式,还可以是移动终端和可穿戴设备均需要登录用户名才能够正常使用,如果当前登录移动终端的用户名与当前登录可穿戴设备的用户名相同,则可以认为可穿戴设备与所述移动终端存在关联关系。
作为一种实施方式,可穿戴设备和移动终端在用于监测用户睡眠状态的时候,二者需要建立通信连接,例如,二者通过蓝牙配对完成,然后,检测可穿戴设备是否处于已穿戴状态,若可穿戴设备和移动终端成功建立连接,即成功配对,且可穿戴设备处于已穿戴状态,则执行S401以及后续步骤。
S404:判断所述身体状态是否满足预设特征条件。
其中,预设特征条件可以是用户处于睡眠状态下的身体状态特征。
作为一种实施方式,该身体状态为动作状态,判断所述身体状态是否满足预设特征条件的实施方式可以是,判断所述身体状态是否为静止状态,如果是静止状态,则判定身体状态满足预设特征条件,否则,判定身体状态不满足预设特征条件。
作为另一种实施方式,该身体状态为心跳状态,判断所述身体状态是否满足预设特征条件的实施方式可以是,判断所述心跳状态是否为静息状态,如果是静息状态,则判定身体状态满足预设特征条件,否则,判定身体状态不满足预设特征条件。
作为又一种实施方式,该身体状态为动作状态和心跳状态,判断所述身体状态是否满足预设特征条件的实施方式可以是,判断所述身体状态是否为静止状态且所述心跳状 态是否为静息状态,如果身体状态是静止状态且心跳状态是静息状态,则判定身体状态满足预设特征条件,否则,判定身体状态不满足预设特征条件。
S405:根据所述屏幕状态确定所述用户的睡眠状态。
具体地,确定屏幕的亮屏状态和熄屏状态的具体实施方式可以参考前述实施例,在此不再赘述。根据亮熄屏状态判断结果确定所述用户是否为入睡状态。
其中,亮熄屏状态判断结果可以包括屏幕状态为熄屏状态和屏幕状态为亮屏状态。
作为一种实施方式,在身体状态满足预设特征条件的情况下,可以认为用户当前的睡眠状态疑似为入睡状态,但是,还需要进一步根据目标终端的屏幕的亮熄屏状态来确定用户当前的睡眠状态。
在一些实施例中,若所述屏幕状态是熄屏状态,确定所述用户的睡眠状态为所述入睡状态。因为,在熄屏状态下,可以认为用户未使用目标终端,则综合用户的身体状态满足预设特征条件的情况下,可以认为用户已入睡。
通过目标终端的屏幕的亮灭状态,可以反映用户可能处于睡眠的一个时间段,具体地,认为连续亮屏幕超过一定时长(如1min)则处于清醒状态,连续熄屏幕超过一定时长则处于睡眠状态,由此,就能够确定出一个睡眠时间段Tp,因此,睡眠时间是Tp的一个子集。使用此方法可以将较长卧床刷手机视频的场景区分开。
作为一种实施方式,根据所述屏幕状态和所述生理参数确定所述用户的睡眠状态的实施方式可以是,根据体动参数、心率参数和屏幕状态共同确定睡眠时段,在睡眠时段内,用户的睡眠状态为入睡状态,在该睡眠时段之外的时间区间内用户的睡眠状态为清醒状态。
具体地,根据所述生理参数确定第一入睡时间段;根据所述屏幕状态确定第二入睡时间段;根据所述第一入睡时间段和所述第二入睡时间段确定目标入睡时间段;确定所述目标入睡时间段内所述用户的睡眠状态为入睡状态。具体地,将所述第一入睡时间段和所述第二入睡时间段共有的时间区间作为目标入睡时间段。
其中,生理参数能够确定用户处于睡眠状态,例如确定所采集的每个时刻的生理参数,并且根据该生理参数确定身体状态,如果该身体状态满足前述预设特征条件,就能够确定用户处于睡眠状态,从而能够得到基于生理参数确定的入睡时间段,记为第一入睡时间段。作为一种实施方式,若生理参数包括体动参数和心率参数,则根据所述体动参数确定第三入睡时间段;根据所述心率参数确定第四入睡时间段;将所述第三入睡时间段和所述第四入睡时间段共有的时间区间作为所述第一入睡时间段。
具体地,如图5、图6和图7所示,图5示出了根据加速度值确定的用户的睡眠时间段S1,该睡眠时间段S1即为上述的第三入睡时间段,可以看出在S1内,加速度值的值比较小,而且较稳定,其中,a1为该睡眠时间段S1的入睡点,a2为该睡眠时间段S1的清醒点,即a1为第一入睡点,a2为第一清醒点。图6示出了根据心率参数确定的用户的睡眠时间段S2,该睡眠时间段S2即为上述的第四入睡时间段,可以看出在S2内,心率较小,比较接近于用户的静息心率,其中,b1为该睡眠时间段S2的入睡点,b2为该睡眠时间段S2的清醒点,即b1为第二入睡点,b2为第二清醒点。图7示出了根据屏幕状态确定的用户的睡眠时间段S3,该睡眠时间段S3即为上述的第二入睡时间段,其中,屏幕处于亮屏状态时,状态值为1,屏幕处于熄屏状态时,状态值为0,可以看出在S3内,屏幕持续为熄屏状态,另外,在S3内状态值短暂变为1,可以认为是熄屏的状态下,目标终端收到提醒信息或者推送消息的时候,屏幕短暂被点亮。其中,c1为该睡眠时间段S3的入睡点,c2为该睡眠时间段S3的清醒点,即c1为第三入睡点,c2为第三清醒点。
作为一种实施方式,可以确定上述三个入睡时间段的共同时间区间,即三个时间段 求交集,共有部分即为目标入睡时间段,则该目标入睡时间段体现了同时满足三种方式的入睡时间段。具体地,可以将第一入睡点、第二入睡点和第三入睡点中,时间最晚的入睡点作为用户的真实入睡点,可以将第一清醒点、第二清醒点和第三清醒点中,时间最早的清醒点作为用户的真实清醒点,则真实入睡点和真实清醒点之间的时间段就是目标入睡时间段。
在一些实施例中,若所述身体状态不满足所述预设特征条件,确定屏幕状态为亮屏状态的情况下,确定用户的睡眠状态为清醒状态。
在另一些实施例中,如果屏幕状态是亮屏状态,可以结合其他的信息进一步判断在屏幕状态是亮屏状态的情况下,若用户的身体状态满足预设特征条件,用户的睡眠状态。
作为一种实施方式,可以在用户的身体状态满足预设特征条件,并且屏幕状态是亮屏状态的情况下,获取目标终端的屏幕的解锁屏状态,如果该解锁屏状态为锁屏状态,则可以判定所述用户的睡眠状态为所述入睡状态,如果该解锁屏状态为解锁状态,则可以判定所述用户的睡眠状态为清醒状态。
作为另一种实施方式,可以在用户的身体状态满足预设特征条件,并且屏幕状态是亮屏状态的情况下,获取目标终端的屏幕上的显示内容,如果该显示内容的类别为指定类别,则可以判定所述用户的睡眠状态为所述入睡状态,否则,可以判定所述用户的睡眠状态为清醒状态。其中,该指定类别可以是预先获取的容易令用户入睡的内容的类别,作为一种实施方式,该指定类别可以是用户预先设定的,例如,用户将容易入睡的内容标记为指定类别,例如,将剧情类的电影标记为指定类别等,还可以是统计用户在指定参考时间段内,身体状态满足预设特征条件,并且屏幕状态是亮屏状态的情况下,目标终端的屏幕上的显示内容的内容类别,从而获取该指定参考时间段的多个内容类别,根据该多个内容类别确定指定类别,例如,将多个内容类别中出现频次最高的类别,作为指定类别。
另外,该显示内容的类别可以是根据该内容的格式确定,也可以是根据该内容对应的应用程序来确定。例如,如果该内容对应的应用程序为视频类,则在该应用程序运行的时候,在屏幕上所显示的内容的类别均被判定为视频类,因为,用户在观看视频的时候容易睡着,也有可能在视频播放完成的时候,自动退出播放界面而显示视频应用程序的其他界面,但是,此时用户已经处于睡眠状态,因此,根据播放该显示内容的应用程序确定该显示内容的类别能够使得睡眠状态的检测更加准确。
则确定应用程序的类别的实施方式可以是,应用程序的开发商在开发的时候为应用程序设定的类别,也可以是应用程序在安装在电子设备上之后,用户为应用程序设定的类别,例如,用户在电子设备上安装某个应用程序,在安装完成并进入该应用程序之后,会显示一个对话框,指示用户为应用程序设定类别。则应用程序具体属于哪个类别,可以由用户根据需求而设定,例如,用户可以将某社交软件设置为音频类,或者设置为视频类,或者设置为社交类。
电子设备内安装有应用程序安装软件,例如ios系统内的Appstore。则在该应用程序安装软件内设置有应用程序列表,在该列表内用户能够下载应用程序并且能够更新和打开应用程序,而且该应用程序安装软件可以将不同的应用程序按照类别现实,比如,音频类、视频类或者游戏类等。因此,用户在使用该应用程序安装软件安装应用程序的时候,就已经能够知道该应用程序的类别。
另外,考虑到有些应用程序可以播放视频也可以播放音频,则如果该应用程序支持视频播放的功能,就将该应用程序的类型设置为视频类型,如果不支持视频播放的功能,而仅仅支持音频播放的功能,则就将该应用程序的类型设置为音频类型。而具体地,应用程序是否支持视频播放功能,可以通过该应用程序的功能描述信息中,所包含的功能 描述,例如,所支持的播放格式来判断是否支持视频格式的播放,也可以通过检测该应用程序的程序模块内是否播放视频播放模块,例如,某个视频播放的编解码算法等,从而能够确定该应用程序是否支持视频播放功能。
再者,如果有些应用程序的功能多样化,则需要根据应用程序的具体操作行为而确定该应用程序的类别。例如,如果有些应用程序能够播放视频,也能够播放音频,例如一些视频播放软件,可以播放纯音频文件,也可以播放视频,则该应用程序的类别可以根据应用程序的使用记录而确定,即根据该应用程序的一定时间段内的使用记录,确定用户使用该应用程序是倾向于播放视频还是更倾向于播放音频。
具体地,获取该应用程序在预设时间段内的所有用户的操作行为数据,其中,所有用户是指安装过该应用程序的所有用户,则该操作行为数据可以由应用程序对应的服务器内获取,也就是说,用户在使用该应用程序的时候会使用用户对应的用户账号登录该应用程序,而用户账号对应的操作行为数据会发送至应用程序对应的服务器,则服务器将所获取的操作行为数据与用户账号对应存储。在一些实施例中,电子设备发送针对应用程序的操作行为查询请求发送至该应用程序对应的服务器,服务器将一定预设时间段内的所有用户的操作行为数据发送至电子设备。
该操作行为数据包括所播放的音频文件的名称和时间、以及所播放的视频文件的名称和时间,通过分析该操作行为数据就能够确定在一定预设时间段内该应用程序播放的音频文件的数量以及总的时间,也可以得到该应用程序播放的视频文件的数量以及总的时间,则根据音频和视频文件的播放总时长在该预定时间段内的占比,确定应用程序的类别,具体地,获取音频和视频文件的播放总时长在该预定时间段内的占比,为方便描述,将音频文件的播放总时长在该预定时间段内的占比记为音频播放占比,将视频文件的播放总时长在该预定时间段内的占比记为视频播放占比,如果视频播放占比大于音频播放占比,则将应用程序的类别设定为视频类型,如果音频播放占比大于视频播放占比,则将应用程序的类别设定为音频类型。例如,预设时间段为30天,即720小时,而音频文件的播放总时长为200小时,则音频播放占比为27.8%,视频文件的播放总时长为330小时,则视频播放占比为45.8%,则视频播放占比大于音频播放占比,则将应用程序的类别设定为视频类型。
作为另一种实施方式,还可以是在用户的身体状态满足预设特征条件,并且屏幕状态是亮屏状态的情况下,根据实时心率信息确定用户的睡眠状态。具体地,若确定所述屏幕状态是亮屏状态,则根据所述心率参数获取所述用户的实时心率信息,若所述实时心率信息小于第一阈值,则确定所述用户的睡眠状态为所述入睡状态。若所述实时心率信息不小于所述第一阈值,则确定所述用户的睡眠状态为所述清醒状态。其中,所述第一阈值可以是前述的静息心率。
具体地,如果确定身体状态的时候,所使用的生理参数为体动参数,则可以在根据体动参数确定用户疑似入睡的时候,且在屏幕处于亮屏的情况下,再结合用户的实时心率信息确定用户在动作幅度比较小且屏幕亮屏的情况下,用户的睡眠状态是清醒状态还是睡眠状态,从而能够结合体动参数、屏幕状态和实时心率信息三个要素确定用户的睡眠状态,能够使得结果更加准确。如果确定身体状态的时候,所使用的生理参数内包括实时心率信息,则可以在屏幕处于亮屏的时候,再次获取实时心率信息,从而能够避免在检测到用户的心率信息表征用户在睡眠之后,用户此时打开目标终端,而导致检测结果不准确。
作为又一种实施方式,考虑到屏幕亮屏的时候,用户可能处于动作幅度很小且静息心率的情况下操作目标终端。因此,如果屏幕状态是亮屏状态,可以根据用户的心率变异性信息确定所述用户的睡眠状态,具体地,请参考后续实施例。
再者,需要说明的是,在用户的身体状态满足预设特征条件,并且屏幕状态是熄屏状态的情况下,除了可以采用上述实施方式,直接判定用户的睡眠状态为入睡状态之外,还可以结合心率参数确定在屏幕状态是熄屏状态的情况下,用户的睡眠状态是入睡状态还是清醒状态。
作为一种实施方式,若确定所述屏幕状态是熄屏状态,则根据所述心率参数获取所述用户的实时心率信息,若所述实时心率信息大于第三阈值,则确定所述用户的睡眠状态为所述清醒状态;若所述实时心率信息不大于第三阈值,则确定所述用户的睡眠状态为所述入睡状态。其中,所述第三阈值可以与第一阈值相同,均可以是上述的静息心率。因此,考虑到用户在体动幅度比较小的时候,并且屏幕熄屏的情况下,用户即使没有看屏幕,但是依然没有入睡,则此时可以进一步通过实时心率信息确定该用户是否处于睡眠状态。
作为一种实施方式,若确定所述屏幕状态是熄屏状态,则根据所述心率参数获取所述用户的心率变异性信息,根据所述心率变异性信息确定所述用户的睡眠状态,具体地,请参阅后续实施例。
S406:确定所述用户的睡眠状态为清醒状态。
如果用户的身体状态不满足预设特征条件,则确定用户的睡眠状态为清醒状态。需要说明的是,上述方法中未详细描述的步骤,可以参考前述实施例,在此不再赘述。
如图8所示,本申请实施例提供了一种睡眠监测方法,该方法的执行主体可以参考前述针对图3和4所示的方法的执行主体的描述,在此不再赘述。于本申请实施例中,以目标终端是移动终端为例描述本申请实施例提供的方法,具体地,该方法可以包括:S801至S809。
S801:获取屏幕状态。
S802:获取用户的生理参数。
S803:根据所述用户的生理参数确定用户的身体状态。
S804:判断所述身体状态是否满足预设特征条件。
作为一种实施方式,可以根据用户的加速度数据和心率参数中的任一个确定用户的身体状态是否满足预设特征条件。具体的实施范式可以参考前述实施例。
作为一种实施方式,可以在确定身体状态满足预设特征条件的情况下,先判定用户当前的睡眠状态为待确认入睡状态,即用户当前处于疑似睡眠的状态。为进一步确定用户更加真实的睡眠状态,可以结合屏幕的亮熄屏状态来确定,
S805:判断所述屏幕状态是否为熄屏状态。
如果屏幕状态为熄屏状态,则表示当前用户的身体状态满足用户睡眠时的身体状态,并且,屏幕处于熄屏状态,由于熄屏状态下,用户使用移动终端的可能性很小,则可以认为用户当前有极大可能性入睡了,即执行S808。
另外,考虑到用户躺在床上的时候,可能只是听听音乐但是并没有入睡,但是此时身体动作比较小,心率平稳,而且由于音乐播放软件可以在移动终端的后台运行,因此,在运行该音乐播放软件的时候,移动终端依然有可能熄屏,所以,此时如果根据步骤S805得到的结果应当是用户的睡眠状态为所述入睡状态,从而就会导致误差。
因此,可以在S805的判断结果是熄屏状态的时候,确定移动终端当前是否有音频播放类的应用程序在运行,具体地,可以是判断是否有音频播放类的应用程序在后台运行,如果没有,则执行S808,即确定所述用户的睡眠状态为所述入睡状态。如果有,则通过移动终端或可穿戴设备采集周围的环境音,判断周围的环境音是否存在指定类型的语音。例如该指定类型的语音可以是鼾声,如果有指定类型的语音,则执行S808,即确定所述用户的睡眠状态为所述入睡状态,否则,执行S809,即确定所述用户的睡眠状态 为所述清醒状态。
S806:获取用户的心率变异性信息。
如果屏幕状态为亮屏状态,根据心率参数获取用户的心率变异性信息。根据心率变异性信息确定用户的睡眠状态。
另外,考虑到移动终端熄屏状态下,如果收到推送消息或通知,可能会短暂亮屏,则如果可以不必执行获取用户的心率变异性信息以及根据心率变异性信息确定用户的睡眠状态,因此,此时屏幕处于熄屏阶段,而因为推送消息或通知产生的亮屏只是短暂的。所以,若所述屏幕状态是亮屏状态,获取用户的心率变异性信息的实施方式可以是,若所述屏幕状态是亮屏状态,获取所述屏幕状态持续处于所述亮屏状态的第一时间长度;若所述第一时间长度大于第一指定阈值,获取用户的心率变异性信息。其中,第一指定阈值可以根据经验而设定,例如,设置一个较小的数值,例如,第一指定阈值可以是10秒,另外,第一指定阈值也可以根据移动终端的设定的通知提醒时长而设定,具体地,该第一指定阈值可以大于或等于该通知提醒时长,因此,如果持续亮屏的第一时间长度小于或等于第一指定阈值,可以认为当前的屏幕被点亮,是暂时性的。
心率变异性(Heart rate variability,HRV)信息是指逐次心跳周期差异的变化情况或者说是指心跳快慢的变化情况。人体中的自主神经调控着身体中不受人主观控制的功能,包括心跳、呼吸、血压和消化。自主神经分为两种,分别是“战斗或逃跑”的交感神经和“放松或消化”的副交感神经。而HRV,则能够反映你的自主神经的工作状况。如果用户处于“战斗或逃跑”的交感神经主导的模式,用户的HRV会较低,即交感神经比较活跃的情况下,HRV较低,即交感神经的活跃性越高,HRV越低。如果用户处于“放松或消化”的副交感神经主导的模式,你的HRV会更高一些。因此,HRV能够反应用户的交感神经活跃性。
因此,用户在处于睡眠状态的时候,交感神经的活跃性不高,HRV的值较高,用户处于清醒状态的时候,即使身体的动作很小或者心跳处于静息心跳的状态,但是,交感神经的活跃性却比较高,因此,HRV的值比较低。
S807:判断所述心率变异性信息是否高于第二阈值。
其中,第二阈值可以根据实际需求而设定,例如,可以是0.2至0.3kHz之间的数值。如图9所示,在d1的位置处,HRV的值增大,表现为高频状态,则可以确定用户当前处于副交感神经主导的模式,即处于较放松的状态,因此,可以认为用户当前的睡眠状态为入睡状态,在d2的位置处,HRV的值变小,表现为低频状态,则可以确定用户当前处于交感神经主导的模式,交感神经活跃性比较高,用户当前的睡眠状态为清醒状态。
S808:确定所述用户的睡眠状态为所述入睡状态。
另外,在身体状态满足预设特征条件,并且屏幕状态为熄屏状态的情况下,根据所述心率参数获取所述用户的心率变异性信息;若所述心率变异性信息小于第四阈值,则确定所述用户的睡眠状态为所述清醒状态;若所述心率变异性信息不小于第四阈值,则确定所述用户的睡眠状态为所述入睡状态。其中,所述第四阈值可以与前述的第二阈值相同,具体地,可以参考前述S806至S807的内容,在此不再赘述。
S809:确定所述用户的睡眠状态为所述清醒状态。
作为一种实施方式,在用户的生理参数满足预设特征条件的时候,如果屏幕状态为亮屏状态,可以获取用户的心率变异性信息,根据心率变异性信息确定用户的睡眠状态,如果确定的结果是用户的睡眠状态为所述入睡状态,则为了避免HRV短暂性的升高,而误判为入睡状态,则可以在确定HRV处于一定时间长度的升高的情况下,再确定用户的睡眠状态为所述入睡状态。
具体地,获取所述心率变异性信息持续高于第二阈值的第二时间长度;若所述第 二时间长度大于第二指定阈值,确定所述用户的睡眠状态为所述入睡状态。其中,第二指定阈值可以根据经验而设定,例如,可以是10至20分钟。
另外,上述的生理参数可以包括体动参数、心率参数、呼吸、血氧、体温等数据的至少一种,还可以加入可穿戴设备的操作数据,其中,该可穿戴设备的操作数据可以包括穿戴设别的屏幕状态,将屏幕状态命名为第一屏幕状态,将可穿戴设备的屏幕状态命名为第二屏幕状态。
因此,上述的根据所述屏幕状态和生理参数确定所述用户的睡眠状态的实施方式可以变为,根据所述第一屏幕状态、第二屏幕状态和生理参数确定所述用户的睡眠状态,则上述的确定屏幕状态为熄屏状态还是亮屏状态的实施方式可以变为,确定第一屏幕状态和第二屏幕状态的亮熄屏状态。上述的若所述屏幕状态是熄屏状态,确定所述用户的睡眠状态为所述入睡状态的实施方式变更为,若第一屏幕状态和第二屏幕状态均为熄屏状态,确定所述用户的睡眠状态为所述入睡状态。上述的若所述屏幕状态是亮屏状态,获取用户的心率变异性信息的实施方式变更为,若第一屏幕状态和第二屏幕状态均为亮屏状态,获取用户的心率变异性信息,具体的实施方式可以参考前述实施例进行替换,在此不再赘述。
请参阅图10,其示出了本申请实施例提供的一种睡眠监测装置的结构框图。该睡眠监测装置1000可以包括:第一获取单元1001、第二获取单元1002和确定单元1003。
第一获取单元1001,用于获取目标终端的屏幕状态。
第二获取单元1002,用于获取用户的生理参数,所述生理参数包括体动参数和心率参数的至少一种。
进一步的,第二获取单元1002还用于通过所述用户的可穿戴设备获取所述用户的生理参数,所述用户的可穿戴设备与所述目标终端存在关联关系。
确定单元1003,用于根据所述屏幕状态和生理参数确定所述用户的睡眠状态
进一步的,确定单元1003还用于根据所述用户的生理参数确定用户的身体状态;判断所述身体状态是否满足预设特征条件,所述预设特征条件为所述用户处于睡眠状态下的身体状态;若满足预设特征条件,确定所述屏幕状态为熄屏状态还是亮屏状态;根据亮熄屏状态判断结果确定所述用户是否为入睡状态;若不满足预设特征条件,确定所述用户的睡眠状态为清醒状态。
进一步的,确定单元1003还用于若所述屏幕状态是熄屏状态,确定所述用户的睡眠状态为所述入睡状态。
进一步的,确定单元1003还用于若所述屏幕状态是亮屏状态,获取用户的心率变异性信息,所述心率变异性信息用于表征所述用户的交感神经活跃性;若所述心率变异性信息高于第二阈值,确定所述用户的睡眠状态为所述入睡状态;若所述心率变异性信息不高于第二阈值,确定所述用户的睡眠状态为所述清醒状态。
进一步的,确定单元1003还用于若所述屏幕状态是亮屏状态,获取所述屏幕状态持续处于所述亮屏状态的第一时间长度;若所述第一时间长度大于第一指定阈值,获取用户的心率变异性信息。
进一步的,确定单元1003还用于若所述心率变异性信息高于第二阈值,获取所述心率变异性信息持续高于第二阈值的第二时间长度;若所述第二时间长度大于第二指定阈值,确定所述用户的睡眠状态为所述入睡状态。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参考图11,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是上述的目标终端或服务器。
本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、屏幕130以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参考图12,其示出了本申请实施例提供的一种计算机可读介质的结构框图。该计算机可读介质1200中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读介质1200可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读介质1200包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读介质1200具有执行上述方法中的任何方法步骤的程序代码1210的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1210可以例如以适当形式进行压缩。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种睡眠监测方法,其特征在于,应用于电子设备,包括:
    获取目标终端的屏幕状态;
    获取用户的生理参数,所述生理参数包括体动参数和心率参数的至少一种;
    根据所述屏幕状态和所述生理参数确定所述用户的睡眠状态,所述睡眠状态包括入睡状态和清醒状态。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述屏幕状态和所述生理参数确定所述用户的睡眠状态,包括:
    根据所述生理参数确定所述用户的身体状态,所述身体状态包括动作状态和心跳状态的至少一种;
    判断所述身体状态是否满足预设特征条件,所述预设特征条件为所述睡眠状态对应的身体状态特征;
    若所述身体状态满足所述预设特征条件,则根据所述屏幕状态确定所述用户的睡眠状态;
    若所述身体状态不满足所述预设特征条件,则确定所述用户的睡眠状态为所述清醒状态。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若确定所述屏幕状态是熄屏状态,则确定所述用户的睡眠状态为所述入睡状态;
    若确定所述屏幕状态是亮屏状态,则确定所述用户的睡眠状态为所述清醒状态。
  4. 根据权利要求2所述的方法,其特征在于,所述生理参数包括心率参数;
    所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若确定所述屏幕状态是熄屏状态,则确定所述用户的睡眠状态为所述入睡状态;
    若确定所述屏幕状态是亮屏状态,则根据所述心率参数获取所述用户的实时心率信息;
    若所述实时心率信息小于第一阈值,则确定所述用户的睡眠状态为所述入睡状态;
    若所述实时心率信息不小于所述第一阈值,则确定所述用户的睡眠状态为所述清醒状态。
  5. 根据权利要求2所述的方法,其特征在于,所述生理参数包括心率参数;
    所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若确定所述屏幕状态是熄屏状态,则确定所述用户的睡眠状态为所述入睡状态;
    若确定所述屏幕状态是亮屏状态,则根据所述心率参数获取所述用户的心率变异性信息;
    若所述心率变异性信息大于第二阈值,则确定所述用户的睡眠状态为所述入睡状态;
    若所述心率变异性信息不大于第二阈值,则确定所述用户的睡眠状态为所述清醒状态。
  6. 根据权利要求2所述的方法,其特征在于,所述生理参数包括心率参数;
    所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若确定所述屏幕状态是亮屏状态,则确定所述用户的睡眠状态为所述清醒状态;
    若确定所述屏幕状态是熄屏状态,则根据所述心率参数获取所述用户的实时心率信息;
    若所述实时心率信息大于第三阈值,则确定所述用户的睡眠状态为所述清醒状态;
    若所述实时心率信息不大于第三阈值,则确定所述用户的睡眠状态为所述入睡状 态。
  7. 根据权利要求2所述的方法,其特征在于,所述生理参数包括心率参数;
    所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若确定所述屏幕状态是亮屏状态,则确定所述用户的睡眠状态为所述清醒状态;
    若确定所述屏幕状态是熄屏状态,则根据所述心率参数获取所述用户的心率变异性信息;
    若所述心率变异性信息小于第四阈值,则确定所述用户的睡眠状态为所述清醒状态;
    若所述心率变异性信息不小于第四阈值,则确定所述用户的睡眠状态为所述入睡状态。
  8. 根据权利要求2所述的方法,其特征在于,所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若所述屏幕状态是未被触控状态,则确定所述用户的睡眠状态为所述入睡状态;
    若所述屏幕状态是被触控状态,则确定所述用户的睡眠状态为所述清醒状态。
  9. 根据权利要求2所述的方法,其特征在于,所述根据所述屏幕状态确定所述用户的睡眠状态,包括:
    若所述屏幕状态是锁屏状态,则确定所述用户的睡眠状态为所述入睡状态;
    若所述屏幕状态是解屏状态,则确定所述用户的睡眠状态为所述清醒状态。
  10. 根据权利要求2至9任一所述的方法,其特征在于,所述身体状态包括动作状态,所述判断所述身体状态是否满足预设特征条件,包括:
    判断所述动作状态是否为静止状态;
    若所述动作状态是静止状态,则判定所述身体状态满足预设特征条件;
    若所述动作状态是非静止状态,则判定所述身体状态不满足预设特征条件。
  11. 根据权利要求2至9任一所述的方法,其特征在于,所述身体状态包括心跳状态,所述判断所述身体状态是否满足预设特征条件,包括:
    判断所述心跳状态是否为静息状态;
    若所述心跳状态是静息状态,则判定所述身体状态满足预设特征条件;
    若所述心跳状态是非静息状态,则判定所述身体状态不满足预设特征条件。
  12. 根据权利要求2至9任一所述的方法,其特征在于,所述身体状态包括动作状态和静息状态,所述判断所述身体状态是否满足预设特征条件,包括:
    判断所述动作状态是否为静止状态且所述心跳状态是否为静息状态;
    若所述动作状态为静止状态且所述心跳状态为静息状态,则判定所述身体状态满足预设特征条件;
    若为否,则判定所述身体状态不满足预设特征条件。
  13. 根据权利要求2至9任一所述的方法,其特征在于,所述根据所述屏幕状态和所述生理参数确定所述用户的睡眠状态,包括:
    确定所述用户当前是否处于目标入睡时间段;
    若处于,则确定所述用户的睡眠状态为入睡状态;
    若未处于,则确定所述用户的睡眠状态为清醒状态。
  14. 根据权利要求13所述的方法,其特征在于,所述确定所述用户当前是否处于目标入睡时间段之前,还包括:
    根据所述生理参数确定第一入睡时间段,以及根据所述屏幕状态确定第二入睡时间段;
    根据所述第一入睡时间段和所述第二入睡时间段确定所述目标入睡时间段。
  15. 根据权利要求14所述的方法,其特征在于,所述根据所述生理参数确定第一入睡时间段,包括:
    根据所述体动参数确定第三入睡时间段,以及根据所述心率参数确定第四入睡时间段;
    获取所述第三入睡时间段和所述第四入睡时间段共有的时间区间,并将该时间区间作为所述第一入睡时间段。
  16. 根据权利要求4-9任一所述的方法,其特征在于,所述确定所述屏幕状态是亮屏状态,包括:
    若所述屏幕状态持续处于所述亮屏状态的时长大于第五阈值,则确定所述屏幕状态是亮屏状态。
  17. 根据权利要求1至9任一项所述的方法,其特征在于,
    所述获取目标终端的屏幕状态,包括:
    获取与所述用户关联的目标终端的屏幕状态,所述目标终端包括移动终端、可穿戴设备和影音播放设备的至少一种;
    所述获取用户的生理参数,包括:
    通过所述用户所佩戴的可穿戴设备获取所述用户的生理参数;
    其中,所述目标终端和所述可穿戴设备存在关联关系。
  18. 一种睡眠监测装置,其特征在于,应用于电子设备,所述装置包括:
    第一获取单元,用于获取目标终端的屏幕状态;
    第二获取单元,用于获取用户的生理参数,所述生理参数包括体动参数和心率参数的至少一种;
    确定单元,用于根据所述屏幕状态和生理参数确定所述用户的睡眠状态,所述睡眠状态包括入睡状态和清醒状态。
  19. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行如权利要求1-17任一项所述的方法。
  20. 一种计算机可读介质,其特征在于,所述计算机可读介质存储有处理器可执行的程序代码,所述程序代码被所述处理器执行时使所述处理器执行权利要求1-17任一项所述方法。
PCT/CN2021/107404 2020-09-29 2021-07-20 睡眠监测方法、装置、电子设备及计算机可读介质 WO2022068332A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21873994.4A EP4218576A4 (en) 2020-09-29 2021-07-20 SLEEP MONITORING METHOD AND APPARATUS, ELECTRONIC DEVICE AND COMPUTER READABLE MEDIUM
US18/192,103 US20230233142A1 (en) 2020-09-29 2023-03-29 Method for sleep monitoring, electronic device and non-transitory computer-readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011052065.2 2020-09-29
CN202011052065.2A CN114343587A (zh) 2020-09-29 2020-09-29 睡眠监测方法、装置、电子设备及计算机可读介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/192,103 Continuation US20230233142A1 (en) 2020-09-29 2023-03-29 Method for sleep monitoring, electronic device and non-transitory computer-readable medium

Publications (1)

Publication Number Publication Date
WO2022068332A1 true WO2022068332A1 (zh) 2022-04-07

Family

ID=80949625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107404 WO2022068332A1 (zh) 2020-09-29 2021-07-20 睡眠监测方法、装置、电子设备及计算机可读介质

Country Status (4)

Country Link
US (1) US20230233142A1 (zh)
EP (1) EP4218576A4 (zh)
CN (1) CN114343587A (zh)
WO (1) WO2022068332A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936411A (zh) * 2023-03-09 2023-04-07 江西长黉云科技有限公司 一种基于升降床的宿舍管理方法及系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114974495A (zh) * 2022-05-09 2022-08-30 维沃移动通信有限公司 睡眠数据校准方法和电子设备
CN115137308A (zh) * 2022-06-29 2022-10-04 东莞市猎声电子科技有限公司 一种提高智能穿戴设备睡眠算法中出入睡检测准确性的方法
CN117678970A (zh) * 2022-09-09 2024-03-12 荣耀终端有限公司 睡眠状态检测方法、电子设备及系统
CN116684524B (zh) * 2022-09-30 2024-04-05 荣耀终端有限公司 一种地点标注方法、电子设备及存储介质
CN116016767A (zh) * 2022-12-29 2023-04-25 西安天和防务技术股份有限公司 一种终端设备控制方法、系统、设备及可读存储介质
CN117061658B (zh) * 2023-07-11 2024-06-21 荣耀终端有限公司 睡眠时间识别方法、电子设备及存储介质
CN117481614A (zh) * 2023-12-26 2024-02-02 荣耀终端有限公司 睡眠状态检测的方法及相关设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150313529A1 (en) * 2014-05-01 2015-11-05 Ramot At Tel-Aviv University Ltd. Method and system for behavioral monitoring
CN105045386A (zh) * 2015-06-30 2015-11-11 广东美的制冷设备有限公司 睡眠状态监控方法及终端、空调器系统
CN105933539A (zh) * 2016-06-22 2016-09-07 北京小米移动软件有限公司 音频播放的控制方法、装置及终端
CN106214121A (zh) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 一种睡眠提醒方法和装置以及一种可穿戴设备
CN107277255A (zh) * 2017-06-28 2017-10-20 维沃移动通信有限公司 一种闹钟控制方法及移动终端
CN107430432A (zh) * 2016-03-18 2017-12-01 深圳市赛亿科技开发有限公司 移动终端及其智能闹钟的实现方法、装置
CN109620156A (zh) * 2018-12-26 2019-04-16 联想(北京)有限公司 一种睡眠检测方法及装置
CN110742580A (zh) * 2019-09-18 2020-02-04 华为技术有限公司 一种睡眠状态识别方法及装置
CN111105876A (zh) * 2019-12-16 2020-05-05 珠海格力电器股份有限公司 睡眠提醒方法、存储介质以及移动终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106725382A (zh) * 2016-12-28 2017-05-31 天津众阳科技有限公司 基于动作和hrv测量的睡眠状态判别系统及方法
CN109394174B (zh) * 2017-08-18 2020-12-25 美的集团股份有限公司 睡眠状态判别方法、装置、计算机设备和可读存储介质
CN107582028B (zh) * 2017-09-25 2021-04-13 北京小米移动软件有限公司 睡眠监测方法及装置
CN110151137B (zh) * 2019-05-28 2022-03-11 深圳如一探索科技有限公司 基于数据融合的睡眠状态监测方法、装置、设备及介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150313529A1 (en) * 2014-05-01 2015-11-05 Ramot At Tel-Aviv University Ltd. Method and system for behavioral monitoring
CN105045386A (zh) * 2015-06-30 2015-11-11 广东美的制冷设备有限公司 睡眠状态监控方法及终端、空调器系统
CN107430432A (zh) * 2016-03-18 2017-12-01 深圳市赛亿科技开发有限公司 移动终端及其智能闹钟的实现方法、装置
CN105933539A (zh) * 2016-06-22 2016-09-07 北京小米移动软件有限公司 音频播放的控制方法、装置及终端
CN106214121A (zh) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 一种睡眠提醒方法和装置以及一种可穿戴设备
CN107277255A (zh) * 2017-06-28 2017-10-20 维沃移动通信有限公司 一种闹钟控制方法及移动终端
CN109620156A (zh) * 2018-12-26 2019-04-16 联想(北京)有限公司 一种睡眠检测方法及装置
CN110742580A (zh) * 2019-09-18 2020-02-04 华为技术有限公司 一种睡眠状态识别方法及装置
CN111105876A (zh) * 2019-12-16 2020-05-05 珠海格力电器股份有限公司 睡眠提醒方法、存储介质以及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4218576A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115936411A (zh) * 2023-03-09 2023-04-07 江西长黉云科技有限公司 一种基于升降床的宿舍管理方法及系统

Also Published As

Publication number Publication date
CN114343587A (zh) 2022-04-15
EP4218576A4 (en) 2024-03-27
EP4218576A1 (en) 2023-08-02
US20230233142A1 (en) 2023-07-27

Similar Documents

Publication Publication Date Title
WO2022068332A1 (zh) 睡眠监测方法、装置、电子设备及计算机可读介质
US10178972B2 (en) Adjusting alarms based on sleep onset latency
US10504380B2 (en) Managing presentation of fitness achievements
KR102398716B1 (ko) 생체 정보 검출 방법 및 그 방법을 처리하는 전자 장치
US9594354B1 (en) Smart watch extended system
KR102422115B1 (ko) 수면 정보를 입력하는 전자 장치 및 그 제어 방법
KR102289474B1 (ko) 오디오를 출력하는 방법 및 이를 위한 전자 장치
US20120092171A1 (en) Mobile device sleep monitoring using environmental sound
KR20160057837A (ko) 전자 기기의 사용자 인터페이스 표시 방법 및 장치
US10791986B1 (en) Sleep sound detection system and use
CN109718112B (zh) 用药提醒方法、装置及计算机可读存储介质
CN111816294A (zh) 在连续葡萄糖监测中利用智能手机特征的系统和方法
CN113854969A (zh) 一种智能终端及睡眠监测方法
KR102457563B1 (ko) 서비스 제공을 위한 웨어 시스템 및 방법
US20190213060A1 (en) Facilitating Restful Sleep Using Reminders
US20230355169A1 (en) Using ambient light sensors and ambient audio sensors to determine sleep quality
JP6820431B2 (ja) 下着に基づく身体データ監視方法及び装置
TW201626119A (zh) 智慧鬧鈴控制系統及方法
KR20150099678A (ko) 전자 장치 운용 방법 및 이를 지원하는 전자 장치
WO2022113838A1 (ja) プログラム、方法、情報処理装置
US20220105307A1 (en) Methods for managing the transition from sleep to final wake
KR102478952B1 (ko) 영상 저장을 위한 방법 및 그 장치
CN110447217B (zh) 一种压力检测的方法及终端
WO2018188183A1 (zh) 应用程序控制方法及装置
CN111616722A (zh) 一种检测情绪变化的方法、系统以及穿戴设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21873994

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021873994

Country of ref document: EP

Effective date: 20230428