CN108697378B - Sleep body movement monitoring method and device and sleep body movement monitor - Google Patents

Sleep body movement monitoring method and device and sleep body movement monitor Download PDF

Info

Publication number
CN108697378B
CN108697378B CN201780008983.5A CN201780008983A CN108697378B CN 108697378 B CN108697378 B CN 108697378B CN 201780008983 A CN201780008983 A CN 201780008983A CN 108697378 B CN108697378 B CN 108697378B
Authority
CN
China
Prior art keywords
air pressure
state
pressure data
change
determining
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
CN201780008983.5A
Other languages
Chinese (zh)
Other versions
CN108697378A (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.)
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
Shenzhen H&T Intelligent Control 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 Shenzhen H&T Intelligent Control Co Ltd filed Critical Shenzhen H&T Intelligent Control Co Ltd
Publication of CN108697378A publication Critical patent/CN108697378A/en
Application granted granted Critical
Publication of CN108697378B publication Critical patent/CN108697378B/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/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
    • A61B5/1118Determining activity level
    • 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/4815Sleep quality

Abstract

A sleep movement monitoring method, a device and a sleep movement monitor (20). The sleep body movement monitoring method comprises the following steps: collecting air pressure data in the warm-keeping space (14); arranging the air pressure data according to the sequence of the acquisition time to form an air pressure data sequence (step 41); determining whether the air pressure data sequence meets a preset physical movement condition (step 42); if so, it is determined that body motion is occurring (step 43). Whether the user moves in the sleeping process is determined by judging whether the air pressure data sequence in the warm-keeping space (14) meets the preset body movement condition. On one hand, the body motion signal which is much more complex than a switch signal is detected by the air pressure sensor (22), and the greater application value is realized; on the other hand, it is more intuitive and convenient to determine the user's physical movement using changes in air pressure within the warmer space (14) during sleep than using changes in acceleration as a result of user head movement during sleep.

Description

Sleep body movement monitoring method and device and sleep body movement monitor
Technical Field
The application relates to the field of sleep monitoring, in particular to a sleep movement monitoring method and device and a sleep movement monitor.
Background
In modern society, most of the urban white collars have sub-health problems, and poor sleeping quality at night can cause that the working and living in the day are in poor mental state. The most intuitive embodiment of insomnia is roll-over, the sleep quality can be positively reflected by monitoring the change of the body position in the sleep process, and the change of the body position in the sleep process is monitored based on an acceleration sensor in the related technology, wherein the acceleration sensor is generally placed on a pillow, and when the body moves during sleep, the movement of the head can cause the deformation of the pillow, so that the body movement of a person is judged, namely, the sleep state is judged according to the change of the body movement strength.
In the process of implementing the present application, the applicant finds that the following problems exist in the related art:
because the body motion mode of the human body is very complicated, for example, the human body can turn left, turn right, lie flat, move feet, move hands, etc., if the acceleration sensor is used for detection, on one hand, the detection dimensionality of the acceleration sensor is more, three-axis data can be generated, and the data is difficult to process and is not easy to be accurate; on the other hand, the acceleration sensor is arranged on the pillow, so that the starting point of sleep cannot be accurately judged due to the fact that whether a person is still on the pillow or not at all on the pillow cannot be accurately distinguished.
Disclosure of Invention
An object of the embodiments of the present application is to provide a sleep movement monitoring method and apparatus, and a sleep movement monitor, which solve the technical problem that the judgment of the body movement of a human body by the existing sleep monitoring is not accurate enough.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in a first aspect, an embodiment of the present application provides a sleep movement monitoring method, including: collecting air pressure data in the warm-keeping space, and arranging the air pressure data according to the sequence of the collection time to form an air pressure data sequence; determining whether the air pressure data sequence meets a preset physical movement condition; and if so, determining that body movement occurs in the warm-keeping space.
The preset body motion condition comprises that the air pressure state is changed from a stable state to a shaking state and then is restored from the shaking state to the stable state; the determining whether the air pressure data sequence meets the preset physical movement condition comprises: determining the change of the air pressure state according to the air pressure data sequence; and judging whether the change of the air pressure state meets the requirement that the air pressure state is changed from a stable state to a shaking state and then is recovered from the shaking state to the stable state.
The air pressure data sequence is divided into a plurality of detection periods, and each detection period comprises a plurality of air pressure data; the determining whether the air pressure data sequence meets a preset physical movement condition specifically includes: accumulating the absolute value of the difference between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period; and judging whether the variation amplitude is larger than or equal to an amplitude threshold value, if so, determining that a preset body motion condition is met, and if not, determining that the preset body motion condition is not met.
The detection period of the air pressure state which is changed from the stable state to the shaking state and then is recovered from the shaking state to the stable state is accumulated to be counted as a body motion counting period; the step of changing the air pressure state from the stable state to the jittering state and then restoring the jittering state to the stable state specifically comprises the following steps: when the variation amplitude is larger than or equal to an amplitude threshold value, determining the detection period as a jitter state starting point judgment period; accumulating change indexes calculated by two adjacent air pressure data from the end point of the shaking state of the last body motion counting period to the beginning point of the shaking state judging period, and judging whether the accumulated change indexes are larger than an index threshold value or not;
the change index is calculated by the following equation:
Figure BDA0001747296610000021
wherein f (x) is a change index, x1For acquiring time-preceding barometric pressure data, x2T is a preset constant for collecting the air pressure data after the time; if so, determining that the starting point judgment period of the jitter state is the starting point of the jitter state, and changing the air pressure state from a stable state to a jitter state; after the starting point of the jitter state is determined, when the frequency of the starting point judgment period of the jitter state is greater than or equal to a frequency threshold value, the ending point of the jitter state of the current body motion counting period is determined, and the air pressure state is recovered to a stable state from the jitter state.
In a second aspect, an embodiment of the present application provides a sleep movement monitoring apparatus, including: the arrangement module is used for arranging the acquired air pressure data according to the sequence of the acquisition time to form an air pressure data sequence; the first determination module is used for determining whether the air pressure data sequence meets a preset physical movement condition; and the second determining module is used for determining that the body movement occurs in the warm-keeping space if the air pressure data sequence meets the preset body movement condition.
The air pressure data sequence is divided into a plurality of detection periods, and each detection period comprises a plurality of air pressure data; the first determining module includes: the accumulation unit is used for accumulating the absolute value of the difference value between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period; the judging unit is used for judging whether the change amplitude is larger than or equal to an amplitude threshold value or not; the first determining unit is used for determining that a preset body movement condition is met if the variation amplitude is larger than or equal to an amplitude threshold value; and the second determining unit is used for determining that the preset body motion condition is not met if the variation amplitude is smaller than the amplitude threshold value.
In a third aspect, an embodiment of the present application provides a sleep movement monitor, including: the system comprises at least one processor, a memory and an air pressure sensor, wherein the memory is in communication connection with the at least one processor, and the air pressure sensor is used for collecting air pressure data; wherein the memory stores computer-executable instructions that are executed by the at least one processor to cause the at least one processor to implement the above-mentioned sleep body movement monitoring method using the barometric pressure sensor.
Wherein, sleep body moves monitor includes: the device comprises a shell, a first fixing piece and a second fixing piece, wherein a cavity is arranged in the shell; the air pressure sensor, the processor and the memory are disposed within the cavity.
The surface of the shell is provided with a plurality of air vents, and the air pressure sensor is arranged at a position corresponding to the air vents.
The shell comprises an upper shell and a lower shell, and the upper shell and the lower shell are connected through a buckle.
The surface of the upper shell comprises a display part and an arc-shaped connecting part, the arc-shaped connecting part is arranged around the display part, and the arc-shaped connecting part is connected with the lower shell through a buckle; the display part is provided with a display screen, and the display screen is connected with the processor.
According to the embodiment of the application, whether the body movement of the user occurs in the sleeping process is determined by judging whether the air pressure data sequence in the warm-keeping space meets the preset body movement condition. On one hand, the body motion signal which is much more complex than a switch signal is detected by the air pressure sensor, and the greater application value is realized. On the other hand, the change of the air pressure in the warming space in the sleeping process is more intuitive and convenient to determine the body movement of the user than the change of the acceleration driven by the head movement of the user in the sleeping process.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a schematic diagram of an application environment provided by an embodiment of the present application;
fig. 2a is a schematic view of a sleep movement monitor provided in an embodiment of the present application;
fig. 2b is a schematic view of another view of a sleep movement monitor according to an embodiment of the present disclosure;
fig. 3 is a schematic block circuit diagram of a sleep movement monitor according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a sleep movement monitoring method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of step 43 in FIG. 4;
fig. 6 is a schematic flowchart of a sleep movement monitoring method according to another embodiment of the present application;
fig. 7 is a schematic flowchart of a sleep movement monitoring method according to another embodiment of the present application;
FIG. 8 is a waveform diagram of a single whole body movement of a sleep body movement monitoring method according to an embodiment of the present application;
fig. 9 shows the body movement change rule of the user in a longer period of the sleep body movement monitoring method according to the embodiment of the present application;
fig. 10 is a waveform diagram of a jitter starting point in a sleep body movement monitoring method according to an embodiment of the present application;
fig. 11 is a waveform diagram illustrating a steady state occurring in a sleep movement monitoring method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a sleep movement monitoring device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment provided by an embodiment of the present application, where the application environment 100 includes the following elements: a user 11, a bed 12, bedding 13 and a warm-keeping space 14, wherein the bedding 13 can be an article with a warm-keeping function, such as a quilt, a blanket and the like; the thermal space 14 is a space that is not heat-exchangeable with the outside air and is formed by covering the user with the bedding 13, and in the application environment shown in fig. 1, the user 11 lies on the bed 12, the bedding 13 is covered on the user 11, and the body heat of the user 11 exchanges heat with the air in the thermal space 14, so that the air pressure in the thermal space 14 is lower than the air pressure of the outside air.
When a user is in a sleep state, actions such as turning over, swinging hands and the like can occur in the sleep process, namely: a change or movement of the position of the limb occurs within the warm space 14. In the embodiments of the present application, such a change or movement is referred to as "body motion". And the number of times of 'body movement' can be used as an important parameter for measuring the sleep quality of the user. For example, if a user rolls over due to insomnia, the number of body movements is larger than that of body movements in normal sleep. By detecting the number of times of body movement of the user during sleeping, the sleeping quality of the user can be reflected laterally.
Specifically, the method may be used to detect whether the user 11 is moving in the sleep state by a variety of different methods, such as an acceleration sensor-based solution. In this embodiment, the sleep body motion monitor based on the air pressure sensor as shown in fig. 2 may be used to detect whether the user 11 has body motion.
Specifically, referring to fig. 2a, fig. 2b and fig. 3 together, fig. 2a is a front view of a sleep movement monitor provided in the embodiment of the present application, fig. 2b is a left view of the sleep movement monitor provided in the embodiment of the present application, and fig. 3 is a schematic block diagram of a circuit of the sleep movement monitor provided in the embodiment of the present application. As shown in fig. 3, the sleep movement monitor 20 includes: a housing 21, an air pressure sensor 22, a processor 23 and a memory 24.
Referring to fig. 2a and 2b, the surface of the housing 21 is provided with a plurality of air vents 211, the housing 21 includes an upper housing 212 and a lower housing 213, and the upper housing 212 and the lower housing 213 are connected by a snap or other connection method to form a cavity 214. The air pressure sensor 22, the processor 23 and the memory 24 are disposed in the cavity 214, and the air pressure sensor 22 is disposed in the cavity 214 near the plurality of air vents 211, so that the air pressure sensor 22 can detect the air pressure in the warm space 14 through the air vents 211 in the application environment.
The surface of the upper case 212 includes a display portion 2121 and an arc connection portion 2122, wherein the arc connection portion 2122 surrounds the display portion 2121; the display part 2121 is provided with a display screen 25, the display screen 25 is connected to the processor 23, and is configured to display data related to sleep of the user, for example, data such as current sleep time, air pressure or movement frequency in the warm space, and the like, where the display screen 25 may be a display screen such as an LCD or an OLED that reduces power consumption.
The arc connecting part 2122 is connected with the lower shell 213 in a snap-fit manner, and the surface of the arc connecting part 2122 is of an arc structure, so that pain caused by the body pressure of a user in the sleeping process can be reduced. The vent 211 is provided on the arc connection portion 2122.
The specific detection method for detecting the change of the body movement of the user in the sleeping process by using the sleeping body movement monitor 20 is as follows: the sleep body movement monitor 20 is placed in the application environment shown in fig. 1, the air pressure sensor 22 collects air pressure in the warm-keeping space 14, the collected data is transmitted to the processor 23, and the processor 23 acquires the air pressure data and judges whether body movement occurs in the sleep process of the user according to the air pressure data.
Fig. 4 is a sleep movement monitoring method, which can be executed by the processor described above, for detecting the number of times of movement of the user 11 according to an embodiment of the present application. As shown in fig. 4, the method includes:
step 41, collecting air pressure data in the warm-keeping space; and arranging the air pressure data according to the sequence of the acquisition time to form an air pressure data sequence.
In the embodiment of the application, the air pressure sensor can be used for collecting air pressure, the air pressure sensor can specifically collect air pressure data at any suitable sampling frequency, for example, the air pressure data in the warm-keeping space is continuously collected in the form of one air pressure data per second, and the processor obtains the air pressure data to obtain an air pressure data sequence.
The air pressure data sequence in the implementation is sequenced according to the sequence of the acquisition time, the air pressure data sequence can reflect the air pressure change condition in the warm-keeping space in a specific time period, and the processor obtains the air pressure data and can perform the next operation on the air pressure data.
And step 42, determining whether the air pressure data sequence meets the preset physical movement condition. If yes, go to step 43; if not, go to step 44.
As will be understood by those skilled in the art, in the case of a physical movement of the user 11, due to the change of the body position, the external air generally enters the warm space, so that the air in the warm space exchanges heat with the external air, and the air pressure in the warm space changes regularly.
Therefore, whether the user generates body movement or not can be judged by judging whether the air pressure data sequence contains the regular change information, and the counting of the body movement is further realized. Correspondingly, the regular change of the air pressure can be represented by the preset physical movement condition. The preset physical movement condition can be determined by those skilled in the art according to actual conditions.
And 43, determining the body movement in the warm-keeping space.
When the preset body movement condition is met, it may be determined that the air pressure data sequence includes the change of regularity, so as to determine that the user 11 has body movement in the warm-keeping space. And further counts the body movements of the user 11 through the sequence of air pressure data.
And 44, determining that no body movement occurs in the warm-keeping space.
When the preset body motion condition is not satisfied, it may be determined that the air pressure data sequence does not include the change of regularity, thereby determining that the user 11 does not generate body motion in the warm-up space.
According to the embodiment of the application, whether the body movement of the user occurs in the sleeping process is determined by judging whether the air pressure data sequence in the warm-keeping space meets the preset body movement condition. On one hand, the air pressure sensor is used for detecting the body motion signal which is more complex than the switch signal, and the greater application value is realized. On the other hand, the change of the air pressure in the warming space in the sleeping process is more intuitive and convenient to determine the body movement of the user than the change of the acceleration driven by the head movement of the user in the sleeping process.
As described above, when a user performs an action such as turning over in a warm space, the air pressure data detected by the air pressure sensor may change regularly. For example, in the turning process of the user, hot air in the warm-keeping space is strongly exchanged with cold air outside, and the air pressure changes due to the air flow, so that the air pressure data detected by the air pressure sensor shows repeated changes in height. Specifically referring to fig. 8, fig. 8 is a graph showing a change in air pressure with time when a user performs a physical movement in the bedding 13.
Such a regular change as shown in fig. 8 can be represented by a change trend of the air pressure data (i.e., an air pressure state) in a certain period of time. Therefore, the above two cases can be expressed by a change in the air pressure state. In the present embodiment, the above-described case is specifically defined as two states, i.e., a steady state and a jitter state. Thus, whether the user has a physical movement or not can be determined according to the change of the air pressure state reflected by the air pressure data, and as shown in fig. 5, the step 42 specifically includes:
step 421, determining the change of the air pressure state according to the air pressure data sequence.
In the embodiment of the present application, the change of the air pressure state includes a steady state and a jitter state. The steady state is a state in which the gas pressure has a slow descending tendency, and the shaking state is a state in which the gas pressure repeatedly changes in level, and corresponds to the above two cases. In the air pressure data sequence, the two states are determined, namely, the change of the air pressure state can be determined. As shown in fig. 8, fig. 8 indicates the trend of the change of the air pressure data when the state of the air pressure is changed from the steady state to the shaking state and then returned to the steady state when a body motion occurs.
And 422, when the change of the air pressure state accords with the change of the air pressure state from the stable state to the shaking state, and then the shaking state is recovered to the stable state, determining that the body motion occurs in the warm-keeping space.
In this embodiment, a complete body motion is defined, and the air pressure waveform is as shown in fig. 8, and needs to be recovered from the stable state to the jitter state and then to the stable state. This is because: if the above-mentioned fig. 8 is described as a longer period, reference can be made to fig. 9, and fig. 9 is a rule of the user's body movement change in the longer period. As can be seen from fig. 9, it is necessary to limit a complete body movement of the user to have a stable state before and after the user falls asleep and the user gets up, so that scenes in which the air pressure data shakes during the user falls asleep and the user gets up can be excluded, and the two scenes can be conveniently omitted as the number of body movements. In addition, the sleep body movement monitoring method provided by the embodiment emphasizes the sleep body movement, so the body movement when falling asleep and waking does not fall within the calculation range.
It should be noted that, in fig. 9, the stable state after the fourth movement is longer than the stable state of the first three movements, because the time lengths of the stable state and the shake state are uncertain, which is determined by the sleeping posture and movement of the user, and can be adapted by the determination method provided in the present embodiment.
The embodiment of the application identifies the air pressure data into at least two states: the steady state and the trembling state do not need to carry out detail analysis on the waveform formed by the air pressure data according to the acquisition time, and whether the body movement occurs can be determined only through the change of the air pressure state. Furthermore, in the embodiment of the present application, the stable state to the jittering state and then to the stable state is defined as the adjustment of the sleep posture of the user, and in this process, no matter how many times the user turns and how many times the user turns, the user only considers the adjustment of the sleep posture as one-time, and only considers that one-time physical movement occurs.
In some embodiments, a series of logic determination steps may be performed to determine whether the change in the air pressure state satisfies a change from the steady state to the steady state, and then the change from the steady state to the steady state is restored. In order to describe the logic determination method described below in detail, in this embodiment, the detection periods that the air pressure state changes from the stable state to the jitter state first and then returns from the jitter state to the stable state are accumulated to count as a body motion counting period. The body motion counting period is used for representing the time length of one body motion of the user.
Specifically, the logic determining step may include:
first, the variation width of the air pressure data in the detection period is determined.
The "air pressure data in the detection period" referred to in the present application means a plurality of air pressure data collected in a certain time period, for example, when every 5 seconds is a detection period, the "air pressure data in the detection period" means a plurality of air pressure data collected in 5 seconds; that is, "determining the variation width of the air pressure data in the detection period" means determining the variation width of the air pressure data acquired within 5 seconds. The application accumulates the absolute value of the difference between two adjacent air pressure data in each detection period to obtain the change amplitude in each detection period.
The reason why the variation range is introduced here is that the variation range of the air pressure in the detection period is greater than or equal to the threshold value as a criterion for determining whether the jitter occurs in the current detection period, and therefore, the current detection period is defined as the jitter state starting point determination period in this embodiment.
Specifically, the variation range of the air pressure may be obtained by accumulating absolute values of differences between two adjacent air pressure data in the detection period, and resetting and counting again the variation range at the end of each detection period.
The reason why the user 11 moves in the bedding 13 is that the change amplitude can be used to determine whether there is a starting point of the shaking motion in a certain period (i.e., the shaking state starting point determination period). After the body movement, the air inside and outside the bedding 13 is strongly exchanged, and the air flow itself causes the air pressure to change, so that the sensor detects the strong air pressure change when the body movement occurs, as shown in fig. 10.
Specifically, referring to table 1, table 1 is an example of a specific calculation method of the variation range of the air pressure under the variation of the air pressure data according to the embodiment of the present application:
TABLE 1
Figure BDA0001747296610000101
And secondly, judging whether the accumulated change index is larger than an index threshold value from the end point of the shaking state of the last body motion counting period to the start point of the shaking state before the judging period. The change index is introduced here because it is satisfied that the integrated change index is greater than the index threshold, and it is determined that the whole of the current air pressure is in a downward trend and a steady state occurs.
Wherein the change index is calculated by the following equation:
Figure BDA0001747296610000102
wherein f (x) is a change index, x1For acquiring time-preceding barometric pressure data, x2T is a preset constant for collecting the air pressure data after the time.
The reason for this calculation is: the standard atmospheric pressure is 1013hpa, and the higher the altitude, the lower the atmospheric pressure, assuming that the altitude atmospheric pressure at which the user is located is 1000hpa and the resolution of the atmospheric pressure sensor is 0.01hpa, the actually obtained detection value is 1000.00 hpa. That is, the air pressure sensor is very sensitive to changes in air pressure and can detect subtle changes in air pressure. Further, the air pressure sensor has an accuracy index in addition to the resolution, for example, the air pressure is not changed at all, the air pressure sensor repeatedly measures the air pressure, and the obtained measurement value is also changed repeatedly, but from a longer time, as shown in fig. 11, the average value of the measurement value of the air pressure sensor is close to the measured air pressure value.
Therefore, in order to not only acquire the overall downward trend of the air pressure, but also avoid data jitter caused by the accuracy of the air pressure sensor, the change index is introduced, wherein the data is continuously changed and is not possible to be paused to count or cleared until the jitter occurs. When the jitter state occurs, the change index firstly stops counting, the value of the accumulated change index is calculated, and when the accumulated change index is larger than the index threshold, the judgment of the following steps is continued (whether the number of times of the occurrence of the jitter state starting point judgment period is larger than or equal to the first time threshold, namely, the jitter state end point of the body motion counting period is searched).
And if the starting point judgment period in the jitter state has the occurrence frequency which is greater than or equal to the first time threshold value, the occurrence of body motion is considered. In this case, the change index is cleared after the pause (for example, in tables 3 and 4, after the change index is paused at 197, the clear process is performed)
And if the number of times of the shaking dynamic starting point judgment period is not met and is greater than or equal to the first time threshold value, the body movement is considered not to occur. In this case, the index of change is resumed after the pause.
Note that, since the resolution of the data measured by the air pressure sensor is 0.01hpa, the data in the following table can be understood as the resolution of 1.00pha if only 1hpa is retained. In addition, in this embodiment, when the accumulated change index is 0, the change index is not decreased to a negative number at this time, that is, the change index is more sensitive to the decrease of the air pressure, and mainly takes the increasing direction as the main direction. Specifically, please refer to table 2, where table 2 is an example of a specific calculation method of the change index under the change of the air pressure data according to the embodiment of the present application:
TABLE 2
Figure BDA0001747296610000111
The difference between two adjacent air pressure data calculated from the above table 2 is:
the starting air pressure data is 1000.1, the change index is 0, the second air pressure data is 1000.2, the difference is calculated to be 1000.1-1000.2 ═ 0.1, the change index is negative, the change index is reduced by 1, since the current change index is already 0, the current change index is the minimum value, the reduction of 1 is determined to be invalid, and the change index is kept to be 0. The third number is 1000.1, and the calculation 1000.2-1000.1 is 0.1, which is a positive number, and the change index is increased by 1, so the change index becomes 1, and the subsequent data are accumulated as described above.
Although the overall trend of the data is decreased, the data may shake upward (for example, the sixth air pressure data) due to the accuracy problem of the sensor, so that the change index decreases, but the change index may increase after a while.
Therefore, by means of the set exponential threshold, the overall descending trend of the data can be represented to be obviously stronger than the shaking of the sensor data, namely, the occurrence of a stable state is proved.
It should be noted that if the sensor is exposed to the outside of the bedding, and there is a lack of a relatively stable environment inside the bedding, the data will shake repeatedly due to the influence of the air flow and temperature and the accuracy of the sensor itself, but it is difficult to form a strong downward trend, that is: the change index exposed outside the bedding cannot exceed a set threshold value, and the change index can not be triggered to be reset, so that the anti-interference effect is realized.
In summary, in table 1, the change amplitude of the air pressure is set to 5hPa, and the exponent threshold is set to 100, that is: when the jitter detection value exceeds the amplitude threshold value 5hPa, it is considered that jitter has occurred, and when jitter has occurred, the counting of the change index is suspended, and the value of the change index is checked, as shown in table 3, the change index at the time of suspension is 197, which is greater than the index threshold value 100, indicating that a stable state has occurred before the jitter dynamic state, and the start point of the body motion time is recorded. Namely: the starting point judgment period of the shaking state is the starting point of the shaking state, and the air pressure state is changed from a stable state to a shaking state.
The starting point of the shaking dynamic can be determined by the change amplitude of the air pressure and the accumulated change index, namely: the air pressure state changes from a stable state to a shaking state.
And finally, after the starting point of the jitter state is determined, when the number of times of the starting point judgment period of the jitter state is greater than or equal to the first time threshold value, the ending point of the jitter state of the body dynamic counting period is determined, and the air pressure state is recovered to a stable state from the jitter state.
The reason why the end point of the jitter state is determined by the way that the number of times of judging the period from the starting point of the jitter state is greater than or equal to the first threshold is as follows: when the starting point of the shaking state is reached, the air pressure in the warm-keeping space rises from a rapid rising process, the air pressure repeatedly changes in the middle process of the shaking state, and the change amplitude is not larger than or equal to the amplitude threshold value in the middle process. At the end of the tremor movement, a body movement occurred. At this time, it is also necessary to perform the determination of the next change in the air pressure state by performing the zero clearing process on the change index that has been suspended before and performing the recounting process. In the present embodiment, the amplitude threshold value can be determined by a person skilled in the art through experiments or set according to actual conditions.
Specifically, referring to tables 3 and 4, tables 3 and 4 are examples of the air pressure data when the first time threshold is 3 and the change amplitude satisfied by the air pressure data is smaller than the frequency of the occurrence of the amplitude threshold is 3 times, which are provided in the embodiment of the present application:
TABLE 3
Figure BDA0001747296610000131
TABLE 4
Figure BDA0001747296610000132
Wherein, the jitter detection value more than 3 times is lower than the amplitude threshold value 5hPa, the jitter state terminal point of the dynamic counting period of the body is determined, and the air pressure state is recovered to the stable state from the jitter state.
The change of the state of the gas strong is determined by the change amplitude and the change index of the gas pressure data, and whether the user finally generates body movement or not is determined according to the determined change of the state of the user. The judgment method does not need to consider the absolute value of the air pressure data, and reduces the influence of environmental factors on the measurement result and the requirement on the accuracy of the sensor. The judgment method utilizes the air pressure sensor to detect the body motion signal which is much more complex than the switch signal, thereby realizing greater application value.
It should be noted that, in this embodiment, although it is determined that the change form of the air pressure state changes from the stable state to the shaking state first and then returns from the shaking state to the stable state, the change form of the air pressure state satisfies the preset physical movement condition, and it is determined that the user has a physical movement, in the process of actually determining the physical movement of the user, the stable state is not determined first and then the shaking state is determined, but the first switching point switching from the stable state to the shaking state is directly searched first, after the first switching point is found, the second switching point switching from the shaking state to the stable state is searched for in a switching manner, and when the second switching point is found, it is described that the change form of the air pressure state satisfies the condition that the change form of the air pressure state changes from the stable state to the shaking state first and then returns from the shaking state to the stable state, as shown in fig. 6, the method specifically includes:
step 601, acquiring an air pressure data sequence;
the air pressure sensor may specifically collect air pressure data in the warm space at any suitable sampling frequency, for example, continuously collect air pressure data in the warm space in the form of one air pressure data per second, and the processor obtains the air pressure data to obtain an air pressure data sequence.
The air pressure data sequence is a data sequence formed by sequentially collecting a plurality of air pressure data at different moments, and the air pressure data sequence can reflect the air pressure change condition of the warm-keeping space in a specific time period.
Step 602, calculating the variation amplitude of the air pressure and the accumulated variation index.
The above calculation method of the accumulated change index of the change amplitude is also applicable in this embodiment, and is not described again.
Step 603, judging whether the variation amplitude is larger than or equal to an amplitude threshold value, if so, executing step 604, otherwise, clearing the variation amplitude, and executing step 602;
step 604, determining whether the change index is greater than an index threshold, if yes, performing step 605 (it may be determined that the change index is a starting point of a jitter state), and if not, performing step 602;
here, it should be explained that: since the steady state is a state in which the air pressure has a slow descending trend, the difference between every two adjacent air pressure data is positive in the time period of the steady state, and the change index increases in the time period of the steady state.
In step 604, if the change index is greater than the index threshold, it is determined that the air pressure has a downward trend within a period of time before the start of the jitter behavior, i.e., it is determined that a steady state occurs before the jitter behavior.
The benefit of determining whether a steady state has occurred before the jitter dynamics in this way is: the influence of external factors or the fault of the air pressure sensor is avoided, so that the air pressure data measured by the air pressure sensor drifts, the change amplitude measured by the sensor is larger than the amplitude threshold value, and the misjudgment step 603 is the starting point of the jitter.
Step 605, comparing the variation amplitude of the air pressure with a preset amplitude threshold value;
step 606, recording the occurrence times that the variation amplitude of the air pressure is smaller than the amplitude threshold value;
step 607, judging whether the frequency of the change amplitude of the air pressure smaller than the amplitude threshold value is larger than or equal to the first frequency threshold value; if yes, go to step 608, otherwise go to step 602;
step 608, record the occurrence of body movement, clear the change index (which may be determined as the end point of the jitter behavior), and repeatedly execute steps 602 to 608.
During normal sleep, as shown in fig. 9, the stable states are overlapped, the stable state after the first body movement is the stable state just before the 2 nd body movement, because the jitter state is the representation of the number of body movements, that is, the body movement is calculated as follows: several times of sleep movement should be calculated for several trembling states. Therefore, in some embodiments, some logic determination steps can be omitted, so that the determination process is simplified, and the operation consumption is reduced. Fig. 7 is a schematic flowchart of a sleep movement monitoring method according to another embodiment of the present application, and the explanation and description of the steps in the above method embodiment are also applicable to this embodiment. As shown in fig. 7, the method includes:
701, collecting air pressure data in a warm-keeping space; arranging the air pressure data according to the sequence of the acquisition time to form an air pressure data sequence;
step 702, accumulating the absolute value of the difference between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period;
step 703, judging whether the variation amplitude is greater than or equal to an amplitude threshold value, if so, determining that a preset body movement judgment condition is met, and executing step 704; if not, determining that the preset body movement judgment condition is not met, and executing step 705;
step 704, determining the body movement;
step 705, it is determined that no body movement has occurred.
According to the embodiment of the application, whether the user moves in the sleeping process is determined by judging whether the air pressure data sequence in the warm-keeping space meets the requirements of a stable state to a shaking state and then restoring the shaking state to the stable state. On one hand, the air pressure sensor is used for detecting the body motion signal which is more complex than the switch signal, and the greater application value is realized. On the other hand, the change of the air pressure in the warming space in the sleeping process is more intuitive and convenient to determine the body movement of the user than the change of the acceleration driven by the head movement of the user in the sleeping process.
An embodiment of the present application further provides a sleep movement monitoring apparatus 800, as shown in fig. 12, the sleep movement monitoring apparatus 800 includes: an arrangement module 801, a first determination module 802, and a second determination module 803.
The arrangement module 801 is configured to arrange the acquired air pressure data according to the sequence of the acquisition time to form an air pressure data sequence; a first determining module 802, configured to determine whether the air pressure data sequence satisfies a preset physical movement condition; and a second determining module 803, configured to determine that body motion occurs in the thermal space if the air pressure data sequence meets a preset body motion condition.
In some embodiments, the air pressure data sequence is divided into a plurality of detection periods, and each detection period comprises a plurality of air pressure data; the first determining module includes: the device comprises an accumulation unit, a judgment unit and a first determination unit.
The accumulation unit is used for accumulating the absolute value of the difference value between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period; the judging unit is used for judging whether the change amplitude is larger than or equal to an amplitude threshold value or not; the first determining unit is used for determining that the preset body movement condition is met if the variation amplitude is larger than or equal to the amplitude threshold value; and the second determining unit is used for determining that the preset body motion condition is not met if the variation amplitude is smaller than the amplitude threshold value.
The sleep body movement monitoring device provided by the embodiment of the application determines whether the user moves in the sleep process by judging whether the air pressure data sequence in the warm-keeping space meets the requirement from a stable state to a shaking state and then recovering from the shaking state to the stable state. On one hand, the air pressure sensor is used for detecting the body motion signal which is more complex than the switch signal, and the greater application value is realized. On the other hand, the change of the air pressure in the warming space in the sleeping process is more intuitive and convenient to determine the body movement of the user than the change of the acceleration driven by the head movement of the user in the sleeping process.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, where technical features in the above embodiments or in different embodiments can also be combined, the steps can be implemented in any order and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A sleep movement monitoring method is characterized by comprising the following steps:
collecting air pressure data in the warm-keeping space, and arranging the air pressure data according to the sequence of the collection time to form an air pressure data sequence;
the air pressure data sequence is divided into a plurality of detection periods, and each detection period comprises a plurality of air pressure data;
determining whether the air pressure data sequence meets a preset physical movement condition;
if the preset body movement condition is met, determining that body movement occurs in the warm-keeping space;
the preset body motion condition comprises that the air pressure state is changed from a stable state to a shaking state, and then the shaking state is recovered to the stable state;
the determining whether the air pressure data sequence meets a preset physical movement condition includes:
determining a change in the air pressure state based on the air pressure data sequence;
judging whether the change of the air pressure state meets the condition that the air pressure state changes from a stable state to a shaking state and then returns from the shaking state to the stable state;
determining whether the air pressure state is a shaking state, specifically comprising:
accumulating the absolute value of the difference between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period;
and judging whether the variation amplitude is larger than or equal to an amplitude threshold value, if so, determining that the air pressure state is a shaking state.
2. The method of claim 1, wherein the detection periods for changing the air pressure state from the stable state to the shaking state and then returning the shaking state to the stable state are accumulated to count a body motion counting period;
the step of changing the air pressure state from the stable state to the jittering state and then restoring the jittering state to the stable state specifically comprises the following steps:
when the variation amplitude is larger than or equal to an amplitude threshold value, determining the detection period as a jitter state starting point judgment period;
accumulating change indexes calculated by two adjacent air pressure data from the end point of the shaking state of the last body motion counting period to the beginning point of the shaking state before the period is judged, and judging whether the accumulated change indexes are larger than an index threshold value or not;
the change index is calculated by the following equation:
Figure FDA0002826074460000021
wherein f (x) is a change index, x1For acquiring time-preceding barometric pressure data, x2T is a preset constant for collecting the air pressure data after the time;
if so, determining that the starting point judgment period of the jitter state is the starting point of the jitter state, and changing the air pressure state from a stable state to a jitter state;
after the starting point of the jitter state is determined, when the frequency of the starting point judgment period of the jitter state is greater than or equal to a frequency threshold value, the ending point of the jitter state of the current body motion counting period is determined, and the air pressure state is recovered to a stable state from the jitter state.
3. A sleep movement monitoring device, comprising:
the arrangement module is used for arranging the air pressure data acquired from the warm-keeping space according to the sequence of the acquisition time to form an air pressure data sequence;
the first determination module is used for determining whether the air pressure data sequence meets a preset physical movement condition;
the second determination module is used for determining that body motion occurs in the warm-keeping space if the air pressure data sequence meets the preset body motion condition;
dividing the air pressure data sequence into a plurality of detection periods, wherein each detection period comprises a plurality of air pressure data; the preset body motion conditions include that the air pressure state is changed from a stable state to a shaking state and then is restored from the shaking state to the stable state, and the first determining module is specifically used for:
determining a change in the air pressure state based on the air pressure data sequence;
judging whether the change of the air pressure state meets the condition that the air pressure state changes from a stable state to a shaking state and then returns from the shaking state to the stable state;
the first determining module includes:
the accumulation unit is used for accumulating the absolute value of the difference value between two adjacent air pressure data in each detection period to obtain the variation amplitude in each detection period;
the judging unit is used for judging whether the change amplitude is larger than or equal to an amplitude threshold value or not;
the first determining unit is used for determining that the air pressure state is a shaking state if the variation amplitude is larger than or equal to an amplitude threshold value;
and the second determining unit is used for determining that the air pressure state is a stable state if the variation amplitude is smaller than an amplitude threshold value.
4. A sleep movement monitor, comprising:
at least one processor, and
a memory communicatively coupled to the at least one processor and an air pressure sensor for collecting air pressure data;
wherein the memory stores computer-executable instructions that are executed by the at least one processor to cause the at least one processor to implement the method of sleep body movement monitoring as claimed in any one of claims 1 to 2, using the barometric pressure sensor.
5. The sleep movement monitor of claim 4, further comprising:
the device comprises a shell, a first fixing piece and a second fixing piece, wherein a cavity is arranged in the shell;
the air pressure sensor, the processor and the memory are disposed within the cavity.
6. The sleep movement monitor according to claim 5, wherein the housing has a plurality of vents in its surface, and the air pressure sensor is disposed at a position corresponding to the vents.
7. The sleep movement monitor of claim 6, wherein the housing comprises an upper housing and a lower housing, the upper housing and the lower housing being connected by a snap fit.
8. The sleep movement monitor according to claim 7,
the surface of the upper shell comprises a display part and an arc-shaped connecting part, the arc-shaped connecting part is arranged around the display part, and the arc-shaped connecting part is connected with the lower shell through a buckle; the display part is provided with a display screen, and the display screen is connected with the processor.
CN201780008983.5A 2017-10-20 2017-10-20 Sleep body movement monitoring method and device and sleep body movement monitor Active CN108697378B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/107147 WO2019075757A1 (en) 2017-10-20 2017-10-20 Sleep body motion monitoring method, apparatus and sleep body motion monitor

Publications (2)

Publication Number Publication Date
CN108697378A CN108697378A (en) 2018-10-23
CN108697378B true CN108697378B (en) 2021-02-23

Family

ID=63843831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780008983.5A Active CN108697378B (en) 2017-10-20 2017-10-20 Sleep body movement monitoring method and device and sleep body movement monitor

Country Status (2)

Country Link
CN (1) CN108697378B (en)
WO (1) WO2019075757A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111870250B (en) * 2020-07-14 2023-05-09 深圳数联天下智能科技有限公司 User state monitoring method, device, computing equipment and computer storage medium
CN112353367B (en) * 2020-10-20 2023-03-10 深圳中科大唐科技有限公司 Sleep parameter detection method, device and system and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102415879A (en) * 2011-09-09 2012-04-18 北京大学深圳研究生院 Sleep monitoring device based on piezoelectric film sensor
CN104107037A (en) * 2014-07-15 2014-10-22 北京博实联创科技有限公司 Physiological information acquiring and processing system
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011082346A2 (en) * 2009-12-31 2011-07-07 Doelling Eric N Devices, systems, and methods for monitoring, analyzing, and/or adjusting sleep conditions
US20140277822A1 (en) * 2013-03-14 2014-09-18 Rob Nunn Inflatable air mattress sleep environment adjustment and suggestions
CN103263260B (en) * 2013-05-02 2016-09-07 宋军 Use physio-parameter detection system and the Depth of sleep monitoring system of comb filter
JP6413574B2 (en) * 2014-10-01 2018-10-31 セイコーエプソン株式会社 Activity state information detection apparatus and control method for activity state information detection apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102415879A (en) * 2011-09-09 2012-04-18 北京大学深圳研究生院 Sleep monitoring device based on piezoelectric film sensor
CN104107037A (en) * 2014-07-15 2014-10-22 北京博实联创科技有限公司 Physiological information acquiring and processing system
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band

