CN112401838B - Method for detecting sleep state by wearable device and wearable device - Google Patents

Method for detecting sleep state by wearable device and wearable device Download PDF

Info

Publication number
CN112401838B
CN112401838B CN202011277868.8A CN202011277868A CN112401838B CN 112401838 B CN112401838 B CN 112401838B CN 202011277868 A CN202011277868 A CN 202011277868A CN 112401838 B CN112401838 B CN 112401838B
Authority
CN
China
Prior art keywords
user
wearable device
continuous
time point
operation information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011277868.8A
Other languages
Chinese (zh)
Other versions
CN112401838A (en
Inventor
耿浩
姚扬勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanggong Telecom Technology Co Ltd
Original Assignee
Shanghai Chuanggong Telecom Technology Co Ltd
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 Shanghai Chuanggong Telecom Technology Co Ltd filed Critical Shanghai Chuanggong Telecom Technology Co Ltd
Priority to CN202011277868.8A priority Critical patent/CN112401838B/en
Publication of CN112401838A publication Critical patent/CN112401838A/en
Application granted granted Critical
Publication of CN112401838B publication Critical patent/CN112401838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • 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/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • 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

Abstract

The invention relates to the technical field of wearable intelligent equipment, in particular to a method for detecting a sleep state by using wearable equipment and the wearable equipment, comprising the following steps: the wearable equipment determines whether continuous user operation information acquired by an application end is acquired within a first preset period; the application end is loaded on the terminal; the user operation information is generated based on the operation of the terminal by a user; the wearable device determines whether user behavior information detected by a detection unit of the wearable device meets a preset standard or not; and the wearable equipment determines the sleep state of the user according to whether continuous user operation information is acquired or not and whether the user behavior information accords with a preset standard or not. Therefore, the judgment accuracy of the sleep state of the user under the situation of small activities of the user is improved; the sensor power consumption of the detection unit is greatly saved.

Description

Method for detecting sleep state by wearable device and wearable device
Technical Field
The embodiment of the invention relates to the technical field of wearable intelligent equipment, in particular to a method for detecting a sleep state by using wearable equipment and the wearable equipment.
Background
With the continuous improvement of living standard, people pay more attention to personal health, so the demand of wearable intelligent equipment in the aspect of sports health is gradually increased. Sleep data is one of the important health indicators. The accurate sleeping time length and the sleeping and waking time point are not only helpful for the user to observe the change trend of the fine physical condition, but also embody the research and development technical level of equipment production companies.
The existing sleep detection method mainly judges the sleep state of the user by detecting the physical index change of the user before and after sleeping through an acceleration sensor, a heart rate sensor, a body temperature sensor and the like, but the method still has poor judgment on the situation of small activities of the user before and after sleeping. Because the heart rate of the user becomes gradually slower when the user moves less before and after sleeping, the heart rate is obviously lower than that of the user in a daily activity state, and the user can fall asleep too early and wake too late according to the exercise state or the heart rate judgment; and detection is frequently performed by the sensor, increasing the power consumption of the sensor.
In summary, a method for detecting a sleep state of a wearable device is needed to solve the technical problems of inaccurate sleep state judgment and larger sensor power consumption.
Disclosure of Invention
The embodiment of the invention provides a method for detecting a sleep state by wearable equipment and the wearable equipment, which are used for solving the technical problems of inaccurate sleep state judgment and larger sensor power consumption.
The embodiment of the invention provides a method for detecting a sleep state by wearable equipment, which comprises the following steps:
the wearable equipment determines whether continuous user operation information acquired by an application end is acquired within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
the wearable device determines whether user behavior information detected by a detection unit of the wearable device meets a preset standard or not;
and the wearable equipment determines the sleep state of the user according to whether continuous user operation information is acquired or not and whether the user behavior information accords with a preset standard or not.
Because the user can continuously operate the terminal under the situation of small activities, the sleep state of the user is primarily judged by firstly acquiring the continuous operation information of the user on the terminal, and the judgment accuracy of the sleep state of the user under the situation of small activities of the user is improved; and then determining the sleep state of the user according to whether the behavior information of the user meets the preset standard, so that the judging precision is further improved, and after the continuous operation information of the user to the terminal is judged, the behavior information of the user is judged, so that the sensor power consumption of the detection unit can be greatly saved.
Optionally, the determining, by the wearable device, the sleep state of the user according to whether continuous user operation information is acquired and whether user behavior information meets a preset standard includes:
if continuous user operation information is not obtained by the wearable equipment and the user behavior information accords with the sleeping standard, determining that the user is in a sleeping state;
and the wearable equipment determines the time point when the user is in the sleeping state according to the first time point when the continuous user operation information is acquired and the second time point when the user behavior information accords with the sleeping standard.
The judgment of the sleeping state of the user needs to meet the condition that the user does not have continuous operation on the terminal, the user behavior information accords with the sleeping standard, the sleeping state of the user is determined through the judgment of the two aspects, and the accuracy of detecting the sleeping state time point of the user is improved; when judging whether the user is in the sleeping state, the first time point is required to be determined through the operation time of the user to the terminal, then the second time point is determined through the behavior information of the user, and the time point of the user in the sleeping state determined through the comparative analysis of the two time points is more accurate.
Optionally, the user behavior information includes continuous operation of the wearable device by a user, a user activity state, and a user average heart rate;
the user behavior information accords with the sleep-in standard, namely continuous operation of the wearable equipment by the user is not detected, the user activity state is smaller than a first threshold value, and the average heart rate of the user is smaller than a second threshold value;
the user behavior information meets the sleep-out criteria by detecting a continuous operation of the wearable device by the user, or by the user activity state being greater than a third threshold and the user average heart rate being greater than a fourth threshold.
The judgment of the user behavior information includes three aspects. Firstly, because the user can continuously operate the wearable device under the situation of small activity, and the wearable device can read the operation information of the user on the wearable device very conveniently, the accuracy of judging the sleeping time point and the sleeping time point can be improved by judging whether the user continuously operates the wearable device; through the judgment of the activity state and the average heart rate of the user, the sleeping time point and the sleeping time point can be judged more accurately. The three judging indexes are matched cooperatively, so that the detection accuracy of the sleep state is improved.
Optionally, the wearable device determines, according to the first time point when the user operation information is obtained and the second time point when the user behavior information meets the sleeping standard, a time point when the user is in a sleeping state, including:
after the wearable device determines that the user behavior information accords with the sleeping standard through the detection unit, determining whether continuous user operation information is acquired in a second preset period before a second time point when the user behavior information accords with the sleeping standard;
and if the wearable device acquires the continuous user operation information within the second preset period, determining the first time point at which the continuous user operation information is acquired as the time point at which the user is in the sleeping state.
Therefore, a second time point of sleeping is determined through the behavior information of the user, and then a first time point is determined again through the operation behavior of the user on the terminal, so that the first time point updates and supplements the second time point, the defect that the second time point generated under the situation that the activity of the user is small after sleeping is not the accurate sleeping time point is overcome, and the accuracy of judging the sleeping time point of the user is improved.
Optionally, the method further comprises:
and if the wearable device does not acquire continuous user operation information within a second preset period, determining the second time point as the time point when the user is in the sleeping state.
If the wearable device does not acquire continuous user operation information in the second preset period, which means that the user does not operate the terminal in the period, the second time point is directly determined as the time point when the user is in the sleeping state, and the accuracy of the detected sleeping time point can be ensured.
Optionally, before the wearable device determines whether the user behavior information detected by the detection unit of the wearable device meets the preset standard, the method further includes:
and the wearable equipment starts the detection unit when the wearable equipment determines that continuous user operation information acquired by the application end is not acquired within the first preset period.
The wearable device determines that continuous user operation information is not acquired in the first preset time period, and indicates that the user may enter a sleep state at the moment, and the detection unit is restarted at the moment, so that the starting times and starting duration of the sensor can be reduced, and the power consumption of the sensor is saved.
Optionally, the method comprises:
and after the wearable device determines that the user is in the sleeping state, the detection unit is closed.
Therefore, when the user is in a sleeping state, the detection unit is turned off, and power consumption is saved.
The embodiment of the invention also provides wearable equipment, which comprises:
the acquisition unit is used for determining whether continuous user operation information acquired by the application end is acquired within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
the detection unit is used for determining whether the user behavior information detected by the detection unit of the wearable device meets a preset standard or not;
and the determining unit is used for determining the sleep state of the user according to whether continuous user operation information and user behavior information are acquired or not and whether the continuous user operation information and the user behavior information accord with preset standards or not.
The embodiment of the invention also provides a computing device, which comprises:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the method for detecting the sleep state according to any mode listed in the obtained program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer-executable program for causing a computer to execute the method of detecting a sleep state listed in any one of the above-described modes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 schematically illustrates a method for detecting a sleep state by a possible wearable device according to an embodiment of the present invention;
fig. 2 is a method for detecting a sleep state by another possible wearable device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a process for detecting a sleep state for integrity according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a process of detecting sleep status for integrity according to an embodiment of the present invention;
fig. 5 is an apparatus diagram of one possible wearable device according to an embodiment of the present invention.
Detailed Description
For purposes of clarity, embodiments and advantages of the present application, the following description will make clear and complete the exemplary embodiments of the present application, with reference to the accompanying drawings in the exemplary embodiments of the present application, it being apparent that the exemplary embodiments described are only some, but not all, of the examples of the present application.
Based on the exemplary embodiments described herein, all other embodiments that may be obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the claims appended hereto. Furthermore, while the disclosure is presented in the context of an exemplary embodiment or embodiments, it should be appreciated that the various aspects of the disclosure may, separately, comprise a complete embodiment.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated (Unless otherwise indicated). It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to those elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The current method for detecting sleep state by using wearable equipment mainly comprises the following steps:
1. the heart rate of the human body is obtained by detecting weak arterial diastole changes through an optical heart rate sensor positioned on the surface of the skin of the human body. According to the characteristic that the heart rate of a human body is obviously slowed down when the human body falls asleep, a time point lower than the average activity heart rate threshold value of the user is found in the data for multiple times to judge that the user falls asleep, and a time point higher than the average sleep heart rate threshold value of the user is found to judge that the user is awake from sleep. The method has the main defects that the optical heart rate sensor is limited by the influence of factors such as stains on the surface of the skin, wearing positions, complexion and the like, so that the detected heart rate is abnormal, and the judgment of the time points of normal sleep and wakefulness is influenced. Secondly, due to the low power consumption requirement of the wearable device, the detection frequency of the optical heart rate sensor is not too high, so that the acquired time point of the sleep state switching of the user is inaccurate.
2. The activity state of the user's device and wrist is detected by a multi-axis gyroscope and an acceleration sensor located inside the wearable device. And when the activity frequency of the user is low and the activity amplitude is small, the user is judged to enter sleep, and conversely, when the activity amplitude is large and the activity amplitude is frequent, the user is judged to be in a waking state. The main disadvantage of this approach is that it is poorly judged for situations where various users are less active but not in sleep.
3. The temperature of the skin surface of the human body is detected by a temperature sensor located on the skin surface of the human body. According to the characteristic that the body temperature of a human body can become low when the human body enters deep sleep, when the temperature is lower than the average daily body temperature and reaches a threshold value, judging that the user enters sleep; when the body temperature is restored, the user is judged to be awake from sleep. The main disadvantage of this approach is that the temperature sensor is easily affected by ambient temperature and skin surface perspiration, while there is a clearly discernible change in body temperature only when going to deep sleep.
In summary, the embodiment of the invention provides a method for detecting a sleep state of a wearable device and the wearable device, aiming at the situation that the wearable device is inaccurate in detecting smaller activity situations before and after sleep and power consumption can be optimized.
The wearable device in the embodiment of the invention is a portable device which can be directly worn on the body or integrated into clothes or accessories of a user, and realizes a powerful function through software support, data interaction and cloud interaction. Such as a smart watch, smart wristband, smart ring, smart garment, etc., to which embodiments of the invention are not limited.
In general, the wearable device is bound to a terminal through a network, and the terminal may be a mobile phone, a computer, or the like. The user installs corresponding application software on the terminal, namely, the operations such as reading, setting and the like can be performed on some parameters of the wearable device through the application software, and the wearable device can also obtain some operations applied to the terminal or the application software by the user through the application software.
The wearable device is taken as an intelligent watch, and the terminal is taken as a mobile phone for introduction.
With the gradual optimization of the functions and performances of mobile phones, modern users are increasingly dependent on mobile phones. Most users remain continuously using the handset or watch while in a less active scenario after waking up. According to the above features, when the user has a case of continuously operating the mobile phone or the wristwatch, the user can be regarded as a state of wakefulness. Therefore, operations (keys, wrist lifting, touching and the like) on the intelligent watch and operations (keys, touching and the like) on a mobile phone bound with the device are added in the intelligent watch sleep detection to help determine whether to start to detect more accurate time when the user is in a sleep state when the sensor is started, and meanwhile, the method can also be used for judging more accurate time when the user is in the sleep state.
Fig. 1 exemplarily illustrates a method for detecting a sleep state by a wearable device according to an embodiment of the present invention, including:
step 101, the wearable device determines whether continuous user operation information acquired by an application end is acquired within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
specifically, the shorter the first preset time period is, the higher the detection frequency is, the higher the detection accuracy is, but the detection burden and the power consumption of the application end are increased. Therefore, the setting of the first preset time period needs to be compatible with both the detection precision and the detection burden of the application end, and may be 30 seconds, 1 minute, etc., which is not limited by the embodiment of the present invention.
The continuous user operation information can be that various discontinuous actions such as touching, pressing keys, sliding, long pressing and the like performed by a user on a terminal screen reach a certain time threshold, for example, 30s, and the continuous user operation information can be judged; the continuous user operation information may also be that the number of times of various discontinuous actions such as touching, pressing, sliding and long pressing performed by the user in a certain time period reaches a certain threshold, for example, the user performs actions such as touching, pressing, sliding and long pressing on the terminal in 30s reaches 3 times, and then the continuous user operation information may be determined; the continuous user operation information may be a continuous action performed by the user, such as touching, pressing a button, sliding, or pressing for a long time, for example, the user continuously slides for 10s on the terminal screen, and then the continuous user operation information may be determined. The embodiments of the present invention are not limited in this regard.
The application end can read the operation information applied to the terminal by the user by registering the service in the auxiliary function, and sends the collected operation information to the wearable equipment. The continuous user operation information can represent the awake state of the user, and if the wearable intelligent device acquires the continuous user operation information, the user is not in the sleep state.
102, the wearable device determines whether user behavior information detected by a detection unit of the wearable device meets a preset standard;
specifically, the preset standard may be an activity amplitude, an activity duration, an average heart rate index, or the like of the user, the user behavior information may represent the awake state of the user from another aspect, and whether the user enters the sleep state may also be determined by determining whether the detection unit of the wearable device detects that the user behavior information meets the preset standard.
Step 103, the wearable device determines the sleep state of the user according to whether continuous user operation information is acquired and whether user behavior information meets a preset standard.
Because the user can continuously operate the terminal under the situation of small activities, the sleep state of the user is primarily judged by firstly acquiring the continuous operation information of the user on the terminal, and the judgment accuracy of the sleep state of the user under the situation of small activities of the user is improved; and then determining the sleep state of the user according to whether the behavior information of the user meets the preset standard, so that the judging precision is further improved, and after the continuous operation information of the user to the terminal is judged, the behavior information of the user is judged, so that the sensor power consumption of the detection unit can be greatly saved.
Optionally, the determining, by the wearable device, the sleep state of the user according to whether continuous user operation information is acquired and whether user behavior information meets a preset standard includes:
if continuous user operation information is not obtained by the wearable equipment and the user behavior information accords with the sleeping standard, determining that the user is in a sleeping state;
and the wearable equipment determines the time point when the user is in the sleeping state according to the first time point when the continuous user operation information is acquired and the second time point when the user behavior information accords with the sleeping standard.
Specifically, the user behavior information includes continuous operation of the wearable device by the user, a user activity state, and a user average heart rate; the detection of the user behavior information is done by a detection unit of the wearable device.
The continuous operation on the wearable device may be that various discontinuous actions such as key pressing, wrist lifting, touching performed on the wearable device by a user reach a certain time threshold, for example, 30s, and then the continuous operation on the wearable device may be determined; the number of times of each discontinuous action such as key press, wrist lifting and touch performed on the wearable equipment by the user in a certain time period reaches a certain threshold, for example, the user performs actions such as key press, wrist lifting and touch performed on the wearable equipment in 30s for 3 times, and then the continuous operation on the wearable equipment can be judged; the continuous operation of the wearable device can be determined if a certain continuous action performed by the user, such as pressing a button, lifting a wrist, touching, reaches a certain time threshold, for example, the user continuously presses a button on the wearable device for 10 s. The embodiments of the present invention are not limited in this regard.
The user activity state is obtained by detecting the activity state of the wearable device through a multi-axis gyroscope and an acceleration sensor which are positioned inside the wearable device. The active state comprises an active amplitude and an active frequency, the user is judged to be in a sleeping state when the active frequency of the user is low and the active amplitude is small, and the user is judged to be in a sleeping state when the active amplitude is large and the active frequency is frequent. The activity amplitude and activity frequency thresholds corresponding to the user in the asleep or asleep state, respectively, may be determined in the multiple detection data.
The average heart rate of the user is detected by an optical heart rate sensor positioned inside the wearable device to weak arterial diastolic change, so that the heart rate of the human body is obtained. According to the characteristic that the heart rate of a human body is obviously slowed down when the human body falls asleep, a time point lower than the average activity heart rate threshold value of the user is found in the data for multiple times to judge that the user falls asleep, and a time point higher than the average sleep heart rate threshold value of the user is found to judge that the user is awake from sleep.
Generally, when the user falls asleep, the wearable device is not continuously operated, and the activity state and the average heart rate are lower than those of the awake state, so that whether the user falls asleep can be further judged. Judging the user behavior information is not sequenced.
The wearable device detects whether the user behavior information meets the preset standard, which may be: detecting whether the user continuously operates the wearable device in a preset time period, detecting whether the activity state of the user in the preset time period is smaller than a first threshold value, and detecting whether the average heart rate of the user in the preset time period is smaller than a second threshold value, wherein the preset time period can be set for the same duration as the first preset time period, such as 30s, or can be set separately, and the embodiment of the invention is not limited to the above. The first threshold and the second threshold may be set to a value or a range, which is not limited in the embodiment of the present invention.
The determination of whether the user is in the out-of-sleep state is based on the fact that the user has fallen asleep. And if the wearable device determines that the user falls asleep, acquiring a first time point of continuous user operation information and a second time point of user behavior information conforming to the asleep standard, wherein the user behavior information conforms to the asleep standard, namely that the continuous operation of the user on the wearable device is detected, or the activity state of the user is greater than a third threshold value and the average heart rate of the user is greater than a fourth threshold value. The third threshold and the fourth threshold may be set to a value or a range, which is not limited in the embodiment of the present invention.
The judgment of the sleeping state of the user needs to meet the condition that the user does not have continuous operation on the terminal, the user behavior information accords with the sleeping standard, the sleeping state of the user is determined through the judgment of the two aspects, and the accuracy of detecting the sleeping state time point of the user is improved; when judging whether the user is in the sleeping state, the first time point is required to be determined through the operation time of the user to the terminal, then the second time point is determined through the behavior information of the user, and the time point of the user in the sleeping state determined through the comparative analysis of the two time points is more accurate.
Meanwhile, the judgment of the user behavior information includes three aspects. Firstly, because the user can continuously operate the wearable device under the situation of small activity, and the wearable device can read the operation information of the user on the wearable device very conveniently, the accuracy of judging the sleeping time point and the sleeping time point can be improved by judging whether the user continuously operates the wearable device; through the judgment of the activity state and the average heart rate of the user, the sleeping time point and the sleeping time point can be judged more accurately. The three judging indexes are matched cooperatively, so that the detection accuracy of the sleep state is improved.
Optionally, the wearable device determines, according to the first time point when the user operation information is obtained and the second time point when the user behavior information meets the sleep-out standard, a time point when the user is in the sleep-out state, including the following steps, as shown in fig. 2:
step 201, after the wearable device determines that the user behavior information accords with the sleeping standard through the detection unit, determining whether continuous user operation information is acquired in a second preset period before a second time point when the user behavior information accords with the sleeping standard;
the second preset time period is a time period in which the indexes such as the exercise amplitude and the heart rate state of the user are enough to recover from the sleep-on state to the sleep-off state, and can be set according to practical situations, such as 20 minutes, 30 minutes and the like, which is not limited in the embodiment of the present invention.
Step 202, if the wearable device acquires the continuous user operation information within the second preset period, determining the first time point at which the continuous user operation information is acquired as the time point at which the user is in the sleep state.
Step 203, if the wearable device does not acquire continuous user operation information within a second preset period, determining the second time point as a time point when the user is in a sleep state.
For example, the wearable device detects that the activity state, the average heart rate and the like of the user meet the sleeping standard through the detection unit in the morning of 7:00, and determines that the second time point is 7:00, namely the user may have fallen asleep at the moment; the wearable device may continue to determine whether the user has a record of the continuous operation terminal within 30 minutes before 7:00, and if the user is detected to have a record of the continuous operation terminal at 6:40, 6:40 is a first time point, which indicates that the user has fallen asleep at 6:40, so the first time point is determined as a time point when the user is in a falling asleep state. If the wearable device determines that the user does not have a record of the continuous operation terminal within 30 minutes before 7:00, the wearable device indicates that the user is actually in the sleep-out state at 7:00, and the second time point is determined as the time point when the user is in the sleep-out state.
Therefore, a second time point of sleeping is determined through the behavior information of the user, and then a first time point is determined again through the operation behavior of the user on the terminal, so that the first time point updates and supplements the second time point, the defect that the second time point generated under the situation that the activity of the user is small after sleeping is not the accurate sleeping time point is overcome, and the accuracy of judging the sleeping time point of the user is improved.
If the wearable device does not acquire continuous user operation information in the second preset period, which means that the user does not operate the terminal in the period, the second time point is directly determined as the time point when the user is in the sleeping state, and the accuracy of the detected sleeping time point can be ensured.
Optionally, before the wearable device determines whether the user behavior information detected by the detection unit of the wearable device meets the preset standard, the method further includes:
and the wearable equipment starts the detection unit when the wearable equipment determines that continuous user operation information acquired by the application end is not acquired within the first preset period.
Specifically, if the wearable device determines that continuous user operation information is not acquired in the first preset time period, the fact that the user possibly enters a sleep state at the moment is indicated, and the detection unit is restarted at the moment, so that the starting times and starting duration of the sensor can be reduced, and the power consumption of the sensor is saved.
Optionally, the wearable device turns off the detection unit after determining that the user is in the sleep-out state.
Therefore, when the user is in a sleeping state, the detection unit is turned off, and power consumption is saved.
Experiments prove that the method for detecting the sleep state can solve the problem of inaccurate detection of smaller activity scenes before and after sleeping in other systems, and can optimize about 10% of the power consumption of sleep detection.
In order to more clearly describe the above method for detecting sleep states, the process of detecting sleep states according to the embodiment of the present invention will be described in detail with reference to fig. 3. As shown in fig. 3, the steps may be included as follows:
step 301, the wearable device starts to detect a sleep state;
specifically, the period of detecting the sleep state may be 24 hours in one day, or may be a certain period set in advance by the user, which is not limited in the embodiment of the present invention.
Step 302, the wearable device determines whether continuous user operation information acquired by an application end is acquired within a first preset period; if yes, return to step 301; if not, go to step 303;
step 303, starting a detection unit by the wearable device;
step 304, the wearable device detects whether a user continuously operates the wearable device within a first preset time period; if yes, return to step 301; if not, go to step 305;
step 305, the wearable device detects whether the user activity state is smaller than a first threshold value in a first preset period of time; if not, returning to step 301; if yes, go to step 306;
step 306, the wearable device detects whether the average heart rate of the user is smaller than a second threshold value in a first preset period of time; if not, returning to step 301; if yes, go to step 307;
step 307, determining that the user is in a sleep state, and recording the time point of judging to fall asleep.
The flow of detecting the sleep state according to the embodiment of the present invention will be described in detail with reference to fig. 4. As shown in fig. 4, the steps may be included as follows:
step 401, the wearable device starts to detect a sleeping state;
specifically, the period of detecting the sleep state may be a period of time that is determined to start after the user falls asleep, or may be a period of time that is set in advance by the user, which is not limited in the embodiment of the present invention.
Step 402, the wearable device determines whether the user behavior information accords with the sleeping standard through the detection unit; if not, returning to the step 401; if yes, go to step 403;
step 403, the wearable device determines a second time point meeting the sleep standard;
step 404, the wearable device determines whether continuous user operation information is acquired within a second preset period of time before a second time point when the user behavior information meets the sleep-out standard; if yes, go to step 405; if not, go to step 406;
step 405, recording the time point when the continuous user operation information is acquired as a first time point, and determining the first time point as the time point when the user is in a sleeping state;
step 406, determining the second time point as a time point when the user is in a sleeping state.
The embodiment of the invention also provides a wearable device, as shown in fig. 5, including:
an obtaining unit 501, configured to determine whether continuous user operation information collected by an application end is obtained within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
a detection unit 502, configured to determine whether user behavior information detected by the detection unit of the wearable device meets a preset standard;
a determining unit 503, configured to determine a sleep state of the user according to whether continuous user operation information is acquired and whether the user behavior information meets a preset standard.
The embodiment of the invention also provides a computing device, which comprises:
a memory for storing a computer program;
and the processor is used for calling the computer program stored in the memory and executing the method for detecting the sleep state according to any mode listed in the obtained program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer-executable program for causing a computer to execute the method of detecting a sleep state listed in any one of the above-described modes.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (7)

1. A method for detecting sleep states by a wearable device, comprising:
the wearable equipment determines whether continuous user operation information acquired by an application end is acquired within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
the wearable device determines whether user behavior information detected by a detection unit of the wearable device meets a preset standard or not;
the wearable equipment determines the sleep state of the user according to whether continuous user operation information and user behavior information are acquired or not and whether the continuous user operation information and the user behavior information accord with preset standards or not;
the wearable device determines a sleep state of a user according to whether continuous user operation information and user behavior information are acquired or not and whether the continuous user operation information and the user behavior information accord with preset standards, and the method comprises the following steps:
if continuous user operation information is not obtained by the wearable equipment and the user behavior information accords with the sleeping standard, determining that the user is in a sleeping state;
the wearable device determines a time point when the user is in a sleeping state according to a first time point when continuous user operation information is acquired and a second time point when user behavior information accords with sleeping standard;
the wearable device determines a time point when a user is in a sleeping state according to a first time point when user operation information is acquired and a second time point when user behavior information accords with a sleeping standard, and the method comprises the following steps:
after the wearable device determines that the user behavior information accords with the sleeping standard through the detection unit, determining whether continuous user operation information is acquired in a second preset period before a second time point when the user behavior information accords with the sleeping standard;
if the wearable device acquires continuous user operation information within a second preset period, determining a first time point at which the continuous user operation information is acquired as a time point at which the user falls asleep;
the user behavior information comprises continuous operation of the wearable device by a user, a user activity state and a user average heart rate;
the user behavior information accords with the sleep-in standard, namely continuous operation of the wearable equipment by the user is not detected, the user activity state is smaller than a first threshold value, and the average heart rate of the user is smaller than a second threshold value;
the user behavior information meets the sleep-out criteria by detecting a continuous operation of the wearable device by the user, or by the user activity state being greater than a third threshold and the user average heart rate being greater than a fourth threshold.
2. The method as recited in claim 1, further comprising:
and if the wearable device does not acquire continuous user operation information within a second preset period, determining the second time point as the time point when the user is in the sleeping state.
3. The method of any one of claim 1 to 2, wherein,
before the wearable device determines whether the user behavior information detected by the detection unit of the wearable device meets the preset standard, the method further comprises:
and the wearable equipment starts the detection unit when the wearable equipment determines that continuous user operation information acquired by the application end is not acquired within the first preset period.
4. A method as recited in claim 3, further comprising:
and after the wearable device determines that the user is in the sleeping state, the detection unit is closed.
5. A wearable device, comprising:
the acquisition unit is used for determining whether continuous user operation information acquired by the application end is acquired within a first preset period; the user operation information is generated based on the operation of a user on the terminal loading the application terminal;
the detection unit is used for determining whether the user behavior information detected by the detection unit of the wearable device meets a preset standard or not;
the determining unit is used for determining the sleep state of the user according to whether continuous user operation information and user behavior information are acquired or not and whether the continuous user operation information and the user behavior information accord with preset standards or not;
the wearable device determines a sleep state of a user according to whether continuous user operation information and user behavior information are acquired or not and whether the continuous user operation information and the user behavior information accord with preset standards, and the method comprises the following steps:
if continuous user operation information is not obtained by the wearable equipment and the user behavior information accords with the sleeping standard, determining that the user is in a sleeping state;
the wearable device determines a time point when the user is in a sleeping state according to a first time point when continuous user operation information is acquired and a second time point when user behavior information accords with sleeping standard;
the wearable device determines a time point when a user is in a sleeping state according to a first time point when user operation information is acquired and a second time point when user behavior information accords with a sleeping standard, and the method comprises the following steps:
after the wearable device determines that the user behavior information accords with the sleeping standard through the detection unit, determining whether continuous user operation information is acquired in a second preset period before a second time point when the user behavior information accords with the sleeping standard;
if the wearable device acquires continuous user operation information within a second preset period, determining a first time point at which the continuous user operation information is acquired as a time point at which the user falls asleep;
the user behavior information comprises continuous operation of the wearable device by a user, a user activity state and a user average heart rate;
the user behavior information accords with the sleep-in standard, namely continuous operation of the wearable equipment by the user is not detected, the user activity state is smaller than a first threshold value, and the average heart rate of the user is smaller than a second threshold value;
the user behavior information meets the sleep-out criteria by detecting a continuous operation of the wearable device by the user, or by the user activity state being greater than a third threshold and the user average heart rate being greater than a fourth threshold.
6. A computing device, comprising:
a memory for storing a computer program;
a processor for invoking a computer program stored in said memory, performing the method according to any of claims 1 to 4 in accordance with the obtained program.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer-executable program for causing a computer to execute the method of any one of claims 1 to 4.
CN202011277868.8A 2020-11-16 2020-11-16 Method for detecting sleep state by wearable device and wearable device Active CN112401838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011277868.8A CN112401838B (en) 2020-11-16 2020-11-16 Method for detecting sleep state by wearable device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011277868.8A CN112401838B (en) 2020-11-16 2020-11-16 Method for detecting sleep state by wearable device and wearable device

Publications (2)

Publication Number Publication Date
CN112401838A CN112401838A (en) 2021-02-26
CN112401838B true CN112401838B (en) 2023-07-14

Family

ID=74832449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011277868.8A Active CN112401838B (en) 2020-11-16 2020-11-16 Method for detecting sleep state by wearable device and wearable device

Country Status (1)

Country Link
CN (1) CN112401838B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141671B (en) * 2021-04-23 2023-06-20 Tcl通讯(宁波)有限公司 Communication method and device of wifi device and computer readable storage medium
CN113470657B (en) * 2021-05-18 2023-12-01 翱捷科技(深圳)有限公司 Voice wakeup threshold adjustment method and system
CN113892907A (en) * 2021-08-31 2022-01-07 杭州思立普科技有限公司 Biological rhythm detection method, device, equipment and medium based on wearable equipment
CN114699043A (en) * 2022-03-10 2022-07-05 珠海格力电器股份有限公司 Sleep detection method and device, electronic equipment and storage medium
CN115137308A (en) * 2022-06-29 2022-10-04 东莞市猎声电子科技有限公司 Method for improving accuracy of in-out sleep detection in sleep algorithm of intelligent wearable device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106214121A (en) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 Sleep reminding method and device and wearable device
WO2017128539A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Alarm control method and alarm control device for use in wearable device
CN107545134A (en) * 2017-07-25 2018-01-05 广东乐心医疗电子股份有限公司 Sleep-related feature data processing method and device for wearable device
CN109394174A (en) * 2017-08-18 2019-03-01 美的集团股份有限公司 Sleep state method of discrimination, device, computer equipment and readable storage medium storing program for executing
CN109407813A (en) * 2018-10-25 2019-03-01 广东小天才科技有限公司 A kind of electricity-saving control method and wearable device of wearable device
CN109620158A (en) * 2018-12-28 2019-04-16 惠州Tcl移动通信有限公司 Method, intelligent terminal and the storage device of Sleep-Monitoring
CN109984762A (en) * 2019-04-01 2019-07-09 广东乐芯智能科技有限公司 A kind of fatigue driving judgment method based on wearable device
CN110151137A (en) * 2019-05-28 2019-08-23 深圳如一探索科技有限公司 Sleep state monitoring method, device, equipment and medium based on data fusion
CN110151136A (en) * 2019-05-28 2019-08-23 深圳如一探索科技有限公司 It has ready conditions with reference to heart rate sleep state monitoring method, device, equipment and medium
JP2020065642A (en) * 2018-10-23 2020-04-30 株式会社ポケモン Program, game server, information processing terminal, method and game system
CN111643066A (en) * 2019-04-30 2020-09-11 上海铼锶信息技术有限公司 Low-power-consumption resting heart rate detection method and wearable device

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9743848B2 (en) * 2015-06-25 2017-08-29 Whoop, Inc. Heart rate variability with sleep detection
WO2015081558A1 (en) * 2013-12-06 2015-06-11 华为终端有限公司 Method for controlling terminal device, and wearable electronic device
JP2015125544A (en) * 2013-12-26 2015-07-06 株式会社東芝 Electronic apparatus, method and program
WO2015119726A2 (en) * 2014-01-02 2015-08-13 Intel Corporation (A Corporation Of Delaware) Identifying and characterizing nocturnal motion and stages of sleep
CN105843038A (en) * 2015-01-13 2016-08-10 安徽华米信息科技有限公司 Method and device for controlling alarm clock
KR102463383B1 (en) * 2015-02-27 2022-11-04 삼성전자주식회사 Method for measuring bio-signal and wearable electronic device
EP3274035B1 (en) * 2015-03-25 2019-10-23 Koninklijke Philips N.V. Wearable device for sleep assistance
CN105433904A (en) * 2015-11-24 2016-03-30 小米科技有限责任公司 Sleep state detection method, device and system
KR102635868B1 (en) * 2016-01-26 2024-02-14 삼성전자주식회사 Electronic device and controlling method thereof
CN105739669B (en) * 2016-01-27 2019-06-11 宇龙计算机通信科技(深圳)有限公司 Terminal control method and terminal control mechanism
US11051760B2 (en) * 2016-05-09 2021-07-06 Belun Technology Company Limited Wearable device for healthcare and method thereof
CN106073710A (en) * 2016-06-06 2016-11-09 宁波力芯科信息科技有限公司 Intelligent worn device and the control method of Intelligent worn device
CN106331342A (en) * 2016-08-23 2017-01-11 京东方科技集团股份有限公司 Alarm clock realization method and device in electronic device and wearable device
CN106308752A (en) * 2016-08-23 2017-01-11 广东小天才科技有限公司 Sleep monitoring method based on wearable equipment and sleep monitoring system based on wearable equipment
CN107635074B (en) * 2017-10-23 2021-02-09 北京小米移动软件有限公司 Method, apparatus and computer-readable storage medium for controlling alarm
CN107811641A (en) * 2017-11-17 2018-03-20 上海斐讯数据通信技术有限公司 A kind of method and system of monitoring sleep
CN108030467B (en) * 2017-11-22 2021-07-02 广东思派康电子科技有限公司 Electronic bracelet and computer readable storage medium
JP6932630B2 (en) * 2017-12-07 2021-09-08 パラマウントベッド株式会社 Sleep state determination device and program
CN108937867A (en) * 2018-06-29 2018-12-07 出门问问信息科技有限公司 A kind of dormant monitoring method and device
CN109745011B (en) * 2019-02-20 2021-12-03 华为终端有限公司 User sleep respiration risk monitoring method, terminal and computer readable medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128539A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Alarm control method and alarm control device for use in wearable device
CN106214121A (en) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 Sleep reminding method and device and wearable device
CN107545134A (en) * 2017-07-25 2018-01-05 广东乐心医疗电子股份有限公司 Sleep-related feature data processing method and device for wearable device
CN109394174A (en) * 2017-08-18 2019-03-01 美的集团股份有限公司 Sleep state method of discrimination, device, computer equipment and readable storage medium storing program for executing
JP2020065642A (en) * 2018-10-23 2020-04-30 株式会社ポケモン Program, game server, information processing terminal, method and game system
CN109407813A (en) * 2018-10-25 2019-03-01 广东小天才科技有限公司 A kind of electricity-saving control method and wearable device of wearable device
CN109620158A (en) * 2018-12-28 2019-04-16 惠州Tcl移动通信有限公司 Method, intelligent terminal and the storage device of Sleep-Monitoring
CN109984762A (en) * 2019-04-01 2019-07-09 广东乐芯智能科技有限公司 A kind of fatigue driving judgment method based on wearable device
CN111643066A (en) * 2019-04-30 2020-09-11 上海铼锶信息技术有限公司 Low-power-consumption resting heart rate detection method and wearable device
CN110151137A (en) * 2019-05-28 2019-08-23 深圳如一探索科技有限公司 Sleep state monitoring method, device, equipment and medium based on data fusion
CN110151136A (en) * 2019-05-28 2019-08-23 深圳如一探索科技有限公司 It has ready conditions with reference to heart rate sleep state monitoring method, device, equipment and medium

Also Published As

Publication number Publication date
CN112401838A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112401838B (en) Method for detecting sleep state by wearable device and wearable device
CN106556424B (en) A kind of intelligence wearable device and its energy-saving operating method
US10152027B2 (en) Smart watches and associated systems and methods for lock-screen management thereof
CN108886749B (en) Management method and device of wearable intelligent equipment
CN110192383A (en) Electronic equipment and its operating method
CN106645978A (en) Wearing state detecting method and detecting device for intelligent wearable equipment
CN113545745B (en) Usage monitoring method and medium for wearable electronic device and electronic device thereof
US20160299483A1 (en) Method for controlling terminal device, and wearable electronic device
CN104836905A (en) System adjusting method and apparatus based on user state
WO2022021707A1 (en) Sleep monitoring method and apparatus, and smart wearable device and readable storage medium
WO2016142359A1 (en) Wearable device for sweat testing administration
CN109330576B (en) Control starting method and electronic equipment
CN107102717A (en) Screen control method and device
CN107219959B (en) Input control method and device for intelligent wearable device
CN110447217B (en) Pressure detection method and terminal
CN110710962A (en) Sleep state detection method and device
WO2022037555A1 (en) Physiological data acquisition method and apparatus, and wearable device
EP3904968A1 (en) Information processing device, information processing method, information processing program, and information processing system
CN113491508A (en) Electronic device and atrial fibrillation early warning method and medium thereof
CN114532992B (en) Method, device and system for detecting nap state and computer readable storage medium
CN106821336A (en) Sleep monitor method and system
CN107397529B (en) Physical sign data detection method, apparatus, server and storage medium
US20210353234A1 (en) Fitness Tracking System and Method of Operating a Fitness Tracking System
CN111316623A (en) Alarm clock ringing method and system of intelligent terminal
CN108720824A (en) A kind of method and wearable device of wearable device information alert

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant