CN108836343A - Method, storage medium and device for monitoring motion state in sleep process - Google Patents

Method, storage medium and device for monitoring motion state in sleep process Download PDF

Info

Publication number
CN108836343A
CN108836343A CN201810366262.8A CN201810366262A CN108836343A CN 108836343 A CN108836343 A CN 108836343A CN 201810366262 A CN201810366262 A CN 201810366262A CN 108836343 A CN108836343 A CN 108836343A
Authority
CN
China
Prior art keywords
variable quantity
exercise data
exercise
motion state
data
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.)
Pending
Application number
CN201810366262.8A
Other languages
Chinese (zh)
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.)
Joint Int'l Ltd
Original Assignee
Joint Int'l 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 Joint Int'l Ltd filed Critical Joint Int'l Ltd
Priority to CN201810366262.8A priority Critical patent/CN108836343A/en
Priority to PCT/CN2018/096697 priority patent/WO2019205314A1/en
Publication of CN108836343A publication Critical patent/CN108836343A/en
Pending legal-status Critical Current

Links

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/1116Determining posture transitions
    • 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

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • Dentistry (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Physiology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The application discloses a method, a storage medium and a device for monitoring a motion state in a sleep process, wherein the method comprises the following steps: collecting motion data of a human body, and acquiring all motion data in the current time period at intervals of a preset time period; calculating the motion data variation of the current time period according to all the obtained motion data, and comparing the motion data variation with a preset variation threshold; and if the movement data variation is larger than the preset variation threshold, recording the sleep state of the current time period as the movement state. According to the method and the device, the movement data variation in the preset time period is compared with the preset variation threshold, so that whether body movement exists in the sleeping process can be accurately identified. Meanwhile, the motion data variation is used as a judgment basis, so that no requirement is made on the direction of the corresponding pressure sensor, and the influence of the direction of the pressure sensor on a monitoring result can be avoided.

Description

The monitoring method of motion state, storage medium and device in sleep procedure
Technical field
This application involves sleep monitor technical field, in particular to the monitoring method of motion state in a kind of sleep procedure, Storage medium and device.
Background technique
With the quickening pace of modern life with the variation of living environment, more and more people bear sleep disturbance the problem of.According to The World Health Organization show that 27% people has sleeping problems, and China is slept to 25916 investigation among patients of 29 countries Dormancy impaired patients account for about 30% of total crowd or more.The health that people is not only seriously affected with sleep disturbance, can also make Decline at working efficiency and work quality.There is direct relations for sleep quality and health.The quality of sleep quality is directly The Other diseases such as cardiovascular and cerebrovascular disease are influenced, the disease incidence of cardiovascular and cerebrovascular disease 40% is at night.In neonatal development During first few months, healthy sleep is vital.Therefore it has already been proposed that parent or other care-givers is allowed to monitor The device of baby, child and neonatal sleep.
Body kinematics when sleep are the important technology indexs that sleep monitor is carried out using pressure sensing technology.Special It is proposed in a kind of sharp 201710055341.2 " turn monitoring devices and method based on Sleeping band " a kind of based on body movement Maximum value judges whether the method turned over, and according to the peak value of collection voltages signal, whether more than one pre-determined threshold to identify is No turn.But the program is acted and can not be identified and judgeed for not reaching the body kinematics of extreme value, thus can not be accurate Identify the motion conditions of human body in sleep procedure.
Summary of the invention
In view of the deficiencies in the prior art, the application is intended to provide the monitoring method of motion state in a kind of sleep procedure, deposits Storage media and device, to improve the accuracy that motion state monitors in sleep procedure.
Technical solution used by the application is as follows:
The monitoring method of motion state in a kind of sleep procedure comprising:
The exercise data of human body is acquired, and obtains all exercise datas in current slot at interval of preset time period;
Calculate the exercise data variable quantity of the current slot according to all exercise datas got, and by the movement number It is compared according to variable quantity with default variable quantity threshold value;
If the exercise data variable quantity is greater than the default variable quantity threshold value, the sleep state of the current slot is remembered Record is motion state.
The monitoring method of motion state in the sleep procedure, wherein the exercise data of the acquisition human body, and at interval of Preset time period obtains all exercise datas in the current slot and specifically includes:
Incude the exercise data of human body in real time by the pressure sensor worn in advance, and save the exercise data sensed, In, the exercise data carries the sensitive time;
The corresponding all exercise datas of the current slot are read at interval of preset time period.
The monitoring method of motion state in the sleep procedure, wherein described real by the pressure sensor worn in advance When incude the exercise data of human body, and save the human body movement data that senses and specifically include:
Body motion information is incuded in real time by the pressure sensor worn in advance and generates electric signal, and records the electric signal Sensitive time;
The exercise data of human body is exported according to the electric signal, and is deposited the exercise data is associated with the sensitive time Storage.
The monitoring method of motion state in the sleep procedure, wherein all exercise data meters that the basis is got The exercise data variable quantity of the current slot is calculated, and the exercise data variable quantity and default variable quantity threshold value are compared It is more specific to include:
The exercise data maximum value and exercise data minimum value of all exercise datas got described in reading, and according to described Exercise data maximum value and exercise data minimum value calculate the exercise data variable quantity of the current slot;
The exercise data variable quantity is compared with preset default variable quantity threshold value.
The monitoring method of motion state in the sleep procedure, wherein if the exercise data variable quantity is greater than institute Default variable quantity threshold value is stated, then the sleep state of the current slot is recorded as motion state and specifically included:
If the exercise data variable quantity is greater than the default variable quantity threshold value, the current slot corresponding time is read Section;
The corresponding motion state of the time interval is recorded as to there are athletic performances, and by the movement in the preset time section Intensity is recorded as the exercise data variable quantity.
The monitoring method of motion state in the sleep procedure, wherein if the exercise data variable quantity is greater than institute Default variable quantity threshold value is stated, then the sleep state of the current slot is recorded as motion state later includes:
The sleep state in subsequent time period is successively obtained, and obtains the first time that sleep state is in ortho state Section;
The run duration being kept in motion is calculated according to the current slot and first time period.
The monitoring method of motion state in the sleep procedure, wherein it is described according to the current slot and first when Between section calculate the run duration that is kept in motion and specifically include:
At the beginning of determining motion state according to all exercise datas that current slot includes, and it is default according to described first All exercise datas that time end includes determine the finish time of motion state;
The lasting run duration of the motion state is calculated according to the start time and the finish time.
The monitoring method of motion state in the sleep procedure, wherein all fortune for including according to current slot At the beginning of dynamic data determine motion state, and movement shape is determined according to all exercise datas that the first time period includes The finish time of state specifically includes:
Respectively by all exercise datas that current slot includes and all data and predetermined movement that first time period includes Data interval is compared, wherein variable quantity threshold value is the variable quantity of predetermined movement data interval;
Current slot first the first exercise data for not belonging to the predetermined movement data interval is obtained sequentially in time, And first time period the last one do not belong to second exercise data of preset data section, to determine the beginning of motion state Moment and finish time.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program, One or more of programs can be executed by one or more processor, to realize in as above any sleep procedure Step in the monitoring method of motion state.
The monitoring device of motion state in a kind of sleep procedure comprising:Pressure sensor, processor, memory and logical Believe bus;The computer-readable program that can be executed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The pressure sensor realizes the acquisition of exercise data, and the exercise data of acquisition is transmitted to processor;
The processor realizes motion state in as above any sleep procedure when executing the computer-readable program Step in monitoring method.
Beneficial effect:Compared with prior art, this application provides the monitoring method of motion state in a kind of sleep procedure, Storage medium and device, the method includes:The exercise data of human body is acquired, and obtains current time at interval of preset time period All exercise datas in section;The exercise data variable quantity of the current slot is calculated according to all exercise datas got, And the exercise data variable quantity is compared with default variable quantity threshold value;If the exercise data variable quantity is greater than described pre- If the sleep state of the current slot is then recorded as motion state by variable quantity threshold value.The application is by by preset time Section in exercise data variable quantity be compared with default variable quantity threshold value, can be recognized accurately in sleep procedure in this way whether there is or not Body kinematics.Simultaneously as using exercise data variable quantity as judgment basis, thus the direction of corresponding pressure sensor It does not require, and then can influence to avoid pressure sensor direction to monitoring result.
Detailed description of the invention
Fig. 1 is the flow chart of the embodiment one of the monitoring method of motion state in sleep procedure provided by the present application.
Fig. 2 be sleep procedure provided by the present application in motion state monitoring method embodiment one in ortho state Exercise data variation diagram.
Fig. 3 is to begin with body fortune in sleep procedure provided by the present application in the embodiment one of the monitoring method of motion state The exercise data variation diagram of dynamic sleep procedure.
Fig. 4 is body in sleep procedure in the embodiment one of the monitoring method of motion state in sleep procedure provided by the present application Body movement terminates exercise data variation diagram.
Fig. 5 be sleep procedure provided by the present application in motion state monitoring method embodiment three in go to bed, leave the bed and In exercise data variation diagram of the bed from bed state.
Fig. 6 is the structural principle of one embodiment of the monitoring device of motion state in sleep procedure provided by the present application Figure.
Specific embodiment
The application provides monitoring method, storage medium and the device of motion state in a kind of sleep procedure, to make the application Purpose, technical solution and effect it is clearer, clear, as follows in conjunction with drawings and embodiments further specifically to the application It is bright.It should be appreciated that specific embodiment described herein is not used to limit the application only to explain the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in the application fields.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
With reference to the accompanying drawing, by the description of the embodiment, being described further to application content.
Embodiment one
The monitoring method of motion state in sleep procedure provided in this embodiment, as shown in Figs 1-4, the method includes:
S10, the exercise data for acquiring human body, and all exercise datas in current slot are obtained at interval of preset time period.
Specifically, the preset time is to preset, for controlling the frequency for reading collected exercise data, In, the current slot refers to the preset time period before current reading time, i.e., when newest preset time period is current Between section.All exercise datas of the current slot can be related according to the sample frequency of exercise data, according to preset time The duration and sample frequency of section can determine the data volume for all exercise datas that current slot includes.For example, when default Between section Ts be 1 second, the resolution, N s of the exercise data of acquisition is 16bit, and sample frequency Fs is 250Hz, collected movement number It is 0-2^Ns according to Ds magnitude range(0-65535bit).
In the present embodiment simultaneously, the exercise data is the exercise data that human body generates in sleep procedure, the fortune Dynamic data can be incuded and be acquired by the pressure sensor that human body is worn.Correspondingly, the movement number of the acquisition human body According to, and obtain all exercise datas in the current slot at interval of preset time period and specifically include:
S11, the exercise data for incuding human body in real time by the pressure sensor worn in advance, and save the movement number sensed According to, wherein the exercise data carries the sensitive time;
S12, the corresponding all exercise datas of the current slot are read at interval of preset time period.
Specifically, the pressure sensor is that human body is worn in advance, wherein human body can be by with wearable device(Such as, it sleeps Dormancy band etc.)Form wears the pressure sensor, can also be in the form of sleep monitor bed and sleep monitoring pillow etc. described in wearing Pressure sensor.That is, the pressure sensor only needs that human motion can be incuded, wear here for human body Wear the form of sensor without limitation.In addition, the pressure sensor is after sensing human motion, after believed according to human motion Breath generates electric signal, determines human body movement data by the electric signal.Correspondingly, the pressure by wearing in advance passes Sensor incudes the exercise data of human body in real time, and saves the human body movement data sensed and specifically include:
S111, body motion information is incuded by the pressure sensor worn in advance in real time and generates electric signal, and described in record The sensitive time of electric signal;
S112, the exercise data for exporting human body according to the electric signal, and the exercise data is related to the sensitive time Connection storage.
In the present embodiment, after the pressure sensor incudes body motion information and generates electric signal, to the telecommunications Number notch is carried out to inhibit the Hz noise of electric signal, the electric signal after notch is subjected to signal amplification, and filter out baseline drift Shifting and HF noise signal;Filtered electric signal is transformed into digital signal again, finally the digital signal is handled To obtain the corresponding exercise data of the electric signal, the accurate of exercise data can be improved in this way, to improve motion state detection Accuracy.Meanwhile the application, after getting exercise data, without handling exercise data, which simplify operations Treatment process improves the efficiency of motion state detection.Meanwhile reducing requirement to hardware device, expand the method Applicability.
In addition, for the ease of record human motion time, when collecting electric signal can by obtain the sensitive time, And the sensitive time is associated with electric signal, exercise data each in this way is each equipped with the corresponding sensitive time, from And quantitative monitoring can be timed to human motion according to the exercise data and sensitive time, improve motion state What is monitored is comprehensive.In the present embodiment, the sensitive time can receive the hardware device of the electric signal by reading Current time in system obtains, and is also possible to what pressure sensor was determined when sensing human motion signal.It is, of course, also possible to root The sensitive time is determined according to current slot locating for sample frequency and electric signal, is specifically as follows:It obtains first Start the reading time of the initial time of human body movement data acquisition, all exercise datas of preset time and reading current time Number, according to initial time, preset time and reading times can determine current slot locating for time interval, according to adopting Sample frequency can determine the current electrical signal corresponding sensitive time.That is, obtaining current time at interval of preset time When all exercise datas that section includes, reading times can also be recorded, in order to determine current electrical signal pair according to reading times The sensitive time answered.
In the present embodiment simultaneously, sleep detection apparatus can be opened in advance before the exercise data of acquisition human body, it The pressure sensor open detection human body movement data that sleep detection apparatus includes afterwards, for example, passing through sleep detection device setting Control button(Such as, mechanical key, induction feeling etc.)Or the modes such as long-range control open sleep detection apparatus.In addition, institute Stating sleep detection apparatus that is, when pressure sensor detects pressure, can also automatically turn on sleep using mode is automatically begun to Detection device simultaneously acquires human body movement data.Certainly, in practical applications, described every after collecting human body movement data Being spaced preset time period and obtaining can also include a sleep state detection process before all exercise datas in current slot, The sleep state-detection process is for detecting whether human body carries out sleep state.The sleep detection process is specifically as follows: Human body movement data is read in real time, and the exercise data is compared with predetermined movement data interval, when the movement number According to number in predetermined movement data interval and after continuing the preparatory time, determine that the human body carries out sleep state.Determining human body All exercise datas in current slot are obtained at interval of preset time period after into sleep state.In addition, the sleep detection Process can also use other methods, for example, determining whether human body carries out the mode of sleeping etc. according to human body electroencephalogram's signal, here Do not illustrate one by one.
S20, the exercise data variable quantity that the current slot is calculated according to all exercise datas for getting, and by institute Exercise data variable quantity is stated to be compared with default variable quantity threshold value.
Specifically, the default variable quantity threshold value is to preset, and can be the upper limit value of predetermined movement data interval With the difference of lower limit value.For example, it is assumed that preset data section is [DND-DNU], wherein the preset data section can be logical Cross the empirical value that a large amount of experiment statistics are analyzed, DND 22768, DNU 42768, then default variable quantity threshold value= 42768-22768.The exercise data variable quantity is the maximum value and exercise data minimum value of exercise data in current slot Difference.Correspondingly, all exercise datas that the basis is got calculate the exercise data variable quantity of the current slot, And the exercise data variable quantity is compared with default variable quantity threshold value and is specifically included:
The exercise data maximum value and exercise data minimum value of all exercise datas got described in S21, reading, and according to The exercise data maximum value and exercise data minimum value calculate the exercise data variable quantity of the current slot;
S22, the exercise data variable quantity is compared with preset default variable quantity threshold value.
Specifically, it after all exercise datas for including for the current slot read, is mentioned in all exercise datas Exercise data maximum value and exercise data minimum value are taken, by the difference for calculating exercise data maximum value and exercise data minimum value Value obtains exercise data variable quantity BMStr.By the exercise data variable quantity and default variable quantity threshold value BMThIt is compared, In, BMTh=DNU-DND。
If S30, the exercise data variable quantity are greater than the default variable quantity threshold value, by sleeping for the current slot Dormancy state recording is motion state.
Specifically, the exercise data variable quantity is greater than the default variable quantity threshold value and illustrates current slot there are bodies Athletic performance, and body operation intensity is denoted as BMStr.In addition, determining its corresponding time according to the current slot Time interval storage corresponding with the motion state and exercise intensity is generated body in this way convenient for quickly determining human body by section The time of body athletic performance and exercise intensity.If correspondingly, the exercise data variable quantity is greater than the default variation Threshold value is measured, then the sleep state of the current slot is recorded as motion state and specifically included:If the exercise data variation Amount is greater than the default variable quantity threshold value, then reads the corresponding time interval of the current slot;By the time interval pair The motion state answered is recorded as that there are athletic performances, and the exercise intensity in the preset time section is recorded as the movement number According to variable quantity.In addition, judging that human body is in if the exercise data variable quantity is less than or equal to the variable quantity threshold value and normally sleeping Dormancy state continues all human body movement datas for reading subsequent time period.
In one embodiment of the application, if the exercise data variable quantity is greater than the default variable quantity threshold Value, then the sleep state of the current slot is recorded as motion state later includes:
S40, when successively obtaining sleep state in subsequent time period, and obtaining sleep state and be in the first of ortho state Between section;
S50, the run duration being kept in motion is calculated according to the current slot and first time period.
Specifically, current slot is denoted as to the initial time of body kinematics, body kinematics intensity is BMStr, continue later The motion state for obtaining each preset time period is in the first time period of ortho state until getting, i.e., at the first time Exercise data variable quantity BM in sectionStr<=BMTh, the first time segment record body kinematics are terminated, in this way according to it is current when Between section and first time period can determine the body kinematics duration.Certainly, it is getting in ortho shape The first time period of state only illustrates that current body kinematics terminate, but also persistently reads the exercise data of each preset time period, To detect body kinematics next time, and so on until human body movement data acquisition terminates.
Illustratively, described that the run duration being kept in motion is calculated according to the current slot and first time period It specifically includes:
S51, at the beginning of determining motion state according to all exercise datas that current slot includes, and according to described first All exercise datas that preset time end includes determine the finish time of motion state;
S52, the lasting run duration of the motion state is calculated according to the start time and the finish time.
Further, it is described determine motion state according to all exercise datas that current slot includes at the beginning of, and Determine that the finish time of motion state specifically includes according to all exercise datas that the first time period includes:
Respectively by all exercise datas that current slot includes and all data and predetermined movement that first time period includes Data interval is compared, wherein variable quantity threshold value is the variable quantity of predetermined movement data interval;
Current slot first the first exercise data for not belonging to the predetermined movement data interval is obtained sequentially in time, And first time period the last one do not belong to second exercise data of preset data section, to determine the beginning of motion state Moment and finish time.
Embodiment two
Present embodiments provide a kind of monitoring method of motion state in sleep procedure comprising:
H10, the exercise data for acquiring human body, and all exercise datas in current slot are obtained at interval of preset time period.
The second variable quantity of H20, the first variable quantity for calculating separately current slot and subsequent time period, and respectively by One variable quantity and the second variable quantity are compared with default variable quantity threshold value.
H30, variable quantity threshold value, the second variable quantity are preset less than default variable quantity threshold value when the first variable quantity is more than or equal to When, determine that the sleep state of the current slot is in from bed state, and leave the bed the time according to subsequent time period record.
In the present embodiment, the process of the step S10 in the step H10 in exercise data acquisition process and embodiment one It is identical, it is not repeating here.The present embodiment from the difference of embodiment one be it is different to the treatment process of the exercise data used, And the set-up mode of the pressure sensor is different, in the present embodiment, the pressure sensor with sleep detect bed or The form setting of sleep detection pillow, when human body leaves bed, pressure sensor will not detect body motion information.Specifically Ground calculates separately the second variable quantity of the first variable quantity of current slot and subsequent time period in the step S20, and The value of the default variable quantity threshold value is different, and in the present embodiment, the default variable quantity threshold value is to set preset data section For the difference of [NSD-NSU], wherein the preset data section can be the experience statisticallyd analyze by many experiments Value.For example, the NSD is 32268, NSU 33268, then the default variable quantity threshold value OFFThIt can be NSU-NSD.Institute The difference that the first variable quantity is exercise data maximum value and exercise data minimum value in current slot is stated, under the second variable quantity is The difference of exercise data maximum value and exercise data minimum value in one period.Correspondingly, described calculate separately current slot The first variable quantity and subsequent time period the second variable quantity, and respectively by the first variable quantity and the second variable quantity and default variation Amount threshold value, which is compared, more specific includes:
H21, the exercise data maximum value and exercise data minimum value for reading current slot and subsequent time period respectively;
H22, it is calculated in the current slot according to the exercise data maximum value and exercise data minimum value of current time First variable quantity;
H23, it is calculated in the current slot according to the exercise data maximum value and exercise data minimum value of previous time First variable quantity;
H24, the first variable quantity and the second variable quantity be compared with preset default variable quantity threshold value respectively.
Specifically, it after all exercise datas for including for the current slot read, is mentioned in all exercise datas Exercise data maximum value and exercise data minimum value are taken, by the difference for calculating exercise data maximum value and exercise data minimum value Value obtains the first variable quantity BMStr1.By first variable quantity and default variable quantity threshold value OFFThIt is compared, wherein OFFTh=NSU-NSD.Equally, according to the exercise data maximum value and exercise data of all exercise datas of subsequent time period acquisition Minimum value checks and accepts to obtain the second variable quantity BMStr2, and by the second variable quantity and default variable quantity threshold value OFFThIt is compared.
Further, in the step H30, when first variable quantity illustrates current less than the default variable quantity threshold value Between section be in bed state, the second variable quantity is greater than the default variable quantity threshold value and illustrates that subsequent time period is in from bed state, To judge that user is in from bed state, and the future time is to leave the bed the period.It is thus possible to according to described lower a period of time Between section determination leave the bed the time, and by the time storage of leaving the bed, in this way leaving the bed the time convenient for quickly determining human body.Separately Outside, when the first variable quantity is less than default variable quantity threshold value, the second variable quantity is more than or equal to default variable quantity threshold value, described in judgement The sleep state of current slot, which is in, determines user's bedtime in bed state, and according to subsequent time period.For example, will be described The initial time of subsequent time period is recorded as bedtime, or when the end time of the subsequent time period is recorded as going to bed Between etc..
In one embodiment of the application, if the exercise data variable quantity is greater than the default variable quantity threshold Value, then the sleep state of the current slot is recorded as motion state later includes:
H40, when successively obtaining sleep state in next preset time period, and obtaining sleep state and be in the first of state of going to bed Between section;
H50, it is calculated according to the current slot and first time period in the run duration from bed state.
Specifically, subsequent time period is denoted as the initial time from bed state, persistently obtains each preset time period later Motion state until get be in ortho state first time period, i.e., in first time period exercise data variation Measure BMStr>=OFFTh, by the end time of the first time segment record from bed state, that is to say, that first time period is human body Bedtime can determine the duration from bed state according to subsequent time period and first time period in this way.Certainly, After getting the first time period in state of going to bed, the exercise data of each preset time period is also persistently read, with detection Next time from bed state, and so on until human body movement data acquisition terminates.
Illustratively, described that the run duration being kept in motion is calculated according to the current slot and first time period It specifically includes:
H51, at the beginning of determining motion state according to all exercise datas that current slot includes, and according to described first All exercise datas that preset time end includes determine the finish time of motion state;
H52, the lasting run duration of the motion state is calculated according to the start time and the finish time.
Further, it is described determine motion state according to all exercise datas that current slot includes at the beginning of, and All exercise datas for including according to the first time period determining finish time from bed state specifically includes:
Respectively by all exercise datas that current slot includes and all data and predetermined movement that first time period includes Data interval is compared, wherein variable quantity threshold value is the variable quantity of predetermined movement data interval;
Current slot first the first exercise data for not belonging to the predetermined movement data interval is obtained sequentially in time, And first time period the last one do not belong to second exercise data of preset data section, with the determining beginning from bed state Moment and finish time.
Furthermore it in order to which the determination process of the run duration from bed state is described in detail, is done further below with reference to Fig. 5 Explanation.As shown in figure 5, variable amount is less than default variable quantity threshold value in from 0 to the T1 period, human body is in from bed state;? The T2 moment, due to BMStr(T2)>=OFFTh, and T1 is from bed state, so the T2 moment is to go to bed the moment;In T2 to the T3 time Between section, BMStrAll it is greater than OFFTh, human body be in bed state, at the T4 moment, due to BMStr(T4)<OFFTh, T4 moment people Body is in from bed state, and T4 time point is judged as the moment of leaving the bed, and is in the bed time so as to obtain T2 moment to the T4 moment.
Embodiment three
Present embodiments provide a kind of sleep state detection method comprising:
M10, the exercise data for acquiring human body, and obtained in current slot below all exercise datas at interval of preset time period All exercise datas of one period;
M20, the first variable quantity of the current slot is calculated according to all exercise datas got, and described first is become Change amount is compared with the first variable quantity threshold value;
M30, when first variable quantity is greater than the first variable quantity threshold value, the sleep state of the current slot is remembered Record is motion state, and obtains the second variable quantity of subsequent time period;
M40, second variable quantity is compared with the second variable quantity threshold value and the first variable quantity threshold value respectively;
If M50, the second variable quantity less than the second variable quantity threshold value, judge that the sleep state of the future time is in from bed shape State, and left the bed the time according to subsequent time period record;
If M60, second variable quantity are greater than the second variable quantity threshold value and are less than the first variable quantity threshold value, judge The human body is in ortho state.
Further, the sleep state detection method further includes:
If M70, first variable quantity are less than the first variable quantity threshold value, by first variable quantity and the second variable quantity Threshold value is compared;
If M80, the first variable quantity are greater than the second variable quantity threshold value, judge that the human body is in ortho state;
If M90, the first variable quantity less than the second variable quantity threshold value, judge that the human body is in from bed state.
In the present embodiment, the first variable quantity threshold value is the variable quantity threshold value in embodiment one, the second variable quantity threshold Value is the variable quantity threshold value in embodiment two, is not just repeated them here here.In addition, and the pressure sensor in human body leave bed When, it will not sense body motion information.
Based on the monitoring method of motion state in above-mentioned sleep procedure, present invention also provides a kind of computer-readable storages Medium, the computer-readable recording medium storage have one or more program, and one or more of programs can be by one A or multiple processors execute, to realize the step in sleep procedure described in above-described embodiment in the monitoring method of motion state Suddenly.
Present invention also provides a kind of monitoring devices of motion state in sleep procedure, as shown in Figure 6 comprising at least one A processor(processor)20;Pressure sensor 21;And memory(memory)22, it can also include communication interface (Communications Interface)23 and bus 24.Wherein, processor 20, pressure sensor 21, memory 22 and logical Letter interface 23 can complete mutual communication by bus 24.Pressure sensor 21 is set as perception human body operation information and produces Raw electric signal.Communication interface 23 can transmit information.Processor 20 can call the logical order in memory 22, on executing State the method in embodiment.
In addition, the logical order in above-mentioned memory 22 can be realized and as only by way of SFU software functional unit Vertical product when selling or using, can store in a computer readable storage medium.
Memory 22 is used as a kind of computer readable storage medium, and it is executable to may be configured as storage software program, computer Program, such as the corresponding program instruction of method or module in the embodiment of the present disclosure.Processor 30 is stored in memory by operation Software program, instruction or module in 22, thereby executing functional application and data processing, i.e. side in realization above-described embodiment Method.
Memory 22 may include storing program area and storage data area, wherein storing program area can storage program area, extremely Application program needed for a few function;Storage data area, which can be stored, uses created data etc. according to terminal device.This Outside, memory 22 may include high-speed random access memory, can also include nonvolatile memory.For example, USB flash disk, movement Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), a variety of media that can store program code such as magnetic or disk, are also possible to transitory memory medium.
In addition, a plurality of instruction processing unit in above-mentioned storage medium and mobile terminal loads and the detailed process executed exists It has been described in detail in the above method, has just no longer stated one by one herein.
Finally it should be noted that:Above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that:It still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. the monitoring method of motion state in a kind of sleep procedure, which is characterized in that it includes:
The exercise data of human body is acquired, and obtains all exercise datas in current slot at interval of preset time period;
Calculate the exercise data variable quantity of the current slot according to all exercise datas got, and by the movement number It is compared according to variable quantity with default variable quantity threshold value;
If the exercise data variable quantity is greater than the default variable quantity threshold value, the sleep state of the current slot is remembered Record is motion state.
2. according to claim 1 in sleep procedure motion state monitoring method, which is characterized in that the acquisition human body Exercise data, and obtain all exercise datas in the current slot at interval of preset time period and specifically include:
Incude the exercise data of human body in real time by the pressure sensor worn in advance, and save the exercise data sensed, In, the exercise data carries the sensitive time;
The corresponding all exercise datas of the current slot are read at interval of preset time period.
3. according to claim 2 in sleep procedure motion state monitoring method, which is characterized in that it is described by wearing in advance The pressure sensor worn incudes the exercise data of human body in real time, and saves the human body movement data sensed and specifically include:
Body motion information is incuded in real time by the pressure sensor worn in advance and generates electric signal, and records the electric signal Sensitive time;
The exercise data of human body is exported according to the electric signal, and is deposited the exercise data is associated with the sensitive time Storage.
4. according to claim 1 in sleep procedure motion state monitoring method, which is characterized in that the basis is got All exercise datas calculate the exercise data variable quantity of the current slot, and by the exercise data variable quantity and default Variable quantity threshold value, which is compared, to be specifically included:
The exercise data maximum value and exercise data minimum value of all exercise datas got described in reading, and according to described Exercise data maximum value and exercise data minimum value calculate the exercise data variable quantity of the current slot;
The exercise data variable quantity is compared with preset default variable quantity threshold value.
5. according to claim 1 in sleep procedure motion state monitoring method, which is characterized in that if the movement Data variation amount is greater than the default variable quantity threshold value, then the sleep state of the current slot is recorded as motion state tool Body includes:
If the exercise data variable quantity is greater than the default variable quantity threshold value, the current slot corresponding time is read Section;
The corresponding motion state of the time interval is recorded as to there are athletic performances, and by the movement in the preset time section Intensity is recorded as the exercise data variable quantity.
6. according to claim 1 in -5 any sleep procedures motion state monitoring method, which is characterized in that if the institute Exercise data variable quantity is stated greater than the default variable quantity threshold value, then is recorded as moving by the sleep state of the current slot Include after state:
The sleep state in subsequent time period is successively obtained, and obtains the first time that sleep state is in ortho state Section;
The run duration being kept in motion is calculated according to the current slot and first time period.
7. according to claim 6 in sleep procedure motion state monitoring method, which is characterized in that it is described to work as according to The preceding period calculates the run duration being kept in motion with first time period and specifically includes:
At the beginning of determining motion state according to all exercise datas that current slot includes, and it is default according to described first All exercise datas that time end includes determine the finish time of motion state;
The lasting run duration of the motion state is calculated according to the start time and the finish time.
8. according to claim 7 in sleep procedure motion state monitoring method, which is characterized in that when the basis is current Between at the beginning of section all exercise datas for including determine motion state, and all fortune for including according to the first time period Dynamic data determine that the finish time of motion state specifically includes:
Respectively by all exercise datas that current slot includes and all data and predetermined movement that first time period includes Data interval is compared, wherein variable quantity threshold value is the variable quantity of predetermined movement data interval;
Current slot first the first exercise data for not belonging to the predetermined movement data interval is obtained sequentially in time, And first time period the last one do not belong to second exercise data of preset data section, to determine the beginning of motion state Moment and finish time.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1~8 Step in sleep procedure described in any one in the monitoring method of motion state.
10. the monitoring device of motion state in a kind of sleep procedure, which is characterized in that including:Pressure sensor, is deposited processor Reservoir and communication bus;The computer-readable program that can be executed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The pressure sensor realizes the acquisition of exercise data, and the exercise data of acquisition is transmitted to processor;
The processor realizes the sleep procedure as described in claim 1-8 any one when executing the computer-readable program Step in the monitoring method of middle motion state.
CN201810366262.8A 2018-04-23 2018-04-23 Method, storage medium and device for monitoring motion state in sleep process Pending CN108836343A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810366262.8A CN108836343A (en) 2018-04-23 2018-04-23 Method, storage medium and device for monitoring motion state in sleep process
PCT/CN2018/096697 WO2019205314A1 (en) 2018-04-23 2018-07-23 Sleep monitoring method, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810366262.8A CN108836343A (en) 2018-04-23 2018-04-23 Method, storage medium and device for monitoring motion state in sleep process

