Sleep time accurate judgment method of intelligent health terminal
Through the collaborative work of smart health terminals and mobile terminals, three-axis accelerometers and optical sign sensors are used to accurately determine the user's sleep time, which solves the problem of misjudgment of sleep time in the existing technology and improves the accuracy and reliability of sleep data. sex, providing scientific sleep assessment and improvement suggestions.
Patent Information
- Application Number
- CN202310338129.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
Existing smart wearable devices are prone to misjudgment due to user behavior when judging sleep time, resulting in inaccurate recording of sleep status.
The user's sleep status is pre-recorded through the smart health terminal, and wirelessly connected to the mobile terminal APP. The sleep data is uploaded for fault-tolerant analysis, and non-sleep time periods are removed. The three-axis accelerometer and optical sign sensor data are combined to accurately determine the user's sleep state. time.
It improves the accuracy and reliability of sleep data, reduces the impact of interference factors on data analysis, and provides more scientific sleep assessment and improvement suggestions.
Smart Images

Figure CN118717035A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart wearable information technology, and in particular to a method for accurately determining the sleeping time of a smart health terminal. Background Art
[0002] Smart health terminal is a wearable device with independent data processing and analysis capabilities. It not only has the ability to collect vital signs data, but also can independently process this data and has the function of real-time monitoring. It can be worn for a long time. It is a close-fitting item that the human body wears / wears for a long time besides clothing. It can even be worn 24 hours a day to detect vital signs data such as heart rate, blood pressure, movement posture, etc. It can also be used to monitor the user's sleep status, such as awake or asleep, sleep time, deep sleep or light sleep, etc.
[0003] There are many smart wearable watches or bracelets on the market, which are wristband wearables. They mainly judge sleep status, sleep time and wake-up time by combining PPG and movement / posture. In actual use, some user behaviors cause the wearable to mistakenly think that the user is sleeping, such as watching the phone without moving before going to bed, watching TV series or reading novels, which makes the user keep the body posture still, holding the phone with one hand or both hands for a long time, making the wearable mistakenly think that the user has fallen asleep, and the time spent lying down watching the phone is mistakenly considered by the wearable to be the time of falling asleep. Summary of the invention
[0004] The present invention proposes a method for accurately judging the sleeping time of a smart health terminal, which is used to accurately record the sleeping time of a user and eliminate the misjudgment of the sleeping time due to some behaviors. The method is achieved through the following technical solutions.
[0005] A method for accurately determining the sleeping time of a smart health terminal comprises the following steps: Step 1: Pre-record the user's sleep status through the smart health terminal and store it in the memory; Step 2: Wirelessly connect to the mobile terminal APP and upload the sleep data to the mobile terminal APP; Step 3: The mobile terminal APP obtains the usage of the mobile terminal, determines and removes the non-sleep time period in the sleep data; Step 4: Analyze and process the sleep data to obtain various data indicators during sleep.
[0006] The beneficial effects of the present invention are: using a wristband for monitoring is very convenient; data processing and analysis are performed through an APP to improve the accuracy and reliability of sleep data; the present invention adopts fault-tolerant analysis to reduce the impact of interference factors on data analysis and improve the accuracy of data analysis; long-term monitoring of sleep status is performed, and information such as sleep evaluation and suggestions are provided to help users improve their sleep. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 It is a flowchart of the sleep time determination process according to an embodiment of the present invention.
[0008] Figure 2 It is a flowchart of the sleep time correction process according to an embodiment of the present invention.
[0009] Figure 3 Schematic diagram of heart rate changes during sleep according to an embodiment of the present invention. Implementation
[0010] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0011] The present invention provides a method for monitoring the sleep state based on a health terminal, wherein a wearable watch based on a three-axis accelerometer is used to monitor the user's sleeping time and state. When the watch monitors a complete sleep data, the sleep data is uploaded to an APP, and the data is analyzed and processed in the APP for fault tolerance. The time when the user is stationary while playing with a mobile phone can be removed from the sleep data result, and the sleep data is corrected. This method uses an APP on the mobile phone side, and by monitoring the user's mobile phone usage, it can reduce the impact of the user's stationary state when playing with the mobile phone on the sleep period monitoring, and improve the reliability and accuracy of the sleep data.
[0012] The medical health terminal includes a watch with a three-axis accelerometer and a mobile phone APP. The watch is mainly responsible for monitoring and recording sleep status data, and the APP is used for data analysis and processing.
[0013] The specific composition and function of the smart health terminal according to the present invention will be described in detail below.
[0014] Smart health terminal, including components such as sensors, processors, memory and communication modules. The sensor is responsible for monitoring the sleep status of the watch wearer, and can monitor the various states of the user during sleep, such as sleep time, sleep depth, REM period, etc. The processor processes and analyzes the sensor data and records the sleep data in the watch body memory. The communication module is responsible for uploading the data in the memory to the APP.
[0015] In the embodiment of the present invention, some states such as heart rate, blood oxygen, posture and snoring can also be added to the sleep state.
[0016] like Figure 1 As shown, a method for accurately determining the sleeping time of a smart health terminal in an embodiment of the present invention includes the following steps: S1: Pre-record the user's sleep status through the smart health terminal and store it in the memory; S2: Wirelessly connect to the mobile terminal APP and upload the sleep data to the mobile terminal APP; S3: The mobile terminal APP obtains the usage of the mobile terminal, determines and removes the non-sleep time period in the sleep data; After the above steps are completed, the sleep data is analyzed and processed to obtain various data indicators during the sleep period.
[0017] In S1, the user's sleeping state is first monitored, the user's posture and movements are first obtained, and then whether the user has fallen asleep is determined based on the user's heart rate.
[0018] In the embodiment of the present invention, the user's posture data is first obtained, that is, what posture the user is currently in. The posture is important data for judging whether the user is asleep. By judging the posture, only when the user is in a posture such as lying, lying, lying prone, sitting, etc., he may be sleeping. However, these posture data cannot determine whether the user is in real sleep alone, and other data are needed for judgment.
[0019] In the embodiment of the present invention, the user's motion data and state data are obtained by obtaining signals through inertial sensors, including accelerometers (or acceleration sensors) and angular velocity sensors (gyroscopes) and their single-axis, dual-axis, and three-axis combined IMUs (inertial measurement units), and AHRSs (inertial attitude sensors including magnetic sensors).
[0020] In the embodiment of the present invention, the motion data obtained by the inertial sensors such as gyroscopes and accelerometers can determine the user's movements and postures. For example, the change from standing to lying can be obtained through the change of the gyroscope and accelerometer count values. When the user is in a lying position, the accelerometer value does not change. When the user lies down to watch the phone, the gyroscope has a slight data change, but it does not affect the judgment of the lying position.
[0021] When the user lies down and watches the phone, the wrist needs to hold the phone and remain basically motionless. At this time, the PPG data is resting data, and the posture and movement data do not change much over a period of time. According to the existing sleep monitoring method, the user is considered to be sleeping at this time. This judgment causes the sleep state data output to the user to be wrong. The embodiment of the present invention mainly targets the user's pre-sleep behavior, marks a part of the abnormal pre-sleep sleep state, and excludes it from the sleep time.
[0022] While judging the user's posture, other vital signs data of the user are obtained. The user's heart rate is obtained through an optical vital sign sensor, which includes optical vital sign sensors such as PPG, blood oxygen, and blood pressure. The photoelectric heart rate sensor records PPG signals, blood oxygen signals, blood pressure and other signals.
[0023] In the embodiment of the present invention, the wearable device mainly realizes the functions of driving different sensor modules, configuring relevant register parameters, and collecting and classifying raw data.
[0024] Optical vital sign sensing data: Drive the optical heart rate sensor, configure and adjust related register values (such as light intensity, sampling frequency, etc.), and obtain raw data including PPG signals in real time.
[0025] Inertial sensor data: Drive sensors including three-axis acceleration, configure their related parameters (such as accuracy, output speed, etc.), and sample them once at a frequency of 4 Hz.
[0026] In an embodiment of the present invention, the wearable device obtains the user's heart rate and determines whether the heart rate is the resting heart rate when awake. The resting heart rate is obtained by monitoring the user's heart rate through the wearable device. The determination of whether the heart rate is the resting heart rate is performed by taking the average value of the collected heart rate value and the heart rate values in the sitting, lying, and supine positions, that is, the average resting heart rate during activity.
[0027] The heart rate data is the heart rate value taken for N minutes, where N is an integer and can be 3-20 minutes. For example, the heart rate values for 5 minutes are averaged to determine whether they are lower than or equal to the average value. If the heart rate value is lower than the average value, it is the heart rate value during sleep. If the heart rate value is close to the average value (slightly lower than the average value) or is equal to the average value, then it is determined that the user is in a non-sleeping state.
[0028] If the heart rate value is lower than the average value by more than 5 beats / minute, it can be judged as a sleeping state; if the heart rate value is lower than the average value by less than 5 beats / minute, or is the same as the average value, it can be judged as a non-sleeping state.
[0029] like Figure 3As shown, the detected heart rate range for the whole day is 53-118 beats / minute, of which the average resting heart rate is 76 beats / minute, and the heart rate during sleep is lower than 76 beats / minute. Taking the horizontal axis 7 o'clock as an example, the heart rate before 7 o'clock is the heart rate during sleep, and the heart rate after 7 o'clock is the heart rate when waking up. It can be obviously found that the average dynamic heart rate is much higher than the average resting heart rate.
[0030] In S2, wireless connection is made with the mobile terminal APP to upload the sleep data to the mobile terminal APP; In the embodiment of the present invention, the smart health terminal is a wristband wearable device. During use, the user only needs to wear it to monitor sleep. The smart health terminal will automatically identify the user's sleep state and record the corresponding data. When the smart health terminal monitors a complete sleep data, it will upload the sleep data to the mobile terminal APP via wireless methods such as Bluetooth.
[0031] In S3 of the embodiment of the present invention, the mobile terminal APP obtains the usage of the mobile terminal, determines and removes the non-sleep state time period in the sleep data.
[0032] Mobile terminal APP is an application installed on the mobile terminal. APP is mainly responsible for data analysis and processing. When APP receives data uploaded by the smart health terminal, it will perform fault-tolerance analysis on the data to remove some irrelevant interference factors.
[0033] Specifically, the APP automatically obtains the user's mobile phone usage to determine the time period in the sleep data when the user is not sleeping, such as playing with the phone, and removes this time from the sleep data results to eliminate the interference of mobile phone use on the sleep data. Then, the part containing the user's sleep information is analyzed and processed to obtain various data indicators of the user during sleep, such as sleep quality, depth, duration, etc.
[0034] The app can also analyze sleep data and provide information such as sleep assessment and suggestions to help users better understand their sleep conditions. For example, if the app analysis results show that the user's sleep quality is below average, it will provide suggestions for improving sleep based on the analysis results, such as adjusting sleep time and developing good sleep habits.
[0035] In the embodiment of the present invention, specifically: like Figure 2 As shown, sensor initialization and parameter configuration; The acceleration values of the X, Y, and Z axes are obtained. In order to avoid the influence of the equipment itself on the monitoring results and to facilitate analysis, the three-axis acceleration is integrated into one acceleration value. When the human body is in a supine position, the system is fixed to the human arm, and its X axis is consistent with the direction of the human body lying supine, pointing to the human head. When the human body turns over during sleep, the signals in the X, Y, and Z directions will change.
[0036] Import the sleep algorithm model, that is, input the numerical values of the signal changes in the three directions of X, Y, and Z into the sleep algorithm model, and take the acceleration mean and variance in the three directions in the numerical values, the wavelet coefficients after the 9-layer decomposition of the acceleration signal, the peak value of the acceleration, and the valley value of the acceleration to form a multi-dimensional feature vector.
[0037] Acquire sleep data, including sleep time, sleep state, and wake-up time, and store the sleep data in memory.
[0038] The user's sleep information is obtained from the sleep data, and sleep evaluation is performed according to the linear sleep analysis algorithm. By comparing related studies, the current state of sleep can be determined, and the correlation between the evaluation and the activities of the two minutes before and after can be evaluated. The specific linear formula can be obtained by selecting appropriate linear parameter values, as shown in the formula:
[0039] In the formula, D is the result of the sleep decision at the current moment. When D≥1, it is awake, and when D<1, it is asleep. B is the activity count for one minute. P(0.0046) is the scaling factor of the polynomial, which can be manually adjusted as the user's physiological parameters change. The formula can be used to calculate the sleep status per minute during the sleep monitoring time. This can analyze the awakening, falling asleep, light sleep, and deep sleep time of the entire sleep process.
[0040] After the sleep is over, the smart health terminal establishes a wireless connection with the mobile terminal APP, uploads the sleep data in the memory to the APP, and obtains the sleep time period.
[0041] The APP obtains the usage of the mobile terminal during the sleep period, such as obtaining the battery status of the mobile terminal, the background application usage record, and the usage time of the mobile terminal.
[0042] The APP removes the time period of using the mobile terminal from the sleep time period to obtain updated sleep data.
[0043] Starting from the time when the use of the mobile terminal ends, the algorithm model is run for processing analysis, fault tolerance detection and data integration to obtain the final sleep result.
[0044] The mobile terminal (mobile phone) can be replaced with a smart device, including a tablet computer, a smart TV, and a smart projector. Mobile phones are the most commonly used, and users like to use their phones before going to bed, such as watching videos and watching Douyin. Before going to bed, you can also watch content on a tablet, watch TV, and watch videos on a projector. These smart devices can all install APPs, i.e., the APPs in the embodiments of the present invention.
[0045] In the embodiment of the present invention, another behavior before going to bed is lying on the bed or sofa watching projection or TV, projecting the projector on the ceiling of the bedroom to enjoy the video. Or, watching TV on the bed or sofa.
[0046] The wearable device obtains the start time of the abnormal sleep state, and starts calculating the sleep time after the abnormal sleep state ends. Alternatively, the abnormal sleep period is excluded from the sleep period to make the user's sleep time accurate. Excluding data from abnormal sleep time periods is conducive to more scientific and accurate analysis of user sleep data.
[0047] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for accurately determining the sleeping time of a smart health terminal, characterized in that: The steps include: Step 1: Pre-record the user's sleep status through the smart health terminal and store it in the terminal's memory; Step 2: Wirelessly connect to the mobile terminal APP and upload the sleep data to the mobile terminal APP; Step 3: The mobile terminal APP obtains the usage of the mobile terminal, determines and removes the non-sleep time period in the sleep data.
2. The method for accurately determining the sleeping time according to claim 1, characterized in that: In step 3, the algorithm model is run to process analysis, fault tolerance detection and data integration to obtain the final sleep result.
3. The method for accurately determining the sleeping time according to claim 2, characterized in that: Specifically, the use time of the mobile terminal in the sleep time period is obtained to obtain the processed sleep data.
4. The method for accurately determining the sleeping time according to claim 2, characterized in that: The method also includes step 4: analyzing and processing the sleep data to obtain various data indicators during the sleep period.