Also Published As

Publication number Publication date
WO2019075757A1 (en) 2019-04-25
CN108697378A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
JP5263774B2 (en) Computer system
US20090121826A1 (en) Apparatus and method of managing quality of sleep
JP5862400B2 (en) Sleep state management device, sleep state management method, and sleep state management program
CN108697378B (en) Sleep body movement monitoring method and device and sleep body movement monitor
JP5862401B2 (en) Sleep state management device, sleep state management method, and sleep state management program
WO2022021707A1 (en) Sleep monitoring method and apparatus, and smart wearable device and readable storage medium
JP6952299B2 (en) Sleep depth judgment system, sleep depth judgment device and sleep depth judgment method
JP6708980B2 (en) Image processing system, image processing device, image processing method, and image processing program
JP2014233585A (en) Body temperature measuring apparatus, method, and program
CN106974658B (en) Control method for information terminal device and body motion measuring device
CN106308756A (en) Health information monitoring method and equipment
JP6518056B2 (en) Sleep state determination device, sleep state determination method and program
JP2014133049A (en) Biological information management module, sleep meter, and control device
CN111887830B (en) Sleep monitoring method, device, equipment and readable storage medium
JPH0595914A (en) Organic information processor and monitoring apparatus thereof
JP6702559B2 (en) Electronic device, method and program
JP2003061935A (en) Personal information terminal and behavior discriminating system
CN105708420A (en) Sleep condition monitoring device and monitoring method thereof
KR101108141B1 (en) Gait measurement method and apparatus using electronic accelerometer sensor
CN116839764A (en) Method and device for detecting use state of piezoelectric cloth mattress and intelligent terminal
CN208551811U (en) A kind of sleep monitor
CN114098716B (en) Method and device for acquiring motion gesture
JP7235137B2 (en) MONITORING SYSTEM, MONITORING METHOD AND MONITORING PROGRAM
KR102392666B1 (en) Method and system for determining sleep status
JP2007061503A (en) Method for estimating sleep, system and program therefor

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