Publications (1)

Publication Number Publication Date
CN108836343A true CN108836343A (en) 2018-11-20

Family

ID=64212249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810366262.8A Pending CN108836343A (en) 2018-04-23 2018-04-23 Method, storage medium and device for monitoring motion state in sleep process

Country Status (1)

Country Link
CN (1) CN108836343A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037246A (en) * 2020-08-26 2020-12-04 睿住科技有限公司 Monitoring system, community movement information measuring method, measuring device and storage medium
WO2022198991A1 (en) * 2021-03-26 2022-09-29 歌尔股份有限公司 Motion time calculation method, apparatus and device, and computer-readable storage medium
CN115501439A (en) * 2022-09-21 2022-12-23 合肥麦卡赛人工智能科技有限公司 AI-based sleep awakening system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446480A (en) * 2014-09-23 2016-03-30 飞比特公司 Movement measure generation in a wearable electronic device
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446480A (en) * 2014-09-23 2016-03-30 飞比特公司 Movement measure generation in a wearable electronic device
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037246A (en) * 2020-08-26 2020-12-04 睿住科技有限公司 Monitoring system, community movement information measuring method, measuring device and storage medium
WO2022198991A1 (en) * 2021-03-26 2022-09-29 歌尔股份有限公司 Motion time calculation method, apparatus and device, and computer-readable storage medium
CN115501439A (en) * 2022-09-21 2022-12-23 合肥麦卡赛人工智能科技有限公司 AI-based sleep awakening system and method
CN115501439B (en) * 2022-09-21 2024-01-12 杨金刚 AI-based sleep awakening system and method

Similar Documents

Publication Publication Date Title
CN108523899A (en) Method, storage medium and device for monitoring out-of-bed state in sleeping process
CN100464703C (en) Sleep state estimating device, program and product
US20240221948A1 (en) Systems and methods of analyte measurement analysis
CN108836343A (en) Method, storage medium and device for monitoring motion state in sleep process
EP3358485A1 (en) General noninvasive blood glucose prediction method based on timing analysis
JP7329549B2 (en) Apparatus, system and method for determining a user&#39;s stress level
CN105962896A (en) heart rate and sleep monitoring system and monitoring method
US20070083125A1 (en) Apparatus and method of measuring biological information
WO2017060804A1 (en) Method and system for pre-processing of an eeg signal for cognitive load measurement
CN103405225B (en) A kind of pain that obtains feels the method for evaluation metrics, device and equipment
Smith et al. Computational characteristics of interictal EEG as objective markers of epileptic spasms
CN112930139A (en) System and method for analyzing sleep disordered breathing events
CN108836299A (en) BCG heart rate extraction method, storage medium and device
CN104224120B (en) Recognition method and equipment for inner or outer side of limb
CN203763087U (en) Sleep monitoring device
JP6857573B2 (en) EMG measuring device, method and program
CA2882919A1 (en) Method and apparatus for identifying hyperglycaemia
CN106333678B (en) Method and system for detecting brain waves in sleep state in electroencephalogram signals
JP6957011B2 (en) Sleep stage determination device, sleep stage determination method and program
CN106333674A (en) Sleep cycle detection method and system in sleep state analysis
WO2019205314A1 (en) Sleep monitoring method, storage medium and device
CN114305346B (en) Sleep monitoring method and device, intelligent eyeshade and storage medium
CN106175755B (en) Sleep state detector for sleep state analysis
CN115770028A (en) Blood pressure detection method, system, device and storage medium
Grandez et al. Sensor device for testing activities in Parkinson and ALS patients

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120

RJ01 Rejection of invention patent application after publication